:root {
  --cream: #f8f6f2;
  --white: #f3eee6;
  --blush: #f2e7e5;

  --burgundy: #5a2228;
  --burgundy-hover: #431a1e;
  --burgundy-light: rgba(90, 34, 40, 0.07);
  --burgundy-border: rgba(90, 34, 40, 0.18);

  --sage: #a4b094;
  --sage-hover: #8a9678;
  --sage-light: rgba(164, 176, 148, 0.24);

  --gold: #c9ae7a;
  --gold-hover: #b3985f;
  --gold-light: rgba(201, 174, 122, 0.18);
  --gold-text: #7a602f; /* gold-hover fails AA as text; use this where gold labels the reader — not just accents an icon */

  --divider: #e7e0d5;

  --text-main: #2b211f;
  --text-muted: #6f645e;
  --text-subtle: #726757; /* darkened from #9b9088 — 4.79:1+ AA on our light surfaces (this audience skews older, contrast matters more than usual) */

  --border-color: #e7e0d5;
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;
  --border-radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(90, 34, 40, 0.05);
  --shadow-md: 0 14px 30px -8px rgba(90, 34, 40, 0.1), 0 8px 10px -6px rgba(90, 34, 40, 0.04);
  --shadow-lg: 0 30px 54px -16px rgba(90, 34, 40, 0.18), 0 12px 18px -10px rgba(90, 34, 40, 0.08);
  --shadow-gold: 0 14px 30px -8px rgba(201, 174, 122, 0.5);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion tokens — strong, deliberate curves (Apple/Emil Kowalski house style) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --transition: all 0.25s var(--ease-out);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--burgundy), var(--gold));
  z-index: 9999; box-shadow: 0 0 12px rgba(201, 174, 122, 0.6); pointer-events: none;
}

.perspective-container { perspective: 1200px; }
.will-animate-hero { will-change: transform, opacity; }

.ambient-glow-orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: 0.5; z-index: 0; }
.orb-gold { width: 440px; height: 440px; background: radial-gradient(circle, rgba(201, 174, 122, 0.35), transparent 70%); top: -140px; right: -80px; }
.orb-burgundy { width: 380px; height: 380px; background: radial-gradient(circle, rgba(90, 34, 40, 0.14), transparent 70%); bottom: -100px; left: -100px; }
.orb-sage { width: 340px; height: 340px; background: radial-gradient(circle, rgba(164, 176, 148, 0.3), transparent 70%); top: 40%; left: -60px; }

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background-color: var(--cream);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1rem;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
h1, h2 { font-family: var(--font-display); }
h3, h4 { font-family: var(--font-main); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.text-gradient { color: var(--gold); }

/* Icons (Phosphor, thin weight — monoline, burgundy/gold only) */
.icon { font-size: 20px; line-height: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; font-weight: 600; font-size: 1rem;
  border-radius: var(--border-radius-full); border: 1.5px solid transparent;
  cursor: pointer; transition: transform 120ms var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
  font-family: var(--font-main); text-align: center;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--burgundy); color: var(--cream); box-shadow: var(--shadow-md); font-weight: 600; }
.btn-primary:hover { background: var(--burgundy-hover); transform: translateY(-2px); box-shadow: 0 18px 34px -8px rgba(90, 34, 40, 0.35); }
.btn-primary:active { transform: scale(0.97); }
.btn-whatsapp { background-color: #25d366; color: #ffffff; box-shadow: 0 12px 26px -6px rgba(37, 211, 102, 0.45); }
.btn-whatsapp:hover { background-color: #1ebe5a; transform: translateY(-2px); }
.btn-outline { background-color: transparent; border-color: var(--burgundy-border); color: var(--burgundy); }
.btn-outline:hover { background-color: var(--burgundy-light); border-color: var(--burgundy); }
.btn-outline-white { background-color: transparent; border-color: var(--burgundy-border); color: var(--burgundy); }
.btn-outline-white:hover { background-color: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Navbar */
.navbar {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
  background-color: rgba(248, 246, 242, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 8px 24px rgba(90, 34, 40, 0.08); background-color: rgba(248, 246, 242, 0.98); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo-brand { display: flex; align-items: center; gap: 10px; }
.logo-brand img { height: 30px; width: auto; object-fit: contain; transition: var(--transition); }
.logo-brand .logo-wordmark { height: 22px; }
.logo-brand:hover img { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; font-size: 0.92rem; color: var(--text-main); position: relative; letter-spacing: 0.2px; }
.nav-link:hover, .nav-link.active { color: var(--burgundy); }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--burgundy); cursor: pointer; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  background-color: var(--gold-light); color: var(--burgundy);
  font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.4px;
  border-radius: var(--border-radius-full); margin-bottom: 18px;
  border: 1px solid rgba(201, 174, 122, 0.4);
}
.badge-light { background: var(--white); color: var(--burgundy); border-color: var(--burgundy-border); }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201,174,122,0.7); animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(201,174,122,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(201,174,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,174,122,0); }
}

/* ==========================================================================
   Hero — full-bleed video
   ========================================================================== */
.hero-video-section {
  position: relative; overflow: hidden; min-height: 88vh;
  display: flex; align-items: center; padding: 64px 0 0;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--burgundy-hover); }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(30,12,13,0.84) 0%, rgba(30,12,13,0.52) 32%, rgba(30,12,13,0.16) 54%, rgba(30,12,13,0.12) 100%),
    linear-gradient(0deg, rgba(20,8,9,0.55) 0%, transparent 22%, transparent 78%, rgba(20,8,9,0.3) 100%);
}
.hero-logo-motion {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; right: -6%; width: 620px; height: 620px; max-width: 60vw; max-height: 60vw;
  transform: translateY(-50%);
  background-image: url('../assets/images/avvia/icon-av-dorado.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  opacity: 0.16; mix-blend-mode: screen;
  animation: heroLogoDrift 24s var(--ease-in-out) infinite;
}
@keyframes heroLogoDrift {
  0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
  50% { transform: translateY(-53%) rotate(3deg) scale(1.05); }
}
.hero-ring {
  position: absolute; z-index: 1; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(164,176,148,0.4);
  width: 560px; height: 560px; right: -180px; bottom: -200px;
}
.hero-ring::after {
  content: ''; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(164,176,148,0.28);
}

.hero-content-wrap { position: relative; z-index: 2; max-width: 640px; margin: 0; padding-left: clamp(24px, 6vw, 72px); padding-right: 24px; padding-bottom: 176px; text-align: left; }
.hero-eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.hero-title { font-family: var(--font-display); font-size: 3.4rem; line-height: 1.14; font-weight: 600; color: var(--cream); margin-bottom: 22px; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(20,8,9,0.35); }
.hero-subtitle { font-size: 1rem; color: rgba(248,246,242,0.88); margin-bottom: 34px; max-width: 520px; line-height: 1.7; font-weight: 300; text-align: left; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-video-section .btn-outline-white { border-color: rgba(248,246,242,0.5); color: var(--cream); }
.hero-video-section .btn-outline-white:hover { background-color: var(--cream); border-color: var(--cream); color: var(--burgundy); }

.hero-stats-inline { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(248,246,242,0.18); }
.hero-stat-pill { display: flex; align-items: center; gap: 12px; }
.hero-stat-pill .icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(248,246,242,0.12); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-stat-pill strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.hero-stat-pill span { display: block; font-size: 0.78rem; color: rgba(248,246,242,0.7); font-weight: 400; }

/* Floating trust badges over the video, bottom bar */
.hero-floating-row {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(164,176,148,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201,174,122,0.5);
  padding: 22px 24px; display: flex; justify-content: center; gap: 42px; flex-wrap: wrap;
}
.hero-badge-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.86rem; font-weight: 400; color: var(--burgundy-hover); max-width: 300px; }
.hero-badge-item strong { display: block; color: var(--burgundy); font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.hero-badge-item .icon { color: var(--burgundy); font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip { background-color: var(--white); padding: 80px 0; border-bottom: 1px solid var(--divider); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px;
}
.trust-item strong { display: block; font-size: 0.98rem; font-weight: 700; color: var(--burgundy); }
.trust-item span { font-size: 0.875rem; color: var(--text-muted); }

/* Common Section Layout */
.section { padding: 190px 0; }
.section-dark { background-color: var(--sage); color: var(--text-main); }
.section-cream { background-color: var(--white); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header.align-left { margin: 0 0 56px; text-align: left; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  color: var(--gold-text); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 16px;
}
.section-dark .section-tag { color: var(--burgundy); }
.section-title { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; line-height: 1.2; color: var(--burgundy); }
.section-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.section-dark .section-subtitle { color: #3d3733; } /* text-muted only hits 2.5:1 on the sage background — this clears 5:1 */

/* ==========================================================================
   Aliados — logo strip
   ========================================================================== */
.allies-strip { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--divider); }
.allies-header { text-align: center; font-family: var(--font-main); font-weight: 500; font-size: 0.875rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 32px; }
.allies-grid { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ally-slot {
  display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px;
  border: 1px dashed var(--divider); border-radius: var(--border-radius-sm);
  font-family: var(--font-main); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4px;
  color: var(--text-subtle); text-transform: uppercase; filter: grayscale(1); opacity: 0.7;
}
/* Cuando lleguen los logos reales: reemplazar .ally-slot por <img class="ally-logo" src="...">
   y aplicar este filtro para neutralizar color sin tocar el archivo original: */
.ally-logo { max-height: 32px; width: auto; filter: grayscale(1) contrast(1.05) opacity(0.75); transition: var(--transition); }
.ally-logo:hover { filter: grayscale(0) opacity(1); }

/* ==========================================================================
   El Dolor — bloque de conexión emocional
   ========================================================================== */
.pain-section { background: var(--blush); }
.pain-content { max-width: 780px; margin: 0 auto; text-align: center; }
.pain-content .section-title { font-size: 2.1rem; }

/* ==========================================================================
   Quiénes Somos — Consejo de Dirección
   ========================================================================== */
.board-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.board-intro { background: var(--cream); border-radius: var(--border-radius-lg); padding: 48px 40px; }
.board-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--border-radius-md); margin-bottom: 28px; }
.board-intro h2 { font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 22px; line-height: 1.28; color: var(--burgundy); }
.board-intro p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 18px; font-weight: 300; }
.board-intro .board-closing { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--divider); font-style: italic; color: var(--text-main); }

.board-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.board-pillar { background: var(--white); border: 1px solid var(--divider); border-radius: var(--border-radius-lg); padding: 28px 24px; transition: var(--transition); }
.board-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.board-pillar .icon-box {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gold-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.board-pillar .icon-box .icon { font-size: 22px; }
.board-pillar h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; color: var(--burgundy); line-height: 1.3; }
.board-pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.6; font-weight: 300; }

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section { background: var(--sage); padding: 130px 0; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-box { position: relative; padding: 0 16px; }
.stat-number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--burgundy); margin-bottom: 8px; letter-spacing: -0.01em; }
.stat-number-static { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--burgundy); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.stat-number-static .icon { color: var(--gold); font-size: 24px; }
.stat-label { font-size: 0.875rem; color: var(--burgundy-hover); font-weight: 500; }
.stats-grid .stat-box:not(:last-child) { border-right: 1px solid rgba(201,174,122,0.5); }

/* ==========================================================================
   Servicios — Feature Cards
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--border-radius-lg); padding: 34px 26px;
  border: 1px solid var(--divider); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.service-card .icon-box {
  width: 54px; height: 54px; border-radius: 15px; background: var(--gold-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card .icon-box .icon { font-size: 24px; }
.service-card h3 { font-family: var(--font-main); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--burgundy); }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ==========================================================================
   Perfiles / Para Quién Es
   ========================================================================== */
.profiles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.profile-card {
  background: var(--white); border: 1px solid var(--divider); border-top: 3px solid var(--gold);
  border-radius: var(--border-radius-lg);
  padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.profile-card .profile-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.profile-card .profile-eyebrow .icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--burgundy-light); color: var(--burgundy);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.profile-card h3 { font-family: var(--font-main); font-size: 1.2rem; font-weight: 700; color: var(--burgundy); }
.profile-row { margin-bottom: 18px; }
.profile-row .lbl { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 8px; }
.profile-row .lbl .icon { font-size: 15px; }
.profile-row.problem .lbl { color: var(--burgundy); }
.profile-row.solution .lbl { color: var(--sage-hover); }
.profile-row p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.65; font-weight: 300; }

/* ==========================================================================
   Cómo Funciona — Steps
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step-card { position: relative; padding: 8px; }
.step-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; float: right; margin-top: -8px; border: 2px solid var(--gold); }
.step-card .step-num {
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 600;
  -webkit-text-stroke: 1.5px var(--gold); color: transparent; line-height: 1; margin-bottom: 18px; display: block;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--burgundy); font-family: var(--font-main); }
.step-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; font-weight: 300; }
.step-connector { position: absolute; top: 26px; left: calc(100% - 8px); width: 48px; border-top: 1.5px dashed var(--divider); display: none; }
@media (min-width: 1025px) { .step-card:not(:last-child) .step-connector { display: block; } }

/* ==========================================================================
   Círculo de las 50 Familias Fundadoras — Bloque único de inversión
   ========================================================================== */
.founding-card {
  max-width: 620px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--gold); border-radius: var(--border-radius-lg);
  padding: 64px 56px; text-align: center; box-shadow: var(--shadow-lg); position: relative;
}
.founding-scarcity { margin-bottom: 28px; }
.founding-scarcity-label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--burgundy); margin-bottom: 12px;
}
.founding-scarcity-track {
  width: 100%; max-width: 280px; height: 3px; background: var(--divider);
  border-radius: var(--border-radius-full); margin: 0 auto; overflow: hidden;
}
.founding-scarcity-fill { height: 100%; background: var(--gold); border-radius: var(--border-radius-full); }
.founding-name { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--burgundy); margin-bottom: 10px; }
.founding-tagline { font-size: 0.95rem; color: var(--text-muted); max-width: 420px; margin: 0 auto 36px; font-weight: 300; }
.founding-price-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 6px; }
.founding-price-row .amount { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--burgundy); }
.founding-price-row .currency { font-size: 1.1rem; color: var(--text-muted); align-self: flex-start; margin-top: 10px; }
.founding-price-note { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 40px; }
.founding-cta { width: 100%; margin-bottom: 44px; white-space: normal; line-height: 1.3; }
.founding-divider { border: none; border-top: 1px solid var(--divider); margin: 0 0 32px; }
.founding-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.founding-compare-col { padding: 20px; border: 1px solid var(--divider); border-radius: var(--border-radius-md); }
.founding-compare-col.active { border-color: var(--gold); background: var(--blush); }
.founding-compare-phase { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--gold-text); margin-bottom: 8px; }
.founding-compare-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--burgundy); margin-bottom: 6px; }
.founding-compare-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--divider); border-radius: var(--border-radius-md); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--burgundy);
}
.faq-question .icon { color: var(--gold-hover); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
/* grid-rows 0fr→1fr instead of a guessed max-height: it always fits the real content
   height exactly (no risk of clipping a longer answer), animates cheaply, no JS measuring. */
.faq-answer { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 300ms var(--ease-out); }
.faq-answer-inner { min-height: 0; overflow: hidden; padding: 0 26px 24px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; font-weight: 300; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }

/* ==========================================================================
   Formulario de Admisión Confidencial
   ========================================================================== */
.admission-section { background: var(--blush); }
.admission-wrap { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--border-radius-lg); border: 1px solid var(--divider); box-shadow: var(--shadow-lg); padding: 56px; }
.admission-header { text-align: center; margin-bottom: 44px; }
.admission-header h2 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--burgundy); margin-bottom: 6px; }
.admission-header .admission-subhead { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-text); margin-bottom: 18px; }
.admission-header p { font-size: 0.92rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* Step progress indicator */
.form-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 44px; }
.form-progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; color: var(--text-subtle); }
.form-progress-step span {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--cream); border: 1.5px solid var(--divider); color: var(--text-subtle);
  font-family: var(--font-display); font-size: 1rem; transition: var(--transition);
}
.form-progress-step.active span, .form-progress-step.done span { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.form-progress-step.active, .form-progress-step.done { color: var(--burgundy); }
.form-progress-line { width: 56px; height: 1px; background: var(--divider); margin: 0 10px 22px; }

/* Multi-step visibility */
.form-step { display: none; }
.form-step.active { display: block; }
.form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.form-nav .btn { width: auto; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--burgundy); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select {
  font-family: var(--font-main); font-size: 0.95rem; color: var(--text-main);
  background: var(--cream); border: 1px solid var(--burgundy-border);
  border-radius: var(--border-radius-sm); padding: 13px 16px; transition: var(--transition);
  width: 100%; min-width: 0; max-width: 100%;
}
.form-field input::placeholder { color: var(--text-subtle); }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.phone-field { display: flex; gap: 10px; min-width: 0; }
.phone-field select, .phone-field input { min-width: 0; }
.phone-field select { flex: 0 0 100px; }
.phone-field input { flex: 1; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin: 30px 0 8px; }
.form-consent input[type="checkbox"] { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--burgundy); flex-shrink: 0; }
.form-consent label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.form-consent a { color: var(--burgundy); text-decoration: underline; }
.admission-submit { width: 100%; margin-top: 24px; padding: 17px 32px; font-size: 1rem; white-space: normal; line-height: 1.3; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { background: var(--sage); color: var(--text-main); padding: 190px 0; position: relative; overflow: hidden; text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-size: 2.7rem; font-weight: 600; max-width: 780px; margin: 0 auto 20px; line-height: 1.28; letter-spacing: -0.01em; color: var(--burgundy); }
.final-cta h2 span { color: var(--burgundy); font-style: italic; }
.final-cta p { color: var(--text-muted); font-size: 1.06rem; max-width: 560px; margin: 0 auto 40px; font-weight: 300; }
.final-cta-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.final-cta-socials { display: flex; gap: 14px; justify-content: center; }
.social-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--burgundy-border); display: flex; align-items: center; justify-content: center;
  color: var(--burgundy); transition: var(--transition);
}
.social-icon:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); transform: translateY(-3px); }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer */
.footer { background-color: var(--white); color: var(--text-muted); padding-top: 96px; border-top: 1px solid var(--divider); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--divider); }
.footer-brand .logo-brand img.logo-wordmark { height: 24px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 300px; margin-bottom: 18px; font-weight: 300; }
.footer-brand .social-icon { width: 38px; height: 38px; }
.footer-brand .social-row { display: flex; gap: 10px; }
.footer-column h4 { color: var(--burgundy); font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-main); }
.footer-links li { margin-bottom: 11px; font-size: 0.875rem; font-weight: 300; }
.footer-links a:hover { color: var(--burgundy); }
.footer-links .icon { font-size: 15px; vertical-align: -2px; margin-right: 4px; color: var(--gold-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--burgundy); }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25d366;
  opacity: 0.6; animation: wa-ping 2.2s ease-out infinite;
}
@keyframes wa-ping { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* Scroll to top */
.scroll-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
  background: var(--burgundy); color: var(--cream); border: 1px solid var(--burgundy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--burgundy-hover); }

/* ==========================================================================
   Página Gracias / Política de Privacidad (páginas independientes)
   ========================================================================== */
.simple-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); padding: 80px 24px; }
.simple-page-card { max-width: 620px; text-align: center; }
.simple-page-mark { width: 64px; height: auto; margin: 0 auto 36px; }
.simple-page-card h1 { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--burgundy); line-height: 1.3; margin-bottom: 24px; }
.simple-page-card .body-text { font-family: var(--font-main); font-weight: 300; font-size: 1rem; color: var(--text-main); line-height: 1.8; margin-bottom: 20px; }
.simple-page-card .closing-line { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-text); margin-top: 32px; }
.simple-page-card .back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; font-size: 0.85rem; font-weight: 600; color: var(--burgundy); border-bottom: 1px solid var(--burgundy-border); padding-bottom: 3px; }

.legal-page { background: var(--cream); padding: 160px 0 120px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--burgundy); margin-bottom: 40px; line-height: 1.3; }
.legal-page h2 { font-family: var(--font-main); font-weight: 700; font-size: 1rem; color: var(--burgundy); margin: 40px 0 14px; text-transform: uppercase; letter-spacing: 0.6px; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; font-weight: 300; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 48px; font-size: 0.85rem; font-weight: 600; color: var(--burgundy); }

/* Responsive */
@media (max-width: 1180px) {
  .nav-links {
    display: none; position: fixed; top: 84px; left: 0; width: 100%; height: calc(100vh - 84px);
    background: rgba(248,246,242,0.98); flex-direction: column; padding: 32px 24px; gap: 6px;
    overflow-y: auto; backdrop-filter: blur(20px);
  }
  .nav-links.active { display: flex; }
  .nav-link { width: 100%; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--divider); }
  .nav-cta-mobile { display: block; }
  .nav-actions .btn:not(.menu-toggle) { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1024px) {
  .board-grid { grid-template-columns: 1fr; }
  .board-intro { padding: 36px 28px; }
  .hero-video-section { display: block; min-height: 0; padding: 48px 0 0; }
  .hero-content-wrap { max-width: 560px; padding-bottom: 40px; }
  .hero-floating-row { position: static; justify-content: center; }
  .hero-logo-motion { opacity: 0.16; width: 480px; height: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stats-grid .stat-box { border-right: none !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .profiles-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .founding-card { padding: 48px 32px; }
  .admission-wrap { padding: 40px 28px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .hero-video-section { min-height: 0; display: block; padding-top: 40px; }
  .hero-content-wrap { padding-bottom: 40px; padding-top: 0; }
  .hero-floating-row { position: static; gap: 20px; padding: 20px 18px; justify-content: flex-start; border-top: none; }
  .hero-badge-item { max-width: 100%; font-size: 0.8rem; }
  .hero-logo-motion { display: none; }
  .hero-stats-inline { gap: 20px; margin-top: 28px; padding-top: 20px; }
  .section { padding: 100px 0; }
  .trust-strip { padding: 56px 0; }
  .stats-section { padding: 90px 0; }
  .final-cta { padding: 120px 0; }
  .section-title { font-size: 1.8rem; }
  .board-pillars { grid-template-columns: 1fr; }
  .allies-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ally-slot { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .founding-compare { grid-template-columns: 1fr; }
  .founding-card { padding: 40px 20px; }
  .admission-wrap { padding: 32px 20px; }
  .phone-field { flex-wrap: wrap; }
  .phone-field select { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .hero-cta-row .btn, .final-cta-row .btn { width: 100%; }
}

/* Touch: hover can get "stuck" after a tap — kill the transform half of it, keep color/shadow */
@media (hover: none) {
  .btn:hover, .btn-primary:hover, .btn-whatsapp:hover,
  .service-card:hover, .board-pillar:hover, .strategy-visual:hover .strategy-photo,
  .social-icon:hover, .whatsapp-float:hover, .scroll-top:hover {
    transform: none !important;
  }
}

/* Respect the user's motion preference: fewer and gentler, not zero */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-ring, .pulse-dot, .whatsapp-float::before, .hero-logo-motion { animation: none !important; }
}
