/* =============================================================================
   web.css — Hoja de estilo de la web pública de OpoTestApp
   -----------------------------------------------------------------------------
   Diseño limpio y moderno, mobile-first. Variables CSS para customizar paleta
   sin tocar declaraciones. Sin frameworks externos.
   ============================================================================= */

/* ---------- Reset suave ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Tokens --------------------------------------------------------- */
:root {
  --c-bg:           #f6f8fb;
  --c-surface:      #ffffff;
  --c-surface-alt:  #f0f3f8;
  --c-border:       #e3e8ef;
  --c-border-strong:#cfd6e0;
  --c-text:         #0f172a;
  --c-text-soft:    #475569;
  --c-text-muted:   #64748b;

  --c-primary:      #2962ff;
  --c-primary-600:  #1e4fdc;
  --c-primary-700:  #173db8;
  --c-primary-50:   #eaf0ff;
  --c-primary-100:  #d3e0ff;

  --c-accent:       #ff9d00;
  --c-success:      #16a34a;
  --c-danger:       #dc2626;

  --grad-hero: radial-gradient(circle at 15% 0%, #d3e0ff 0%, transparent 55%),
               radial-gradient(circle at 100% 30%, #ffe6cc 0%, transparent 60%),
               linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);

  --ff-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: var(--ff-body);

  --fs-xs:  12px;  --fs-sm:  14px;  --fs-md:  16px;  --fs-lg:  18px;
  --fs-xl:  22px;  --fs-2xl: 28px;  --fs-3xl: 36px;  --fs-4xl: 48px;

  --sp-1:  4px;  --sp-2:  8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .06);

  --container-w: 1140px;
}

/* ---------- Base ----------------------------------------------------------- */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
@media (min-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
}

p { margin: 0 0 var(--sp-4); }
.lead { font-size: var(--fs-lg); color: var(--c-text-soft); }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-700); text-decoration: underline; }

code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--c-surface-alt);
  padding: 0.15em 0.4em;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
}

hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--sp-8) 0; }

/* ---------- Container ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 var(--sp-5); }
.container--narrow { max-width: 820px; }
.container--tight  { max-width: 640px; }

/* ---------- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); height: 68px;
}
.site-brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-weight: 800; color: var(--c-text); text-decoration: none;
  font-size: var(--fs-lg);
}
.site-brand:hover { text-decoration: none; color: var(--c-text); }
.site-brand__logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  background: var(--c-surface);
}
.site-brand__logo.is-broken { display: none; }
.site-brand__name { letter-spacing: -0.02em; }

.site-nav { display: none; gap: var(--sp-6); }
.site-nav a {
  color: var(--c-text-soft); font-weight: 500; font-size: var(--fs-sm);
  padding: var(--sp-2) var(--sp-1);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--c-primary); text-decoration: none; }
.site-nav a.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

.site-cta { display: flex; gap: var(--sp-2); align-items: center; }
@media (min-width: 768px) { .site-nav { display: inline-flex; } }

/* ---------- Botones -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm);
  cursor: pointer; text-decoration: none;
  transition: transform .12s, box-shadow .15s, background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-border-strong); }
.btn--ghost:hover { background: var(--c-surface-alt); color: var(--c-text); }
.btn--accent { background: var(--c-accent); color: #1a1300; }
.btn--accent:hover { background: #e88c00; color: #1a1300; }
.btn--lg { padding: var(--sp-4) var(--sp-6); font-size: var(--fs-md); border-radius: 12px; }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-xs); }
.btn[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* Store badges */
.store-btn {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: 10px 18px;
  background: #0f172a; color: #fff;
  border-radius: 12px; text-decoration: none;
  border: 1px solid #0f172a;
  transition: background-color .15s, transform .12s;
  min-width: 180px;
}
.store-btn:hover { background: #1e293b; color: #fff; text-decoration: none; transform: translateY(-1px); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__small { font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: 0.04em; }
.store-btn__big { font-size: 17px; font-weight: 700; }

/* ---------- Secciones ------------------------------------------------------ */
.page-section { padding: var(--sp-16) 0; }
@media (min-width: 768px) { .page-section { padding: var(--sp-20) 0; } }

.section-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: var(--fs-xs); font-weight: 700; color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.section-title { margin-bottom: var(--sp-3); }
.section-sub { color: var(--c-text-soft); font-size: var(--fs-lg); max-width: 60ch; margin: 0 auto var(--sp-12); }
.section-head { text-align: center; margin-bottom: var(--sp-12); }

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  background: var(--grad-hero);
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative; overflow: hidden;
}
.hero__inner {
  display: grid; gap: var(--sp-10);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: var(--sp-24) 0 var(--sp-20); }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: var(--sp-12); }
}
.hero__title {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(41,98,255,.18) 60%);
  padding: 0 4px;
}
.hero__sub { font-size: var(--fs-lg); color: var(--c-text-soft); max-width: 60ch; margin-bottom: var(--sp-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.hero__trust { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; color: var(--c-text-muted); font-size: var(--fs-sm); }
.hero__trust strong { color: var(--c-text); font-weight: 700; }
.hero__visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup { width: 100%; max-width: 360px; filter: drop-shadow(0 30px 50px rgba(15,23,42,.18)); }

/* ---------- Stats banner --------------------------------------------------- */
.stats-band {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-8) 0;
}
.stats-band__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6);
  text-align: center;
}
@media (min-width: 768px) { .stats-band__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-size: var(--fs-3xl); font-weight: 800; color: var(--c-primary);
  letter-spacing: -0.02em; line-height: 1;
}
.stat__label { font-size: var(--fs-sm); color: var(--c-text-muted); margin-top: var(--sp-2); }

/* ---------- Cards (features) ---------------------------------------------- */
.card-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card p { color: var(--c-text-soft); margin: 0; }

.feature-card { text-align: left; }
.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-4);
}

/* ---------- Steps "¿Cómo funciona?" --------------------------------------- */
.steps-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 720px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  padding-top: var(--sp-10);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 36px; height: 36px;
  background: var(--c-primary); color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-md);
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { color: var(--c-text-soft); margin: 0; font-size: var(--fs-sm); }

/* ---------- Sample question ----------------------------------------------- */
.sample {
  background: linear-gradient(180deg, var(--c-surface-alt) 0%, var(--c-bg) 100%);
}
.sample__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  max-width: 720px; margin: 0 auto;
}
@media (min-width: 768px) { .sample__card { padding: var(--sp-10); } }
.sample__meta {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--c-text-muted);
  margin-bottom: var(--sp-5); align-items: center;
}
.sample__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-primary-50); color: var(--c-primary-700);
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.sample__pregunta { font-size: var(--fs-lg); font-weight: 600; color: var(--c-text); margin-bottom: var(--sp-6); line-height: 1.4; }
.sample__opciones { list-style: none; padding: 0; margin: 0 0 var(--sp-6); display: grid; gap: var(--sp-3); }
.sample__opcion {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4); border: 1px solid var(--c-border); border-radius: var(--r-md);
  background: var(--c-surface);
  transition: border-color .15s, background-color .15s;
}
.sample__opcion:hover { border-color: var(--c-primary); background: var(--c-primary-50); }
.sample__letra {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--c-surface-alt); color: var(--c-text-soft);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-sm);
}
.sample__footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-3);
  padding-top: var(--sp-5); border-top: 1px solid var(--c-border);
}
.sample__hint { color: var(--c-text-muted); font-size: var(--fs-sm); margin: 0; }
.sample.is-loading .sample__pregunta,
.sample.is-loading .sample__opciones { opacity: .4; }

/* ---------- Testimonios ---------------------------------------------------- */
.testimonios__grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonio {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin: 0;
}
.testimonio p { font-size: var(--fs-md); color: var(--c-text); margin-bottom: var(--sp-4); }
.testimonio footer { color: var(--c-text-muted); font-size: var(--fs-sm); }

/* ---------- FAQ ----------------------------------------------------------- */
.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-3);
  transition: border-color .15s;
}
.faq__item[open] { border-color: var(--c-primary-100); }
.faq__item summary {
  cursor: pointer; font-weight: 600; color: var(--c-text);
  list-style: none; position: relative;
  padding-right: var(--sp-8);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-surface-alt); color: var(--c-text-soft);
  transition: transform .15s, background-color .15s;
  font-size: 18px; line-height: 1;
}
.faq__item[open] summary::after { content: '−'; background: var(--c-primary-50); color: var(--c-primary); }
.faq__item .prose { padding-top: var(--sp-3); color: var(--c-text-soft); }

/* ---------- Plans (precios) ----------------------------------------------- */
.precios__grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: var(--sp-8) 0;
}
.plan {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan--destacado { border-color: var(--c-primary); border-width: 2px; box-shadow: var(--shadow-md); }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--c-primary); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700;
}
.plan__nombre { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.plan__precio { display: flex; align-items: baseline; gap: 4px; margin: var(--sp-3) 0 var(--sp-2); }
.plan__importe { font-size: var(--fs-3xl); font-weight: 800; color: var(--c-text); letter-spacing: -0.02em; }
.plan__moneda  { font-size: var(--fs-md); color: var(--c-text-soft); }
.plan__periodo { font-size: var(--fs-sm); color: var(--c-text-muted); }
.plan__descuento {
  display: inline-block;
  background: var(--c-success); color: #fff;
  padding: 2px 8px; border-radius: var(--r-sm);
  font-size: var(--fs-xs); font-weight: 700;
  margin-bottom: var(--sp-3);
}
.plan__desc { color: var(--c-text-soft); font-size: var(--fs-sm); margin: 0 0 var(--sp-4); }
.plan__features { list-style: none; padding: 0; margin: 0 0 var(--sp-6); }
.plan__features li {
  position: relative; padding-left: var(--sp-6); margin-bottom: var(--sp-2);
  color: var(--c-text-soft); font-size: var(--fs-sm);
}
.plan__features li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-primary-50); color: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-xs);
}
.plan__cta { margin-top: auto; }

.aviso-precios {
  background: var(--c-surface-alt);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  color: var(--c-text-soft); font-size: var(--fs-sm);
  margin-top: var(--sp-8);
}

/* ---------- CTA final ----------------------------------------------------- */
.cta-final {
  text-align: center;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-700) 100%);
  color: #fff;
  padding: var(--sp-16) 0;
}
.cta-final h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-final p  { color: rgba(255,255,255,.9); max-width: 520px; margin: 0 auto var(--sp-8); }
.cta-final .hero__ctas { justify-content: center; }
.cta-final .store-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.cta-final .store-btn:hover { background: rgba(255,255,255,.22); }

/* ---------- Páginas legales ----------------------------------------------- */
.legal-doc h1 { margin-bottom: var(--sp-3); }
.legal-meta { color: var(--c-text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-8); }

.legal-toc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-10);
}
.legal-toc__title { font-size: var(--fs-md); margin: 0 0 var(--sp-3); color: var(--c-text); }
.legal-toc ol { margin: 0; padding-left: var(--sp-6); columns: 1; }
@media (min-width: 768px) { .legal-toc ol { columns: 2; column-gap: var(--sp-8); } }
.legal-toc li { margin-bottom: var(--sp-2); break-inside: avoid; }
.legal-toc a { color: var(--c-text-soft); }
.legal-toc a:hover { color: var(--c-primary); }

.legal-section {
  scroll-margin-top: 90px;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--c-border);
}
.legal-section:last-of-type { border-bottom: 0; }
.legal-section h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }

.token-pendiente {
  background: #fff7e6; color: #b45309;
  padding: 1px 6px; border-radius: var(--r-sm);
  font-size: 0.9em;
}

/* ---------- Prose ---------------------------------------------------------- */
.prose { color: var(--c-text); line-height: 1.75; }
.prose p { margin: 0 0 var(--sp-4); }
.prose h2, .prose h3, .prose h4 { margin-top: var(--sp-8); }
.prose ul, .prose ol { padding-left: var(--sp-6); margin: 0 0 var(--sp-4); }
.prose li { margin-bottom: var(--sp-2); }
.prose strong { font-weight: 700; }
.prose a { color: var(--c-primary); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.prose blockquote {
  border-left: 4px solid var(--c-primary-100);
  padding-left: var(--sp-5); margin: var(--sp-6) 0;
  color: var(--c-text-soft); font-style: italic;
}

/* ---------- 404 ------------------------------------------------------------ */
.page-404 { padding: var(--sp-24) 0; }
.page-404__inner { text-align: center; }
.page-404__code {
  font-size: clamp(120px, 22vw, 200px);
  font-weight: 900; line-height: 1; color: var(--c-primary-100);
  margin: 0 0 var(--sp-3); letter-spacing: -0.04em;
}
.page-404 h1 { margin-bottom: var(--sp-4); }
.page-404__ctas { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; margin: var(--sp-8) 0; }
.page-404__links { list-style: none; padding: 0; display: flex; gap: var(--sp-5); justify-content: center; flex-wrap: wrap; }

.contact-email { font-size: var(--fs-lg); }
.contact-email a { font-weight: 600; }

/* ---------- Cookie banner --------------------------------------------------- */
.cookie-banner {
  position: fixed; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  z-index: 100;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
  max-width: 560px; margin: 0 auto;
}
@media (min-width: 768px) { .cookie-banner { flex-direction: row; align-items: center; } }
.cookie-banner p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-soft); }
.cookie-banner .btn { white-space: nowrap; }
.cookie-banner[hidden] { display: none; }

/* ---------- Footer --------------------------------------------------------- */
.site-footer {
  background: #0f172a; color: #cbd5e1;
  padding: var(--sp-16) 0 var(--sp-8);
  margin-top: var(--sp-20);
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer__grid {
  display: grid; gap: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer__brand { font-weight: 800; color: #fff; font-size: var(--fs-lg); margin-bottom: var(--sp-3); display:flex; align-items:center; gap:var(--sp-2); }
.footer__claim { color: #94a3b8; font-size: var(--fs-sm); max-width: 32ch; }
.footer__col h4 {
  color: #fff; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.footer__bottom {
  border-top: 1px solid #1e293b;
  margin-top: var(--sp-12); padding-top: var(--sp-6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-3);
  font-size: var(--fs-xs); color: #64748b;
}

/* ---------- Utilidades ---------------------------------------------------- */
.text-center { text-align: center; }
.ws-muted { color: var(--c-text-muted); }
.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;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
