@import url('https://googleapis.com');

:root { --orange: #ff6500; --white: #f7f7f8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--white);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.62) 0%, rgba(7, 8, 10, 0.45) 50%, rgba(7, 8, 10, 0.68) 100%),
    url('assets/cancha.jpg') center center / cover no-repeat fixed;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, iframe { max-width: 100%; }

/* =========================================================
   CABECERA (INTACTA COMO LA TUYA)
   ========================================================= */
.site-header { height: 108px; background: radial-gradient(circle at 85% 50%, rgba(255,101,0,.16), transparent 55%), linear-gradient(180deg, #0b0c10, #050608); display: flex; align-items: center; padding: 0 clamp(22px, 4vw, 62px); gap: clamp(12px, 2vw, 30px); position: relative; overflow: hidden; z-index: 1000; border-bottom: 2px solid var(--orange); border-radius: 0 0 18px 18px; }
.site-header > * { position: relative; z-index: 2; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 8% 25%, #fff 90%, transparent), radial-gradient(2px 2px at 18% 75%, var(--orange) 90%, transparent), radial-gradient(1.5px 1.5px at 29% 35%, #fff 90%, transparent), radial-gradient(2px 2px at 56% 20%, var(--orange) 90%, transparent), radial-gradient(2px 2px at 78% 30%, #fff 90%, transparent), radial-gradient(2.5px 2.5px at 88% 65%, var(--orange) 90%, transparent); animation: parpadeo 3.5s ease-in-out infinite alternate; }
.site-header::after { content: "✦   ★   ✦   ·   ✦   ★   ✦"; position: absolute; right: 4%; bottom: -20px; z-index: 1; pointer-events: none; font-size: 14px; letter-spacing: 28px; color: rgba(255,165,80,.55); text-shadow: 0 0 8px var(--orange); animation: subir 7s linear infinite; }

.brand { display: flex; align-items: center; min-width: clamp(230px, 25vw, 340px); gap: 12px; }
.brand-mark { width: 158px; height: 112px; object-fit: contain; mix-blend-mode: screen; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; transform: skew(-8deg); }
.brand-copy strong { font-size: 34px; line-height: .9; font-weight: 900; letter-spacing: -1px; }
.brand-copy small { font-size: 13px; letter-spacing: 3px; margin-top: 6px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: clamp(15px, 2.6vw, 42px); flex: 1; height: 100%; }
.nav a { font-size: 18px; white-space: nowrap; height: 100%; display: flex; align-items: center; position: relative; }
.nav a.active:after { content: ""; position: absolute; bottom: 27px; left: -16px; right: -16px; height: 3px; background: var(--orange); }
.orange-button { background: var(--orange); color: #090909; border-radius: 30px; font-weight: 700; font-style: italic; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 36px; font-size: 20px; transition: .2s; }
.orange-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,101,0,.35); }
.menu-toggle { display: none; cursor: pointer; }

.nav a.btn-pizarra {
  height: 54px;
  padding: 0 24px 0 64px;
  background: url('assets/piefondo.png') center center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  color: #09090b;
  font-weight: 900;
  font-style: italic;
  font-size: 17px;
  transition: transform 0.2s ease;
}

.nav a.btn-pizarra:hover {
  transform: scale(1.04);
}

.btn-pizarra {
  display: inline-flex;
  align-items: center;
  height: auto !important;
}

.btn-pizarra img {
  height: 78px;
  max-height: 75%;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 101, 0, 0.35));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-pizarra:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 101, 0, 0.9)) brightness(1.08);
}

/* =========================================================
   TEXTOS COMUNES
   ========================================================= */
.contenedor { max-width: 1240px; margin: auto; }
.tag { color: var(--orange); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1 { font-size: clamp(36px, 6vw, 80px); font-style: italic; font-weight: 900; line-height: .95; margin: 8px 0; }
h1 em { color: var(--orange); }
.sub { color: #c9c9cd; font-size: 19px; margin: 0 0 28px; }

/* =========================================================
   CLUB HERO Y BLOQUES
   ========================================================= */
.club-hero { background: linear-gradient(90deg, #07080a 32%, rgba(7,8,10,.35) 70%, rgba(7,8,10,.7)), url('assets/hero.png') right center/cover no-repeat; padding: 95px 5% 85px; border-bottom: 1px solid #1e1f24; }
.club-hero-texto { max-width: 540px; }

.club-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.titulo-italica { font-size: clamp(30px, 4vw, 46px); font-style: italic; font-weight: 900; margin: 8px 0 18px; line-height: 1.05; }
.texto-club { color: #c4c4ca; font-size: 18px; line-height: 1.45; margin: 0 0 16px; }
.club-split .orange-button { margin-top: 10px; padding: 12px 30px; font-size: 18px; }
.club-img-card { border-radius: 18px; overflow: hidden; border: 1px solid #292a30; box-shadow: 0 14px 30px rgba(0,0,0,.55); }
.club-img-card img { width: 100%; display: block; object-fit: cover; }

.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 65px 0; }
.valor-card { background: #121316; border: 1px solid #27282e; border-radius: 14px; padding: 28px; transition: .25s; }
.valor-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.valor-num { color: var(--orange); font-size: 22px; font-weight: 900; display: block; margin-bottom: 10px; }
.valor-card h3 { font-size: 28px; margin: 0 0 10px; }
.valor-card p { color: #b5b5bd; font-size: 16px; line-height: 1.4; margin: 0; }

/* =========================================================
   EQUIPO Y CARRUSEL (Protegido para no pisar .cromos-main)
   ========================================================= */
main:not(.cromos-main) { background: linear-gradient(180deg, rgba(7,8,10,.35), rgba(7,8,10,.55)), url('assets/cancha.jpg') center/cover no-repeat fixed; padding: 65px 5% 80px; }
.carrusel-wrapper { position: relative; display: flex; align-items: center; }
.carrusel-viewport { overflow: hidden; width: 100%; padding: 12px 4px; }
.carrusel-track { display: flex; gap: 30px; transition: transform .4s ease; }
.card { flex: 0 0 calc((100% - 60px) / 3); position: relative; display: flex; flex-direction: column; background: rgba(17,18,22,.95); border: 1px solid #33343a; border-radius: 18px; overflow: hidden; transition: .25s; cursor: pointer; }
.card:hover, .card.es-entrenador { border-color: var(--orange); }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(255,101,0,.18); }
.card.es-entrenador { box-shadow: 0 10px 26px rgba(255,101,0,.16); }
.card-img-wrap { width: 100%; aspect-ratio: 4 / 5; background: #0d0e12; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s ease; }
.card:hover img { transform: scale(1.03); }
.dorsal { position: absolute; right: 16px; bottom: 10px; font-size: 84px; font-weight: 900; font-style: italic; color: rgba(255,255,255,.06); pointer-events: none; }
.info { padding: 20px 22px 22px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; border-top: 1px solid #26272c; z-index: 1; }
.info h3 { font-size: 30px; margin: 4px 0; line-height: 1.05; }
.info p { font-size: 16px; color: #b8b8c0; margin: 0 0 18px; }
.info button { width: fit-content; background: none; color: #fff; border: 1px solid #48494e; padding: 7px 18px; border-radius: 20px; font: italic 600 16px 'Barlow Condensed', sans-serif; cursor: pointer; transition: .2s; }
.card:hover .info button, .info button:hover { background: var(--orange); color: #09090b; border-color: var(--orange); }

.carrusel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--orange); background: rgba(11,12,16,.92); color: var(--orange); font-size: 20px; cursor: pointer; transition: .2s; }
.carrusel-btn:hover { background: var(--orange); color: #09090b; }
.prev { left: -22px; } .next { right: -22px; }

/* =========================================================
   MODAL FICHA JUGADOR
   ========================================================= */
dialog {
  width: min(980px, 95%);
  max-height: 92vh;
  overflow-y: auto;
  margin: auto;
  color: #fff;
  padding: 28px;
  border-radius: 22px;
  border: 2px solid rgba(255, 101, 0, 0.75);
  background: 
    radial-gradient(circle at 18% 20%, rgba(255, 101, 0, 0.28), transparent 48%),
    radial-gradient(circle at 85% 85%, rgba(255, 145, 50, 0.18), transparent 50%),
    linear-gradient(135deg, #1d202b 0%, #11131a 55%, #1c1614 100%);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(255, 101, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.cerrar { background: none; border: 0; color: #ff8a25; font: 700 18px 'Barlow Condensed', sans-serif; cursor: pointer; padding: 0; margin-bottom: 14px; }
.cerrar:hover { text-decoration: underline; }
.modal-box { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.modal-img-wrap { width: 100%; background: rgba(13, 14, 18, 0.65); border-radius: 14px; display: flex; justify-content: center; border: 1px solid rgba(255, 101, 0, 0.35); overflow: hidden; }
.modal-box img { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.modal-box h1 { font-size: clamp(34px, 5vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 26px; }
.stats div { background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px); padding: 14px; border-radius: 12px; border: 1px solid rgba(255, 101, 0, 0.35); text-align: center; }
.stats strong { display: block; font-size: 32px; color: var(--orange); }
.stats span { font-size: 14px; color: #ccc; letter-spacing: 1px; }
.modal-img-col {
display: flex;
flex-direction: column;
gap: 12px;
align-items: center;
width: 100%;
}
.btn-ver-full {
width: 100%;
background: #181920;
color: var(--white);
border: 1px solid #3c3d44;
border-radius: 10px;
padding: 10px 16px;
font: italic 700 17px 'Barlow Condensed', sans-serif;
letter-spacing: 0.5px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: 0.2s;
}
.btn-ver-full:hover {
border-color: var(--orange);
color: var(--orange);
background: #1f2029;
}
/* =========================================================
VISOR PANTALLA COMPLETA
========================================================= */
dialog.visor-full {
width: 100vw;
height: 100vh;
max-width: 100vw;
max-height: 100vh;
margin: 0;
padding: 20px;
border: none;
border-radius: 0;
background: rgba(5, 6, 8, 0.96);
backdrop-filter: blur(8px);
}
dialog.visor-full[open] {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
dialog.visor-full img {
max-width: 95vw;
max-height: 78vh;
object-fit: contain;
border-radius: 14px;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}
.visor-barra {
display: flex;
gap: 14px;
margin-top: 18px;
flex-wrap: wrap;
justify-content: center;
}
.btn-descargar {
background: var(--orange);
color: #09090b;
border: none;
border-radius: 25px;
padding: 10px 26px;
font: italic 900 18px 'Barlow Condensed', sans-serif;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
transition: 0.2s;
}
.btn-descargar:hover {
transform: scale(1.04);
filter: brightness(1.08);
}
.btn-cerrar-full {
background: #1c1d25;
color: #fff;
border: 1px solid #444;
border-radius: 25px;
padding: 10px 22px;
font: italic 700 17px 'Barlow Condensed', sans-serif;
cursor: pointer;
transition: 0.2s;
}
.btn-cerrar-full:hover {
border-color: var(--orange);
color: var(--orange);
}
/* =========================================================
BANNER PLANTILLA
========================================================= */
.banner-plantilla {
max-width: 1380px;
width: 95%;
margin: 24px auto;
border-radius: 16px;
overflow: hidden;
border: 2px solid rgba(255, 101, 0, 0.45);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
background: #090a0d;
}
.banner-plantilla img {
width: 100%;
max-width: 100%;
max-height: 85vh;
height: auto;
object-fit: contain;
display: block;
margin: 0 auto;
}
/* =========================================================
SECCIÓN PALMARÉS
========================================================= */
.palmares-seccion {
padding: 65px 5%;
background: transparent;
}
.palmares-card {
position: relative;
border-radius: 22px;
border: 1px solid #292a30;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
overflow: hidden;
background:
linear-gradient(90deg, rgba(7, 8, 10, 0.1) 0%, rgba(7, 8, 10, 0.78) 32%, rgba(7, 8, 10, 0.96) 55%),
url('assets/palmares.jpg') left center / cover no-repeat;
padding: 46px 42px 46px 32%;
}
.palmares-header {
text-align: center;
margin-bottom: 24px;
}
.palmares-header .titulo-italica {
margin: 6px 0;
text-transform: uppercase;
}
.palmares-header .titulo-italica em {
color: var(--orange);
}
.palmares-header .sub {
margin: 0;
font-size: 17px;
color: #c9c9cd;
}
/* TABLA COMPACTA */
.tabla-wrapper {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
background: rgba(14, 15, 19, 0.85);
backdrop-filter: blur(8px);
border: 1px solid #2a2b32;
border-radius: 14px;
}
.tabla-palmares {
width: 100%;
border-collapse: collapse;
text-align: left;
font-family: Arial, sans-serif;
}
.tabla-palmares thead {
border-bottom: 2px solid var(--orange);
background: rgba(255, 101, 0, 0.08);
}
.tabla-palmares th {
font-family: 'Barlow Condensed', sans-serif;
font-size: 15px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #fff;
padding: 12px 16px;
white-space: nowrap;
}
.tabla-palmares td {
font-size: 13.5px;
color: #e2e2e6;
padding: 11px 16px;
border-bottom: 1px solid #222329;
vertical-align: middle;
}
.tabla-palmares tbody tr:last-child td {
border-bottom: none;
}
.tabla-palmares tbody tr:hover {
background: rgba(255, 255, 255, 0.04);
}
.tabla-palmares td.temp {
font-family: 'Barlow Condensed', sans-serif;
font-size: 15.5px;
font-weight: 700;
color: #fff;
white-space: nowrap;
}
.tabla-palmares td small {
color: #b4b4be;
font-size: 12px;
margin-left: 5px;
}
.badge {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 11px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.badge.oro {
background: var(--orange);
color: #09090b;
}
.badge.plata {
background: #8a8d96;
color: #09090b;
}
/* =========================================================
PIE DE PÁGINA
========================================================= */
.footer { position: relative; z-index: 2; overflow: hidden; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 24px 4%; background: radial-gradient(circle at 85% 50%, rgba(255,101,0,.16), transparent 55%), linear-gradient(180deg, #0b0c10, #050608); border-top: 2px solid var(--orange); }
.footer > * { position: relative; z-index: 2; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 8% 25%, #fff 90%, transparent), radial-gradient(2px 2px at 18% 75%, var(--orange) 90%, transparent), radial-gradient(1.5px 1.5px at 29% 35%, #fff 90%, transparent), radial-gradient(2px 2px at 56% 20%, var(--orange) 90%, transparent), radial-gradient(2px 2px at 78% 30%, #fff 90%, transparent), radial-gradient(2.5px 2.5px at 88% 65%, var(--orange) 90%, transparent); animation: parpadeo 3.5s ease-in-out infinite alternate; }
.footer::after { content: "✦   ★   ✦   ·   ✦   ★   ✦"; position: absolute; right: 4%; bottom: -20px; z-index: 1; pointer-events: none; font-size: 14px; letter-spacing: 28px; color: rgba(255,165,80,.55); text-shadow: 0 0 8px var(--orange); animation: subir 7s linear infinite; }
@keyframes parpadeo { 0% { opacity: .25; } 100% { opacity: .95; } }
@keyframes subir { 0% { transform: translateY(10px); opacity: 0; } 25%, 80% { opacity: .8; } 100% { transform: translateY(-165px); opacity: 0; } }
.footer-banner { width: 100%; max-width: 340px; height: 110px; background: url('assets/piefondo.png') left center/contain no-repeat; }
.socials {
display: grid;
grid-template-columns: repeat(2, minmax(195px, 1fr));
gap: 10px;
padding: 10px 28px;
border-inline: 2px solid var(--orange);
}
.socials a {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 16px;
background: rgba(255,255,255,.04);
border: 1px solid #2e2f36;
border-radius: 10px;
font: 700 15px 'Barlow Condensed', sans-serif;
text-transform: uppercase;
transition: .25s;
}
.socials a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #09090b; transform: translateY(-2px); }
.socials a svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; transition: color .25s; }
.socials a:hover svg { color: #09090b; }
.signature { justify-self: end; font-family: cursive; font-style: italic; font-size: 30px; line-height: .9; text-align: center; transform: rotate(-8deg); white-space: nowrap; }
.signature span { display: block; width: 120px; border-bottom: 3px solid var(--orange); transform: rotate(-9deg); margin: 10px auto; }
/* =========================================================
TABLET (761px - 1050px) - CABECERA INTACTA
========================================================= */
@media (max-width: 1050px) {
.site-header { height: 92px; padding: 0 24px; }
.brand { min-width: 200px; }
.brand-mark { width: 82px; height: 82px; }
.brand-copy strong { font-size: 24px; }
.brand-copy small { font-size: 11px; letter-spacing: 2px; }
.nav { gap: 16px; }
.nav a { font-size: 16px; }
.btn-pizarra img { height: 58px; }
.card { flex: 0 0 calc((100% - 30px) / 2); }
.palmares-card {
padding: 36px 24px;
background:
linear-gradient(180deg, rgba(7, 8, 10, 0.72) 0%, rgba(7, 8, 10, 0.94) 100%),
url('assets/palmares.jpg') center center / cover no-repeat;
}
.footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.signature { display: none; }
}
@media (max-width: 850px) {
.club-split, .valores-grid { grid-template-columns: 1fr; gap: 28px; }
}
/* =========================================================
MÓVIL (HASTA 760px) - CABECERA INTACTA
========================================================= */
@media (max-width: 760px) {
  body, main:not(.cromos-main) { background-attachment: scroll; }

  /* Cabecera y menú móvil exactamente como los tenías */
  .site-header {
    height: auto;
    min-height: 74px;
    padding: 8px 16px;
    overflow: visible;
    z-index: 1000;
  }
  .brand { flex: 1; min-width: 0; gap: 10px; }
  .brand-mark { width: 54px; height: 54px; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { font-size: 19px; line-height: 1; }
  .brand-copy small {
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 3px;
    white-space: normal;
  }
  .menu-toggle {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 22px;
    padding: 6px 12px;
    margin-left: auto;
  }
  .site-header .nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: #0b0c0f;
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-top: 1px solid #27272b;
    border-bottom: 2px solid var(--orange);
    border-radius: 0 0 18px 18px;
    z-index: 1001;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.98);
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav a {
    height: 46px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 19px;
    background: rgba(255, 255, 255, 0.03);
  }
  .site-header .nav a.active {
    background: rgba(255, 101, 0, 0.16);
    color: var(--orange);
    font-weight: 800;
  }
  .site-header .nav a.active:after { display: none; }
  .site-header .nav a.btn-pizarra {
    height: auto;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(255, 101, 0, 0.14);
    border: 1px solid var(--orange);
    mix-blend-mode: normal;
    border-radius: 12px;
    justify-content: center;
  }
  .btn-pizarra img { height: 48px; }

  /* Secciones principales y bloques de texto centrados en móvil */
  main:not(.cromos-main) { padding: 40px 5% 55px; }
  .palmares-seccion { padding: 26px 4% 20px; }
  .palmares-card { padding: 24px 14px; margin-bottom: 24px; }

  .club-split,
  .valores-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding-inline: 4px;
  }
  .club-split { margin-top: 16px; }
  .club-split > * {
    min-width: 0;
    max-width: 100%;
  }

  /* Centrado limpio de Quiénes Somos y Nuestra Casa */
  .club-split > div:not(.club-img-card) {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 10px;
  }
  .club-split .titulo-italica,
  .club-split h3,
  .club-split .texto-club {
    text-align: center;
    margin-inline: auto;
  }
  .titulo-italica {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.1;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .texto-club {
    font-size: 16.5px;
    line-height: 1.5;
    max-width: 44ch;
    padding-right: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .club-split .orange-button {
    width: 100%;
    font-size: 17px;
    padding: 12px 18px;
  }

  .valores-grid { margin: 36px 0; gap: 18px; }
  .valor-card { padding: 20px; text-align: center; }

  /* Tabla palmarés */
  .tabla-palmares th,
  .tabla-palmares td {
    padding: 9px 10px;
    font-size: 12.5px;
  }
  .tabla-palmares td small {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }

  /* Carrusel jugadores adaptado a móvil */
  .carrusel-track { gap: 16px; }
  .card { flex: 0 0 100%; }
  .card-img-wrap { aspect-ratio: 1 / 1.05; }
  .info { padding: 16px 18px 18px; }
  .info h3 { font-size: 26px; }
  .carrusel-btn { width: 38px; height: 38px; font-size: 16px; }
  .prev { left: 6px; }
  .next { right: 6px; }

  /* Banner plantilla */
  .banner-plantilla {
    width: 100%;
    margin: 16px auto 0;
    border-radius: 12px;
  }

  /* Modal ficha jugador */
  dialog { padding: 18px; width: 94%; }
  .modal-box { grid-template-columns: 1fr; gap: 18px; }
  .modal-box img { max-height: 46vh; }
  .stats { gap: 8px; margin: 14px 0 18px; }
  .stats div { padding: 10px 6px; }
  .stats strong { font-size: 24px; }
  .modal-box .orange-button { width: 100%; padding: 12px 20px; font-size: 18px; }

  /* Visor pantalla completa */
  dialog.visor-full { padding: 14px; }
  dialog.visor-full img { max-height: 70vh; }
  .visor-barra { width: 100%; gap: 10px; }
  .btn-descargar, .btn-cerrar-full { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 24px 16px; gap: 20px; }
  .footer-banner { max-width: 250px; height: 75px; background-position: center; }
  .socials { grid-template-columns: 1fr; border-inline: 0; border-block: 1px solid var(--orange); width: 100%; padding: 14px 0; }
}



/* Separación entre Palmarés y Quiénes Somos */
.palmares-seccion {
  padding-bottom: 30px;
}

.palmares-card {
  margin-bottom: 45px;
}

.club-split {
  margin-top: 30px;
}

/* Ajuste en móvil para que no quede demasiado hueco pero respire */
@media (max-width: 760px) {
  .palmares-card {
    margin-bottom: 24px;
  }

  .club-split {
    margin-top: 16px;
  }
}
/* Aire entre la cabecera y el bloque de Palmarés */
.palmares-seccion {
  padding-top: 40px;
  padding-bottom: 30px;
}

@media (max-width: 760px) {
  .palmares-seccion {
    padding-top: 22px;
    padding-bottom: 20px;
  }
}