/* SEO landing pages: /calendario /grupos /sedes /reglas + /en/* equivalentes.
   Comparten layout, tipografía y colores con la home pero más liviano —
   sin Matter.js, sin GSAP, sin Lenis, sin Supabase. Static-first. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
  background: var(--brand-navy-alt, #0c1620);
  color: var(--brand-off-white, #f8f9fa);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

/* ─── NAV ─── */
.seo-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 22, 32, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.seo-nav__brand {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--brand-off-white, #f8f9fa);
  text-decoration: none;
  text-transform: uppercase;
}
.seo-nav__brand strong { color: var(--brand-green, #5cc971); font-weight: 900; }
.seo-nav__links {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.seo-nav__link {
  color: rgba(248, 249, 250, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.seo-nav__link:hover { color: var(--brand-off-white, #f8f9fa); }
.seo-nav__link.is-active {
  color: var(--brand-navy-alt, #0c1620);
  background: var(--brand-green, #5cc971);
}
/* Lang switch pill: toggle ES/EN. Match al peso visual del link nav. */
.seo-nav__langswitch {
  background: transparent;
  border: 1px solid rgba(248, 249, 250, 0.3);
  color: var(--brand-off-white, #f8f9fa);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.seo-nav__langswitch:hover {
  border-color: var(--brand-green, #5cc971);
  background: rgba(92, 201, 113, 0.1);
}
.seo-nav__cta {
  background: var(--brand-electric-blue, #0055ff);
  color: var(--brand-off-white, #f8f9fa);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.15s ease;
}
.seo-nav__cta:hover { background: #003ec4; }

/* ─── MAIN ─── */
.seo-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.seo-h1 {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.seo-h1 em {
  font-style: normal;
  color: var(--brand-green, #5cc971);
}
.seo-lede {
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(248, 249, 250, 0.85);
  max-width: 720px;
  margin: 0 0 32px;
}
.seo-h2 {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3vw, 40px);
  margin: 56px 0 16px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  border-bottom: 2px solid var(--brand-green, #5cc971);
  padding-bottom: 8px;
}
.seo-h3 {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 22px;
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.seo-p {
  font-size: 16px;
  max-width: 720px;
  margin: 0 0 16px;
  color: rgba(248, 249, 250, 0.9);
}
.seo-p strong { color: var(--brand-off-white, #f8f9fa); }
.seo-p a { color: var(--brand-green, #5cc971); text-decoration: underline; text-underline-offset: 3px; }

/* ─── KPIs at top ─── */
.seo-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0 40px;
}
.seo-kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
}
.seo-kpi__n {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--brand-green, #5cc971);
}
.seo-kpi__l {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(248, 249, 250, 0.65);
  margin-top: 4px;
}

/* ─── CALENDARIO ─── */
.seo-day { margin-top: 28px; }
.seo-day__h {
  font-family: "FWC2026", sans-serif;
  font-weight: 500;
  font-stretch: 50%;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--brand-yellow, #ffc400);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(255, 196, 0, 0.3);
}
.seo-match {
  display: grid;
  grid-template-columns: 60px 1fr 60px 1fr 110px;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  scroll-margin-top: 80px;
}
.seo-match:hover { background: rgba(255, 255, 255, 0.03); }
.seo-match:target {
  background: rgba(92, 201, 113, 0.12);
  outline: 1px solid var(--brand-green, #5cc971);
}
.seo-match__time {
  font-family: "DM Mono", "Courier New", monospace;
  font-size: 13px;
  color: rgba(248, 249, 250, 0.7);
}
.seo-match__team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.seo-match__team--away {
  flex-direction: row-reverse;
  text-align: right;
  justify-content: flex-start;
}
.seo-match__flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  flex-shrink: 0;
}
.seo-match__flag--placeholder {
  width: 28px;
  height: 21px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
}
.seo-match__vs {
  text-align: center;
  color: rgba(248, 249, 250, 0.5);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.seo-match__stage {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 249, 250, 0.55);
  text-align: right;
}
@media (max-width: 720px) {
  .seo-match {
    grid-template-columns: 50px 1fr 40px 1fr;
    gap: 8px;
    padding: 12px 6px;
    font-size: 14px;
  }
  .seo-match__time { font-size: 12px; }
  .seo-match__stage { display: none; }
  .seo-match__flag, .seo-match__flag--placeholder { width: 22px; height: 16px; }
}

/* ─── GRUPOS ─── */
.seo-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.seo-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 22px;
  transition: border-color 0.15s ease;
  scroll-margin-top: 80px;
}
.seo-group:hover { border-color: rgba(92, 201, 113, 0.4); }
.seo-group:target {
  border-color: var(--brand-green, #5cc971);
  background: rgba(92, 201, 113, 0.08);
}
.seo-group__h {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--brand-green, #5cc971);
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.seo-group__h-label {
  display: block;
  font-family: "Noto Sans", sans-serif;
  font-size: 11px;
  color: rgba(248, 249, 250, 0.55);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.seo-group__sub {
  font-size: 11px;
  color: rgba(248, 249, 250, 0.5);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 4px 0 14px;
  font-family: "Noto Sans", sans-serif;
}
.seo-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seo-group__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.seo-group__item:last-child { border-bottom: 0; }
.seo-group__flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ─── SEDES ─── */
.seo-country { margin: 24px 0 32px; }
.seo-country__h {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 28px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.seo-country__sub {
  font-size: 14px;
  color: rgba(248, 249, 250, 0.6);
  margin: 0 0 16px;
}
.seo-stadiums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.seo-stadium {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 18px;
}
.seo-stadium__city {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.seo-stadium__state {
  font-size: 12px;
  color: rgba(248, 249, 250, 0.55);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seo-stadium__name {
  font-size: 14px;
  margin: 0 0 8px;
}
.seo-stadium__name strong { color: var(--brand-yellow, #ffc400); }
.seo-stadium__cap, .seo-stadium__role {
  font-size: 12px;
  color: rgba(248, 249, 250, 0.65);
  margin: 0;
}

/* ─── REGLAS ─── */
.seo-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.seo-point {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
}
.seo-point__n {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--brand-green, #5cc971);
}
.seo-point__l {
  font-size: 13px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(248, 249, 250, 0.8);
}
.seo-rules-list {
  font-size: 16px;
  line-height: 1.8;
  margin: 16px 0;
  padding-left: 24px;
}
.seo-rules-list li { margin-bottom: 8px; }
.seo-rules-list strong { color: var(--brand-yellow, #ffc400); }

/* ─── FAQ accordion (native <details>) ─── */
.seo-faq { margin-top: 40px; }
.seo-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}
.seo-faq__item:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.seo-faq__q {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--brand-off-white, #f8f9fa);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  transition: color 0.15s ease;
}
.seo-faq__q::-webkit-details-marker { display: none; }
.seo-faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--brand-green, #5cc971);
  transition: transform 0.2s ease;
}
.seo-faq__item[open] .seo-faq__q::after {
  content: "−";
  transform: translateY(-50%) rotate(0);
}
.seo-faq__item[open] .seo-faq__q { color: var(--brand-green, #5cc971); }
.seo-faq__q:hover { color: var(--brand-green, #5cc971); }
.seo-faq__a {
  padding-top: 12px;
  font-size: 15px;
  color: rgba(248, 249, 250, 0.85);
  line-height: 1.7;
  max-width: 720px;
}
.seo-faq__a a { color: var(--brand-green, #5cc971); text-decoration: underline; text-underline-offset: 3px; }

/* ─── CTA banner ─── */
.seo-cta {
  background: var(--brand-electric-blue, #0055ff);
  color: var(--brand-off-white, #f8f9fa);
  padding: 64px 24px 80px;
  text-align: center;
}
.seo-cta__h {
  font-family: "FWC2026", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.seo-cta__lede {
  font-size: 16px;
  margin: 0 0 28px;
  opacity: 0.92;
}
.seo-cta__btn {
  display: inline-block;
  background: var(--brand-off-white, #f8f9fa);
  color: var(--brand-electric-blue, #0055ff);
  padding: 18px 36px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.seo-cta__btn:hover {
  background: var(--brand-green, #5cc971);
  color: var(--brand-navy-alt, #0c1620);
  transform: translateY(-2px);
}

/* ─── Footer ─── */
.seo-footer {
  background: #050a0f;
  padding: 32px 24px;
  font-size: 13px;
  color: rgba(248, 249, 250, 0.65);
  text-align: center;
}
.seo-footer__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.seo-footer__links a {
  color: rgba(248, 249, 250, 0.75);
  text-decoration: none;
  font-weight: 500;
}
.seo-footer__links a:hover { color: var(--brand-off-white, #f8f9fa); }
.seo-footer p { margin: 0; }
.seo-footer p a { color: var(--brand-green, #5cc971); text-decoration: none; }
.seo-footer p a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .seo-nav { padding: 12px 16px; gap: 12px; }
  .seo-nav__links { flex: 1 1 100%; order: 3; }
  .seo-main { padding: 32px 16px 48px; }
  .seo-h2 { margin-top: 40px; }
}
