/* ============================================================
   URBAN CLIMBING — Sistema de diseño de marca
   Extraído de la demo (demo.html) y adaptado al proyecto.
   Fuentes servidas desde /fonts, imágenes desde /img/urban.
   ============================================================ */

/* ===== FUENTES DE MARCA ===== */
@font-face {
    font-family: 'Owners';
    src: url('../fonts/Owners.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Race Sport';
    src: url('../fonts/RaceSport.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== TOKENS ===== */
:root {
    --uc-orange: #E8451A;
    --uc-orange-dark: #C03510;
    --uc-salmon: #F5C5B0;
    --uc-salmon-bg: #FAD9CC;
    --uc-dark: #111111;
    --uc-gray-nav: #F5F5F5;
    --uc-gray-sponsors: #F2F2F2;
    --uc-gray-cta: #EBEBEB;
    --uc-white: #FFFFFF;
    --uc-font-cond: 'Race Sport','Barlow Condensed',sans-serif;
    --uc-font: 'Barlow',sans-serif;
}

/* ===== RESET LOCAL (scopeado al layout Urban) ===== */
.uc * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.uc {
    font-family: var(--uc-font);
    color: var(--uc-dark);
    background: var(--uc-white);
    overflow-x: hidden
}

    .uc img {
        max-width: 100%
    }

/* ===== NAV ===== */
.uc-nav {
    height: 72px;
    background: var(--uc-white);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 200;
}

.uc-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uc-nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex: 1
}

    .uc-nav-logo img {
        height: 44px;
        width: auto
    }

.uc-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end
}

.uc-nav-links {
    display: flex;
    gap: 0;
    flex: 0 0 auto
}

    .uc-nav-links a {
        font-family: var(--uc-font);
        font-size: 16px;
        font-weight: 500;
        color: var(--uc-dark);
        text-decoration: none;
        padding: 0 28px;
        height: 72px;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: color .15s;
    }

        .uc-nav-links a:hover, .uc-nav-links a.active {
            color: var(--uc-orange)
        }

.uc-nav-cta {
    background: var(--uc-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--uc-font);
    font-size: 15px;
    font-weight: 600;
    transition: background .15s;
    text-decoration: none;
}

    .uc-nav-cta:hover {
        background: var(--uc-orange-dark)
    }

.uc-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--uc-dark);
    cursor: pointer
}

/* ===== BOTONES ===== */
.uc-btn {
    display: inline-block;
    background: var(--uc-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--uc-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
}

    .uc-btn:hover {
        background: var(--uc-orange-dark);
        color: #fff
    }

.uc-btn--cta {
    /*! font-family: var(--uc-font-cond); */
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 40px;
}

.uc-btn--outline {
    background: #fff;
    border: 1px solid var(--uc-orange);
    color: var(--uc-orange);
}

    .uc-btn--outline:hover {
        background: var(--uc-orange);
        color: #fff
    }

/* Botones "Inscríbete": siempre en mayúsculas + latido en bucle constante */
.uc-pulse {
    text-transform: uppercase;
    animation: uc-pulse 1.8s ease-in-out infinite
}

@keyframes uc-pulse {
    0%,100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245,91,44,.45)
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 12px rgba(245,91,44,0)
    }
}

@media(prefers-reduced-motion:reduce) {
    .uc-pulse {
        animation: none
    }
}

/* ===== HERO ===== */
.uc-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111
}

.uc-hero-photo {
    width: 100%;
    height: 520px;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ===== ABOUT ===== */
.uc-about {
    padding: 5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.uc-about-tag {
    font-family: var(--uc-font-cond);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--uc-orange);
    margin-bottom: .5rem
}

.uc-about-escalada {
    font-family: var(--uc-font-cond);
    font-size: clamp(36px,4.5vw,58px);
    font-weight: 900;
    font-style: italic;
    color: var(--uc-orange);
    line-height: .9;
    letter-spacing: -1px;
    text-transform: uppercase
}

.uc-about-urbana {
    font-family: var(--uc-font-cond);
    font-size: clamp(48px,6.5vw,82px);
    font-weight: 900;
    font-style: italic;
    color: var(--uc-orange);
    line-height: .85;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 4px
}

.uc-about-madrid {
    font-family: var(--uc-font-cond);
    font-size: clamp(16px,2vw,24px);
    font-weight: 700;
    color: var(--uc-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem
}

.uc-about-body {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem
}

.uc-about-date-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 1.5rem 0 .25rem
}

.uc-about-date-num {
    font-family: var(--uc-font-cond);
    font-weight: 900;
    font-size: 36px;
    color: #fff;
    font-style: italic;
    background: var(--uc-dark);
    padding: 4px 10px;
    border-radius: 4px
}

.uc-about-date-oct {
    font-family: var(--uc-font-cond);
    font-weight: 900;
    font-size: 22px;
    color: var(--uc-orange);
    font-style: italic
}

.uc-about-date-loc {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem
}

    .uc-about-date-loc span {
        color: var(--uc-orange)
    }

.uc-video {
    background: #e0e0e0;
    border-radius: 8px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

    .uc-video img, .uc-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

    .uc-video iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block
    }

.uc-play {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

    .uc-play::after {
        content: '';
        border-left: 20px solid var(--uc-dark);
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        margin-left: 4px
    }

.uc-about-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--uc-dark);
    text-align: center;
    padding: 2rem 0 0
}

/* ===== CATEGORÍAS ===== */
.uc-cats {
    background: #fff;
    padding: 3rem 2rem 3.5rem
}

.uc-cats-title {
    text-align: center;
    font-family: var(--uc-font-cond);
    font-size: clamp(18px,2vw,26px);
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--uc-dark);
    margin-bottom: 1.75rem
}

.uc-cats-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto
}

.uc-cat {
    background: #FCDDD5;
    border-radius: 8px;
    padding: 1.1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 180px
}

.uc-cat-top {
    font-family: var(--uc-font-cond);
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--uc-orange);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 1px
}

.uc-cat-name {
    font-family: var(--uc-font-cond);
    font-size: clamp(20px,2.4vw,32px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: var(--uc-orange);
    line-height: .95;
    margin-bottom: 6px
}

.uc-cat-age {
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    color: var(--uc-dark);
    margin-bottom: 8px;
    line-height: 1.2
}

.uc-cat-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    flex: 1
}

/* ===== PREMIOS ===== */
.uc-premios {
    padding: 4rem 2rem;
    text-align: center;
    background: #fff
}

.uc-premios-amount {
    font-family: var(--uc-font-cond);
    font-size: clamp(48px,7vw,88px);
    font-weight: 900;
    color: var(--uc-orange);
    letter-spacing: -3px;
    line-height: 1;
    font-style: italic
}

.uc-premios-label {
    font-family: var(--uc-font-cond);
    font-size: clamp(20px,3vw,38px);
    font-weight: 900;
    color: var(--uc-dark);
    letter-spacing: -1px;
    font-style: italic;
    line-height: 1;
    margin-top: -8px
}

.uc-premios-sub {
    font-size: 14px;
    color: #666;
    margin: .75rem 0 2rem
}

    .uc-premios-sub strong {
        font-weight: 700;
        color: var(--uc-dark)
    }

.uc-premios-disclaimer {
    font-size: 11px;
    color: #aaa;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto
}

.uc-premios-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 2rem 0 1rem
}

    .uc-premios-slider::before, .uc-premios-slider::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        z-index: 2;
        pointer-events: none
    }

    .uc-premios-slider::before {
        left: 0;
        background: linear-gradient(to right,#fff 0%,transparent 100%)
    }

    .uc-premios-slider::after {
        right: 0;
        background: linear-gradient(to left,#fff 0%,transparent 100%)
    }

.uc-premios-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: uc-slide-premios 22s linear infinite
}

    .uc-premios-track:hover {
        animation-play-state: paused
    }

@keyframes uc-slide-premios {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.uc-pc {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px
}

    .uc-pc img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        object-position: center;
        display: block
    }

    .uc-pc span {
        font-size: 11px;
        font-weight: 600;
        color: #888;
        text-align: center;
        line-height: 1.3
    }

/* ===== CTA BANNER ===== */
.uc-cta {
    position: relative;
    background: #EBEBEB;
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px
}

.uc-cta-svg-izq {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: auto;
    pointer-events: none
}

.uc-cta-svg-dcha {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    pointer-events: none
}

.uc-cta-title {
    font-family: var(--uc-font-cond);
    font-size: clamp(30px,4vw,54px);
    font-weight: 900;
    font-style: italic;
    color: var(--uc-orange);
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1
}

.uc-cta-sub-bold {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-dark);
    margin-bottom: .25rem;
    position: relative;
    z-index: 1
}

.uc-cta-sub {
    font-size: 14px;
    color: #555;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1
}

/* ===== FORMULARIOS ===== */
.uc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem
}

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

.uc-form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--uc-dark)
}

    .uc-form-label span {
        color: var(--uc-orange)
    }

.uc-input, .uc-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: var(--uc-dark);
    font-family: var(--uc-font);
    background: #fff;
    width: 100%
}

    .uc-input:focus, .uc-select:focus {
        outline: none;
        border-color: var(--uc-orange)
    }

.uc-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--uc-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s;
    margin-top: 1rem
}

    .uc-form-submit:hover {
        background: var(--uc-orange-dark)
    }

/* ===== LEAD ===== */
.uc-lead {
    padding: 4rem 2rem;
    background: #fff
}

.uc-lead-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center
}

.uc-lead-q {
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-dark);
    margin-bottom: .25rem
}

.uc-lead-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 1.75rem;
    line-height: 1.6
}

    .uc-lead-desc strong {
        font-weight: 700;
        color: var(--uc-dark)
    }

.uc-lead-msg {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--uc-orange)
}

/* ===== CABECERA DE PÁGINA (interiores) ===== */
.uc-page-header {
    background: var(--uc-dark);
    padding: 3rem 2rem;
    text-align: center
}

    .uc-page-header h1 {
        font-family: var(--uc-font-cond);
        font-size: 2.5rem;
        font-weight: 900;
        color: #fff;
        letter-spacing: -1px;
        margin-bottom: .5rem;
        font-style: italic;
        text-transform: uppercase
    }

    .uc-page-header p {
        color: rgba(255,255,255,.5);
        font-size: 15px
    }

/* ===== SPONSORS ===== */
.uc-sponsors {
    background: #f7f7f7;
    padding: 2.5rem 4rem;
    border-top: 1px solid #eee
}

.uc-sponsors-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee
}

    .uc-sponsors-row:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none
    }

.uc-sponsors-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
    text-align: center
}

.uc-sponsors-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-family: var(--uc-font-cond);
    font-weight: 800;
    color: #888
}

    .uc-sponsors-logos img {
        height: 40px;
        width: auto;
        object-fit: contain
    }

/* ===== FOOTER ===== */
.uc-footer {
    background: linear-gradient(to bottom,#2a2a2a 0%,#111 100%);
    padding: 2.5rem 4rem
}

.uc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem
}

.uc-footer-logos {
    display: flex;
    align-items: center;
    gap: 20px
}

    .uc-footer-logos img {
        height: 38px;
        width: auto;
        filter: brightness(0) invert(1)
    }

.uc-footer-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.2)
}

.uc-footer-com {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    line-height: 1.3
}

.uc-footer-right {
    text-align: right
}

.uc-footer-email {
    font-size: 11px;
    color: rgba(255,255,255,.7);
    margin-bottom: 10px
}

    .uc-footer-email a {
        color: rgba(255,255,255,.7);
        text-decoration: none
    }

        .uc-footer-email a:hover {
            color: #fff
        }

.uc-footer-socials {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px
}

.uc-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none
}

    .uc-social:hover {
        border-color: #fff;
        color: #fff
    }

.uc-footer-legal {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap
}

    .uc-footer-legal a {
        color: rgba(255,255,255,.4);
        font-size: 11px;
        text-decoration: none;
        cursor: pointer
    }

        .uc-footer-legal a:hover {
            color: rgba(255,255,255,.7)
        }

.uc-footer-legal-sep {
    color: rgba(255,255,255,.2);
    font-size: 11px
}

.uc-footer-line {
    height: 3px;
    background: var(--uc-orange)
}

/* ===== NOTICIAS ===== */
.uc-news-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem
}

.uc-news-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: pointer;
    transition: transform .15s
}

    .uc-news-card:hover {
        transform: translateY(-3px)
    }

.uc-news-img {
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 1rem
}

.uc-news-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--uc-orange);
    padding: 3px 8px;
    border-radius: 3px
}

.uc-news-body {
    padding: 1.25rem
}

.uc-news-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: .5rem
}

.uc-news-title {
    font-family: var(--uc-font-cond);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .5rem
}

.uc-news-excerpt {
    font-size: 11px;
    color: #666;
    line-height: 1.5
}

/* ===== RANKING ===== */
.uc-rank-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem
}

.uc-rank-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
    overflow-x: auto
}

.uc-rank-tab {
    padding: 10px 20px;
    font-family: var(--uc-font-cond);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none
}

    .uc-rank-tab.active, .uc-rank-tab:hover {
        color: var(--uc-orange);
        border-bottom-color: var(--uc-orange)
    }

.uc-rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

    .uc-rank-table th {
        text-align: left;
        padding: 10px 12px;
        background: #f9f9f9;
        font-family: var(--uc-font-cond);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #aaa
    }

    .uc-rank-table td {
        padding: 12px;
        border-bottom: 1px solid #f0f0f0
    }

    .uc-rank-table tr:hover td {
        background: #fef5f2
    }

.uc-rank-pos {
    font-family: var(--uc-font-cond);
    font-weight: 900;
    font-size: 18px
}

    .uc-rank-pos.gold {
        color: #F59E0B
    }

    .uc-rank-pos.silver {
        color: #9CA3AF
    }

    .uc-rank-pos.bronze {
        color: #B45309
    }

/* ===== FAQ ===== */
.uc-faq-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem
}

.uc-faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.25rem 0
}

.uc-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    gap: 1rem
}

.uc-faq-icon {
    font-size: 22px;
    color: var(--uc-orange);
    flex-shrink: 0;
    transition: transform .2s
}

.uc-faq-item.open .uc-faq-icon {
    transform: rotate(45deg)
}

.uc-faq-a {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-top: .75rem;
    display: none
}

.uc-faq-item.open .uc-faq-a {
    display: block
}

/* ===== MODAL ===== */
.uc-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 300;
    align-items: center;
    justify-content: center
}

    .uc-modal.open {
        display: flex
    }

.uc-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center
}

.uc-modal-icon {
    font-size: 52px;
    margin-bottom: 1rem
}

.uc-modal-box h3 {
    font-family: var(--uc-font-cond);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: .5rem;
    text-transform: uppercase
}

.uc-modal-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
    .uc-nav-inner {
        padding: 0 1.25rem
    }

    .uc-nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        display: none;
    }

        .uc-nav-links.open {
            display: flex
        }

        .uc-nav-links a {
            height: 52px;
            padding: 0 1.25rem;
            width: 100%
        }

    .uc-nav-toggle {
        display: block
    }

    .uc-about {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem
    }

    .uc-cats-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .uc-news-grid {
        grid-template-columns: 1fr
    }

    .uc-form-row {
        grid-template-columns: 1fr
    }

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

    .uc-footer-right {
        text-align: center
    }

    .uc-footer-socials, .uc-footer-legal {
        justify-content: center
    }
}

@media(max-width:768px) {
    .uc-cat {
        min-height: 160px
    }
}

/* ===== HERO DE PÁGINA INTERIOR (mismo tratamiento que .uc-cta) ===== */
.uc-page-hero {
    position: relative;
    background: #EBEBEB;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px
}

.uc-page-hero-title {
    font-family: var(--uc-font-cond);
    font-size: clamp(30px,4.5vw,54px);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--uc-dark);
    position: relative;
    z-index: 1;
    margin: 0
}

/* ===== PÁGINA DE CONTENIDO GENÉRICA (pagina.aspx) ===== */
.uc-pagina {
    background: #fff;
    padding: 3rem 1.5rem 3.5rem
}

.uc-pagina-inner {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
    line-height: 1.6
}

    .uc-pagina-inner h2 {
        color: var(--uc-dark)
    }

    .uc-pagina-inner a {
        color: var(--uc-orange)
    }

/* ===== PÁGINAS LEGALES (aviso legal, privacidad, cookies) ===== */
.uc-legal {
    max-width: 820px;
    margin: 0 auto;
    font-size: 14px;
    color: #444;
    line-height: 1.75
}

    .uc-legal p {
        margin: 0 0 1rem
    }

.uc-legal-intro {
    color: #666;
    margin-bottom: 1.75rem !important
}

.uc-legal-updated {
    display: block;
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin-bottom: 1.9rem
}

.uc-legal h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--uc-dark);
    margin: 2rem 0 .7rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #ededed
}

    .uc-legal h2:first-of-type {
        margin-top: 0
    }

.uc-legal ul, .uc-legal ol {
    margin: .4rem 0 1rem;
    padding-left: 1.3rem
}

.uc-legal li {
    margin-bottom: .35rem
}

.uc-legal a {
    color: var(--uc-orange);
    text-decoration: underline;
    word-break: break-word
}

.uc-legal strong {
    color: var(--uc-dark)
}

.uc-legal-ph {
    background: #fff4f1;
    border: 1px dashed var(--uc-orange);
    border-radius: 4px;
    padding: 1px 7px;
    font-style: normal;
    color: var(--uc-orange);
    font-weight: 600;
    white-space: nowrap
}

/* ===== INSCRIPCIÓN: ELEGIR CATEGORÍA ===== */
.uc-insc {
    background: #fff;
    padding: 3rem 2rem 3.5rem;
    max-width: 1000px;
    margin: 0 auto
}

.uc-insc-head {
    text-align: center;
    margin-bottom: 2rem
}

.uc-insc-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: .5rem 0 0
}

.uc-insc-cards {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap
}

.uc-insc-card {
    flex: 1 1 300px;
    max-width: 440px;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: border-color .15s
}

    .uc-insc-card.is-selected {
        border-color: var(--uc-orange)
    }

.uc-insc-opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.uc-insc-opt {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e9e9e9;
    border-radius: 8px;
    padding: .9rem 1rem;
    cursor: pointer;
    transition: background .15s
}

    .uc-insc-opt:has(input:checked) {
        background: #FCDDD5
    }

    .uc-insc-opt input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0
    }

.uc-insc-check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid var(--uc-orange);
    border-radius: 4px;
    background: #fff;
    position: relative
}

.uc-insc-opt input:checked + .uc-insc-check {
    background: var(--uc-orange)
}

    .uc-insc-opt input:checked + .uc-insc-check:after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 6px;
        height: 11px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg)
    }

.uc-insc-optbody {
    display: flex;
    flex-direction: column;
    line-height: 1
}

.uc-insc-price {
    text-align: center;
    font-family: var(--uc-font-cond);
    font-size: clamp(40px,6vw,72px);
    font-weight: 900;
    font-style: italic;
    color: #8a8a8a;
    letter-spacing: -2px;
    margin-top: 1.25rem
}

.uc-insc-seguro {
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: #888;
    max-width: 640px;
    margin: 1.5rem auto 0
}

.uc-insc-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem
}

.uc-insc-cont {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .uc-insc-cont.is-disabled {
        background: #d9d9d9;
        color: #fff;
        pointer-events: none;
        cursor: default
    }

.uc-insc-actions--split {
    justify-content: space-between
}

.uc-insc .uc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

/* ===== INSCRIPCIÓN: RESUMEN (paso 3) ===== */
.uc-resumen {
    max-width: 660px;
    margin: 0 auto
}

.uc-resumen-items {
    border-top: 2px solid var(--uc-orange);
    padding: 1.1rem 0 .9rem
}

.uc-resumen-line, .uc-resumen-sub, .uc-resumen-desc, .uc-resumen-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem
}

.uc-resumen-line {
    font-style: italic;
    font-weight: 700;
    color: var(--uc-dark);
    padding: .2rem 0
}

    .uc-resumen-line span:last-child {
        font-weight: 800;
        white-space: nowrap
    }

.uc-resumen-sub {
    border-top: 1px solid #e2e2e2;
    padding: .9rem 0;
    color: #7a7a7a;
    font-style: italic
}

.uc-resumen-desc {
    padding: .1rem 0 .9rem;
    color: #7a7a7a;
    font-style: italic
}

.uc-resumen-total {
    border-top: 2px solid var(--uc-orange);
    padding: .9rem 0 .15rem;
    font-weight: 800;
    font-size: 18px;
    color: var(--uc-dark);
    text-transform: uppercase
}

    .uc-resumen-total span:last-child {
        font-size: 20px
    }

.uc-resumen-tax {
    text-align: right;
    font-size: 11px;
    font-style: italic;
    color: #9a9a9a;
    margin-bottom: 1.5rem
}

.uc-resumen-cupon {
    background: #ededed;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center
}

.uc-resumen-cupon-lbl {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: .75rem
}

    .uc-resumen-cupon-lbl strong {
        color: var(--uc-dark)
    }

.uc-resumen-cupon-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap
}

.uc-resumen-cupon-input {
    max-width: 220px;
    text-align: center;
    background: #fff
}

.uc-resumen-cupon-btn {
    padding: 8px 22px
}

.uc-resumen-cupon-ok {
    color: #2e7d32;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.uc-resumen-cupon-err {
    color: #c0392b;
    font-size: 12px;
    width: 100%;
    margin-top: 6px
}

/* ===== INSCRIPCIÓN: COMPLETA TUS DATOS (paso 4) ===== */
.uc-insc-chip {
    display: inline-block;
    background: #FCDDD5;
    color: var(--uc-orange);
    font-family: var(--uc-font-cond);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    line-height: 1.35
}

.uc-insc-chip-edad {
    font-weight: 700
}

.uc-insc-form {
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 1.75rem
}

.uc-insc-form-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
    gap: 1rem
}

.uc-insc-form-title {
    font-family: var(--uc-font-cond);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--uc-orange);
    letter-spacing: 1px
}

.uc-insc-form-req {
    font-size: 11px;
    color: #aaa
}

.uc-insc-form .uc-form-group {
    margin-bottom: 1rem
}

.uc-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 1rem;
    cursor: pointer
}

    .uc-check input {
        flex: 0 0 auto;
        width: 16px;
        height: 16px;
        margin-top: 2px;
        accent-color: var(--uc-orange)
    }

    .uc-check a {
        color: var(--uc-orange);
        text-decoration: underline
    }

.uc-insc-form-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #a33;
    border-radius: 8px;
    padding: .85rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 13px
}

    .uc-insc-form-error ul {
        margin: 0;
        padding-left: 1.1rem
    }

/* ===== INSCRIPCIÓN CONFIRMADA (gracias) ===== */
.uc-gracias {
    background: #fff;
    padding: 3rem 2rem 3.5rem;
    max-width: 680px;
    margin: 0 auto;
    text-align: center
}

.uc-gracias-block {
    margin-top: 1.75rem
}

.uc-gracias-title {
    font-family: var(--uc-font-cond);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(24px,3vw,34px);
    color: var(--uc-dark)
}

.uc-gracias-lead {
    font-weight: 700;
    color: var(--uc-dark);
    margin: .35rem 0 .5rem
}

.uc-gracias-q {
    font-family: var(--uc-font-cond);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--uc-dark);
    letter-spacing: .5px;
    margin-bottom: .5rem
}

.uc-gracias .uc-insc-actions {
    margin-top: 2rem
}

@media(max-width:768px) {
    .uc-insc-cards {
        flex-direction: column;
        align-items: stretch
    }

    .uc-insc-card {
        max-width: none
    }

    .uc-page-hero {
        min-height: 150px
    }
}
