/* ============================================================
   FP BROCENSE A DISTANCIA — Sistema de diseño v2 (tema claro)
   Acento corporativo: teal #138168 (logo Imagen y Sonido).
   Formas: botones píldora, tarjetas 16px. Tipo: Archivo variable.
   Heros: media con velo oscuro y texto blanco (momento cine).
   ============================================================ */

/* ---------- Fuentes autoalojadas ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-italic.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f0f4f3;
  --text: #17201d;
  --muted: #57635f;
  --line: rgba(23, 32, 29, 0.12);
  --acc: #138168;
  --acc-dark: #0e6353;
  --acc-tint: rgba(19, 129, 104, 0.09);
  --acc-on-dark: #6fd3bd;
  --radius: 16px;
  --pill: 999px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-stretch: 112%; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-stretch: 110%; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--alt { background: var(--surface-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
strong { color: var(--text); }
a.tlink { color: var(--acc-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--acc); color: #fff; }
.btn--primary:hover { background: var(--acc-dark); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(23, 32, 29, 0.3); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--lg { padding: 17px 36px; font-size: 1.08rem; }
/* Variantes sobre fondos oscuros (heros y panel CTA) */
.on-dark .btn--ghost, .cta-panel .btn--ghost, .photo-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.08);
}
.on-dark .btn--ghost:hover, .cta-panel .btn--ghost:hover, .photo-band .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(251, 251, 250, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.header.is-solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(23, 32, 29, 0.06); }
.header__inner { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.15; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.brand__txt { display: flex; flex-direction: column; }
.brand__name { font-weight: 900; font-stretch: 120%; font-size: 1.02rem; letter-spacing: 0.01em; color: var(--text); }
.brand__sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--muted);
  padding: 8px 13px; border-radius: var(--pill); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--acc-dark); background: var(--acc-tint); }
.header .btn--primary { padding: 11px 22px; font-size: 0.92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; }

/* CTA móvil fija */
.cta-bar {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 49;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 251, 250, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23, 32, 29, 0.07);
}
.cta-bar .btn { width: 100%; }
/* En la home no aparece hasta dejar atrás los CTAs del hero (JS añade la clase) */
.cta-bar--onscroll { transform: translateY(110%); transition: transform 0.45s var(--ease); }
.cta-bar--onscroll.is-visible { transform: none; }

/* ---------- Hero home (momento cine: media + texto blanco) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #10201c; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 20, 17, 0.88) 0%, rgba(8, 20, 17, 0.42) 45%, rgba(8, 20, 17, 0.25) 100%),
    linear-gradient(100deg, rgba(8, 20, 17, 0.65) 0%, transparent 60%);
}
.hero__content { max-width: 980px; color: #fff; }
.hero h1 { margin-bottom: 0.4em; color: #fff; font-size: clamp(2rem, 3.4vw, 2.75rem); }
.hero .lead { color: #e2e9e7; margin-bottom: 1.6em; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(19, 129, 104, 0.85); color: #fff;
  padding: 7px 16px; border-radius: var(--pill); margin-bottom: 22px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* Refuerzo discreto de contacto bajo los CTAs del hero */
.hero__hint { margin: 18px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }
.hero__hint a { color: #fff; font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Hero interior */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(40px, 6vw, 72px);
  color: #fff;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; background: #10201c; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8, 20, 17, 0.9) 0%, rgba(8, 20, 17, 0.5) 60%, rgba(8, 20, 17, 0.42) 100%);
}
.page-hero h1 { max-width: 18ch; color: #fff; margin-bottom: 0; }
.breadcrumbs { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Franja de datos ---------- */
.facts { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__num { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; font-stretch: 116%; display: block; }
.fact__num em { font-style: normal; color: var(--acc); }
.fact__label { font-size: 0.88rem; color: var(--muted); }

/* ---------- Split (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 24px 60px -24px rgba(23, 32, 29, 0.35); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--contain { box-shadow: none; text-align: center; }
.split__media--contain img { object-fit: contain; aspect-ratio: auto; max-height: 480px; width: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(23, 32, 29, 0.35); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--acc-tint); color: var(--acc); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 13px; height: 13px; }
.check-list strong { display: block; margin-bottom: 2px; }
.check-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Comparativa 0€ ---------- */
.compare { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.compare__col { padding: clamp(30px, 4.5vw, 56px); }
.compare__col--brocense { background: linear-gradient(145deg, rgba(19, 129, 104, 0.14), rgba(19, 129, 104, 0.04)); }
.compare__col--otros { background: var(--surface); border-left: 1px solid var(--line); }
.compare__price { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; font-stretch: 118%; line-height: 1; display: block; margin-bottom: 8px; }
.compare__col--brocense .compare__price { color: var(--acc); }
.compare__who { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--muted); display: block; margin-bottom: 18px; }
.compare ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.compare ul li { padding-left: 22px; position: relative; }
.compare ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 10px; height: 2px; background: var(--acc); }
.compare__col--otros ul li::before { background: rgba(23, 32, 29, 0.25); }
.compare__note { margin-top: 22px; font-size: 0.82rem; color: var(--muted); }

/* ---------- Módulos / tarjetas ---------- */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 44px); }
.mod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); box-shadow: 0 14px 40px -20px rgba(23, 32, 29, 0.18); }
.mod-card h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.mod-card h3 .curso { font-size: 2rem; font-weight: 900; color: var(--acc); font-stretch: 118%; }
.mod-list { list-style: none; margin: 0; padding: 0; }
.mod-list li { padding: 11px 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.mod-list li + li { border-top: 1px solid var(--line); }
.mod-list .horas { color: var(--muted); font-size: 0.85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: paso; }
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: paso; content: counter(paso, decimal-leading-zero);
  font-size: 3.2rem; font-weight: 900; font-stretch: 120%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(19, 129, 104, 0.5);
  display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.step p strong { font-weight: 600; color: var(--acc-dark); }

/* ---------- Fechas / timeline ---------- */
.dates { display: grid; gap: 14px; }
.date-row {
  display: grid; grid-template-columns: 260px 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px;
}
.date-row--hot { border-color: rgba(19, 129, 104, 0.55); background: linear-gradient(120deg, rgba(19, 129, 104, 0.1), var(--surface) 55%); }
.date-row__when { font-weight: 800; font-stretch: 110%; }
.date-row__what { color: var(--muted); font-size: 0.95rem; }
.date-row__tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--pill); background: rgba(23, 32, 29, 0.06); color: var(--muted); white-space: nowrap; }
.date-row--hot .date-row__tag { background: var(--acc); color: #fff; }

/* Timeline completa (admisión) */
.timeline { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: rgba(19, 129, 104, 0.3); }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li::before {
  content: ''; position: absolute; left: -34px; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--acc);
}
.timeline .t-when { font-weight: 800; font-stretch: 110%; display: block; }
.timeline .t-what { color: var(--muted); }
.timeline .t-note { font-size: 0.85rem; color: var(--muted); }
.timeline .t-note a { color: var(--acc-dark); }

/* ---------- Banda foto ancha (momento cine) ---------- */
.photo-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 12vw, 150px); color: #fff; }
.photo-band__media { position: absolute; inset: 0; z-index: -2; background: #10201c; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(8, 20, 17, 0.88) 25%, rgba(8, 20, 17, 0.35)); }
.photo-band .container > * { max-width: 560px; }
/* Banda con encuadre "pineado": la altura crece con el ancho para que la
   ventana visible de la foto sea siempre el mismo recorte (escenario arriba) */
.photo-band--pin { display: flex; align-items: center; min-height: min(38vw, 820px); }
.photo-band--pin .container { width: 100%; }
.photo-band h2 { color: #fff; }
.photo-band .lead { color: #dfe7e4; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-weight: 700; font-size: 1.05rem;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--acc-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--acc); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.faq .faq__a a { color: var(--acc-dark); }

/* ---------- CTA final (panel oscuro de marca) ---------- */
.cta-panel {
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(120% 160% at 85% 0%, rgba(19, 129, 104, 0.55), transparent 55%),
    #0d1f1a;
  color: #fff;
  padding: clamp(40px, 6.5vw, 84px);
  text-align: center;
}
.cta-panel h2 { max-width: 22ch; margin-inline: auto; color: #fff; }
.cta-panel .lead { margin-inline: auto; margin-bottom: 1.8em; color: #cfe0da; }
.cta-panel__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-panel__contact { margin-top: 26px; font-size: 0.9rem; color: #b7cbc4; }
.cta-panel__contact a { color: var(--acc-on-dark); }

/* ---------- Hook de dudas ---------- */
.hook {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--acc-tint); border: 1px solid rgba(19, 129, 104, 0.28);
  border-radius: var(--radius); padding: 22px 28px; margin-bottom: 26px;
}
.hook p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.hook a { color: var(--acc-dark); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0 110px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__grid > div { min-width: 0; }
.footer .brand__sub { white-space: normal; }
.footer li, .footer a, .footer__legal span { overflow-wrap: anywhere; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--acc-dark); }
.footer__brand p { color: var(--muted); max-width: 34ch; }
.footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }

/* ---------- Aviso de cookies (gestor propio) ---------- */
.cookies { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 16px; pointer-events: none; }
.cookies__box {
  pointer-events: auto; max-width: 720px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -12px rgba(23, 32, 29, 0.35);
  padding: 22px 24px;
}
.cookies__txt { margin: 0 0 14px; font-size: 0.95rem; }
.cookies__txt a { color: var(--acc-dark); }
.cookies__opts { display: grid; gap: 8px; margin-bottom: 14px; font-size: 0.95rem; }
.cookies__opts[hidden] { display: none; }
.cookies__opts label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.cookies__opts input { width: 18px; height: 18px; accent-color: var(--acc); }
.cookies__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookies__actions .btn { padding: 11px 22px; font-size: 0.95rem; }
.cookies__cfg {
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font: inherit; font-weight: 600; font-size: 0.95rem;
  text-decoration: underline; text-underline-offset: 3px; padding: 8px;
}
.cookies__cfg:hover { color: var(--acc-dark); }
@media (max-width: 640px) {
  .cookies { padding: 10px; }
  .cookies__actions .btn { flex: 1 1 auto; }
}

/* ---------- Cuerpo legal (privacidad) ---------- */
.legal-body { color: var(--muted); max-width: 860px; }
.legal-body h2, .legal-body h3, .legal-body h4 { color: var(--text); font-size: 1.15rem; margin-top: 2em; }
.legal-body a { color: var(--acc-dark); }
.legal-body ul { padding-left: 22px; }

/* ---------- Reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal:nth-child(2) { transition-delay: 0.07s; }
  .reveal:nth-child(3) { transition-delay: 0.14s; }
  .reveal:nth-child(4) { transition-delay: 0.21s; }
}

/* ---------- Responsive ---------- */
/* Cabecera en anchos intermedios: el menú NUNCA parte de línea */
@media (max-width: 1380px) and (min-width: 1024px) {
  .header__inner { gap: 14px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 9px; font-size: 0.88rem; }
}
@media (max-width: 1240px) and (min-width: 1024px) {
  .brand__sub { display: none; }
  .brand__logo { width: 42px; height: 42px; }
}
@media (max-width: 1023px) {
  /* El header debe poder ENCOGER: sin esto, el subtítulo nowrap del logo
     empuja la hamburguesa fuera del viewport en móvil */
  .header__inner { gap: 12px; }
  .brand { min-width: 0; }
  .brand__txt { min-width: 0; }
  .brand__sub { white-space: normal; }
  .nav-toggle { flex-shrink: 0; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 2px; padding: 18px 20px 26px;
    background: rgba(251, 251, 250, 0.98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(23, 32, 29, 0.12);
  }
  .nav.is-open a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header .btn--primary { display: none; }
  .cta-bar { display: block; }
}
@media (max-width: 900px) {
  .split, .mod-grid, .compare { grid-template-columns: 1fr; }
  .compare__col--otros { border-left: 0; border-top: 1px solid var(--line); }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 20px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .date-row { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Pills apiladas: siempre el MISMO ancho (nunca dos píldoras desiguales) */
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .cta-panel__actions { flex-direction: column; align-items: center; }
  .cta-panel__actions .btn { width: 100%; max-width: 380px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__logo { width: 40px; height: 40px; }
  .footer__grid { grid-template-columns: 1fr; }
}
