/* Martín Lomas Asesores — Ruta Negocio
   Sistema visual basado en el kit de marca oficial. */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-600-700.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/assets/fonts/be-vietnam-pro-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/assets/fonts/be-vietnam-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/assets/fonts/be-vietnam-pro-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #0E2B52;
  --blue: #006D9E;
  --blue-dark: #005A83;
  --slate: #526273;
  --border: #D7E0E8;
  --surface: #F4F7FA;
  --white: #FFFFFF;
  --ink: #0E2B52;
  --error: #B42318;
  --success: #1E6B45;
  --pending-bg: #FFF4D1;
  --pending-ink: #6B4E00;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;

  --radius-s: 6px;
  --radius-m: 10px;
  --shadow-soft: 0 1px 2px rgba(14, 43, 82, .06), 0 8px 24px rgba(14, 43, 82, .06);

  --container: 1160px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 64px;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --section-y: 104px; --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--slate); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 3vw, 3.3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: #8CCBEA; }
button { font: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.lead { font-size: 1.0625rem; max-width: 62ch; }
@media (min-width: 900px) { .lead { font-size: 1.125rem; } }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { margin-top: 14px; }
@media (min-width: 900px) { .section-head { margin-bottom: 48px; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Placeholder visible para revisión (contenido real pendiente) */
.pending { display: inline-block; background: var(--pending-bg); color: var(--pending-ink); border: 1px dashed #C9A227; border-radius: 4px; padding: 1px 8px; font-size: .875rem; font-weight: 500; line-height: 1.5; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-s); border: 2px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; text-align: center; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--surface); color: var(--navy); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: var(--white); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); }
.text-link:hover { color: var(--white); text-decoration-color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 12px rgba(14,43,82,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-height: 44px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em; line-height: 1.1; color: var(--navy); }
.brand-name span { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .14em; color: var(--slate); margin-top: 2px; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-desktop a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 0; }
.nav-desktop a:hover { color: var(--blue); }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-s); color: var(--navy); font-weight: 600; cursor: pointer; }
.menu-toggle-bars { display: inline-block; width: 18px; height: 12px; position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after, .menu-toggle-bars span { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-toggle-bars::before { top: 0; } .menu-toggle-bars span { top: 5px; } .menu-toggle-bars::after { top: 10px; }
.nav-mobile { border-top: 1px solid var(--border); background: var(--white); }
.nav-mobile ul { list-style: none; margin: 0 auto; padding-top: 8px; padding-bottom: 16px; }
.nav-mobile a:not(.btn) { display: flex; align-items: center; min-height: 48px; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--surface); }
.nav-mobile li:last-child { margin-top: 12px; }
@media (min-width: 900px) {
  .nav-desktop, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: rgba(255,255,255,.86); padding-block: 48px 56px; }
.hero h1 { color: var(--white); margin-top: 14px; max-width: 18ch; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { font-size: .9375rem; font-weight: 500; color: #9FD3EC; }
.hero .lead { margin-top: 20px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 28px; }
.hero-actions .text-link { justify-content: center; }
.trust-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--white); }
.trust-list li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--blue); outline: 2px solid rgba(255,255,255,.35); outline-offset: 2px; }
.hero-visual { display: none; }
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
  .hero-actions .text-link { justify-content: flex-start; }
  .trust-list { grid-auto-flow: column; justify-content: start; gap: 28px; }
}
@media (min-width: 900px) {
  .hero { padding-block: 88px 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 64px; }
  .hero-visual { display: block; }
}
/* Composición del hero: marco geométrico de la identidad + espacio para foto real */
.hero-frame { position: relative; aspect-ratio: 4 / 5; max-width: 420px; margin-left: auto; }
.hero-frame-box { position: absolute; inset: 0 0 0 28px; border: 2px solid rgba(215,224,232,.35); display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.07)); }
.hero-frame-bar { position: absolute; left: 0; top: 18%; bottom: 18%; width: 14px; background: var(--blue); clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }
.hero-frame-inner { position: absolute; inset: 44px 22px 96px 66px; border: 1px solid rgba(215,224,232,.18); }
.hero-frame-caption { position: relative; font-size: .875rem; color: rgba(255,255,255,.7); }

/* ---------- Selector de necesidad ---------- */
.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.need-tile { position: relative; display: flex; align-items: flex-end; min-height: 88px; padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-m); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.25; text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; overflow: hidden; }
@media (min-width: 900px) { .need-tile { min-height: 120px; padding: 20px; font-size: 1.0625rem; } }
.need-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); transition: width .15s ease; }
.need-tile:hover { border-color: var(--blue); }
.need-tile[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); padding-left: 24px; }
.need-tile[aria-pressed="true"]::before { width: 6px; }
.need-tile .tile-state { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); }
.need-tile[aria-pressed="true"] .tile-state { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--white); }
.need-panel { margin-top: 20px; background: var(--white); border: 1px solid var(--border); border-left: 6px solid var(--blue); border-radius: var(--radius-m); padding: 24px 20px; box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .need-panel { padding: 32px 36px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; } }
.need-panel[hidden] { display: none; }
.need-panel h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.need-panel .panel-alts { margin-top: 18px; }
.need-panel .panel-label { font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.chip-note { font-size: .9rem; margin-top: 8px; }
.need-panel .btn { margin-top: 20px; width: 100%; }
@media (min-width: 900px) { .need-panel .btn { margin-top: 0; width: auto; } .need-panel .panel-alts { margin-top: 0; border-left: 1px solid var(--border); padding-left: 32px; } }
.need-disclaimer { margin-top: 16px; font-size: .9rem; }

/* ---------- No somos un banco ---------- */
.bank-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .bank-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.bank-grid .lead { margin-top: 18px; }
.pillars { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .pillars { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.pillars li { padding: 20px 0; border-top: 1px solid var(--border); }
.pillars h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.no-cost-strip { margin-top: 48px; background: var(--surface); border-left: 6px solid var(--blue); padding: 24px 22px; }
.no-cost-strip p { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.25; }

/* ---------- Asesoría sin costo: bloque editorial ---------- */
.advisory-feature { display: grid; background: var(--navy); border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 18px 50px rgba(14,43,82,.12); }
.advisory-media { position: relative; margin: 0; min-height: 310px; overflow: hidden; background: #0A213F; }
.advisory-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.advisory-copy { position: relative; padding: 32px 24px 36px; color: rgba(255,255,255,.82); }
.advisory-copy::before { content: ""; position: absolute; left: 24px; top: 0; width: 72px; height: 6px; background: #73BCE0; }
.advisory-copy h2 { color: var(--white); margin-top: 12px; max-width: 19ch; }
.advisory-copy .lead { margin-top: 20px; color: rgba(255,255,255,.82); }
.advisory-kicker { color: #9FD3EC; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.advisory-free { margin-top: 28px; padding-block: 20px; border-block: 1px solid rgba(255,255,255,.18); color: var(--white); font-family: var(--font-head); font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2rem); font-weight: 700; line-height: 1.2; }
.advisory-benefits { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
.advisory-benefits li { position: relative; padding-left: 28px; color: var(--white); font-weight: 500; }
.advisory-benefits li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 10px; height: 6px; border-left: 2px solid #8CCBEA; border-bottom: 2px solid #8CCBEA; transform: rotate(-45deg); }
.advisory-note { margin-top: 22px; color: rgba(255,255,255,.66); font-size: .875rem; }
@media (min-width: 900px) {
  .advisory-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 660px; }
  .advisory-media { min-height: 100%; }
  .advisory-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px; }
  .advisory-copy::before { left: 56px; }
}

/* ---------- Crédito Simple ---------- */
.feature { background: var(--white); border: 1px solid var(--border); border-top: 6px solid var(--blue); border-radius: var(--radius-m); padding: 28px 20px; box-shadow: var(--shadow-soft); }
@media (min-width: 900px) { .feature { padding: 56px; } }
.feature-tag { display: inline-block; font-size: .875rem; font-weight: 600; color: var(--blue); background: #E6F2F8; border-radius: 4px; padding: 4px 10px; }
.feature h2 { margin-top: 16px; max-width: 28ch; }
.feature-grid { display: grid; gap: 32px; margin-top: 28px; }
@media (min-width: 900px) { .feature-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; margin-top: 36px; } }
.feature-grid p + p { margin-top: 14px; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: var(--navy); font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.compare { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 600px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare div { background: var(--surface); border-radius: var(--radius-s); padding: 16px 18px; font-size: .9375rem; }
.compare strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.feature-cta { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 600px) { .feature-cta { grid-template-columns: auto 1fr; align-items: center; gap: 24px; } }
.small-note { font-size: .875rem; }

/* ---------- Otras alternativas ---------- */
.alt-groups { display: grid; gap: 40px; }
@media (min-width: 900px) { .alt-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.alt-group > h3 { font-size: .95rem; color: var(--slate); font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.alt-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.alt-item h4 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.alt-item p { font-size: .9375rem; }
.alt-close { margin-top: 44px; display: grid; gap: 16px; align-items: center; }
.alt-close p { font-family: var(--font-head); color: var(--navy); font-weight: 600; font-size: 1.15rem; }
@media (min-width: 600px) { .alt-close { grid-template-columns: 1fr auto; } }

/* ---------- Preparación del expediente ---------- */
.prep-section .section-head { max-width: 760px; }
.prep-grid { gap: 18px; counter-reset: prep; }
.prep-card { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--navy); padding: 64px 22px 10px; }
.prep-card::before { content: attr(data-step); position: absolute; right: 18px; top: 8px; color: #DCEAF2; font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.06em; }
.prep-card > h3 { position: relative; color: var(--navy); font-size: 1.1rem; padding-bottom: 16px; border-bottom-color: var(--blue); }
.prep-card .alt-item:last-child { border-bottom: 0; }
.prep-close { margin-top: 24px; background: #E7F4FA; border-left: 5px solid var(--blue); padding: 22px; }
@media (min-width: 900px) {
  .prep-grid { gap: 22px; }
  .prep-card { padding: 72px 28px 12px; }
  .prep-card::before { right: 24px; top: 10px; font-size: 3.4rem; }
  .prep-close { margin-top: 28px; padding: 24px 28px; }
}

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 32px 64px; }
.step:last-child { padding-bottom: 0; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--navy); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.step::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3 { padding-top: 9px; margin-bottom: 6px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { padding: 64px 0 0; }
  .step::after { left: 52px; right: -28px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step h3 { padding-top: 0; }
}

.process-section .section-head { margin-bottom: 32px; }
.steps--editorial .step::before { border-radius: var(--radius-s); background: var(--navy); border-color: var(--navy); color: var(--white); }
.steps--editorial .step::after { background: #B8D9E8; }
.steps--editorial .step h3 { color: var(--navy); }
@media (min-width: 900px) {
  .steps--editorial { gap: 0; border-top: 1px solid var(--border); }
  .steps--editorial .step { padding: 72px 30px 0 0; }
  .steps--editorial .step::before { top: -23px; }
  .steps--editorial .step::after { left: 52px; right: 8px; top: -1px; }
  .steps--editorial .step:last-child { padding-right: 0; }
}

/* ---------- Martín y Jorge ---------- */
.people { display: grid; gap: 20px; }
@media (min-width: 700px) { .people { grid-template-columns: 1fr 1fr; gap: 32px; } }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-m); }
@media (min-width: 900px) { .person { grid-template-columns: 148px minmax(0, 1fr); gap: 28px; padding: 28px; } }
.person-photo { aspect-ratio: 4 / 5; background: var(--surface); border: 1px dashed #A9B6C3; border-radius: var(--radius-s); display: grid; place-items: center; text-align: center; padding: 8px; font-size: .75rem; line-height: 1.3; color: var(--slate); }
.person h3 { font-size: 1.25rem; }
.person .role { margin-top: 6px; }
.person .bio { margin-top: 10px; }

/* ---------- Formulario ---------- */
.form-section { background: var(--navy); padding-block: var(--section-y); }
.form-section .section-head { margin-inline: auto; text-align: center; }
.form-section h2 { color: var(--white); }
.form-section .section-head p { color: rgba(255,255,255,.86); }
.form-card { max-width: 660px; margin-inline: auto; background: var(--white); border-radius: var(--radius-m); padding: 24px 20px 28px; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
@media (min-width: 600px) { .form-card { padding: 36px 40px 40px; } }
.demo-notice { margin-bottom: 20px; }
.demo-notice .pending { display: block; padding: 10px 12px; }
.progress-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .875rem; font-weight: 600; color: var(--navy); }
.progress { height: 6px; background: var(--surface); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 33.33%; background: var(--blue); border-radius: inherit; transition: width .25s ease; }
.form-step { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.step-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.3rem; line-height: 1.25; padding: 0; margin-bottom: 16px; }
.step-title:focus { outline: none; }
.options { display: grid; gap: 10px; }
.options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { display: flex; align-items: center; min-height: 52px; padding: 12px 14px 12px 44px; border: 1px solid var(--border); border-radius: var(--radius-s); color: var(--navy); font-weight: 500; font-size: .9375rem; line-height: 1.25; cursor: pointer; position: relative; background: var(--white); }
.option label::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #8C9AA8; background: var(--white); }
.option input:checked + label { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: #F2F8FB; }
.option input:checked + label::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px var(--white); }
.option input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.option label:hover { border-color: var(--blue); }
.field { margin-top: 20px; }
.field:first-child { margin-top: 0; }
.field > label, .field-label, .form-step .field-label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: .9375rem; }
.input, .select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--navy); background: var(--white); border: 1px solid #A9B6C3; border-radius: var(--radius-s); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.field-error { display: flex; gap: 6px; margin-top: 8px; color: var(--error); font-size: .875rem; font-weight: 500; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .75rem; font-weight: 700; }
.field-error[hidden] { display: none; }
.field-hint { font-size: .8125rem; margin-top: 6px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.checkbox label { color: var(--navy); font-size: .9375rem; }
.form-nav { display: flex; gap: 12px; margin-top: 28px; }
.form-nav .btn--primary { flex: 1; }
.form-nav .btn--secondary { flex: none; }
.form-micro { margin-top: 14px; font-size: .875rem; text-align: center; }
.form-alert { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-s); background: #FDECEA; color: var(--error); font-weight: 500; font-size: .9375rem; }
.form-alert[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { margin: 0; font-size: inherit; }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 56px; background: none; border: 0; text-align: left; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; }
.faq-btn:hover { color: var(--blue); }
.faq-icon { flex: none; position: relative; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 0 22px; max-width: 68ch; }
.faq-a[hidden] { display: none; }

/* ---------- CTA final ---------- */
.final-cta { background: var(--blue); color: var(--white); padding-block: 64px; }
@media (min-width: 900px) { .final-cta { padding-block: 88px; } }
.final-cta h2 { color: var(--white); }
.final-cta p { margin-top: 14px; color: rgba(255,255,255,.92); max-width: 56ch; }
.final-cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .final-cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding-block: 56px 32px; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name span { color: rgba(255,255,255,.7); }
.footer-grid h2 { color: var(--white); font-size: .95rem; font-weight: 600; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.7); max-width: 90ch; }
.footer-legal p + p { margin-top: 10px; }

/* ---------- Barra fija móvil ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(14,43,82,.08); transform: translateY(110%); transition: transform .2s ease; }
.mobile-bar.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
body.has-mobile-bar { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-mobile-bar { padding-bottom: 0; } }

/* ---------- Página de gracias / aviso ---------- */
.thanks { padding-block: 56px 72px; }
@media (min-width: 900px) { .thanks { padding-block: 96px 120px; } }
.thanks-card { max-width: 720px; }
.thanks-card h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem); }
.thanks-card .lead { margin-top: 18px; }
.hours { margin-top: 28px; padding: 20px 22px; background: var(--surface); border-radius: var(--radius-m); }
.hours h2 { font-size: 1rem; margin-bottom: 8px; }
.hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--navy); }
.notes { margin-top: 24px; display: grid; gap: 12px; }
.notes p { padding-left: 16px; border-left: 3px solid var(--blue); color: var(--navy); font-weight: 500; }
.thanks-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Logo e imágenes de marca */
.brand-mark { display: block; height: 36px; width: auto; }
@media (min-width: 900px) { .brand-mark { height: 44px; } }
.footer-logo { display: block; width: 180px; height: auto; }
.hero-frame-box { align-items: center; justify-content: center; }
.hero-mark { width: 72%; height: auto; opacity: .9; }
.person-photo--initial { background: var(--navy); border: 0; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 2.5rem; letter-spacing: 0; }
@media (min-width: 900px) { .person-photo--initial { font-size: 3.5rem; } }

/* ---------- WhatsApp ---------- */
.form-alt { margin-top: 20px; }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 999px; background: #1FAF54; color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; box-shadow: 0 6px 20px rgba(14, 43, 82, .25); transition: background-color .15s ease, transform .15s ease; }
.wa-float:hover { background: #17924A; color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa-float[hidden] { display: none; }
@media (max-width: 899px) {
  body.has-mobile-bar .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float svg { width: 26px; height: 26px; }
}
@media print { .wa-float { display: none; } }

/* ---------- Aviso de privacidad ---------- */
.legal { padding-block: 48px 72px; }
@media (min-width: 900px) { .legal { padding-block: 88px 120px; } }
.legal-doc { max-width: 68ch; }
.legal-doc h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem); }
.legal-updated { margin-top: 10px; color: var(--slate); font-size: .9375rem; }
.legal-doc .lead { margin-top: 20px; }
.legal-toc { margin-top: 32px; padding: 20px 24px; background: var(--surface); border-left: 3px solid var(--blue); border-radius: var(--radius-s); }
.legal-toc ol { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.legal-toc a { color: var(--navy); }
.legal-doc section { margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-doc h2 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.6rem); }
.legal-doc h3 { font-size: 1.0625rem; margin-top: 22px; }
.legal-doc p, .legal-doc ul, .legal-doc ol:not(.legal-toc ol) { margin-top: 14px; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc ul, .legal-doc section ol { padding-left: 1.25em; }
.legal-doc .thanks-actions { margin-top: 48px; }
@media print { .site-header, .site-footer, .legal-toc, .thanks-actions { display: none; } }

/* ---------- Hero con fotografía (Cerro de la Silla) ---------- */
/* Celular: franja corta con el cerro arriba que se funde con el azul; el texto va sobre azul sólido. */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(14,43,82,0) 0, rgba(14,43,82,.15) 30vw, rgba(14,43,82,.85) 47vw, var(--navy) 56vw),
    url("/assets/img/hero/hero-mobile.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% auto;
  background-position: 0 0, center -26vw;
  padding-top: calc(12px + 40vw);
  padding-bottom: 44px;
}
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 1px 12px rgba(14,43,82,.45); }
.hero-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(14,43,82,0) 0, rgba(14,43,82,.25) 14vw, rgba(14,43,82,.88) 26vw, var(--navy) 32vw),
      url("/assets/img/hero/hero-mobile.webp");
    background-position: 0 0, center -34vw;
    padding-top: calc(20px + 22vw);
  }
}
/* Escritorio: el alto lo marca el texto; la foto llena el lado derecho y el izquierdo queda azul. */
@media (min-width: 900px) {
  .hero {
    background-image:
      linear-gradient(90deg, var(--navy) 0, var(--navy) 36%, rgba(14,43,82,.8) 52%, rgba(14,43,82,.15) 74%, rgba(14,43,82,0) 100%),
      url("/assets/img/hero/hero-1920.webp");
    background-size: 100% 100%, cover;
    background-position: 0 0, right 42%;
    padding-block: 72px 80px;
  }
  .hero-grid { grid-template-columns: minmax(0, 620px); gap: 0; }
}
@media (min-width: 1600px) {
  .hero {
    background-image:
      linear-gradient(90deg, var(--navy) 0, var(--navy) 38%, rgba(14,43,82,.8) 52%, rgba(14,43,82,.15) 72%, rgba(14,43,82,0) 100%),
      url("/assets/img/hero/hero-2560.webp");
  }
}

/* ---------- Hero Ruta Negocio v3: Monterrey editorial, nítido y sin adornos arbitrarios ---------- */
.hero.hero--business {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  padding: 0;
  background: #091F3B;
  color: rgba(255,255,255,.88);
}
.business-hero-media {
  position: relative;
  z-index: 0;
  display: block;
  height: clamp(230px, 58vw, 380px);
  overflow: hidden;
  background: #0A213F;
}
.business-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9,31,59,.02) 52%, rgba(9,31,59,.5) 100%);
}
.business-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.business-hero-shade { display: none; }
.hero--business .hero-grid {
  position: relative;
  z-index: 2;
  display: block;
  padding-top: 40px;
  padding-bottom: 46px;
}
.business-hero-copy { max-width: 650px; }
.business-hero-copy::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-bottom: 22px;
  background: #73BCE0;
}
.hero--business .eyebrow {
  color: #A7D9EF;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.hero--business h1 {
  max-width: 16ch;
  margin-top: 12px;
  font-size: clamp(2.35rem, 1.72rem + 3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-shadow: none;
}
.hero--business .lead {
  max-width: 56ch;
  margin-top: 20px;
  color: rgba(255,255,255,.82);
  text-shadow: none;
}
.hero--business .hero-actions { margin-top: 30px; }
.hero--business .btn--primary {
  background: #0783B8;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.hero--business .btn--primary:hover { background: #0694CC; }
.hero--business .btn--ghost-light { border-color: rgba(255,255,255,.52); }
.hero--business .trust-list {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  gap: 13px;
}
.hero--business .trust-list li {
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}
.hero--business .trust-list li svg { color: #88CBEA; }

@media (max-width: 599px) {
  .hero--business .hero-actions { padding-right: 80px; }
  .hero--business .hero-actions .btn { width: 100%; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .business-hero-media { height: clamp(320px, 52vw, 440px); }
  .hero--business .hero-actions { gap: 14px; }
}

@media (min-width: 900px) {
  .hero.hero--business {
    display: block;
    min-height: 650px;
    background: #091F3B;
  }
  .business-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
  }
  .business-hero-media::after {
    background: linear-gradient(90deg, rgba(9,31,59,.18) 0%, rgba(9,31,59,0) 72%);
  }
  .business-hero-media img { object-position: center 52%; }
  .business-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: linear-gradient(112deg, #091F3B 0%, #0E2B52 72%, rgba(14,43,82,.9) 100%);
    clip-path: polygon(0 0, 56% 0, 68% 100%, 0 100%);
  }
  .hero--business .hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 610px);
    align-items: center;
    padding-top: 78px;
    padding-bottom: 82px;
  }
  .business-hero-copy { padding-right: 20px; }
  .business-hero-copy::before { width: 92px; margin-bottom: 26px; }
  .hero--business .eyebrow { font-size: .95rem; }
  .hero--business .lead { max-width: 50ch; }
  .hero--business .trust-list {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 0;
  }
  .hero--business .trust-list li + li {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,.2);
  }
}

@media (min-width: 1280px) {
  .business-hero-shade { clip-path: polygon(0 0, 54% 0, 65% 100%, 0 100%); }
  .hero--business .hero-grid { grid-template-columns: minmax(0, 640px); }
}

/* ---------- Íconos ---------- */
.need-tile { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #E6EEF5; color: var(--blue); transition: background .15s ease, color .15s ease; }
.tile-icon svg { width: 26px; height: 26px; }
.need-tile:hover .tile-icon, .need-tile[aria-pressed="true"] .tile-icon { background: var(--blue); color: var(--white); }
@media (max-width: 599px) { .tile-icon { width: 38px; height: 38px; border-radius: 10px; } .tile-icon svg { width: 22px; height: 22px; } .need-tile { gap: 10px; } }
.trust-list li::before { content: none; }
.trust-list li svg { flex: none; width: 20px; height: 20px; color: #7FC3E6; }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #E6EEF5; color: var(--blue); margin-bottom: 12px; }
.pillar-icon svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .trust-list { grid-auto-columns: max-content; } .trust-list li { white-space: nowrap; } }

/* =====================================================================
   Sitio completo: inicio, Ruta Casa, Nosotros, Reels, 404
   ===================================================================== */

/* ---------- Navegación entre páginas ---------- */
.nav-desktop a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-mobile a[aria-current="page"] { color: var(--blue); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}

/* ---------- Hero de inicio: dos rutas ---------- */
.hero--home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero--home h1 { max-width: 20ch; }
.hero--home .lead { margin-top: 18px; }
.routes { display: grid; gap: 16px; margin-top: 32px; max-width: 820px; }
@media (min-width: 760px) { .routes { grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 44px; } }
.route { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: var(--radius-m); background: var(--white); color: var(--slate); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(6, 22, 44, .28); }
.route h2 { font-size: 1.35rem; }
.route p { font-size: .9375rem; }
.route .btn { margin-top: auto; align-self: flex-start; }
.route--negocio { border-top: 6px solid var(--blue); }
.route--casa { background: rgba(14, 43, 82, .72); border: 1px solid rgba(215, 224, 232, .4); color: rgba(255, 255, 255, .86); box-shadow: none; }
.route--casa h2 { color: var(--white); }
.route-tag { font-size: .8125rem; font-weight: 600; color: var(--blue); }
.route--casa .route-tag { color: #9FD3EC; }
.route-list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.route-list li { font-size: .8125rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--navy); }
.route--casa .route-list li { background: rgba(255, 255, 255, .08); border-color: rgba(215, 224, 232, .3); color: var(--white); }
@keyframes mla-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero--home .hero-grid > div > * { animation: mla-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero--home .eyebrow { animation-delay: .02s; }
.hero--home h1 { animation-delay: .08s; }
.hero--home .lead { animation-delay: .16s; }
.hero--home .route--negocio { animation-delay: .3s; }
.hero--home .route--casa { animation-delay: .42s; }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; background: var(--navy); color: rgba(255, 255, 255, .86); padding-block: 56px 60px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -6%; top: 50%; width: min(52vw, 520px); aspect-ratio: 760 / 371; transform: translateY(-50%); background: url("/assets/img/isotipo-blanco.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-top: 14px; max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero .trust-list { margin-top: 28px; }
.crumbs { font-size: .875rem; color: #9FD3EC; margin: 0; }
.crumbs a { color: #9FD3EC; }
@media (min-width: 900px) { .page-hero { padding-block: 88px 92px; } }

/* ---------- Selector de crédito hipotecario ---------- */
.need-grid--casa { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .need-grid--casa { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need-grid--casa .need-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .need-grid--casa .need-tile:last-child:nth-child(odd) { grid-column: auto; } }

/* ---------- Mitos y realidades ---------- */
.myths { display: grid; gap: 16px; }
@media (min-width: 900px) { .myths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.myth { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 22px 20px; display: grid; gap: 14px; align-content: start; }
.myth-claim, .myth-fact { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.myth-claim p { color: var(--navy); font-weight: 600; font-family: var(--font-head); line-height: 1.35; }
.myth-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.myth-mark svg { width: 16px; height: 16px; }
.myth-mark--no { background: #FBE9E7; color: var(--error); }
.myth-mark--yes { background: #E3F1EA; color: var(--success); }
.myth-fact { padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- Principios y límites ---------- */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.limits { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.limits li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--border); color: var(--navy); font-weight: 500; }
.limits li:last-child { border-bottom: 1px solid var(--border); }
.limits li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 2px; background: var(--blue); }
.coverage-note { margin-top: 14px; font-size: .9375rem; }
.about-hours { margin-top: 20px; display: grid; gap: 4px; color: var(--navy); font-weight: 500; }

/* ---------- Reels de Instagram ---------- */
.reels { position: relative; }
.reels-viewport[hidden] { display: none; }
.reels-track { list-style: none; margin: 0; padding: 4px 2px 18px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border) transparent; -webkit-overflow-scrolling: touch; }
.reel { flex: 0 0 min(64vw, 232px); scroll-snap-align: start; }
@media (min-width: 900px) { .reel { flex-basis: 232px; } }
.reel-link { display: block; text-decoration: none; color: inherit; }
.reel-thumb { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-m); overflow: hidden; background: var(--navy); border: 1px solid var(--border); }
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reel-link:hover .reel-thumb img, .reel-link:focus-visible .reel-thumb img { transform: scale(1.04); }
.reel-play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(14, 43, 82, .86); color: var(--white); display: grid; place-items: center; }
.reel-play svg { width: 16px; height: 16px; margin-left: 2px; }
.reel-meta { margin-top: 10px; display: grid; gap: 2px; }
.reel-title { font-size: .9375rem; color: var(--navy); font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel-date { font-size: .8125rem; color: var(--slate); }
.reels-nav { display: none; gap: 10px; margin-top: 4px; }
.reels-nav.is-on { display: flex; }
.reels-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.reels-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.reels-btn:disabled { opacity: .4; cursor: default; }
.reels-btn svg { width: 20px; height: 20px; }
.reels-fallback { display: grid; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--border); border-left: 6px solid var(--blue); border-radius: var(--radius-m); padding: 26px 22px; box-shadow: var(--shadow-soft); }
@media (min-width: 760px) { .reels-fallback { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 32px; } }
.reels-fallback h3 { font-size: 1.25rem; }
.reels-fallback p { margin-top: 6px; max-width: 56ch; }
.reels-more { margin-top: 18px; }

/* ---------- 404 ---------- */
.notfound-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* Enlace en texto sobre fondo claro (text-link está pensado para fondos oscuros) */
.link-inline { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.link-inline:hover { color: var(--blue-dark); }

/* =====================================================================
   Prueba balanceada v4: más blanco y fotografía, menos masa azul
   ===================================================================== */
.hero.hero--business {
  display: grid;
  min-height: 0;
  padding: 0;
  background: var(--white);
  color: var(--slate);
}
.hero--business .business-hero-media {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: clamp(230px, 58vw, 380px);
  clip-path: none;
  background: #EAF1F5;
}
.hero--business .business-hero-media::after {
  background: linear-gradient(180deg, rgba(14,43,82,0) 62%, rgba(14,43,82,.16) 100%);
}
.hero--business .business-hero-shade { display: none; }
.hero--business .hero-grid {
  display: block;
  min-height: 0;
  padding-top: 42px;
  padding-bottom: 48px;
}
.hero--business .business-hero-copy { max-width: 650px; }
.hero--business .business-hero-copy::before { content: none; }
.hero--business .eyebrow {
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
}
.hero--business h1 {
  max-width: 16ch;
  margin-top: 12px;
  color: var(--navy);
  text-shadow: none;
}
.hero--business .lead {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--slate);
  text-shadow: none;
}
.hero--business .btn--primary { box-shadow: none; }
.hero--business .btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: #9FB0C1;
}
.hero--business .btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.hero--business .trust-list {
  margin-top: 30px;
  padding-top: 22px;
  border-top-color: var(--border);
}
.hero--business .trust-list li {
  color: var(--navy);
  white-space: normal;
}
.hero--business .trust-list li svg { color: var(--blue); }

.advisory-feature {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(14,43,82,.08);
}
.advisory-media { background: #EAF1F5; }
.advisory-copy {
  background: #F7FAFC;
  color: var(--slate);
}
.advisory-copy::before { content: none; }
.advisory-copy h2 { color: var(--navy); }
.advisory-copy .lead { color: var(--slate); }
.advisory-kicker {
  color: var(--blue);
  font-size: .9rem;
  letter-spacing: 0;
  text-transform: none;
}
.advisory-free {
  margin-top: 26px;
  padding: 18px 20px;
  border: 0;
  border-radius: var(--radius-s);
  background: #E7F2F7;
  color: var(--navy);
  font-size: clamp(1.3rem, 1.08rem + 1vw, 1.75rem);
}
.advisory-benefits li { color: var(--navy); }
.advisory-benefits li::before { border-color: var(--blue); }
.advisory-note { color: var(--slate); }

@media (max-width: 599px) {
  .hero--business .hero-actions { padding-right: 80px; }
  .hero--business .hero-actions .btn { width: 100%; }
  .advisory-copy { padding-top: 34px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .hero--business .business-hero-media { height: clamp(320px, 52vw, 440px); }
}

@media (min-width: 900px) {
  .hero.hero--business {
    position: relative;
    display: block;
    min-height: 620px;
    background: var(--white);
  }
  .hero--business .business-hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 58%;
    height: 100%;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 18% 100%);
  }
  .hero--business .business-hero-media::after {
    background: linear-gradient(90deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 22%);
  }
  .hero--business .business-hero-media img { object-position: center 52%; }
  .hero--business .hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 520px);
    align-items: center;
    padding-top: 74px;
    padding-bottom: 78px;
  }
  .hero--business .business-hero-copy { padding-right: 10px; }
  .hero--business h1 { font-size: clamp(2.8rem, 2.1rem + 2vw, 3.75rem); }
  .hero--business .trust-list {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .hero--business .trust-list li {
    font-size: .82rem;
    line-height: 1.35;
  }
  .hero--business .trust-list li + li {
    margin-left: 14px;
    padding-left: 14px;
    border-left-color: var(--border);
  }
  .advisory-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    min-height: 620px;
  }
  .advisory-copy { padding: 58px 50px; }
}

@media (min-width: 1280px) {
  .hero--business .business-hero-media { width: 59%; }
  .hero--business .hero-grid { grid-template-columns: minmax(0, 540px); }
}

/* =====================================================================
   Prueba dinámica v5: ritmo editorial con escenas reales de negocio
   ===================================================================== */
.feature--visual {
  display: grid;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  box-shadow: 0 20px 54px rgba(14,43,82,.1);
}
.feature-visual-media {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: #EAF1F5;
}
.feature-visual-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(14,43,82,.16));
  pointer-events: none;
}
.feature-visual-media img,
.editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.feature--visual:hover .feature-visual-media img,
.editorial-photo:hover img { transform: scale(1.025); }
.feature-visual-copy { padding: 34px 24px 38px; }
.feature-visual-copy > p:not(.field-label):not(.small-note) { margin-top: 20px; }
.feature-uses-label { margin-top: 26px; }
.check-list--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }

.prep-intro {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}
.prep-intro .section-head { margin-bottom: 0; }
.editorial-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: #EAF1F5;
  box-shadow: 0 18px 42px rgba(14,43,82,.1);
}
.editorial-photo--documents img { object-position: center 48%; }

.process-layout { display: grid; gap: 34px; align-items: stretch; }
.process-copy { align-self: center; }
.editorial-photo--process { aspect-ratio: 4 / 3; }
.editorial-photo--process img { object-position: 42% center; }
.process-layout .section-head { margin-bottom: 36px; }

@media (max-width: 599px) {
  .feature-visual-copy { padding-right: 84px; }
  .feature-visual-copy .feature-cta .btn { width: 100%; }
  .check-list--inline { grid-template-columns: 1fr; }
}

@media (min-width: 700px) {
  .feature-visual-copy { padding: 46px 42px 48px; }
}

@media (min-width: 900px) {
  .feature--visual {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    min-height: 640px;
  }
  .feature-visual-media { grid-column: 2; grid-row: 1; min-height: 100%; }
  .feature-visual-media::after {
    background: linear-gradient(90deg, rgba(14,43,82,.08), transparent 28%);
  }
  .feature-visual-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 56px 52px 58px;
  }
  .feature-visual-copy h2 { max-width: 18ch; }
  .feature-cta { grid-template-columns: 1fr; }
  .feature-cta .btn { justify-self: start; }

  .prep-intro {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 68px;
    margin-bottom: 54px;
  }
  .prep-intro .section-head { max-width: 600px; }
  .editorial-photo--documents { min-height: 430px; }

  .process-layout {
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
    gap: 68px;
  }
  .editorial-photo--process {
    min-height: 680px;
    aspect-ratio: auto;
  }
  .process-layout .steps--editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 34px;
    border-top: 0;
  }
  .process-layout .steps--editorial .step {
    padding: 60px 0 0;
    min-height: 190px;
  }
  .process-layout .steps--editorial .step::before { top: 0; }
  .process-layout .steps--editorial .step::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-visual-media img,
  .editorial-photo img { transition: none; }
}

/* =====================================================================
   Optimización móvil v7: menos peso, una sola acción principal y formulario
   más legible sin alterar la identidad de marca.
   ===================================================================== */
.hero--business .btn--primary { background: var(--blue-dark); }
.hero--business .btn--primary:hover { background: var(--navy); }

@media (max-width: 899px) {
  .wa-float { display: none; }
}

@media (max-width: 599px) {
  :root {
    --gutter: 18px;
    --section-y: 52px;
    --header-h: 60px;
  }

  .hero--business .business-hero-media {
    height: clamp(190px, 52vw, 230px);
  }
  .hero--business .hero-grid {
    padding-top: 30px;
    padding-bottom: 36px;
  }
  .hero--business .eyebrow {
    font-size: .8rem;
    line-height: 1.35;
  }
  .hero--business h1 {
    max-width: 14ch;
    margin-top: 9px;
    font-size: clamp(2rem, 9.8vw, 2.55rem);
    line-height: 1.06;
  }
  .hero--business .lead {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.52;
  }
  .hero--business .hero-actions {
    margin-top: 22px;
    padding-right: 0;
  }
  .hero--business .hero-actions .btn { min-height: 52px; }
  .hero--business .hero-actions .btn--secondary { display: none; }
  .hero--business .trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .hero--business .trust-list li {
    align-items: flex-start;
    gap: 6px;
    font-size: .76rem;
    line-height: 1.3;
  }
  .hero--business .trust-list li svg {
    width: 17px;
    height: 17px;
  }

  .form-section .section-head {
    margin-bottom: 24px;
    text-align: left;
  }
  .form-section .section-head .lead { font-size: 1rem; }
  .form-alt { margin-top: 18px; }
  .form-alt .btn { width: 100%; min-height: 52px; }
  .form-card {
    padding: 22px 16px 26px;
    border-radius: 8px;
  }
  .step-title {
    margin-bottom: 14px;
    font-size: 1.2rem;
  }
  .option label {
    min-height: 56px;
    padding: 10px 10px 10px 39px;
    font-size: .9rem;
  }
  .option label::before { left: 11px; }
  .form-nav { margin-top: 24px; }
  .form-nav .btn { min-height: 52px; padding-inline: 16px; }
}

@media (max-width: 359px) {
  .options--2 { grid-template-columns: 1fr; }
}

/* <picture> no debe romper el alto de la imagen dentro de la figura */
.advisory-media picture, .feature-visual-media picture { display: contents; }
