/* ============================================================
   DataRoomConnect — Hoja de estilos (versión 2026-10)
   Misma identidad visual que la versión anterior (letsfinance.es):
   navy + teal · General Sans · botones pill · sombras suaves.
   Novedades: maqueta animada, recorrido por la plataforma,
   cronología con progreso, contadores y efectos sutiles.
   Todo el movimiento respeta «prefers-reduced-motion».
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca */
  --navy: #0E1E2B;
  --navy-light: #1A2D3D;
  --navy-soft: #1f3445;

  --teal: #6CACBD;          /* acento decorativo (puntos, iconos, bordes) */
  --teal-ink: #287386;      /* acento de TEXTO sobre fondo claro (AA también sobre teal-light) */
  --teal-light: #E8F4F8;

  --blue: #2E86C1;
  --blue-dark: #21679A;
  --blue-light: #EBF5FB;

  --green: #82C560;
  --green-ink: #2E7D32;
  --red-ink: #B42318;

  /* Grises */
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F4F6F7;
  --gray-200: #E2E6EA;
  --gray-300: #CBD2D8;
  --gray-400: #8C959D;
  --gray-500: #5F6B7E;
  --gray-600: #4A5568;
  --gray-700: #2C4050;
  --gray-800: #2D3748;

  /* Texto */
  --ink: var(--navy);
  --ink-soft: var(--gray-600);
  --ink-mute: var(--gray-500);

  /* Tipografía */
  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Radios */
  --r-pill: 100px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-xs: 8px;

  /* Sombras (tintadas en navy) */
  --sh-sm: 0 4px 20px rgba(14,30,43,.08);
  --sh-md: 0 8px 28px rgba(14,30,43,.10);
  --sh-lg: 0 18px 48px rgba(14,30,43,.14);
  --sh-navy: 0 8px 24px rgba(14,30,43,.25);

  /* Movimiento */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: .2s ease;

  /* Layout */
  --maxw: 1180px;
  --pad: 24px;
  --sec-y: 104px;
  --header-h: 72px;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth;
  /* La cabecera es fija: al saltar a un ancla o al llevar el foco a un elemento, el navegador
     deja este margen arriba para que nada quede tapado (WCAG 2.4.11) */
  scroll-padding-top: calc(var(--header-h) + 24px);
  /* Abajo, el botón «volver arriba»: al recorrer la página con Tab, lo enfocado queda por encima */
  scroll-padding-bottom: 72px;
}
/* Con muy poca altura (zoom muy alto en una pantalla apaisada) ese margen se come casi toda la ventana
   y AvPág apenas avanza: ahí se quita */
@media (max-height: 200px) { html { scroll-padding-bottom: 0; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; color: inherit; }
dl, dd { margin: 0; }
[hidden] { display: none !important; }

/* Indicador de foco: teal oscuro sobre fondos claros (5,4:1) y teal claro sobre navy (6,7:1) */
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
.topbar :focus-visible, .security :focus-visible, .mobile-band :focus-visible,
.footer :focus-visible, .post__cta :focus-visible, .lightbox :focus-visible { outline-color: var(--teal); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--navy); color: #fff; padding: 10px 18px; font-weight: 600;
  border-radius: var(--r-xs); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- 3. UTILIDADES ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: 820px; }

.section { padding: var(--sec-y) 0; position: relative; }
.section--gray { background: var(--gray-50); }

.text-teal { color: var(--teal-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow__dot, .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 4px rgba(130,197,96,.18);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--teal); }

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); text-wrap: balance; }
.section-title--light { color: var(--white); }
.section-lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); text-wrap: pretty; }

/* Subrayado suave que se dibuja al aparecer el título */
.section-title .text-teal {
  background: linear-gradient(transparent 64%, rgba(108,172,189,.2) 64%, rgba(108,172,189,.2) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.1s var(--ease) .25s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.is-visible .section-title .text-teal, .section-head.is-visible .text-teal { background-size: 100% 100%; }
.section-title--light .text-teal { color: var(--teal); }

/* ---------- 4. BOTONES (pill) ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-weight: 700; font-size: .95rem; line-height: 1.15; text-align: center;
  border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn__i { flex: none; transition: transform var(--t-fast); }
.btn:hover .btn__i { transform: translateX(3px); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(14,30,43,.2); }
.btn--primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--sh-navy); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--gray-300); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; white-space: normal; }
@media (max-width: 600px) { .btn { white-space: normal; } }

/* Brillo que recorre el botón al pasar el ratón */
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn--shine:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
}

/* ---------- 5. BARRA SUPERIOR ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .8rem; position: relative; z-index: 110; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 40px; padding-top: 4px; padding-bottom: 4px; }
.topbar__status { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar__status svg { color: var(--teal); flex: none; }
.topbar__sep { opacity: .45; }
.topbar__compliance { letter-spacing: .02em; }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__lang { display: flex; align-items: center; gap: 4px; }
/* Pausar / reanudar animaciones (WCAG 2.2.2) */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 11px;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-pill); background: transparent;
  color: rgba(255,255,255,.88); font-size: .74rem; font-weight: 600; line-height: 1.2;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.motion-toggle svg { flex: none; }
.motion-toggle:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
html:not(.js) .motion-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
@media (max-width: 900px) {
  .motion-toggle { padding: 3px 8px; min-width: 32px; justify-content: center; }
  .motion-toggle__txt { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
.topbar__lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 30px;
  padding: 3px 8px; border-radius: 6px; font-weight: 600; font-size: .78rem; letter-spacing: .03em;
  color: rgba(255,255,255,.72); transition: color var(--t-fast), background var(--t-fast);
}
.topbar__lang a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar__lang a.is-active { background: rgba(108,172,189,.24); color: #fff; }

/* ---------- 6. CABECERA ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.header.is-scrolled { border-bottom-color: var(--gray-200); box-shadow: 0 6px 24px rgba(14,30,43,.06); background: rgba(255,255,255,.94); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.header.is-scrolled .header__inner { min-height: 64px; }

.header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.header__progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; flex: 0 1 auto; min-width: 0; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: var(--teal); transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__mark { flex: none; }
.brand__name { font-size: 1.18rem; color: var(--navy); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand__name span { color: var(--teal-ink); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--teal); }
.brand--light .brand__mark { background: rgba(255,255,255,.08); }

.nav { display: flex; gap: 18px; }
.nav a { font-size: .92rem; font-weight: 600; color: var(--gray-700); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active, .nav a.is-current { color: var(--navy); }
.nav a:hover::after, .nav a.is-active::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__tag {
  display: inline-block; margin-left: 3px; padding: 0 5px; border-radius: 4px; vertical-align: 1px;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: var(--teal-ink); background: var(--teal-light);
}

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex: none; border: none; background: transparent; color: var(--navy);
  width: 44px; height: 44px; margin-left: auto; padding: 9px; border-radius: 10px;
}
.nav-toggle:hover { background: var(--gray-100); }

/* Menú móvil (se coloca justo bajo la cabecera; el JS calcula --menu-top) */
.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 112px); z-index: 90;
  background: #fff; padding: 12px var(--pad) 40px; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-10px); opacity: 0; transition: opacity .25s, transform .25s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.mobile-menu__nav > a {
  padding: 15px 4px; font-size: 1.15rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mobile-menu__actions .btn { width: 100%; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 96px) 0 80px;
  background: linear-gradient(180deg, var(--white), var(--gray-50));
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob--a { width: 620px; height: 420px; right: -120px; top: -160px; background: radial-gradient(closest-side, rgba(108,172,189,.55), transparent); animation: drift-a 22s ease-in-out 2 alternate; }
.blob--b { width: 480px; height: 360px; left: -180px; bottom: -120px; background: radial-gradient(closest-side, rgba(46,134,193,.22), transparent); animation: drift-b 26s ease-in-out 2 alternate; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,30,43,.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 30%, #000 20%, transparent 75%);
}
@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-90px, 60px, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(80px, -50px, 0) scale(1.08); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; margin: 18px 0 22px; text-wrap: balance; }
.hero__lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 560px; text-wrap: pretty; }
.hero .eyebrow { color: #1F6273; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 24px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--gray-600); font-size: .92rem; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--green-ink); flex: none; }

/* --- Maqueta de la sala --- */
.hero__visual { position: relative; padding: 8px 0 128px; }
.room {
  position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); overflow: hidden;
}
.room__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; background: var(--navy); color: #fff; }
.room__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room__title svg { color: var(--teal); flex: none; }
.room__badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: .72rem; font-weight: 700;
  padding: 5px 11px; border-radius: var(--r-pill); background: rgba(108,172,189,.2); color: #CFE7EE;
}
.room__tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.room__tab {
  font-size: .76rem; font-weight: 600; color: var(--gray-500); padding: 8px 12px; border-radius: 8px 8px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.room__tab b { display: inline-grid; place-items: center; min-width: 20px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: var(--gray-200); color: var(--gray-700); font-size: .68rem; }
.room__tab.is-active { background: #fff; color: var(--navy); box-shadow: inset 0 -2px 0 var(--teal); }
.room__tab.is-active b { background: var(--teal-light); color: var(--teal-ink); }

.room__key { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); flex-wrap: wrap; }
.room__key-label { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--blue-dark); white-space: nowrap; }
.room__key-field {
  flex: 1; min-width: 170px; display: flex; align-items: center; gap: 10px; padding: 7px 12px;
  border: 1px solid var(--gray-200); border-radius: 9px; background: var(--gray-50);
}
.room__dots { font-size: .8rem; letter-spacing: .1em; color: var(--gray-600); flex: 1; overflow: hidden; white-space: nowrap; }
.room__meter { display: flex; gap: 3px; }
.room__meter i { width: 14px; height: 5px; border-radius: 3px; background: var(--gray-200); }
/* 3,5 vueltas: termina a mitad de ciclo, con el medidor lleno */
.room__meter i { animation: meter 6s var(--ease) 3.5 both; }
.room__meter i:nth-child(1) { animation-delay: .1s; } .room__meter i:nth-child(2) { animation-delay: .35s; }
.room__meter i:nth-child(3) { animation-delay: .6s; } .room__meter i:nth-child(4) { animation-delay: .85s; }
@keyframes meter { 0%, 8% { background: var(--gray-200); } 18%, 92% { background: var(--green); } 100% { background: var(--gray-200); } }
.room__key-strength { font-size: .7rem; font-weight: 700; color: var(--green-ink); white-space: nowrap; }

.room__files { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.room__file {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0;
  padding: 11px 13px; border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; overflow: hidden;
}
.room__file-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: .84rem; font-weight: 600; color: var(--navy); }
.room__file-name > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.room__file-name svg { color: var(--gray-400); flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap;
  padding: 4px 9px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 700;
  background: var(--gray-100); color: var(--gray-600);
}
.chip--chain { background: var(--blue-light); color: var(--blue-dark); }
.chip--new { background: #FDECEC; color: var(--red-ink); }
.chip--cat { background: var(--blue-light); color: var(--blue-dark); }
/* Fila animada: subiendo → certificando → certificado */
.room__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: transparent; }
.room__progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--blue)); }
.chip--live { background: var(--teal-light); color: var(--teal-ink); }
/* Solo se ve mientras «sube» y «certifica» (3,8 s): 5 vueltas bastan y la animación no es infinita */
.chip__spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; animation: spin .8s linear 5; }
.chip__ok { display: inline-block; }
.room__file--anim[data-state="up"] .room__progress i { transform: scaleX(1); transition: transform 1.6s ease-out; }
.room__file--anim[data-state="up"] .chip--live, .room__file--anim[data-state="cert"] .chip--live { background: var(--gray-100); color: var(--gray-600); }
.room__file--anim[data-state="up"] .chip__spin, .room__file--anim[data-state="cert"] .chip__spin { display: inline-block; }
.room__file--anim[data-state="up"] .chip__ok, .room__file--anim[data-state="cert"] .chip__ok { display: none; }
.room__file--anim[data-state="done"] { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--teal-light); } 100% { background: #fff; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tarjetas flotantes */
.float-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.96); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); box-shadow: var(--sh-md); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.float-card--feed { left: -22px; bottom: 0; width: min(310px, 72%); padding: 14px 16px 10px; animation: bob 7s ease-in-out 3; }
.float-card__title { display: flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.float-card__title svg { color: var(--teal-ink); }
.feed { display: grid; gap: 2px; }
.feed__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 5px 0; font-size: .78rem; color: var(--gray-700); }
.feed__item.is-hidden { display: none; }
.feed__item.is-new { animation: feed-in .6s var(--ease); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-weight: 600; }
.feed__item time { font-size: .7rem; color: var(--gray-500); font-variant-numeric: tabular-nums; }
.feed__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.feed__dot--ok { background: var(--green); } .feed__dot--chain { background: var(--blue); }
.feed__dot--down { background: var(--teal); } .feed__dot--mail { background: #A78BFA; } .feed__dot--warn { background: #F59E0B; }

.float-card--otp { right: -14px; bottom: 44px; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px; animation: bob 8s ease-in-out -3s 3; }
.otp__ring { position: relative; width: 40px; height: 40px; flex: none; }
.otp__ring svg:first-child { width: 40px; height: 40px; transform: rotate(-90deg); }
.otp__ring circle { fill: none; stroke: var(--gray-200); stroke-width: 3; }
.otp__ring .otp__arc { stroke: var(--teal-ink); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 0; animation: otp 30s linear 1; }
.otp__ic { position: absolute; inset: 0; margin: auto; color: var(--navy); }
.otp__body { display: grid; line-height: 1.2; }
.otp__label { font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-500); }
.otp__code { font-family: var(--mono); font-size: 1.02rem; font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.otp__code.is-new { animation: feed-in .5s var(--ease); }
@keyframes otp { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 97.4; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Cinta "Lo esencial" */
.essentials {
  margin-top: 64px; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap;
  padding: 18px 24px; background: rgba(255,255,255,.9); border: 1px solid var(--gray-200);
  border-radius: var(--r-md); box-shadow: var(--sh-sm);
}
.essentials__label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
.essentials__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ess-chip {
  font-size: .82rem; color: var(--gray-600); padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--gray-50); border: 1px solid var(--gray-200); transition: border-color var(--t-fast), transform var(--t-fast);
}
.ess-chip:hover { border-color: var(--teal); transform: translateY(-1px); }
.ess-chip strong { color: var(--navy); margin-right: 6px; letter-spacing: .02em; }

/* ---------- 8. TARJETAS (pilares, funcionalidades, sectores) ---------- */
/* Foco de luz que sigue al puntero (solo con ratón; ver main.js) */
.card-spot { position: relative; isolation: isolate; }
.card-spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(108,172,189,.16), transparent 60%);
  transition: opacity .3s;
}
@media (hover: hover) and (pointer: fine) { .card-spot:hover::before { opacity: 1; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  padding: 32px; transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gray-300); }
.pillar__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-light); color: var(--teal-ink); margin-bottom: 20px;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  padding: 26px 24px; transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gray-300); }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-light); color: var(--teal-ink); margin-bottom: 16px; transition: transform .4s var(--ease);
}
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; flex: 1; }
.tag { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: var(--r-pill); font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.tag--basic { background: var(--teal-light); color: var(--teal-ink); }
.tag--ext { background: var(--blue-light); color: var(--blue-dark); }
.features__more { text-align: center; margin: 36px auto 0; max-width: 820px; color: var(--ink-soft); }
/* En bloque en línea: pasa entero a la línea siguiente y solo se parte, por los espacios, si no cabe en una */
.features__more a { color: var(--teal-ink); font-weight: 700; display: inline-block; max-width: 100%; }
.features__more a:hover { text-decoration: underline; }

/* ---------- 9. SEGURIDAD (oscura) ---------- */
.security { background: var(--navy); color: rgba(255,255,255,.84); overflow: hidden; }
.security::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 380px at 82% 110%, rgba(108,172,189,.18), transparent 60%),
              radial-gradient(500px 300px at 0% 0%, rgba(46,134,193,.10), transparent 60%);
}
.security__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.security__lead { margin: 18px 0 30px; font-size: 1.1rem; color: rgba(255,255,255,.76); max-width: 540px; }
.security__list { display: grid; gap: 14px; }
.security__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; }
.security__ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: rgba(108,172,189,.16); color: var(--teal);
}
.security__panel {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg);
  padding: 36px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.seal { text-align: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.seal__ring {
  position: relative; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: var(--teal);
  background: radial-gradient(circle, rgba(108,172,189,.22), rgba(108,172,189,.04));
  border: 2px solid rgba(108,172,189,.4);
}
.seal__orbit { position: absolute; inset: -10px; border-radius: 50%; border: 1.5px dashed rgba(108,172,189,.45); animation: spin 36s linear 1; }
.seal__orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.seal__title { font-weight: 700; color: #fff; }
/* En bloque, con el icono en línea: si el texto parte en dos líneas, el icono acompaña a la primera */
.seal__chain { display: block; margin-top: 8px; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seal__chain svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.seal__hash { font-family: var(--mono); color: rgba(255,255,255,.78); font-size: .85rem; margin-top: 6px; letter-spacing: .04em; min-height: 1.4em; }
.seal-meta { display: grid; gap: 16px; margin-top: 26px; }
.seal-meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.seal-meta dt { color: rgba(255,255,255,.66); font-size: .9rem; }
.seal-meta dd { color: #fff; font-weight: 700; font-size: .95rem; text-align: right; }

/* ---------- 10. LA PLATAFORMA (recorrido) ---------- */
.plataforma { background: #F3F7F8; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }

.tour { display: grid; gap: 28px; }
.tour__tabs {
  position: relative; display: flex; gap: 6px; justify-self: center; max-width: 100%;
  padding: 6px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.tour__tabs::-webkit-scrollbar { display: none; }
.tour__ink {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: var(--r-pill); background: var(--navy);
  transform: translateX(var(--ink-x, 0)); width: var(--ink-w, 0); transition: transform .45s var(--ease), width .45s var(--ease);
  z-index: 0;
}
.tour__tab {
  position: relative; z-index: 1; flex: none; scroll-snap-align: center;
  border: 0; background: transparent; padding: 10px 18px; min-height: 44px; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; color: var(--gray-700); white-space: nowrap; transition: color .3s;
}
.tour__tab:hover { color: var(--navy); }
/* Sin la «tinta» (antes de que el JS la coloque), la pestaña activa lleva su propio fondo */
.tour__tab[aria-selected="true"] { color: #fff; background: var(--navy); }
.tour__tabs.has-ink .tour__tab[aria-selected="true"] { background: transparent; }
.tour__tabs:not(.has-ink) .tour__ink { display: none; }
/* Si la barra no cabe, un degradado en el borde avisa de que hay más pestañas */
.tour__tabs.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.tour__tabs.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px); mask-image: linear-gradient(90deg, transparent, #000 44px); }
.tour__tabs.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
@media (forced-colors: active) {
  .tour__tab[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -4px; }
}
.tour__plan {
  display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: var(--r-pill); vertical-align: 1px;
  font-size: .64rem; font-weight: 700; letter-spacing: .03em; background: var(--blue-light); color: var(--blue-dark);
}
.tour__tab[aria-selected="true"] .tour__plan { background: rgba(255,255,255,.18); color: #fff; }

.tour__panel { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.tour__panel.is-entering { animation: panel-in .55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.tour__stage {
  position: relative; aspect-ratio: 16 / 10; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: clamp(8px, 1.5vw, 18px);
  border-radius: var(--r-lg); border: 1px solid var(--gray-200);
  background: radial-gradient(120% 90% at 85% 0%, rgba(108,172,189,.22), transparent 55%),
              radial-gradient(90% 80% at 0% 100%, rgba(46,134,193,.10), transparent 60%), #fff;
}
.tour__stage .shot { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.tour__stage .shot__frame { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; }
.tour__stage .shot__frame img { width: auto; height: auto; max-width: 100%; max-height: calc(100% - 30px); min-height: 0; object-fit: contain; }

.tour__cap h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.tour__cap p { color: var(--ink-soft); }
.tour__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.tour__kplan { color: var(--blue-dark); }

.shot {
  position: relative; display: block; width: 100%; border: 0; padding: 0; background: transparent;
  cursor: zoom-in; text-align: left; border-radius: var(--r-md);
}
.shot:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 4px; }
.mobile-band .shot:focus-visible { outline-color: var(--teal); }
.shot__frame {
  display: block; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: var(--sh-lg); border: 1px solid var(--gray-200);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot:hover .shot__frame { transform: translateY(-4px) scale(1.01); box-shadow: 0 30px 70px rgba(14,30,43,.18), 0 6px 16px rgba(14,30,43,.08); }
}
.shot__chrome { display: flex; align-items: center; gap: 10px; background: var(--navy); padding: 8px 12px; flex: none; }
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.shot__dots i:first-child { background: var(--teal); }
.shot__url {
  flex: 1; max-width: 240px; margin: 0 auto; background: rgba(255,255,255,.10); color: #C9DAE1;
  font-size: .66rem; letter-spacing: .03em; text-align: center; border-radius: var(--r-pill);
  padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot__frame img { width: 100%; height: auto; }
.shot__zoom {
  position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(14,30,43,.82); color: #fff; box-shadow: var(--sh-md);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s var(--ease);
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
@media (hover: none) { .shot__zoom { opacity: .9; transform: none; } }

/* Banda "también en el móvil" */
.mobile-band {
  margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--navy); color: rgba(255,255,255,.82);
  position: relative; overflow: hidden; isolation: isolate;
}
.mobile-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 10%, rgba(108,172,189,.25), transparent 60%); }
.mobile-band .eyebrow { color: var(--teal); }
.mobile-band__title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 12px 0 12px; }
.mobile-band__list { display: grid; gap: 10px; margin-top: 20px; }
.mobile-band__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.mobile-band__list svg { color: var(--teal); flex: none; }
.phone { justify-self: center; }
.shot--phone { width: auto; border-radius: 34px; }
.phone__frame {
  display: block; width: 236px; padding: 10px; border-radius: 34px; background: #0a141d;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.45);
  transform: rotate(3deg); transition: transform .5s var(--ease);
}
.shot--phone:hover .phone__frame { transform: rotate(0deg) translateY(-4px); }
.phone__frame img { width: 100%; height: auto; border-radius: 24px; }

.plataforma__foot { margin-top: 36px; text-align: center; color: var(--ink-mute); font-size: .86rem; }

/* ---------- 11. SECTORES ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: 30px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gray-300); }
.sector__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: var(--teal); margin-bottom: 18px; }
.sector h3 { font-size: 1.2rem; margin-bottom: 10px; }
.sector p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.sector__meta {
  display: block; align-self: stretch; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-100);
  font-size: .8rem; font-weight: 600; color: var(--teal-ink); letter-spacing: .01em;
}

/* ---------- 12. CRONOLOGÍA (con progreso) ---------- */
.timeline-wrap { position: relative; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 1; }
.timeline__track { position: absolute; top: 25px; left: 26px; right: calc((100% - 72px) / 5 - 26px); height: 2px; background: var(--gray-200); z-index: 0; border-radius: 2px; }
.timeline__fill { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--tl, 1)); background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 2px; }
.step { position: relative; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--gray-50); transition: background .4s, transform .4s var(--ease), box-shadow .4s;
}
.step.is-on .step__num { background: var(--teal-ink); box-shadow: 0 0 0 6px var(--gray-50), 0 0 0 9px rgba(108,172,189,.25); }
.step__when { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-ink); }
.step h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.step p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }

/* ---------- 13. ESPECIFICACIONES ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 34px 20px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--r-md);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__label { color: var(--ink-soft); font-size: .92rem; font-weight: 500; }

/* ---------- 14. COMPARATIVA ---------- */
.compare { border: 1px solid var(--gray-200); border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-sm); overflow-x: auto; overflow-y: hidden; }
.compare__table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare__table thead th {
  text-align: left; padding: 16px 18px; background: var(--gray-50); vertical-align: bottom;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.compare__table tbody th[scope="row"] { text-align: left; padding: 15px 18px; font-weight: 600; color: var(--navy); }
.compare__table tbody td { padding: 15px 18px; color: var(--gray-700); }
.compare__table thead th, .compare__table tbody th[scope="row"], .compare__table tbody td { border-right: 1px solid var(--gray-200); }
.compare__table thead th:last-child, .compare__table tbody td:last-child { border-right: none; }
.compare__table tbody tr + tr th, .compare__table tbody tr + tr td { border-top: 1px solid var(--gray-200); }
.compare__table tbody tr { transition: background var(--t-fast); }
.compare__table tbody tr:hover { background: var(--gray-50); }
.compare__table .is-no { color: var(--gray-500); }
.compare__table .compare__hl { background: var(--teal-light); border-left: 1px solid rgba(108,172,189,.45); }
.compare__table thead th.compare__hl { color: var(--navy); }
.compare__table td.compare__hl { color: var(--teal-ink); font-weight: 700; }
.compare__table td.compare__hl svg { display: inline-block; vertical-align: -3px; margin-right: 4px; color: var(--teal-ink); }
.compare__note { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--ink-mute); }

/* ---------- 15. PRECIOS ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 34px 30px; transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--featured { border: 2px solid transparent; box-shadow: var(--sh-lg);
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ang, 0deg), var(--navy), var(--teal), var(--blue), var(--navy)) border-box;
  animation: ring 8s linear 2;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes ring { to { --ang: 360deg; } }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 6px 16px; border-radius: var(--r-pill); letter-spacing: .03em;
}
.plan__name { font-size: 1.4rem; }
.plan__for { color: var(--ink-mute); font-size: .92rem; margin-top: 4px; }
.plan__price { margin: 20px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-100); }
.plan__price span { font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.plan__list { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan__list li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; color: var(--gray-700); }
.plan__list svg { flex: none; color: var(--teal-ink); margin-top: 4px; }
.pricing__note { max-width: 860px; margin: 32px auto 0; text-align: center; font-size: .9rem; color: var(--ink-soft); }

/* ---------- 16. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq__item:hover { border-color: var(--gray-300); }
.faq__item.is-open { border-color: var(--teal); box-shadow: var(--sh-sm); }
.faq__h { font-size: inherit; margin: 0; letter-spacing: normal; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: transparent; border: none; text-align: left; border-radius: var(--r-sm);
  font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.35;
}
.faq__chev { flex: none; color: var(--gray-500); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--teal-ink); }
.faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility 0s linear .35s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease), visibility 0s; }
.faq__inner { overflow: hidden; min-height: 0; }
.faq__inner p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; }
/* Sin JS, las respuestas se ven abiertas */
html:not(.js) .faq__a { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) .faq__chev { transform: rotate(180deg); }

/* ---------- 17. CONTACTO / FORMULARIO ---------- */
.contact {
  padding: var(--sec-y) 0; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #244a5a 100%);
  color: rgba(255,255,255,.86);
}
.contact::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 320px at 15% 10%, rgba(108,172,189,.22), transparent 60%),
              radial-gradient(500px 300px at 90% 90%, rgba(46,134,193,.16), transparent 60%);
  animation: drift-a 30s ease-in-out 2 alternate;
}
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact__title { color: #fff; font-size: clamp(1.85rem, 3.4vw, 2.6rem); margin: 16px 0; text-wrap: balance; }
.contact__title .text-teal { color: var(--teal); }
.contact__lead { font-size: 1.08rem; color: rgba(255,255,255,.8); max-width: 470px; }
.contact__points { display: grid; gap: 12px; margin-top: 28px; }
.contact__points li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .96rem; color: rgba(255,255,255,.86); }
.contact__points svg { color: var(--teal); margin-top: 4px; }
.contact__note { margin-top: 22px; font-size: .92rem; color: rgba(255,255,255,.7); max-width: 470px; }

.contact__card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--sh-lg); min-width: 0; }
.form { display: grid; gap: 18px; min-width: 0; }
.form__req { font-size: .82rem; color: var(--ink-soft); margin-bottom: -4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: grid; gap: 7px; min-width: 0; }
.form__label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.form__ast { color: var(--red-ink); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--gray-400); border-radius: var(--r-sm);
  background: var(--gray-50); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form input::placeholder, .form textarea::placeholder { color: var(--gray-500); opacity: 1; }
.form input[type="text"]:focus, .form input[type="email"]:focus, .form textarea:focus { border-color: var(--teal-ink); background: #fff; }
.form input[type="text"]:focus-visible, .form input[type="email"]:focus-visible, .form textarea:focus-visible { outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--red-ink) !important; box-shadow: 0 0 0 3px rgba(180,35,24,.14); }
.form textarea { resize: vertical; min-height: 104px; }
.form__check { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.form__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-ink); }
.form__check a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; }
/* «Letsfinance, S.L. *» no se separa; con el texto muy ampliado se parte por el espacio */
.form__titular { display: inline-block; max-width: 100%; }
/* Aviso visible de que la página enlazada está en español */
.ext-tag {
  display: inline-block; margin-left: 2px; padding: 0 4px; border: 1px solid currentColor; border-radius: 4px;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; line-height: 1.45; vertical-align: 1px; text-decoration: none;
}
.form > * { min-width: 0; }
/* Error de cada campo, justo debajo de él */
.form__error { margin: 0; font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--red-ink); }
.form__check + .form__error { margin-top: -8px; padding-left: 31px; }
.form__captcha-wrap { min-height: 78px; min-width: 0; max-width: 100%; }
/* Con JS, la altura la fija main.js según la escala del widget */
.js .form__captcha-wrap, .js-tarde .form__captcha-wrap { min-height: 0; }
/* Si reCAPTCHA no carga (o no hay JS): otra vía de contacto */
.form__fallback {
  margin: 0; padding: 12px 14px; font-size: .9rem; line-height: 1.5; color: var(--gray-700);
  background: var(--gray-50); border: 1px solid var(--gray-300); border-radius: var(--r-sm);
}
.form__fallback a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
/* Si js/main.js no llega o falla, reCAPTCHA no se carga y el envío no puede funcionar: se ofrece el correo */
.sin-mainjs .form__captcha-wrap, .sin-mainjs #demoForm button[type="submit"] { display: none !important; }
.sin-mainjs #captchaFallback[hidden] { display: block !important; }
.form__captcha { width: 304px; transform-origin: 0 0; transform: scale(var(--cap-scale, 1)); }
.form__status { margin: 2px 0 0; font-size: .92rem; font-weight: 600; min-height: 1.3em; }
.form__status.is-ok { color: var(--green-ink); }
.form__status.is-error { color: var(--red-ink); }
.form button[disabled], .form button[aria-disabled="true"] { opacity: .75; cursor: progress; }

.form-success { text-align: center; padding: 26px 6px; outline: none; }
.form-success__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal-light); color: var(--teal-ink); margin-bottom: 18px; animation: pop .6s var(--ease); }
.form-success__kicker { margin-bottom: 6px; }
.form-success h3 { font-size: 1.45rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: .98rem; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 18. PIE ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 72px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
/* Con el texto muy ampliado, la marca se recorta con puntos suspensivos (como en la cabecera) en vez de ensanchar el pie */
.footer__brand { min-width: 0; }
.footer__brand .brand { max-width: 100%; }
.footer__tagline { margin-top: 18px; max-width: 330px; font-size: .92rem; line-height: 1.6; }
.footer__h { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a { display: block; padding: 6px 0; font-size: .94rem; color: rgba(255,255,255,.72); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--teal); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: rgba(255,255,255,.66);
}

/* Botón "volver arriba" */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--sh-navy);
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease), background var(--t-fast), visibility 0s linear .3s;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s, transform .3s var(--ease), background var(--t-fast), visibility 0s; }
/* Flota sobre fondos claros y oscuros: anillo de dos colores (blanco por dentro, teal oscuro por fuera) */
.to-top:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, var(--sh-navy); }
.to-top:hover { background: var(--navy-light); }
/* Hasta unos 1280 px el final del pie llega a la esquina del botón: con más margen inferior, al llegar
   al final de la página el botón queda debajo del último texto en lugar de taparlo. 1299 px deja sitio
   a las barras de desplazamiento clásicas, que la media query cuenta; al imprimir no hay botón */
@media screen and (max-width: 1299px) { .footer { padding-bottom: 84px; } }

/* ---------- 19. VISOR DE CAPTURAS ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14,30,43,.92);
  display: flex; align-items: center; justify-content: center; padding: 64px 20px 28px; cursor: zoom-out;
  animation: fade .25s ease;
}
.lightbox__fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1500px, 96vw); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 90px rgba(0,0,0,.5); background: #fff; }
.lightbox__cap { color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; min-height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); color: #fff; font-weight: 600; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.16); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 20. APARICIÓN AL HACER SCROLL ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 21. MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .blob, .float-card, .seal__orbit, .plan--featured, .contact::before { animation: none !important; }
  .room__meter i { animation: none; background: var(--green); }
  .otp__ring .otp__arc { animation: none; stroke-dashoffset: 24; }
}
/* «Pausar animaciones» (botón de la barra superior): todo queda quieto en su estado final */
html.no-motion .blob, html.no-motion .float-card, html.no-motion .seal__orbit, html.no-motion .plan--featured,
html.no-motion .contact::before, html.no-motion .chip__spin, html.no-motion .room__meter i,
html.no-motion .otp__ring .otp__arc, html.no-motion .feed__item, html.no-motion .otp__code { animation: none !important; }
html.no-motion .room__meter i { background: var(--green); }
html.no-motion .otp__ring .otp__arc { stroke-dashoffset: 24; }
html.no-motion.js .reveal { opacity: 1; transform: none; transition: none; }
html.no-motion .section-title .text-teal, html:not(.js) .section-title .text-teal { background-size: 100% 100%; transition: none; }
/* Sin el JS de la página (sin JavaScript, o si main.js no llega) no hay botón de pausa: nada se mueve */
html:not(.js) .blob, html:not(.js) .float-card, html:not(.js) .seal__orbit, html:not(.js) .plan--featured,
html:not(.js) .contact::before, html:not(.js) .room__meter i, html:not(.js) .otp__ring .otp__arc { animation: none !important; }
html:not(.js) .room__meter i { background: var(--green); }
html:not(.js) .otp__ring .otp__arc { stroke-dashoffset: 24; }

/* ---------- 22. RESPONSIVE ---------- */
/* La barra completa cabe holgada en una línea por encima de 1260px (también en francés);
   por debajo, menú compacto. Sin JS, la navegación se muestra en varias líneas. */
@media (max-width: 1260px) {
  .nav, .header__actions { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  html:not(.js) .header { position: relative; }
  html:not(.js) .header__inner { padding-top: 10px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 2px 18px; flex-basis: 100%; padding-bottom: 10px; }
}

@media (max-width: 1024px) {
  :root { --sec-y: 84px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .hero__visual { max-width: 600px; width: 100%; margin: 0 auto; }
  .security__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .security__panel { container: sello / inline-size; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .tour__panel { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tour__cap { max-width: 720px; }
  .footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .pillars, .sectors { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: minmax(0, 520px); }
  .plan--featured { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .mobile-band { grid-template-columns: 1fr; gap: 32px; }
  /* Cronología vertical con línea de progreso */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__track { top: 26px; bottom: 30px; left: 25px; right: auto; width: 2px; height: auto; }
  .timeline__fill { transform-origin: 50% 0; transform: scaleY(var(--tl, 1)); }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding-bottom: 28px; }
  .step__num { margin-bottom: 0; grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .step__when { grid-column: 2; grid-row: 1; align-self: center; }
  .step h3 { grid-column: 2; grid-row: 2; }
  .step p { grid-column: 2; grid-row: 3; }
}

/* Comparativa en tarjetas (sin scroll horizontal) */
@media (max-width: 900px) {
  .compare { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .compare__table, .compare__table thead, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; }
  .compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .compare__table tbody { display: grid; gap: 14px; container: comparativa / inline-size; }
  .compare__table tbody tr { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); container-type: inline-size; }
  .compare__table tbody th, .compare__table tbody td { overflow-wrap: break-word; }
  .compare__table tbody tr:hover { background: #fff; }
  .compare__table tbody tr + tr th, .compare__table tbody tr + tr td { border-top: 0; }
  .compare__table tbody th[scope="row"] { grid-column: 1 / -1; order: 0; padding: 14px 16px 6px; border: 0; font-size: 1rem; }
  .compare__table td.compare__hl { grid-column: 1 / -1; order: 1; margin: 4px 12px 10px; padding: 10px 12px; border: 1px solid rgba(108,172,189,.45); border-radius: var(--r-sm); }
  .compare__table tbody td { order: 2; padding: 10px 12px 14px; border: 0; border-top: 1px solid var(--gray-100) !important; font-size: .84rem; }
  .compare__table tbody td + td:not(.compare__hl) { border-left: 1px solid var(--gray-100); }
  .compare__table tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-500); }
  .compare__table td.compare__hl::before { color: var(--teal-ink); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --pad: 18px; --sec-y: 64px; --header-h: 64px; }
  .hero { padding-top: 44px; padding-bottom: 60px; }
  .hero__cta .btn { width: 100%; white-space: normal; }
  .hero__visual { padding: 10px 0 0; }
  .float-card--otp { display: none; }
  .float-card--feed { position: relative; left: auto; bottom: auto; width: auto; margin: -18px 14px 0; animation: none; }
  .room__tab:nth-child(2) { display: none; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .essentials { margin-top: 44px; padding: 16px; }
  .essentials__chips { gap: 8px; }
  .ess-chip { font-size: .78rem; padding: 6px 12px; }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour__tabs { justify-self: stretch; border-radius: var(--r-md); }
  .tour__stage { aspect-ratio: 4 / 3; padding: 10px; }
  .tour__stage .shot__frame img { max-height: calc(100% - 26px); }
  .phone__frame { width: 210px; }
  .pillar, .sector { padding: 26px 22px; }
  .plan { padding: 30px 22px; }
  .section-head { margin-bottom: 40px; }
}

/* Barra superior en una sola línea: fuera el texto de cumplimiento (está en el hero y en el pie) */
@media (max-width: 680px) {
  .topbar__compliance, .topbar__sep { display: none; }
}

@media (max-width: 480px) {
  /* Con el texto ampliado (p. ej. al 200 % en Android), una palabra que no cabe en la línea se parte
     en vez de ensanchar su caja y obligar a desplazar la página en horizontal */
  body { overflow-wrap: anywhere; }
  .compare__table tbody tr { grid-template-columns: minmax(0, 1fr); }
  .compare__table tbody td:not(.compare__hl) { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 16px; text-align: right; }
  .compare__table tbody td:not(.compare__hl)::before { margin: 0; flex: 0 1 auto; text-align: left; }
  .compare__table tbody td + td:not(.compare__hl) { border-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .seal-meta div { flex-direction: column; gap: 2px; align-items: flex-start; }
  .seal-meta dd { text-align: left; }
  .security__panel { padding: 26px 22px; }
}
/* Con el texto ampliado, la comparativa pasa a la disposición de una columna de ≤480 px en cuanto la
   tabla mide menos de 20 veces su letra (≈298 px con el texto normal, que solo se da en pantallas de
   menos de unos 335 px, donde esa disposición ya rige por la media query) */
@container comparativa (max-width: 20em) {
  .compare__table tbody tr { grid-template-columns: minmax(0, 1fr); }
  .compare__table tbody td:not(.compare__hl) { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 16px; text-align: right; }
  .compare__table tbody td:not(.compare__hl)::before { margin: 0; flex: 0 1 auto; text-align: left; }
  .compare__table tbody td + td:not(.compare__hl) { border-left: 0; }
}
/* La tarjeta mide menos de 15 veces el tamaño de su letra solo con el texto ampliado (≈223 px con el
   texto normal, menos que cualquier tarjeta desde 300 px de pantalla, que mide 262 px): entonces
   etiqueta y valor pueden ir en dos líneas en lugar de recortar el valor */
@container (max-width: 15em) { .compare__table tbody td:not(.compare__hl) { flex-wrap: wrap; } }
/* Pie: con el texto ampliado, menos columnas en vez de partir palabras. En rem, que crece con el texto
   de la página: 35rem y 24rem son 560 y 384 px con el texto normal, menos que el pie en esos anchos.
   El contenedor es un envoltorio sin el botón fijo «volver arriba» (la contención no le afecta) */
.footer__rejilla { container: pie / inline-size; }
@media (min-width: 601px) and (max-width: 1024px) { @container pie (max-width: 35rem) { .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } } }
@media (min-width: 481px) and (max-width: 1024px) { @container pie (max-width: 24rem) { .footer__inner { grid-template-columns: minmax(0, 1fr); } } }
/* Lo mismo en el panel del sello: con el texto ampliado, cada dato bajo su etiqueta (como a ≤480 px) */
@container sello (max-width: 20em) {
  .seal-meta div { flex-direction: column; gap: 2px; align-items: flex-start; }
  .seal-meta dd { text-align: left; }
}

@media (max-width: 400px) {
  .topbar__inner { column-gap: 8px; }
  .topbar__end { gap: 6px; }
  .topbar__lang { gap: 2px; }
  .topbar__lang a { min-width: 30px; padding: 3px 6px; }
}

@media (max-width: 360px) {
  .brand__name { font-size: 1.05rem; }
  .hero__title { font-size: 1.95rem; }
  .room__key-field { min-width: 0; }
  .room__meter { display: none; }
}

/* ---------- 23. BLOG ---------- */
.section-head--left { margin-left: 0; margin-right: auto; text-align: left; max-width: 820px; }
.blog-head { padding-bottom: 8px; }
.blog-list-section { padding-top: 40px; }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card {
  display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); overflow: hidden; color: inherit;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gray-300); }
.post-card__media {
  position: relative; overflow: hidden; min-height: 188px;
  background: radial-gradient(420px 220px at 30% 20%, rgba(108,172,189,.22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-light));
}
.post-card__art { display: block; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post-card:hover .post-card__art { transform: scale(1.04); }
.post-card__body { padding: 32px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.post-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-light); padding: 5px 12px; border-radius: var(--r-pill); }
.post-card__title { font-size: 1.5rem; color: var(--navy); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__excerpt { color: var(--ink-soft); font-size: 1rem; }
.post-card__meta { font-size: .85rem; color: var(--ink-mute); font-weight: 500; }
.post-card__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-ink); margin-top: 4px; }
.post-card__cta svg { transition: transform var(--t-fast); }
.post-card:hover .post-card__cta svg { transform: translateX(4px); }
.blog-note { margin-top: 32px; color: var(--ink-soft); font-size: .96rem; }
.blog-note a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; }

.post { padding: 44px 0 var(--sec-y); }
.breadcrumb { font-size: .86rem; color: var(--ink-mute); margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gray-400); }
.breadcrumb a { color: var(--teal-ink); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gray-600); }
.post__header { border-bottom: 1px solid var(--gray-200); padding-bottom: 26px; margin-bottom: 34px; }
.post__title { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0; line-height: 1.12; text-wrap: balance; }
.post__meta { color: var(--ink-mute); font-size: .92rem; font-weight: 500; }
.post__body { font-size: 1.08rem; line-height: 1.75; color: var(--gray-700); }
.post__lead { font-size: 1.2rem; color: var(--navy); font-weight: 500; margin-bottom: 10px; }
.post__body h2 { font-size: 1.5rem; color: var(--navy); margin: 38px 0 14px; letter-spacing: -.01em; }
.post__body p { margin: 0 0 18px; }
.post__body strong { color: var(--navy); font-weight: 700; }
.post__body a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; }
.post__list { display: grid; gap: 12px; margin: 0 0 22px; }
.post__list li { position: relative; padding-left: 26px; }
.post__list li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.post__cta {
  margin-top: 48px; padding: 38px 32px; border-radius: var(--r-lg); text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 50% 0%, rgba(108,172,189,.16), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-light));
}
.post__cta h2 { color: #fff; font-size: 1.5rem; margin: 0 0 10px; }
.post__cta p { color: rgba(255,255,255,.82); margin-bottom: 22px; }
.btn--white { background: #fff; color: var(--navy); }
.post__cta .btn { max-width: 100%; white-space: normal; }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

@media (max-width: 760px) {
  .blog-list { grid-template-columns: 1fr; }
  .post-card__media { min-height: 150px; }
  .post-card__body { padding: 26px 24px; }
  .post__cta { padding: 30px 20px; }
}

/* ---------- 24. PÁGINA 404 ---------- */
.notfound { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.notfound__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--teal-ink); }
.notfound h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 12px; }
.notfound p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- 25. IMPRESIÓN ---------- */
@media print {
  .topbar, .header, .mobile-menu, .to-top, .hero__bg, .float-card, .lightbox, .contact__card, .tour__tabs { display: none !important; }
  .faq__a { grid-template-rows: 1fr !important; visibility: visible !important; }
  .tour__panel[hidden] { display: grid !important; margin-top: 32px; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .security, .contact, .footer, .mobile-band { background: #fff !important; color: #000 !important; }
  .security *, .contact *, .footer *, .mobile-band * { color: #000 !important; }
}

/* ---------- 26. AJUSTES DE COMPORTAMIENTO ---------- */
/* La maqueta del hero se detiene cuando no se ve (ahorra batería) */
.hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after { animation-play-state: paused !important; }
/* Sin JavaScript: el recorrido muestra todas las capturas, una tras otra */
html:not(.js) .tour__tabs { display: none; }
html:not(.js) .tour__panel[hidden] { display: grid !important; margin-top: 48px; }
