/* =========================================================
   CD DÁNAE — hoja de estilos
   Identidad: negro + dorado + turquesa (de los escudos) sobre arena. Tipografía condensada
   para titulares (marcador), Barlow para texto.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --black: #0E0E10;
  --black-2: #17171B;
  --black-3: #232329;
  --gold: #F2C230;
  --gold-dark: #D9A81C;
  --gold-text: #7A5A00;
  --gold-soft: #FBF0C8;
  --teal: #1DA79E;
  --teal-dark: #13807A;
  --teal-soft: #D8F1EE;
  --red: #D8102A;
  --sand: #F5F3EE;
  --sand-2: #EBE8E0;
  --white: #FFFFFF;
  --ink: #111114;
  --muted: #5C5F66;
  --line: #DDD9CF;
  --on-dark: #D9D9DE;
  --on-dark-muted: #9C9CA6;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px -12px rgba(0, 0, 0, 0.25);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sand);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* Titulares tipo marcador */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}
.display--xl { font-size: clamp(52px, 9vw, 112px); font-weight: 800; }
.display--lg { font-size: clamp(36px, 5vw, 60px); }
.display--md { font-size: clamp(26px, 3vw, 36px); }
.display--sm { font-size: 22px; }
.eyebrow {
  display: inline-block; line-height: 1.4;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 22px; height: 3px; margin: 0 10px 2px 0; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.muted { color: var(--muted); }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-dark); color: var(--black); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--black-3); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn--outline { border-color: var(--black); color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 16px; }

/* ---------- Ticker (marcador LED superior) ---------- */
.ticker {
  background: var(--black); color: var(--on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  overflow: hidden; white-space: nowrap; position: relative;
}
.ticker__inner { display: inline-flex; gap: 0; animation: ticker 60s linear infinite; padding-block: 8px; }
.ticker:hover .ticker__inner { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding-inline: 28px; border-right: 1px solid rgba(255,255,255,0.15); }
.ticker__item strong { color: var(--white); }
.ticker__item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--black-2); color: var(--white); box-shadow: 0 2px 0 var(--gold); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__mark { width: 46px; height: auto; flex-shrink: 0; }
.brand__name { white-space: nowrap; font-family: var(--font-display); font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; }
.brand__tag { display: block; white-space: nowrap; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--on-dark); border-bottom: 3px solid transparent; transition: color 150ms, border-color 150ms;
}
.nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.4); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.nav .nav__live { margin-left: 8px; background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.nav .nav__live:hover { background: var(--gold); color: var(--black); border-bottom-color: var(--gold); }
.nav__live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.nav__live.is-live .dot { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(216,16,42,0.6); } 60% { box-shadow: 0 0 0 7px rgba(216,16,42,0); } }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--white); border-radius: var(--radius);
}
.nav-toggle svg { width: 28px; height: 28px; margin: auto; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--black-2); border-top: 1px solid rgba(255,255,255,0.1); padding: 8px var(--gutter) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; font-size: 22px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav a[aria-current="page"] { border-left: 4px solid var(--gold); padding-left: 10px; }
  .nav__live { margin: 12px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black-2);
  color: var(--white);
  padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 140px);
}
.hero::before {
  /* rayas de camiseta (pinstripes) */
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.hero__crest {
  position: absolute; right: -4%; top: 50%; width: clamp(320px, 40vw, 640px); transform: translateY(-50%);
  opacity: 0.09; pointer-events: none;
}
.line__logo { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 24px 24px 0; }
.line__logo img { width: min(62%, 300px); height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
.team__logo { aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 60%, #2A2A31, var(--black-2) 70%); display: flex; align-items: center; justify-content: center; padding: 18px; }
.team__logo img { max-height: 100%; width: auto; max-width: 90%; }
.logo-panel { background: radial-gradient(ellipse at 50% 55%, #2A2A31, var(--black) 72%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 48px); min-height: 320px; }
.logo-panel img { width: min(100%, 460px); height: auto; filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6)); }
.hero__inner { position: relative; display: grid; gap: 28px; max-width: 820px; }
.hero p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--on-dark); max-width: 560px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 8px; }
.stat { display: flex; flex-direction: column; }
.stat .num { font-size: 44px; line-height: 1; color: var(--gold); }
.stat span:last-child { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }

/* corte diagonal entre secciones */
.cut { position: relative; }
.cut::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 4vw, 56px);
  background: var(--sand); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.cut--navy::after { background: var(--black); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head .more { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); }
.section__head .more:hover { color: var(--black); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.grid--asym-l { grid-template-columns: 1.4fr 1fr; }
.grid--asym-r { grid-template-columns: 1fr 1.4fr; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; }
@media (max-width: 860px) { .grid--asym-l, .grid--asym-r, .split { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card--pad { padding: clamp(20px, 3vw, 32px); }

/* ---------- Placeholder de imagen ---------- */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(15,30,51,0.06) 0 2px, transparent 2px 12px),
    var(--sand-2);
  color: var(--muted); overflow: hidden;
}
.ph--dark { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 12px), var(--black-3); color: var(--on-dark-muted); }
.ph__label { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 12px; }
.ph__label svg { width: 28px; height: 28px; opacity: 0.7; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1; }

/* ---------- Marcador (próximo partido) ---------- */
.scoreboard {
  background: var(--black); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); position: relative; overflow: hidden;
  border-top: 5px solid var(--gold);
}
.scoreboard::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px); pointer-events: none; }
.scoreboard > * { position: relative; }
.scoreboard__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.scoreboard__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 20px 0; }
.scoreboard__team { display: flex; flex-direction: column; gap: 6px; }
.scoreboard__team--away { text-align: right; align-items: flex-end; }
.scoreboard__team .display { font-size: clamp(26px, 3.4vw, 40px); }
.scoreboard__team small { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.scoreboard__vs { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--black); background: var(--gold); border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; }
.scoreboard__when { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); }
.scoreboard__date { font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.scoreboard__date small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-top: 4px; text-transform: uppercase; }
.countdown { display: flex; gap: 10px; margin-left: auto; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px; background: rgba(255,255,255,0.08); border-radius: var(--radius); }
.countdown .num { font-size: 30px; line-height: 1; color: var(--gold); }
.countdown span:last-child { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
@media (max-width: 600px) {
  .scoreboard__teams { grid-template-columns: 1fr; text-align: left; }
  .scoreboard__team--away { text-align: left; align-items: flex-start; }
  .scoreboard__vs { width: 40px; height: 40px; font-size: 16px; }
  .countdown { margin-left: 0; width: 100%; }
  .countdown div { flex: 1; }
}

/* ---------- Resultados ---------- */
.results { display: flex; flex-direction: column; }
.result {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.result:first-child { border-top: 0; padding-top: 0; }
.result__badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--white); }
.result__badge--w { background: var(--teal-dark); }
.result__badge--l { background: var(--red); }
.result__badge--d { background: var(--muted); }
.result__who { display: flex; flex-direction: column; min-width: 0; }
.result__who strong { font-size: 16px; line-height: 1.25; }
.result__who span:not(.tag) { font-size: 13px; color: var(--muted); }
.result__score { font-family: var(--font-display); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; background: var(--black); color: var(--white); padding: 4px 12px; border-radius: var(--radius); line-height: 1; }
.result__date { font-size: 13px; color: var(--muted); text-align: right; min-width: 52px; }

/* ---------- Lista de eventos ---------- */
.events { display: flex; flex-direction: column; }
.event { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.event:first-child { border-top: 0; padding-top: 0; }
.event__date { display: flex; flex-direction: column; align-items: center; background: var(--sand); border-radius: var(--radius); padding: 6px 0; border: 1px solid var(--line); }
.event__date .num { font-size: 26px; line-height: 1; }
.event__date span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.event__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.event__body strong { line-height: 1.25; }
.event__body span:not(.tag) { font-size: 13px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.tag.tag--black { background: var(--black); color: var(--white); }
.tag.tag--gold { background: var(--gold); color: var(--black); }
.tag.tag--teal { background: var(--teal-soft); color: var(--teal-dark); }
.tag.tag--sand { background: #E2DED4; color: var(--black); }
.tag.tag--gold { background: var(--gold); color: var(--black); }

/* ---------- Líneas del club (Guardianes / Valkyrias) ---------- */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .lines { grid-template-columns: 1fr; } }
.line {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  border-radius: var(--radius-lg); color: var(--white); min-height: 540px;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.line:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--white); }
.line--black { background: var(--black-2); }
.line--teal { background: #14201F; }
.line .ph { position: absolute; inset: 0; opacity: 0.9; }
.line--black .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px), var(--black-3); color: var(--on-dark-muted); }
.line--teal .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 12px), #1B2A29; color: var(--on-dark-muted); }
.line__body { position: relative; padding: 72px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(to top, rgba(14,14,16,1) 0%, rgba(14,14,16,0.96) 55%, rgba(14,14,16,0.7) 78%, transparent); }
.line--teal .line__body { background: linear-gradient(to top, rgba(14,20,20,1) 0%, rgba(14,20,20,0.96) 55%, rgba(14,20,20,0.7) 78%, transparent); }
.line__body p { margin: 0; color: #E3E9F2; max-width: 440px; }
.line__body .more { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Equipos ---------- */
.team { overflow: hidden; display: flex; flex-direction: column; transition: transform 250ms var(--ease), box-shadow 250ms var(--ease); }
.team:hover { transform: translateY(-3px); color: inherit; }
.team__media { position: relative; }
.team__media .ph { aspect-ratio: 4 / 3; }
.team__num { position: absolute; left: 14px; bottom: -14px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--gold); color: var(--black); font-family: var(--font-display); font-size: 26px; font-weight: 800; border-radius: var(--radius); box-shadow: var(--shadow); }
.team__num--black { background: var(--black); color: var(--white); }
.team__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.team__body .display { font-size: 26px; }
.team__body .meta { font-size: 13px; color: var(--muted); }
.team__body .next { font-size: 14px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Directo ---------- */
.live-banner { background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); }
.live-banner .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; min-height: 56px; padding-block: 10px; }
.live-banner .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: pulse 1.4s ease-in-out infinite; }
.live-banner strong { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.live-banner a { margin-left: auto; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.live-banner a:hover { color: var(--teal-dark); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__play { width: 88px; height: 88px; }
.player__label { position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.55); padding: 4px 10px; border-radius: var(--radius); }
.player__live { position: absolute; left: 14px; top: 12px; font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: 0.1em; color: #fff; background: var(--red); padding: 4px 10px; border-radius: var(--radius); }

/* ---------- Noticias ---------- */
.news { overflow: hidden; display: flex; flex-direction: column; transition: transform 250ms var(--ease); }
.news:hover { transform: translateY(-3px); color: inherit; }
.news .ph { aspect-ratio: 16 / 10; }
.news__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.news__body .display { font-size: 24px; }
.news__body time { font-size: 13px; color: var(--muted); }

/* ---------- Franja CTA ---------- */
.cta-strip { background: var(--gold); color: var(--black); }
.cta-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-block: clamp(28px, 4vw, 44px); }
.cta-strip p { margin: 4px 0 0; color: #4A3A00; max-width: 560px; }
.cta-strip .btn { margin-left: auto; }
@media (max-width: 700px) { .cta-strip .btn { margin-left: 0; } }

/* ---------- Página interior: cabecera ---------- */
.page-head { background: var(--black); color: var(--white); padding-block: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 14px); pointer-events: none; }
.page-head .container { position: relative; display: grid; gap: 10px; }
.page-head p { margin: 0; color: var(--on-dark); max-width: 640px; font-size: 17px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab {
  border: 0; background: transparent; padding: 12px 18px; min-height: 48px; white-space: nowrap;
  font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tab:hover { color: var(--black); }
.tab[aria-selected="true"] { color: var(--black); border-bottom-color: var(--gold); }
[hidden] { display: none !important; }

/* ---------- Tabla de partidos ---------- */
.match-list { display: flex; flex-direction: column; gap: 12px; }
.match { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; }
.match__date { display: flex; flex-direction: column; align-items: center; }
.match__date .num { font-size: 30px; line-height: 1; }
.match__date span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.match__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.match__body strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.match__body span:not(.tag) { font-size: 14px; color: var(--muted); }
.match__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.match__time { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1; }
@media (max-width: 600px) {
  .match { grid-template-columns: 56px 1fr; }
  .match__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Clasificación / competición ---------- */
.comp { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; }
.comp__pos { width: 56px; height: 56px; display: grid; place-items: center; background: var(--black); color: var(--white); border-radius: var(--radius); font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.comp__pos--lead { background: var(--gold); color: var(--black); }
.comp__body strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.comp__body span:not(.tag) { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Contacto / formulario ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--black); outline: 3px solid rgba(29,167,158,0.45); outline-offset: 0; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list > div { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal-dark); margin-top: 2px; }
.info-list strong { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--on-dark); margin-top: 0; border-top: 4px solid var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { margin: 0 0 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 18px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: var(--on-dark-muted); }
.footer .brand__name { font-size: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0.25; transform: translateY(10px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__inner { animation: none; }
  .nav__live .dot, .live-banner .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .team, .news, .line { transition: none; }
}

/* ---------- Ajustes móvil ---------- */
@media (max-width: 600px) {
  .result { grid-template-columns: auto 1fr auto; }
  .result__date { grid-column: 2; text-align: left; min-width: 0; margin-top: -6px; }
  .result__score { font-size: 24px; }
  .hero__stats { gap: 20px; }
  .stat .num { font-size: 36px; }
}

/* Tarjetas Guardianes / Valkyrias en móvil: logo y texto en flujo, sin hueco */
@media (max-width: 800px) {
  .line { min-height: 0; }
  .line__logo { position: static; padding: 28px 24px 0; }
  .line__logo img { width: min(62%, 240px); }
  .line__body, .line--teal .line__body { padding-top: 20px; background: none; }
}
