/* ============================================================
   TRAVELLING FANS FORUM - WORLD CUP 2026 TRAVEL COMPANION
   Editorial sports magazine aesthetic.
   ============================================================ */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font-family: inherit; }

/* ---------- 2. TOKENS ---------- */
:root {
  --bg: #0a0e0c;
  --bg-elev: #131815;
  --bg-elev-2: #1c221e;
  --pitch: #2d7a3e;
  --pitch-bright: #4ea863;
  --pitch-deep: #1f5429;
  --accent: #f4ce42;
  --accent-warm: #e85d3d;
  --accent-cool: #4cc9f0;
  --cream: #f4f1e8;
  --cream-dim: #b8b5ab;
  --muted: #7a7a72;
  --border: rgba(244, 241, 232, 0.12);
  --border-strong: rgba(244, 241, 232, 0.28);

  --display: 'Anton', 'Bebas Neue', Impact, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'Space Mono', 'JetBrains Mono', monospace;

  --max: 1320px;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

/* ---------- 3. TYPOGRAPHY ---------- */
.display, h1.display, h2.display, h3.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.92;
  text-transform: uppercase;
}
h1.display { font-size: clamp(3rem, 11vw, 9.5rem); }
h2.display { font-size: clamp(2.5rem, 7vw, 5.75rem); }
h3.display { font-size: clamp(1.75rem, 4vw, 3rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--cream { color: var(--cream-dim); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--cream-dim);
  max-width: 60ch;
}

p { color: var(--cream-dim); }
p strong, b { color: var(--cream); font-weight: 700; }
em { color: var(--accent); font-style: normal; }

.mono { font-family: var(--mono); }

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.section-head h2 { max-width: 18ch; }
.section-head .meta { text-align: right; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em; }
.section-head .meta strong { display: block; color: var(--accent); font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 0.25rem; }

.grid { display: grid; gap: 1.5rem; }

/* ---------- 5. TOP BAR + NAV ---------- */
.topbar {
  background: var(--accent);
  color: #0a0e0c;
  padding: 0.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid #000;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar .marquee-track { gap: 3rem; }
.topbar .marquee-track span { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar .dot { width: 5px; height: 5px; background: #0a0e0c; border-radius: 50%; display: inline-block; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  color: #0a0e0c;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 1.25rem;
  position: relative;
  transform: rotate(-3deg);
}
.brand-mark::after {
  content: ''; position: absolute; inset: 3px;
  border: 1.5px solid #0a0e0c;
}
.brand small { display: block; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.2em; color: var(--cream-dim); margin-top: 2px; line-height: 1; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  color: var(--cream);
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: #0a0e0c;
  padding: 0.65rem 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-warm); color: #fff; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cream); }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--cream); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- 6. MARQUEE ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  padding-right: 3rem;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-band {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.marquee-band .marquee-track { gap: 2.5rem; }
.marquee-band .marquee-track span { color: var(--cream); display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-band .marquee-track .star { color: var(--accent); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: flex-end;
  padding: 7rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(244, 206, 66, 0.20), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 12, 0.55) 0%, rgba(10, 14, 12, 0.78) 60%, rgba(10, 14, 12, 0.95) 100%),
    url('../images/hero-stadium.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-color: #0a0e0c;
}
.hero::before, .hero::after { display: none; }

.hero-inner { width: 100%; }
.hero-title { max-width: none; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .ribbon { background: var(--accent); color: #0a0e0c; padding: 0.3rem 0.6rem; font-weight: 700; }

.hero h1 .accent { color: var(--accent); }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--cream);
  color: transparent;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.75rem, 8.5vw, 8rem);
  margin-top: 1.5rem;
}

.hero-lede {
  margin-top: 1.75rem;
  max-width: 78ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--cream);
}

.hero-cta-row {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--cream);
  transition: all 0.25s cubic-bezier(.2,.7,.3,1);
  position: relative;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #0a0e0c; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-warm); border-color: var(--accent-warm); color: #fff; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--cream); }
.btn--ghost { background: transparent; color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: #0a0e0c; transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--accent); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border-strong);
}
.hero-stat {
  border-right: 1px solid var(--border-strong);
  padding: 1.5rem 1.5rem;
  background: rgba(10, 14, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--display); font-size: 3rem; line-height: 0.9; color: var(--accent); display: block; }
.hero-stat .lbl { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); }

.hero-corner {
  position: absolute; top: 50%; right: -2rem; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  z-index: 1;
}

/* ---------- 8. THE 16 - HOST CITIES ---------- */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.city-card {
  position: relative;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-elev);
  transition: background 0.3s;
  overflow: hidden;
  isolation: isolate;
}
.city-card:hover { background: var(--bg-elev-2); }
.city-card .photo {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0.18; filter: grayscale(80%);
  transition: opacity 0.4s, filter 0.4s, transform 0.5s;
}
.city-card:hover .photo { opacity: 0.45; filter: grayscale(0); transform: scale(1.05); }
.city-card .num {
  font-family: var(--display); font-size: 2.5rem; color: var(--accent); line-height: 1;
}
.city-card .country {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim);
}
.city-card .name {
  font-family: var(--display); font-size: 2rem; line-height: 0.95; text-transform: uppercase; margin-top: auto;
}
.city-card .stadium {
  font-family: var(--mono); font-size: 0.7rem; color: var(--cream-dim); margin-top: 0.5rem; letter-spacing: 0.04em;
}
.city-card .arrow { position: absolute; top: 1.25rem; right: 1.25rem; opacity: 0.35; transition: opacity 0.3s, transform 0.3s; }
.city-card:hover .arrow { opacity: 1; transform: translate(3px, -3px); color: var(--accent); }

/* ---------- 9. FEATURE BLOCKS (ESTA, STADIUMS, ETC) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature-text h2 { margin-bottom: 1.25rem; }
.feature-text .lead { margin-bottom: 1.5rem; }
.feature-visual {
  position: relative; aspect-ratio: 4/5;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-visual .tag {
  position: absolute; bottom: 1rem; left: 1rem;
  background: var(--accent); color: #0a0e0c;
  padding: 0.5rem 0.9rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
}

/* checklist used in feature blocks */
.checklist { margin: 1.5rem 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px dashed var(--border);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: 1px dashed var(--border); }
.checklist .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- 10. STADIUM SPOTLIGHT ---------- */
.stadium-spotlight {
  background: linear-gradient(135deg, var(--bg-elev) 0%, #0e1310 100%);
  border: 1px solid var(--border);
  display: grid; grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}
.stadium-spotlight .visual {
  position: relative; min-height: 480px;
  background-size: cover; background-position: center;
}
.stadium-spotlight .visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(19, 24, 21, 0.95) 100%);
}
.stadium-spotlight .body { padding: 3rem; display: flex; flex-direction: column; gap: 1.25rem; }
.stadium-spotlight .body h3 { color: var(--cream); }
.stadium-specs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  margin: 0.5rem 0;
}
.stadium-specs li {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stadium-specs li:nth-child(2n) { border-right: none; }
.stadium-specs li:nth-last-child(-n+2) { border-bottom: none; }
.stadium-specs .lbl { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.25rem; }
.stadium-specs .val { font-family: var(--display); font-size: 1.5rem; color: var(--cream); text-transform: uppercase; }

/* ---------- 11. TRANSPORT TIPS ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.tip {
  padding: 2rem;
  border-right: 1px solid var(--border);
  background: var(--bg-elev);
  position: relative;
  transition: background 0.2s;
}
.tip:last-child { border-right: none; }
.tip:hover { background: var(--bg-elev-2); }
.tip .icon-wrap {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--accent); color: #0a0e0c;
  margin-bottom: 1.25rem;
}
.tip h4 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; margin-bottom: 0.75rem; }
.tip .route {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 0.75rem; text-transform: uppercase;
}
.tip p { font-size: 0.92rem; }
.tip .meta {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim);
}
.tip .meta strong { color: var(--cream); }

/* ---------- 12. AFFILIATE GATEWAY ---------- */
.aff-section {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.aff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border);
}
.aff-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.25s;
}
.aff-card:last-child { border-right: none; }
.aff-card:hover { background: var(--bg-elev-2); }
.aff-card .partner {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.25rem;
}
.aff-card h4 {
  font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 0.95;
}
.aff-card p { font-size: 0.92rem; }
.aff-card .aff-btn {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: var(--accent); color: #0a0e0c;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  transition: background 0.25s, transform 0.2s;
}
.aff-card .aff-btn:hover { background: var(--accent-warm); color: #fff; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cream); }
.aff-card .badge {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 13. NEWSLETTER ---------- */
.newsletter {
  background:
    linear-gradient(135deg, rgba(244, 206, 66, 0.06) 0%, rgba(232, 93, 61, 0.04) 100%),
    var(--bg);
  border: 1px solid var(--border);
  padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.newsletter h3 { margin-bottom: 0.75rem; }
.newsletter form { display: flex; gap: 0.5rem; }
.newsletter input {
  flex: 1; padding: 1rem 1.1rem;
  background: transparent; border: 1.5px solid var(--border-strong); color: var(--cream);
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em;
  transition: border 0.2s;
}
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter input::placeholder { color: var(--muted); }
.newsletter button {
  padding: 0 1.5rem;
  background: var(--accent); color: #0a0e0c;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  transition: background 0.2s;
}
.newsletter button:hover { background: var(--accent-warm); color: #fff; }

/* ---------- 14. FAQ ACCORDION ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  width: 100%; text-align: left;
  font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.7rem); text-transform: uppercase; line-height: 1.05;
}
.faq-q .plus {
  width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--border-strong); transition: all 0.2s;
}
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-item.is-open .faq-q .plus { background: var(--accent); color: #0a0e0c; border-color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding-bottom: 0; }
.faq-item.is-open .faq-a { max-height: 500px; padding-bottom: 1.5rem; }
.faq-a p { max-width: 70ch; font-size: 0.98rem; }
.faq-a p + p { margin-top: 0.75rem; }

/* ---------- 15. INFO CALLOUT ---------- */
.callout {
  background: linear-gradient(135deg, rgba(244, 206, 66, 0.12), rgba(244, 206, 66, 0.03));
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout .label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
.callout p { color: var(--cream); font-size: 0.95rem; }
.callout--warn { background: linear-gradient(135deg, rgba(232, 93, 61, 0.14), rgba(232, 93, 61, 0.03)); border-left-color: var(--accent-warm); }
.callout--warn .label { color: var(--accent-warm); }

/* ---------- 16. FOOTER ---------- */
.footer {
  background: #060807;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: var(--section-y);
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand p { margin-top: 1.25rem; max-width: 32ch; font-size: 0.9rem; }
.footer h5 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.footer ul li { padding: 0.4rem 0; }
.footer ul a { color: var(--cream-dim); font-size: 0.9rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.footer-bottom .disclaimer { max-width: 60ch; text-transform: none; letter-spacing: 0.02em; font-size: 0.75rem; line-height: 1.5; }

/* ---------- 17. PAGE HEADERS (interior) ---------- */
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; opacity: 0.28;
  background-size: cover; background-position: center;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.4), rgba(10, 14, 12, 0.9));
}
.page-hero .crumbs {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 1.25rem;
}
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs span { color: var(--muted); margin: 0 0.5rem; }
.page-hero h1 { margin-bottom: 1.25rem; max-width: 22ch; }
.page-hero .lead { max-width: 70ch; color: var(--cream); }
.page-hero--cities::before { background-image: url('../images/fans-crowd.jpg'); }
.page-hero--travel::before { background-image: url('../images/passport-map.jpg'); }
.page-hero--stadiums::before { background-image: url('../images/soccer-pitch.jpg'); }
.page-hero--safety::before { background-image: url('../images/fans-dusk.jpg'); }
.page-hero--legal::before { background-image: url('../images/ball-pitch.jpg'); }
.page-hero--about::before { background-image: url('../images/stadium-aerial.jpg'); }
.page-hero--contact {
  padding: 7rem 0 5rem;
  min-height: 460px;
  background-image:
    radial-gradient(ellipse at 78% 28%, rgba(244, 206, 66, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 12, 0.40) 0%, rgba(10, 14, 12, 0.72) 65%, rgba(10, 14, 12, 0.95) 100%),
    url('../images/fans-crowd.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-color: #0a0e0c;
}
.page-hero--contact::before,
.page-hero--contact::after { display: none; }

/* ---------- 18. CITY DETAIL CARDS (cities.html) ---------- */
.city-detail {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 0;
  background: var(--bg-elev); border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.city-detail .photo {
  min-height: 360px;
  background-size: cover; background-position: center;
  position: relative;
}
.city-detail .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(10,14,12,0.6), transparent 60%);
}
.city-detail .photo .num {
  position: absolute; top: 1.25rem; left: 1.25rem;
  font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--accent);
}
.city-detail .body { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.city-detail h3 { margin-top: 0.25rem; }
.city-detail .meta-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); margin: 0.75rem 0;
}
.city-detail .meta-row li {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--border);
}
.city-detail .meta-row li:last-child { border-right: none; }
.city-detail .meta-row .lbl { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.2rem; }
.city-detail .meta-row .val { font-family: var(--display); font-size: 1.15rem; color: var(--cream); text-transform: uppercase; }
.city-detail .body p { font-size: 0.95rem; }
.city-detail .links {
  margin-top: auto; padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.city-detail .chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border-strong);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.2s;
}
.chip:hover { background: var(--accent); color: #0a0e0c; border-color: var(--accent); }

/* ---------- 19. ARTICLE / LEGAL ---------- */
.article { max-width: 780px; margin: 0 auto; padding: var(--section-y) 0; }
.article h2 { font-family: var(--display); font-size: 2.25rem; text-transform: uppercase; margin: 2.5rem 0 1rem; }
.article h3 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; margin: 1.75rem 0 0.75rem; color: var(--accent); }
.article p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.7; }
.article ul { margin: 1rem 0 1rem 1.25rem; }
.article ul li { padding: 0.4rem 0; color: var(--cream-dim); list-style: none; position: relative; padding-left: 1.25rem; }
.article ul li::before { content: '■'; color: var(--accent); position: absolute; left: 0; top: 0.4rem; font-size: 0.7rem; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article .updated { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }

/* ---------- 19b. CONTACT FORM ---------- */
.contact-form-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.5rem;
}
.form-group label .required { color: var(--accent-warm); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.form-group select {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.form-group select option { background: var(--bg); color: var(--cream); }
.form-group textarea { resize: vertical; min-height: 120px; font-family: var(--body); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elev-2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:invalid:not(:placeholder-shown) { border-color: var(--accent-warm); }

.form-consent {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--cream-dim);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, border 0.15s;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  left: 4px; top: 0px;
  width: 6px; height: 11px;
  border: solid #0a0e0c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent label { cursor: pointer; }
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.btn--block { width: 100%; justify-content: center; }

.success-message {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(78, 168, 99, 0.18), rgba(78, 168, 99, 0.04));
  border-left: 4px solid var(--pitch-bright);
  color: var(--cream);
  font-size: 0.9rem;
  align-items: center;
  gap: 0.6rem;
}
.success-message .icon { color: var(--pitch-bright); }
.success-message.show { display: flex; }

/* ---------- 19c. COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-elev);
  border-top: 2px solid var(--accent);
  padding: 1rem var(--gutter);
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}
.cookie-banner .cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner button {
  background: var(--accent); color: #0a0e0c;
  padding: 0.65rem 1.25rem;
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.cookie-banner button:hover { background: var(--accent-warm); color: #fff; }

/* ---------- 20. ICONS ---------- */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 36px; height: 36px; }

/* ---------- 21. UTILITIES + ANIMATIONS ---------- */
.divider { height: 1px; background: var(--border); margin: 1rem 0; }
.text-accent { color: var(--accent); }
.text-cream { color: var(--cream); }
.no-wrap { white-space: nowrap; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

.pitch-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06; z-index: 0;
  background-image:
    linear-gradient(90deg, transparent 49.7%, var(--cream) 49.7%, var(--cream) 50.3%, transparent 50.3%),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(244, 241, 232, 0.05) 80px 81px);
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-elev); padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .nav.is-open .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 3rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero-corner { display: none; }
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .feature--reverse .feature-text { order: 2; }
  .stadium-spotlight { grid-template-columns: 1fr; }
  .stadium-spotlight .visual { min-height: 260px; }
  .stadium-spotlight .body { padding: 2rem; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: 1fr; }
  .tip { border-right: none; border-bottom: 1px solid var(--border); }
  .tip:last-child { border-bottom: none; }
  .aff-grid { grid-template-columns: 1fr; }
  .aff-card { border-right: none; border-bottom: 1px solid var(--border); }
  .aff-card:last-child { border-bottom: none; }
  .newsletter { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
  .newsletter form { flex-direction: column; }
  .newsletter button { padding: 1rem; }
  .city-detail { grid-template-columns: 1fr; }
  .city-detail .photo { min-height: 240px; }
  .city-detail .body { padding: 1.75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .cities-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--border-strong); }
  .hero-stat:last-child { border-bottom: none; }
  .stadium-specs { grid-template-columns: 1fr; }
  .stadium-specs li { border-right: none; }
  .stadium-specs li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stadium-specs li:last-child { border-bottom: none; }
  .city-detail .meta-row { grid-template-columns: 1fr; }
  .city-detail .meta-row li { border-right: none; border-bottom: 1px solid var(--border); }
  .city-detail .meta-row li:last-child { border-bottom: none; }
  .btn { padding: 0.85rem 1.1rem; font-size: 0.72rem; }
}

/* Focus accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Print */
@media print {
  .nav, .topbar, .newsletter, .aff-section, .footer { display: none; }
  body { background: white; color: black; }
}
