/* ============================================================================
   INVITO PRO — invitopro.com
   Software de protocolo institucional. Sitio estático, autocontido.
   Sistema visual: navy institucional + latón ceremonial + azul de acción.
   Display serif de sistema (convite oficial) · sans de sistema · mono credenciales.
   ========================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  /* Fondo institucional */
  --ink:        #0a0f1e;
  --ink-2:      #0f1830;
  --ink-raise:  #16213c;
  --ink-line:   rgba(255,255,255,.09);
  --brass-line: rgba(198,161,91,.22);

  /* Superficies claras */
  --paper:   #f6f7fa;
  --paper-2: #eceff5;
  --card:    #ffffff;

  /* Texto */
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --slate:    #47566f;
  --muted:    #6b7a94;
  --mist:     #9aa8c0;   /* texto sobre oscuro */
  --mist-dim: #6f7f9c;

  /* Latón ceremonial (identidad de protocolo) */
  --brass:        #c6a15b;
  --brass-2:      #b0894198;
  --brass-bright: #ddc389;

  /* Azul de acción (producto) */
  --blue:    #2563eb;
  --blue-2:  #3b82f6;
  --blue-50: #eff6ff;

  /* Estados de invitación (chips) */
  --green:  #16a34a; --green-bg:  #eafaf0;
  --amber:  #b4740b; --amber-bg:  #fdf5e6;
  --violet: #7c3aed; --violet-bg: #f4f1fe;
  --cyan:   #0e7f98; --cyan-bg:   #e7f8fc;
  --red:    #dc2626; --red-bg:    #fdeeee;

  /* Tipografía */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Métrica */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --pad-y: clamp(4.5rem, 3rem + 6vw, 8rem);

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 2px 8px rgba(15,23,42,.05);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 18px 40px rgba(15,23,42,.09);
  --shadow-lg: 0 10px 30px rgba(10,15,30,.28), 0 40px 80px rgba(10,15,30,.35);
}

/* ── 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-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: var(--navy-900); }
p { margin: 0; }

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

/* ── Layout helpers ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 0.6rem + 2.4vw, 2.2rem); }
.section { padding-block: var(--pad-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

/* Cabecera de sección con numeral romano — "orden del día" */
.marker { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.4rem; }
.marker__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: .05em;
  font-feature-settings: "lnum";
  min-width: 1.4em;
}
.marker__label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marker__rule { flex: 0 0 auto; width: clamp(28px, 6vw, 60px); height: 1px; background: linear-gradient(90deg, var(--brass), transparent); }
.marker--light .marker__label { color: var(--mist); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); opacity: .85; }

.h2 { font-size: clamp(1.85rem, 1.35rem + 2.1vw, 2.85rem); }
.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--slate); line-height: 1.55; }
.section-head { max-width: 720px; }
.section-head .h2 { margin-bottom: 0.9rem; }

/* ── Botones ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  padding: 0.82rem 1.4rem; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,.4), 0 8px 22px rgba(37,99,235,.28); }
.btn--primary:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(37,99,235,.45), 0 14px 30px rgba(37,99,235,.34); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: rgba(15,23,42,.16); }
.btn--ghost:hover { background: #fff; border-color: rgba(15,23,42,.28); transform: translateY(-1px); }
.btn--on-dark { color: #eaf0fb; border-color: rgba(255,255,255,.2); }
.btn--on-dark:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.38); }
.btn--lg { padding: 0.98rem 1.7rem; font-size: 1rem; }

/* Credenciales demo — chip mono (eco de las variables {cargo} del producto) */
.cred {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.55rem;
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--mist);
}
.cred b { color: #dfe7f5; font-weight: 600; }
.cred code {
  font-family: var(--font-mono); font-size: 0.82rem;
  padding: 0.12rem 0.45rem; border-radius: 6px;
  background: rgba(198,161,91,.12); color: var(--brass-bright);
  border: 1px solid var(--brass-line);
}
.cred--light code { background: var(--paper-2); color: var(--brass-2); border-color: rgba(176,137,65,.35); }
.cred--light { color: var(--muted); }
.cred--light b { color: var(--navy-800); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,30,.72);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--ink-line);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { background: rgba(10,15,30,.92); box-shadow: 0 8px 30px rgba(10,15,30,.4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: var(--mist); font-size: 0.92rem; font-weight: 500; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.header-cta .btn { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.nav-toggle { display: none; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.wordmark:hover { text-decoration: none; }
.wordmark .seal { flex: 0 0 auto; }
.wordmark__text { display: inline-flex; align-items: baseline; gap: 0.42rem; line-height: 1; }
.wordmark__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; color: #fff; }
.wordmark__pro {
  font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass);
  padding: 0.16rem 0.4rem; border: 1px solid var(--brass-line); border-radius: 5px;
}
.wordmark--dark .wordmark__name { color: var(--navy-900); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, #16213c 0%, rgba(22,33,60,0) 55%),
    linear-gradient(180deg, #0b1122 0%, var(--ink) 60%, #090d1a 100%);
  color: #eef2fb;
}
/* Selo de protocolo — motivo ambiental (eco de .auth-seal del producto) */
.hero__seal {
  position: absolute; top: -14rem; right: -12rem; width: 46rem; height: 46rem;
  border-radius: 50%; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at center,
    rgba(198,161,91,.16) 0, rgba(198,161,91,.16) 1.4px,
    transparent 1.4px, transparent 34px);
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 75%);
          mask-image: radial-gradient(circle at center, #000 55%, transparent 75%);
}
.hero__grid-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
}
.hero__eyebrow { color: var(--brass); margin-bottom: 1.4rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.05rem);
  line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--brass-bright); }
.hero__sub { margin-top: 1.5rem; max-width: 34rem; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); color: var(--mist); line-height: 1.62; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }
.hero__cred { margin-top: 1.4rem; }

/* Ventana con captura real */
.window {
  border-radius: 14px; overflow: hidden;
  background: #0c1426;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
}
.window__bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.95rem; background: #0e1730;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.window__dots { display: flex; gap: 0.4rem; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window__addr {
  margin-left: 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.window img { width: 100%; height: auto; }
.hero__figure { position: relative; }
/* Chip flotante sobre la captura */
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.8rem; border-radius: 12px;
  background: rgba(255,255,255,.96); box-shadow: var(--shadow-md);
  font-size: 0.82rem; font-weight: 600; color: var(--navy-900);
  border: 1px solid rgba(15,23,42,.06);
}
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.float-chip--tl { top: -0.9rem; left: -0.9rem; }
.float-chip--br { bottom: -0.9rem; right: -0.7rem; }

.trustline {
  position: relative; z-index: 1;
  border-top: 1px solid var(--ink-line);
  padding-block: 1.5rem;
}
.trustline__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.6rem; }
.trustline p { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist-dim); font-weight: 600; }
.trustline ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.trustline li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--mist); }
.trustline li svg { width: 16px; height: 16px; color: var(--brass); flex: 0 0 auto; }

/* ── Problema ─────────────────────────────────────────────────────────── */
.problem { background: var(--paper); }
.problem__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.problem__body { max-width: 40rem; }
.problem__body .h2 { margin-bottom: 1.2rem; }
.problem__body .h2 em { font-style: italic; color: var(--brass-2); }
.problem__body p { color: var(--slate); font-size: 1.05rem; }
/* Método actual: herramientas deslucidas/tachadas */
.old-way { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.8rem; }
.old-way__title { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.old-tools { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.old-tool {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.8rem; border-radius: 9px;
  background: var(--paper-2); border: 1px dashed rgba(71,86,111,.32);
  color: var(--muted); font-size: 0.88rem; font-weight: 500;
  text-decoration: line-through; text-decoration-color: rgba(220,38,38,.55);
}
.old-tool svg { width: 15px; height: 15px; text-decoration: none; }

.symptoms { display: grid; gap: 0.9rem; }
.symptom {
  background: var(--card); border: 1px solid var(--paper-2); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
  position: relative;
}
.symptom__n { font-family: var(--font-display); font-size: 0.95rem; color: var(--brass); font-weight: 600; }
.symptom h3 { font-size: 1.08rem; margin: 0.35rem 0 0.5rem; }
.symptom p { font-size: 0.95rem; color: var(--slate); line-height: 1.55; }

/* ── Funcionalidades ──────────────────────────────────────────────────── */
.features { background: var(--ink); color: #eaf0fb; position: relative; overflow: hidden; }
.features .section-head .h2 { color: #fff; }
.features .section-head .h2 em { font-style: italic; color: var(--brass-bright); }
.features__sub { color: var(--mist); }
.feature-grid {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden;
}
.feature {
  background: var(--ink-2);
  padding: 1.7rem 1.55rem;
  transition: background-color .2s ease;
}
.feature:hover { background: var(--ink-raise); }
.feature__ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(198,161,91,.1); border: 1px solid var(--brass-line); color: var(--brass-bright);
  margin-bottom: 1rem;
}
.feature__ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.06rem; color: #fff; margin-bottom: 0.5rem; line-height: 1.25; }
.feature p { font-size: 0.92rem; color: var(--mist); line-height: 1.55; }
.feature__benefit {
  display: block; margin-top: 0.85rem; font-size: 0.83rem; font-weight: 600; color: var(--brass-bright);
  padding-top: 0.7rem; border-top: 1px solid var(--brass-line);
}

/* Feature destacada con captura (portal RSVP) */
.feature-highlight {
  margin-top: 1px;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(1.6rem,1rem+3vw,3.4rem);
  align-items: center;
  background: var(--ink-2);
  border: 1px solid var(--ink-line); border-radius: var(--radius);
  padding: clamp(1.6rem, 1rem + 3vw, 3rem);
  margin-top: 1.1rem;
}
.feature-highlight h3 { color: #fff; font-size: clamp(1.4rem,1.1rem+1.2vw,1.9rem); margin-bottom: 0.8rem; line-height: 1.15; }
.feature-highlight p { color: var(--mist); font-size: 1.02rem; }
.feature-highlight .eyebrow { margin-bottom: 1rem; }
.rsvp-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.rsvp-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); color: #dbe4f5;
}
.rsvp-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.feature-highlight__fig .window { box-shadow: var(--shadow-lg); }

/* ── Cómo funciona ────────────────────────────────────────────────────── */
.how { background: var(--paper); }
.steps { margin-top: 2.8rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.step { position: relative; }
.step__n {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: var(--brass); display: flex; align-items: baseline; gap: 0.5rem;
}
.step__n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--brass-line), transparent); align-self: center; }
.step h3 { font-size: 1.12rem; margin: 1rem 0 0.5rem; }
.step p { font-size: 0.95rem; color: var(--slate); line-height: 1.55; }
.how__figure { margin-top: 3rem; }
.how__figure .window { max-width: 960px; margin-inline: auto; box-shadow: var(--shadow-md); }
.how__figure .window__bar { background: #0e1730; }
.how__cap { text-align: center; margin-top: 1rem; font-size: 0.88rem; color: var(--muted); }

/* ── Confianza ────────────────────────────────────────────────────────── */
.trust { background: var(--ink-2); color: #eaf0fb; position: relative; overflow: hidden; }
.trust__seal {
  position: absolute; bottom: -18rem; left: 50%; transform: translateX(-50%);
  width: 42rem; height: 42rem; border-radius: 50%; pointer-events: none; opacity: .4;
  background: repeating-radial-gradient(circle at center,
    rgba(198,161,91,.14) 0, rgba(198,161,91,.14) 1.3px, transparent 1.3px, transparent 32px);
  -webkit-mask-image: radial-gradient(circle at center, #000 50%, transparent 72%);
          mask-image: radial-gradient(circle at center, #000 50%, transparent 72%);
}
.trust .section-head { position: relative; z-index: 1; }
.trust .section-head .h2 { color: #fff; }
.trust__sub { color: var(--mist); }
.trust-grid { position: relative; z-index: 1; margin-top: 2.6rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.trust-item { padding: 1.4rem 1.2rem; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--ink-line); }
.trust-item__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(198,161,91,.1); border: 1px solid var(--brass-line); color: var(--brass-bright); margin-bottom: 0.9rem; }
.trust-item__ic svg { width: 20px; height: 20px; }
.trust-item h3 { font-size: 0.98rem; color: #fff; margin-bottom: 0.4rem; line-height: 1.25; }
.trust-item p { font-size: 0.86rem; color: var(--mist); line-height: 1.5; }

/* ── Para quién ───────────────────────────────────────────────────────── */
.who { background: var(--paper); }
.who-grid { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.who-card {
  background: var(--card); border: 1px solid var(--paper-2); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.who-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(198,161,91,.4); }
.who-card__ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 1.1rem; }
.who-card__ic svg { width: 22px; height: 22px; }
.who-card h3 { font-size: 1.14rem; margin-bottom: 0.55rem; }
.who-card p { font-size: 0.93rem; color: var(--slate); line-height: 1.55; }

/* ── CTA final ────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 50% -20%, #16213c 0%, var(--ink) 60%);
  color: #eef2fb; text-align: center;
}
.cta__seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40rem; height: 40rem; border-radius: 50%; pointer-events: none; opacity: .45;
  background: repeating-radial-gradient(circle at center,
    rgba(198,161,91,.16) 0, rgba(198,161,91,.16) 1.4px, transparent 1.4px, transparent 30px);
  -webkit-mask-image: radial-gradient(circle at center, #000 45%, transparent 70%);
          mask-image: radial-gradient(circle at center, #000 45%, transparent 70%);
}
.cta__inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.cta .eyebrow { justify-content: center; margin-bottom: 1.3rem; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); line-height: 1.12; text-wrap: balance; }
.cta__body { margin-top: 1.1rem; color: var(--mist); font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 2rem; }
.cta__cred { margin-top: 1.3rem; justify-content: center; }
.cta__contact {
  margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--ink-line);
  font-size: 0.92rem; color: var(--mist); line-height: 1.7;
}
.cta__contact strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.cta__contact a { color: var(--brass-bright); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: #070b16; color: var(--mist); border-top: 1px solid var(--ink-line); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3.2rem; }
.site-footer .wordmark__name { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: var(--mist-dim); max-width: 26rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--mist); font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; color: var(--mist-dim); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-block: 1.4rem; font-size: 0.82rem; color: var(--mist-dim); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }

/* ── Reveal on scroll (progressive enhancement) ──────────────────────────
   El estado oculto SOLO se aplica cuando el JS está activo (.js-anim). Sin JS
   el contenido es plenamente visible: la animación nunca puede dejarlo oculto. */
.reveal { transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.js-anim .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.js-anim .hero__eyebrow, .js-anim .hero h1, .js-anim .hero__sub, .js-anim .hero__cta, .js-anim .hero__cred, .js-anim .hero__figure {
  opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.16,1,.3,1) forwards;
}
.js-anim .hero h1 { animation-delay: .08s; }
.js-anim .hero__sub { animation-delay: .16s; }
.js-anim .hero__cta { animation-delay: .24s; }
.js-anim .hero__cred { animation-delay: .3s; }
.js-anim .hero__figure { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js-anim .reveal:not(.is-in) { opacity: 1; transform: none; transition: none; }
  .js-anim .hero__eyebrow, .js-anim .hero h1, .js-anim .hero__sub,
  .js-anim .hero__cta, .js-anim .hero__cred, .js-anim .hero__figure { opacity: 1; transform: none; animation: none; }
  .btn:hover, .who-card:hover { transform: none; }
}

/* ── Páginas legales ──────────────────────────────────────────────────── */
.legal-hero { background: var(--ink); color: #eef2fb; }
.legal-hero__inner { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.legal-hero h1 { color: #fff; font-size: clamp(2rem,1.5rem+2vw,3rem); }
.legal-hero .eyebrow { margin-bottom: 1rem; }
.legal-body { background: var(--paper); }
.legal-body__inner { max-width: 760px; margin-inline: auto; padding-block: var(--pad-y); }
.legal-body h2 { font-size: 1.4rem; margin: 2.4rem 0 0.9rem; padding-top: 1.6rem; border-top: 1px solid var(--paper-2); }
.legal-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 1.6rem 0 0.6rem; }
.legal-body p { margin-bottom: 1rem; color: var(--slate); }
.legal-body ul { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--slate); }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body strong { color: var(--navy-900); }
.legal-body a { word-break: break-word; }
.legal-updated { margin-top: 2.4rem; font-size: 0.88rem; color: var(--muted); font-style: italic; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.4rem; font-size: 0.9rem; color: var(--mist); font-weight: 500; }
.back-link:hover { color: #fff; text-decoration: none; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero__figure { order: 2; }
  .problem__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .feature-highlight { grid-template-columns: 1fr; }
  .feature-highlight__fig { order: -1; }
  .float-chip { font-size: 0.76rem; padding: 0.42rem 0.65rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .header-cta .btn--ghost { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .step__n::after { display: none; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 auto; }
  .float-chip--tl { top: -0.6rem; left: -0.4rem; }
  .float-chip--br { bottom: -0.6rem; right: -0.3rem; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
}
