/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Marca */
  --color-brand: #1D66A7;
  --color-brand-bg: #E7F1FA;

  /* Semánticos */
  --color-success: #137D41;    --color-success-bg: #E4F5EA;
  --color-warning: #EB9A1F;    --color-warning-bg: #FCF0DC;
  --color-error: #BE222A;      --color-error-bg: #FAE6E7;
  --color-info: #10798C;       --color-info-bg: #DFF0F1;
  --color-turquoise: #009394;  --color-turquoise-bg: #DFF5F4;

  /* Neutros */
  --color-bg-page: #EEF1F5;
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F6F7F9;
  --color-bg-tertiary: #EEF1F4;
  --color-border-primary: #D7DCE3;
  --color-border-secondary: #E2E5EA;
  --color-border-tertiary: #EDEFF3;
  --color-text-primary: #1F232C;
  --color-text-secondary: #565D6B;
  --color-text-tertiary: #8A93A3;
  --color-text-on-brand: #FFFFFF;

  /* Radios */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Sombras — dos capas, tinte gris-azulado, nunca negro puro */
  --shadow-sm: 0 1px 2px rgba(37,52,71,.07), 0 1px 1px rgba(37,52,71,.04);
  --shadow-md: 0 10px 28px rgba(37,52,71,.10), 0 2px 8px rgba(37,52,71,.06);
  --shadow-lg: 0 28px 70px rgba(37,52,71,.16), 0 6px 18px rgba(37,52,71,.09);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container-w: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-brand: #509DE8;      --color-brand-bg: #132C42;
    --color-success-bg: #123424; --color-warning-bg: #3A2A11;
    --color-error-bg: #3A1618;   --color-info-bg: #0F2E33;
    --color-turquoise-bg: #0C302F;
    --color-bg-page: #14171D;
    --color-bg-primary: #1B1F27;
    --color-bg-secondary: #20242D;
    --color-bg-tertiary: #262B35;
    --color-border-primary: #343A46;
    --color-border-secondary: #2B303A;
    --color-border-tertiary: #262B34;
    --color-text-primary: #F1F2F5;
    --color-text-secondary: #AAB1BE;
    --color-text-tertiary: #7B8494;
    --color-text-on-brand: #0B1420;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 1px 1px rgba(0,0,0,.2);
    --shadow-md: 0 10px 28px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.3);
    --shadow-lg: 0 28px 70px rgba(0,0,0,.5), 0 6px 18px rgba(0,0,0,.32);
  }
}

/* =============================================================
   2. Fuentes autoalojadas
   ============================================================= */
@font-face {
  font-family: 'Sora';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('assets/fonts/sora-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('assets/fonts/inter-variable.woff2') format('woff2');
}

/* =============================================================
   3. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
ul { list-style: none; padding: 0; }
input[type="number"] { font: inherit; }
::selection { background: var(--color-brand); color: #fff; }
.tabular { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   4. Utilidades
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: #1F232C; color: #fff;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container-w); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--color-brand); text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600;
}
.pill-brand { background: var(--color-brand-bg); color: var(--color-brand); }
.pill-turquoise { background: var(--color-turquoise-bg); color: #00605F; }
.pill-info { background: var(--color-info-bg); color: #0B4D58; }
.pill-warning { background: var(--color-warning-bg); color: #8A5A0E; }
@media (prefers-color-scheme: dark) {
  .pill-turquoise { color: #6FE3E0; }
  .pill-info { color: #6FCBDB; }
  .pill-warning { color: #F0C583; }
}

.section { padding-block: 88px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker { margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-lede { font-size: 1.05rem; color: var(--color-text-secondary); }

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .2s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--color-brand); color: var(--color-text-on-brand);
  box-shadow: 0 1px 2px rgba(37,52,71,.1), 0 12px 24px -8px rgba(29,102,167,.45);
}
.btn-primary:hover { box-shadow: 0 1px 2px rgba(37,52,71,.1), 0 18px 32px -8px rgba(29,102,167,.55); }
.btn-ghost {
  background: var(--color-bg-primary); color: var(--color-text-primary);
  border: 1px solid var(--color-border-primary);
}
.btn-ghost:hover { border-color: var(--color-brand); color: var(--color-brand); }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* =============================================================
   6. Navegación
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--color-bg-page) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav { background: var(--color-bg-page); }
}
.nav.is-scrolled { border-bottom-color: var(--color-border-secondary); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo-mark {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--color-text-secondary); }
.nav-links a { position: relative; padding-block: 4px; transition: color .2s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--color-brand); transition: right .3s var(--ease-out);
}
.nav-links a:hover { color: var(--color-text-primary); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
.nav-burger { display: inline-flex; padding: 8px; }
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .25s var(--ease-out), opacity .25s var(--ease-out); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 90;
  background: var(--color-bg-page);
  padding: 28px 20px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--color-border-tertiary); }
.mobile-menu .btn { margin-top: 20px; }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { padding-top: 76px; padding-bottom: 60px; position: relative; overflow: clip; }
.hero-glow {
  position: absolute; top: -220px; left: 50%; translate: -50% 0;
  width: 900px; height: 620px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(29,102,167,.14), transparent 70%);
  filter: blur(10px);
}
.hero-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 3.6rem); margin-block: 20px 20px; max-width: 20ch; margin-inline: auto; }
.hero-title em { font-style: normal; color: var(--color-brand); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--color-text-secondary); max-width: 54ch; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-proof { margin-top: 20px; font-size: 13.5px; color: var(--color-text-tertiary); }

/* Stats de sector */
.stats-row {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--color-border-secondary);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 64px;
}
@media (min-width: 720px) { .stats-row { grid-template-columns: repeat(3, 1fr); } }
.stat-card { background: var(--color-bg-primary); padding: 28px 26px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.4rem); color: var(--color-text-primary); }
.stat-value .unit { font-size: .55em; color: var(--color-text-tertiary); font-weight: 600; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--color-text-secondary); }

/* =============================================================
   8. Calculadora
   ============================================================= */
.calc-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-tertiary);
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  display: grid; gap: 32px;
}
@media (min-width: 960px) { .calc-card { grid-template-columns: 1fr 1fr; padding: 44px; gap: 48px; } }

.calc-inputs { display: flex; flex-direction: column; gap: 26px; }
.calc-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 8px; }
.calc-number {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border-primary); background: var(--color-bg-secondary);
  font-size: 1rem; font-weight: 600; color: var(--color-text-primary);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.calc-number:focus { outline: none; border-color: var(--color-brand); background: var(--color-bg-primary); }

.calc-slider-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.calc-slider-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-brand); }
.calc-slider { position: relative; padding-block: 6px; }
.calc-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: var(--radius-pill); background: var(--color-border-secondary); outline: none;
}
.calc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-brand); border: 3px solid #fff; box-shadow: var(--shadow-sm);
  cursor: grab; transition: transform .2s var(--ease-bounce);
}
.calc-slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.calc-slider input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-brand);
  border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: grab;
}
.calc-slider-marks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--color-text-tertiary); }
.calc-slider-protocol-mark { color: var(--color-turquoise); font-weight: 600; }

.calc-results { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.calc-result-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius-md); background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-tertiary);
}
.calc-result-label { font-size: 13.5px; color: var(--color-text-secondary); font-weight: 500; }
.calc-result-value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.calc-highlight {
  background: var(--color-brand-bg); border-color: transparent;
  padding: 22px 20px; border-radius: var(--radius-md);
}
.calc-highlight .calc-result-label { color: var(--color-brand); font-weight: 700; font-size: 14px; }
.calc-highlight .calc-result-value { font-size: 2.1rem; color: var(--color-brand); }
.calc-note { font-size: 12.5px; color: var(--color-text-tertiary); line-height: 1.55; }

/* =============================================================
   9. Mockup del plan de tratamiento (browser frame)
   ============================================================= */
.mockup-wrap { display: flex; justify-content: center; }
.browser-frame {
  width: 100%; max-width: 900px;
  background: var(--color-bg-secondary);
  border-radius: calc(var(--radius-lg) + 6px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-tertiary);
  transition: transform .6s var(--ease-out);
}
.browser-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--color-bg-tertiary);
  border-bottom: 1px solid var(--color-border-secondary);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot:nth-child(1) { background: #EB9A1F; }
.browser-dot:nth-child(2) { background: #EB9A1F; opacity: .5; }
.browser-dot:nth-child(3) { background: var(--color-success); }
.browser-url {
  margin-left: 10px; flex: 1; font-size: 12px; color: var(--color-text-tertiary);
  background: var(--color-bg-primary); border-radius: var(--radius-pill);
  padding: 5px 12px; border: 1px solid var(--color-border-tertiary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.doc-card {
  background: var(--color-bg-primary); margin: 10px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-tertiary); box-shadow: var(--shadow-sm);
  padding: 26px 24px;
}
.doc-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--color-border-tertiary); padding-bottom: 16px; margin-bottom: 20px; }
.doc-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.doc-subtitle { font-size: 13px; color: var(--color-text-secondary); margin-top: 3px; }
.doctor-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--color-brand-bg); color: var(--color-brand); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap; }

.doc-section { margin-bottom: 20px; }
.doc-section:last-child { margin-bottom: 0; }
.doc-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.doc-section-icon { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.doc-section-title { font-weight: 700; font-size: 14.5px; }

.finding-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .finding-grid { grid-template-columns: repeat(3, 1fr); } }
.finding-card { background: var(--color-bg-secondary); border-radius: var(--radius-sm); padding: 13px 14px; }
.finding-card .f-title { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.finding-card .f-body { font-size: 12.5px; color: var(--color-text-secondary); line-height: 1.5; }

.phase-row { display: flex; align-items: flex-start; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--color-border-tertiary); }
.phase-row:last-child { border-bottom: 0; }
.phase-num { width: 22px; height: 22px; border-radius: 50%; background: var(--color-turquoise-bg); color: #00605F; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.phase-name { font-weight: 600; font-size: 13.5px; }
.phase-when { font-size: 12px; color: var(--color-text-tertiary); margin-top: 2px; }

.line-item { display: flex; align-items: center; justify-content: space-between; padding-block: 9px; }
.li-text { font-size: 13px; }
.li-price { font-weight: 700; font-size: 13.5px; }

.invest-total { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--color-border-secondary); }
.invest-total-label { font-size: 13px; color: var(--color-text-secondary); font-weight: 600; }
.invest-total-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-brand); }
.finance-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.finance-card { background: var(--color-bg-secondary); border-radius: var(--radius-sm); padding: 12px 14px; }
.fc-label { font-size: 11.5px; color: var(--color-text-tertiary); }
.fc-value { font-weight: 700; font-size: 15px; margin-top: 2px; }
.fc-value span { font-weight: 500; font-size: 11px; color: var(--color-text-tertiary); }

.mockup-caption { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--color-text-tertiary); }

.doc-quote { color: var(--color-text-primary); font-style: italic; }

.odontogram-wrap { margin-bottom: 10px; }
.odontogram-arch-label { font-size: 9px; fill: var(--color-text-tertiary); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; font-size: 12px; color: var(--color-text-secondary); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

.doc-pill-row { margin-bottom: 8px; }
.calendar-box { border: 1px solid var(--color-border-secondary); border-radius: var(--radius-md); padding: 2px 14px; margin-bottom: 16px; }

.line-item { display: flex; align-items: center; justify-content: space-between; padding-block: 9px; gap: 10px; }
.li-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.li-icon { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.li-icon svg { width: 15px; height: 15px; }

.include-list { display: grid; gap: 10px; }
@media (min-width: 540px) { .include-list { grid-template-columns: 1fr 1fr; } }
.include-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--color-text-secondary); }
.include-check { color: var(--color-success); font-weight: 700; flex-shrink: 0; }

.invest-intro { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 12px; }
.invest-row { display: flex; align-items: center; justify-content: space-between; padding-block: 7px; font-size: 13px; color: var(--color-text-secondary); }

.decision-card { display: grid; gap: 10px; }
@media (min-width: 540px) { .decision-card { grid-template-columns: 1fr 1fr; } }
.decision-option { display: flex; align-items: flex-start; gap: 10px; background: var(--color-bg-secondary); border: 1px solid var(--color-border-secondary); border-radius: var(--radius-md); padding: 14px 16px; }
.decision-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--color-border-primary); margin-top: 2px; flex-shrink: 0; }
.decision-label { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.decision-fill { height: 1px; background: var(--color-border-secondary); }

.doc-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--color-border-tertiary); }
.advisor { display: flex; align-items: center; gap: 10px; }
.advisor-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--color-brand-bg); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.advisor-name { font-weight: 700; font-size: 13px; }
.advisor-role { font-size: 12px; color: var(--color-text-tertiary); }
.validity { font-size: 11.5px; color: var(--color-text-tertiary); text-align: right; line-height: 1.5; }

/* =============================================================
   10. Pasos
   ============================================================= */
.steps-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: var(--color-bg-primary); border: 1px solid var(--color-border-tertiary);
  border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--color-brand); background: var(--color-brand-bg); width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-title { font-size: 1.15rem; margin-bottom: 8px; }
.step-body { color: var(--color-text-secondary); font-size: 14.5px; }

/* =============================================================
   11. Programa fundador
   ============================================================= */
.founder-card {
  /* Panel siempre oscuro y siempre azul — fijo, no depende del tema claro/oscuro */
  background: linear-gradient(155deg, #0B2A4A 0%, #0F3E6E 48%, #1D66A7 100%);
  color: #fff; border-radius: calc(var(--radius-lg) + 6px);
  padding: 46px 30px; position: relative; overflow: clip;
  text-align: center;
}
@media (min-width: 720px) { .founder-card { padding: 56px 60px; } }
.founder-glow {
  position: absolute; top: -140px; right: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(111,227,224,.32), transparent 70%);
  pointer-events: none;
}
.founder-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: var(--radius-pill); background: rgba(11,42,74,.55);
  border: 1px solid rgba(255,255,255,.28); font-size: 13px; font-weight: 700;
  color: #EAF3FC;
}
.founder-title { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 18px auto 14px; max-width: 30ch; }
.founder-sub { color: rgba(255,255,255,.74); max-width: 780px; font-size: clamp(15px, 1.6vw, 17px); margin-inline: auto; }

.founder-list {
  display: grid; gap: 16px 40px; margin: 32px auto 0; max-width: 860px; text-align: left;
}
@media (min-width: 720px) { .founder-list { grid-template-columns: 1fr 1fr; } }
.founder-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,.86); line-height: 1.55; }
.founder-check { color: #6FE3E0; flex-shrink: 0; margin-top: 1px; font-weight: 700; }

.founder-roi {
  margin: 28px auto 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem); color: #fff; max-width: 780px;
}

.founder-guarantee {
  margin: 26px auto 0; max-width: 820px; padding: 28px 32px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: rgba(111,227,224,.16); border: 1.5px solid rgba(111,227,224,.5);
}
.founder-guarantee-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #6FE3E0; margin-bottom: 10px;
}
.founder-guarantee-text {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem); line-height: 1.25;
}
.founder-guarantee-detail { margin-top: 14px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; max-width: 68ch; margin-inline: auto; }

.founder-detail { margin: 22px auto 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; max-width: 780px; }
.founder-detail strong { color: #fff; }

.founder-actions { margin-top: 36px; }
.founder-precta { margin: 0 auto 22px; font-size: 15.5px; font-weight: 500; color: rgba(255,255,255,.94); max-width: 780px; line-height: 1.6; }
.founder-card .btn-primary { background: #fff; color: #0B2A4A; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 12px 24px -8px rgba(0,0,0,.4); }
.founder-card .btn-primary:hover { background: #EAF3FC; }

/* =============================================================
   13. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--color-border-secondary); padding-block: 48px; }
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand .logo { margin-bottom: 10px; }
.footer-tag { color: var(--color-text-tertiary); font-size: 13.5px; max-width: 32ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 28px; font-size: 13.5px; color: var(--color-text-secondary); }
.footer-links a:hover { color: var(--color-brand); }
.footer-meta { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--color-border-tertiary); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; color: var(--color-text-tertiary); }

/* =============================================================
   14. Páginas legales
   ============================================================= */
.legal-page { padding-block: 60px 100px; }
.legal-content { max-width: 720px; margin-inline: auto; }
.legal-content h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.legal-updated { color: var(--color-text-tertiary); font-size: 13.5px; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.2rem; margin-block: 32px 12px; }
.legal-content p, .legal-content li { color: var(--color-text-secondary); font-size: 15px; margin-bottom: 12px; }
.legal-content li { margin-left: 20px; list-style: disc; }
.legal-content strong { color: var(--color-text-primary); }
.legal-content a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-placeholder { background: var(--color-warning-bg); color: #8A5A0E; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .legal-placeholder { color: #F0C583; } }

/* =============================================================
   15. Reveals & efectos
   ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

.step-card:hover, .stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

@media (hover: hover) and (pointer: fine) {
  .browser-frame { will-change: transform; }
}

[data-float] { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =============================================================
   16. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .founder-glow { animation: none; }
  .reveal { transition-duration: .01s; }
}

/* =============================================================
   17. View Transitions (multi-página)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fadeOutUp .5s cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-new(root) { animation: fadeInUp .5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }
