/* ==========================================================
   LAA SPORTS AGENCY — Design System
   Escala de grises + acento "cromado" (extensión del isotipo)
   Fotos y escudos a COLOR — el resto en B&N
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Archivo+Narrow:ital,wght@0,400;0,500;0,600;0,700;1,600&display=swap');

:root {
    /* Grises */
    --black: #0a0a0a;
    --near-black: #141414;
    --charcoal: #1f1f1f;
    --gray-900: #2b2b2b;
    --gray-700: #4a4a4a;
    --gray-500: #7a7a7a;
    --gray-300: #b8b8b8;
    --gray-200: #d8d8d8;
    --gray-100: #efefef;
    --white: #fafafa;

    /* Cromado — degradé del propio balón del logo */
    --chrome-1: #f4f4f4;
    --chrome-2: #cfcfcf;
    --chrome-3: #9a9a9a;
    --chrome-4: #5c5c5c;
    --chrome-gradient: linear-gradient(135deg, var(--chrome-1) 0%, var(--chrome-2) 35%, var(--chrome-3) 65%, var(--chrome-4) 100%);
    --chrome-gradient-hover: linear-gradient(135deg, var(--chrome-2) 0%, var(--chrome-3) 40%, var(--chrome-4) 70%, var(--near-black) 100%);

    --font-display: 'Archivo', sans-serif;
    --font-condensed: 'Archivo Narrow', sans-serif;

    --radius: 4px;
    --transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);

    --max-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--near-black);
    color: var(--white);
    font-family: var(--font-display);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ---------- Grano de fondo (textura sutil) ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Utilidades de texto ---------- */
.eyebrow {
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--gray-300);
}

.chrome-text {
    background: var(--chrome-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0) 100%);
    transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-condensed);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--gray-300);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--chrome-gradient);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    z-index: 101;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 3px;
    color: var(--gray-500);
    border: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.lang-btn img {
    border-radius: 2px;
    display: block;
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    color: var(--white);
    border-color: var(--gray-700);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 20%, var(--gray-900) 0%, var(--near-black) 60%, var(--black) 100%);
}

.hero-bg-shape {
    position: absolute;
    inset: -20%;
    z-index: 0;
    opacity: 0.35;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06), transparent 45%);
    animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(2%, -2%) scale(1.06);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 0 20px;
    animation: rise 1s var(--transition) both;
    margin-top: 35px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: min(420px, 78vw);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-subtitle {
    max-width: 600px;
    color: var(--gray-300);
    font-size: 1.05rem;
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bob 2.4s ease-in-out infinite;
    cursor: pointer;
    transition: color var(--transition);
}

.hero-scroll:hover {
    color: var(--white);
}

.hero-scroll {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

@keyframes bob {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

.hero-scroll .line {
    width: 1px;
    height: 30px;
    background: var(--gray-500);
}

.hero-portada {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-portada img {
    max-width: 100%;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-chrome {
    background: var(--chrome-gradient);
    color: var(--black);
}

.btn-chrome:hover {
    background: var(--chrome-gradient-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-outline {
    border: 1px solid var(--gray-700);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--gray-300);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

/* ---------- Secciones genéricas ---------- */
.section {
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

/* ---------- Búsqueda por nombre / club ---------- */
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    background: var(--charcoal);
    color: var(--gray-500);
    transition: border-color var(--transition);
}

.search-box:focus-within {
    border-color: var(--chrome-2);
    color: var(--gray-300);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
}

.search-box input::placeholder {
    color: var(--gray-500);
}

@media (max-width: 720px) {
    .search-box {
        max-width: none;
    }
}

/* ---------- Filtros de posición ---------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-chip {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--gray-700);
    font-family: var(--font-condensed);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    color: var(--gray-300);
    transition: all var(--transition);
}

.filter-chip:hover {
    border-color: var(--gray-300);
    color: var(--white);
}

.filter-chip.active {
    background: var(--chrome-gradient);
    border-color: transparent;
    color: var(--black);
}

.club-filter-chip {
    border-color: var(--chrome-2);
    color: var(--white);
}

.club-filter-chip:hover {
    border-color: var(--gray-300);
}

/* ---------- Grilla de jugadores ---------- */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.player-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    opacity: 0;
    transform: translateY(18px);
    animation: card-in 0.6s var(--transition) forwards;
}

@keyframes card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.player-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.18);
}

.player-photo-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--gray-900);
}

.player-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.player-card:hover .player-photo-wrap img {
    transform: scale(1.06);
}

.player-photo-wrap .placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 3.5rem;
    font-weight: 900;
}

.player-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}

.player-position-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
}

.player-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px;
}

.player-name {
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    line-height: 1.15;
}

.player-club {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    color: var(--chrome-1);
    font-weight: 700;
}

.player-club img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ---------- Paginación mobile de la grilla ---------- */
.grid-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
}

.grid-pagination.visible {
    display: flex;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--gray-300);
    background: rgba(255, 255, 255, 0.04);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.page-info {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-width: 60px;
    text-align: center;
}

/* ---------- Ficha: overlay (única sección que no es scroll continuo) ---------- */
#view-ficha {
    display: none;
}

body.ficha-mode #view-ficha {
    display: block;
    animation: fade-in 0.5s var(--transition);
}

body.ficha-mode #home,
body.ficha-mode #jugadores,
body.ficha-mode #nosotros,
body.ficha-mode #contacto {
    display: none;
}

/* Offset para que el header fijo no tape el título al hacer scroll a una sección */
#home,
#jugadores,
#nosotros,
#contacto {
    scroll-margin-top: 84px;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---------- Banda de servicios (home) ---------- */
.services-band {
    background: #ffffff;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.services-band-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: start;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--near-black);
    text-align: center;
}

.service-icon {
    width: clamp(34px, 6vw, 48px);
    height: clamp(34px, 6vw, 48px);
}

.service-label {
    font-family: var(--font-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(0.62rem, 1.6vw, 0.82rem);
    line-height: 1.3;
}

/* ---------- Instagram embed ---------- */
.instagram-embed {
  background: #ffffff;
  color: var(--near-black);
  padding: 40px 20px;
  margin-bottom: 4px;
}
.instagram-embed:empty { display: none; }
.ig-card {
  max-width: var(--max-width);
  margin: 0 auto;
}
.ig-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ig-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.ig-info { flex: 1; min-width: 220px; }
.ig-username { font-weight: 800; font-size: 1.1rem; }
.ig-stats {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ig-stats strong { color: var(--near-black); font-size: 0.95rem; }
.ig-bio {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #333;
  max-width: 480px;
  white-space: pre-line;
}
.ig-follow-btn { border-color: #000; color: #000; flex-shrink: 0; }
.ig-follow-btn:hover { background: #000; color: #fff; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background: #eee;
}
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.ig-post:hover img { transform: scale(1.06); }
.ig-play {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #fff;
  font-size: 0.75rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

@media (max-width: 720px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-follow-btn { width: 100%; text-align: center; justify-content: center; }
}

/* ---------- Clubes de confianza ---------- */
.trust-section .section-head { margin-bottom: 40px; }

.trust-clubs-band {
  background: #ffffff;
  padding: 32px 20px;
}
.trust-clubs-track {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
}
.trust-club-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  opacity: 0.9;
  transition: transform var(--transition), opacity var(--transition);
}
.trust-club-item:hover { transform: translateY(-4px); opacity: 1; }
.trust-club-item img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 720px) {
  .trust-club-item { width: 36px; height: 36px; }
}

@media (max-width: 380px) {
    .agency-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .agency-stat-number {
        font-size: 2.6rem;
    }

    .agency-stat-label {
        font-size: 0.72rem;
    }
}

/* ---------- Botón volver arriba ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 64px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--chrome-gradient);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--chrome-gradient-hover);
    color: var(--white);
    transform: translateY(-3px);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    margin-bottom: 32px;
    color: var(--white);
    font-family: var(--font-condensed);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    transition: color var(--transition), gap var(--transition);
}

.back-btn:hover {
    color: var(--white);
    gap: 12px;
}

.ficha-header {
    display: grid;
    grid-template-columns: clamp(100px, 28vw, 320px) 1fr;
    gap: clamp(16px, 4vw, 48px);
    margin-bottom: 56px;
}

.ficha-photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-900);
    position: relative;
}

.ficha-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ficha-name {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
}

.ficha-fullname {
    color: var(--gray-500);
    font-family: var(--font-condensed);
    margin-top: 4px;
}

.club-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--chrome-gradient);
    color: var(--black);
}

.club-highlight img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.club-highlight .label {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.club-highlight .name {
    font-weight: 800;
    font-size: 1rem;
}

.ficha-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.stat-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.stat-box .stat-label {
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

.stat-box .stat-value {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 4px;
}

.nac-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nac-item .flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}
.nac-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--gray-500);
}

/* Timeline de trayectoria */
.timeline {
    position: relative;
    margin-top: 12px;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--chrome-2), var(--gray-900));
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
    opacity: 0;
    transform: translateX(-12px);
    animation: tl-in 0.5s var(--transition) forwards;
}

@keyframes tl-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--chrome-gradient);
    border: 2px solid var(--near-black);
}

.timeline-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 14px 18px;
    transition: border-color var(--transition), transform var(--transition);
}

.timeline-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.timeline-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.timeline-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.timeline-body {
    flex: 1;
}

.timeline-season {
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.timeline-club {
    font-weight: 700;
    margin-top: 2px;
}

.timeline-detail {
    font-size: 0.82rem;
    color: var(--gray-300);
    margin-top: 2px;
}

.timeline-tipo {
    font-family: var(--font-condensed);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--gray-700);
    color: var(--gray-300);
    white-space: nowrap;
}

.ficha-share {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--gray-700);
    font-family: var(--font-condensed);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    color: var(--gray-300);
    transition: all var(--transition);
}

.share-btn:hover {
    border-color: var(--gray-300);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

/* Video */

.video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ficha-section-title {
    font-family: var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ficha-block {
    margin-bottom: 48px;
}

/* ---------- Quiénes somos ---------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.about-banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 56px;
}

.about-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text p {
    color: var(--gray-300);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

/* ---------- Objetivos (Quiénes somos) ---------- */
.objetivos-block {
    margin-top: 30px;
}

.objetivos-block .section-head {
    margin-bottom: 40px;
}

.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.objetivo-item {
    position: relative;
}

.objetivo-num {
    font-family: var(--font-condensed);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--gray-500);
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.objetivo-icon {
    color: var(--chrome-2);
    margin-bottom: 12px;
}

.objetivo-icon svg {
    width: 26px;
    height: 26px;
}

.objetivo-item h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.objetivo-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.objetivo-item p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .objetivos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}

@media (max-width: 480px) {
    .objetivos-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Contacto ---------- */
.contact-form {
    display: grid;
    gap: 18px;
    max-width: 560px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

.form-group input,
.form-group textarea {
    background: var(--charcoal);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--chrome-2);
    background: var(--gray-900);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    font-family: var(--font-condensed);
    font-size: 0.85rem;
}

.form-status.success {
    color: var(--chrome-1);
}

.form-status.error {
    color: #e07a7a;
}

/* ---------- Footer fijo ---------- */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
    background: var(--black);
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo img {
    height: 24px;
    opacity: 0.85;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--chrome-gradient);
    border-color: transparent;
}

.social-links a:hover svg {
    fill: var(--black);
}

.social-links svg {
    width: 16px;
    height: 16px;
    fill: var(--gray-300);
    transition: fill var(--transition);
}

.footer-credit {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    color: var(--gray-500);
}

.footer-credit a {
    color: var(--gray-300);
    transition: color var(--transition);
}

.footer-credit a:hover {
    color: var(--white);
}

/* ---------- Loading skeleton ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--charcoal) 25%, var(--gray-900) 50%, var(--charcoal) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 76%;
        max-width: 320px;
        background: var(--black);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 28px;
        transform: translateX(100%);
        transition: transform var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 6px;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--white);
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .player-name {
        font-size: 0.9rem;
    }

    .player-club {
        font-size: 0.72rem;
    }

    .player-club img {
        width: 15px;
        height: 15px;
    }

    .player-position-tag {
        font-size: 0.6rem;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }

    .player-info {
        padding: 10px;
    }
}