@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --artic-canvas-bg: #eef2f6;
  --artic-surface-soft: #eef2f6;
  --artic-shadow-dark: #c1cbdb;
  --artic-shadow-light: #ffffff;
  --artic-accent-teal: #0284c7;
  --artic-accent-hover: #0369a1;
  --artic-highlight-green: #0d9488;
  --artic-text-main: #1e293b;
  --artic-text-muted: #64748b;
  --artic-border-pale: #cbd5e1;
  --artic-hero-gradient: linear-gradient(135deg, #0284c7, #0d9488);
  --artic-shadow-flat: 8px 8px 18px var(--artic-shadow-dark), -8px -8px 18px var(--artic-shadow-light);
  --artic-shadow-pressed: inset 5px 5px 10px var(--artic-shadow-dark), inset -5px -5px 10px var(--artic-shadow-light);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--artic-canvas-bg);
  color: var(--artic-text-main);
  line-height: 1.6;
}

/* Scroll animation header indicator */
.joint-scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--artic-hero-gradient);
  z-index: 10001;
  width: 100%;
  transform-origin: 0 50%;
  animation: jointBarProgress linear;
  animation-timeline: scroll(root block);
}

@keyframes jointBarProgress {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Header Component */
.joint-header-wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  padding: 1rem 2rem;
}

.joint-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.joint-brand-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--artic-text-main);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}

.joint-brand-icon {
  width: 42px;
  height: 42px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--artic-accent-teal);
}

.joint-brand-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.joint-navigation-holder {
  display: flex;
  align-items: center;
}

.joint-menu-toggle {
  display: none;
}

.joint-hamburger-lbl {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.joint-hamburger-lbl span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--artic-text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.joint-links-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.joint-nav-anchor {
  text-decoration: none;
  color: var(--artic-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.joint-nav-anchor:hover,
.joint-nav-anchor.is-active {
  box-shadow: var(--artic-shadow-pressed);
  color: var(--artic-accent-teal);
}

/* Preset G Split Hero Section */
.joint-hero-stage {
  padding: 5dvh 2rem 8dvh;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-hero-split-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.joint-hero-text-col {
  flex: 1 1 500px;
  position: relative;
}

.joint-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--artic-text-main);
  margin-bottom: 1.25rem;
}

.joint-hero-lead {
  font-size: 1.1rem;
  color: var(--artic-text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.joint-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  background: var(--artic-hero-gradient);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(2, 132, 199, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.joint-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.35);
}

.joint-badge-float {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 10;
}

.joint-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-pressed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--artic-highlight-green);
}

.joint-badge-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--artic-text-main);
  line-height: 1;
}

.joint-badge-lbl {
  font-size: 0.75rem;
  color: var(--artic-text-muted);
}

.joint-hero-media-col {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.joint-frame-neumorphic {
  width: 100%;
  max-width: 480px;
  padding: 16px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 32px;
}

.joint-frame-neumorphic img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Problem / Solution Section */
.joint-prob-sol-stage {
  padding: 8dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-prob-sol-flex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.joint-box-panel {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
}

.joint-panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.joint-panel-title.is-problem {
  color: #e11d48;
}

.joint-panel-title.is-solution {
  color: var(--artic-highlight-green);
}

.joint-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.joint-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--artic-text-main);
}

.joint-bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.joint-bullet-dot.red { background-color: #e11d48; }
.joint-bullet-dot.green { background-color: var(--artic-highlight-green); }

.joint-banner-parallax {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--artic-shadow-flat);
}

.joint-banner-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.joint-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.joint-banner-overlay-text {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  max-width: 750px;
}

/* Features Neumorphic Grid */
.joint-feat-stage {
  padding: 8dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-section-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--artic-text-main);
}

.joint-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.joint-inset-card {
  padding: 2.2rem;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-pressed);
  border-radius: 24px;
  transition: all 0.3s ease;
  animation: jointFadeIn view() linear both;
}

@keyframes jointFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.joint-inset-card:hover {
  box-shadow: var(--artic-shadow-flat);
  transform: translateY(-4px);
}

.joint-card-circle-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--artic-accent-teal);
}

.joint-card-circle-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.joint-card-head {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--artic-text-main);
}

.joint-card-body {
  font-size: 0.95rem;
  color: var(--artic-text-muted);
}

/* Stepper "Cómo Funciona" */
.joint-stepper-stage {
  padding: 8dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.joint-stepper-pill {
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 220px;
  justify-content: center;
}

.joint-stepper-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--artic-accent-teal);
}

.joint-stepper-txt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--artic-text-main);
}

.joint-stepper-dots {
  flex: 0 0 40px;
  border-top: 3px dotted var(--artic-border-pale);
  display: none;
}

@media(min-width: 900px) {
  .joint-stepper-dots { display: block; }
}

.joint-stepper-desc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.joint-stepper-desc-box {
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  padding: 1.8rem;
  border-radius: 20px;
}

.joint-stepper-desc-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--artic-text-main);
}

.joint-stepper-desc-box p {
  font-size: 0.9rem;
  color: var(--artic-text-muted);
}

/* CTA Strip */
.joint-cta-strip-stage {
  padding: 8dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.joint-cta-card-centered {
  max-width: 720px;
  margin: 0 auto;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.joint-cta-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--artic-text-main);
}

.joint-cta-card-sub {
  font-size: 1rem;
  color: var(--artic-text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Expert Page Layout */
.joint-expert-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .joint-expert-grid-stats {
    grid-template-columns: 1fr;
  }
}

.joint-stat-card-neumorph {
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 20px;
  padding: 1.8rem;
  text-align: center;
}

.joint-stat-card-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--artic-accent-teal);
  margin-bottom: 0.3rem;
}

.joint-stat-card-lbl {
  font-size: 0.85rem;
  color: var(--artic-text-muted);
  font-weight: 600;
}

.joint-content-columns-alternating {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin: 4rem 0;
}

.joint-alt-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}

.joint-alt-row:nth-child(even) {
  flex-direction: row-reverse;
}

.joint-alt-text {
  flex: 1 1 320px;
}

.joint-alt-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.joint-alt-text p {
  color: var(--artic-text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.joint-alt-card-icon {
  flex: 1 1 280px;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-pressed);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
}

/* Reserve Form Layout */
.joint-reserve-card-box {
  max-width: 620px;
  margin: 3rem auto;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 28px;
  padding: 3rem 2.5rem;
}

.joint-form-field {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.joint-form-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--artic-text-main);
}

.joint-form-input,
.joint-form-select,
.joint-form-area {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: none;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-pressed);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--artic-text-main);
  outline: none;
}

.joint-form-input:focus,
.joint-form-area:focus {
  box-shadow: inset 2px 2px 5px var(--artic-shadow-dark), inset -2px -2px 5px var(--artic-shadow-light), 0 0 0 2px var(--artic-accent-teal);
}

.joint-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.joint-checkbox-row input {
  margin-top: 3px;
  accent-color: var(--artic-accent-teal);
}

.joint-checkbox-lbl {
  font-size: 0.85rem;
  color: var(--artic-text-muted);
}

.joint-checkbox-lbl a {
  color: var(--artic-accent-teal);
  text-decoration: underline;
}

/* FAQ Accordion CSS */
.joint-faq-stage {
  max-width: 800px;
  margin: 4rem auto 0;
}

.joint-faq-item {
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.joint-faq-quest {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--artic-text-main);
  margin-bottom: 0.5rem;
}

.joint-faq-ans {
  font-size: 0.92rem;
  color: var(--artic-text-muted);
}

/* Footer Component */
.joint-footer-wrap {
  background: var(--artic-surface-soft);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.03);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.joint-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.joint-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.joint-footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
}

.joint-footer-link {
  text-decoration: none;
  color: var(--artic-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.joint-footer-link:hover {
  color: var(--artic-accent-teal);
}

.joint-disclaimer-box {
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-pressed);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--artic-text-muted);
  line-height: 1.5;
}

.joint-copy-bar {
  text-align: center;
  font-size: 0.85rem;
  color: var(--artic-text-muted);
  padding-top: 1rem;
  border-top: 1px dashed var(--artic-border-pale);
}

/* Cookie Banner */
.joint-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--artic-surface-soft);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 2rem;
  display: none;
}

.joint-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.joint-cookie-text {
  font-size: 0.9rem;
  color: var(--artic-text-main);
  flex: 1 1 300px;
}

.joint-cookie-btns {
  display: flex;
  gap: 1rem;
}

.joint-btn-acc {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--artic-accent-teal);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.joint-btn-dec {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--artic-surface-soft);
  box-shadow: var(--artic-shadow-flat);
  color: var(--artic-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
  .joint-hamburger-lbl {
    display: flex;
  }

  .joint-links-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--artic-surface-soft);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
  }

  .joint-menu-toggle:checked ~ .joint-links-list {
    display: flex;
  }
}