/* =========================================================
   00. TOKENS / VARIABLES DE DISEÑO
   ---------------------------------------------------------
   Fuente única de la paleta. Usa var(--...) en el CSS nuevo.
   --accent-rgb sirve para rgba(var(--accent-rgb), .15) en
   degradados y luces.
========================================================= */

:root {
    --accent: #c6ff00;          /* lima de marca */
    --accent-rgb: 198, 255, 0;
    --bg: #050505;              /* fondo casi negro */
    --white: #ffffff;
    --text-muted: #d5d5d5;

    --event-mode430: #FD063E;   /* acento de la sección MODE 4/30 */
}

/* =========================================================
   01. RESET GENERAL
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(198, 255, 0, 0.09), transparent 35%), radial-gradient(circle at bottom right, rgba(0, 174, 255, 0.08), transparent 35%), #050505;
        z-index: -5;
    }

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

ul {
    list-style: none;
}

/* =========================================================
   02. HEADER / NAVBAR / LOGO
========================================================= */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    max-width: 1320px;
    margin: auto;
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* LOGO SPORTXPERIENCE */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-weight: 900;
    letter-spacing: -0.8px;
    font-size: 24px;
    white-space: nowrap;
    line-height: 1;
}

.logo-green {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

.logo-white {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    margin-left: -1px;
}

.logo-svg {
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 1px;
    margin-right: -1px;
    transform: translateY(-1px);
}

    .logo-svg svg {
        width: 16px;
        height: 16px;
        display: block;
    }

/* MENÚ PRINCIPAL */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 800;
    color: #d8d8d8;
}

    .nav-links a {
        transition: 0.3s;
        position: relative;
        white-space: nowrap;
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

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

/* BOTONES GENERALES */
.btn-header,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-header,
.btn-primary {
    background: var(--accent);
    color: #080808;
    box-shadow: 0 0 40px rgba(198, 255, 0, 0.25);
}

    .btn-header:hover,
    .btn-primary:hover {
        background: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 0 50px rgba(255, 255, 255, 0.18);
    }

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

    .btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-3px);
    }

/* BOTÓN MÓVIL */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

/* =========================================================
   03. DROPDOWN DEL MENÚ
========================================================= */

.dropdown {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .dropdown-link span {
        font-size: 12px;
        color: var(--accent);
        transition: 0.3s;
    }

.dropdown:hover .dropdown-link span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 38px;
    left: 0;
    min-width: 210px;
    padding: 12px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #d8d8d8;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s;
}

    .dropdown-menu li a:hover {
        background: rgba(198, 255, 0, 0.12);
        color: var(--accent);
    }

    .dropdown-menu li a::after {
        display: none;
    }

/* =========================================================
   04. HERO PRINCIPAL
========================================================= */

.hero {
    min-height: 100vh;
    padding: 145px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.8) 42%, rgba(0, 0, 0, 0.35) 100%), url("../img/principal.jpeg");
    background-size: cover;
    background-position: center;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.88)), repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 90px );
        pointer-events: none;
    }

/* LUCES DECORATIVAS */
.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(130px);
    opacity: 0.26;
    pointer-events: none;
}

.hero-glow-one {
    width: 520px;
    height: 520px;
    background: var(--accent);
    right: -150px;
    bottom: -120px;
}

.hero-glow-two {
    width: 380px;
    height: 380px;
    background: #00c8ff;
    left: 42%;
    top: 18%;
    opacity: 0.13;
}

.hero-content {
    max-width: 1320px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-left {
    max-width: 900px;
}

.tag,
.section-title p,
.contact-content p {
    color: var(--accent);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(56px, 8.4vw, 124px);
    line-height: 0.9;
    letter-spacing: 1px;
    max-width: 940px;
    text-transform: uppercase;
    text-shadow: 0 20px 80px rgba(0, 0, 0, 0.75);
}

.hero-text {
    max-width: 650px;
    color: #e3e3e3;
    line-height: 1.8;
    margin: 32px 0;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* MINI ESTADÍSTICAS DEL HERO */
.hero-mini-stats {
    margin-top: 42px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    .hero-mini-stats div {
        min-width: 130px;
        padding: 16px 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.09);
        backdrop-filter: blur(14px);
    }

    .hero-mini-stats strong {
        display: block;
        font-size: 27px;
        color: var(--accent);
        line-height: 1;
    }

    .hero-mini-stats span {
        display: block;
        margin-top: 8px;
        color: #cfcfcf;
        font-size: 13px;
        font-weight: 700;
    }

/* TARJETA FLOTANTE HERO */
.hero-card {
    position: absolute;
    right: 7%;
    bottom: 110px;
    z-index: 3;
    width: 340px;
    padding: 28px;
    border-radius: 34px;
    background: rgba(12, 17, 13, 0.78);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

.mini-label {
    display: inline-block;
    background: var(--accent);
    color: #080808;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 30px;
    margin-bottom: 9px;
}

.hero-card p {
    color: #cfcfcf;
    font-size: 15px;
}

.event-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

    .event-info span {
        background: rgba(255, 255, 255, 0.09);
        padding: 9px 11px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
    }

.hero-card-link {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent);
    font-weight: 900;
}

    .hero-card-link b {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        background: rgba(198, 255, 0, 0.15);
        border-radius: 50%;
    }

/* =========================================================
   05. ESTADÍSTICAS
========================================================= */

.stats {
    max-width: 1220px;
    margin: -55px auto 0;
    position: relative;
    z-index: 5;
    padding: 34px 24px;
    background: rgba(17, 17, 17, 0.92);
    border-radius: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.stat-box {
    text-align: center;
    padding: 22px;
}

    .stat-box h2 {
        font-size: 48px;
        color: var(--accent);
        margin-bottom: 8px;
        line-height: 1;
    }

    .stat-box p {
        color: #bdbdbd;
        font-size: 14px;
        font-weight: 700;
    }

/* =========================================================
   06. SECCIONES BASE
========================================================= */

.welcome,
.events,
.plans,
.contact {
    max-width: 1220px;
    margin: auto;
    padding: 115px 24px;
}

.section-title h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(42px, 5.3vw, 78px);
    line-height: 0.95;
    text-transform: uppercase;
}

.center {
    text-align: center;
}

/* =========================================================
   07. SPORT HUB / CARDS GRANDES
========================================================= */

.hub-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 105px 24px 70px;
    position: relative;
}

    .hub-section::before {
        content: "";
        position: absolute;
        top: 110px;
        left: 50%;
        transform: translateX(-50%);
        width: 650px;
        height: 650px;
        background: radial-gradient(circle, rgba(198, 255, 0, 0.15), transparent 65%);
        filter: blur(35px);
        z-index: -1;
    }

.hub-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 62px;
}

    .hub-header h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(38px, 5.2vw, 78px);
        line-height: 0.95;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 22px;
    }

.hub-subtitle {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.75;
    max-width: 760px;
    margin: auto;
}

.hub-grid-pro {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    grid-template-rows: 320px 320px;
    gap: 24px;
}

.hub-card-pro {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
    transition: 0.45s ease;
}

    .hub-card-pro:hover {
        transform: translateY(-10px) scale(1.012);
        border-color: rgba(198, 255, 0, 0.78);
        box-shadow: 0 45px 110px rgba(198, 255, 0, 0.16);
    }

.hub-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.95)), radial-gradient(circle at bottom right, rgba(198, 255, 0, 0.23), transparent 40%);
    transition: 0.45s ease;
    z-index: 1;
}

.hub-card-pro:hover .hub-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.92)), radial-gradient(circle at bottom right, rgba(198, 255, 0, 0.42), transparent 44%);
}

.hub-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.hub-badge {
    display: inline-flex;
    width: fit-content;
    max-width: fit-content;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 999px;
    padding: 9px 14px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.hub-card-content h3 {
    font-size: clamp(25px, 2.2vw, 39px);
    line-height: 1.05;
    margin-bottom: 14px;
    max-width: 100%;
}

.hub-card-content p {
    color: #e1e1e1;
    line-height: 1.55;
    font-size: 14px;
    max-width: 100%;
}

.hub-card-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 900;
    color: var(--accent);
}

    .hub-card-footer strong {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(198, 255, 0, 0.14);
        display: grid;
        place-items: center;
        font-size: 24px;
        transition: 0.35s;
        flex: 0 0 auto;
    }

.hub-card-pro:hover .hub-card-footer strong {
    background: var(--accent);
    color: var(--bg);
    transform: rotate(12deg);
}

/* FONDOS DE LAS CARDS */
.hub-live {
    grid-row: span 2;
    background-image: url("../img/izacorredores.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hub-training {
    background-image: url("https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?auto=format&fit=crop&w=900&q=80");
}

.hub-food {
    background-image: url("https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=900&q=80");
}

.hub-pace {
    grid-column: span 2;
    background-image: url("../img/pacesebastian.jpeg");
    background-position: center 35%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hub-live .hub-card-content h3 {
    font-size: clamp(34px, 3.3vw, 52px);
    line-height: 1;
    max-width: 520px;
}

.hub-pace .hub-card-content h3 {
    font-size: clamp(34px, 3vw, 50px);
    line-height: 1;
    max-width: 620px;
}

/* =========================================================
   08. BIENVENIDA
========================================================= */

.welcome-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 54px;
    margin-top: 58px;
    align-items: center;
}

.welcome-text h3 {
    font-size: 34px;
    margin-bottom: 22px;
}

.welcome-text p {
    color: #cfcfcf;
    line-height: 1.85;
    margin-bottom: 30px;
    font-size: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.image-card {
    min-height: 260px;
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    filter: grayscale(10%);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .image-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    }

    .image-card:hover {
        transform: scale(1.03);
        filter: grayscale(0%);
        border-color: rgba(198, 255, 0, 0.5);
    }

    .image-card div {
        position: relative;
        z-index: 2;
    }

    .image-card span {
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .image-card h4 {
        font-size: 24px;
        margin-top: 8px;
    }

.image-one {
    background-image: url("../img/ciclovia.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-two {
    background-image: url("../img/villajulian.jpeg");
}

.image-three {
    grid-column: span 2;
    background-image: url("../img/pista.jpg");
}

/* =========================================================
   09. EVENTOS Y PLANES
========================================================= */

.cards,
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 58px;
}

/* Solo para mostrar los 2 eventos actuales del inicio */
.events-two-grid {
    grid-template-columns: repeat(2, 1fr);
}

.card,
.plan {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 34px;
    padding: 32px;
    transition: 0.35s;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

    .card:hover,
    .plan:hover {
        transform: translateY(-10px);
        border-color: rgba(198, 255, 0, 0.52);
        box-shadow: 0 35px 90px rgba(198, 255, 0, 0.09);
    }

.card-tag {
    display: inline-block;
    background: rgba(198, 255, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(198, 255, 0, 0.35);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 22px;
}

.card h3,
.plan h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.card p,
.plan p {
    color: #cfcfcf;
    line-height: 1.7;
}

.card-footer {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .card-footer span,
    .card-footer a {
        font-weight: 900;
    }

    .card-footer a {
        color: var(--accent);
    }

/* Tarjetas especiales de eventos del inicio */
.event-home-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.14), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

    .event-home-card h3 {
        font-size: clamp(32px, 3.4vw, 50px);
        line-height: 1;
    }

.event-info-home {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    .event-info-home span {
        padding: 9px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        font-size: 12px;
        font-weight: 900;
    }

/* PLANES */
.plan {
    position: relative;
}

    .plan.featured {
        background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.24), transparent 36%), linear-gradient(180deg, rgba(198, 255, 0, 0.12), rgba(18, 18, 18, 1));
        border-color: rgba(198, 255, 0, 0.58);
        transform: translateY(-14px);
    }

.popular {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--accent);
    color: #080808;
    font-size: 12px;
    font-weight: 900;
    padding: 8px 13px;
    border-radius: 999px;
}

.plan h2 {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 12px;
}

.plan ul {
    margin: 26px 0 32px;
}

.plan li {
    color: #dedede;
    margin-bottom: 14px;
}

    .plan li::before {
        content: "✓";
        color: var(--accent);
        font-weight: 900;
        margin-right: 10px;
    }

.full {
    width: 100%;
    text-align: center;
}

/* =========================================================
   10. BLOQUE DESTACADO
========================================================= */

.highlight-section {
    max-width: 1220px;
    margin: 20px auto 0;
    padding: 0 24px 90px;
}

.highlight-content {
    min-height: 460px;
    border-radius: 42px;
    padding: 60px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.42)), url("https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(198, 255, 0, 0.36);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
}

    .highlight-content::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        background: var(--accent);
        filter: blur(125px);
        opacity: 0.2;
        right: -110px;
        bottom: -125px;
    }

    .highlight-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5.8vw, 82px);
        line-height: 0.94;
        max-width: 780px;
        position: relative;
        z-index: 2;
        text-transform: uppercase;
    }

    .highlight-content p {
        max-width: 620px;
        color: #d4d4d4;
        line-height: 1.85;
        margin: 24px 0;
        position: relative;
        z-index: 2;
    }

.highlight-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* =========================================================
   11. CONTACTO Y FOOTER
========================================================= */

.contact {
    max-width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.58)), url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

.contact-content {
    max-width: 1220px;
    margin: auto;
    text-align: center;
}

    .contact-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(44px, 6vw, 90px);
        margin-bottom: 34px;
        text-transform: uppercase;
        line-height: 0.95;
    }

/* FOOTER */
.footer {
    padding: 38px 24px;
    max-width: 1220px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #bdbdbd;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-copy {
    color: #bdbdbd;
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 800;
}

    .footer-links a {
        color: #d8d8d8;
        transition: 0.3s;
    }

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

/* =========================================================
   12. PACE PAGE
   Estos estilos se usan en pages/pace.html
========================================================= */

.pace-hero {
    min-height: 100vh;
    padding: 150px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.22)), url("../img/pacesebastian.jpeg");
    background-size: cover;
    background-position: center;
    background-position: center 30%;
}

    .pace-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.9)), radial-gradient(circle at 70% 50%, rgba(198, 255, 0, 0.18), transparent 35%);
        z-index: 1;
    }

.pace-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .pace-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(58px, 8vw, 118px);
        line-height: 0.9;
        text-transform: uppercase;
        max-width: 850px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.8);
    }

    .pace-hero-content p {
        max-width: 650px;
        color: #e2e2e2;
        line-height: 1.8;
        font-size: 18px;
        margin: 28px 0;
    }

.pace-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pace-floating-card {
    position: absolute;
    right: 8%;
    bottom: 105px;
    z-index: 3;
    width: 330px;
    padding: 28px;
    border-radius: 34px;
    background: rgba(10, 14, 10, 0.78);
    border: 1px solid rgba(198, 255, 0, 0.32);
    backdrop-filter: blur(20px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

    .pace-floating-card span {
        display: inline-block;
        background: var(--accent);
        color: var(--bg);
        font-weight: 900;
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .pace-floating-card h3 {
        font-size: 38px;
        color: var(--white);
        margin-bottom: 12px;
    }

    .pace-floating-card p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }

/* SECCIONES PACE */
.pace-simple-section,
.pace-info-section,
.pace-table-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.pace-section-title {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 55px;
}

    .pace-section-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 76px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .pace-section-title p:last-child {
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* CALCULADORA SIMPLE */
.pace-simple-card {
    position: relative;
    padding: 46px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

    .pace-simple-card::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -160px;
        top: -170px;
        background: var(--accent);
        filter: blur(150px);
        opacity: 0.15;
        pointer-events: none;
    }

.pace-simple-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 26px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

    .pace-simple-row:last-of-type {
        border-bottom: none;
    }

.pace-simple-icon {
    width: 78px;
    height: 78px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 38px;
    background: rgba(198, 255, 0, 0.12);
    border: 1px solid rgba(198, 255, 0, 0.32);
    box-shadow: 0 0 45px rgba(198, 255, 0, 0.08);
}

.pace-simple-content h3 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.pace-simple-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .pace-simple-controls input,
    .pace-simple-controls select {
        min-width: 160px;
        height: 60px;
        padding: 0 18px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(5, 5, 5, 0.75);
        color: var(--white);
        font-size: 16px;
        font-weight: 800;
        outline: none;
        transition: 0.3s;
    }

    .pace-simple-controls input {
        min-width: 120px;
    }

        .pace-simple-controls input::placeholder {
            color: #888888;
        }

        .pace-simple-controls input:focus,
        .pace-simple-controls select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.08);
        }

    .pace-simple-controls span {
        font-size: 24px;
        font-weight: 900;
        color: var(--accent);
    }

    .pace-simple-controls small {
        color: #cfcfcf;
        font-weight: 800;
    }

.pace-o {
    color: #ffffff !important;
    font-size: 16px !important;
}

/* BOTONES PACE */
.pace-simple-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.pace-calculate-btn,
.pace-clear-btn {
    border: none;
    cursor: pointer;
    min-width: 190px;
    height: 58px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    transition: 0.3s;
}

.pace-calculate-btn {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 45px rgba(198, 255, 0, 0.25);
}

    .pace-calculate-btn:hover {
        background: var(--white);
        transform: translateY(-3px);
    }

.pace-clear-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

    .pace-clear-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-3px);
    }

/* RESULTADO PACE */
.pace-simple-result {
    position: relative;
    z-index: 2;
    margin-top: 36px;
    padding: 36px;
    border-radius: 34px;
    background: radial-gradient(circle at right, rgba(198, 255, 0, 0.16), transparent 42%), rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(198, 255, 0, 0.32);
    text-align: center;
}

    .pace-simple-result p {
        color: var(--accent);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .pace-simple-result h3 {
        font-size: clamp(32px, 4.5vw, 62px);
        line-height: 1;
        margin-bottom: 12px;
    }

    .pace-simple-result span {
        color: #cfcfcf;
        font-weight: 800;
    }

/* INFO Y TABLA PACE */
.pace-info-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    align-items: stretch;
}

.pace-info-main,
.pace-info-card {
    border-radius: 38px;
    padding: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

    .pace-info-main h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .pace-info-main p {
        color: #d3d3d3;
        line-height: 1.85;
        margin-bottom: 18px;
        font-size: 17px;
    }

.pace-info-card {
    background: linear-gradient(180deg, rgba(198, 255, 0, 0.15), rgba(255, 255, 255, 0.025));
    border-color: rgba(198, 255, 0, 0.32);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .pace-info-card span {
        width: fit-content;
        background: var(--accent);
        color: var(--bg);
        font-weight: 900;
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .pace-info-card h3 {
        font-size: 30px;
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .pace-info-card p {
        color: #d6d6d6;
        line-height: 1.7;
    }

.pace-table-wrapper {
    overflow-x: auto;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.pace-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: rgba(12, 12, 12, 0.9);
}

    .pace-table th,
    .pace-table td {
        padding: 22px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .pace-table th {
        background: rgba(198, 255, 0, 0.12);
        color: var(--accent);
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .pace-table td {
        color: #e4e4e4;
        font-weight: 700;
    }

    .pace-table tr:hover td {
        background: rgba(198, 255, 0, 0.045);
    }

/* =========================================================
   13. RESPONSIVE / TABLET
========================================================= */

@media (max-width: 1200px) {
    .navbar {
        max-width: 1120px;
    }

    .nav-links {
        gap: 18px;
        font-size: 13px;
    }

    .hub-header h2 {
        font-size: clamp(38px, 5vw, 70px);
    }

    .hub-card-content h3 {
        font-size: clamp(24px, 2vw, 34px);
    }

    .hub-live .hub-card-content h3,
    .hub-pace .hub-card-content h3 {
        font-size: clamp(31px, 2.8vw, 44px);
    }
}

@media (max-width: 1100px) {
    .hub-grid-pro {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .hub-live,
    .hub-pace {
        grid-column: span 2;
        grid-row: auto;
    }

    .hub-card-pro {
        min-height: 370px;
    }

    .hero-card {
        right: 24px;
    }

    .hero h1 {
        font-size: clamp(56px, 8vw, 104px);
    }

    .pace-floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 40px auto 0;
        width: min(100%, 360px);
    }

    .pace-hero {
        display: block;
    }

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

/* =========================================================
   14. RESPONSIVE / CELULAR
========================================================= */

@media (max-width: 900px) {
    .btn-header {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 73px;
        right: 24px;
        width: 260px;
        padding: 22px;
        background: rgba(17, 17, 17, 0.96);
        border-radius: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        display: none;
        border: 1px solid rgba(255, 255, 255, 0.11);
        backdrop-filter: blur(18px);
    }

        .nav-links.active {
            display: flex;
        }

    .dropdown {
        width: 100%;
    }

    .dropdown-link {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 8px;
        padding: 8px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
    }

    .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .hero {
        display: block;
    }

    .hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 46px auto 0;
        width: min(100%, 360px);
    }

    .stats,
    .welcome-grid,
    .cards,
    .plan-grid,
    .events-two-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        margin: 0 24px;
    }

    .welcome-grid {
        gap: 36px;
    }

    .plan.featured {
        transform: none;
    }

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

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .hero,
    .pace-hero {
        padding-top: 125px;
    }

        .hero h1 {
            font-size: clamp(52px, 15vw, 78px);
        }

    .pace-hero-content h1 {
        font-size: clamp(52px, 14vw, 78px);
    }

    .hero-text,
    .pace-hero-content p {
        font-size: 16px;
    }

    .hero-buttons,
    .pace-hero-buttons,
    .highlight-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-mini-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hub-section {
        padding: 80px 18px 45px;
    }

    .hub-header {
        margin-bottom: 42px;
    }

        .hub-header h2 {
            font-size: 42px;
            line-height: 0.98;
        }

    .hub-subtitle {
        font-size: 15px;
        line-height: 1.65;
    }

    .hub-grid-pro {
        grid-template-columns: 1fr;
    }

    .hub-live,
    .hub-pace {
        grid-column: span 1;
    }

    .hub-card-pro {
        min-height: 330px;
        border-radius: 28px;
    }

    .hub-card-content {
        padding: 24px;
    }

        .hub-card-content h3,
        .hub-live .hub-card-content h3,
        .hub-pace .hub-card-content h3 {
            font-size: 31px;
            line-height: 1.05;
        }

        .hub-card-content p {
            font-size: 14px;
            line-height: 1.55;
        }

    .hub-card-footer {
        margin-top: 22px;
        padding-top: 15px;
    }

        .hub-card-footer strong {
            width: 42px;
            height: 42px;
            font-size: 22px;
        }

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

    .image-three {
        grid-column: span 1;
    }

    .stats {
        padding: 20px;
    }

    .stat-box h2 {
        font-size: 38px;
    }

    .highlight-content {
        padding: 36px 24px;
        border-radius: 32px;
    }

        .highlight-content h2 {
            font-size: 42px;
        }

    .pace-simple-section,
    .pace-info-section,
    .pace-table-section {
        padding: 80px 18px;
    }

    .pace-simple-card {
        padding: 28px;
        border-radius: 30px;
    }

    .pace-simple-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 0;
    }

    .pace-simple-icon {
        width: 68px;
        height: 68px;
        font-size: 32px;
    }

    .pace-simple-controls {
        align-items: stretch;
    }

        .pace-simple-controls input,
        .pace-simple-controls select {
            width: 100%;
            min-width: 100%;
        }

        .pace-simple-controls span,
        .pace-simple-controls small {
            width: 100%;
        }

    .pace-simple-actions {
        flex-direction: column;
    }

    .pace-calculate-btn,
    .pace-clear-btn {
        width: 100%;
    }

    .pace-info-main,
    .pace-info-card {
        padding: 30px;
        border-radius: 30px;
    }
}

@media (max-width: 430px) {
    .navbar {
        padding: 16px 18px;
    }

    .logo {
        font-size: 21px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hub-header h2 {
        font-size: 36px;
    }

    .hub-card-content h3,
    .hub-live .hub-card-content h3,
    .hub-pace .hub-card-content h3 {
        font-size: 28px;
    }

    .hub-card-pro {
        min-height: 310px;
    }

    .hub-card-content {
        padding: 22px;
    }
}
/* =========================================================
   EVENTOS LIVE PAGE
   Página: pages/eventos-live.html
========================================================= */

/* =========================================================
   HERO EVENTOS
========================================================= */

.events-live-hero {
    min-height: 100vh;
    padding: 155px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.24)), url("../img/eventos.webp");
    background-size: cover;
    background-position: center;
}

    .events-live-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.92)), repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 90px );
        z-index: 1;
    }

.events-live-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 1;
}

.glow-one {
    width: 520px;
    height: 520px;
    background: rgba(198, 255, 0, 0.28);
    right: -160px;
    bottom: -120px;
}

.glow-two {
    width: 360px;
    height: 360px;
    background: rgba(0, 174, 255, 0.18);
    left: 35%;
    top: 18%;
}

.events-live-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .events-live-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(58px, 8vw, 118px);
        line-height: 0.9;
        text-transform: uppercase;
        max-width: 920px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.85);
    }

    .events-live-hero-content p {
        max-width: 680px;
        color: #e1e1e1;
        line-height: 1.8;
        font-size: 18px;
        margin: 30px 0;
    }

.events-live-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.events-live-hero-card {
    position: absolute;
    right: 7%;
    bottom: 105px;
    z-index: 3;
    width: 350px;
    padding: 30px;
    border-radius: 34px;
    background: rgba(8, 12, 8, 0.78);
    border: 1px solid rgba(198, 255, 0, 0.32);
    backdrop-filter: blur(22px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

    .events-live-hero-card span {
        display: inline-block;
        background: var(--accent);
        color: var(--bg);
        font-size: 12px;
        font-weight: 900;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .events-live-hero-card h3 {
        font-size: 31px;
        line-height: 1.05;
        margin-bottom: 12px;
    }

    .events-live-hero-card p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }

.hero-event-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

    .hero-event-pills b {
        background: rgba(255, 255, 255, 0.09);
        padding: 9px 11px;
        border-radius: 999px;
        font-size: 12px;
    }

/* =========================================================
   TITULOS BASE EVENTOS
========================================================= */

.events-main-section,
.event-details-clean-section,
.event-cta-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.events-live-title {
    max-width: 900px;
    margin: 0 auto 56px;
}

    .events-live-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .events-live-title span {
        display: block;
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* =========================================================
   CARDS PRINCIPALES DE EVENTOS
========================================================= */

.events-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.event-showcase-card {
    min-height: 620px;
    border-radius: 42px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
    transition: 0.45s ease;
}

    .event-showcase-card:hover {
        transform: translateY(-10px);
        border-color: rgba(198, 255, 0, 0.62);
        box-shadow: 0 45px 120px rgba(198, 255, 0, 0.14);
    }

.event-showcase-24h {
    background-image: url("../img/retoinsta.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center 25%;
}

.event-showcase-lago {
    background-image: url("../img/vuelta-al-lago-tarjeta.jpg");
    background-color: #2f5f9e; /* azul de la imagen, por si la tarjeta es más alta que la foto */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Luz azul del reto en vez de la verde de marca */
.event-showcase-lago .event-showcase-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.92) 100%), radial-gradient(circle at bottom right, rgba(11,136,157,0.35), transparent 45%);
}

.event-showcase-mode430 {
    background-image: url("../img/xymms.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.event-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.94)), radial-gradient(circle at bottom right, rgba(198,255,0,0.25), transparent 42%);
    z-index: 1;
}

.event-showcase-content {
    position: relative;
    z-index: 2;
    padding: 42px;
    width: 100%;
}

.event-date-pill {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    font-size: 12px;
    font-weight: 900;
    padding: 9px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.event-showcase-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.event-showcase-content p {
    color: #e1e1e1;
    font-size: 16px;
    line-height: 1.75;
    max-width: 520px;
}

.event-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    .event-showcase-tags span {
        padding: 9px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.09);
        font-size: 12px;
        font-weight: 900;
        color: #e8e8e8;
    }

.event-showcase-link {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent);
    font-weight: 900;
}

    .event-showcase-link b {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: rgba(198, 255, 0, 0.14);
        font-size: 22px;
    }

/* =========================================================
   BANNER VISUAL
========================================================= */

.events-banner-section {
    min-height: 560px;
    padding: 120px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.42)), url("https://images.unsplash.com/photo-1502904550040-7534597429ae?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

    .events-banner-section::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        background: var(--accent);
        filter: blur(150px);
        opacity: 0.16;
        right: -120px;
        bottom: -120px;
    }

.events-banner-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .events-banner-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(54px, 8vw, 116px);
        line-height: 0.9;
        text-transform: uppercase;
    }

/* =========================================================
   DETALLES LIMPIOS EVENTOS
========================================================= */

.event-details-clean-section {
    display: grid;
    gap: 24px;
}

.event-clean-detail {
    display: grid;
    grid-template-columns: 120px 1fr 0.8fr;
    gap: 28px;
    align-items: center;
    padding: 38px;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.event-clean-number {
    font-family: 'Anton', sans-serif;
    font-size: 82px;
    line-height: 1;
    color: rgba(198,255,0,0.9);
}

.event-clean-info h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 5vw, 76px);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.event-clean-info p {
    color: #d4d4d4;
    line-height: 1.75;
    font-size: 16px;
}

.event-clean-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

    .event-clean-stats div {
        padding: 18px;
        border-radius: 24px;
        text-align: center;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.09);
    }

    .event-clean-stats strong {
        display: block;
        color: var(--accent);
        font-size: 24px;
        line-height: 1;
        margin-bottom: 8px;
    }

    .event-clean-stats span {
        color: #cfcfcf;
        font-size: 12px;
        font-weight: 800;
    }

/* =========================================================
   CTA FINAL EVENTOS
========================================================= */

.event-cta-card {
    border-radius: 44px;
    padding: 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(198,255,0,0.16), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
    border: 1px solid rgba(198,255,0,0.25);
    box-shadow: 0 35px 110px rgba(0,0,0,0.4);
}

    .event-cta-card h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(48px, 6vw, 96px);
        line-height: 0.92;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .event-cta-card p {
        max-width: 720px;
        margin: 0 auto 34px;
        color: #d6d6d6;
        line-height: 1.85;
        font-size: 17px;
    }

.event-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE EVENTOS LIVE
========================================================= */

@media (max-width: 1100px) {
    .events-live-hero {
        display: block;
    }

    .events-live-hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 42px auto 0;
        width: min(100%, 380px);
    }

    .events-showcase-grid {
        grid-template-columns: 1fr;
    }

    .event-showcase-card {
        min-height: 520px;
    }

    .event-clean-detail {
        grid-template-columns: 1fr;
    }

    .event-clean-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .events-live-hero {
        padding-top: 125px;
    }

    .events-live-hero-content h1 {
        font-size: clamp(52px, 14vw, 78px);
    }

    .events-live-hero-content p {
        font-size: 16px;
    }

    .events-live-buttons,
    .event-cta-buttons {
        flex-direction: column;
    }

    .events-main-section,
    .event-details-clean-section,
    .event-cta-section {
        padding: 80px 18px;
    }

    .event-showcase-card {
        min-height: 480px;
        border-radius: 32px;
    }

    .event-showcase-content {
        padding: 28px;
    }

    .events-banner-section {
        background-attachment: scroll;
        min-height: 420px;
        padding: 90px 18px;
    }

    .event-clean-detail,
    .event-cta-card {
        padding: 30px;
        border-radius: 30px;
    }

    .event-clean-number {
        font-size: 58px;
    }

    .event-clean-stats {
        grid-template-columns: 1fr;
    }

    .event-cta-card .btn-primary,
    .event-cta-card .btn-secondary {
        width: 100%;
    }
}

/* =========================================================
   TEST 2KM PAGE
   Página: pages/test-2km.html
========================================================= */

/* =========================================================
   HERO TEST 2KM
========================================================= */

.test2-hero {
    min-height: 100vh;
    padding: 155px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* TODO: placeholder temporal. Sustituir por ../img/test-2km.webp cuando se suba la imagen real. */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.25)), url("../img/pista.jpg");
    background-size: cover;
    background-position: center;
}

    .test2-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.92)), repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 90px );
        z-index: 1;
    }

.test2-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 1;
}

.test2-glow-one {
    width: 520px;
    height: 520px;
    background: rgba(198, 255, 0, 0.28);
    right: -160px;
    bottom: -120px;
}

.test2-glow-two {
    width: 360px;
    height: 360px;
    background: rgba(0, 174, 255, 0.18);
    left: 35%;
    top: 18%;
}

.test2-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .test2-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(58px, 8vw, 118px);
        line-height: 0.9;
        text-transform: uppercase;
        max-width: 920px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.85);
    }

    .test2-hero-content p {
        max-width: 680px;
        color: #e1e1e1;
        line-height: 1.8;
        font-size: 18px;
        margin: 30px 0;
    }

.test2-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.test2-hero-card {
    position: absolute;
    right: 7%;
    bottom: 105px;
    z-index: 3;
    width: 350px;
    padding: 30px;
    border-radius: 34px;
    background: rgba(8, 12, 8, 0.78);
    border: 1px solid rgba(198, 255, 0, 0.32);
    backdrop-filter: blur(22px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

    .test2-hero-card span {
        display: inline-block;
        background: var(--accent);
        color: var(--bg);
        font-size: 12px;
        font-weight: 900;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .test2-hero-card h3 {
        font-size: 31px;
        line-height: 1.05;
        margin-bottom: 12px;
    }

    .test2-hero-card p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }

/* =========================================================
   SECCIONES BASE TEST 2KM
========================================================= */

.test2-info-section,
.test2-calculator-section,
.test2-formula-section,
.test2-zones-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.test2-title {
    max-width: 900px;
    margin: 0 auto 56px;
}

    .test2-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .test2-title span {
        display: block;
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* =========================================================
   PASOS TEST 2KM
========================================================= */

.test2-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.test2-step-card {
    border-radius: 34px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
    transition: 0.35s;
}

    .test2-step-card:hover {
        transform: translateY(-10px);
        border-color: rgba(198,255,0,0.5);
    }

    .test2-step-card span {
        color: var(--accent);
        font-weight: 900;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .test2-step-card h3 {
        font-size: 30px;
        margin: 18px 0;
    }

    .test2-step-card p {
        color: #cfcfcf;
        line-height: 1.75;
    }

/* =========================================================
   CALCULADORA TEST 2KM
========================================================= */

.test2-calculator-card {
    position: relative;
    padding: 46px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 35px 110px rgba(0,0,0,0.45);
    overflow: hidden;
}

    .test2-calculator-card::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -160px;
        top: -170px;
        background: var(--accent);
        filter: blur(150px);
        opacity: 0.15;
        pointer-events: none;
    }

.test2-input-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 26px;
    align-items: center;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.test2-input-icon {
    width: 78px;
    height: 78px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 38px;
    background: rgba(198,255,0,0.12);
    border: 1px solid rgba(198,255,0,0.32);
    box-shadow: 0 0 45px rgba(198,255,0,0.08);
}

.test2-input-content h3 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.test2-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .test2-controls select {
        min-width: 160px;
        height: 60px;
        padding: 0 18px;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(5,5,5,0.75);
        color: var(--white);
        font-size: 16px;
        font-weight: 800;
        outline: none;
        transition: 0.3s;
    }

        .test2-controls select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(198,255,0,0.08);
        }

    .test2-controls span {
        font-size: 24px;
        font-weight: 900;
        color: var(--accent);
    }

    .test2-controls small {
        color: #cfcfcf;
        font-weight: 800;
    }

.test2-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.test2-result {
    position: relative;
    z-index: 2;
    margin-top: 36px;
    padding: 36px;
    border-radius: 34px;
    background: radial-gradient(circle at right, rgba(198,255,0,0.16), transparent 42%), rgba(0,0,0,0.48);
    border: 1px solid rgba(198,255,0,0.32);
    text-align: center;
}

    .test2-result p {
        color: var(--accent);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .test2-result h3 {
        font-size: clamp(32px, 4.5vw, 62px);
        line-height: 1;
        margin-bottom: 12px;
    }

    .test2-result span {
        color: #cfcfcf;
        font-weight: 800;
        line-height: 1.7;
    }

.test2-result-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 30px;
}

    .test2-result-grid div {
        padding: 18px;
        border-radius: 22px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.09);
    }

    .test2-result-grid strong {
        display: block;
        color: var(--accent);
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.05;
    }

    .test2-result-grid small {
        color: #cfcfcf;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.3;
    }

.test2-result-note {
    margin-top: 26px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(198,255,0,0.08);
    border: 1px solid rgba(198,255,0,0.22);
    color: #d8d8d8;
    line-height: 1.7;
}

    .test2-result-note b {
        color: var(--accent);
    }

/* =========================================================
   FORMULA ZONAS
========================================================= */

.test2-formula-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.test2-formula-main {
    grid-column: span 3;
    padding: 42px;
    border-radius: 38px;
    background: radial-gradient(circle at right, rgba(198,255,0,0.16), transparent 42%), linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    border: 1px solid rgba(198,255,0,0.25);
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

    .test2-formula-main h3 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(36px, 4.5vw, 72px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .test2-formula-main p {
        color: #d6d6d6;
        line-height: 1.8;
        font-size: 17px;
        max-width: 820px;
    }

.test2-formula-card {
    padding: 30px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

    .test2-formula-card span {
        color: var(--accent);
        font-weight: 900;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .test2-formula-card h3 {
        font-size: 28px;
        margin: 16px 0;
    }

    .test2-formula-card p {
        color: #cfcfcf;
        line-height: 1.7;
    }

/* =========================================================
   ZONAS EXPLICADAS
========================================================= */

.test2-zones-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.test2-zone-card {
    border-radius: 34px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

    .test2-zone-card span {
        color: var(--accent);
        font-weight: 900;
        font-size: 12px;
        letter-spacing: 2px;
    }

    .test2-zone-card h3 {
        font-size: 26px;
        margin: 18px 0;
        line-height: 1.1;
    }

    .test2-zone-card p {
        color: #cfcfcf;
        line-height: 1.75;
    }

.featured-zone {
    background: radial-gradient(circle at top right, rgba(198,255,0,0.2), transparent 42%), linear-gradient(180deg, rgba(198,255,0,0.10), rgba(255,255,255,0.025));
    border-color: rgba(198,255,0,0.32);
}

/* =========================================================
   BANNER FINAL TEST 2KM
========================================================= */

.test2-banner-section {
    max-width: 1220px;
    margin: auto;
    padding: 120px 24px;
}

.test2-banner-content {
    min-height: 520px;
    border-radius: 44px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0.94), rgba(0,0,0,0.48)), url("https://images.unsplash.com/photo-1502904550040-7534597429ae?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(198,255,0,0.3);
    box-shadow: 0 35px 110px rgba(0,0,0,0.4);
}

    .test2-banner-content::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        right: -110px;
        bottom: -130px;
        background: var(--accent);
        filter: blur(140px);
        opacity: 0.18;
    }

    .test2-banner-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(48px, 6vw, 96px);
        line-height: 0.92;
        text-transform: uppercase;
        max-width: 760px;
        position: relative;
        z-index: 2;
    }

    .test2-banner-content p {
        max-width: 680px;
        color: #e1e1e1;
        line-height: 1.85;
        font-size: 17px;
        margin: 26px 0;
        position: relative;
        z-index: 2;
    }

    .test2-banner-content .btn-primary {
        width: fit-content;
        position: relative;
        z-index: 2;
    }

/* =========================================================
   RESPONSIVE TEST 2KM
========================================================= */

@media (max-width: 1100px) {
    .test2-hero {
        display: block;
    }

    .test2-hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 42px auto 0;
        width: min(100%, 380px);
    }

    .test2-steps-grid,
    .test2-formula-grid,
    .test2-zones-grid {
        grid-template-columns: 1fr;
    }

    .test2-formula-main {
        grid-column: span 1;
    }

    .test2-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .test2-hero {
        padding-top: 125px;
    }

    .test2-hero-content h1 {
        font-size: clamp(52px, 14vw, 78px);
    }

    .test2-hero-content p {
        font-size: 16px;
    }

    .test2-hero-buttons,
    .test2-actions {
        flex-direction: column;
    }

    .test2-info-section,
    .test2-calculator-section,
    .test2-formula-section,
    .test2-zones-section,
    .test2-banner-section {
        padding: 80px 18px;
    }

    .test2-calculator-card,
    .test2-step-card,
    .test2-zone-card,
    .test2-formula-card,
    .test2-formula-main {
        padding: 28px;
        border-radius: 30px;
    }

    .test2-input-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .test2-controls {
        align-items: stretch;
    }

        .test2-controls select {
            width: 100%;
            min-width: 100%;
        }

        .test2-controls span,
        .test2-controls small {
            width: 100%;
        }

    .test2-result-grid {
        grid-template-columns: 1fr;
    }

    .test2-banner-content {
        padding: 36px 24px;
        border-radius: 34px;
    }

        .test2-banner-content .btn-primary {
            width: 100%;
        }
}

/* =========================================================
   15. FIX NUEVA CALCULADORA PACE
   Página: pages/pace.html
   Compatible con el HTML nuevo:
   .pace-calculator-card, .pace-form-row, .pace-input-group,
   .pace-actions, .pace-result y .pace-extra-result
========================================================= */

/* SECCIÓN PRINCIPAL DE LA CALCULADORA NUEVA */
.pace-calculator-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.pace-calculator-card {
    position: relative;
    padding: 46px;
    border-radius: 40px;
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.12), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

    .pace-calculator-card::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -160px;
        top: -170px;
        background: var(--accent);
        filter: blur(150px);
        opacity: 0.15;
        pointer-events: none;
    }

/* FILAS DE LA CALCULADORA */
.pace-form-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 26px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

    .pace-form-row:first-child {
        padding-top: 0;
    }

    .pace-form-row:last-of-type {
        border-bottom: none;
    }

.pace-row-icon {
    width: 78px;
    height: 78px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 38px;
    background: rgba(198, 255, 0, 0.12);
    border: 1px solid rgba(198, 255, 0, 0.32);
    box-shadow: 0 0 45px rgba(198, 255, 0, 0.08);
}

.pace-row-content h3 {
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

/* INPUTS Y SELECTS */
.pace-input-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .pace-input-group input,
    .pace-input-group select {
        min-width: 150px;
        height: 60px;
        padding: 0 18px;
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(5, 5, 5, 0.75);
        color: var(--white);
        font-size: 16px;
        font-weight: 800;
        outline: none;
        transition: 0.3s;
    }

    .pace-input-group input {
        min-width: 120px;
    }

        .pace-input-group input::placeholder {
            color: #888888;
        }

        .pace-input-group input:focus,
        .pace-input-group select:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.08);
        }

    .pace-input-group span {
        font-size: 24px;
        font-weight: 900;
        color: var(--accent);
    }

    .pace-input-group small {
        color: #cfcfcf;
        font-weight: 800;
    }

.pace-o {
    color: #ffffff !important;
    font-size: 16px !important;
}

/* BOTONES DE LA CALCULADORA */
.pace-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.pace-calculate-btn,
.pace-clear-btn {
    border: none;
    cursor: pointer;
    min-width: 190px;
    height: 58px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    transition: 0.3s;
}

.pace-calculate-btn {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 45px rgba(198, 255, 0, 0.25);
}

    .pace-calculate-btn:hover {
        background: var(--white);
        transform: translateY(-3px);
    }

.pace-clear-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

    .pace-clear-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-3px);
    }

/* RESULTADO NUEVO */
.pace-result {
    position: relative;
    z-index: 2;
    margin-top: 36px;
    padding: 36px;
    border-radius: 34px;
    background: radial-gradient(circle at right, rgba(198, 255, 0, 0.16), transparent 42%), rgba(0, 0, 0, 0.48);
    border: 1px solid rgba(198, 255, 0, 0.32);
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
}

    .pace-result p {
        color: var(--accent);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .pace-result h3 {
        font-size: clamp(34px, 5vw, 66px);
        line-height: 1;
        margin-bottom: 12px;
    }

    .pace-result span {
        display: block;
        color: #cfcfcf;
        font-weight: 800;
        line-height: 1.7;
    }

/* CAJITAS EXTRA DEL RESULTADO */
.pace-extra-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

    .pace-extra-result div {
        padding: 20px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.09);
    }

    .pace-extra-result strong {
        display: block;
        color: var(--accent);
        font-size: 24px;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .pace-extra-result small {
        color: #cfcfcf;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* RESPONSIVE DE LA NUEVA CALCULADORA */
@media (max-width: 900px) {
    .pace-calculator-section {
        padding: 90px 24px;
    }

    .pace-calculator-card {
        padding: 34px;
        border-radius: 34px;
    }

    .pace-form-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 0;
    }

    .pace-row-icon {
        width: 70px;
        height: 70px;
        font-size: 34px;
    }

    .pace-extra-result {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .pace-calculator-section {
        padding: 80px 18px;
    }

    .pace-calculator-card {
        padding: 28px;
        border-radius: 30px;
    }

    .pace-input-group {
        align-items: stretch;
    }

        .pace-input-group input,
        .pace-input-group select {
            width: 100%;
            min-width: 100%;
        }

        .pace-input-group span,
        .pace-input-group small {
            width: 100%;
        }

    .pace-actions {
        flex-direction: column;
    }

    .pace-calculate-btn,
    .pace-clear-btn {
        width: 100%;
    }

    .pace-result {
        padding: 28px;
        border-radius: 28px;
    }

    .pace-extra-result strong {
        font-size: 22px;
    }
}
/* =========================================================
   NUTRICIÓN PAGE
   Página: pages/nutricion.html
========================================================= */

/* =========================================================
   HERO NUTRICIÓN
========================================================= */

.nutrition-hero {
    min-height: 100vh;
    padding: 155px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25)), url("../img/frutas2.jpg");
    background-size: cover;
    background-position: center;
}

    .nutrition-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.92)), repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 90px );
        z-index: 1;
    }

.nutrition-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 1;
}

.nutrition-glow-one {
    width: 520px;
    height: 520px;
    background: rgba(198, 255, 0, 0.28);
    right: -160px;
    bottom: -120px;
}

.nutrition-glow-two {
    width: 360px;
    height: 360px;
    background: rgba(255, 170, 0, 0.17);
    left: 35%;
    top: 18%;
}

.nutrition-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .nutrition-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(58px, 8vw, 118px);
        line-height: 0.9;
        text-transform: uppercase;
        max-width: 920px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.85);
    }

    .nutrition-hero-content p {
        max-width: 680px;
        color: #e1e1e1;
        line-height: 1.8;
        font-size: 18px;
        margin: 30px 0;
    }

.nutrition-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nutrition-hero-card {
    position: absolute;
    right: 7%;
    bottom: 105px;
    z-index: 3;
    width: 360px;
    padding: 30px;
    border-radius: 34px;
    background: rgba(8, 12, 8, 0.78);
    border: 1px solid rgba(198, 255, 0, 0.32);
    backdrop-filter: blur(22px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
}

    .nutrition-hero-card span {
        display: inline-block;
        background: var(--accent);
        color: var(--bg);
        font-size: 12px;
        font-weight: 900;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .nutrition-hero-card h3 {
        font-size: 31px;
        line-height: 1.05;
        margin-bottom: 12px;
    }

    .nutrition-hero-card p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }

/* =========================================================
   SECCIONES BASE NUTRICIÓN
========================================================= */

.nutrition-guide-section,
.nutrition-hydration-section,
.nutrition-timeline-section,
.nutrition-plate-section,
.nutrition-errors-section,
.nutrition-cta-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.nutrition-title {
    max-width: 900px;
    margin: 0 auto 56px;
}

    .nutrition-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .nutrition-title span {
        display: block;
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* =========================================================
   GUÍA RÁPIDA
========================================================= */

.nutrition-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nutrition-guide-card,
.nutrition-plate-card,
.nutrition-error-card {
    border-radius: 34px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transition: 0.35s;
}

    .nutrition-guide-card:hover,
    .nutrition-plate-card:hover,
    .nutrition-error-card:hover {
        transform: translateY(-10px);
        border-color: rgba(198, 255, 0, 0.5);
    }

    .nutrition-guide-card span {
        color: var(--accent);
        font-weight: 900;
        font-size: 14px;
        letter-spacing: 2px;
    }

    .nutrition-guide-card h3,
    .nutrition-plate-card h3,
    .nutrition-error-card h3 {
        font-size: 30px;
        margin: 18px 0;
        line-height: 1.1;
    }

    .nutrition-guide-card p,
    .nutrition-plate-card p,
    .nutrition-error-card p {
        color: #cfcfcf;
        line-height: 1.75;
    }

.featured-nutrition-card {
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.2), transparent 42%), linear-gradient(180deg, rgba(198, 255, 0, 0.10), rgba(255, 255, 255, 0.025));
    border-color: rgba(198, 255, 0, 0.32);
}

.nutrition-food-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .nutrition-food-list span {
        padding: 10px 13px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        font-size: 12px;
        font-weight: 900;
    }

/* =========================================================
   HIDRATACIÓN
========================================================= */

.nutrition-hydration-card {
    min-height: 500px;
    border-radius: 44px;
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.52)), url("../img/hidratacion.avif");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(198, 255, 0, 0.3);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

    .nutrition-hydration-card::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        right: -110px;
        bottom: -130px;
        background: var(--accent);
        filter: blur(140px);
        opacity: 0.18;
    }

.nutrition-hydration-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

    .nutrition-hydration-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(44px, 6vw, 88px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .nutrition-hydration-content p {
        color: #e1e1e1;
        line-height: 1.85;
        font-size: 17px;
    }

/* =========================================================
   TIMELINE ANTES / DURANTE / DESPUÉS
========================================================= */

.nutrition-timeline {
    display: grid;
    gap: 24px;
}

.nutrition-time-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: center;
    padding: 38px;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.nutrition-time-number {
    font-family: 'Anton', sans-serif;
    font-size: 82px;
    line-height: 1;
    color: rgba(198, 255, 0, 0.9);
}

.nutrition-time-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(38px, 4.5vw, 70px);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.nutrition-time-content p {
    color: #d4d4d4;
    line-height: 1.75;
    font-size: 16px;
}

/* =========================================================
   BANNER VISUAL
========================================================= */

.nutrition-banner-section {
    min-height: 560px;
    padding: 120px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.42)), url("../img/frutas2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

    .nutrition-banner-section::after {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        background: var(--accent);
        filter: blur(150px);
        opacity: 0.16;
        right: -120px;
        bottom: -120px;
    }

.nutrition-banner-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .nutrition-banner-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(54px, 8vw, 116px);
        line-height: 0.9;
        text-transform: uppercase;
        margin-bottom: 26px;
    }

    .nutrition-banner-content p {
        max-width: 720px;
        margin: auto;
        color: #e2e2e2;
        font-size: 18px;
        line-height: 1.85;
    }

/* =========================================================
   PLATO RUNNER
========================================================= */

.nutrition-plate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nutrition-plate-card strong {
    display: block;
    font-family: 'Anton', sans-serif;
    color: var(--accent);
    font-size: 64px;
    line-height: 1;
    margin-bottom: 18px;
}

/* =========================================================
   ERRORES COMUNES
========================================================= */

.nutrition-errors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.nutrition-error-card strong {
    display: block;
    font-family: 'Anton', sans-serif;
    color: var(--accent);
    font-size: 48px;
    line-height: 1;
    margin-bottom: 18px;
}

.nutrition-error-card h3 {
    font-size: 23px;
}

/* =========================================================
   CTA FINAL
========================================================= */

.nutrition-cta-card {
    border-radius: 44px;
    padding: 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(198, 255, 0, 0.16), transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(198, 255, 0, 0.25);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

    .nutrition-cta-card h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(48px, 6vw, 96px);
        line-height: 0.92;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .nutrition-cta-card p {
        max-width: 760px;
        margin: 0 auto 34px;
        color: #d6d6d6;
        line-height: 1.85;
        font-size: 17px;
    }

.nutrition-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE NUTRICIÓN
========================================================= */

@media (max-width: 1100px) {
    .nutrition-hero {
        display: block;
    }

    .nutrition-hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 42px auto 0;
        width: min(100%, 380px);
    }

    .nutrition-guide-grid,
    .nutrition-plate-grid {
        grid-template-columns: 1fr;
    }

    .nutrition-errors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nutrition-time-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .nutrition-hero {
        padding-top: 125px;
    }

    .nutrition-hero-content h1 {
        font-size: clamp(52px, 14vw, 78px);
    }

    .nutrition-hero-content p {
        font-size: 16px;
    }

    .nutrition-hero-buttons,
    .nutrition-cta-buttons {
        flex-direction: column;
    }

    .nutrition-guide-section,
    .nutrition-hydration-section,
    .nutrition-timeline-section,
    .nutrition-plate-section,
    .nutrition-errors-section,
    .nutrition-cta-section {
        padding: 80px 18px;
    }

    .nutrition-guide-card,
    .nutrition-plate-card,
    .nutrition-error-card,
    .nutrition-time-card,
    .nutrition-cta-card,
    .nutrition-hydration-card {
        padding: 30px;
        border-radius: 30px;
    }

    .nutrition-time-number {
        font-size: 58px;
    }

    .nutrition-banner-section {
        background-attachment: scroll;
        min-height: 420px;
        padding: 90px 18px;
    }

    .nutrition-errors-grid {
        grid-template-columns: 1fr;
    }

    .nutrition-cta-card .btn-primary,
    .nutrition-cta-card .btn-secondary {
        width: 100%;
    }
}

/* =========================================================
   TIENDA PAGE
   Página: pages/tienda.html
========================================================= */

/* =========================================================
   HERO TIENDA
========================================================= */

.store-hero {
    min-height: 100vh;
    padding: 155px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.99), rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.52)), radial-gradient(circle at 70% 40%, rgba(198, 255, 0, 0.22), transparent 34%), radial-gradient(circle at 35% 80%, rgba(0, 180, 255, 0.08), transparent 32%), #020202;
}

    .store-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 90px ), repeating-linear-gradient( 0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 90px ), linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.94));
        z-index: 1;
    }

    .store-hero::after {
        content: "STORE";
        position: absolute;
        right: -40px;
        bottom: 40px;
        font-family: 'Anton', sans-serif;
        font-size: clamp(120px, 18vw, 300px);
        line-height: 1;
        color: rgba(255, 255, 255, 0.035);
        z-index: 1;
        pointer-events: none;
    }

.store-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 1;
}

.store-glow-one {
    width: 560px;
    height: 560px;
    background: rgba(198, 255, 0, 0.26);
    right: -170px;
    bottom: -130px;
}

.store-glow-two {
    width: 360px;
    height: 360px;
    background: rgba(255, 196, 0, 0.22);
    left: 36%;
    top: 18%;
}

.store-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .store-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(62px, 8.8vw, 130px);
        line-height: 0.88;
        text-transform: uppercase;
        max-width: 920px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.88);
    }

    .store-hero-content p {
        max-width: 670px;
        color: #e1e1e1;
        line-height: 1.8;
        font-size: 18px;
        margin: 30px 0;
    }

.store-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* TARJETA HERO PRODUCTO */
.store-hero-product {
    position: absolute;
    right: 7%;
    bottom: 95px;
    z-index: 3;
    width: 370px;
    height: 370px;
    border-radius: 46px;
    background: radial-gradient(circle at center, rgba(198, 255, 0, 0.18), transparent 42%), linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(198, 255, 0, 0.36);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

    .store-hero-product::before {
        content: "";
        position: absolute;
        width: 520px;
        height: 2px;
        background: rgba(198, 255, 0, 0.25);
        transform: rotate(-28deg);
    }

.store-hero-product-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1px solid rgba(198, 255, 0, 0.22);
    box-shadow: 0 0 80px rgba(198, 255, 0, 0.08);
}

.store-hero-product-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 34px;
}

    .store-hero-product-content span {
        display: inline-block;
        color: var(--accent);
        font-weight: 900;
        font-size: 13px;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }

    .store-hero-product-content h3 {
        font-family: 'Anton', sans-serif;
        font-size: 64px;
        line-height: 0.9;
        margin-bottom: 16px;
    }

    .store-hero-product-content p {
        color: #d0d0d0;
        line-height: 1.6;
        font-size: 14px;
    }

.store-hero-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

    .store-hero-pills b {
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        font-size: 11px;
    }

/* =========================================================
   BARRA PROMO
========================================================= */

.store-promo-bar {
    background: var(--accent);
    color: var(--bg);
    padding: 18px 24px;
    text-align: center;
    overflow: hidden;
}

    .store-promo-bar p {
        font-weight: 900;
        letter-spacing: 4px;
        text-transform: uppercase;
        font-size: clamp(13px, 1.5vw, 20px);
    }

/* =========================================================
   SECCIONES BASE TIENDA
========================================================= */

.store-products-section {
    max-width: 1320px;
    margin: auto;
    padding: 110px 24px;
}

.store-title {
    max-width: 920px;
    margin: 0 auto 56px;
}

    .store-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .store-title span {
        display: block;
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* =========================================================
   PRODUCTOS
========================================================= */

.store-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.store-product-card {
    border-radius: 38px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
    transition: 0.4s;
}

    .store-product-card:hover {
        transform: translateY(-12px);
        border-color: rgba(198, 255, 0, 0.58);
        box-shadow: 0 45px 120px rgba(198, 255, 0, 0.13);
    }

.store-product-image {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(198, 255, 0, 0.14), transparent 38%), linear-gradient(135deg, #111111, #050505);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

    .store-product-image::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border: 1px solid rgba(198, 255, 0, 0.16);
        border-radius: 50%;
    }

    .store-product-image::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 2px;
        background: rgba(198, 255, 0, 0.18);
        transform: rotate(-28deg);
    }

    .store-product-image span {
        position: relative;
        z-index: 2;
        color: var(--accent);
        font-weight: 900;
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 18px;
    }

    .store-product-image strong {
        position: relative;
        z-index: 2;
        font-family: 'Anton', sans-serif;
        font-size: clamp(44px, 4vw, 70px);
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.95);
        text-align: center;
        line-height: 0.95;
    }

.store-product-info {
    padding: 28px;
}

.store-product-label {
    display: inline-block;
    background: rgba(198, 255, 0, 0.12);
    color: var(--accent);
    border: 1px solid rgba(198, 255, 0, 0.35);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.store-product-info h3 {
    font-size: 25px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.store-product-info p {
    color: #cfcfcf;
    line-height: 1.65;
    font-size: 15px;
}

.store-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

    .store-product-meta span {
        background: rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        padding: 8px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 900;
    }

.store-product-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .store-product-bottom strong {
        color: var(--accent);
        font-size: 24px;
    }

    .store-product-bottom button {
        border: none;
        background: var(--accent);
        color: var(--bg);
        border-radius: 999px;
        padding: 13px 18px;
        font-weight: 900;
        cursor: pointer;
        transition: 0.3s;
        white-space: nowrap;
    }

        .store-product-bottom button:hover {
            background: var(--white);
            transform: translateY(-3px);
        }

/* =========================================================
   DROP SECTION
========================================================= */

.store-drop-section {
    max-width: 1220px;
    margin: auto;
    padding: 120px 24px;
}

.store-drop-content {
    min-height: 520px;
    border-radius: 44px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.48)), radial-gradient(circle at 75% 50%, rgba(198, 255, 0, 0.18), transparent 34%), #080808;
    border: 1px solid rgba(198, 255, 0, 0.3);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

    .store-drop-content::after {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        right: -110px;
        bottom: -130px;
        background: var(--accent);
        filter: blur(140px);
        opacity: 0.18;
    }

    .store-drop-content h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(52px, 7vw, 110px);
        line-height: 0.9;
        text-transform: uppercase;
        max-width: 780px;
        position: relative;
        z-index: 2;
        margin-bottom: 26px;
    }

    .store-drop-content p {
        max-width: 680px;
        color: #e1e1e1;
        line-height: 1.85;
        font-size: 17px;
        margin-bottom: 30px;
        position: relative;
        z-index: 2;
    }

    .store-drop-content .btn-primary {
        width: fit-content;
        position: relative;
        z-index: 2;
    }

/* =========================================================
   MODAL PRODUCTO OSCURO
========================================================= */

.store-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

    .store-modal.active {
        display: flex;
    }

.store-modal-content {
    width: min(1120px, 100%);
    min-height: 640px;
    border-radius: 34px;
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.16), transparent 36%), linear-gradient(135deg, #111111, #050505);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(198, 255, 0, 0.32);
    box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7);
}

.store-modal-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 34px;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}

    .store-modal-close:hover {
        background: var(--accent);
        color: var(--bg);
    }

.store-modal-image {
    min-height: 640px;
    background: radial-gradient(circle at center, rgba(198, 255, 0, 0.18), transparent 36%), linear-gradient(135deg, #121212, #050505);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

    .store-modal-image::before {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        border: 1px solid rgba(198, 255, 0, 0.22);
    }

    .store-modal-image::after {
        content: "";
        position: absolute;
        width: 620px;
        height: 2px;
        background: rgba(198, 255, 0, 0.18);
        transform: rotate(-28deg);
    }

    .store-modal-image span {
        position: relative;
        z-index: 2;
        color: var(--accent);
        font-weight: 900;
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .store-modal-image strong {
        position: relative;
        z-index: 2;
        font-family: 'Anton', sans-serif;
        font-size: clamp(48px, 6vw, 96px);
        line-height: 0.92;
        text-transform: uppercase;
        color: var(--white);
    }

.store-modal-info {
    padding: 80px 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .store-modal-info h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(44px, 5vw, 80px);
        line-height: 0.92;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .store-modal-info p {
        color: #d0d0d0;
        line-height: 1.75;
        margin-bottom: 30px;
    }

    .store-modal-info label {
        color: var(--accent);
        font-weight: 900;
        margin-bottom: 10px;
    }

    .store-modal-info select {
        height: 58px;
        padding: 0 16px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(0, 0, 0, 0.4);
        color: var(--white);
        font-size: 16px;
        margin-bottom: 18px;
        outline: none;
    }

.store-add-btn {
    height: 58px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

    .store-add-btn:hover {
        background: var(--white);
        transform: translateY(-3px);
    }

/* =========================================================
   RESPONSIVE TIENDA
========================================================= */

@media (max-width: 1200px) {
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .store-hero {
        display: block;
    }

    .store-hero-product {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 42px auto 0;
        width: min(100%, 370px);
    }

    .store-modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
        max-height: 92vh;
    }

    .store-modal-image {
        min-height: 360px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .store-modal-info {
        padding: 42px 30px;
    }
}

@media (max-width: 700px) {
    .store-hero {
        padding-top: 125px;
    }

    .store-hero-content h1 {
        font-size: clamp(54px, 15vw, 82px);
    }

    .store-hero-content p {
        font-size: 16px;
    }

    .store-hero-buttons {
        flex-direction: column;
    }

    .store-products-section,
    .store-drop-section {
        padding: 80px 18px;
    }

    .store-products-grid {
        grid-template-columns: 1fr;
    }

    .store-product-image {
        min-height: 300px;
    }

    .store-product-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

        .store-product-bottom button {
            width: 100%;
        }

    .store-drop-content {
        padding: 36px 24px;
        border-radius: 34px;
    }

        .store-drop-content .btn-primary {
            width: 100%;
        }

    .store-modal {
        padding: 14px;
    }

    .store-modal-content {
        border-radius: 24px;
    }

    .store-modal-close {
        top: 12px;
        right: 14px;
    }
}

/* =========================================================
   RANKING PAGE
   Página: pages/ranking.html
========================================================= */

/* =========================================================
   HERO RANKING
========================================================= */

.ranking-hero {
    min-height: 100vh;
    padding: 155px 24px 90px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.99), rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38)), radial-gradient(circle at 70% 42%, rgba(198, 255, 0, 0.2), transparent 34%), radial-gradient(circle at 35% 80%, rgba(252, 76, 2, 0.18), transparent 32%), #020202;
}

    .ranking-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 90px ), repeating-linear-gradient( 0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 90px ), linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.94));
        z-index: 1;
    }

    .ranking-hero::after {
        content: "RANKING";
        position: absolute;
        right: -40px;
        bottom: 40px;
        font-family: 'Anton', sans-serif;
        font-size: clamp(100px, 16vw, 260px);
        line-height: 1;
        color: rgba(255, 255, 255, 0.035);
        z-index: 1;
        pointer-events: none;
    }

.ranking-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 1;
}

.ranking-glow-one {
    width: 560px;
    height: 560px;
    background: rgba(198, 255, 0, 0.25);
    right: -170px;
    bottom: -130px;
}

.ranking-glow-two {
    width: 360px;
    height: 360px;
    background: rgba(252, 76, 2, 0.24);
    left: 38%;
    top: 18%;
}

.ranking-hero-content {
    max-width: 1220px;
    margin: auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

    .ranking-hero-content h1 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(58px, 8.8vw, 130px);
        line-height: 0.88;
        text-transform: uppercase;
        max-width: 980px;
        text-shadow: 0 25px 90px rgba(0, 0, 0, 0.88);
    }

    .ranking-hero-content p {
        max-width: 690px;
        color: #e1e1e1;
        line-height: 1.8;
        font-size: 18px;
        margin: 30px 0;
    }

.ranking-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ranking-hero-card {
    position: absolute;
    right: 7%;
    bottom: 95px;
    z-index: 3;
    width: 370px;
    padding: 32px;
    border-radius: 38px;
    background: radial-gradient(circle at top right, rgba(252, 76, 2, 0.16), transparent 36%), rgba(8, 12, 8, 0.78);
    border: 1px solid rgba(198, 255, 0, 0.32);
    backdrop-filter: blur(22px);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

    .ranking-hero-card span {
        display: inline-block;
        background: var(--accent);
        color: var(--bg);
        font-size: 12px;
        font-weight: 900;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 18px;
    }

    .ranking-hero-card h3 {
        font-size: 34px;
        line-height: 1.05;
        margin-bottom: 12px;
    }

    .ranking-hero-card p {
        color: #cfcfcf;
        line-height: 1.6;
        font-size: 15px;
    }

.ranking-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

    .ranking-hero-pills b {
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        font-size: 11px;
    }

/* =========================================================
   SECCIONES BASE RANKING
========================================================= */

.ranking-summary-section,
.ranking-board-section,
.ranking-challenges-section,
.ranking-strava-section,
.ranking-cta-section {
    max-width: 1220px;
    margin: auto;
    padding: 110px 24px;
}

.ranking-title {
    max-width: 920px;
    margin: 0 auto 56px;
}

    .ranking-title h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(42px, 5vw, 78px);
        line-height: 0.95;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .ranking-title span {
        display: block;
        color: #cfcfcf;
        line-height: 1.8;
        font-size: 17px;
    }

/* =========================================================
   RESUMEN
========================================================= */

.ranking-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ranking-summary-card {
    padding: 30px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.13), transparent 42%), linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

    .ranking-summary-card span {
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 2px;
    }

    .ranking-summary-card h3 {
        font-size: 48px;
        color: var(--white);
        margin: 16px 0 10px;
        line-height: 1;
    }

    .ranking-summary-card p {
        color: #cfcfcf;
        line-height: 1.6;
    }

/* =========================================================
   RANKING BOARD
========================================================= */

.ranking-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

/* PODIO */
.ranking-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: end;
}

.podium-card {
    position: relative;
    border-radius: 34px;
    padding: 28px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.first-place {
    min-height: 430px;
    background: radial-gradient(circle at top, rgba(198, 255, 0, 0.22), transparent 42%), linear-gradient(180deg, rgba(198, 255, 0, 0.10), rgba(255, 255, 255, 0.025));
    border-color: rgba(198, 255, 0, 0.36);
}

.second-place {
    min-height: 360px;
}

.third-place {
    min-height: 320px;
}

.podium-crown {
    font-size: 34px;
    margin-bottom: 8px;
}

.podium-position {
    color: var(--accent);
    font-family: 'Anton', sans-serif;
    font-size: 54px;
    line-height: 1;
    margin-bottom: 18px;
}

.runner-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 900;
    font-size: 34px;
    box-shadow: 0 0 60px rgba(198, 255, 0, 0.25);
}

.podium-card h3 {
    font-size: 25px;
    margin-bottom: 8px;
}

.podium-card p {
    color: #cfcfcf;
    margin-bottom: 18px;
}

.podium-card strong {
    color: var(--accent);
    font-size: 28px;
}

/* TABLA */
.ranking-table-card {
    border-radius: 38px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
}

.ranking-table-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}

    .ranking-table-header h3 {
        font-size: 34px;
        line-height: 1;
    }

    .ranking-table-header > span {
        padding: 9px 12px;
        border-radius: 999px;
        background: rgba(198, 255, 0, 0.12);
        border: 1px solid rgba(198, 255, 0, 0.3);
        color: var(--accent);
        font-weight: 900;
        font-size: 12px;
    }

.ranking-list {
    display: grid;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
}

    .ranking-row:hover {
        transform: translateX(8px);
        border-color: rgba(198, 255, 0, 0.42);
    }

    .ranking-row.first {
        background: radial-gradient(circle at right, rgba(198, 255, 0, 0.16), transparent 40%), rgba(198, 255, 0, 0.06);
        border-color: rgba(198, 255, 0, 0.26);
    }

    .ranking-row > strong {
        font-family: 'Anton', sans-serif;
        color: var(--accent);
        font-size: 32px;
    }

.ranking-runner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.runner-mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(198, 255, 0, 0.14);
    border: 1px solid rgba(198, 255, 0, 0.28);
    color: var(--accent);
    font-weight: 900;
}

.ranking-runner h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.ranking-runner p {
    color: #a9a9a9;
    font-size: 13px;
}

.ranking-km {
    text-align: right;
}

    .ranking-km span {
        display: block;
        color: var(--white);
        font-size: 20px;
        font-weight: 900;
    }

    .ranking-km small {
        color: var(--accent);
        font-weight: 800;
    }

/* =========================================================
   RETOS
========================================================= */

.ranking-challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ranking-challenge-card {
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.featured-ranking-challenge {
    background: radial-gradient(circle at top right, rgba(198, 255, 0, 0.2), transparent 42%), linear-gradient(180deg, rgba(198, 255, 0, 0.10), rgba(255, 255, 255, 0.025));
    border-color: rgba(198, 255, 0, 0.32);
}

.ranking-challenge-card span {
    color: var(--accent);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 2px;
}

.ranking-challenge-card h3 {
    font-size: 30px;
    margin: 18px 0;
}

.ranking-challenge-card p {
    color: #cfcfcf;
    line-height: 1.75;
}

.challenge-progress {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin: 26px 0 12px;
    overflow: hidden;
}

    .challenge-progress div {
        height: 100%;
        border-radius: 999px;
        background: var(--accent);
        box-shadow: 0 0 30px rgba(198, 255, 0, 0.35);
    }

.ranking-challenge-card small {
    color: #cfcfcf;
    font-weight: 800;
}

/* =========================================================
   STRAVA FUTURO
========================================================= */

.ranking-strava-card {
    min-height: 520px;
    border-radius: 44px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.52)), radial-gradient(circle at 78% 52%, rgba(252, 76, 2, 0.2), transparent 34%), #080808;
    border: 1px solid rgba(198, 255, 0, 0.28);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

.ranking-strava-info h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ranking-strava-info p {
    color: #d6d6d6;
    line-height: 1.85;
    font-size: 17px;
    max-width: 650px;
}

.ranking-strava-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 32px;
}

    .ranking-strava-steps div {
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.09);
    }

    .ranking-strava-steps strong {
        display: block;
        color: var(--accent);
        font-size: 24px;
        margin-bottom: 8px;
    }

    .ranking-strava-steps span {
        color: #cfcfcf;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.4;
    }

.ranking-strava-visual {
    min-height: 360px;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(252, 76, 2, 0.18), transparent 38%), linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(252, 76, 2, 0.28);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .ranking-strava-visual::before {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        border: 1px solid rgba(252, 76, 2, 0.22);
    }

    .ranking-strava-visual span {
        color: #fc4c02;
        font-weight: 900;
        letter-spacing: 2px;
        position: relative;
        z-index: 2;
    }

    .ranking-strava-visual h3 {
        font-family: 'Anton', sans-serif;
        font-size: 130px;
        line-height: 0.9;
        position: relative;
        z-index: 2;
        margin: 20px 0;
    }

    .ranking-strava-visual p {
        color: #cfcfcf;
        position: relative;
        z-index: 2;
    }

/* =========================================================
   CTA FINAL
========================================================= */

.ranking-cta-card {
    border-radius: 44px;
    padding: 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(198, 255, 0, 0.16), transparent 45%), linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(198, 255, 0, 0.25);
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.4);
}

    .ranking-cta-card h2 {
        font-family: 'Anton', sans-serif;
        font-size: clamp(48px, 6vw, 96px);
        line-height: 0.92;
        text-transform: uppercase;
        margin-bottom: 24px;
    }

    .ranking-cta-card p {
        max-width: 760px;
        margin: 0 auto 34px;
        color: #d6d6d6;
        line-height: 1.85;
        font-size: 17px;
    }

.ranking-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE RANKING
========================================================= */

@media (max-width: 1100px) {
    .ranking-hero {
        display: block;
    }

    .ranking-hero-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 42px auto 0;
        width: min(100%, 380px);
    }

    .ranking-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranking-layout,
    .ranking-strava-card {
        grid-template-columns: 1fr;
    }

    .ranking-podium {
        grid-template-columns: 1fr;
    }

    .first-place,
    .second-place,
    .third-place {
        min-height: auto;
    }

    .ranking-challenges-grid {
        grid-template-columns: 1fr;
    }

    .ranking-strava-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .ranking-hero {
        padding-top: 125px;
    }

    .ranking-hero-content h1 {
        font-size: clamp(50px, 14vw, 78px);
    }

    .ranking-hero-content p {
        font-size: 16px;
    }

    .ranking-hero-buttons,
    .ranking-cta-buttons {
        flex-direction: column;
    }

    .ranking-summary-section,
    .ranking-board-section,
    .ranking-challenges-section,
    .ranking-strava-section,
    .ranking-cta-section {
        padding: 80px 18px;
    }

    .ranking-summary-grid {
        grid-template-columns: 1fr;
    }

    .ranking-table-card,
    .ranking-strava-card,
    .ranking-cta-card {
        padding: 30px;
        border-radius: 30px;
    }

    .ranking-row {
        grid-template-columns: 44px 1fr;
    }

    .ranking-km {
        grid-column: 2 / 3;
        text-align: left;
    }

    .ranking-table-header {
        flex-direction: column;
    }

    .ranking-strava-steps {
        grid-template-columns: 1fr;
    }

    .ranking-strava-visual {
        min-height: 280px;
    }

        .ranking-strava-visual h3 {
            font-size: 92px;
        }

    .ranking-cta-card .btn-primary,
    .ranking-cta-card .btn-secondary {
        width: 100%;
    }
}
/* =========================================================
   FOTO STRAVA EN RANKING
========================================================= */

.runner-mini-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(198, 255, 0, 0.5);
    box-shadow: 0 0 30px rgba(198, 255, 0, 0.18);
}

.instagram-link {
    color: #c6ff00 !important;
    font-weight: 900;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(198, 255, 0, 0.35);
    background: rgba(198, 255, 0, 0.08);
    transition: 0.3s;
}

    .instagram-link:hover {
        background: var(--accent);
        color: #050505 !important;
        transform: translateY(-3px);
    }
/* =========================================================
   LOGO PRO SPORT EXPERIENCE
   Icono + texto en dos líneas
========================================================= */

.brand-logo-pro {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.brand-logo-pro-icon {
    width: 74px;
    height: 74px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 0 14px rgba(198, 255, 0, 0.40));
}

.brand-logo-pro-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1;
    transform: translateY(1px);
}

.brand-logo-pro-main {
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--accent);
    line-height: 0.9;
}

.brand-logo-pro-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--white);
    line-height: 1;
    padding-left: 3px;
}

/* HEADER AJUSTADO PARA EL LOGO GRANDE */
.header {
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* MENÚ ALINEADO A LA DERECHA */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

/* FOOTER LOGO */
.footer-brand-logo-pro {
    justify-content: flex-start;
}

.footer .brand-logo-pro-icon {
    width: 78px;
    height: 78px;
}

.footer .brand-logo-pro-main {
    font-size: 34px;
}

.footer .brand-logo-pro-sub {
    font-size: 14px;
}

/* INSTAGRAM */
.instagram-link {
    color: #c6ff00 !important;
    font-weight: 900;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(198, 255, 0, 0.35);
    background: rgba(198, 255, 0, 0.08);
    transition: 0.3s ease;
}

    .instagram-link:hover {
        background: var(--accent);
        color: #050505 !important;
        transform: translateY(-3px);
    }

/* RESPONSIVE TABLET */
@media (max-width: 900px) {
    .brand-logo-pro {
        gap: 9px;
    }

    .brand-logo-pro-icon {
        width: 58px;
        height: 58px;
    }

    .brand-logo-pro-main {
        font-size: 27px;
        letter-spacing: 1.5px;
    }

    .brand-logo-pro-sub {
        font-size: 11px;
        letter-spacing: 4.5px;
    }

    .navbar {
        padding: 10px 18px;
    }
}

/* RESPONSIVE CELULAR */
@media (max-width: 700px) {
    .brand-logo-pro {
        gap: 7px;
    }

    .brand-logo-pro-icon {
        width: 48px;
        height: 48px;
    }

    .brand-logo-pro-main {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .brand-logo-pro-sub {
        font-size: 9px;
        letter-spacing: 3.5px;
        padding-left: 2px;
    }

    .footer .brand-logo-pro-icon {
        width: 56px;
        height: 56px;
    }

    .footer .brand-logo-pro-main {
        font-size: 24px;
    }

    .footer .brand-logo-pro-sub {
        font-size: 10px;
        letter-spacing: 4px;
    }
}
/* =========================================================
   FIX FINAL MENÚ CELULAR
   Corrige que el menú móvil quede abierto permanentemente
========================================================= */

@media (max-width: 900px) {
    .navbar,
    .navbar-balanced {
        position: relative;
        padding: 10px 18px;
    }

    .btn-header {
        display: none !important;
    }

    .menu-btn {
        display: block !important;
        position: relative;
        z-index: 1002;
        background: none;
        border: none;
        color: var(--white);
        font-size: 32px;
        cursor: pointer;
    }

    .nav-center {
        position: static !important;
        transform: none !important;
        margin-left: 0 !important;
    }

        .nav-links,
        .nav-center .nav-links {
            position: absolute !important;
            top: 78px !important;
            right: 18px !important;
            width: 260px !important;
            padding: 22px !important;
            background: rgba(17, 17, 17, 0.96) !important;
            border-radius: 24px !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            justify-content: flex-start !important;
            gap: 18px !important;
            display: none !important;
            margin-left: 0 !important;
            border: 1px solid rgba(255, 255, 255, 0.11) !important;
            backdrop-filter: blur(18px) !important;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5) !important;
            z-index: 1001 !important;
        }

            .nav-links.active,
            .nav-center .nav-links.active {
                display: flex !important;
            }

            .nav-links li,
            .nav-center .nav-links li {
                width: 100%;
            }

            .nav-links a,
            .nav-center .nav-links a {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 16px;
            }

    .dropdown {
        width: 100%;
    }

    .dropdown-link {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static !important;
        min-width: 100% !important;
        margin-top: 8px !important;
        padding: 8px !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    .dropdown:hover .dropdown-menu {
        display: flex !important;
    }
}

/* =========================================================
   FIX LOGO RESPONSIVE CELULAR
========================================================= */

@media (max-width: 700px) {
    .brand-logo-pro {
        gap: 7px !important;
    }

    .brand-logo-pro-icon {
        width: 48px !important;
        height: 48px !important;
    }

    .brand-logo-pro-main {
        font-family: 'Inter', sans-serif !important;
        font-size: 22px !important;
        font-weight: 900 !important;
        letter-spacing: 1px !important;
        color: var(--accent, #c6ff00) !important;
        line-height: 0.9 !important;
    }

    .brand-logo-pro-sub {
        font-family: 'Inter', sans-serif !important;
        font-size: 9px !important;
        font-weight: 900 !important;
        letter-spacing: 3.5px !important;
        color: #ffffff !important;
        line-height: 1 !important;
        padding-left: 2px !important;
    }
}

/* =========================================================
   LOGIN DE ORGANIZADORES (al lado de "Ir a tienda")
========================================================= */
.nav-acciones {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-organizadores {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;
}

    .btn-organizadores:hover {
        color: var(--accent);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

@media (max-width: 900px) {
    .nav-acciones {
        margin-left: auto;
    }

    .btn-organizadores {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* =========================================================
   LOGO DEL EVENTO EN LA TARJETA "PRÓXIMO EVENTO"
========================================================= */
.hero-card .evento-logo,
.events-live-hero-card .evento-logo {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 34px rgba(11, 136, 157, 0.45);
    transform: rotate(4deg);
    transition: transform 0.35s ease;
}

.hero-card:hover .evento-logo,
.events-live-hero-card:hover .evento-logo {
    transform: rotate(0deg) scale(1.06);
}

/* El título baja para no quedar debajo del logo */
.hero-card .evento-logo + .mini-label,
.events-live-hero-card .evento-logo + span {
    margin-bottom: 36px;
}
