/* ============================================================
   PUMAS BOWLING CLUB – Design System
   Dark theme: Verde oscuro + Dorado – estética WEBFAM adaptada
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;900&display=swap');

:root {
  /* Paleta */
  --bg:           #090f09;
  --surface:      #0e1c0e;
  --surface-2:    #142514;
  --surface-3:    #1a321a;
  --surface-4:    #213f21;
  --green:        #1e6b1e;
  --green-light:  #2a8a2a;
  --gold:         #e8b820;
  --gold-hover:   #f5ce48;
  --gold-dark:    #c49812;
  --red:          #c0392b;
  --text:         #dff0df;
  --text-muted:   #6a8a6a;
  --text-dim:     #3d5c3d;
  --border:       #1e3a1e;
  --border-light: #2d5a2d;

  /* Tipografía */
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Espaciado & radios */
  --r:    6px;
  --r-lg: 12px;
  --r-xl: 20px;
  --nav-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-hover); }

img { display: block; max-width: 100%; }

/* ── Utilidades ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-en_curso      { background: rgba(46,139,46,.25); color: #5ddf5d; border: 1px solid rgba(46,139,46,.4); }
.badge-finalizado    { background: rgba(120,120,120,.2); color: #9ab09a; border: 1px solid rgba(120,120,120,.3); }
.badge-proximamente  { background: rgba(232,184,32,.18); color: var(--gold); border: 1px solid rgba(232,184,32,.35); }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(9,15,9,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border-light);
  border-radius: 99px;
  padding: 6px 16px 6px 8px;
  transition: border-color .2s;
}
.nav-logo:hover { border-color: var(--gold); color: var(--gold); }
.nav-logo img   { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.nav-logo span  { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .06em; color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 7px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r);
  transition: color .2s, background .2s;
  letter-spacing: .02em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--surface-3); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-login {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-login:hover { border-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, #112811 0%, var(--bg) 70%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 300px at 75% 30%, rgba(232,184,32,.06) 0%, transparent 70%),
    radial-gradient(circle 600px at 10% 80%, rgba(30,107,30,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: filter .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-gold    { background: var(--gold); color: #0a0a0a; }
.btn-gold:hover { filter: brightness(1.12); color: #0a0a0a; }
.btn-outline  { background: transparent; color: var(--text); border: 1.5px solid var(--border-light); }
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); }
.btn-green    { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-light); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .78rem; }
.btn-danger { background: var(--red); color: #fff; }

/* Pin decorativos hero */
.hero-deco {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .06;
  pointer-events: none;
  font-size: 22rem;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--gold);
  user-select: none;
}

/* Ola decorativa */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
  margin-top: -2px;
}
.wave-divider svg { position: absolute; bottom: 0; width: 100%; }

/* ── Sección genérica ── */
section { padding: 72px 0; }
.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: .04em;
  color: #fff;
  line-height: 1;
}
.section-header h2 span { color: var(--gold); }
.section-header .section-sub {
  color: var(--text-muted);
  font-size: .92rem;
  margin-top: 8px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px 0 0;
}

/* ── Noticias band ── */
.noticias-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.noticias-band .section-header h2 { color: var(--gold); }

.news-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}
.news-scroll::-webkit-scrollbar { height: 4px; }
.news-scroll::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

.news-card {
  flex: 0 0 280px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.news-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.news-card-img {
  height: 160px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .no-img {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-dim);
}
.news-card-body { padding: 16px; }
.news-card-body h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta { font-size: .75rem; color: var(--text-muted); }

/* ── Torneos cards ── */
.torneos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.torneo-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.torneo-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.torneo-card-date {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.torneo-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.torneo-card-meta {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.torneo-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.countdown {
  font-size: .78rem;
  color: var(--text-muted);
}
.countdown.active { color: var(--gold); }

/* ── Tabla de posiciones / Ranking ── */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
thead th {
  background: var(--surface-3);
  padding: 12px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--r-lg) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--r-lg) 0 0; }
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }
tbody td { padding: 12px 16px; color: var(--text); vertical-align: middle; }
.pos-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-muted);
}
.pos-1 .pos-num { color: var(--gold); }
.pos-2 .pos-num { color: #c0c8c0; }
.pos-3 .pos-num { color: #c87843; }
.td-name { font-weight: 600; }
.td-score { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); }
.td-avg   { color: var(--text-muted); }

/* ── Bowling Scorecard ── */
.scorecard-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.scorecard {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  min-width: 820px;
}
.scorecard thead th {
  background: var(--surface-4);
  padding: 10px 8px;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .06em;
}
.scorecard thead th:first-child,
.scorecard thead th:nth-child(2) { text-align: left; padding-left: 16px; }
.scorecard tbody tr { border-bottom: 1px solid var(--border); }
.scorecard tbody tr:hover { background: var(--surface-2); }
.scorecard td { padding: 0; vertical-align: top; }
.scorecard td:first-child { padding: 10px 8px 10px 16px; }
.scorecard td:nth-child(2) {
  padding: 10px 16px 10px 4px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 140px;
}

/* Celda de frame */
.frame-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border-left: 1px solid var(--border);
  min-width: 56px;
}
.frame-display {
  width: 100%;
  text-align: center;
  padding: 8px 4px 4px;
  font-weight: 700;
  font-size: .88rem;
  min-height: 32px;
  line-height: 1.2;
}
.frame-display.strike { color: var(--gold); }
.frame-display.spare  { color: #5ddf5d; }
.frame-running {
  width: 100%;
  text-align: center;
  padding: 4px 4px 8px;
  font-size: .78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  min-height: 26px;
}
.frame-10 { min-width: 72px; }

.td-bonus, .td-total-score {
  text-align: center;
  border-left: 1px solid var(--border);
  padding: 0 !important;
}
.td-bonus .frame-display,
.td-total-score .frame-display {
  padding: 8px;
  font-size: 1rem;
}
.td-total-score .frame-display { color: var(--gold); font-family: var(--font-display); font-size: 1.3rem; }

/* Serie alta (destaque) */
.serie-alta .td-total-score .frame-display { color: #f5ce48; text-shadow: 0 0 12px rgba(232,184,32,.5); }

/* ── Jornadas list ── */
.jornadas-list { display: flex; flex-direction: column; gap: 14px; }
.jornada-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
  transition: border-color .2s;
}
.jornada-item:hover { border-color: var(--gold-dark); }
.jornada-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  min-width: 60px;
}
.jornada-info { flex: 1; }
.jornada-info strong { display: block; font-size: .95rem; }
.jornada-info span   { font-size: .82rem; color: var(--text-muted); }
.jornada-item-right  { text-align: right; }

/* ── Jugadores ── */
.jugadores-search {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  margin-bottom: 40px;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }
.form-control {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  transition: border-color .2s;
  outline: none;
  width: 100%;
}
.form-control:focus { border-color: var(--gold); }

.jugadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.jugador-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .2s, transform .2s;
}
.jugador-card:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.jugador-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.jugador-avatar svg { color: var(--text-dim); }
.jugador-info { flex: 1; min-width: 0; }
.jugador-info strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jugador-info span { font-size: .78rem; color: var(--gold); }
.jugador-info small { display: block; font-size: .74rem; color: var(--text-muted); }
.jugador-card-arrow { color: var(--text-dim); flex-shrink: 0; }

/* Ficha jugador */
.jugador-ficha {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.jugador-ficha-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jugador-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.jugador-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  text-align: center;
}
.jugador-stat .val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}
.jugador-stat .lbl { font-size: .72rem; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

/* ── Noticias ── */
.noticias-list { display: flex; flex-direction: column; gap: 24px; }
.noticia-row {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: border-color .2s;
}
.noticia-row:hover { border-color: var(--gold-dark); }
.noticia-row-img {
  height: 180px;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.noticia-row-img img { width: 100%; height: 100%; object-fit: cover; }
.noticia-row-body { padding: 24px; }
.noticia-row-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.noticia-row-body p  { font-size: .87rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.noticia-row-meta  { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.noticia-row-meta time { font-size: .78rem; color: var(--text-dim); }

/* ── Nosotros ── */
.nosotros-hero {
  text-align: center;
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
}
.nosotros-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: #fff;
}
.nosotros-hero h1 em { font-style: normal; color: var(--gold); }
.milestone {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.milestone-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  min-width: 100px;
}
.milestone-text strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.milestone-text p { font-size: .87rem; color: var(--text-muted); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.mv-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.8; }
.mv-card p + p { margin-top: 12px; }

.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.valor-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color .2s;
}
.valor-card:hover { border-color: var(--gold-dark); }
.valor-card strong { display: block; font-size: .95rem; color: var(--gold); margin-bottom: 6px; }
.valor-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.actividades-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actividad-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.actividad-item::before { content: "›"; color: var(--gold); font-weight: 700; }

.comision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.comision-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.comision-card .cargo {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.comision-card .nombre { font-size: .95rem; font-weight: 700; color: var(--text); }

.ficha-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.ficha-item strong {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.ficha-item p { font-size: .9rem; color: var(--text); line-height: 1.6; }

.vinculos-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.vinculo-pill {
  padding: 10px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 99px;
  font-size: .85rem;
  color: var(--text-muted);
}

/* ── Contacto ── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 20px; }
.contacto-dato {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.contacto-dato-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(232,184,32,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contacto-dato strong { display: block; font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contacto-dato p { font-size: .9rem; color: var(--text); }

.contacto-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.contacto-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.contacto-form .form-group { margin-bottom: 16px; }
.form-control-text {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  transition: border-color .2s;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 120px;
}
.form-control-text:focus { border-color: var(--gold); }

.alert {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: .88rem;
  margin-bottom: 20px;
}
.alert-success { background: rgba(46,139,46,.2); border: 1px solid rgba(46,139,46,.4); color: #5ddf5d; }
.alert-error   { background: rgba(192,57,43,.2); border: 1px solid rgba(192,57,43,.4); color: #ff7a6e; }

/* ── Page header ── */
.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1;
}
.page-header h1 span { color: var(--gold); }
.page-header p { color: var(--text-muted); margin-top: 8px; font-size: .92rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-dim); }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { display: inline-flex; margin-bottom: 14px; }
.footer-brand p { font-size: .84rem; color: var(--text-muted); max-width: 300px; }
.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .85rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-dim);
}

/* ── 404 ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: .3;
}
.error-page h2 { font-size: 1.5rem; margin-bottom: 12px; }
.error-page p  { color: var(--text-muted); margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .contacto-grid     { grid-template-columns: 1fr; }
  .noticia-row       { grid-template-columns: 1fr; }
  .noticia-row-img   { height: 200px; }
  .jugador-ficha     { flex-direction: column; }
  .nosotros-grid     { grid-template-columns: 1fr; gap: 32px; }
  .valores-grid      { grid-template-columns: 1fr 1fr; }
  .comision-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-actions .btn-login { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open a { color: var(--text); }
  .hero h1 { font-size: 3.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .mv-grid          { grid-template-columns: 1fr; }
  .valores-grid     { grid-template-columns: 1fr; }
  .actividades-grid { grid-template-columns: 1fr; }
  .comision-grid    { grid-template-columns: 1fr; }
}
