/* ─── SEO CONTENT PAGES ─────────────────────────────────────────────────────── */
/* Estilos de las páginas de contenido (countdown para fiestas, quizzes, etc.).
   Reutilizan los tokens y las primitivas de style.css: no se redefinen colores
   ni botones, solo se compone la maquetación de la página. */

/* La app es un lienzo a pantalla completa (body con height:100vh y overflow
   hidden). Las páginas de contenido necesitan scroll normal. */
html {
  background-color: var(--bg);
}

body.seo-body {
  height: auto;
  min-height: 100%;
  overflow: visible;
  display: block;
  /* El degradado lo pinta la capa fija de abajo, no el body: en una página
     larga el fondo del body se corta al hacer scroll. */
  background-image: none;
  background-color: transparent;
}

/* Capa de fondo fija a la ventana. El degradado acompaña siempre al scroll y
   cubre la pantalla entera, igual que en la app, pero sin los problemas de
   background-attachment: fixed en navegadores móviles. */
body.seo-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 58%,
      #27446e 0%,
      #1a2f52 22%,
      #10223d 42%,
      #09152b 68%,
      #040a16 100%);
  background-repeat: no-repeat;
}

body.seo-body a {
  color: #F5B201;
}

body.seo-body a:hover {
  color: #ffdd00;
}

/* Los botones y el logo llevan su propio color, pero la regla genérica de
   enlaces de arriba tiene más especificidad. Estas la ganan. */
body.seo-body a.seo-brand {
  color: #f8fafc;
}

body.seo-body a.seo-brand:hover {
  color: #F5B201;
}

body.seo-body a.seo-nav-link {
  color: #f8fafc;
}

body.seo-body a.seo-nav-link:hover {
  color: #F5B201;
}

body.seo-body a.seo-nav-link-primary {
  color: #0f172a;
}

body.seo-body a.seo-nav-link-primary:hover {
  color: #0f172a;
}

body.seo-body a.seo-btn {
  color: #f0eaff;
}

body.seo-body a.seo-btn:hover {
  color: #f0eaff;
}

body.seo-body a.seo-btn-primary {
  color: #0f172a;
}

body.seo-body a.seo-btn-primary:hover {
  color: #0f172a;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────────── */
.seo-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 8, 20, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--border);
}

.seo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f8fafc;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.seo-brand:hover {
  color: #F5B201;
}

.seo-brand span[aria-hidden] {
  font-size: 26px;
}

.seo-brand-accent {
  color: #F5B201;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.08);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.seo-nav-link:hover {
  background: rgba(248, 250, 252, 0.12);
  color: #F5B201;
}

.seo-nav-link .ti {
  font-size: 18px;
  line-height: 1;
}

.seo-nav-link-primary {
  background: #F5B201;
  color: #0f172a;
}

.seo-nav-link-primary:hover {
  background: #ffdd00;
  color: #0f172a;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────────── */
.seo-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.seo-section {
  padding: 34px 0;
  border-top: 3px solid rgba(58, 42, 96, 0.7);
}

.seo-section:first-of-type {
  border-top: none;
}

.seo-eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F5B201;
  margin-bottom: 10px;
}

.seo-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.03em;
  color: #f8fafc;
  margin-bottom: 18px;
}

.seo-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f8fafc;
  margin-bottom: 16px;
}

.seo-h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #F5B201;
  margin: 26px 0 10px;
}

.seo-lead {
  font-size: 19px;
  line-height: 1.6;
  color: #d8d2ee;
  max-width: 68ch;
}

.seo-p {
  font-size: 17px;
  line-height: 1.7;
  color: #cfc8e8;
  max-width: 68ch;
  margin-bottom: 16px;
}

.seo-p strong,
.seo-li strong {
  color: #f8fafc;
}

.seo-ul,
.seo-ol {
  font-size: 17px;
  line-height: 1.7;
  color: #cfc8e8;
  max-width: 68ch;
  margin: 0 0 18px;
  padding-left: 22px;
}

.seo-ul li,
.seo-ol li {
  margin-bottom: 9px;
}

.seo-li::marker {
  color: #F5B201;
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.seo-hero {
  padding: 56px 0 40px;
}

.seo-hero .seo-p {
  margin-bottom: 24px;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: rgba(15, 10, 30, 0.97);
  color: #f0eaff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: #f0eaff;
}

.seo-btn .ti {
  font-size: 20px;
  line-height: 1;
}

.seo-btn-primary {
  background: #F5B201;
  border-color: #F5B201;
  color: #0f172a;
}

.seo-btn-primary:hover {
  color: #0f172a;
}

.seo-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-fact {
  padding: 16px 18px;
  background: rgba(15, 10, 30, 0.72);
  border: 3px solid var(--border);
  border-radius: var(--radius);
}

.seo-fact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: #F5B201;
  margin-bottom: 6px;
}

.seo-fact-text {
  font-size: 15px;
  line-height: 1.55;
  color: #cfc8e8;
}

/* ─── TABLA ──────────────────────────────────────────────────────────────────── */
.seo-table-wrap {
  overflow-x: auto;
  margin: 8px 0 20px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 460px;
}

.seo-table th,
.seo-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 2px solid rgba(58, 42, 96, 0.8);
  color: #cfc8e8;
  vertical-align: top;
}

.seo-table thead th {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: #f8fafc;
  text-transform: uppercase;
}

.seo-table tbody tr:nth-child(odd) {
  background: rgba(248, 250, 252, 0.03);
}

/* ─── PASOS ──────────────────────────────────────────────────────────────────── */
.seo-steps {
  counter-reset: seo-step;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  max-width: 68ch;
}

.seo-steps li {
  counter-increment: seo-step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: #cfc8e8;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5B201;
  color: #0f172a;
  border-radius: 50%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.seo-faq-list {
  max-width: 68ch;
}

.seo-faq-item {
  padding: 18px 0;
  border-bottom: 2px solid rgba(58, 42, 96, 0.7);
}

.seo-faq-item:first-child {
  border-top: 2px solid rgba(58, 42, 96, 0.7);
}

.seo-faq-q {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #f8fafc;
  margin-bottom: 8px;
}

.seo-faq-a {
  font-size: 16.5px;
  line-height: 1.65;
  color: #cfc8e8;
}

/* ─── CALL OUT ───────────────────────────────────────────────────────────────── */
.seo-callout {
  padding: 20px 22px;
  margin: 22px 0;
  background: rgba(245, 178, 1, 0.08);
  border-left: 5px solid #F5B201;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.seo-callout p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #f0eaff;
  max-width: 66ch;
}

/* ─── TARJETAS DE HERRAMIENTAS ───────────────────────────────────────────────── */
.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 6px 0 20px;
  padding: 0;
  list-style: none;
}

.seo-card {
  display: block;
  padding: 18px;
  background: rgba(15, 10, 30, 0.72);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.seo-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #F5B201;
  margin-bottom: 6px;
}

.seo-card-text {
  font-size: 15px;
  line-height: 1.55;
  color: #cfc8e8;
}

/* ─── SUPPORT ────────────────────────────────────────────────────────────────── */
.seo-support {
  margin: 40px 0 0;
  padding: 30px 26px;
  background: rgba(15, 10, 30, 0.85);
  border: 3px solid var(--border);
  border-radius: var(--radius);
}

.seo-support-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 0.05em;
  color: #f8fafc;
  margin-bottom: 10px;
}

.seo-support-intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: #cfc8e8;
  max-width: 68ch;
  margin-bottom: 22px;
}

.seo-support-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.seo-support-banner {
  display: block;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-support-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.seo-support-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-support-subtitle {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5B201;
  margin-bottom: 6px;
}

.seo-support-note {
  font-size: 15px;
  line-height: 1.6;
  color: #cfc8e8;
  max-width: 68ch;
  margin-bottom: 18px;
}

.seo-support-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-support-link {
  display: block;
  padding: 14px 16px;
  background: rgba(248, 250, 252, 0.05);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.seo-support-link:hover {
  transform: translateY(-2px);
  background: rgba(248, 250, 252, 0.1);
}

.seo-support-link-name {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 21px;
  letter-spacing: 0.05em;
  color: #f8fafc;
}

.seo-support-link:hover .seo-support-link-name {
  color: #F5B201;
}

.seo-support-link-description {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #a9a2c6;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.seo-footer {
  border-top: 3px solid var(--border);
  padding: 30px 20px 46px;
}

.seo-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 16px;
}

.seo-footer-link {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #cfc8e8;
}

.seo-footer-link:hover {
  color: #F5B201;
}

.seo-footer-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: #8f88ad;
  max-width: 70ch;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .seo-header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .seo-brand {
    font-size: 21px;
  }

  .seo-nav-link {
    height: 34px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .seo-main {
    padding: 0 16px 60px;
  }

  .seo-hero {
    padding: 34px 0 26px;
  }

  .seo-lead {
    font-size: 17px;
  }

  .seo-p,
  .seo-ul,
  .seo-ol,
  .seo-steps li {
    font-size: 16px;
  }

  .seo-support {
    padding: 22px 16px;
  }

  .seo-btn {
    padding: 12px 16px;
    font-size: 12px;
  }
}
