/* ==========================================================================
   Volviendo a Casa — Design System
   Estilo de referencia: Supabase (dark, phosphor green accent)
   ========================================================================== */

:root {
  /* Colors */
  --color-phosphor-green: #3ecf8e;
  --color-mint-pulse: #00c573;
  --color-forest-depth: #1f4b37;
  --color-midnight-emerald: #006239;
  --color-snow: #fafafa;
  --color-silver-mist: #b4b4b4;
  --color-smoke: #898989;
  --color-graphite: #4d4d4d;
  --color-slate: #393939;
  --color-charcoal: #2e2e2e;
  --color-ash: #242424;
  --color-obsidian: #121212;
  --color-void: #0d0d0d;
  --color-mix-gold: #e0c02a;

  /* Surfaces */
  --surface-canvas: var(--color-obsidian);
  --surface-card: var(--color-obsidian);
  --surface-elevated: var(--color-ash);
  --border-card: var(--color-charcoal);
  --border-input: var(--color-slate);
  --border-icon: var(--color-graphite);

  /* Typography */
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-caption: 12px;
  --leading-caption: 1.5;
  --text-body-sm: 14px;
  --leading-body-sm: 1.43;
  --text-body: 16px;
  --leading-body: 1.5;
  --text-subheading: 18px;
  --leading-subheading: 1.38;
  --text-heading-sm: 24px;
  --leading-heading-sm: 1.33;
  --text-heading: 36px;
  --leading-heading: 1.2;
  --text-display: 72px;
  --leading-display: 1;
  --tracking-base: -0.007em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  /* Spacing (base unit 8px) */
  --sp-8: 8px;   --sp-16: 16px; --sp-24: 24px; --sp-32: 32px;
  --sp-40: 40px; --sp-48: 48px; --sp-64: 64px; --sp-80: 80px;
  --sp-96: 96px; --sp-112: 112px; --sp-128: 128px; --sp-224: 224px;

  /* Shape */
  --radius-tag: 9999px;
  --radius-card: 16px;
  --radius-input: 8px;
  --radius-button: 9999px;

  --page-max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-canvas);
  color: var(--color-snow);
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- Accessibility ---------- */
.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; }
:focus-visible { outline: 2px solid var(--color-phosphor-green); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.section-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}
.section {
  padding: var(--sp-96) 0;
  border-bottom: 1px solid var(--border-card);
}
.section:last-of-type { border-bottom: none; }
.section-tag {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-phosphor-green);
  margin-bottom: var(--sp-16);
}
.freshness-tag {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: 0.08em;
  color: var(--color-smoke);
  margin-bottom: var(--sp-16);
}
.section-title {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  font-weight: var(--weight-medium);
  color: var(--color-snow);
}
.section-title em, .section-title span { color: var(--color-phosphor-green); font-style: normal; }
.section-sub {
  font-size: var(--text-body);
  color: var(--color-silver-mist);
  max-width: 640px;
  margin-top: var(--sp-16);
}
.section-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-16);
  border-radius: var(--radius-button);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body-sm);
  border: 1px solid transparent;
  transition: border-color .15s ease, background-color .15s ease, opacity .15s ease;
}
.btn-primary {
  background: var(--color-phosphor-green);
  color: #06120d;
  border-color: var(--color-phosphor-green);
}
.btn-primary:hover { border-color: var(--color-forest-depth); background: var(--color-mint-pulse); }
.btn-ghost {
  background: transparent;
  color: var(--color-snow);
  border-color: var(--color-slate);
  font-weight: var(--weight-regular);
}
.btn-ghost:hover { border-color: var(--color-graphite); background: rgba(255,255,255,0.04); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-tag);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
}
.pill-green { background: rgba(62,207,142,0.14); color: var(--color-phosphor-green); }
.pill-neutral { background: var(--surface-elevated); color: var(--color-silver-mist); border: 1px solid var(--border-card); }
.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-tag);
  padding: 6px 16px;
  font-size: var(--text-caption);
  color: var(--color-silver-mist);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--sp-24);
}
.card-elevated { background: var(--surface-elevated); }

/* ---------- Tables ---------- */
.vc-table-wrap {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  overflow-x: auto;
}
.vc-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.vc-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-smoke);
  padding: var(--sp-16);
  border-bottom: 1px solid var(--border-card);
  background: var(--surface-elevated);
  white-space: nowrap;
}
.vc-table td {
  padding: var(--sp-16);
  border-bottom: 1px solid var(--border-card);
  font-size: var(--text-body-sm);
  color: var(--color-silver-mist);
  white-space: nowrap;
}
.vc-table tbody tr:last-child td { border-bottom: none; }

/* Dos variantes de la tabla de grupos: completa en desktop, G/E/P
   combinado en una sola columna en mobile para que no se desborde. */
.vc-table--mobile { display: none; }
@media (max-width: 640px) {
  .vc-table--desktop { display: none; }
  .vc-table--mobile { display: block; }
  .vc-table--mobile .vc-table { min-width: 0; width: 100%; table-layout: fixed; }
  .vc-table--mobile .vc-table th,
  .vc-table--mobile .vc-table td { padding: 12px 6px; white-space: normal; font-size: 12px; }
  .vc-table--mobile .vc-table th:first-child,
  .vc-table--mobile .vc-table td.team-cell { width: 40%; white-space: normal; padding-left: var(--sp-16); min-width: 0; }
  .vc-table--mobile .team-cell-inner .team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .vc-table--mobile .vc-table th:nth-child(2),
  .vc-table--mobile .vc-table td:nth-child(2) { width: 22%; }
  .vc-table--mobile .vc-table th:nth-child(3),
  .vc-table--mobile .vc-table td:nth-child(3) { width: 12%; }
  .vc-table--mobile .vc-table th:nth-child(4),
  .vc-table--mobile .vc-table td:nth-child(4) { width: 12%; }
  .vc-table--mobile .vc-table th:nth-child(5),
  .vc-table--mobile .vc-table td:nth-child(5) { width: 14%; padding-right: var(--sp-16); }
  .vc-table--mobile .team-cell-inner { gap: 6px; }
  .vc-table--mobile .team-logo-sm { width: 18px; height: 18px; }
  .vc-table--mobile .gep { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

  /* Tabla de goleadores: layout fijo para que quepa en el ancho de la
     pantalla sin scroll horizontal, sin espacios grandes entre columnas. */
  .stats-table-wrap { overflow-x: hidden; }
  .stats-table { min-width: 0; width: 100%; table-layout: fixed; }
  .stats-table th, .stats-table td { padding: 10px 8px; white-space: normal; font-size: 12px; }
  .stats-table th:first-child, .stats-table td:first-child { width: 8%; padding-left: var(--sp-16); }
  .stats-table th:nth-child(2), .stats-table td:nth-child(2) { width: 46%; }
  .stats-table th:nth-child(3), .stats-table td:nth-child(3) { width: 30%; }
  .stats-table th:nth-child(4), .stats-table td:nth-child(4) { width: 16%; padding-right: var(--sp-16); text-align: right; }
  .stats-table td.team-cell .team-cell-inner { gap: 6px; }
}

/* Nombre de goleador: completo en desktop, "Nombre I. I." en mobile */
.player-name-short { display: none; }
@media (max-width: 640px) {
  .player-name-full { display: none; }
  .player-name-short { display: inline; white-space: normal; }
}
.vc-table td.pts, .vc-table td.num-strong { color: var(--color-snow); font-weight: var(--weight-medium); }

/* ---------- Inputs ---------- */
.input {
  background: var(--surface-canvas);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-input);
  padding: var(--sp-8) 12px;
  color: var(--color-snow);
  font-size: var(--text-body-sm);
  font-family: var(--font-sans);
}
.input::placeholder { color: var(--color-smoke); }
.input:focus { outline: none; border-color: var(--color-phosphor-green); }

/* ---------- Nav ---------- */
.vc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-24);
  background: rgba(18,18,18,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-card);
}
.vc-nav-logo { display: flex; align-items: center; gap: var(--sp-8); font-weight: var(--weight-medium); font-size: var(--text-body-sm); }
.vc-nav-logo img { height: 28px; width: auto; }
.vc-nav-links { display: flex; align-items: center; gap: var(--sp-32); }
.vc-nav-links a { font-size: var(--text-body-sm); color: var(--color-silver-mist); }
.vc-nav-links a:hover { color: var(--color-snow); }
.vc-nav-right { display: flex; align-items: center; gap: var(--sp-16); }

/* ---------- Footer ---------- */
.vc-footer { border-top: 1px solid var(--border-card); padding: var(--sp-48) 0; }
.vc-footer-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--sp-24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
}
.vc-footer-logo { display: flex; align-items: center; gap: var(--sp-8); font-weight: var(--weight-medium); }
.vc-footer-logo img { height: 24px; }
.vc-footer-links { display: flex; gap: var(--sp-24); flex-wrap: wrap; }
.vc-footer-links a { font-size: var(--text-body-sm); color: var(--color-silver-mist); }
.vc-footer-links a:hover { color: var(--color-snow); }
.vc-footer-copy { font-size: var(--text-caption); color: var(--color-smoke); }

/* ==========================================================================
   Landing — secciones específicas
   ========================================================================== */

/* ---------- Hero / Bienvenida ---------- */
.hero-section { padding: var(--sp-64) 0 var(--sp-96); }
.hero-top { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-top .announcement-pill { margin-bottom: var(--sp-24); }
.hero-top h1 {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: -0.02em;
  font-weight: var(--weight-bold);
  color: var(--color-snow);
}
.hero-top h1 span { color: var(--color-phosphor-green); }
.hero-top p {
  margin-top: var(--sp-16);
  font-size: var(--text-body);
  color: var(--color-silver-mist);
  line-height: var(--leading-body);
}
.hero-ctas { margin-top: var(--sp-32); display: flex; justify-content: center; gap: var(--sp-16); flex-wrap: wrap; }
.hero-logos { display: flex; align-items: center; justify-content: center; gap: var(--sp-24); margin-bottom: var(--sp-24); }
.hero-logos img { height: 44px; width: auto; }

/* ---------- Category pill ---------- */
.cat-pill-plus { background: rgba(62,207,142,0.14); color: var(--color-phosphor-green); }
.cat-pill-mix  { background: rgba(255,215,0,0.12); color: var(--color-mix-gold); }

/* ---------- Group standings grid ---------- */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-64);
}
.group-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-16);
}
.group-card-head .group-name { font-size: var(--text-subheading); font-weight: var(--weight-medium); color: var(--color-snow); }
.vc-table td.team-cell { color: var(--color-snow); }
.vc-table td.team-cell .team-cell-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  min-width: 0;
}
.vc-table td.team-cell .pos { color: var(--color-smoke); font-family: var(--font-mono); font-size: 11px; flex-shrink: 0; }
.vc-table tr.qualified { background: rgba(62,207,142,0.06); }
.vc-table tr.qualified td.team-cell { color: var(--color-phosphor-green); box-shadow: inset 3px 0 0 var(--color-phosphor-green); }
.vc-table tr.qualified td.team-cell { padding-left: calc(var(--sp-16) - 3px); }

/* ---------- Semifinales ---------- */
.semis-section { padding-top: var(--sp-64); }
.semis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-48);
}
.semi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-32);
}
.semi-cat-pill { margin-bottom: var(--sp-8); }
.semi-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  width: 100%;
}
.semi-team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}
.semi-team--right { text-align: center; }
.semi-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
}
.semi-logo-placeholder {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-subheading);
  font-weight: var(--weight-medium);
  color: var(--color-snow);
}
.semi-team-name {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-snow);
  line-height: 1.3;
}
.semi-seed {
  font-size: 11px;
  color: var(--color-smoke);
  font-family: var(--font-mono);
}
.semi-vs {
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-medium);
  color: var(--color-smoke);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.semis-liguilla-block {
  margin-top: var(--sp-48);
}
.semis-liguilla-label {
  font-size: var(--text-body-sm);
  color: var(--color-smoke);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-16);
  text-align: center;
}
.liguilla-card--big { flex-direction: row; justify-content: space-between; align-items: center; gap: var(--sp-24); padding: var(--sp-32); }
.liguilla-team-big { flex: 1; display: flex; flex-direction: column; align-items: center; gap: var(--sp-8); text-align: center; }
.liguilla-team-big.winner .liguilla-name-big { color: var(--color-snow); font-weight: var(--weight-medium); }
.liguilla-logo-big { width: 96px; height: 96px; object-fit: contain; }
.liguilla-name-big { font-size: var(--text-body-sm); color: var(--color-silver-mist); line-height: 1.3; }
.liguilla-score--big { font-size: var(--text-heading); }
@media (max-width: 600px) {
  .liguilla-logo-big { width: 64px; height: 64px; }
  .liguilla-score--big { font-size: var(--text-heading-sm); }
  .semis-grid { grid-template-columns: 1fr; }
  .semi-logo { width: 64px; height: 64px; }
  .semi-logo-placeholder { width: 64px; height: 64px; }
}

/* ---------- Liguilla ---------- */
.liguilla-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-16);
  margin-top: var(--sp-48);
}
.liguilla-card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); }
.liguilla-team { flex: 1; display: flex; align-items: center; gap: var(--sp-8); font-size: var(--text-body-sm); color: var(--color-silver-mist); }
.liguilla-team[style*="text-align:right"] { flex-direction: row-reverse; }
.liguilla-team.winner { color: var(--color-snow); font-weight: var(--weight-medium); }
.liguilla-team.winner .team-label::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--color-phosphor-green); margin-left: 8px; }
.liguilla-team-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.liguilla-score { font-family: var(--font-mono); font-size: var(--text-heading-sm); color: var(--color-snow); display: flex; align-items: center; gap: var(--sp-8); white-space: nowrap; }
.liguilla-score .sep { color: var(--color-smoke); font-size: var(--text-body); }
.liguilla-vs { font-size: var(--text-body-sm); color: var(--color-smoke); letter-spacing: 0.05em; }
.liguilla-meta { margin-top: var(--sp-8); }

/* ---------- Programación ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-32);
  margin-top: var(--sp-48);
}
.schedule-court {
  padding: var(--sp-32);
}
.schedule-court-name {
  font-size: var(--text-subheading);
  font-weight: var(--weight-medium);
  color: var(--color-snow);
  margin-bottom: var(--sp-24);
}
.schedule-matches { display: flex; flex-direction: column; }
.schedule-row {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--border-card);
}
.schedule-matches .schedule-row:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-matches .schedule-row:first-child { padding-top: 0; }
.schedule-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-smoke);
  white-space: nowrap;
  flex-shrink: 0;
  width: 80px;
}
.schedule-teams {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-16);
}
.schedule-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 88px;
  min-width: 0;
}
.schedule-team-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-elevated);
  flex-shrink: 0;
}
.schedule-team-name {
  font-size: 11px;
  line-height: 1.3;
  color: var(--color-silver-mist);
  text-align: center;
}
.schedule-vs { color: var(--color-smoke); font-size: 10px; flex-shrink: 0; margin-top: 8px; }
.schedule-tag-plus,
.schedule-tag-mix,
.schedule-tag-liguilla { margin-left: var(--sp-8); flex-shrink: 0; width: 80px; justify-content: center; }
.schedule-tag-plus { background: rgba(62,207,142,0.14); color: var(--color-phosphor-green); }
.schedule-tag-mix { background: rgba(255,215,0,0.12); color: #e0c02a; }
.schedule-tag-liguilla { background: rgba(160,160,170,0.14); color: var(--color-silver-mist); }

/* ---------- Intro ---------- */
.intro-section { text-align: center; }
.intro-section .section-inner { max-width: 780px; }
.intro-stats {
  margin-top: var(--sp-48);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-16);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: var(--sp-32) 0;
}
.intro-stat-n { display: block; font-size: var(--text-heading-sm); color: var(--color-phosphor-green); font-family: var(--font-mono); }
.intro-stat-l { display: block; margin-top: 4px; font-size: var(--text-caption); color: var(--color-smoke); }

/* ---------- Stats: goleadores / ofensiva / defensiva ---------- */
.stats-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-32); margin-top: var(--sp-48); }
.stats-category-col > .card-elevated { margin-bottom: var(--sp-24); }
.bar-row + .bar-row { margin-top: var(--sp-16); }
.bar-label { display: flex; justify-content: space-between; font-size: var(--text-body-sm); color: var(--color-silver-mist); margin-bottom: 6px; }
.bar-label .val { color: var(--color-snow); font-family: var(--font-mono); }
.bar-track { height: 6px; border-radius: var(--radius-tag); background: var(--surface-canvas); overflow: hidden; }
.bar-fill { height: 100%; background: var(--color-phosphor-green); border-radius: var(--radius-tag); }
.stat-block-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-smoke); margin-bottom: var(--sp-16); }

/* ---------- Galería ---------- */
.gallery-masonry {
  margin-top: var(--sp-48);
  column-count: 1;
  column-gap: var(--sp-16);
}
.gallery-photo {
  break-inside: avoid;
  margin-bottom: var(--sp-16);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-elevated);
}
.gallery-photo img { width: 100%; display: block; }
@media (min-width: 480px) {
  .gallery-masonry { column-count: 2; }
}
@media (min-width: 768px) {
  .gallery-masonry { column-count: 3; }
}
@media (min-width: 1100px) {
  .gallery-masonry { column-count: 4; }
}

/* ---------- Equipos participantes ---------- */
.teams-category-block + .teams-category-block { margin-top: var(--sp-48); }
.teams-category-head { display: flex; align-items: center; gap: var(--sp-16); margin-top: var(--sp-48); }
.teams-category-count { font-size: var(--text-body-sm); color: var(--color-smoke); }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--sp-16); margin-top: var(--sp-24); }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-16); padding: var(--sp-32) var(--sp-16); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--surface-elevated); border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: var(--text-heading-sm); color: var(--color-phosphor-green);
}
.team-card-name { font-size: var(--text-subheading); font-weight: var(--weight-medium); color: var(--color-snow); }

/* ---------- Instagram CTA ---------- */
.instagram-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-24); padding: var(--sp-48); }
.instagram-card-left { display: flex; align-items: center; gap: var(--sp-16); }
.instagram-icon {
  width: 48px; height: 48px; border-radius: var(--radius-card);
  background: var(--surface-elevated); border: 1px solid var(--border-card);
  display: flex; align-items: center; justify-content: center; color: var(--color-phosphor-green);
}
.instagram-card-handle { font-size: var(--text-subheading); color: var(--color-snow); font-weight: var(--weight-medium); }
.instagram-card-sub { font-size: var(--text-body-sm); color: var(--color-smoke); margin-top: 2px; }

/* ---------- Mobile nav drawer ---------- */
.mob-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mob-drawer.is-open { visibility: visible; }
.mob-drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity .2s ease; }
.mob-drawer.is-open .mob-drawer-overlay { opacity: 1; }
.mob-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
  background: var(--surface-canvas); border-left: 1px solid var(--border-card);
  padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-24);
  transform: translateX(100%); transition: transform .2s ease;
}
.mob-drawer.is-open .mob-drawer-panel { transform: translateX(0); }
.mob-drawer-header { display: flex; align-items: center; justify-content: space-between; }
.mob-drawer-links { display: flex; flex-direction: column; gap: var(--sp-16); }
.mob-drawer-links a { font-size: var(--text-body); color: var(--color-silver-mist); }
.mob-hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.mob-hamburger span { width: 20px; height: 2px; background: var(--color-snow); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .groups-grid, .stats-category-grid, .schedule-grid { grid-template-columns: 1fr; }
  .schedule-court { padding: var(--sp-16); }
  .schedule-team { width: 72px; }
  .schedule-team-logo { width: 36px; height: 36px; }
  .schedule-team-name { font-size: 10px; }
  .intro-stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-24); }
  .hero-top h1 { font-size: 44px; font-weight: var(--weight-bold); }
  .vc-nav-links { display: none; }
  .mob-hamburger { display: flex; }
  .section { padding: var(--sp-64) 0; }
}
@media (max-width: 480px) {
  .schedule-row { gap: var(--sp-8); }
  .schedule-teams { gap: var(--sp-8); }
  .schedule-team { width: 60px; gap: 4px; }
  .schedule-team-logo { width: 30px; height: 30px; }
  .schedule-team-name { font-size: 9px; line-height: 1.2; }
  .schedule-time { width: 62px; font-size: 10px; }
  .schedule-vs { margin-top: 6px; }
  .schedule-tag-plus, .schedule-tag-mix, .schedule-tag-liguilla { padding: 3px 6px; margin-left: var(--sp-8); width: 62px; }
}

/* ---------- Utilities ---------- */
body.mob-nav-open { overflow: hidden; }
@media (max-width: 860px) {
  .hide-mobile { display: none; }
}

/* ---------- Escudos de equipo ---------- */
.team-logo-sm {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-elevated);
  border: 1px solid var(--border-card);
}
.team-avatar-logo {
  object-fit: contain;
  padding: 10px;
}
