/* ================================================
   TIPOGRAFÍAS – @font-face
   ================================================ */
@font-face {
    font-family: 'BurbankBig';
    src: url('../img/type/BurbankBigRegular-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DisneyLegend';
    src: url('../img/type/DisneyLegendMed1.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Highman';
    src: url('../img/type/Highman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ================================================
   BASE & RESET
   ================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Highman', Arial, sans-serif;
    background-color: #08122e;
    overflow-x: hidden;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

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

.hero-buttons-overlay {
    position: absolute;
    left: calc(19.6vw - 80px);
    bottom: 13%;
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.8vw, 22px);
    z-index: 10;
}

.hero-btn-link {
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
    line-height: 0;
}

.hero-btn-link:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.hero-btn-img {
    width: clamp(120px, 13.5vw, 420px);
    height: auto;
    display: block;
}

/* ================================================
   BARRA DE PATROCINADORES (sticky al hacer scroll)
   ================================================ */
.sponsors-section {
    width: 100%;
    background: #ffffff;
    line-height: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.sponsors-section.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.sponsors-spacer {
    display: none;
}

.sponsors-spacer.is-active {
    display: block;
}

.sponsors-section img {
    display: block;
    width: 100%;
    height: auto;
}

/* ================================================
   SECCIÓN BANNER2 (Fecha / Lugar / Distancias)
   ================================================ */
.banner2-section {
    width: 100%;
    line-height: 0;
}

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

/* ================================================
   SECCIONES DE CUOTA (PRICING)
   ================================================ */
.pricing-section {
    width: 100%;
}

.pricing-header {
    background-color: #303B89;
    padding: 22px 20px;
    text-align: center;
    border-top: none;
}

.pricing-title {
    font-family: 'Highman', Arial, sans-serif;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    color: #ffffff;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900;
}

.pricing-body {
    background-color: #5ea8d9;
    background-image: url('../img/FONDOWEB.jpg');
    background-size: cover;
    background-position: center;
}

.price-amount {
    font-family: 'Highman', Arial, sans-serif;
    font-size: clamp(1.50rem, 3.68vw, 2.19rem);
    color: #303B89;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-bottom: 4px;
    font-weight: 900;
}

.price-amount strong {
    font-weight: 900;
}

.price-detail {
    font-family: 'Highman', Arial, sans-serif;
    font-size: clamp(1.15rem, 2.99vw, 1.78rem);
    color: #303B89;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 2px;
    line-height: 1.4;
}

.price-note {
    font-size: clamp(0.83rem, 1.79vw, 1.08rem);
    color: #303B89;
    font-style: normal;
    letter-spacing: 0;
    margin-bottom: 12px;
    line-height: 1.5;
}

.price-sep {
    width: 70px;
    height: 2px;
    background: rgba(48, 59, 137, 0.3);
    margin: 22px auto;
    border-radius: 2px;
}

.pricing-btn-link {
    display: inline-block;
    line-height: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pricing-btn-link:hover {
    transform: scale(1.06);
    filter: brightness(1.1);
}

.pricing-btn-img {
    width: 190px;
    height: auto;
    display: block;
}

/* ================================================
   NOTA PIE DE PRECIOS
   ================================================ */
.fineprintbar {
    background-color: #303B89;
    border-top: none;
}

.fineprintbar__text {
    font-family: 'Highman', Arial, sans-serif;
    font-size: clamp(0.78rem, 1.6vw, 1rem);
    color: #ffffff;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   BANNERS INFERIORES
   ================================================ */
.bottom-banner {
    padding: 44px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-banner--rutas {
    background-image: url('../img/MORADO.jpg');
    background-color: #6b35a0;
}

.bottom-banner--convocatoria {
    background-image: url('../img/AMARILLO.jpg');
    background-color: #c8813f;
}

.bottom-banner--kits {
    background-image: url('../img/VERDE.jpg');
    background-color: #4a9a30;
}

.bottom-banner__link {
    text-decoration: none;
    display: block;
    width: 100%;
}

.bottom-banner__title {
    font-family: 'Highman', Arial, sans-serif;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
    font-weight: 900;
    text-shadow: 2px 3px 10px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s ease;
}

.bottom-banner__link:hover .bottom-banner__title {
    opacity: 0.84;
}

/* ================================================
   RESPONSIVE – TABLETA (768px – 991px)
   ================================================ */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-btn-img {
        width: 165px;
    }

    .pricing-btn-img {
        width: 160px;
    }
}

/* ================================================
   RESPONSIVE – MÓVIL (< 768px)
   ================================================ */
@media (max-width: 767px) {

    /* Hero: botones centrados horizontalmente en móvil */
    .hero-buttons-overlay {
        position: absolute;
        left: 50%;
        bottom: 7%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 0;
        background: none;
        width: auto;
    }

    .hero-btn-link {
        width: auto;
    }

    .hero-btn-img {
        width: 52vw;
        max-width: 210px;
    }

    .pricing-btn-img {
        width: 145px;
    }

    .pricing-title {
        letter-spacing: 0px;
    }

    /* Textos de precios en móvil */
    .price-amount {
        font-size: 2.15rem;
    }

    .price-detail {
        font-size: 1.94rem;
    }

    .price-note {
        font-size: 1.39rem;
    }

    .bottom-banner {
        padding: 32px 16px;
    }

    .bottom-banner__title {
        letter-spacing: 2px;
    }
}
