@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================
    1. CONFIGURACIÃ“N BASE Y VARIABLES
   ========================================= */
:root {
    --font-heading: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --c-carbon: #1a1a1e;
    --c-asphalt: #2a2a2e;
    --c-red: rgb(242, 25, 43);
    --c-red-transparente: rgba(242, 25, 43, 0.05);
    --c-red-transparente-strong: rgba(242, 25, 43, 0.2);
    --c-red-transparente-stronger: rgba(242, 25, 43, 0.5);
    --c-dark: rgb(22, 22, 24);
    --c-light: rgb(255, 255, 255);
    --font-stack: system-ui, -apple-system, sans-serif;
    --bg-card: rgb(36, 36, 38);
    --bg-darker: rgb(15, 15, 16);
}

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

html {
    overflow-x: clip;
}

body {
    background-color: var(--c-dark);
    color: var(--c-light);
    font-family: var(--font-body);
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
}

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

.d-none {
    display: none !important;
}

/* =========================================
    2. COMPONENTES UI REUTILIZABLES
   ========================================= */

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: 300ms;
}

.btn--primary {
    background-color: var(--c-red);
    color: var(--c-light);
    border: 2px solid var(--c-red);
}

.btn:hover {
    background-color: var(--c-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--c-light);
    transform: scale(1.05);
}

.btn--outline {
    background-color: transparent;
    color: var(--c-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* --- Badges / Etiquetas --- */
.badge {
    display: inline-block;
    background-color: var(--c-red);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(242, 25, 43, 0.3);
}

/* --- T?tulos de Secci?n (Global) --- */
.section-title {
    margin-bottom: 3rem;
    border-left: 4px solid var(--c-red);
    padding-left: 1.5rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    opacity: 0.7;
    max-width: 500px;
}

.section-title--center {
    text-align: center;
    border-left: none;
    margin-bottom: 1rem;
    padding-left: 0;
}

.section-title--center p {
    margin: 0 auto;
}

/* --- Contenedor de Secci?n (Global) --- */
.section-container {
    padding: 4rem 5%;
    background-color: var(--c-dark);
}

section.section-container:nth-of-type(even) {
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 6px), linear-gradient(135deg, #161618 0%, #1c1c1e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
    3. LAYOUT (HEADER & FOOTER)
   ========================================= */
/* --- Header Principal --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 1rem 5%;
    justify-content: space-between;
    background-color: transparent;
    font-weight: 700;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.main-header.header-scrolled {
    background-color: var(--bg-darker);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.enlaces-header {
    display: flex;
    align-items: center;
}

/* --- Logo --- */
.logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.logo-wrapper {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.main-footer .logo-wrapper {
    height: 36px;
    width: 36px;
}

.logo-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.logo span,
.logo-text span {
    color: var(--c-red);
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* --- Navegaci?n Escritorio --- */
.main-header nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.main-header nav a {
    margin: 0;
    opacity: 0.8;
    display: inline-block;
    vertical-align: middle;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.main-header nav a:hover {
    opacity: 1;
    color: var(--c-red);
    transition: 300ms;
}

/* --- Dropdown Escritorio --- */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    height: 100%;
    padding: 1rem 0;
    margin: 0;
}

.nav-dropdown-toggle .dropdown-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--c-dark, #161618);
    min-width: 220px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    z-index: 1000;
    pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-content a {
    margin: 0 !important;
    padding: 0.8rem 1.5rem !important;
    display: block;
    transform: none !important;
    white-space: nowrap;
    text-align: left;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.8) !important;
}

.nav-dropdown-content a:hover {
    background-color: rgba(227, 0, 15, 0.1);
    color: var(--c-light, #fff) !important;
    opacity: 1 !important;
}
/* --- Men? Hamburguesa (Bot?n) --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--c-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Footer --- */
.main-footer {
    background-color: #000000;
    border-top: 2px solid var(--c-red);
    padding: 4rem 5% 1rem;
    color: #aeaeae;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 0 1 auto;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--c-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 800;
}

.brand-col .logo {
    margin-bottom: 1rem;
    opacity: 0.9;
    color: var(--c-light);
    transition: 0.3s;
}

.brand-col:hover .logo {
    opacity: 1;
}

.footer-desc {
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aeaeae;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--c-light);
    transform: translateX(5px);
    color: var(--c-red);
}

.footer-links span {
    margin-right: 0.5rem;
}

.footer-map {
    width: 100%;
    max-width: 300px;
    height: 160px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    filter: invert(90%) hue-rotate(180deg) opacity(0.8);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--c-red);
    border-color: var(--c-red);
    transform: translateY(-3px);
    color: white;
}

.social-icons a img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-admin-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.65);
}

.footer-translate-wrap {
    margin: 0;
    flex: 1 1 100%;
    text-align: center;
}

.footer-translate-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--c-light);
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.footer-translate-btn:hover {
    border-color: var(--c-red);
    color: #fff;
}

@media (max-width: 768px) {
    .main-footer {
        text-align: center;
    }

    .logo {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-map {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
    4. RESPONSIVO: MEN? M?VIL
   ========================================= */
@media (max-width: 948px) {
    .hamburger {
        display: flex;
    }

    /* Animaci?n icono X */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Caj?n del men? m?vil */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100dvh;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding-bottom: 2rem;
    }

    .mobile-menu.active {
        right: 0;
    }

    .main-header nav {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .main-header nav a {
        font-size: 1.2rem;
        margin: 0;
    }

    /* --- Dropdown MÃ³vil --- */
    .nav-dropdown {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-toggle {
        justify-content: center;
    }

    .nav-dropdown-content {
        position: static;
        transform: none !important;
        box-shadow: none;
        background-color: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        padding-top: 1rem;
        width: 100%;
        border: none;
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: flex;
    }

    .nav-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .nav-dropdown-content a {
        font-size: 1.1rem;
        padding: 0.5rem;
        text-align: center;
        opacity: 0.8;
    }

    .nav-dropdown-content a:hover {
        padding-left: 0.5rem;
        background-color: transparent;
        opacity: 1;
    }
}

/* =========================================
    5. P?GINA: INICIO (LANDING)
   ========================================= */

/* --- Hero Section (AMZ-style Video Background) --- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fallback: static image hero (original) */
.hero:not(.hero--video) {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.95) 100%), url("../img/hero/index.webp");
    background-size: cover;
    background-position: center;
    padding: 0 5%;
    position: relative;
    text-align: center;
}

/* --- Global Hero Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.scroll-indicator__line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: heroScrollPulse 1.8s ease-in-out infinite;
}
@keyframes heroScrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.18); }
}

/* Video hero variant */
.hero--video {
    text-align: center;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        var(--c-dark) 100%
    );
    z-index: 2;
}

.hero__content,
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero h1 span:not(.sr-only) {
    color: var(--c-red);
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.7;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.btn--lg {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.hero-content .slogan-brand {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-about-teaser .section-title h2,
.home-about-teaser__text h2 {
    letter-spacing: 0.06em;
    overflow-wrap: break-word;
    hyphens: none;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.home-about-teaser__text h2 span {
    color: var(--c-red);
}

.hero p:not(.hero__tagline) {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--outline-light {
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--c-light);
}

.btn--outline-light:hover {
    border-color: var(--c-light);
}

/* Responsivo Landing */
@media (max-width: 768px) {
    .hero h1 {
        letter-spacing: -1px;
    }

    .hero__tagline {
        letter-spacing: 2px;
        font-size: 0.9rem;
    }

    .hero p:not(.hero__tagline) {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero__cta-group .btn {
        width: 100%;
    }

    .btn--lg {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* =========================================
    5a. SECCI?N ?QU? ES MOTOSTUDENT? (SEO)
   ========================================= */

.motostudent-section {
    position: relative;
    overflow: hidden;
}



.motostudent-section .section-title h2 span {
    color: var(--c-red);
}

.motostudent-content {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.motostudent-text p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.motostudent-text strong {
    color: var(--c-light);
    opacity: 1;
}

.motostudent-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.motostudent-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
}

.motostudent-media img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--c-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(242, 25, 43, 0.1);
}

.highlight-icon {
    color: var(--c-red);
    background: rgba(242, 25, 43, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .motostudent-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .motostudent-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .motostudent-cta {
        flex-direction: column;
    }

    .motostudent-cta .btn {
        width: 100%;
    }
}

/* Teaser ?Sobre nosotros? en la home (tras patrocinadores) */
.home-about-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.home-about-split__media {
    margin: 0;
}

.home-about-split__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.home-about-split__media figcaption {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    opacity: 0.6;
    text-align: center;
}

.home-about-teaser .section-title h2 span {
    color: var(--c-red);
}

.home-about-teaser__text {
    max-width: none;
    margin: 0;
}

.home-about-teaser__cta {
    margin-top: 2rem;
}

.home-about-teaser__cta--dual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 900px) {
    .home-about-split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .home-about-teaser__cta--dual .btn {
        width: 100%;
        max-width: 320px;
    }

    .mobile-text-first .home-about-split__media {
        order: 2;
    }
    .mobile-text-first .home-about-teaser__text {
        order: 1;
    }
}

/* SecciÃ³n FilosofÃ­a con cards de foto â€” Sobre nosotros */
.sn-filosofia-section {
    background: linear-gradient(135deg, #1a1a1c 0%, var(--c-dark) 100%);
}

.sn-filosofia-section .section-title--center {
    margin-bottom: 2.5rem;
}

.filosofia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.8rem;
    max-width: 1320px;
    margin: 0 auto;
}

.filosofia-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.filosofia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--c-red);
}

.filosofia-card__img-wrap {
    position: relative;
    height: 290px;
    overflow: hidden;
}

.filosofia-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.filosofia-card__img-wrap img[src*="unete_competicion_real"] {
    object-position: left center;
}

.filosofia-card__img-wrap img[src*="unete_ingenieria_aplicada"] {
    object-position: center top;
}

.filosofia-card:hover .filosofia-card__img-wrap img {
    transform: scale(1.06);
}

.filosofia-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
    transition: background 0.3s ease;
}

.filosofia-card:hover .filosofia-card__overlay {
    background: linear-gradient(to top, rgba(242,25,43,0.6) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

.filosofia-card__overlay i {
    width: 28px;
    height: 28px;
    color: white;
    opacity: 0.9;
}

.filosofia-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.filosofia-card__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--c-light);
}

.filosofia-card__body p {
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .filosofia-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .filosofia-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .filosofia-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

/* =========================================
    5b. SPONSORS MARQUEE (Cinta Transportadora)
   ========================================= */

.sponsors-marquee-section {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    overflow: hidden;
}

.sponsors-marquee-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 5%;
}

.sponsors-marquee-section .section-header h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    opacity: 0.5;
}

.sponsors-marquee-section .section-header h2 a {
    transition:
        opacity 0.3s,
        color 0.3s;
}

.sponsors-marquee-section .section-header h2 a:hover {
    opacity: 1;
    color: var(--c-red);
}

.sponsors-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Degradados laterales para efecto de desvanecimiento */
.sponsors-marquee::before,
.sponsors-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.sponsors-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.sponsors-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.sponsors-marquee:hover .sponsors-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    height: 80px;
    width: 180px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 24px rgba(242, 25, 43, 0.2);
}

.marquee-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* --- AUTHOR BOX --- */
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(242, 25, 43, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(242, 25, 43, 0.25);
    border-left: 4px solid var(--c-red);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    max-width: 700px;
    transition: box-shadow 0.3s ease;
}

.blog-author-box:hover {
    box-shadow: 0 4px 24px rgba(242, 25, 43, 0.12);
}

.blog-author-box .author-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background-color: #ffffff;
    border: 3px solid var(--c-red);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(242, 25, 43, 0.15);
}

.blog-author-box .author-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.blog-author-box .author-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.blog-author-box .author-details span {
    font-size: 0.9rem;
    opacity: 0.85;
    color: var(--c-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .blog-author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition:
        filter 0.4s ease,
        opacity 0.4s ease;
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .sponsors-marquee::before,
    .sponsors-marquee::after {
        width: 40px;
    }

    .sponsors-track {
        gap: 2.5rem;
    }

    .marquee-item {
        height: 80px;
        width: 170px;
        padding: 0.9rem 1.25rem;
        border-radius: 10px;
    }
}

/* =========================================
    5c. EVENTOS (P?gina de eventos + detalle)
   ========================================= */

/* --- Hero de Eventos --- */
.eventos-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/hero/eventos.webp");
    background-size: cover;
    padding: 12rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: 100dvh;
    background-position: center;
}

.eventos-hero-content {
    padding-top: 4rem;
}

.eventos-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.eventos-hero h1 span {
    color: var(--c-red);
}

.eventos-hero p {
    max-width: 600px;
    opacity: 0.85;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Secci?n de eventos (listado) --- */
.eventos-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

.eventos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrado por defecto (para el index) */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Alinear a la izquierda en la p?gina de eventos */
#proximos-container, #pasados-container {
    justify-content: flex-start;
}

.eventos-empty {
    text-align: center;
    opacity: 0.5;
    font-style: italic;
    padding: 2rem;
}

/* --- Tarjeta de evento (link wrapper) --- */
.evento-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1 1 300px;
    max-width: 380px;
}

.evento-card {
    background: rgba(20, 20, 22, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transform: translateZ(0); /* Mata bugs de fuga subp?xel */

    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-left-color 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 3px solid transparent;
    will-change: transform;
}

.evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(242, 25, 43, 0.2);
    border-left-color: var(--c-red);
    background: rgba(25, 25, 28, 0.9);
}

/* Imagen del evento */
.evento-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background-color: var(--bg-card);
    border-radius: 8px 8px 0 0;
}

.evento-img-wrapper img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    opacity: 0.85;
    /* Al inflarla un 2% por defecto, sus bordes reales siempre quedan fuera de la m?scara visible padre,
       es Imposible que filtre nada por ning?n lado, matem?tico */
    transform: scale(1.02);
}

.evento-card:hover .evento-img-wrapper img {
    transform: scale(1.08); /* Crece desde 1.02, nunca desde 1.00 */
    opacity: 1;
}

/* Overlay gradient on the image */
.evento-img-wrapper::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: calc(100% + 3px);
    background: linear-gradient(to top, rgba(20, 20, 22, 1) 0%, transparent 100%);
    pointer-events: none;
}

.evento-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background-color: var(--bg-card);
}

.evento-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.evento-fecha {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(242, 25, 43, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    align-self: flex-start;
}

.evento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.evento-lugar {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.evento-desc {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.6;
    flex: 1;
    font-weight: 300;
}

.evento-ver-mas {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--c-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
}

.evento-card:hover .evento-ver-mas {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    /* Flexible approach, no need to force 2 columns strictly, flex-basis handles it */
}

@media (max-width: 768px) {
    .eventos-grid {
        gap: 1rem;
    }

    .eventos-hero {
        padding: 8rem 5% 4rem;
        height: auto;
    }

}

/* =========================================
    5d. P?GINAS DE DETALLE ? SHOWCASE
   ========================================= */

/* === SHARED === */
.sp-back {
    display: inline-block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-right: 1rem;
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.sp-back:hover {
    color: #fff;
    background: rgba(242, 25, 43, 0.45);
    transform: translateX(-4px);
}

.sp-section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sp-label-line {
    width: 5px;
    height: 30px;
    background: var(--c-red);
    border-radius: 3px;
    flex-shrink: 0;
}

.sp-section-label h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sp-cta-section {
    text-align: center;
    padding: 2rem 5% 4rem;
}

.sp-error {
    text-align: center;
    padding: 12rem 5% 6rem;
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.55;
}

.sp-error h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.sp-error p {
    opacity: 0.55;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* === SPONSOR HERO === */
.sp-hero {
    padding: 9rem 6% 4rem;
    background: #0f0f11;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(242, 25, 43, 0.15) 0%, transparent 50%),
        linear-gradient(to bottom, transparent 0%, #151515 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 11px);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.sp-hero::after {
    display: none;
}

.sp-hero-inner {
    display: flex;
    align-items: stretch;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sp-hero-logo {
    flex-shrink: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}


.sp-hero-logo img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.sp-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-hero-text .badge {
    margin-bottom: 1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--c-red);
    color: #ffffff;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(242, 25, 43, 0.3);
}

.sp-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    font-weight: 800;
    text-transform: uppercase;
}

.sp-hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.75;
    max-width: 600px;
    font-weight: 300;
}

.sp-hero-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-red);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.sp-hero-site-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* === EVENT DASHBOARD HERO === */
.ev-dashboard-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.ev-dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(22, 22, 24, 0.95) 0%, rgba(22, 22, 24, 0.8) 50%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, rgba(22, 22, 24, 1) 100%);
    z-index: 1;
}

.ev-dashboard-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 5% 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.ev-dashboard-top-nav {
    margin-bottom: 3rem;
}

.ev-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: flex-end;
    padding-bottom: 3rem;
}

.ev-dashboard-title-area .tech-badge {
    background: rgba(242, 25, 43, 0.15);
    color: var(--c-red);
    border: 1px solid rgba(242, 25, 43, 0.4);
    letter-spacing: 2px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.ev-dashboard-title-area h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.ev-dashboard-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 600px;
    font-weight: 300;
}

/* Dashboard Stats Column */
.ev-dashboard-stats-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(20, 20, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ev-stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border-left: 3px solid var(--c-red);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ev-stat-box:hover {
    transform: translateX(4px);
    background: rgba(242, 25, 43, 0.05);
}

.ev-stat-icon {
    font-size: 1.8rem;
    color: var(--c-red);
    opacity: 0.9;
}

.ev-stat-data {
    display: flex;
    flex-direction: column;
}

.ev-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.ev-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .ev-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .ev-dashboard-stats-area {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .ev-stat-box {
        flex: 1 1 200px;
    }
}

@media (max-width: 600px) {
    .ev-dashboard-stats-area {
        flex-direction: column;
    }
}

/* === EVENT BODY === */
.ev-body {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 5% 2rem;
}

.ev-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 2rem;
    border-left: 3px solid var(--c-red);
    padding-left: 1.25rem;
}

/* === FEATURE CARDS (shared) === */
.sp-features-section,
.sp-text-block {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 2rem;
    padding: 0 5% 4rem;
}

.sp-section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.sp-label-line {
    height: 2px;
    width: 40px;
    background-color: var(--c-red);
}

.sp-section-label h2 {
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.9;
}

.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
}

.sp-feature-card {
    background: rgba(20, 20, 22, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sp-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(242, 25, 43, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sp-feature-card:hover::after {
    opacity: 1;
}

.sp-feature-card:hover {
    border-color: rgba(242, 25, 43, 0.3);
    transform: translateY(-4px);
    background-color: rgba(25, 25, 28, 0.9);
}

/* Bento Box Logic */
.sp-feature-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* If exactly 2 items, don't span row to avoid empty spaces */
.sp-feature-card:first-child:nth-last-child(2) {
    grid-row: span 1;
}

.sp-feature-card:nth-child(2) {
    grid-column: span 2;
}

/* If exactly 3 items, the 3rd spans 2 columns */
.sp-feature-card:nth-child(3):last-child {
    grid-column: span 2;
}

/* By default, 3rd and 4th span 1 */
.sp-feature-card:nth-child(3):not(:last-child),
.sp-feature-card:nth-child(4) {
    grid-column: span 1;
}

/* If exactly 5 items, the 5th is a full-width footer card */
.sp-feature-card:nth-child(5):last-child {
    grid-column: span 4;
    flex-direction: row;
    align-items: center;
}

/* For 6 or more items, span 2 to keep them balanced in pairs */
.sp-feature-card:nth-child(n+5):not(:nth-child(5):last-child) {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .sp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sp-feature-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .sp-feature-card:nth-child(n+2) {
        grid-column: span 1;
    }
    /* If the last item lands on an odd grid spot, make it full width */
    .sp-feature-card:nth-child(even):last-child {
        grid-column: span 2;
    }
    /* Reset flex layout if it was applied to the 5th element */
    .sp-feature-card:nth-child(5):last-child {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sp-feature-icon {
    color: var(--c-red);
    flex-shrink: 0;
    display: inline-flex;
    padding: 1rem;
    background: rgba(242, 25, 43, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(242, 25, 43, 0.1);
    align-self: flex-start;
}

.sp-feature-icon .material-symbols-outlined {
    font-size: 32px;
}

.sp-feature-icon svg {
    width: 32px;
    height: 32px;
}

.sp-feature-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

/* For the large hero bento card, text can be bigger */
.sp-feature-card:nth-child(1) p {
    font-size: 1.25rem;
    line-height: 1.7;
}

.sp-feature-card--hero-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    /* Matamos el sub-p?xel que fuga por debajo del border-radius usando 2 sombras superpuestas:
       Una cubre la rendija con el color oscuro del gradiente y otra hace de borde sutil */
    border: none !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.05), inset 0 0 0 2px rgba(14, 14, 16, 1) !important;
}

.sp-feature-card--hero-image:hover {
    background-color: transparent !important;
    box-shadow: inset 0 0 0 1.5px rgba(242, 25, 43, 0.3), inset 0 0 0 2px rgba(14, 14, 16, 1) !important;
}

.sp-feature-card--hero-image p,
.sp-feature-card--hero-image .sp-feature-icon {
    position: relative;
    z-index: 1;
}

.sp-feature-card--hero-image p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.ev-hero--photo {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 55%, var(--c-dark) 100%), var(--ev-hero-bg, none);
    background-size: cover;
    background-position: center;
}

.ev-hero--no-photo {
    background: linear-gradient(180deg, #1a1a1a 0%, var(--c-dark) 100%);
}

.ev-hero--solid-dark {
    background-color: var(--c-dark);
}

.ev-body__detail-img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    display: block;
}

.eventos-empty--fullwidth {
    grid-column: 1 / -1;
    text-align: center;
}

.evento-lugar-svg {
    vertical-align: text-bottom;
    margin-right: 0.2rem;
}

.newsletter-fallback svg {
    margin-bottom: 0.5rem;
}

.pdf-viewer-block {
    margin: 2rem 0;
    text-align: center;
}

.pdf-viewer-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #fff;
}

.pdf-viewer-actions {
    margin-top: 1rem;
}

.pdf-viewer-open-tab {
    display: inline-block;
    font-size: 0.9rem;
}

.blog-inline-a {
    color: var(--c-red);
    text-decoration: underline;
}

.sp-error-icon [data-lucide],
.sp-error-icon svg {
    width: 48px;
    height: 48px;
}

.sp-gallery-grid img {
    cursor: pointer;
}


/* === EVENT HERO === */
.ev-hero {
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.ev-hero-content {
    width: 100%;
    padding: 8rem 6% 3rem;
    max-width: 800px;
}

.ev-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.08;
    margin-top: 0.75rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.ev-hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 1rem;
    max-width: 580px;
}

/* === EVENT INFO BAR === */
.ev-info-bar {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.75rem 5%;
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.ev-info-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.9rem 1.4rem;
    min-width: 190px;
    transition: all 0.3s ease;
}

.ev-info-card:hover {
    border-color: var(--c-red-transparente-stronger);
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(242, 25, 43, 0.1);
}

.ev-info-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.ev-info-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.45;
    font-weight: 600;
}

.ev-info-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

/* === EVENT BODY === */
.ev-body {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 5% 2rem;
}

.ev-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 2rem;
    border-left: 3px solid var(--c-red);
    padding-left: 1.25rem;
}

/* === TEXT BLOCKS === */
.sp-text-content p {
    font-size: 1.02rem;
    line-height: 1.8;
    opacity: 0.82;
    margin-bottom: 1rem;
}

/* === GALLERY === */
.sp-gallery-section {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 2rem;
    padding: 0 5% 4rem;
}

.sp-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.sp-gallery-item {
    width: calc((100% - 2rem) / 3);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.sp-gallery-item--hero {
    width: 100%;
    aspect-ratio: 16/7;
}

.sp-gallery-item--hero img {
    object-position: center 25%;
}

.sp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sp-gallery-item:hover img {
    transform: scale(1.05);
}

.sp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2100;
}

.sp-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sp-lightbox-image {
    max-width: min(1200px, 92vw);
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.sp-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.sp-lightbox-prev, .sp-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.sp-lightbox-prev:hover, .sp-lightbox-next:hover, .sp-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sp-lightbox-prev {
    left: 1.5rem;
}

.sp-lightbox-next {
    right: 1.5rem;
}

.sp-lightbox-open {
    overflow: hidden;
}

/* === SPONSOR CARD LINKS (patrocinadores.html) === */
.sponsor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* El flex va en el enlace, no en .card (el <a> es hijo directo de .tier-list) */
.tier-platinum .sponsor-card-link {
    flex: 0 1 500px;
    max-width: 500px;
    width: 100%;
}

.tier-gold .sponsor-card-link {
    flex: 0 1 350px;
}

.tier-silver .sponsor-card-link {
    flex: 0 1 250px;
}

.tier-bronze .sponsor-card-link {
    flex: 0 1 180px;
}

.sponsor-card-link > .card {
    width: 100%;
    flex: none;
    max-width: none;
}

.card--clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.card--clickable:hover {
    border-color: var(--c-red) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(242, 25, 43, 0.12);
}

.sponsor-card-link:hover > .card {
    cursor: pointer;
}

.card-link-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--c-red);
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sponsor-card-link:hover .card-link-hint {
    opacity: 1;
    transform: translateX(5px);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .sp-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }

    .sp-hero-logo {
        width: 100%;
        max-width: 360px;
    }

    .sp-hero-text {
        align-items: center;
    }

    .sp-hero-text .badge {
        align-self: center;
    }

    .sp-hero-site-link {
        align-self: center;
    }

    .sp-hero-text p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        padding: 7rem 5% 2.5rem;
    }

    .sp-hero-logo {
        max-width: 280px;
        padding: 1.4rem 1.8rem;
    }

    .sp-hero-logo img {
        max-height: 80px;
    }

    .sp-hero-text h1 {
        font-size: 2rem;
    }

    .ev-hero {
        min-height: 40vh;
    }

    .ev-hero-content {
        padding: 7rem 5% 2rem;
    }

    .ev-info-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding: 1.25rem 5%;
    }

    .ev-info-card {
        min-width: unset;
    }

    /* Feature cards: horizontal scroll carousel on mobile */
    .sp-features-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding-bottom: 0.5rem;
    }

    .sp-features-grid::-webkit-scrollbar {
        display: none;
    }

    .sp-feature-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 1.75rem 1.5rem;
        gap: 1rem;
        /* reset bento grid spans */
        grid-column: unset !important;
        grid-row: unset !important;
    }

    .sp-feature-card--hero-image {
        flex: 0 0 92%;
        min-height: 280px;
    }

    .sp-feature-card:nth-child(1) p,
    .sp-feature-card p {
        font-size: 1rem;
    }

    /* Dots navigation */
    .sp-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .sp-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
        flex-shrink: 0;
    }

    .sp-carousel-dot.active {
        background: var(--c-red);
        transform: scale(1.35);
    }

    .sp-features-section,
    .sp-text-block {
        padding: 0 4% 2.5rem;
    }

    .sp-gallery-section {
        padding: 0 4% 2.5rem;
    }

    .sp-gallery-item {
        width: calc((100% - 1rem) / 2);
    }

    .sp-gallery-item--hero {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .sp-cta-section {
        padding: 1.5rem 5% 3rem;
    }
}

@media (max-width: 480px) {
    .sp-hero {
        padding: 6rem 4% 2rem;
    }

    .sp-hero-logo {
        max-width: 220px;
        padding: 1rem 1.25rem;
    }

    .sp-hero-logo img {
        max-height: 65px;
    }

    .sp-hero-text h1 {
        font-size: 1.75rem;
    }

    .sp-hero-text p {
        font-size: 0.95rem;
    }

    .sp-gallery-item {
        width: 100%;
    }

    .sp-lightbox {
        padding: 0.75rem;
    }

    .sp-lightbox-prev {
        left: 0.3rem;
    }

    .sp-lightbox-next {
        right: 0.3rem;
    }
}

/* =========================================
    6. P?GINA: SOBRE NOSOTROS
   ========================================= */

/* --- 6.1. Hero Espec?fico de Sobre Nosotros --- */
.sobre-nosotros-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/hero/sobre-nosotros.webp");
    background-size: cover;
    background-position: center top;
    padding: 8rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    min-height: 100dvh;
}

.motostudent-page-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/sobre-nosotros/motostudent.webp");
    background-size: cover;
    background-position: center center;
    padding: 8rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    min-height: 100dvh;
}



.sobre-nosotros-hero h1,
.motostudent-page-hero h1,
.sobre-nosotros-hero p,
.motostudent-page-hero p {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 2;
}

.sobre-nosotros-hero h1,
.motostudent-page-hero h1 {
    font-size: clamp(2.8rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.sobre-nosotros-hero h1 span,
.motostudent-page-hero h1 span {
    color: var(--c-red);
}

.sobre-nosotros-hero p,
.motostudent-page-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .sobre-nosotros-hero {
        padding: 8rem 5% 4rem;
        height: auto;
    }

}

/* --- 6.2. Barra de Estad?sticas --- */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 3rem 0;
    width: 100%;
    max-width: 1000px;
    margin-top: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 150px;
}

.stat-item h3,
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--c-light);
    margin: 0.5rem 0;
    line-height: 1;
}

/* --- Utilidad: Texto solo para lectores de pantalla y SEO --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.stat-icon {
    display: flex;
    justify-content: center;
    color: var(--c-red);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        gap: 2.5rem;
        background: rgba(20, 20, 20, 0.9);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
        width: 100%;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* --- L?NEAS DIVISORIAS ENTRE ESTAD?STICAS --- */
/* Solo en escritorio */
@media (min-width: 769px) {
    .stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
        right: -1rem;
    }
}

/* --- 6.3. Grid de Tarjetas (Filosof?a & Palmar?s) --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    background-color: #222;
    border-color: var(--c-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 25, 43, 0.15);
    cursor: default;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--c-red);
    padding: 0.5rem;
}

.card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.card h5 {
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.card p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* Variaci?n: Tarjetas Peque?as (Palmar?s) */
.mini-card {
    text-align: center;
    padding: 1.5rem;
}

.mini-card .card-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* =========================================
    6.4. TIMELINE (Historia Estilo Zigzag)
   ========================================= */

.history-section {
    background-color: var(--bg-darker);
    overflow-x: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 60px;
    width: 4px;
    background-color: var(--c-red);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-line::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 4px;
    height: 85px;
    background-image: radial-gradient(circle, var(--c-red) 35%, transparent 40%);
    background-size: 4px 30px;
    background-repeat: repeat-y;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    opacity: 0.8;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    z-index: 1;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 24px;
    height: 24px;
    background-color: var(--c-red);
    border: 4px solid var(--bg-darker);
    border-radius: 50%;
    z-index: 2;
}

.timeline-left {
    left: 0;
    text-align: right;
}

.timeline-left .timeline-dot {
    right: -12px;
}

.timeline-left .card {
    margin-left: auto;
}

.timeline-right {
    left: 50%;
    text-align: left;
}

.timeline-right .timeline-dot {
    left: -12px;
}

.timeline-item .card {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 500px;
}

.timeline-img-wrapper {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.timeline-item:hover .timeline-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item .card {
        margin: 0;
    }

    .timeline-left,
    .timeline-right {
        left: 0;
    }

    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        left: 28px;
    }
}

/* --- 6.5. CTA Section --- */
.cta-section {
    background: linear-gradient(to right, #4a0404, #000);
    padding: 4rem 5%;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* =========================================
    7. P?GINA: PATROCINADORES
   ========================================= */

/* Hero Patrocinadores */
.patrocinadores-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/hero/patrocinadores.webp");
    background-size: cover;
    padding: 12rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: 100dvh;
    background-position: center;
}

.patrocinadores-hero-content {
    padding-top: 4rem;
}

.patrocinadores-hero h1,
.patrocinadores-hero p {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 2;
}

.patrocinadores-hero h1 {
    font-size: clamp(2.8rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.patrocinadores-hero h1 span {
    color: var(--c-red);
}

.patrocinadores-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .patrocinadores-hero {
        padding: 7rem 5% 3rem;
        height: auto;
        min-height: 100dvh;
        gap: 1.5rem;
    }

    .patrocinadores-hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .patrocinadores-hero p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .patrocinadores-hero {
        padding: 5.5rem 5% 2.5rem;
        min-height: unset;
        height: auto;
    }

}

/* --- Contenedor Principal (La Pila Vertical) --- */
.sponsors-stack {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    /* Separaci?n generosa entre niveles (Platinum vs Gold, etc.) */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- T?tulos de cada Nivel --- */
.tier-title {
    text-align: center;
    color: var(--c-red);
    font-size: 1.2rem;
    letter-spacing: 4px;
    /* Estilo muy t?cnico/racing */
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.8;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* L?neas decorativas a los lados del t?tulo */
.tier-title::before,
.tier-title::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--c-red);
    vertical-align: middle;
    margin: 0 1rem;
    opacity: 0.5;
}

/* --- Contenedor de Tarjetas (Fila Flex) --- */
.tier-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* --- LOGOS (Estilos Base) --- */
.sponsor-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.sponsor-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* El efecto se activa al pasar sobre toda la tarjeta */
.card:hover .sponsor-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- NIVELES ESPEC?FICOS (Aqu? controlamos los tama?os con Flex) --- */

/* 1. PLATINUM: Grande y destacado */
.tier-platinum .card {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--c-dark);
}

.tier-platinum .sponsor-logo-wrapper.large {
    height: 250px;
}

/* 2. GOLD: Medianos */
.tier-gold .card {
    flex: 0 1 350px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.tier-gold .sponsor-logo-wrapper.medium {
    height: 120px;
}

/* 3. SILVER: Peque?os */
.tier-silver .card {
    flex: 0 1 250px;
    padding: 1.5rem;
}

.tier-silver .sponsor-logo-wrapper.small {
    height: 100px;
}

.tier-silver p {
    font-size: 0.9rem;
}

/* 4. BRONZE: Muy peque?os */
.tier-bronze .card {
    flex: 0 1 180px;
    padding: 1rem;
    background-color: var(--c-dark);
}

.tier-bronze .sponsor-logo-wrapper.xsmall {
    height: 90px;
    margin-bottom: 0;
}

.tier-bronze p {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .sponsors-stack {
        gap: 4rem;
    }

    .tier-platinum .card,
    .tier-platinum .sponsor-card-link {
        max-width: 100%;
        width: 100%;
        flex: 0 1 100%;
    }

    .tier-platinum .sponsor-logo-wrapper.large {
        height: 160px;
    }

    .tier-gold .card,
    .tier-gold .sponsor-card-link {
        flex: 0 1 300px;
    }

    .tier-gold .sponsor-logo-wrapper.medium {
        height: 100px;
    }

    .tier-silver .card,
    .tier-silver .sponsor-card-link {
        flex: 0 1 190px;
    }

    .tier-silver .card {
        padding: 1.2rem;
    }

    .tier-silver .sponsor-logo-wrapper.small {
        height: 80px;
    }

    .tier-bronze .card,
    .tier-bronze .sponsor-card-link {
        flex: 0 1 150px;
    }

    .tier-bronze .card {
        padding: 0.8rem;
    }

    .tier-bronze .sponsor-logo-wrapper.xsmall {
        height: 65px;
    }
}

@media (max-width: 480px) {
    .sponsors-stack {
        gap: 3.5rem;
    }

    /* ===================================================
       LOGO WALL APPROACH
       Platinum/Gold: full-width cards (1 per row)
       Silver: logo-only grid, 3 columns
       Bronze: logo-only grid, 4 columns
       Hierarchy = card size + content richness
       =================================================== */

    /* --- PLATINUM: full-width card, all content --- */
    .tier-platinum .card,
    .tier-platinum .sponsor-card-link {
        flex: unset;
        width: 100%;
        max-width: 100%;
    }

    .tier-platinum .sponsor-logo-wrapper.large {
        height: 130px;
    }

    /* --- GOLD: full-width card, all content --- */
    .tier-gold .card,
    .tier-gold .sponsor-card-link {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tier-gold .sponsor-logo-wrapper.medium {
        height: 100px;
    }

    /* --- SILVER: logo-only wall, 3 columns, orphans centered --- */
    .tier-silver .tier-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem;
    }

    .tier-silver .card,
    .tier-silver .sponsor-card-link {
        flex: 0 0 calc(33.333% - 0.45rem);
        max-width: calc(33.333% - 0.45rem);
    }

    .tier-silver .card {
        padding: 0.65rem 0.5rem 0.5rem;
        text-align: center;
        border-radius: 10px;
    }

    .tier-silver .sponsor-logo-wrapper.small {
        height: 52px;
        padding: 0.4rem 0.5rem;
        margin-bottom: 0;
        border-radius: 7px;
    }

    /* Logo-only: hide name and description on silver */
    .tier-silver h4,
    .tier-silver .card p {
        display: none;
    }

    /* --- BRONZE: logo-only wall, ~4 per row, orphans centered --- */
    .tier-bronze .tier-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .tier-bronze .card,
    .tier-bronze .sponsor-card-link {
        flex: 0 0 calc(25% - 0.4rem);
    }

    .tier-bronze .card {
        padding: 0.5rem 0.35rem 0.35rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
    }

    .tier-bronze .sponsor-logo-wrapper.xsmall {
        height: 38px;
        padding: 0.3rem;
        margin-bottom: 0;
        border-radius: 5px;
    }

    /* Logo-only: hide name and description on bronze */
    .tier-bronze h5,
    .tier-bronze .card p {
        display: none;
    }

    .tier-title {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .tier-title::before,
    .tier-title::after {
        width: 20px;
        margin: 0 0.5rem;
    }
}

/* =========================================
    8. P?GINA: EQUIPO
   ========================================= */

/* Hero Equipo */
.equipo-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/hero/equipo.webp");
    background-size: cover;
    padding: 12rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: 100dvh;
    background-position: center;
}

.equipo-hero-content {
    padding-top: 4rem;
}

.equipo-hero h1,
.equipo-hero p {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 2;
}

.equipo-hero h1 {
    font-size: clamp(2.8rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.equipo-hero h1 span {
    color: var(--c-red);
}

.equipo-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .equipo-hero {
        padding: 8rem 5% 4rem;
        height: auto;
    }

}

/* Filas de Miembros */
.join-team-callout {
    padding-top: 2.5rem;
}

section.section-container.join-team-callout {
    background: var(--c-dark) !important;
    border-top: none;
    border-bottom: none;
}

.join-team-callout__title {
    margin-bottom: 1.5rem;
}

.join-team-callout__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.team-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 250px;
    flex-shrink: 0;
}

.team-member-card img {
    width: 250px;
    height: 350px;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
    background: white;
    /* Evitar layout shift mientras carga */
    contain: layout style paint;
}

.team-member-card h3 {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.team-member-card p {
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .team-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .team-member-card {
        width: 250px;
        align-items: center;
        text-align: center;
    }

    .team-member-card img {
        width: 250px;
        height: 350px;
    }
}

/* Imagen placeholder para miembros sin foto */
.team-member-card img.placeholder-img {
    object-fit: contain;
    padding: 4rem;
    box-sizing: border-box;
}

/* =========================================
    STATS COUNTER
   ========================================= */
.stats-section {
    padding: 3.5rem 5%;
    background: linear-gradient(135deg, rgba(242, 25, 43, 0.04) 0%, rgba(242, 25, 43, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stats-grid .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.stats-grid .stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--c-red);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--c-red);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.5;
    font-weight: 600;
    margin-top: 0.3rem;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
}

/* =========================================
    SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

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

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
    9. P?GINA: BLOG
   ========================================= */

/* --- Blog Hero --- */
.blog-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), var(--c-dark)), radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%), url("../img/hero/blog.webp");
    background-size: cover;
    background-position: center;
    padding: 12rem 5% 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    height: 100dvh;
}

.blog-hero-content {
    padding-top: 4rem;
}

.blog-hero h1,
.blog-hero p {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 2;
}

.blog-hero h1 {
    font-size: clamp(2.8rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.blog-hero h1 span {
    color: var(--c-red);
}

.blog-hero p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 8rem 5% 4rem;
        height: auto;
    }

}

/* --- Blog Grid (listado de tarjetas) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-empty {
    text-align: center;
    opacity: 0.5;
    font-style: italic;
    padding: 2rem;
}

/* --- Blog Card (link wrapper) --- */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transform: translateZ(0); /* Mata bugs de fuga subp?xel */

    transition: all 0.35s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(242, 25, 43, 0.1);
    border-color: rgba(242, 25, 43, 0.2);
    border-bottom: 3px solid var(--c-red);
}

/* Imagen de portada del post */
.blog-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background-color: var(--bg-card);
    border-radius: 16px 16px 0 0;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    /* Sale genialmente un 2% fuera del contenedor para matar fugas de luz 100% de las esquinas */
    transform: scale(1.02); 
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.10); /* Crece a?n m?s desde su escala inicial inflada */
}

/* Overlay gradient on blog image */
.blog-card-img::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: calc(60% + 3px);
    background: linear-gradient(to top, var(--bg-card) 0%, rgba(36, 36, 38, 0) 100%);
    pointer-events: none;
}

/* Modificadores para tarjeta de Newsletter (solo portada) */
.newsletter-only-cover {
    min-height: 480px;
}
.newsletter-only-cover .blog-card-img {
    height: 100%;
}
.newsletter-only-cover .blog-card-img::after {
    background: linear-gradient(to top, rgba(242, 25, 43, 0.5) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.newsletter-only-cover:hover .blog-card-img::after {
    opacity: 1;
}

.newsletter-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--c-dark) 0%, var(--c-red) 100%);
    color: white;
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-weight: bold;
}

.blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background-color: var(--bg-card);
}

.blog-card-img + .blog-card-body {
    margin-top: -1.5rem;
}

.blog-card-categoria {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-meta {
    font-size: 0.78rem;
    opacity: 0.5;
    margin-bottom: 0.75rem;
}

.blog-card-extracto {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
    flex: 1;
}

.blog-card-leer {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--c-red);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-leer {
    transform: translateX(4px);
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- Blog Article (detalle de noticia) --- */
.blog-article {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 5% 2rem;
}

.blog-article .sp-text-block {
    padding-left: 0;
    padding-right: 0;
}

/* Im?genes inline en art?culos */
.blog-inline-img {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.blog-inline-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.blog-inline-img figcaption {
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.5;
    margin-top: 0.75rem;
    font-style: italic;
}

.author-avatar {
    background-color: #fff;
}

/* --- Medallas --- */
.medal-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.medal-badge span {
    font-size: 1.2rem;
    font-weight: 800;
}

.medal-gold {
    color: #fbbf24;
}

.medal-silver {
    color: #9ca3af;
}




/* --- Centrado de Palmares en pantallas grandes --- */
@media (min-width: 1200px) {
    .grid-palmares .card:nth-child(5) {
        grid-column: 2;
    }
    .grid-palmares .card:nth-child(6) {
        grid-column: 3;
    }
}

/* =========================================
    SPONSOR DETAIL PAGE V2 - SPLIT LAYOUT
   ========================================= */

/* --- Split Section (alternating text + image) --- */
.sp-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 420px;
    align-items: stretch;
}

.sp-split-section--reverse {
    direction: rtl;
}

.sp-split-section--reverse > * {
    direction: ltr;
}

.sp-split-media {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.sp-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sp-split-section:hover .sp-split-media img {
    transform: scale(1.04);
}

.sp-split-text {
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--c-dark);
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 6px);
}

.sp-split-section:nth-child(even) .sp-split-text {
    background-color: #1c1c1e;
}

.sp-split-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--c-light);
    position: relative;
    padding-left: 1.25rem;
}

.sp-split-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--c-red);
    border-radius: 2px;
}

.sp-split-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    opacity: 0.82;
    margin-bottom: 1rem;
}

.sp-split-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .sp-split-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sp-split-section--reverse {
        direction: ltr;
    }

    .sp-split-media {
        min-height: 250px;
        max-height: 350px;
    }

    .sp-split-text {
        padding: 2.5rem 5%;
    }
}

/* --- Stats Bar (Pit Board Style) --- */
.sp-stats-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2.5rem 5%;
    background: transparent;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.sp-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1.25rem 1.75rem;
    flex: 1 1 200px;
    max-width: 280px;
    transition: all 0.3s ease;
}

.sp-stat-card:hover {
    border-color: rgba(242, 25, 43, 0.3);
    transform: translateY(-2px);
    background: rgba(242, 25, 43, 0.04);
    box-shadow: 0 4px 20px rgba(242, 25, 43, 0.1);
}

.sp-stat-icon {
    color: var(--c-red);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 25, 43, 0.08);
    border-radius: 8px;
}

.sp-stat-icon svg {
    width: 22px;
    height: 22px;
}

.sp-stat-text {
    display: flex;
    flex-direction: column;
}

.sp-stat-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--c-light);
    line-height: 1.3;
}

.sp-stat-sublabel {
    font-size: 0.78rem;
    opacity: 0.5;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .sp-stats-bar {
        gap: 0.75rem;
        padding: 1.5rem 4%;
    }

    .sp-stat-card {
        flex: 1 1 calc(50% - 0.75rem);
        max-width: none;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .sp-stat-card {
        flex: 1 1 100%;
    }
}

/* --- Quote Box --- */
.sp-quote-box {
    background: linear-gradient(135deg, rgba(242, 25, 43, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(242, 25, 43, 0.2);
    border-left: 4px solid var(--c-red);
    border-radius: 0 12px 12px 0;
    padding: 2rem 2.5rem;
    margin: 3rem auto;
    max-width: 1100px;
}

.sp-quote-box blockquote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}

.sp-quote-box cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: normal;
    opacity: 0.6;
    font-weight: 600;
}

/* --- Hero V2 enhancements --- */
.sp-hero-v2 {
    position: relative;
}





/* --- Language Switcher --- */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--c-light);
    opacity: 0.8;
}
.lang-switcher a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lang-switcher a:hover {
    color: var(--c-white);
    background: rgba(255, 255, 255, 0.1);
}
.lang-switcher a.active {
    color: var(--c-white);
    font-weight: 800;
    opacity: 1;
}
.lang-switcher .separator {
    opacity: 0.5;
    font-weight: 400;
}

/* =========================================
    10. PÁGINA: MOTOSTUDENT
   ========================================= */

/* --- Long-form text blocks --- */
.ms-long-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}
.ms-long-text p:last-child {
    margin-bottom: 0;
}
.ms-long-text strong {
    color: var(--c-light);
    opacity: 1;
}

/* --- Custom bullet list --- */
.ms-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.ms-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}
.ms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background-color: var(--c-red);
    border-radius: 50%;
}

/* --- Category boxes (EFuel / Electric) --- */
.category-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}
.category-box:hover {
    border-color: var(--c-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(242, 25, 43, 0.1);
}
.category-icon {
    color: var(--c-red);
    background: rgba(242, 25, 43, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.category-icon svg {
    width: 30px;
    height: 30px;
}

/* === BLOG ARTICLE DETAIL === */

/* Full-bleed hero on blog article pages */
#noticia-detalle .ev-hero {
    width: 100%;
    min-height: 55vh;
}

#noticia-detalle .ev-hero-content {
    max-width: none;
    width: 100%;
    padding: 8rem 6% 3.5rem;
}

#noticia-detalle .ev-hero-desc {
    max-width: 720px;
}

/* Unified metadata bar (replaces floating cards) */
.blog-meta-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-meta-bar__inner {
    max-width: 850px;
    margin: 0 auto;
    padding: 1.1rem 5%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-meta-icon {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--c-red);
    flex-shrink: 0;
    opacity: 0.85;
}

.blog-meta-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    opacity: 0.4;
    font-weight: 600;
    line-height: 1.2;
}

.blog-meta-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 0.1rem;
    line-height: 1.3;
}

.blog-meta-sep {
    width: 1px;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Inline images inside blog articles */
.blog-inline-img {
    margin: 2.5rem -2%;
    text-align: center;
}

.blog-inline-img img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-inline-img img:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.blog-inline-img figcaption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Blog author box */
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.blog-author-box:hover {
    border-color: rgba(242, 25, 43, 0.3);
}

.blog-author-box .author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--c-red);
    flex-shrink: 0;
}

.blog-author-box .author-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.blog-author-box .author-written-by {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.45;
    font-weight: 600;
}

.blog-author-box .author-details h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.blog-author-box .author-role {
    font-size: 0.88rem;
    color: var(--c-red);
    font-weight: 500;
}

/* Blog CTA section */
.sp-cta-section {
    text-align: center;
    padding: 2rem 5% 4rem;
}

/* Blog body text blocks — refine paragraphs inside ev-body for articles */
.ev-body .sp-text-block {
    padding: 0;
    margin-top: 0;
    padding-bottom: 0;
}

@media (max-width: 600px) {
    .blog-author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .blog-inline-img {
        margin: 1.5rem 0;
    }

    .blog-inline-img img {
        border-radius: 8px;
    }

    .blog-meta-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1rem 5%;
    }

    .blog-meta-sep {
        display: none;
    }
}

.fs-hero {`n    position: relative;`n    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--c-light);
    background: url('../img/hero/patrocinadores.webp') center/cover no-repeat;
    overflow: hidden;
}

.fs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.85) 60%,
        var(--c-carbon) 100%
    );
    z-index: 1;
}

.fs-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fs-hero__content .badge {
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease backwards;
}

.fs-hero__content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.fs-hero__content h1 span {
    color: var(--c-red);
}

.fs-hero__content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 650px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.fs-hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.fs-hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.fs-hero__scroll-hint span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--c-red), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* --- ESTAD+�STICAS (STATS BAR) --- */
.fs-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.fs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 160px;
}

.fs-stat__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--c-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fs-stat__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-light);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- VALUE GRID (PROPUESTA DE VALOR) --- */
.fs-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fs-value-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fs-value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 25, 43, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fs-value-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(242, 25, 43, 0.1);
    color: var(--c-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.fs-value-card:hover .fs-value-card__icon {
    transform: scale(1.1);
    background: var(--c-red);
    color: #fff;
}

.fs-value-card__icon svg {
    width: 28px;
    height: 28px;
}

.fs-value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.fs-value-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- TIER CARDS (RANGOS) --- */
.fs-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.fs-tier-card {
    position: relative;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.fs-tier-card:hover {
    transform: translateY(-8px);
    z-index: 2;
}

.fs-tier-card__glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}`n.fs-tier-card__glow { display: none !important; }

.fs-tier-card:hover .fs-tier-card__glow {
    opacity: 0.15;
}`n.fs-tier-card__glow { display: none !important; }

/* Bronce */
.fs-tier-card--bronze { border-top: 4px solid #cd7f32; }
.fs-tier-card--bronze .fs-tier-card__glow { background: radial-gradient(circle at 50% 0%, #cd7f32, transparent 70%); }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--bronze .fs-tier-card__name { color: #cd7f32; }

/* Plata */
.fs-tier-card--silver { border-top: 4px solid #c0c0c0; }
.fs-tier-card--silver .fs-tier-card__glow { background: radial-gradient(circle at 50% 0%, #c0c0c0, transparent 70%); }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--silver .fs-tier-card__name { color: #c0c0c0; }

/* Oro */
.fs-tier-card--gold { border-top: 4px solid #ffd700; }
.fs-tier-card--gold:hover { transform: scale(1.05) translateY(-8px); }
.fs-tier-card--gold .fs-tier-card__glow { background: radial-gradient(circle at 50% 0%, #ffd700, transparent 70%); opacity: 0.1; }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--gold:hover .fs-tier-card__glow { opacity: 0.25; }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--gold .fs-tier-card__name { color: #ffd700; }

/* Platino */
.fs-tier-card--platinum { border-top: 4px solid #e5e4e2; }
.fs-tier-card--platinum .fs-tier-card__glow { background: radial-gradient(circle at 50% 0%, #e5e4e2, transparent 70%); opacity: 0.15; }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--platinum:hover .fs-tier-card__glow { opacity: 0.3; }`n.fs-tier-card__glow { display: none !important; }
.fs-tier-card--platinum .fs-tier-card__name { 
    background: linear-gradient(135deg, #e5e4e2, #b0c4de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fs-tier-card__shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    animation: shimmer 4s infinite;
    z-index: -1;
}`n.fs-tier-card__shimmer { display: none !important; }

@keyframes shimmer {
    100% { left: 200%; }
}

.fs-tier-card__badge-popular {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #ffd700;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.fs-tier-card__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fs-tier-card__medal {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.fs-tier-card__medal svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.fs-tier-card--bronze .fs-tier-card__medal { color: #cd7f32; }
.fs-tier-card--silver .fs-tier-card__medal { color: #c0c0c0; }
.fs-tier-card--gold .fs-tier-card__medal { color: #ffd700; }
.fs-tier-card--platinum .fs-tier-card__medal { color: #e5e4e2; }

.fs-tier-card__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.fs-tier-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fs-tier-card__from {
    font-size: 0.85rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fs-tier-card__amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.fs-tier-card__currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.fs-tier-card__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.fs-tier-card__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.fs-tier-card__inherited {
    opacity: 0.6 !important;
}

.fs-tier-card__benefits svg {
    width: 20px;
    height: 20px;
    color: var(--c-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.fs-tier-card--platinum .fs-tier-card__benefits svg { color: #b0c4de; }
.fs-tier-card--gold .fs-tier-card__benefits svg { color: #ffd700; }

.fs-tier-card__cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--c-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.fs-tier-card__cta:hover {
    background: var(--c-red);
    border-color: var(--c-red);
}

.fs-tier-card__cta--gold:hover {
    background: #ffd700;
    border-color: #ffd700;
    color: #000;
}

.fs-tier-card__cta--platinum:hover {
    background: #e5e4e2;
    border-color: #e5e4e2;
    color: #000;
}

.fs-tiers-note {
    text-align: center;
    margin-top: 3rem;
    opacity: 0.7;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.fs-tiers-note svg {
    width: 18px;
    height: 18px;
}

/* --- CONTACT GRID (EQUIPO) --- */
.fs-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fs-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.fs-contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 25, 43, 0.3);
}

.fs-contact-card__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--c-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-red);
}

.fs-contact-card__info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.fs-contact-card__role {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.25rem;
}

.fs-contact-card__email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-light);
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.fs-contact-card__email:hover {
    background: rgba(242, 25, 43, 0.15);
    color: var(--c-red);
}

.fs-contact-card__email svg {
    width: 16px;
    height: 16px;
}

/* --- FORMULARIO DE CONTACTO --- */
.fs-form-section {
    background: url('../img/hero/patrocinadores.webp') center/cover no-repeat;
    position: relative;
    padding: 6rem 0;
}

.fs-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-carbon);
    opacity: 0.95;
}

.fs-form-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.fs-form-intro h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 1rem 0 1.5rem;
    font-weight: 800;
}

.fs-form-intro h2 span {
    color: var(--c-red);
}

.fs-form-intro p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.fs-form-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-form-perks li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.fs-form-perks svg {
    width: 24px;
    height: 24px;
    color: var(--c-red);
}

.fs-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.fs-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fs-form__group {
    margin-bottom: 1.5rem;
}

.fs-form__group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.fs-form__group input,
.fs-form__group select,
.fs-form__group textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--c-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fs-form__group input:focus,
.fs-form__group select:focus,
.fs-form__group textarea:focus {
    outline: none;
    border-color: var(--c-red);
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 0 3px rgba(242, 25, 43, 0.1);
}

.fs-form__group select option {
    background: var(--c-carbon);
    color: var(--c-light);
}

.fs-form__submit {
    width: 100%;
    padding: 1rem;
    background: var(--c-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.1s ease;
}

.fs-form__submit:hover {
    background: #d41423;
}

.fs-form__submit:active {
    transform: scale(0.98);
}

.fs-form__submit svg {
    width: 20px;
    height: 20px;
}

.fs-form__submit svg.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.fs-form__privacy {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
    line-height: 1.5;
}

.fs-form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.fs-form-success__icon {
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.fs-form-success__icon svg {
    width: 32px;
    height: 32px;
}

.fs-form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #22c55e;
}

/* --- RESPONSIVE FOR SPONSORS --- */
@media (max-width: 900px) {
    .fs-form-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .fs-form-intro {
        text-align: center;
    }
    
    .fs-form-perks {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .fs-hero__cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .fs-stats-row {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .fs-stat {
        min-width: 120px;
    }
    
    .fs-stat__number {
        font-size: 2.5rem;
    }
    
    .fs-tier-card--gold {
        transform: none;
    }
    
    .fs-tier-card--gold:hover {
        transform: translateY(-8px);
    }
    
    .fs-form {
        padding: 2rem 1.5rem;
    }
    
    .fs-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
@media (min-width: 940px) {
    .join-areas__grid > .join-area-item:last-child:nth-child(7) {
        grid-column: 2;
    }
}

/* ==========================================================================
   RECRUITMENT HYPE FEATURES (BARRA SUPERIOR, BADGES, TEASER & BANNERS)
   ========================================================================== */

/* 1. Top Announcement Bar (Barra Flotante Superior) */
.top-announcement-bar {
    position: relative;
    z-index: 10001;
    background: linear-gradient(90deg, #120002 0%, #d6000e 50%, #120002 100%);
    color: #ffffff;
    padding: 0.55rem 2.5rem 0.55rem 1.2rem;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(227, 0, 15, 0.25);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-announcement-bar.is-hidden {
    display: none !important;
}
.top-announcement-bar__content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}
.top-announcement-bar__content span {
    letter-spacing: 0.02em;
}
.top-announcement-bar__link {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.top-announcement-bar__link:hover {
    background: #ffffff;
    color: var(--c-red);
    transform: translateX(2px);
}
.top-announcement-bar__close {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s ease;
}
.top-announcement-bar__close:hover {
    color: #fff;
}

/* 2. Glowing Nav Badge in Submenu */
.nav-badge-pulse {
    display: inline-block;
    background: var(--c-red);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 0.12rem 0.45rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 0.5rem;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(242, 25, 43, 0.7);
    animation: navPulseGlow 1.8s infinite ease-in-out;
}
@keyframes navPulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(242, 25, 43, 0.6); }
    50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(242, 25, 43, 1); }
}

/* 3. Cinematic Teaser Card on Index */
.join-teaser-section {
    padding: 4rem 1.5rem;
}
.join-teaser-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 20, 24, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
    border: 1px solid rgba(242, 25, 43, 0.35);
    border-radius: 20px;
    padding: 4rem 2.5rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 25, 43, 0.12);
    max-width: 1140px;
    margin: 0 auto;
}
.join-teaser-card__glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 25, 43, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.join-teaser-card__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}
.join-teaser-card h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 1rem 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.join-teaser-card h2 span {
    color: var(--c-red);
}
.join-teaser-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin-bottom: 2.2rem;
}
.btn--shimmer {
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(242, 25, 43, 0.4);
}
.btn--shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: shimmerSweep 3.5s infinite;
}
@keyframes shimmerSweep {
    0% { transform: translate(-100%, -100%) rotate(30deg); }
    30%, 100% { transform: translate(100%, 100%) rotate(30deg); }
}

/* 4. Bottom Join Banner on Strategic Pages */
.bottom-join-banner {
    background: linear-gradient(135deg, #141418 0%, #0a0a0c 100%);
    border-top: 1px solid rgba(242, 25, 43, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
}
.bottom-join-banner__content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.bottom-join-banner__text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}
.bottom-join-banner__text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}
@media (max-width: 768px) {
    .bottom-join-banner__content {
        flex-direction: column;
        text-align: center;
    }
}
