/* ============================================================
   DataRoomConnect — Hoja de estilos
   Identidad visual heredada de letsfinance.es
   (navy + teal · General Sans · botones pill · sombras suaves)
   ============================================================ */

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

  --teal: #6CACBD;          /* acento decorativo (dots, iconos, bordes) */
  --teal-ink: #2C7E92;      /* acento de TEXTO sobre fondo claro (legible) */
  --teal-light: #E8F4F8;

  --blue: #2E86C1;
  --blue-dark: #2574A9;
  --blue-light: #EBF5FB;

  --green: #82C560;

  /* Grises */
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F4F6F7;
  --gray-200: #E2E6EA;
  --gray-300: #CBD2D8;
  --gray-400: #8C959D;
  --gray-500: #67768E;
  --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', sans-serif;

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

  /* Sombras (tintadas en navy/azul, como letsfinance) */
  --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;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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;
}

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; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- 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; }
.section--gray { background: var(--gray-50); }

/* Compensa la cabecera fija al saltar a un anclaje */
[id] { scroll-margin-top: 96px; }

.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);
  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: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-title--light { color: var(--white); }
.section-lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- BOTONES (pill, estilo letsfinance) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-weight: 700; font-size: .95rem; line-height: 1;
  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-200); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- 4. BARRA SUPERIOR ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.78); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar__sep { opacity: .4; }
.topbar__compliance { letter-spacing: .02em; }
.topbar__lang { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topbar__lang a, .topbar__lang .lang-soon {
  padding: 3px 8px; border-radius: 6px; font-weight: 600; font-size: .78rem; letter-spacing: .03em;
}
.topbar__lang a.is-active { background: rgba(108,172,189,.22); color: #fff; }
.topbar__lang .lang-soon { color: rgba(255,255,255,.4); cursor: default; }

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

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: var(--teal);
}
.brand__name { font-size: 1.18rem; color: var(--navy); }
.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: 16px; margin-left: 0; }
.nav a { font-size: .92rem; font-weight: 600; color: var(--gray-700); position: relative; padding: 4px 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--teal); transition: width var(--t-fast);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }

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

.nav-toggle { display: none; border: none; background: transparent; color: var(--navy); padding: 6px; margin-left: auto; }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 112px 0 0; z-index: 90; background: #fff;
  padding: 24px var(--pad) 40px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; transition: opacity .25s, transform .25s;
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  padding: 16px 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; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 80px;
  background:
    radial-gradient(1100px 480px at 88% -8%, rgba(108,172,189,.16), transparent 60%),
    linear-gradient(180deg, var(--white), var(--gray-50));
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.08; margin: 18px 0 22px;
}
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 24px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 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); }

/* SIGNATURE — maqueta de la sala */
.hero__visual { position: relative; }
.room {
  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;
  padding: 14px 18px; background: var(--navy); color: #fff;
}
.room__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.room__title svg { color: var(--teal); }
.room__badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600;
  padding: 5px 11px; border-radius: var(--r-pill); background: rgba(108,172,189,.18); color: var(--teal);
}
.room__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); }
.room__side { background: var(--gray-50); border-right: 1px solid var(--gray-200); padding: 16px 12px; }
.room__side-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 10px; padding-left: 6px; }
.room__side li {
  display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: var(--r-xs);
  font-size: .82rem; font-weight: 600; color: var(--gray-600); white-space: nowrap;
}
.room__side li svg { color: var(--gray-400); }
.room__side li.active { background: var(--teal-light); color: var(--navy); }
.room__side li.active svg { color: var(--teal-ink); }

.room__main { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.room__file {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0;
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff;
}
.room__file--muted { opacity: .6; }
.room__file-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: .85rem; font-weight: 600; color: var(--navy); }
.room__file-name svg { color: var(--gray-400); flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 4px 9px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 700;
  background: var(--gray-100); color: var(--gray-600);
}
.chip--seal { background: var(--teal-light); color: var(--teal-ink); }
.chip--chain { background: var(--blue-light); color: var(--blue-dark); }

.room-activity {
  position: absolute; right: -14px; bottom: -26px; z-index: 2;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.room-activity__num { font-size: 1.7rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.room-activity__label { font-size: .72rem; font-weight: 600; color: var(--gray-500); line-height: 1.2; }

/* Cinta "Lo esencial" */
.essentials {
  margin-top: 64px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 20px 26px; background: #fff; 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-400); }
.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);
}
.ess-chip strong { color: var(--navy); margin-right: 6px; letter-spacing: .02em; }

/* ---------- 7. PILARES ---------- */
.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; }

/* ---------- 8. FUNCIONALIDADES ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  position: relative; 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;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.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); }
.tag--ent { background: #EEF0F3; color: var(--gray-700); }
.features__more { text-align: center; margin-top: 36px; color: var(--ink-soft); }
.features__more a { color: var(--teal-ink); font-weight: 700; }
.features__more a:hover { text-decoration: underline; }

/* ---------- 9. SEGURIDAD (oscura) ---------- */
.security { background: var(--navy); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.security::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 380px at 82% 110%, rgba(108,172,189,.18), transparent 60%);
  pointer-events: none;
}
.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,.72); max-width: 520px; }
.security__list { display: grid; gap: 16px; }
.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,.08); }
.seal__ring {
  width: 92px; height: 92px; 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__title { font-weight: 700; color: #fff; }
.seal__chain { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.seal__hash { font-family: ui-monospace, 'SF Mono', Menlo, monospace; color: rgba(255,255,255,.72); font-size: .85rem; margin-top: 6px; letter-spacing: .04em; }
.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 span { color: rgba(255,255,255,.55); font-size: .9rem; }
.seal-meta strong { color: #fff; font-weight: 700; font-size: .95rem; text-align: right; }

/* ---------- 10. SECTORES ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector {
  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; }
.sector__meta {
  display: inline-block; 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;
}

/* ---------- 11. CRONOLOGÍA ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative;
}
.timeline::before {
  content: ""; position: absolute; top: 26px; left: 7%; right: 7%; height: 2px;
  background: var(--gray-200); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: left; }
.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);
}
.step__when { 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; }

/* ---------- 12. MÉTRICAS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 36px 20px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--r-md);
  display: flex; flex-direction: column; justify-content: center;
}
.stat__num {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); letter-spacing: -.03em;
  line-height: 1; min-height: clamp(2rem, 4vw, 2.8rem);
  display: flex; align-items: center; justify-content: center;
}
.stat__num--word { font-size: clamp(1.4rem, 2.7vw, 1.95rem); }
.stat__label { margin-top: 10px; color: var(--ink-mute); font-size: .92rem; font-weight: 500; }

/* ---------- 13. PRECIOS ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  position: relative; 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 var(--navy); box-shadow: var(--sh-lg);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  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: .9rem; 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: 13px; margin-bottom: 28px; }
.plan__list li { display: flex; align-items: center; gap: 11px; font-size: .94rem; color: var(--gray-700); }
.plan__list svg { flex: none; color: var(--teal-ink); }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--gray-200); border-radius: var(--r-sm); background: #fff; overflow: hidden; transition: border-color var(--t-fast); }
.faq__item.is-open { border-color: var(--teal); }
.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;
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
}
.faq__chev { flex: none; color: var(--gray-400); transition: transform var(--t-fast); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); color: var(--teal-ink); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- 15. CTA FINAL ---------- */
.cta-final { padding: var(--sec-y) 0; }
.cta-card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 28px; padding: clamp(48px, 6vw, 76px) 24px;
  background:
    radial-gradient(700px 320px at 15% -20%, rgba(108,172,189,.4), transparent 60%),
    linear-gradient(120deg, var(--navy), var(--navy-soft) 70%, #245363);
  box-shadow: var(--sh-lg);
}
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.cta-card p { margin: 16px auto 32px; max-width: 520px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 16. PIE ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 72px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__tagline { margin-top: 18px; max-width: 320px; font-size: .92rem; line-height: 1.6; }
.footer__col h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: .94rem; color: rgba(255,255,255,.65); 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,.1);
  font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ---------- 17. REVEAL (animación de entrada) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Escalonado suave dentro de rejillas */
.pillars .reveal:nth-child(2), .features .reveal:nth-child(2),
.sectors .reveal:nth-child(2), .stats .reveal:nth-child(2), .pricing .reveal:nth-child(2) { transition-delay: .08s; }
.pillars .reveal:nth-child(3), .features .reveal:nth-child(3),
.sectors .reveal:nth-child(3), .stats .reveal:nth-child(3), .pricing .reveal:nth-child(3) { transition-delay: .16s; }
.features .reveal:nth-child(4), .sectors .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .24s; }
.timeline .reveal:nth-child(2) { transition-delay: .08s; }
.timeline .reveal:nth-child(3) { transition-delay: .16s; }
.timeline .reveal:nth-child(4) { transition-delay: .24s; }
.timeline .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .pillar, .feature, .sector, .plan { transition: none !important; }
}

/* ---------- 18. RESPONSIVE ---------- */
/* La barra completa (8 enlaces + marca + botón) cabe en una línea por encima
   de ~1055px; por debajo de 1080px pasamos al menú hamburguesa (con colchón). */
@media (max-width: 1080px) {
  .nav, .header__actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {
  :root { --sec-y: 80px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__visual { max-width: 560px; }
  .security__inner { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .pillars, .sectors, .pricing { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding-bottom: 30px; }
  .step__num { margin-bottom: 0; grid-column: 1; grid-row: 1; }
  .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; }
  .plan--featured { order: -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --pad: 18px; --sec-y: 64px; }
  .topbar__compliance, .topbar__sep { display: none; }
  .hero__cta .btn, .cta-card__actions .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .room__body { grid-template-columns: 1fr; }
  .room__side { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .room__side-label { padding-left: 2px; }
  .room-activity { right: 8px; bottom: -18px; padding: 12px 16px; }
  .essentials { margin-top: 44px; }
  .footer__inner { grid-template-columns: 1fr; }
  .mobile-menu { inset: 104px 0 0; }
}

/* ---------- 19. AÑADIDOS: precio/periodo, tarjeta hero, comparativa ---------- */

/* Utilidad: oculto visualmente pero accesible para lectores de pantalla */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Periodo de facturación junto al precio */
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan__price .plan__period { font-size: .9rem; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }

/* Icono de la tarjeta flotante del hero (sustituye al antiguo "100%") */
.room-activity__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; background: var(--teal-light); color: var(--teal-ink);
}
.room-activity__label { font-size: .78rem; font-weight: 700; color: var(--navy); line-height: 1.25; }

/* ---------- COMPARATIVA ---------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gray-200); border-radius: var(--r-md);
  background: #fff; box-shadow: var(--sh-sm);
}
.table-scroll:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.table-hint { display: none; text-align: center; font-size: .82rem; color: var(--ink-mute); margin: 0 0 12px; }
@media (max-width: 860px) { .table-hint { display: block; } }
.compare__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .94rem; }
.compare__table thead th {
  text-align: left; padding: 16px 18px; background: var(--gray-50);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-500); border-bottom: 1px solid var(--gray-200); white-space: nowrap;
}
.compare__table tbody th[scope="row"] {
  text-align: left; padding: 15px 18px; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.compare__table tbody td { padding: 15px 18px; color: var(--gray-700); }
/* Retícula visible: líneas horizontales y verticales */
.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 .is-no { color: var(--gray-400); }

/* Primera columna fija al hacer scroll horizontal (móvil) */
.compare__table thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--gray-50); }
.compare__table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #fff; }

/* Columna destacada: DataRoomConnect */
.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.is-yes { color: var(--teal-ink); font-weight: 700; }

@media (max-width: 560px) {
  .compare__table { font-size: .85rem; min-width: 580px; }
  .compare__table thead th { padding: 12px 12px; white-space: normal; }
  .compare__table thead th:first-child,
  .compare__table tbody th[scope="row"] { white-space: normal; width: 128px; min-width: 128px; }
  .compare__table tbody th[scope="row"],
  .compare__table tbody td { padding: 12px 12px; }
}

/* ---------- 20. CONTACTO / FORMULARIO (sección final #demo) ---------- */
.contact {
  padding: var(--sec-y) 0;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(108,172,189,.20), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #244a5a 100%);
  color: rgba(255,255,255,.85);
}
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 16px 0; }
.contact__lead { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 460px; }
.contact__points { display: grid; gap: 12px; margin-top: 28px; }
.contact__points li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  font-size: .96rem; color: rgba(255,255,255,.82);
}
.contact__points svg { color: var(--teal); flex: none; }

/* Tarjeta del formulario (blanca sobre el fondo oscuro) */
.contact__card {
  background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--sh-lg);
}
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: grid; gap: 7px; }
.form__label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form input, .form textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--r-sm);
  background: var(--gray-50); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input::placeholder, .form textarea::placeholder { color: var(--gray-400); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 4px rgba(108,172,189,.18);
}
.form textarea { resize: vertical; min-height: 96px; }
.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: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-ink); flex: none; }
.form__check a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; }
.form__status { margin: 2px 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-ok { color: #2e7d32; }
.form__status.is-error { color: #c0392b; }

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- 21. BLOG ---------- */
.nav a.is-current { color: var(--navy); }
.nav a.is-current::after { width: 100%; }
.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%; }
.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__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-mute); font-size: .96rem; }
.blog-note a { color: var(--teal-ink); font-weight: 600; }
.blog-note a:hover { text-decoration: underline; }

/* Artículo */
.post { padding: 44px 0 var(--sec-y); }
.breadcrumb { font-size: .85rem; color: var(--ink-mute); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--teal-ink); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[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; }
.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__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;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(108,172,189,.16), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
}
.post__cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.post__cta p { color: rgba(255,255,255,.80); margin-bottom: 22px; }

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

/* ---------- 22. IDIOMAS (barra superior) ---------- */
.topbar__lang a { color: rgba(255,255,255,.55); 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,.22); color: #fff; }

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

.shot {
  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); outline-offset: 4px; }
.shot__frame {
  display: block; border-radius: var(--r-md); overflow: hidden; background: #fff;
  box-shadow: var(--sh-lg); border: 1px solid var(--gray-200);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
@media (prefers-reduced-motion: no-preference) {
  .shot:hover .shot__frame { transform: translateY(-4px); 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: 9px 14px; }
.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: 300px; margin: 0 auto; background: rgba(255,255,255,.10); color: #B9CDD6;
  font-size: .68rem; letter-spacing: .03em; text-align: center; border-radius: var(--r-pill);
  padding: 3px 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.shot--featured { margin-bottom: 18px; }
.shot-cap { max-width: 760px; margin: 20px auto 0; text-align: center; }
.shot-cap__k {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--teal-ink); margin-bottom: 6px;
}
.shot-cap h3 { font-size: 1.15rem; margin-bottom: 6px; }
.shot-cap p { color: var(--ink-soft); font-size: .95rem; }

.plataforma__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 52px; }
.plataforma__duo .shot-cap { margin: 16px 0 0; text-align: left; max-width: none; }
.plataforma__foot { margin-top: 42px; text-align: center; color: var(--ink-mute); font-size: .85rem; }

@media (max-width: 860px) {
  .plataforma__duo { grid-template-columns: 1fr; gap: 40px; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14,30,43,.92);
  display: none; align-items: center; justify-content: center; padding: 28px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1500px, 96vw); max-height: 92vh; width: auto;
  border-radius: 10px; box-shadow: 0 40px 90px rgba(0,0,0,.5);
}

/* ---------- 24. FORMULARIO: reCAPTCHA y confirmación ---------- */
.form__captcha { min-height: 78px; }
.form__captcha > div { max-width: 100%; }

.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;
}
.form-success h3 { font-size: 1.45rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); font-size: .98rem; }

/* Nota bajo los puntos de contacto */
.contact__note { margin-top: 22px; font-size: .92rem; color: rgba(255,255,255,.62); max-width: 460px; }

/* Corrección: las capturas de la plataforma mantienen su proporción
   (los atributos width/height del <img> reservan el espacio; el alto
   real se ajusta al ancho disponible) */
.shot__frame img { width: 100%; height: auto; }
.plataforma img { height: auto; }
