/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.07);
}

.header-inner {
    width: 100%;
    max-width: 1400px;

    min-height: 76px;

    margin: 0 auto;
    padding: 0 28px;

    display: flex;
    align-items: center;

    gap: 20px;
}


/* =========================================================
   LOGOS DEL HEADER
   ========================================================= */

.logo-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 9px;

    flex-shrink: 0;
}

.logo-group .logo-img {
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-group .logo-tcc {
    height: 48px;
}

.logo-group .logo-cdp {
    height: 46px;
}


/* =========================================================
   BRAND / NOMBRE
   ========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 9px;

    flex-shrink: 0;

    color: #111111;

    font-size: 0.82rem;
    font-weight: 800;

    white-space: nowrap;
}

.brand img {
    height: 48px;
    width: auto;

    object-fit: contain;

    flex-shrink: 0;
}

.brand span {
    display: inline-block;

    white-space: nowrap;

    color: #111111;

    font-size: 0.82rem;
    font-weight: 800;

    line-height: 1.2;
}


/* =========================================================
   MENÚ DESKTOP
   ========================================================= */

.main-nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 20px;

    font-size: 0.88rem;
    font-weight: 700;
}

.main-nav a,
.main-nav button {
    position: relative;

    padding: 8px 0;

    color: #202020;

    background: transparent;

    border: 0;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover,
.main-nav button:hover {
    color: #b70808;
}

.main-nav a.menu-active {
    color: #b70808;
}


/* =========================================================
   BOTÓN HAMBURGUESA
   ========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    background: #ffffff;

    border: 0;

    border-radius: 12px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10);

    flex-shrink: 0;
}

.menu-toggle span:not(.sr-only) {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    background: #111111;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   BOTONES GENERALES
   ========================================================= */

.ticket-button,
.water-button,
.ghost-button,
.btn,
.btn-solido,
.boton-vinculo {
    min-height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 20px;

    border: 0;

    font-weight: 800;
    line-height: 1;

    border-radius: 18px 18px 18px 7px;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.ticket-button,
.water-button,
.btn-solido,
.boton-vinculo {
    color: #ffffff;

    background: #b70808;

    box-shadow: 0 8px 18px rgba(183, 8, 8, 0.20);
}

.ticket-button:hover,
.water-button:hover,
.btn-solido:hover,
.boton-vinculo:hover {
    color: #ffffff;

    background: #920606;

    transform: translateY(-2px);

    box-shadow: 0 11px 24px rgba(183, 8, 8, 0.28);
}

.ghost-button {
    color: #ffffff;

    background: #202020;
}

.ghost-button:hover {
    background: #050505;

    transform: translateY(-2px);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 690px;

    display: grid;
    align-items: end;

    overflow: hidden;

    color: #ffffff;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    background: rgba(5, 12, 17, 0.58);
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    z-index: 2;

    background: #c90000;

    transform: skewX(-13deg);
}

.hero::before {
    width: 64px;

    left: 60px;
}

.hero::after {
    width: 110px;

    right: -20px;
}

.hero-content {
    position: relative;

    z-index: 3;

    max-width: 830px;

    margin: 0 auto;

    padding: 110px 0 75px;

    text-align: center;
}

.hero-logo-wrap img {
    width: 190px;

    margin: 0 auto 18px;
}

.hero-kicker {
    text-transform: uppercase;

    letter-spacing: 0.26em;

    font-weight: 700;

    font-size: 0.84rem;
}

.hero-kidd {
    text-transform: uppercase;

    letter-spacing: 0.20em;

    font-size: 2rem;
    font-weight: 700;
}

.hero h1 {
    margin: 15px 0 18px;

    font-size: clamp(2.4rem, 6vw, 5rem);

    line-height: 0.98;

    letter-spacing: -0.04em;
}

.hero p {
    max-width: 760px;

    margin: 0 auto 28px;

    color: #f2f2f2;

    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.section {
    padding: 100px 0;

    overflow: hidden;
}

.section-white {
    background: #ffffff;
}

.section-soft {
    background: #f4f1ee;
}

.section-dark {
    background: #171717;

    color: #ffffff;
}

.section-contact {
    background: #f7f7f7;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #b70808;

    font-size: 0.78rem;
    font-weight: 900;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.section-copy h2,
.section-heading h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4.5vw, 4rem);

    line-height: 1.03;

    letter-spacing: -0.035em;
}

.section-copy p,
.section-heading p {
    color: #595959;

    font-size: 1.04rem;
}

.light-heading p {
    color: #cfcfcf;
}

.centered {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}


/* =========================================================
   ANIMACIÓN DE SECCIONES
   ========================================================= */

.page-turn {
    opacity: 0.45;

    transform:
        perspective(1200px)
        rotateY(-4deg)
        translateY(26px);

    transform-origin: left center;

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.page-turn.page-visible {
    opacity: 1;

    transform:
        perspective(1200px)
        rotateY(0deg)
        translateY(0);
}


/* =========================================================
   EVENTO
   ========================================================= */

.split-layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.image-shape {
    position: relative;

    margin: 0;
}

.image-shape img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    clip-path: polygon(
        11% 0,
        100% 0,
        100% 89%,
        89% 100%,
        0 100%,
        0 12%
    );
}

.image-shape::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 18px;

    right: 24px;
    bottom: -16px;

    background: #b70808;

    border-radius: 0 20px 20px 20px;
}


/* =========================================================
   DATOS
   ========================================================= */

.facts-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 34px;
}

.facts-grid article {
    padding: 20px;

    background: #f3f3f3;

    border-radius: 18px 18px 18px 6px;
}

.facts-grid strong {
    display: block;

    color: #b70808;

    font-size: 1.8rem;

    line-height: 1;
}

.facts-grid span {
    color: #555555;

    font-size: 0.86rem;
}


/* =========================================================
   ACTIVIDADES
   ========================================================= */

.activity-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.activity-card {
    min-height: 365px;

    overflow: hidden;

    background: #ffffff;

    border-radius: 26px 26px 26px 8px;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.activity-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.11);
}

.activity-card img {
    width: 100%;
    height: 175px;

    object-fit: cover;
}

.activity-card div {
    padding: 24px;
}

.activity-card span {
    color: #b70808;

    font-weight: 900;

    font-size: 0.80rem;
}

.activity-card h3 {
    margin: 8px 0;

    font-size: 1.25rem;
}

.activity-card p {
    margin: 0;

    color: #666666;

    font-size: 0.94rem;
}


/* =========================================================
   CIRCUITO
   ========================================================= */

.circuit-layout {
    display: grid;

    grid-template-columns: 0.78fr 1.22fr;

    gap: 60px;

    align-items: center;
}

.circuit-tabs {
    display: grid;

    gap: 10px;

    margin-top: 28px;
}

.circuit-tab {
    padding: 13px 16px;

    color: #171717;

    text-align: left;

    background: #f1f1f1;

    border: 0;

    border-radius: 16px 16px 16px 6px;

    font-weight: 800;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.circuit-tab:hover {
    transform: translateY(-2px);
}

.circuit-tab.active {
    color: #ffffff;

    background: #b70808;
}

.circuit-viewer {
    position: relative;

    min-height: 490px;

    overflow: hidden;

    background: #f5f5f5;

    border-radius: 26px 26px 26px 8px;
}

.circuit-map {
    display: none;

    width: 100%;
    height: 100%;

    min-height: 490px;

    object-fit: cover;
}

.circuit-map.active {
    display: block;

    animation: circuitFade 0.45s ease;
}

@keyframes circuitFade {

    from {
        opacity: 0;

        transform: scale(1.04);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-frame {
    margin: 0;

    overflow: hidden;

    border-radius: 28px 28px 28px 8px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.video-frame video {
    width: 100%;

    display: block;

    aspect-ratio: 16 / 9;

    background: #111111;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-layout {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 70px;

    align-items: start;
}

.faq-image {
    width: 100%;
    height: 300px;

    margin-top: 30px;

    object-fit: cover;

    border-radius: 26px 26px 26px 8px;
}

.accordion {
    display: grid;

    gap: 12px;
}

.accordion details {
    padding: 0 20px;

    background: #ffffff;

    border-radius: 18px 18px 18px 6px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.accordion summary {
    padding: 18px 0;

    font-weight: 800;

    cursor: pointer;
}

.accordion p {
    margin: 0;

    padding: 0 0 20px;

    color: #5c5c5c;
}


/* =========================================================
   UBICACIÓN
   ========================================================= */

.location-layout {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 60px;

    align-items: center;
}

.location-card {
    display: grid;

    gap: 7px;

    margin: 24px 0;

    padding: 20px;

    background: #f4f4f4;

    border-radius: 18px 18px 18px 6px;
}

.location-card span {
    color: #616161;
}

.map-frame {
    min-height: 470px;

    overflow: hidden;

    border-radius: 26px 26px 26px 8px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.map-frame iframe {
    width: 100%;
    height: 470px;

    border: 0;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-band {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    padding: 48px;

    background: #ffffff;

    border-radius: 30px 30px 30px 8px;

    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
}

.contact-band h2 {
    margin: 0 0 8px;

    font-size: clamp(2rem, 4vw, 3.5rem);

    line-height: 1;
}

.contact-band p {
    max-width: 680px;

    margin: 0;

    color: #646464;
}

.contact-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   INFORMES
   ========================================================= */

#info {
    position: relative;
}

#info .inner {
    position: relative;

    z-index: 2;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}

#info .cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

#info .ticket {
    padding: 24px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 18px 18px 18px 6px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.ticket-icono {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    color: #b70808;

    background: #f4f4f4;

    border-radius: 50%;
}

.ticket-icono svg {
    stroke: currentColor;
}

.contacto-link {
    color: #b70808;

    font-weight: 700;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

#info .redes-sociales {
    width: 100%;

    margin-top: 28px;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

#info .redes-grupo {
    padding: 20px 22px;

    text-align: center;

    background: rgba(12, 12, 12, 0.90);

    border-radius: 14px 14px 28px 14px;
}

#info .redes-grupo h4 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;
}

#info .redes-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

#info .red-link {
    min-height: 36px;

    padding: 7px 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #ffffff;

    background: #b40000;

    border: 0;

    border-radius: 8px 8px 18px 8px;

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#info .red-link svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}

#info .red-link:hover {
    color: #ffffff;

    background: #8e0000;

    transform: translateY(-2px);

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   MODAL CONTACTO
   ========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.62);

    backdrop-filter: blur(4px);
}

.modal-panel {
    position: relative;

    z-index: 2;

    width: min(760px, 96vw);

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 28px;

    padding: 34px;

    background: #ffffff;

    border-radius: 28px 28px 28px 8px;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.modal-copy h2 {
    margin: 0 0 12px;

    font-size: 2rem;

    line-height: 1.06;
}

.modal-copy p {
    color: #636363;
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 36px;
    height: 36px;

    border: 0;

    border-radius: 50%;

    background: #eeeeee;

    font-size: 1.35rem;
}

.contact-form {
    display: grid;

    gap: 12px;
}

.contact-form label {
    display: grid;

    gap: 5px;

    color: #454545;

    font-size: 0.80rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 10px 12px;

    color: #111111;

    background: #ffffff;

    border: 1px solid #d8d8d8;

    border-radius: 12px;

    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b70808;

    box-shadow: 0 0 0 3px rgba(183, 8, 8, 0.08);
}

.honeypot {
    position: absolute !important;

    left: -9999px !important;
}

.form-status {
    min-height: 22px;

    margin: 0;

    color: #555555;

    font-size: 0.83rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 70px;

    color: #ffffff;

    background: #111111;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-grid h2 {
    margin: 0 0 14px;

    font-size: 1rem;
}

.footer-grid a,
.footer-grid button {
    display: block;

    margin: 8px 0;

    padding: 0;

    color: #c9c9c9;

    background: transparent;

    border: 0;

    text-align: left;
}

.footer-logo {
    width: 130px;

    margin-bottom: 14px;
}

.footer-grid p {
    max-width: 480px;

    color: #bdbdbd;
}

.footer-bottom {
    padding: 18px;

    text-align: center;

    color: #9b9b9b;

    background: #090909;

    font-size: 0.82rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .header-inner {
        min-height: 68px;

        padding: 0 14px;

        gap: 10px;
    }


    /* LOS LOGOS SIGUEN VISIBLES */

    .logo-group {
        display: flex;

        gap: 5px;
    }

    .logo-group .logo-tcc {
        height: 40px;
    }

    .logo-group .logo-cdp {
        height: 38px;
    }


    /* BRAND */

    .brand {
        min-width: 0;

        flex: 1;

        overflow: hidden;
    }

    .brand img {
        height: 42px;
    }

    .brand span {
        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;

        font-size: 0.74rem;
    }


    /* HAMBURGUESA */

    .menu-toggle {
        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        margin-left: auto;

        z-index: 1002;
    }


    /* MENÚ MÓVIL */

    .main-nav {
        position: fixed;

        top: 68px;
        left: 0;
        right: 0;

        z-index: 1001;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 12px 16px 18px;

        background: #ffffff;

        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform: translateY(-12px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .main-nav.open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }

    .main-nav a,
    .main-nav button {
        width: 100%;

        padding: 13px 10px;

        color: #161616;

        text-align: left;

        background: transparent;

        border: 0;

        border-bottom: 1px solid #eeeeee;

        font-size: 0.92rem;
    }

    .main-nav .ticket-button {
        margin-top: 10px;

        display: flex;

        justify-content: center;

        color: #ffffff;

        background: #b70808;

        border: 0;

        border-radius: 14px 14px 18px 7px;
    }


    /* LAYOUTS */

    .split-layout,
    .circuit-layout,
    .faq-layout,
    .location-layout,
    .modal-panel {
        grid-template-columns: 1fr;

        gap: 36px;
    }

    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #info .cards {
        grid-template-columns: 1fr 1fr;
    }

    #info .redes-sociales {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 680px) {

    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 68px 0;
    }


    /* =====================================================
       HEADER MÓVIL
       ===================================================== */

    .header-inner {
        min-height: 64px;

        padding: 0 10px;

        gap: 7px;
    }


    /* IMPORTANTE:
       NO OCULTAMOS LOS LOGOS
       ===================================================== */

    .logo-group {
        display: flex;

        align-items: center;

        gap: 4px;

        flex-shrink: 0;
    }

    .logo-group .logo-tcc {
        height: 32px;
    }

    .logo-group .logo-cdp {
        height: 31px;
    }


    /* Si tienes separador entre logos */

    .logo-group .logo-separator {
        height: 24px;
    }


    /* Nombre */

    .brand {
        flex: 1;

        min-width: 0;

        gap: 4px;
    }

    .brand img {
        display: none;
    }

    .brand span {
        max-width: 145px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;

        font-size: 0.68rem;
    }


    /* Hamburger */

    .menu-toggle {
        width: 40px;
        height: 40px;

        flex-shrink: 0;
    }

    .main-nav {
        top: 64px;

        max-height: calc(100vh - 64px);

        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
    }


    /* HERO */

    .hero {
        min-height: calc(100vh - 64px);
    }

    .hero::before {
        left: 10px;

        width: 34px;
    }

    .hero::after {
        right: -48px;
    }

    .hero-content {
        padding: 90px 18px 50px;
    }

    .hero-logo-wrap img {
        width: 145px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 10vw, 3.4rem);

        line-height: 1.02;
    }

    .hero p {
        font-size: 0.95rem;

        line-height: 1.7;
    }

    .hero-actions {
        gap: 9px;
    }


    /* ACTIVIDADES */

    .activity-grid,
    .facts-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        min-height: auto;
    }

    .activity-card img {
        height: 210px;
    }



    /* MAPA */

    .map-frame,
    .map-frame iframe,
    .circuit-viewer,
    .circuit-map {
        min-height: 340px;

        height: 340px;
    }


    /* INFORMES */

    #info .inner {
        width: calc(100% - 24px);
    }

    #info .cards {
        grid-template-columns: 1fr;
    }

    #info .redes-sociales {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    #info .redes-grupo {
        padding: 18px 14px;
    }

    #info .redes-links {
        gap: 8px;
    }

    #info .red-link {
        flex: 1 1 125px;

        padding: 7px 10px;

        font-size: 0.76rem;
    }


    /* CONTACTO */

    .contact-band {
        padding: 28px 22px;

        flex-direction: column;

        align-items: flex-start;
    }


    /* MODAL */

    .modal-panel {
        max-height: 92vh;

        padding: 27px 20px 22px;

        overflow-y: auto;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ANDROID / CELULAR PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .header-inner {
        min-height: 62px;

        padding: 0 7px;

        gap: 5px;
    }


    /* LOGOS VISIBLES */

    .logo-group {
        display: flex;

        gap: 3px;
    }

    .logo-group .logo-tcc {
        height: 28px;
    }

    .logo-group .logo-cdp {
        height: 27px;
    }


    /* TEXTO */

    .brand span {
        max-width: 115px;

        font-size: 0.62rem;
    }


    /* MENÚ */

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .main-nav {
        top: 62px;

        max-height: calc(100vh - 62px);
    }


    /* HERO */

    .hero {
        min-height: calc(100vh - 62px);
    }

    .hero-content {
        padding: 82px 15px 42px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero p {
        font-size: 0.92rem;
    }

    .ticket-button,
    .water-button,
    .ghost-button,
    .btn,
    .btn-solido {
        min-height: 36px;

        padding: 7px 15px;

        font-size: 0.82rem;
    }


    /* SECCIONES */

    .section {
        padding: 58px 0;
    }

    .section-copy h2,
    .section-heading h2 {
        font-size: 1.95rem;
    }



    /* MAPA */

    .map-frame,
    .map-frame iframe,
    .circuit-viewer,
    .circuit-map {
        min-height: 300px;

        height: 300px;
    }

}


/* TELÉFONOS MUY PEQUEÑOS */

@media (max-width: 380px) {

    .logo-group .logo-tcc {
        height: 25px;
    }

    .logo-group .logo-cdp {
        height: 24px;
    }

    .brand span {
        max-width: 90px;

        font-size: 0.58rem;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hero-logo-wrap img {
        width: 125px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

}


/* REDUCIR MOVIMIENTO POR ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    * {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .page-turn {
        opacity: 1;

        transform: none;
    }

}

/* Esta pare vamos a dar diseño alcontador de visistas.*/

.visit-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 20px;
    color: #ff6b21;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.visit-counter strong {
    color: #ff6b21;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 768px) {

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }


    .visit-counter {
        margin-left: 0;
    }

}
