/* ============================================================
   MM-Funnel · Morini Computers — app.css (design system v6, 19/10/2026)
   Fuentes e iconos propios (sin terceros). Open Sans y Orbitron son
   fuentes variables: un archivo cubre todo el rango de pesos.
   Iconos: Font Awesome Free 6.5.2 (CC BY 4.0), solo los 4 usados, como máscara SVG.
   ============================================================ */
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/soc/assets/fonts/archivo-black-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/soc/assets/fonts/archivo-black-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url(/soc/assets/fonts/open-sans-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url(/soc/assets/fonts/open-sans-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/soc/assets/fonts/orbitron-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.fa-solid,.fa-brands{display:inline-block;width:1em;height:1em;vertical-align:-.125em;background-color:currentColor;-webkit-mask:var(--fa) center/contain no-repeat;mask:var(--fa) center/contain no-repeat;flex:0 0 auto}
.fa-whatsapp{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E")}
.fa-phone{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E")}
.fa-envelope{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E")}
.fa-video{--fa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2V384c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1V320 192 174.9l14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z'/%3E%3C/svg%3E")}

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* marca */
  --blue:       #006599;   /* 6,3:1 sobre blanco */
  --blue-dark:  #004b73;
  --blue-deep:  #002840;
  --navy:       #0b1d29;   /* fondos oscuros: header móvil, footer, banner */
  --blue-light: #e6f1f7;
  --blue-inv:   #7cc4ea;   /* enlaces sobre fondo oscuro (7,9:1) */
  --sky:        #8fd3ff;   /* eyebrow sobre oscuro */
  --accent:     #f08a24;   /* naranja de marca: botón con texto oscuro (6,3:1) */
  --accent-hi:  #f59a3c;
  --accent-txt: #a35200;   /* naranja como TEXTO sobre claro (5,6:1) */
  --accent-soft:#fdf3e6;
  --accent-on-dark: #ffb45c;
  /* tinta */
  --ink:        #0f2533;   /* titulares */
  --text:       #3f4a52;   /* cuerpo (9:1) */
  --body:       var(--text);
  --muted:      #5b6670;   /* secundario (5,4:1 sobre --bg) */
  --on-dark:    #d4e1ea;
  --on-dark-2:  #a9bccb;
  /* superficies */
  --bg:         #f4f6f8;
  --mist:       #eef3f7;
  --card:       #ffffff;
  --line:       #e1e7ec;
  --line-strong:#7f8d99;   /* borde de campos (3,4:1) */
  /* estado */
  --ok:         #137049;
  --ok-soft:    #e6f4ee;
  --alert:      #b42318;
  --alert-soft: #fdecea;
  --focus:      #1d8fd1;
  /* espaciado (4/8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --sec-y:   clamp(56px, 4rem + 3vw, 112px);
  --sec-y-t: clamp(44px, 2.5rem + 2vw, 80px);
  --gutter:  clamp(18px, 4vw, 32px);
  /* tipografía */
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --disp: "Orbitron", "Open Sans", sans-serif;
  --logo: "Archivo Black", "Arial Black", sans-serif;
  --fs-xs:   .8125rem;                              /* 13 */
  --fs-sm:   .875rem;                               /* 14 */
  --fs-base: clamp(1rem, .97rem + .12vw, 1.0625rem);/* 16-17 */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h4:   1.0625rem;
  --fs-h3:   clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  --fs-h2:   clamp(1.5rem, 1.15rem + 1.5vw, 2.35rem);
  --fs-h1:   clamp(1.85rem, 1.25rem + 2.6vw, 3.3rem);
  /* forma */
  --radius-sm: 8px; --radius: 14px; --radius-lg: 20px; --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15,37,51,.06);
  --shadow:    0 1px 2px rgba(15,37,51,.05), 0 8px 24px rgba(15,37,51,.06);
  --shadow-lg: 0 2px 4px rgba(15,37,51,.06), 0 18px 48px rgba(15,37,51,.12);
  --max: 1200px; --max-narrow: 860px; --measure: 68ch;
  --header-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: var(--fs-base); line-height: 1.65;
  color: var(--text); background: var(--card);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
p a:not(.btn), li a:not(.btn), .acc-body a, .small a, .xsmall a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-on-dark); }

h1, h2, h3, h4 {
  font-family: var(--disp); color: var(--ink); font-weight: 700;
  line-height: 1.18; letter-spacing: 0; margin: 0 0 var(--s-4);
  overflow-wrap: break-word; text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.12; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.35; margin-bottom: var(--s-2); }
p { margin: 0 0 var(--s-4); }
p, li { text-wrap: pretty; }
strong, b { color: var(--ink); font-weight: 700; }
hr, .hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
code { font-size: .9em; }
.btn, .card, .doc-v { overflow-wrap: anywhere; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.wrap, .container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow, .container--narrow { width: 100%; max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--sec-y) 0; background: var(--card); }
.sect-tight { padding: var(--sec-y-t) 0; }
.sec-mist { background: var(--mist); }
.sec-plain { background: var(--bg); }
main > section + section.sec-mist, main > section.sec-mist + section.sec-mist { border-top: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) { .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g2.gap-lg { gap: clamp(24px, 4vw, 48px); align-items: start; }

/* Dos columnas: texto + prueba (hero, veredicto, formulario). Una columna en móvil. */
.hero-grid { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero-grid.hg-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .hero-grid.hg-wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

.stack > * + * { margin-top: var(--s-7); }
.center { text-align: center; }
.mb0 { margin-bottom: 0 !important; }
.mx-auto { margin-inline: auto; }
.measure { max-width: var(--measure); }
.mt-1 { margin-top: var(--s-2) !important; } .mt-2 { margin-top: var(--s-3) !important; }
.mt-3 { margin-top: var(--s-4) !important; } .mt-4 { margin-top: var(--s-5) !important; }
.mt-5 { margin-top: var(--s-6) !important; } .mt-6 { margin-top: var(--s-7) !important; }
.mt-7 { margin-top: var(--s-8) !important; } .mt-0 { margin-top: 0 !important; }
.mb-1 { margin-bottom: var(--s-2) !important; } .mb-2 { margin-bottom: var(--s-3) !important; }
.mb-3 { margin-bottom: var(--s-4) !important; } .mb-4 { margin-bottom: var(--s-5) !important; }
.mb-5 { margin-bottom: var(--s-6) !important; }

/* Cabecera de sección: eyebrow + h2 + entradilla, centrada y con medida legible */
.sec-head { max-width: 760px; margin: 0 auto var(--s-7); text-align: center; }
.sec-head > :last-child { margin-bottom: 0; }
.sec-head .lead { margin-inline: auto; }
.sec-head.left { margin-inline: 0; text-align: left; }

/* Fondos oscuros */
.dark { background: var(--blue-deep); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark strong, .hero strong, .on-dark strong { color: #fff; }
.on-dark { color: var(--on-dark); }
.dark a:not(.btn), .hero a:not(.btn), .cta-band a:not(.btn) { color: var(--blue-inv); }
.dark a:not(.btn):hover, .hero a:not(.btn):hover, .cta-band a:not(.btn):hover { color: #b9e2f7; }

/* ============================================================
   4. TIPOGRAFÍA AUXILIAR
   ============================================================ */
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); font-weight: 400; max-width: 62ch; }
.center .lead, .lead.center { margin-inline: auto; }
.dark .lead, .hero .lead { color: rgba(255,255,255,.86); }
.small { font-size: var(--fs-sm); line-height: 1.6; }
.xsmall { font-size: max(.75rem, var(--fs-xs)); line-height: 1.55; }
.muted { color: var(--muted); }
.dark .muted, .on-dark .muted, .hero .muted, .cta-band .muted { color: var(--on-dark-2); }
.hl { background: var(--blue-light); color: var(--ink); padding: 1px 5px; border-radius: 4px; }
.hint { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); line-height: 1.5; }
.eyebrow {
  display: block; font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .75rem; line-height: 1.5; color: var(--blue); margin: 0 0 var(--s-3);
}
.hero .eyebrow, .dark .eyebrow, .cta-band .eyebrow, .legal-hero .eyebrow { color: var(--sky); }
.lbl {
  display: block; font-family: var(--disp); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-1);
}

/* Frase de transformación: la meta, distinta de la explicación */
.hero-transform {
  margin: var(--s-5) 0 0; padding: var(--s-1) 0 var(--s-1) var(--s-5);
  border-left: 3px solid var(--accent);
  font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem); line-height: 1.55; font-style: italic;
  color: var(--ink); max-width: 60ch;
}
.hero .hero-transform, .dark .hero-transform { color: #fff; }
.mech-name { font-family: var(--disp); color: var(--accent-txt); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.hero .mech-name, .dark .mech-name { color: var(--accent-on-dark); }

/* ============================================================
   5. BOTONES — primary (azul) · accent (naranja, CTA principal) · ghost · outline-light
   ============================================================ */
.btn {
  --b-bg: var(--blue); --b-fg: #fff; --b-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill);
  font-family: var(--disp); font-weight: 600; font-size: .9rem; letter-spacing: .03em; line-height: 1.25;
  text-align: center; text-decoration: none !important; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --b-bg: var(--blue-dark); --b-bd: var(--blue-dark); color: var(--b-fg); box-shadow: 0 6px 18px rgba(0,40,64,.18); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { --b-bg: var(--blue); --b-bd: var(--blue); --b-fg: #fff; }
.btn-accent, .btn-accent:hover, a.btn-accent, .hero a.btn-accent, .dark a.btn-accent, .cta-band a.btn-accent { --b-fg: var(--ink); color: var(--ink); }
.btn-accent { --b-bg: var(--accent); --b-bd: var(--accent); }
.btn-accent:hover { --b-bg: var(--accent-hi); --b-bd: var(--accent-hi); box-shadow: 0 8px 22px rgba(240,138,36,.32); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--blue); --b-bd: var(--blue); color: var(--blue); }
.btn-ghost:hover { --b-bg: var(--blue); --b-fg: #fff; --b-bd: var(--blue); color: #fff; }
.hero .btn-ghost, .dark .btn-ghost, .cta-band .btn-ghost, .btn-outline-light, .card-brand .btn-ghost {
  --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.6); color: #fff;
}
.hero .btn-ghost:hover, .dark .btn-ghost:hover, .cta-band .btn-ghost:hover, .btn-outline-light:hover, .card-brand .btn-ghost:hover {
  --b-bg: #fff; --b-fg: var(--blue-deep); --b-bd: #fff; color: var(--blue-deep);
}
.dark .card:not(.card-night) .btn-ghost { --b-fg: var(--blue); --b-bd: var(--blue); color: var(--blue); }
.hero a.btn-primary, .dark a.btn-primary, .cta-band a.btn-primary { color: #fff; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: .95rem; }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.btn-row.center, .center > .btn-row, .btn-row-center { justify-content: center; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   6. HEADER + NAV
   ============================================================ */
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 18px; z-index: 300; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(15,37,51,.08);
}
.site-header .wrap, .site-header .container {
  max-width: 1320px; height: 100%; display: flex; align-items: center; gap: var(--s-4);
}
.brand { display: flex; align-items: center; min-width: 0; min-height: 44px; flex: 0 1 auto; margin-right: auto; }
.brand .logo { height: auto; width: clamp(120px, 34vw, 158px); display: block; }
.header-right { display: flex; align-items: center; gap: var(--s-3); }
.lang-switch { display: flex; gap: 6px; align-items: center; }
.lang-btn {
  position: relative; width: 26px; height: 18px; padding: 0; border: 1px solid rgba(15,37,51,.15); border-radius: 3px;
  overflow: visible; cursor: pointer; background: none; line-height: 0; opacity: .5; flex: 0 0 auto;
  transition: opacity .2s, box-shadow .2s;
}
.lang-btn svg { width: 100%; height: 100%; display: block; border-radius: 2px; }
.lang-btn::after { content: ""; position: absolute; inset: -13px -3px; } /* zona táctil 44 px */
.lang-btn:hover { opacity: .9; }
.lang-btn.is-active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }

.menu-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 10px; cursor: pointer;
}
.menu-toggle:hover { background: var(--blue-light); }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Móvil: menú desplegable a ancho completo, fuera del árbol mientras está cerrado */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  display: flex; flex-direction: column; align-items: stretch;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(15,37,51,.14);
  padding: var(--s-2) 0 var(--s-4); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .25s var(--ease), opacity .2s, visibility 0s linear .25s;
}
.nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .2s, visibility 0s; }
.nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 var(--gutter);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--blue); background: var(--mist); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 0 var(--blue); }
/* La CTA nel menu mobile: larghezza esplicita (lo stretch del flex ignorava i margini e sforava a destra). */
.nav a.btn.nav-cta { width: calc(100% - 2 * var(--gutter)); margin: var(--s-4) var(--gutter) 0; border-bottom: 2px solid var(--b-bd); justify-content: center; color: #fff; }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: clamp(14px, 1.8vw, 28px);
    margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
    transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav a { min-height: 44px; padding: 0; border: 0; font-size: .9rem; position: relative; white-space: nowrap; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { background: none; box-shadow: none; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--blue);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav a:not(.btn):hover::after, .nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .nav a.btn.nav-cta { width: auto; margin: 0 0 0 var(--s-2); min-height: 44px; padding: 8px 20px; font-size: .82rem; border-bottom-width: 2px; }
  .header-right { margin-left: var(--s-4); padding-left: var(--s-4); border-left: 1px solid var(--line); }
  .brand .logo { width: 160px; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav a { font-size: .84rem; }
  .nav a.btn.nav-cta { padding: 8px 14px; font-size: .76rem; }
  .brand .logo { width: 132px; }
  .header-right { margin-left: var(--s-2); padding-left: var(--s-3); }
}
@media (max-width: 380px) {
  .lang-switch { gap: 4px; }
  .lang-btn { width: 23px; height: 16px; }
  .header-right { gap: 6px; }
  .site-header .wrap, .site-header .container { gap: 8px; padding: 0 14px; }
}

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; text-align: left;
  padding: clamp(36px, 2rem + 5vw, 112px) 0 clamp(44px, 2rem + 6vw, 120px);
  background:
    linear-gradient(100deg, rgba(0,22,36,.96) 0%, rgba(0,34,54,.9) 50%, rgba(0,40,64,.78) 100%),
    url("img/hero.jpg") center/cover no-repeat;
  background-color: var(--blue-deep);
}
.hero::after { /* línea de acento inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143,211,255,.35), transparent);
}
.hero-in { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: var(--s-4); max-width: 22ch; }
.hero .center h1, .hero.center h1 { margin-inline: auto; }
.hero .lead { margin-bottom: var(--s-3); }
.hero .btn-row { margin-top: var(--s-5); }
.hero .center .btn-row, .hero .center + .btn-row { justify-content: center; }
.hero .xsmall.muted { color: rgba(255,255,255,.7); }
.trustbar { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); font-size: var(--fs-sm); color: rgba(255,255,255,.82); }
.trustbar span { display: inline-flex; align-items: center; gap: var(--s-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe0a3; display: inline-block; flex: 0 0 auto; box-shadow: 0 0 0 3px rgba(111,224,163,.18); }
.hero-narrow { max-width: 880px; margin-inline: auto; }
.hero-badge { /* icono de éxito en /gracias/ */
  width: 64px; height: 64px; border-radius: 50%; background: var(--ok); display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-5); box-shadow: 0 0 0 8px rgba(19,112,73,.22);
}

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  position: relative; background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card h1, .card h2, .card h3, .card h4, .card .num-big { color: var(--ink); }
.card strong { color: var(--ink); }
.card .muted { color: var(--muted); }
.card h3, .card h4 { margin-bottom: var(--s-3); }
a.card { display: block; color: var(--text); text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(0,101,153,.45); color: var(--text); }
.card-ico { font-family: var(--disp); font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); font-weight: 700; color: var(--blue); margin-bottom: var(--s-3); line-height: 1; letter-spacing: -.01em; }
.card-brand { background: linear-gradient(160deg, #0a74ad, var(--blue) 45%, var(--blue-dark)); border-color: transparent; color: rgba(255,255,255,.9); }
.card-brand h1, .card-brand h2, .card-brand h3, .card-brand h4, .card-brand strong, .card-brand .num-big { color: #fff; }
.card-brand p { color: rgba(255,255,255,.9); }
.card-brand .muted, .card-brand .note { color: #cfe6f3; }
.card-brand .card-ico { color: #bfe5fa; }
.card-mist { background: var(--mist); border-color: #d8e4ec; box-shadow: none; }
.card-mist h1, .card-mist h2, .card-mist h3, .card-mist h4 { color: var(--ink); }
.card.card-night { background: #10293a; border-color: #1f3d52; color: rgba(255,255,255,.78); box-shadow: none; }
.card.card-night h1, .card.card-night h2, .card.card-night h3, .card.card-night h4 { color: #fff; }
.card.card-night p { color: rgba(255,255,255,.78); }
.card.card-night strong { color: var(--accent-on-dark); }
.card.card-night code { color: var(--blue-inv); }
.card.card-night a { color: var(--blue-inv); }
.card-num {
  font-family: var(--disp); font-size: 1.2rem; font-weight: 700; color: var(--blue);
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--pill); background: var(--blue-light);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-4); white-space: nowrap;
}
.card-num:not(:only-child), .card-num.long { font-size: .95rem; }
.card-brand .card-num { background: rgba(255,255,255,.16); color: #fff; }
.card-center { text-align: center; }

/* Escala de la oferta / tramos de precio */
.ladder { align-items: stretch; }
.ladder-step { display: flex; flex-direction: column; align-items: flex-start; }
.ladder-step.center { align-items: center; }
.ladder-step h4 { color: var(--ink); font-size: 1.12rem; margin-bottom: var(--s-3); }
.ladder-step > p { flex: 0 0 auto; }
.ladder-step .btn { margin-top: auto; }
.ladder-step > p:last-of-type { margin-bottom: var(--s-5); }
.ladder-tag {
  display: inline-block; font-family: var(--disp); font-weight: 600; font-size: .8rem; letter-spacing: .03em; line-height: 1.3;
  color: var(--blue-dark); background: var(--blue-light); padding: 6px 12px; border-radius: var(--pill); margin-bottom: var(--s-4);
}
.ladder-step.is-core, .card.is-core { border: 2px solid var(--accent); box-shadow: 0 1px 2px rgba(15,37,51,.05), 0 14px 36px rgba(240,138,36,.18); }
.ladder-step.is-core .ladder-tag, .card.is-core .ladder-tag { background: var(--accent); color: var(--ink); }
@media (min-width: 900px) { .ladder .is-core { transform: translateY(-6px); } }
.price-tier { font-family: var(--disp); font-weight: 700; font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); color: var(--ink); line-height: 1.1; margin-top: var(--s-2); letter-spacing: -.01em; }
.price-tier + .xsmall { margin-top: var(--s-2); margin-bottom: 0; }

/* Cifras */
.num-big { font-family: var(--disp); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; color: var(--blue); letter-spacing: -.01em; }
.dark .num-big, .hero .num-big { color: #fff; }
.num-lbl { font-size: var(--fs-sm); line-height: 1.45; margin-top: var(--s-3); color: var(--muted); }
.dark .num-lbl, .card-brand .num-lbl { color: rgba(255,255,255,.85); }
.stats { text-align: center; }
.stats > * { padding: var(--s-4) var(--s-2); }

/* Pills */
.pill {
  display: inline-block; background: var(--blue-light); color: var(--blue-dark);
  border-radius: var(--pill); padding: 4px 12px; font-size: .75rem; font-weight: 600; line-height: 1.5;
  letter-spacing: .04em; text-transform: uppercase; font-family: var(--disp); vertical-align: middle;
}
.pill-accent { background: var(--accent-soft); color: var(--accent-txt); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }

/* ============================================================
   9. FLOW (pasos)
   ============================================================ */
.flow, .flow-3 { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); }
.step {
  position: relative; background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4);
  box-shadow: var(--shadow); display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--s-4); align-content: start;
}
.step > :not(.step-idx) { grid-column: 2; }
.step-idx { grid-column: 1; grid-row: 1 / span 3; }
.step h4 { color: var(--ink); font-size: 1rem; margin: 10px 0 var(--s-1); }
.step p { font-size: var(--fs-sm); margin: 0; color: var(--text); }
.step strong { color: var(--ink); }
.step .muted { color: var(--muted); }
.step-idx {
  font-family: var(--disp); font-size: 1.1rem; font-weight: 700; color: var(--blue);
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.step.hl { border-color: var(--blue); background: #f2f8fc; box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.step.hl h4, .step.hl strong { color: var(--blue-dark); }
.step.hl .step-idx { background: var(--blue); color: #fff; }
.step-tag {
  justify-self: start; display: inline-block; margin-top: var(--s-3); font-family: var(--disp); font-size: .75rem;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-dark); background: rgba(0,101,153,.1); padding: 4px 12px; border-radius: var(--pill);
}
@media (min-width: 760px) {
  .flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
  .flow-3 .step { display: block; padding: var(--s-5); }
  .flow-3 .step h4 { margin-top: var(--s-4); }
}
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
  .flow .step { display: block; padding: var(--s-5) var(--s-4); }
  .flow .step h4 { margin-top: var(--s-4); font-size: .98rem; }
  .flow .step-idx { margin: 0; }
}

/* ============================================================
   10. DOC (expediente / veredicto de ejemplo)
   ============================================================ */
.doc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); text-align: left;
}
.hero .doc { border-color: rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.doc-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 18px;
  background: var(--ink); color: #fff; font-family: var(--disp);
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; line-height: 1.4;
}
.doc-bar svg { flex: 0 0 auto; }
.doc-bar .dot { background: #6fe0a3; }
.doc-bar .ref { margin-left: auto; font-family: var(--sans); letter-spacing: 0; opacity: .85; font-size: .8rem; text-transform: none; }
.doc-body { padding: 4px 18px 10px; }
.doc-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.doc-row:last-child { border-bottom: 0; }
.doc-k { color: var(--muted); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; font-weight: 700; }
.doc-v { color: var(--ink); }
.doc-v strong { color: var(--ink); }
@media (min-width: 560px) {
  .doc-row { grid-template-columns: 128px minmax(0, 1fr); gap: var(--s-4); }
  .doc-k { padding-top: 2px; }
}
.doc-note { margin-top: var(--s-3); }

/* ============================================================
   11. TABLAS
   ============================================================ */
.tbl-wrap {
  position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.tbl-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); line-height: 1.5; min-width: 600px; }
table:not(:has(thead th:nth-child(4))) { min-width: 0; }
thead th {
  background: var(--ink); color: #fff; text-align: left; padding: 14px 16px; vertical-align: bottom;
  font-family: var(--disp); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
tbody td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--text); vertical-align: top; background: var(--card); }
tbody tr:nth-child(even) td { background: #fafbfc; }
td.yes, .yes { color: var(--ok); font-weight: 700; }
td.no, .no { color: var(--alert); font-weight: 700; }
td.mid, .mid { color: var(--accent-txt); font-weight: 700; }
th.hl-col { background: var(--blue); }
td.hl-col, tbody tr:nth-child(even) td.hl-col { background: #eef6fb; }
/* primera columna fija al desplazar en móvil */
@media (max-width: 759px) {
  .tbl-wrap table:has(thead th:nth-child(4)) th:first-child,
  .tbl-wrap table:has(thead th:nth-child(4)) td:first-child {
    position: sticky; left: 0; z-index: 1; min-width: 118px; max-width: 132px; box-shadow: 1px 0 0 var(--line);
  }
  .tbl-wrap table:has(thead th:nth-child(4)) th:first-child { z-index: 2; }
  table { font-size: .84rem; }
  thead th, tbody td { padding: 12px; }
}
.tbl-hint { display: none; }
@media (max-width: 759px) { .tbl-hint { display: block; font-size: var(--fs-xs); color: var(--muted); margin: 0 0 var(--s-2); text-align: right; } }

/* ============================================================
   12. FAQ (details nativo)
   ============================================================ */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); margin-bottom: var(--s-3); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc:hover { border-color: #c9d6e0; }
.acc[open] { border-color: rgba(0,101,153,.35); box-shadow: var(--shadow); }
.acc summary {
  cursor: pointer; list-style: none; position: relative; min-height: 56px;
  padding: 16px 56px 16px 20px; display: flex; align-items: center;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%23006599' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
  transition: transform .25s var(--ease);
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: var(--blue); }
.acc-body { padding: 0 20px 20px; color: var(--text); }
.acc-body p:last-child { margin-bottom: 0; }

/* ============================================================
   13. FORMULARIOS
   ============================================================ */
.form-card { background: var(--card); color: var(--text); text-align: left; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.hero .form-card { border-color: transparent; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.form-card h1, .form-card h2, .form-card h3, .form-card h4 { color: var(--ink); text-align: left; }
.form-card .muted { color: var(--muted); }
.form-card a:not(.btn) { color: var(--blue); }
.form-card strong { color: var(--ink); }
.form-title { margin-bottom: var(--s-1); }
.form-sub { margin-bottom: var(--s-5); }
.fstep > h3 { margin-bottom: var(--s-1); }
.fstep > h3 + p { margin-bottom: var(--s-5); }
.field { margin-bottom: var(--s-5); }
.field > label, .legend {
  display: block; font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.4;
  color: var(--ink); margin-bottom: var(--s-2);
}
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: var(--sans); font-size: 1rem; line-height: 1.4; color: var(--ink); background-color: #fff;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.select {
  padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230f2533' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat;
}
.input::placeholder, .textarea::placeholder { color: #75828d; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,101,153,.16); }
.textarea { min-height: 116px; resize: vertical; }
.textarea.sm, .textarea-sm { min-height: 88px; }
.input.err, .select.err, .textarea.err { border-color: var(--alert); box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.err-msg { display: none; color: var(--alert); font-size: var(--fs-sm); font-weight: 600; margin-top: var(--s-2); }
.err-msg.show { display: flex; align-items: center; gap: 6px; }
.err-msg.show::before {
  content: "!"; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--alert); color: #fff;
  font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}

/* Consentimiento RGPD: casilla real y obligatoria */
.consent { display: flex; align-items: flex-start; gap: 12px; margin: var(--s-4) 0 var(--s-1); font-size: var(--fs-sm); line-height: 1.55; color: var(--text); cursor: pointer; }
.consent input[type="checkbox"] { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer; accent-color: var(--blue); }
.consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Opciones (radio) como tarjetas: el recuadro es el <span> directo del label */
.choice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice > span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 52px;
  padding: 12px 16px 12px 46px; position: relative;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice > span::before { /* indicador radio */
  content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.choice-t { display: block; font-size: .98rem; font-weight: 600; color: var(--ink); line-height: 1.35; text-align: left; }
.choice-s { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; text-align: left; }
.choice-t .pill { margin-left: 6px; padding: 1px 8px; font-size: .7rem; }
.choice:hover > span { border-color: var(--blue); }
.choice:has(input:checked) > span, .choice.sel > span { border-color: var(--blue); background: #f2f8fc; box-shadow: 0 0 0 1px var(--blue); }
.choice:has(input:checked) > span::before, .choice.sel > span::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff; background: var(--blue); }
.choice:has(input:focus-visible) > span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-grid.err .choice > span { border-color: var(--alert); }
.choice-cb > span::before { border-radius: 4px; } /* casillas múltiples (inventario) */

/* Indicador de pasos: barra segmentada */
.steps-dots { display: flex; gap: 6px; margin-bottom: var(--s-5); }
.sd { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--line); transition: background-color .3s; }
.sd.on { background: var(--blue); }
.fstep { display: none; }
.fstep.on { display: block; animation: fadein .3s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fstep .btn-row { margin-top: var(--s-2); }
.fstep .btn-row .btn[data-next], .fstep .btn-row .btn[type="submit"] { flex: 1 1 auto; }
.form-note { margin-top: var(--s-3); text-align: center; }

/* ============================================================
   14. VÍDEO
   ============================================================ */
.video-shell { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); background: var(--blue-deep); aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,.1); }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-shell video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #071521; object-fit: contain; display: block; }
.video-note { margin-bottom: 0; opacity: .9; }
.video-note a { font-weight: 600; }
.video-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-3); color: #fff; text-align: center; padding: var(--s-5);
  background: linear-gradient(rgba(0,30,48,.7), rgba(0,30,48,.88)), url("img/hero.jpg") center/cover no-repeat;
}
.video-ph .fa-video { font-size: 2.2rem; opacity: .85; }
.video-ph-t { font-weight: 700; margin: 0; font-size: 1.15rem; color: #fff; }
.video-ph-p { margin: 0; max-width: 46ch; opacity: .88; }
.video-ph-by { margin: 0; opacity: .72; }
.play-btn {
  width: 78px; height: 78px; border-radius: 50%; background: var(--blue); border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s; box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.play-btn:hover { background: var(--blue-dark); transform: scale(1.06); }
.play-btn::after { content: ""; width: 0; height: 0; margin-left: 5px; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
@media (max-width: 520px) {
  .video-ph { gap: var(--s-2); padding: var(--s-4); }
  .video-ph .fa-video, .video-ph-p { display: none; }
}

/* ============================================================
   15. CALLOUT · CTA BAND · PRECIO
   ============================================================ */
.callout { background: var(--mist); color: var(--text); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s-5); text-align: left; }
.callout strong { color: var(--ink); }
.callout h4 { margin-bottom: var(--s-2); color: var(--blue-dark); }
.callout > :last-child { margin-bottom: 0; }
.callout-brand { background: var(--ink); color: rgba(255,255,255,.88); border-left-color: var(--accent); }
.callout-brand h4, .callout-brand strong { color: #fff; }
.callout-brand p { color: rgba(255,255,255,.88); }
.callout-brand a:not(.btn) { color: var(--blue-inv); }
.dark .callout-brand { background: rgba(255,255,255,.06); }
.callout-ok { background: var(--ok-soft); border-left-color: var(--ok); }
.callout-ok h4 { color: var(--ok); }
.callout-warn { background: var(--accent-soft); border-left-color: var(--accent); }
.callout-warn h4 { color: var(--accent-txt); }
.callout-commit { background: var(--ink); color: rgba(255,255,255,.88); border-left-color: var(--accent); }
.callout-commit h4, .callout-commit strong { color: #fff; }
.callout-commit .ul li { color: rgba(255,255,255,.88); }
.dark .callout:not(.callout-brand):not(.callout-commit) strong, .hero .callout:not(.callout-brand):not(.callout-commit) strong { color: var(--ink); }
.dark .callout:not(.callout-brand):not(.callout-commit), .hero .callout:not(.callout-brand):not(.callout-commit) { color: var(--text); }
.dark .callout:not(.callout-brand):not(.callout-commit) a, .hero .callout:not(.callout-brand):not(.callout-commit) a { color: var(--blue); }

.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(40px, 2rem + 4vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(0,22,36,.95), rgba(0,40,64,.86)), url("img/hero.jpg") center/cover no-repeat;
  background-color: var(--blue-deep);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 62ch; margin: 0 auto var(--s-4); }
.cta-band strong { color: #fff; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-5); }
.cta-band .cta-note { margin-top: var(--s-5); margin-bottom: 0; color: rgba(255,255,255,.78); }
section:has(> .wrap > .cta-band:only-child) { padding: var(--sec-y-t) 0; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: var(--s-5) 0 var(--s-2); }
.center .price, .price.center { justify-content: center; }
.price-n { font-family: var(--disp); font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); font-weight: 700; color: var(--blue); line-height: 1; }
.price-u { font-size: var(--fs-sm); color: var(--muted); }
.dark .price-n, .hero .price-n { color: #fff; }
.dark .price-u, .hero .price-u { color: rgba(255,255,255,.75); }

/* ============================================================
   16. LISTAS
   ============================================================ */
.ul, .ul-check, .ul-x { list-style: none; padding: 0; margin: 0; text-align: left; }
.ul li, .ul-check li { position: relative; padding: 7px 0 7px 32px; }
.ul li::before, .ul-check li::before {
  content: ""; position: absolute; left: 0; top: calc(7px + .82em - 10px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' stroke='%23006599' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ul-x li::before {
  background: var(--alert-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23b42318' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.center .ul, .center .ul-check, .center .ul-x { display: inline-block; max-width: 100%; }
.dark .ul li::before, .hero .ul li::before, .callout-brand .ul li::before, .callout-commit .ul li::before, .card-brand .ul li::before {
  background: rgba(124,196,234,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' stroke='%237cc4ea' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.dark .ul-x li::before, .hero .ul-x li::before {
  background: rgba(240,138,118,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23f08a76' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.ul-sep li + li { border-top: 1px solid var(--line); }
.ol { list-style: none; padding: 0; margin: 0; counter-reset: olc; text-align: left; }
.ol li { position: relative; padding: 10px 0 10px 46px; counter-increment: olc; min-height: 52px; }
.ol li + li { border-top: 1px solid var(--line); }
.ol li::before {
  content: counter(olc); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: var(--disp); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   17. PÁGINAS ESPECÍFICAS
   ============================================================ */
/* /evaluacion/: en móvil el formulario sube tras el titular; en escritorio, dos columnas */
.eval-hero { display: flex; flex-direction: column; }
.eval-intro { display: contents; }
.eval-intro > * { order: 2; }
.eval-intro > .eyebrow, .eval-intro > h1 { order: 0; }
.eval-formcol { order: 1; margin: var(--s-2) 0 var(--s-6); }
@media (min-width: 1000px) {
  .eval-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .eval-intro { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
  .eval-formcol { margin: 0; }
}

/* /gracias/: banda WhatsApp */
.wa-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: center; text-align: center; }
.wa-band h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); max-width: none; }
.wa-band p { margin: 0; max-width: none; }
@media (min-width: 760px) {
  .wa-band { grid-template-columns: 1.2fr .8fr; gap: var(--s-6); text-align: left; }
  .wa-band .btn-row { justify-content: flex-end; }
}
.px-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.px-num { color: #fff; font-size: 1.9rem; }
.px-note { color: #cfe6f3; margin: 6px 0 0; }
.px-claim { font-size: 1.05rem; font-weight: 700; margin: 10px 0 0; color: #fff; }
.px-card { text-align: center; padding: clamp(24px, 3vw, 40px); }
.px-card .hr { border-top-color: rgba(255,255,255,.2); margin: var(--s-5) 0; }
.nf-code { font-size: clamp(4.5rem, 3rem + 8vw, 8rem) !important; line-height: 1; letter-spacing: -.02em; }

/* ============================================================
   18. PANEL interno
   ============================================================ */
.pnl { background: var(--bg); }
.gui { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); margin-bottom: var(--s-4); overflow: hidden; box-shadow: var(--shadow-sm); }
.gui-h { display: flex; align-items: center; gap: var(--s-3); padding: 14px 18px; background: var(--mist); color: var(--ink); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gui-n { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--disp); font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gui-t { font-family: var(--disp); font-weight: 600; color: var(--ink); font-size: .95rem; }
.gui-m { margin-left: auto; display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.gui-b { padding: 18px 20px; }
.gui-b p { margin: 0 0 var(--s-3); }
.gui-b p:last-child { margin-bottom: 0; }
.hook { color: var(--accent-txt); }
.cierre { color: var(--ok); }
.copy-btn {
  min-height: 44px; background: var(--blue); border: 1px solid var(--blue); color: #fff; border-radius: var(--pill);
  padding: 6px 16px; font-size: .78rem; font-weight: 600; cursor: pointer; font-family: var(--disp); letter-spacing: .03em; transition: background-color .2s;
}
.copy-btn:hover { background: var(--blue-dark); }
.fn-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
@media (min-width: 560px) { .fn-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .fn-map { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fn-node { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.fn-node h4 { font-size: .92rem; margin-bottom: var(--s-2); }
.fn-node p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--s-2); }
.fn-node code { background: var(--blue-light); color: var(--blue-dark); font-size: .78rem; padding: 2px 6px; border-radius: 4px; }
.fn-arrow { align-self: center; text-align: center; color: var(--muted); font-size: 1.2rem; }

/* ============================================================
   19. FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding: clamp(44px, 6vw, 72px) 0 var(--s-5); font-size: var(--fs-sm); }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.f-grid > :first-child, .f-grid > :last-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .f-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-6); }
  .f-grid > :first-child, .f-grid > :last-child { grid-column: auto; }
}
.site-footer h4 { color: #fff; font-family: var(--disp); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 var(--s-3); }
.f-logo .flogo { height: auto; width: 150px; margin-bottom: var(--s-4); }
.site-footer p { max-width: 42ch; }
.site-footer .muted { color: #8fa3b1; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { display: flex; gap: 10px; align-items: center; }
.site-footer li i { color: var(--blue-inv); width: 16px; }
.site-footer a, .site-footer .cc-link { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover, .site-footer .cc-link:hover { color: #fff; }
.site-footer .f-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--s-6); padding-top: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-xs); color: #8fa3b1;
}
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
@media (min-width: 760px) { .site-footer .f-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; } }
@media (max-width: 759px) { .site-footer a, .site-footer .cc-link { min-height: 44px; } }

/* ============================================================
   20. REVEAL + MOVIMIENTO REDUCIDO
   ============================================================ */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .btn:hover, a.card:hover, .ladder .is-core { transform: none; }
}

/* ============================================================
   21. MÓVIL — densidad y primer pantallazo
   ============================================================ */
@media (max-width: 520px) {
  .btn { width: 100%; white-space: normal; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn-sm { width: auto; }
  .ladder-step .btn, .card .btn-sm { width: 100%; }
  .gui-m { flex-direction: row; }
  .fstep .btn-row { flex-direction: column-reverse; }
  .btn-lg { min-height: 52px; padding: 13px 22px; font-size: .9rem; }
  /* Hero compacto: CTA visible en el primer pantallazo (390x780) */
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: clamp(1.4rem, 5.6vw + .2rem, 1.75rem); line-height: 1.2; margin-bottom: var(--s-3); }
  .hero .eyebrow { margin-bottom: var(--s-2); font-size: .72rem; letter-spacing: .1em; }
  .hero .lead { font-size: 1rem; line-height: 1.55; margin-bottom: var(--s-2); }
  .hero .btn-row { margin-top: var(--s-4); }
  .trustbar { margin-top: var(--s-4); gap: 6px 16px; font-size: .8125rem; }
  .hero :has(> .hero-transform) { display: flex; flex-direction: column; }
  .hero :has(> .hero-transform) > .btn-row { order: 3; margin-top: var(--s-4) !important; }
  .hero :has(> .hero-transform) > .hero-transform { order: 4; margin-top: var(--s-5); font-size: 1rem; padding-left: var(--s-4); }
  .hero :has(> .hero-transform) > .trustbar { order: 5; }
  .hero :has(> .hero-transform) > .xsmall { margin-bottom: 0; }
  .sec-head { margin-bottom: var(--s-6); }
  .card { padding: 22px 20px; }
  .callout { padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5); }
  .acc summary { font-size: .98rem; padding: 14px 52px 14px 16px; }
  .acc-body { padding: 0 16px 16px; }
  .cta-band { border-radius: var(--radius); }
  .wrap .cta-band { margin-inline: calc(var(--gutter) * -0.4); }
}

/* ============================================================
   22. AJUSTES TRAS REVISIÓN VISUAL
   ============================================================ */
.site-footer li a, .f-bottom a { text-decoration: none !important; }
.sec-head.left .lead { margin-inline: 0; }
.hero .hr, .dark .hr { border-top-color: rgba(255,255,255,.14); }
.doc-bar { flex-wrap: nowrap; }
@media (min-width: 1000px) {
  .hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero .hero-grid h1, .eval-hero h1 { font-size: clamp(2rem, 1rem + 2vw, 2.85rem); max-width: none; }
}
.ladder .num-big { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); white-space: nowrap; }
.px-num { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem) !important; }

/* /gracias/: caja reservada, oculta (antes style="text-align:left;display:none" inline, fuera por la CSP) */
#tierbox { text-align: left; display: none; }
