/* ════════════════════════════════════════════════════════
   EFC MADRID 2018 — REDISEÑO PREMIUM
   Paleta: Azul marino + Amarillo vibrante + Blanco
   Fuentes: Barlow Condensed (titulares) + DM Sans (cuerpo)
════════════════════════════════════════════════════════ */

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

:root {
    --azul: #0A1A4A;
    --azul-medio: #15307A;
    --azul-claro: #1E4FC2;
    --azul-profundo: #060E2A;
    --amarillo: #F5C400;
    --amarillo-v: #FFD700;
    --amarillo-soft: #FFF0B3;
    --blanco: #FFFFFF;
    --crema: #F8F7F2;
    --gris: #6B7280;
    --gris-claro: #F3F4F6;
    --texto: #111827;
    --radio: 8px;
    --radio-lg: 14px;
    --sombra-sm: 0 2px 8px rgba(10, 26, 74, 0.06);
    --sombra-md: 0 4px 20px rgba(10, 26, 74, 0.1);
    --sombra-lg: 0 12px 40px rgba(10, 26, 74, 0.15);
    --sombra-xl: 0 20px 60px rgba(10, 26, 74, 0.2);
    --grad-azul: linear-gradient(135deg, #0A1A4A 0%, #15307A 50%, #1E4FC2 100%);
    --grad-amarillo: linear-gradient(135deg, #F5C400 0%, #FFD700 100%);
    --grad-hero: linear-gradient(135deg, rgba(10, 26, 74, 0.95) 0%, rgba(21, 48, 122, 0.85) 100%);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--texto);
    background: var(--blanco);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.seo-h1-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── ANIMACIONES ──────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

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

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

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(245, 196, 0, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

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

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── TOPBAR ───────────────────────────────────────────── */
.topbar {
    background: var(--azul-profundo);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 48px;
    display: flex;
    justify-content: flex-end;
    gap: 32px;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(245, 196, 0, 0.1);
}

.topbar a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar a:hover {
    color: var(--amarillo);
    text-shadow: 0 0 12px rgba(245, 196, 0, 0.3);
}

.topbar span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── NAVBAR ───────────────────────────────────────────── */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--azul);
    padding: 24px 48px;
    position: sticky; top: 0; z-index: 200;
    border-bottom: 3px solid var(--amarillo);
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 26, 74, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.08) rotate(-2deg);
}

.navbar-brand span,
.navbar-brand-text {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--amarillo);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-inscripcion {
    background: var(--grad-amarillo);
    color: var(--azul);
    padding: 10px 28px;
    border-radius: 6px;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(245, 196, 0, 0.2);
}

.navbar-inscripcion:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 14px rgba(245, 196, 0, 0.35);
}

.navbar-inscripcion:active {
    filter: brightness(0.95);
    box-shadow: 0 1px 4px rgba(245, 196, 0, 0.2);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-links a,
.navbar-links button.navbar-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'DM Sans', 'Open Sans', sans-serif;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.navbar-links a::after,
.navbar-links button.navbar-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--amarillo);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar-links a:hover::after,
.navbar-links button.navbar-btn:hover::after {
    width: 60%;
}

.navbar-links a:hover,
.navbar-links button.navbar-btn:hover {
    color: var(--amarillo);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-user {
    color: var(--amarillo) !important;
    font-weight: 600 !important;
}

/* ── BOTONES ──────────────────────────────────────────── */
.btn-primary {
    background: var(--grad-amarillo);
    color: var(--azul);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 196, 0, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(245, 196, 0, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--azul);
    color: var(--amarillo);
    transform: translateY(-2px);
    box-shadow: var(--sombra-md);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    filter: grayscale(0.3);
}

.btn-full {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 5px;
}

/* ── HERO SPLIT ───────────────────────────────────────── */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
}

/* ── CARRUSEL ─────────────────────────────────────────── */
.carrusel {
    position: relative;
    overflow: hidden;
    background: var(--azul-profundo);
}

.carrusel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.carrusel-slide {
    min-width: 100%;
    height: 580px;
    position: relative;
    overflow: hidden;
}

.carrusel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.carrusel-slide-img:hover {
    transform: scale(1.05);
}

.carrusel-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(6, 14, 42, 0.92) 0%, rgba(10, 26, 74, 0.4) 50%, transparent 100%);
}

.carrusel-texto {
    color: var(--amarillo);
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.carrusel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carrusel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
}

.carrusel-dot.active {
    background: var(--amarillo);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(245, 196, 0, 0.5);
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 26, 74, 0.5);
    color: white;
    border: 1px solid rgba(245, 196, 0, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.carrusel-btn:hover {
    background: var(--amarillo);
    color: var(--azul);
    border-color: var(--amarillo);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(245, 196, 0, 0.4);
}

.carrusel-btn.prev {
    left: 18px;
}

.carrusel-btn.next {
    right: 18px;
}

/* Escudo ghost */
.carrusel-escudo {
    height: 100px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    margin-bottom: 15px;
}

/* ── CLUB HERO ────────────────────────────────────────── */
.club-hero {
    background: var(--grad-azul);
    color: white;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.club-hero::before {
    content: 'EFC';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 14rem;
    color: rgba(245, 196, 0, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.club-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 196, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.club-hero h2 {
    font-size: 2.8rem;
    color: var(--amarillo);
    margin-bottom: 22px;
    text-transform: uppercase;
    animation: fadeUp 0.6s ease both;
}

.club-hero h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--grad-amarillo);
    margin-top: 14px;
    border-radius: 2px;
}

.club-hero p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.club-hero strong {
    color: white;
}

.club-valores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.valor-badge {
    background: rgba(245, 196, 0, 0.1);
    color: var(--amarillo);
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(245, 196, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.valor-badge:hover {
    background: rgba(245, 196, 0, 0.2);
    border-color: rgba(245, 196, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 196, 0, 0.15);
}

.club-hero .btn-primary {
    margin-top: 28px;
    align-self: flex-start;
}

/* ── FRANJA ESTADÍSTICAS ──────────────────────────────── */
.stats-strip {
    background: linear-gradient(135deg, #F5C400 0%, #FFD700 50%, #F5C400 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    padding: 24px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.15) 100%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 12px 16px;
    border-right: 1px solid rgba(11, 31, 92, 0.12);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    color: var(--azul);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(11, 31, 92, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 4px;
}

/* ── INFO SPLIT ───────────────────────────────────────── */
.info-split {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-left {
    background: var(--blanco);
    padding: 60px 48px;
}

.info-right {
    background: var(--blanco);
    padding: 60px 48px;
}

.info-split h3 {
    font-size: 1.7rem;
    color: var(--azul);
    margin-bottom: 30px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-split h3::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--grad-amarillo);
    margin-left: 8px;
    border-radius: 2px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition);
}

.info-item:hover {
    transform: translateX(4px);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item-icon {
    width: 42px;
    height: 42px;
    background: var(--grad-azul);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 26, 74, 0.2);
    transition: transform var(--transition);
}

.info-item:hover .info-item-icon {
    transform: scale(1.1);
}

.info-item-text h4 {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.info-item-text p {
    color: var(--gris);
    font-size: 0.88rem;
    line-height: 1.6;
}

.info-item-text a {
    color: var(--azul-claro);
    text-decoration: none;
    transition: color var(--transition);
}

.info-item-text a:hover {
    color: var(--amarillo);
}

.horario-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
}

.horario-tabla thead tr {
    border-bottom: 2px solid var(--amarillo);
}

.horario-tabla th {
    padding: 10px 4px;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.horario-tabla tr {
    border-bottom: 1px solid #EBEBEB;
    transition: background var(--transition);
}

.horario-tabla tr:hover {
    background: rgba(245, 196, 0, 0.05);
}

.horario-tabla td {
    padding: 12px 4px;
    font-size: 0.88rem;
}

.horario-tabla td:first-child {
    font-weight: 600;
    color: var(--azul);
    width: 42%;
}

.horario-tabla td:last-child {
    color: var(--gris);
}

.precios {
    margin-top: 8px;
}

.precio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #EBEBEB;
    transition: all var(--transition);
}

.precio-item:hover {
    padding-left: 8px;
    background: rgba(245, 196, 0, 0.03);
}

.precio-item span:first-child {
    color: #444;
    font-size: 0.88rem;
}

.precio-item span:last-child {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    color: var(--azul);
    font-size: 1.2rem;
}

.precios-nota {
    font-size: 0.82rem;
    color: var(--gris);
    margin-top: 12px;
    font-style: italic;
}

.info-ropa {
    display: flex;
    flex-direction: column;
    background: var(--blanco);
    padding: 60px 40px;
}

.ropa-carrusel {
    position: relative;
    width: min(100%, 340px);
    border-radius: var(--radio-lg);
    overflow: hidden;
    border: 2px solid rgba(10, 26, 74, 0.08);
    background: #fff;
    margin: 12px auto 18px;
    box-shadow: var(--sombra-md);
    transition: box-shadow var(--transition);
}

.ropa-carrusel:hover {
    box-shadow: var(--sombra-lg);
}

.ropa-carrusel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ropa-slide {
    min-width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.ropa-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ropa-carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 26, 74, 0.55);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 2;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.ropa-carrusel-btn.prev {
    left: 10px;
}

.ropa-carrusel-btn.next {
    right: 10px;
}

.ropa-carrusel-btn:hover {
    background: var(--amarillo);
    color: var(--azul);
    transform: translateY(-50%) scale(1.1);
}

.ropa-carrusel-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.ropa-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition);
}

.ropa-dot.active {
    background: var(--amarillo);
    box-shadow: 0 0 8px rgba(245, 196, 0, 0.5);
}

.ropa-desc {
    color: var(--gris);
    line-height: 1.7;
    font-size: 0.88rem;
}

.ropa-desc-small {
    font-size: 0.88rem;
}

.warning-box-info {
    background: #EEF4FF;
    border-left: 4px solid var(--azul-claro);
    color: #1A3A8F;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin-top: 16px;
    font-size: 0.87rem;
    line-height: 1.6;
}

.warning-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--azul);
    font-weight: 700;
    text-decoration: underline;
}

.warning-link:hover {
    color: var(--azul-claro);
}

/* ── PARTIDOS + CATEGORÍAS ────────────────────────────── */
.cal-cat-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.calendario-section {
    background: var(--crema);
    padding: 64px 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.calendario-section h2 {
    font-size: 2.4rem;
    color: var(--azul);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.calendario-section .sub {
    color: var(--gris);
    margin-bottom: 30px;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.calendario-section img {
    width: 100%;
    max-width: 440px;
    border-radius: var(--radio-lg);
    box-shadow: var(--sombra-md);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 2px solid rgba(10, 26, 74, 0.05);
}

.calendario-section img:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
}

.calendario-section p.aviso {
    color: var(--gris);
    font-size: 0.8rem;
    margin-top: 16px;
    font-style: italic;
}

.redes-sociales {
    margin-top: 28px;
}

.redes-botones {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 12px;
}

.red-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.red-btn svg {
    width: 16px;
    height: 16px;
}

.red-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.red-instagram {
    background: linear-gradient(135deg, #E1306C, #F77737);
    color: white;
}

.red-facebook {
    background: linear-gradient(135deg, #1877F2, #4A97F5);
    color: white;
}

.categorias-section {
    background: var(--crema);
    padding: 64px 52px;
}

.categorias-section h2 {
    font-size: 2.4rem;
    color: var(--azul);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.categorias-section .sub {
    color: var(--gris);
    margin-bottom: 30px;
    font-size: 0.88rem;
}

.categorias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.categoria-card {
    background: var(--blanco);
    border-radius: var(--radio);
    padding: 16px 18px;
    border-left: 4px solid var(--amarillo);
    transition: all var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--sombra-sm);
}

.categoria-card:hover {
    border-left-color: var(--azul);
    transform: translateX(4px);
    box-shadow: var(--sombra-md);
}

.categoria-card-info h3 {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--azul);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.categoria-card-info p {
    font-size: 0.78rem;
    color: var(--gris);
}

.categoria-precio {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--amarillo);
    background: var(--grad-azul);
    padding: 5px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(10, 26, 74, 0.2);
}

/* ── FORMULARIOS ──────────────────────────────────────── */
.form-section {
    min-height: calc(100vh - 130px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--crema);
    padding: 48px 20px;
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(10, 26, 74, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(245, 196, 0, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.form-card {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--sombra-lg);
    border-top: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    animation: scaleIn 0.4s ease both;
}

.form-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-amarillo);
    border-radius: var(--radio-lg) var(--radio-lg) 0 0;
}

.form-card h1 {
    color: var(--azul);
    font-size: 2.1rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--gris);
    margin-bottom: 30px;
    font-size: 0.88rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radio);
    font-size: 0.95rem;
    font-family: 'DM Sans', 'Open Sans', sans-serif;
    transition: all var(--transition);
    background: var(--blanco);
    color: var(--texto);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 4px rgba(10, 26, 74, 0.08), var(--sombra-sm);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: #999;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition);
}

.password-toggle-btn .eye-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.password-toggle-btn:hover {
    background: #F3F4F6;
    color: var(--azul);
}

.password-toggle-btn:focus-visible {
    outline: 2px solid var(--azul);
}

.form-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--gris);
}

.form-footer a {
    color: var(--azul);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.form-footer a:hover {
    color: var(--azul-claro);
}

.error-msg {
    background: #FFF0F0;
    color: #C0392B;
    padding: 12px 16px;
    border-radius: var(--radio);
    margin-bottom: 14px;
    font-size: 0.87rem;
    border-left: 3px solid #E74C3C;
}

.success-msg {
    background: #F0FFF4;
    color: #27AE60;
    padding: 12px 16px;
    border-radius: var(--radio);
    margin-bottom: 14px;
    font-size: 0.87rem;
    border-left: 3px solid #27AE60;
}

/* ── PANEL ────────────────────────────────────────────── */
.panel-section {
    padding: 48px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.panel-title {
    color: var(--azul);
    font-size: 2.4rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.panel-subtitle {
    color: var(--gris);
    margin-bottom: 34px;
    font-size: 0.9rem;
}

.jugadores-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.jugador-card {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 26px;
    width: 300px;
    box-shadow: var(--sombra-sm);
    border-top: 4px solid var(--amarillo);
    transition: all var(--transition);
}

.jugador-card:hover {
    box-shadow: var(--sombra-lg);
    transform: translateY(-4px);
}

.jugador-card h2 {
    color: var(--azul);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.jugador-card.nueva-inscripcion {
    border-top: 4px solid var(--azul);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jugador-card.nueva-inscripcion h2 {
    color: var(--azul);
}

.jugador-card.nueva-inscripcion p {
    color: var(--gris);
    margin-bottom: 10px;
}

.categoria-badge {
    background: var(--grad-azul);
    color: var(--amarillo);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
}

.pago-info {
    margin-top: 16px;
}

.pago-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.87rem;
}

.pagado {
    color: #27AE60;
    font-weight: 600;
}

.pendiente {
    color: #E94560;
    font-weight: 600;
}

.tabla-container {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
}

.tabla-jugadores {
    width: 100%;
    border-collapse: collapse;
}

.tabla-jugadores th {
    background: var(--azul);
    color: var(--amarillo);
    padding: 14px 16px;
    text-align: left;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tabla-jugadores td {
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.87rem;
}

.tabla-jugadores tr:hover {
    background: rgba(245, 196, 0, 0.03);
}

.stats-bar {
    display: flex;
    gap: 24px;
    background: var(--grad-azul);
    color: white;
    padding: 14px 22px;
    border-radius: var(--radio);
    margin-bottom: 20px;
    font-size: 0.88rem;
    border-left: 4px solid var(--amarillo);
}

.filtros-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 44px;
    background: var(--blanco);
    border-bottom: 1px solid #E5E7EB;
}

.filtro-btn {
    background: var(--blanco);
    border: 1.5px solid var(--azul);
    color: var(--azul);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    transition: all var(--transition);
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--azul);
    color: var(--amarillo);
    box-shadow: var(--sombra-sm);
}

.btn-accion {
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 2px;
    transition: all var(--transition);
}

.btn-accion:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-pago {
    background: #E8F5E9;
    color: #27AE60;
}

.btn-borrar {
    background: #FCE4EC;
    color: #E94560;
}

.contacto-link {
    color: var(--azul);
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    transition: color var(--transition);
}

.contacto-link:hover {
    color: var(--amarillo);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 14, 42, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--sombra-xl);
    border-top: 4px solid var(--amarillo);
    animation: scaleIn 0.3s ease;
}

.modal-content h2 {
    color: var(--azul);
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
}

.modal-hidden {
    display: none;
}

.resumen-card {
    background: var(--crema);
    border-radius: var(--radio);
    padding: 22px;
    margin: 20px 0;
}

.resumen-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.92rem;
}

.resumen-total {
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 4px;
}

.confirmacion {
    text-align: center;
    padding: 20px 0;
}

.confirmacion-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.confirmacion h1 {
    color: var(--azul);
    margin-bottom: 10px;
    font-size: 2rem;
    text-transform: uppercase;
}

.confirmacion .btn-primary {
    display: inline-block;
    margin-top: 24px;
}

.card-element {
    border: 2px solid #E5E7EB;
    border-radius: var(--radio);
    padding: 12px 14px;
    background: var(--blanco);
}

.no-data {
    color: var(--gris);
    text-align: center;
    padding: 48px;
}

.no-data a {
    color: var(--azul);
    font-weight: 600;
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
    background: var(--azul-profundo);
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    padding: 36px 20px 28px;
    font-size: 0.82rem;
    border-top: none;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azul), var(--amarillo), var(--azul));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.footer strong {
    color: var(--amarillo);
}

.footer-redes {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}

.footer-redes a {
    color: rgba(255, 255, 255, 0.35);
    transition: all var(--transition);
}

.footer-redes a:hover {
    color: var(--amarillo);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(245, 196, 0, 0.4));
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--amarillo);
}

.footer p {
    margin-bottom: 4px;
}

.footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition);
    margin-top: 8px;
    display: inline-block;
}

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

/* ── PESTAÑAS ─────────────────────────────────────────── */
.pestanas {
    display: flex;
    background: var(--azul);
    padding: 0 44px;
    border-bottom: 3px solid var(--amarillo);
}

.pestana-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 14px 28px;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--transition);
}

.pestana-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

.pestana-btn.active {
    color: var(--amarillo);
    border-bottom: 3px solid var(--amarillo);
    margin-bottom: -3px;
}

.badge {
    background: #E94560;
    color: white;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
}

.pagos-tabla-container {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
}

.pagos-tabla {
    width: 100%;
    border-collapse: collapse;
}

.pagos-tabla th {
    background: var(--azul);
    color: var(--amarillo);
    padding: 14px 16px;
    text-align: left;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pagos-tabla td {
    padding: 11px 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.87rem;
}

.pagos-tabla tr:hover {
    background: rgba(245, 196, 0, 0.03);
}

.badge-sin-confirmar {
    display: inline-block;
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFC107;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.cuotas-selector {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.cuota-btn {
    flex: 1;
    padding: 13px;
    border: 2px solid var(--azul);
    background: var(--blanco);
    border-radius: var(--radio);
    cursor: pointer;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul);
    letter-spacing: 0.04em;
    transition: all var(--transition);
}

.cuota-btn.active,
.cuota-btn:hover {
    background: var(--azul);
    color: var(--amarillo);
    box-shadow: var(--sombra-sm);
}

.cuota-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #D1D5DB;
}

.info-cuota {
    background: #EEF4FF;
    border-left: 3px solid var(--azul-claro);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    font-size: 0.87rem;
    color: var(--azul);
    margin-top: 8px;
}

.estado-pago-pendiente {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFC107;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.83rem;
    margin-top: 10px;
    text-align: center;
}

.primera-cuota-info {
    background: #EEF4FF;
    border-left: 3px solid var(--azul-claro);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    margin-top: 10px;
    font-size: 0.87rem;
    color: var(--azul);
}

/* ── TRABAJA ──────────────────────────────────────────── */
.trabaja-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    min-height: 600px;
    flex: 1 0 auto;
}

.trabaja-info {
    background: var(--grad-azul);
    padding: 64px 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.trabaja-info::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 196, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.trabaja-info h2 {
    font-size: 2.1rem;
    color: var(--amarillo);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.trabaja-info .sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.87rem;
    margin-bottom: 34px;
}

.trabaja-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    transition: transform var(--transition);
}

.trabaja-item:hover {
    transform: translateX(4px);
}

.trabaja-item-icon {
    font-size: 0.85rem;
    min-width: 42px;
    height: 42px;
    background: rgba(245, 196, 0, 0.1);
    border: 1px solid rgba(245, 196, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarillo);
    font-weight: 800;
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
}

.trabaja-item-text h4 {
    color: var(--amarillo);
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.trabaja-item-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.6;
}

.trabaja-requisitos {
    margin-top: 34px;
    background: rgba(245, 196, 0, 0.06);
    border: 1px solid rgba(245, 196, 0, 0.15);
    border-radius: var(--radio-lg);
    padding: 22px;
}

.trabaja-requisitos h3 {
    font-family: 'Barlow Condensed', 'Oswald', sans-serif;
    color: var(--amarillo);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.trabaja-requisitos ul {
    list-style: none;
    padding: 0;
}

.trabaja-requisitos ul li {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.83rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition);
}

.trabaja-requisitos ul li:hover {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 4px;
}

.trabaja-requisitos ul li::before {
    content: '✓';
    color: var(--amarillo);
    font-weight: 700;
}

.trabaja-formulario {
    background: var(--crema);
    padding: 64px 48px;
}

.trabaja-formulario h2 {
    font-size: 2.1rem;
    color: var(--azul);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.trabaja-formulario .sub {
    color: var(--gris);
    font-size: 0.87rem;
    margin-bottom: 26px;
}

.iframe-container {
    background: var(--blanco);
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
    border-top: 4px solid var(--amarillo);
}

.iframe-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* ── LEGAL ────────────────────────────────────────────── */
.legal-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 44px;
    flex: 1 0 auto;
}

.legal-section h1 {
    color: var(--azul);
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.legal-section .fecha {
    color: #9CA3AF;
    font-size: 0.83rem;
    margin-bottom: 48px;
}

.legal-bloque {
    margin-bottom: 48px;
}

.legal-bloque h2 {
    color: var(--azul);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--amarillo);
    display: inline-block;
}

.legal-bloque p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.93rem;
}

.legal-bloque ul {
    color: #444;
    line-height: 1.8;
    font-size: 0.93rem;
    padding-left: 20px;
    margin-bottom: 10px;
}

.legal-bloque ul li {
    margin-bottom: 6px;
}

.legal-bloque table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.legal-bloque table th {
    background: var(--azul);
    color: var(--amarillo);
    padding: 10px 12px;
    text-align: left;
}

.legal-bloque table td {
    padding: 10px 12px;
    border-bottom: 1px solid #E5E7EB;
    color: #444;
}

.indice {
    background: var(--crema);
    border-left: 4px solid var(--amarillo);
    padding: 22px 26px;
    border-radius: 0 var(--radio) var(--radio) 0;
    margin-bottom: 48px;
}

.indice h3 {
    color: var(--azul);
    margin-bottom: 14px;
    font-size: 1rem;
    text-transform: uppercase;
}

.indice a {
    display: block;
    color: var(--azul);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 5px 0;
    transition: all var(--transition);
}

.indice a:hover {
    color: var(--azul-claro);
    text-decoration: underline;
    padding-left: 4px;
}

/* ── CHECKBOX ─────────────────────────────────────────── */
.checkbox-group {
    margin-top: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 17px;
    min-width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--azul);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--azul);
    font-weight: 600;
    text-decoration: underline;
}

/* ── MAPA ─────────────────────────────────────────────── */
.mapa-container {
    margin-top: 22px;
    border-radius: var(--radio-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
}

.mapa-container iframe {
    width: 100%;
    height: 220px;
    border: none;
    display: block;
}

/* ── FOCUS STATES (ACCESIBILIDAD) ─────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--amarillo);
    outline-offset: 2px;
}

.navbar-links a:focus-visible,
.navbar-links button:focus-visible {
    outline-color: var(--amarillo);
    border-radius: 4px;
}

/* ── UTILIDADES ───────────────────────────────────────── */
.panel-section,
.form-section,
.hero-split,
.info-split,
.cal-cat-split {
    flex: 1 0 auto;
}

.is-hidden,
.modal-hidden {
    display: none !important;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-25 {
    margin-bottom: 25px;
}

.text-center {
    text-align: center;
}

.text-strong {
    font-weight: 600;
}

.text-muted {
    color: var(--gris);
}

.text-success {
    color: #27AE60;
}

.text-danger {
    color: #E94560;
}

.icon-xl {
    font-size: 3rem;
}

.inline-block {
    display: inline-block;
}

.btn-block {
    width: 100%;
}

.btn-center-link {
    display: block;
    text-align: center;
    margin-top: 12px;
}

.btn-danger-solid {
    background: #E94560;
    color: #fff;
}

.title-accent {
    color: var(--azul);
    margin: 10px 0;
}

.form-card-wide {
    max-width: 550px;
}

.text-mono {
    font-family: monospace;
    font-weight: 700;
}

.text-mono-accent {
    font-family: monospace;
    font-weight: 700;
    color: var(--azul);
}

.text-mono-iban {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.88rem;
}

.text-strong-accent {
    font-weight: 700;
    color: var(--azul);
}

.form-help-text {
    font-weight: 600;
    color: #333;
    font-size: 0.87rem;
}

.modal-error {
    display: none;
    margin-top: 10px;
}

.importe-destacado {
    font-size: 1.3rem;
    font-weight: 700;
}

.warning-box {
    display: block;
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFC107;
    margin-top: 14px;
    border-radius: var(--radio);
    padding: 10px 12px;
    font-size: 0.85rem;
}

.warning-box-compact {
    margin-top: 5px;
}

.actions-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.actions-row-compact {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
}

.resumen-card-compact {
    margin-bottom: 14px;
}

.resumen-row-no-border {
    border-bottom: none;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-center {
        position: static;
        transform: none;
    }

    .topbar {
        padding: 8px 20px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-split,
    .info-split,
    .cal-cat-split,
    .trabaja-split {
        grid-template-columns: 1fr;
    }

    .carrusel-slide {
        height: 320px;
    }

    .club-hero {
        padding: 44px 28px;
    }

    .club-hero::before {
        display: none;
    }

    .club-hero h2 {
        font-size: 2.2rem;
    }

    .info-left,
    .info-right,
    .info-ropa {
        padding: 40px 24px;
    }

    .calendario-section,
    .categorias-section {
        padding: 44px 24px;
    }

    .categorias-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px 20px;
    }

    .panel-section {
        padding: 24px;
    }

    .filtros-bar {
        padding: 14px 20px;
    }

    .navbar-links {
        flex-wrap: wrap;
    }

    .ropa-carrusel {
        width: 100%;
        max-width: 320px;
    }

    .ropa-slide {
        height: 220px;
    }

    .categoria-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-card {
        padding: 32px 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ── DARK MODE TOGGLE ────────────────────────────────── */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--azul);
    color: var(--amarillo);
    border: 2px solid var(--amarillo);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 6px 28px rgba(245, 196, 0, 0.3);
}

.dark-mode .theme-toggle {
    background: var(--amarillo);
    color: var(--azul-profundo);
    border-color: var(--amarillo);
}

/* ── DARK MODE ───────────────────────────────────────── */
body.dark-mode {
    --blanco: #111827;
    --crema: #1a1f2e;
    --texto: #E5E7EB;
    --gris-claro: #1f2937;
    background: #0d1117;
    color: #E5E7EB;
}

.dark-mode .topbar {
    background: #060a14;
    border-bottom-color: rgba(245, 196, 0, 0.08);
}

.dark-mode .navbar {
    background: #0a1225;
}

.dark-mode .navbar.scrolled {
    background: rgba(10, 18, 37, 0.9);
}

.dark-mode .club-hero {
    background: linear-gradient(135deg, #0a1225 0%, #111d3a 50%, #162850 100%);
}

.dark-mode .stats-strip {
    background: linear-gradient(135deg, #1a1400 0%, #2a2000 50%, #1a1400 100%);
}

.dark-mode .stat-num {
    color: var(--amarillo);
}

.dark-mode .stat-label {
    color: rgba(245, 196, 0, 0.6);
}

.dark-mode .stat-item {
    border-right-color: rgba(245, 196, 0, 0.15);
}

.dark-mode .info-left,
.dark-mode .info-ropa,
.dark-mode .info-right {
    background: #111827;
}

.dark-mode .info-split h3 {
    color: var(--amarillo);
}

.dark-mode .info-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .info-item-text h4 {
    color: var(--amarillo);
}

.dark-mode .info-item-text p {
    color: #9CA3AF;
}

.dark-mode .info-item-text a {
    color: #60a5fa;
}

.dark-mode .horario-tabla thead tr {
    border-bottom-color: var(--amarillo);
}

.dark-mode .horario-tabla th {
    color: var(--amarillo);
}

.dark-mode .horario-tabla tr {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .horario-tabla tr:hover {
    background: rgba(245, 196, 0, 0.04);
}

.dark-mode .horario-tabla td:first-child {
    color: var(--amarillo);
}

.dark-mode .horario-tabla td:last-child {
    color: #9CA3AF;
}

.dark-mode .precio-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .precio-item:hover {
    background: rgba(245, 196, 0, 0.03);
}

.dark-mode .precio-item span:first-child {
    color: #D1D5DB;
}

.dark-mode .precio-item span:last-child {
    color: var(--amarillo);
}

.dark-mode .precios-nota {
    color: #6B7280;
}

.dark-mode .ropa-carrusel {
    border-color: rgba(245, 196, 0, 0.1);
    background: #1a1f2e;
}

.dark-mode .ropa-slide {
    background: #1a1f2e;
}

.dark-mode .ropa-desc {
    color: #9CA3AF;
}

.dark-mode .calendario-section {
    background: #151a28;
}

.dark-mode .calendario-section h2 {
    color: var(--amarillo);
}

.dark-mode .calendario-section .sub,
.dark-mode .calendario-section p.aviso {
    color: #9CA3AF;
}

.dark-mode .calendario-section img {
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: var(--sombra-md);
}

.dark-mode .categorias-section {
    background: #151a28;
}

.dark-mode .categorias-section h2 {
    color: var(--amarillo);
}

.dark-mode .categoria-card {
    background: #1a1f2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .categoria-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.dark-mode .categoria-card-info h3 {
    color: #E5E7EB;
}

.dark-mode .categoria-card-info p {
    color: #6B7280;
}

.dark-mode .footer {
    background: #060a14;
}

.dark-mode .form-section {
    background: #0d1117;
}

.dark-mode .form-section::before {
    background: radial-gradient(ellipse at top left, rgba(245, 196, 0, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(30, 79, 194, 0.04) 0%, transparent 60%);
}

.dark-mode .form-card {
    background: #151a28;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.dark-mode .form-card::before {
    background: var(--grad-amarillo);
}

.dark-mode .form-card h1 {
    color: var(--amarillo);
}

.dark-mode .form-group label {
    color: #D1D5DB;
}

.dark-mode .form-group input,
.dark-mode .form-group select {
    background: #1a1f2e;
    border-color: #374151;
    color: #E5E7EB;
}

.dark-mode .form-group input:focus,
.dark-mode .form-group select:focus {
    border-color: var(--amarillo);
    box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.1);
}

.dark-mode .form-group input::placeholder {
    color: #4B5563;
}

.dark-mode .form-footer {
    color: #6B7280;
}

.dark-mode .form-footer a {
    color: var(--amarillo);
}

.dark-mode .panel-section {
    background: #0d1117;
}

.dark-mode .panel-title {
    color: var(--amarillo);
}

.dark-mode .jugador-card {
    background: #151a28;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .jugador-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.dark-mode .jugador-card h2 {
    color: var(--amarillo);
}

.dark-mode .tabla-container,
.dark-mode .pagos-tabla-container {
    background: #151a28;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .tabla-jugadores td,
.dark-mode .pagos-tabla td {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    color: #D1D5DB;
}

.dark-mode .tabla-jugadores tr:hover,
.dark-mode .pagos-tabla tr:hover {
    background: rgba(245, 196, 0, 0.03);
}

.dark-mode .pestanas {
    background: #0a1225;
}

.dark-mode .filtros-bar {
    background: #111827;
    border-bottom-color: #1f2937;
}

.dark-mode .filtro-btn {
    background: #151a28;
    border-color: var(--amarillo);
    color: var(--amarillo);
}

.dark-mode .filtro-btn:hover,
.dark-mode .filtro-btn.active {
    background: var(--amarillo);
    color: #0a1225;
}

.dark-mode .resumen-card {
    background: #1a1f2e;
}

.dark-mode .resumen-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #D1D5DB;
}

.dark-mode .modal {
    background: rgba(0, 0, 0, 0.7);
}

.dark-mode .modal-content {
    background: #151a28;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dark-mode .modal-content h2 {
    color: var(--amarillo);
}

.dark-mode .trabaja-info {
    background: linear-gradient(135deg, #0a1225 0%, #111d3a 50%, #162850 100%);
}

.dark-mode .trabaja-formulario {
    background: #151a28;
}

.dark-mode .trabaja-formulario h2 {
    color: var(--amarillo);
}

.dark-mode .iframe-container {
    background: #1a1f2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .legal-section {
    color: #D1D5DB;
}

.dark-mode .legal-section h1 {
    color: var(--amarillo);
}

.dark-mode .legal-bloque h2 {
    color: var(--amarillo);
}

.dark-mode .legal-bloque p,
.dark-mode .legal-bloque ul {
    color: #9CA3AF;
}

.dark-mode .legal-bloque table td {
    color: #9CA3AF;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .indice {
    background: #151a28;
}

.dark-mode .warning-box-info {
    background: #1a2332;
    border-left-color: #60a5fa;
    color: #93c5fd;
}

.dark-mode .error-msg {
    background: #2d1b1b;
    color: #fca5a5;
    border-left-color: #ef4444;
}

.dark-mode .success-msg {
    background: #1b2d1b;
    color: #86efac;
    border-left-color: #22c55e;
}

.dark-mode .warning-box {
    background: #2d2a1b;
    color: #fcd34d;
    border-color: #92400e;
}

.dark-mode .mapa-container {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.dark-mode .checkbox-label {
    color: #9CA3AF;
}

.dark-mode .checkbox-label a {
    color: var(--amarillo);
}

.dark-mode .btn-secondary {
    border-color: var(--amarillo);
    color: var(--amarillo);
}

.dark-mode .btn-secondary:hover {
    background: var(--amarillo);
    color: #0a1225;
}

.dark-mode .no-data {
    color: #6B7280;
}

.dark-mode .no-data a {
    color: var(--amarillo);
}