/* Whitehub · sitio público · tokens del Manual de marca 2.0 */
@font-face {
  font-family: 'InterVariable';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: 'InterVariable';
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --negro: #111111;
  --perla: #F6F5F1;
  --esmeralda: #006B57;
  --esmeralda-hover: #005646;
  --azul: #2455D6;
  --plata: #E3E9EF;
  --grafito: #4A4E55;
  --borde: #747982;
  --blanco: #FFFFFF;
  --linea: #D9DCD6;

  --font: 'InterVariable', Inter, Arial, Helvetica, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; overflow-x: hidden; font-family: var(--font); font-size: 18px; line-height: 28px; color: var(--negro);
  background: var(--perla); font-feature-settings: 'cv11', 'ss01'; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--negro); outline-offset: 3px; border-radius: 2px; }
.site-footer :focus-visible, .band :focus-visible { outline-color: var(--perla); }
.icon { flex: none; width: 1.25em; height: 1.25em; vertical-align: -0.2em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--negro); color: var(--perla); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--grafito); font-size: 16px; margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-weight: 600; margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 56px; line-height: 62px; letter-spacing: -0.035em; }
h2 { font-size: 36px; line-height: 43px; letter-spacing: -0.028em; }
h3 { font-size: 24px; line-height: 31px; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; line-height: 31px; color: var(--grafito); max-width: 38em; }
.kicker { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--grafito); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  font: 600 16px/22px var(--font); border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--esmeralda); color: var(--perla); }
.btn-primary:hover { background: var(--esmeralda-hover); }
.btn-dark { background: var(--negro); color: var(--perla); }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { background: transparent; color: var(--negro); border-color: var(--negro); }
.btn-ghost:hover { background: var(--negro); color: var(--perla); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Barra de borrador ---------- */
.draft-bar { background: var(--plata); color: var(--negro); font-size: 14px; line-height: 20px; padding: 8px var(--gutter); display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--perla); border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; }
.brand { display: block; padding: 11px 0; }
.brand img { width: 200px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--negro); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { border-bottom-color: var(--negro); }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 2px solid var(--negro); border-radius: 999px; padding: 10px 16px; font: 600 15px var(--font); color: var(--negro); cursor: pointer; min-height: 44px; }

/* ---------- Migas ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 20px 0 0; font-size: 14px; line-height: 20px; color: var(--grafito); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--borde); }
.crumbs a { color: var(--grafito); }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--grafito); margin: 0; }
.on-white { background: var(--blanco); }
.band { background: var(--negro); color: var(--perla); }
.band a { color: var(--perla); }
.band .muted, .band .lead { color: var(--plata); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::after {
  /* Líneas de conexión en margen (lenguaje gráfico del manual), fuera del área de lectura */
  content: ''; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, transparent 58px, var(--plata) 59px, var(--plata) 61px, transparent 62px),
    radial-gradient(circle at 30% 75%, transparent 28px, var(--plata) 29px, var(--plata) 31px, transparent 32px);
  opacity: .9; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: start; position: relative; z-index: 1; }
.hero-grid > *, .split > *, .section-head > *, .cta-inner > *, .tool > * { min-width: 0; }
.hero h1 { margin-bottom: 24px; max-width: 11em; }
.hero .lead { margin-bottom: 28px; }
.assurances { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; font-size: 16px; line-height: 24px; color: var(--grafito); }
.assurances li { display: flex; gap: 10px; align-items: flex-start; }
.assurances .icon { color: var(--esmeralda); margin-top: 1px; }

/* ---------- Agenda (widget) ---------- */
.booking { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 1px 0 var(--linea), 0 24px 48px -32px rgba(17, 17, 17, .28); }
.booking-title { font-size: 24px; line-height: 31px; margin-bottom: 8px; }
.booking-sub { font-size: 15px; line-height: 23px; color: var(--grafito); margin-bottom: 24px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.opt { color: var(--grafito); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=time], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/22px var(--font); color: var(--negro);
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--r-sm); appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 104px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--negro); outline-offset: 1px; border-color: var(--negro); }
[aria-invalid=true] { border-color: #9B1C1C !important; }
.hint { font-size: 13px; line-height: 19px; color: var(--grafito); margin: 6px 0 0; }
.err { display: flex; gap: 6px; align-items: flex-start; color: #9B1C1C; font-size: 14px; line-height: 20px; margin: 8px 0 0; font-weight: 500; }
.err[hidden] { display: none; }
.form-err { padding: 12px; background: #FCEEEE; border-radius: var(--r-sm); margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--grafito); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--esmeralda); flex: none; }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.days, .times { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.times { flex-wrap: wrap; overflow: visible; }
.chip {
  flex: none; scroll-snap-align: start; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--borde); border-radius: var(--r-md);
  background: var(--blanco); color: var(--negro); font: 500 15px/20px var(--font); cursor: pointer; font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--negro); }
.chip[aria-checked=true] { background: var(--negro); border-color: var(--negro); color: var(--perla); }
.chip-top { font-size: 12px; line-height: 16px; font-weight: 500; color: inherit; opacity: .85; }
.chip-big { font-size: 20px; line-height: 26px; font-weight: 600; }
.days .chip { min-width: 60px; padding: 8px 10px; }

/* ---------- Banda de parámetros ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 28px; border-left: 1px solid #2E2E2E; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { display: block; font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact-label { display: block; margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--plata); max-width: 15em; }

/* ---------- Tarjetas de ruta ---------- */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route { display: flex; flex-direction: column; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); overflow: hidden; color: var(--negro); text-decoration: none; }
.route:hover { border-color: var(--negro); }
.route-art { background: var(--perla); border-bottom: 1px solid var(--linea); padding: 24px; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; }
.route-art svg { width: 100%; height: 100%; }
.route-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.route-body h3 { margin-bottom: 10px; }
.route-body p { font-size: 16px; line-height: 25px; color: var(--grafito); }
.route-tag { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--grafito); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.route-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--esmeralda); }
.route-tag .dot.azul { background: var(--azul); }
.route-link { margin-top: auto; font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Situaciones (filas grandes) ---------- */
.situations { border-top: 1px solid var(--negro); }
.situation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--linea); align-items: start; }
.situation h3 { font-size: 28px; line-height: 35px; margin: 0; }
.situation p { margin: 0; color: var(--grafito); }
.situation .q { color: var(--negro); font-weight: 500; margin-top: 10px; }

/* ---------- Pilares / diferenciales ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pillars { display: grid; gap: 16px; }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); }
.pillar-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--perla); color: var(--esmeralda); border: 1px solid var(--linea); }
.pillar h3 { font-size: 20px; line-height: 27px; margin: 2px 0 6px; }
.pillar p { font-size: 16px; line-height: 25px; color: var(--grafito); margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tag { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--plata); color: var(--negro); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: paso; position: relative; }
.steps::before { content: ''; position: absolute; left: 24px; right: calc(25% - 24px); top: 24px; height: 1px; background: var(--borde); }
.step { position: relative; padding-right: 24px; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--perla); border: 1px solid var(--negro); display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; position: relative; margin-bottom: 20px; }
.on-white .step-n { background: var(--blanco); }
.step h3 { font-size: 20px; line-height: 27px; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 25px; color: var(--grafito); margin: 0; }

/* ---------- Tablas de datos ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--linea); border-radius: var(--r-md); background: var(--blanco); }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: 14px 16px; font-size: 14px; color: var(--grafito); caption-side: bottom; border-top: 1px solid var(--linea); }
table.data th, table.data td { padding: 12px 16px; border-bottom: 1px solid var(--linea); text-align: right; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { font-weight: 600; background: var(--perla); }
table.data tr:last-child td { border-bottom: 0; }
.neg { font-weight: 600; }
.neg::before { content: '▼ '; font-size: .7em; }

/* ---------- Bloques de landing ---------- */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliverable { padding: 24px; border-radius: var(--r-lg); background: var(--blanco); border: 1px solid var(--linea); }
.deliverable .icon { color: var(--esmeralda); width: 28px; height: 28px; margin-bottom: 12px; }
.silo-b .deliverable .icon { color: var(--azul); }
.deliverable h3 { font-size: 19px; line-height: 26px; margin-bottom: 8px; }
.deliverable p { font-size: 16px; line-height: 25px; color: var(--grafito); margin: 0; }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.limit-box { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--linea); background: var(--blanco); }
.limit-box h3 { font-size: 20px; line-height: 27px; display: flex; gap: 10px; align-items: center; }
.limit-box ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; line-height: 24px; color: var(--grafito); }
.limit-box li { display: flex; gap: 10px; }
.limit-box li::before { content: '–'; color: var(--negro); }
.callout { display: flex; gap: 12px; padding: 20px 24px; border-radius: var(--r-md); background: var(--plata); font-size: 16px; line-height: 25px; margin: 24px 0; }
.callout .icon { color: var(--azul); margin-top: 2px; }
.answer { font-size: 20px; line-height: 31px; padding: 24px 28px; border-left: 4px solid var(--esmeralda); background: var(--blanco); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 0 0 32px; }
.landing-hero { padding: 48px 0 80px; }
.landing-hero .hero-grid { align-items: start; }
.sticky-col { position: sticky; top: 136px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related a { display: block; padding: 20px 24px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-md); color: var(--negro); text-decoration: none; }
.related a:hover { border-color: var(--negro); }
.related strong { display: block; font-size: 17px; line-height: 24px; margin-bottom: 4px; }
.related span { font-size: 15px; line-height: 22px; color: var(--grafito); }
.meta-line { font-size: 14px; line-height: 20px; color: var(--grafito); margin-bottom: 24px; }

/* ---------- Mini demo de dashboard ---------- */
.demo { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 24px; }
.demo-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.demo-kpi { padding: 14px; border-radius: var(--r-md); background: var(--perla); }
.demo-kpi b { display: block; font-size: 26px; line-height: 32px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.demo-kpi span { font-size: 13px; line-height: 18px; color: var(--grafito); }
.demo-note { font-size: 13px; line-height: 19px; color: var(--grafito); margin: 12px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: start; }
.faq details { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; line-height: 25px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 16px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--borde); display: grid; place-items: center; font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq .ans { padding: 0 24px 20px; font-size: 16px; line-height: 25px; color: var(--grafito); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Calculadora ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 32px; }
.be-result { padding: 24px; background: var(--perla); border-radius: var(--r-md); display: grid; gap: 6px; font-size: 16px; line-height: 24px; }
.be-result.warn { background: #FFF6E5; border: 1px solid #B7791F; }
.be-big { font-size: 40px; line-height: 46px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.be-steps { font-size: 15px; line-height: 23px; color: var(--grafito); margin-top: 16px; }
.input-money { position: relative; }
.input-money::before { content: '$'; position: absolute; left: 14px; top: 13px; color: var(--grafito); }
.input-money input { padding-left: 28px; }

/* ---------- CTA final ---------- */
.cta-band { padding: 80px 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--negro); color: var(--perla); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-brand p { color: var(--plata); font-size: 16px; line-height: 25px; max-width: 24em; }
.site-footer h2 { font-size: 15px; line-height: 22px; font-weight: 600; margin: 0 0 14px; letter-spacing: 0; color: var(--perla); }
.site-footer ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--plata); font-size: 15px; line-height: 22px; }
.footer-legal { border-top: 1px solid #2E2E2E; margin-top: 48px; padding-top: 24px; }
.footer-legal p { font-size: 13px; line-height: 19px; color: var(--plata); margin: 0; }

/* ---------- Estado / mensajes ---------- */
.status-card { max-width: 640px; margin: 0 auto; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 40px; }
.status-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--esmeralda); color: var(--perla); margin-bottom: 20px; }
.status-ic .icon { width: 28px; height: 28px; }
dl.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0; font-size: 16px; line-height: 24px; }
dl.summary dt { color: var(--grafito); }
dl.summary dd { margin: 0; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero h1 { max-width: 14em; }
  .routes, .deliverables { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-col { position: static; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--perla); border-bottom: 1px solid var(--linea); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 16px; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .main-nav ul a[aria-current] { border-bottom-color: var(--linea); font-weight: 700; }
  .header-inner { position: relative; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; line-height: 25px; }
  h1 { font-size: 36px; line-height: 42px; }
  h2 { font-size: 28px; line-height: 35px; }
  h3 { font-size: 21px; line-height: 28px; }
  .lead { font-size: 18px; line-height: 28px; }
  .section { padding: 64px 0; }
  .header-inner { min-height: 104px; }
  .section-head, .split, .situation, .limits, .cta-inner, .tool, .faq { grid-template-columns: 1fr; gap: 16px; }
  .split, .cta-inner, .tool { gap: 32px; }
  .routes, .deliverables, .steps, .grid-2, .demo-kpis { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 16px; border-left: 0; border-top: 1px solid #2E2E2E; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:first-child { padding-left: 16px; }
  .fact-num { font-size: 36px; line-height: 40px; }
  .booking, .tool, .status-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero::after { display: none; }
  .hero { padding: 40px 0 64px; }
}

/* ---------- Bloques del CMS ---------- */
.hero-solo { max-width: 48em; }
.hero-solo .answer { max-width: 46em; }
.routes { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.steps::before { right: calc(100% / var(--n, 4) - 24px); }
.pillars-grid { grid-template-columns: 1fr 1fr; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 40px; align-items: center; }
.on-white .feature { background: var(--perla); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.footer-grid > div { flex: 1 1 170px; }
.footer-grid > .footer-brand { flex: 1.6 1 260px; }
@media (max-width: 1199px) {
  .routes { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .routes, .steps, .pillars-grid, .feature { grid-template-columns: 1fr; }
  .feature { padding: 24px 20px; gap: 16px; }
}

/* =====================================================================
   Diseño 2 · estilo producto: fondo luminoso, héroe centrado, imágenes
   ===================================================================== */
:root {
  --grad: linear-gradient(95deg, #2455D6 0%, #1C6A9E 45%, #006B57 100%);
  --shadow-soft: 0 1px 0 rgba(17,17,17,.04), 0 24px 48px -28px rgba(24,48,110,.32);
  --shadow-card: 0 0 0 1px rgba(17,17,17,.06), 0 18px 40px -26px rgba(24,48,110,.30);
  --r-xl: 28px;
}
body { background: #FBFBF9; position: relative; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(36,85,214,.13), transparent 62%),
    radial-gradient(760px 520px at 96% 4%, rgba(0,107,87,.11), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(227,233,239,.9), transparent 60%);
}
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .hl { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; } }

/* Cabecera translúcida */
.site-header { background: rgba(251,251,249,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(17,17,17,.06); }
.draft-bar { background: #EEF2FA; }

/* Botones */
.btn { border-radius: 999px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(36,85,214,.65); border: 0; padding: 14px 26px; }
.btn-grad:hover { filter: brightness(1.06); box-shadow: 0 16px 30px -12px rgba(36,85,214,.7); }
.btn-ghost { background: #fff; border: 1.5px solid rgba(17,17,17,.14); }
.btn-ghost:hover { background: #fff; color: var(--negro); border-color: var(--negro); }
.btn-light { background: #fff; color: var(--negro); padding: 14px 26px; }
.btn-light:hover { background: var(--perla); }
.btn-primary { background: var(--grad); border: 0; box-shadow: 0 10px 22px -12px rgba(36,85,214,.6); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.06); }

/* Píldora superior */
.pill-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 10px; font-size: 14px; line-height: 20px; font-weight: 500;
  background: #fff; border: 1px solid rgba(17,17,17,.08); border-radius: 999px; box-shadow: 0 6px 18px -12px rgba(24,48,110,.35); color: var(--grafito); }
.pill-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: inset 0 0 0 5px rgba(255,255,255,.55); flex: none; }

/* Héroe centrado */
.hero { padding: 72px 0 88px; overflow: visible; }
.hero::after { display: none; }
.hero-center .hero-copy { text-align: center; max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-center h1 { font-size: 64px; line-height: 68px; font-weight: 700; letter-spacing: -.04em; max-width: 15em; margin-bottom: 22px; }
.hero-split h1 { font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -.035em; }
.hero-center .lead { margin: 0 auto 30px; max-width: 40em; font-size: 20px; line-height: 31px; }
.hero-center .answer { text-align: left; max-width: 46em; margin: 0 auto 30px; }
.hero-center .btn-row { justify-content: center; }
.hero-center .assurances { justify-items: center; }
.answer { background: rgba(255,255,255,.85); border: 1px solid rgba(17,17,17,.06); border-left: 4px solid var(--esmeralda); box-shadow: var(--shadow-soft); border-radius: 6px 18px 18px 6px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 44px 0 0; width: 100%; max-width: 820px; }
.hero-stats div { text-align: center; }
.hero-split .hero-stats { text-align: left; margin-top: 32px; }
.hero-split .hero-stats div { text-align: left; }
.hero-stats dt { font-size: 32px; line-height: 36px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--grafito); }
.hero-figure { margin: 56px auto 0; max-width: 1180px; position: relative; }
.hero-figure::before { content: ''; position: absolute; inset: 8% 6% 0; background: radial-gradient(closest-side, rgba(36,85,214,.16), transparent); filter: blur(30px); z-index: -1; }
.hero-figure img, .hero-side-figure img { width: 100%; height: auto; }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.hero-grid-solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.hero-side-figure { margin: 0; }
.booking { border-radius: 24px; border: 1px solid rgba(17,17,17,.07); box-shadow: 0 30px 60px -34px rgba(24,48,110,.42); }
.sticky-col { top: 140px; }

/* Títulos centrados */
.center-title { text-align: center; font-size: 42px; line-height: 48px; font-weight: 700; letter-spacing: -.035em; max-width: 18em; margin: 0 auto 14px; }
.center-intro { text-align: center; max-width: 40em; margin: 0 auto 8px; color: var(--grafito); }
.section-head h2 { font-weight: 700; letter-spacing: -.03em; }
.section { padding: 88px 0; }
.on-white { background: rgba(255,255,255,.62); }

/* Franja de herramientas */
.strip { padding: 28px 0 40px; }
.strip-title { text-align: center; font-size: 14px; color: var(--grafito); margin: 0 0 18px; }
.strip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.strip-list li { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; color: #8E949C; }

/* Tarjeta de característica */
.feat-card { margin-top: 40px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 40px;
  background: rgba(255,255,255,.9); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.feat-card.is-reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feat-card.is-reverse .feat-copy { order: 2; }
.feat-card.no-media { grid-template-columns: 1fr; }
.feat-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px; }
.feat-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 16px; border-radius: 14px; border-left: 3px solid transparent; }
.feat-list li.is-first { background: linear-gradient(90deg, rgba(36,85,214,.08), rgba(36,85,214,0)); border-left-color: var(--azul); }
.feat-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.feat-ic .icon { width: 20px; height: 20px; }
.feat-list strong { display: block; font-size: 17px; line-height: 24px; font-weight: 600; }
.feat-list li > div > span { display: block; font-size: 15px; line-height: 23px; color: var(--grafito); margin-top: 2px; }
.feat-media, .media-figure, .agenda-figure, .wide-figure { margin: 0; border-radius: 22px; padding: 18px; background: linear-gradient(135deg, rgba(36,85,214,.10), rgba(0,107,87,.08) 60%, rgba(227,233,239,.6)); }
.feat-media img, .media-figure img, .agenda-figure img, .wide-figure img { width: 100%; height: auto; display: block; }
.wide-figure { max-width: 1100px; margin: 0 auto; }
.wide-figure figcaption { text-align: center; font-size: 14px; color: var(--grafito); padding: 14px 8px 0; }
.split-media { align-items: center; }
.article-figure { margin: 28px 0 8px; border-radius: 20px; padding: 14px; background: linear-gradient(135deg, rgba(36,85,214,.08), rgba(0,107,87,.07)); }
.article-figure img { width: 100%; height: auto; display: block; }

/* Mosaico 2×2 */
.mosaic { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mosaic-card { display: flex; flex-direction: column; padding: 34px 32px 0; background: rgba(255,255,255,.92); border-radius: var(--r-xl); box-shadow: var(--shadow-card);
  color: var(--negro); text-decoration: none; text-align: center; overflow: hidden; transition: transform .2s, box-shadow .2s; }
a.mosaic-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(17,17,17,.08), 0 28px 50px -28px rgba(24,48,110,.45); }
.mosaic-card h3 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -.025em; max-width: 13em; margin: 0 auto 10px; }
.mosaic-card p { font-size: 16px; line-height: 24px; color: var(--grafito); max-width: 28em; margin: 0 auto 22px; }
.mosaic-card figure { margin: auto -32px 0; padding: 20px 20px 0; background: linear-gradient(180deg, rgba(36,85,214,.07), rgba(0,107,87,.06)); }
.mosaic-card img { width: 100%; height: auto; display: block; }

/* Tarjetas existentes con look suave */
.route, .deliverable, .pillar, .limit-box, .related a, .faq details, .demo, .status-card, .tool { border: 0; box-shadow: var(--shadow-card); border-radius: 22px; background: rgba(255,255,255,.94); }
.route-art { border-bottom: 0; background: linear-gradient(135deg, rgba(36,85,214,.08), rgba(0,107,87,.06)); aspect-ratio: 16/10; padding: 18px; align-items: center; }
.route-art img { width: 100%; height: 100%; object-fit: contain; }
.route-tag .dot { background: var(--grad); }
.deliverable .icon { color: var(--azul); }
.pillar-ic { background: var(--grad); color: #fff; border: 0; }
.feature { border: 0; box-shadow: var(--shadow-card); border-radius: var(--r-xl); }
.faq details { border-radius: 16px; }
.situations { border-top: 1px solid rgba(17,17,17,.12); }
.step-n { background: #fff; border: 0; box-shadow: 0 0 0 1.5px var(--azul); color: var(--azul); }
.on-white .step-n { background: #fff; }
.table-wrap { border: 0; box-shadow: var(--shadow-card); border-radius: 18px; }

/* Testimonios */
.quotes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 28px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.quote::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.quote blockquote { margin: 0 0 20px; flex: 1; }
.quote-title { font-weight: 700; font-size: 18px; }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption span { font-size: 14px; color: var(--grafito); }

/* Agenda en bloque */
.agenda-grid { align-items: start; }
.agenda-figure { margin-top: 28px; }

/* Banda final */
.cta-wrap { padding: 40px 0 96px; }
.cta-banner { border-radius: var(--r-xl); padding: 72px 40px; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 15% 0%, rgba(36,85,214,.55), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(0,107,87,.7), transparent 70%), linear-gradient(120deg, #111 0%, #17233F 55%, #0B3B33 100%);
  box-shadow: 0 40px 70px -40px rgba(17,17,17,.6); }
.cta-banner h2 { font-size: 42px; line-height: 48px; font-weight: 700; letter-spacing: -.035em; max-width: 16em; margin: 0 auto 14px; }
.cta-banner .hl { background: linear-gradient(95deg, #9DB6FF, #7FE0C6); -webkit-background-clip: text; background-clip: text; }
.cta-banner p { color: #E3E9EF; max-width: 36em; margin: 0 auto 28px; font-size: 18px; line-height: 28px; }
.cta-banner :focus-visible { outline-color: #fff; }
.band.cta-band { background: transparent; color: var(--negro); padding: 40px 0 96px; }
.band.cta-band .cta-inner { border-radius: var(--r-xl); padding: 56px 48px; color: #fff; background: linear-gradient(120deg, #111 0%, #17233F 55%, #0B3B33 100%); }
.band.cta-band .lead { color: #E3E9EF; }

/* Banda de cifras dentro del contenido */
.band { background: linear-gradient(120deg, #111 0%, #17233F 60%, #0B3B33 100%); }

/* Pie claro */
.site-footer { background: rgba(255,255,255,.75); color: var(--negro); border-top: 1px solid rgba(17,17,17,.07); }
.site-footer h2 { color: var(--negro); }
.site-footer ul a { color: var(--grafito); }
.footer-brand p { color: var(--grafito); }
.footer-legal { border-top-color: rgba(17,17,17,.08); }
.footer-legal p { color: var(--grafito); }
.site-footer :focus-visible { outline-color: var(--negro); }

@media (max-width: 1199px) {
  .hero-center h1 { font-size: 52px; line-height: 58px; }
  .feat-card, .feat-card.is-reverse { grid-template-columns: 1fr; }
  .feat-card.is-reverse .feat-copy { order: 0; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hero { padding: 40px 0 56px; }
  .hero-center h1, .hero-split h1 { font-size: 38px; line-height: 44px; }
  .hero-center .lead { font-size: 18px; line-height: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
  .hero-stats dt { font-size: 26px; line-height: 30px; }
  .hero-figure { margin-top: 36px; }
  .center-title, .cta-banner h2 { font-size: 30px; line-height: 36px; }
  .feat-card { padding: 22px 18px; gap: 24px; border-radius: 22px; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-card { padding: 26px 20px 0; }
  .mosaic-card figure { margin: auto -20px 0; }
  .mosaic-card h3 { font-size: 22px; line-height: 28px; }
  .strip-list { gap: 10px 24px; }
  .strip-list li { font-size: 16px; }
  .cta-banner { padding: 48px 22px; border-radius: 22px; }
  .pill-badge { font-size: 13px; }
}

/* Cabecera no fija y logo 30 % más pequeño (140 px en lugar de 200 px) */
.site-header { position: relative; top: auto; }
.header-inner { min-height: 84px; }
.brand { padding: 8px 0; }
.brand img { width: 140px; height: auto; }
.sticky-col { top: 24px; }
@media (max-width: 767px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 120px; }
}
