/*=============== AUTOFEST THEME - RODAMAS BRAND ===============*/
:root {
    /* Rodamas Brand Colors */
    --rodamas-green: #12bc00;
    --rodamas-green-dark: #0e9a00;
    --rodamas-green-light: #4dd83d;
    --rodamas-gray: #4f585f;
    --rodamas-gray-dark: #3d454b;
    --autofest-black: #0a0a0a;
    --autofest-dark: #1a1a1a;
    --rodamas-gradient: linear-gradient(135deg, var(--rodamas-green) 0%, #00d4aa 100%);

    /* Theme tokens (dark by default) */
    --theme-bg: #0a0a0a;
    --theme-surface: #1a1a1a;
    --theme-text: #ffffff;
    --theme-text-muted: rgba(255, 255, 255, 0.6);
    --theme-border: rgba(18, 188, 0, 0.2);
    --theme-header-bg: rgba(10, 10, 10, 0.95);
    --theme-card-bg: rgba(255, 255, 255, 0.03);
}

/* Light Mode */
[data-theme="light"] {
    --theme-bg: #f5f5f5;
    --theme-surface: #ffffff;
    --theme-text: #111111;
    --theme-text-muted: rgba(0, 0, 0, 0.55);
    --theme-border: rgba(18, 188, 0, 0.35);
    --theme-header-bg: rgba(255, 255, 255, 0.97);
    --theme-card-bg: rgba(0, 0, 0, 0.04);
    --autofest-black: #f5f5f5;
    --autofest-dark: #e8e8e8;
    --white-color: #111111;
}

[data-theme="light"] .hero__title--event,
[data-theme="light"] .section__title,
[data-theme="light"] .autofest-theme .section__title,
[data-theme="light"] .countdown__title,
[data-theme="light"] .benefit-card__title {
    color: #111;
    text-shadow: none;
}

[data-theme="light"] .hero__subtitle,
[data-theme="light"] .section__description,
[data-theme="light"] .benefit-card__text,
[data-theme="light"] .countdown__text,
[data-theme="light"] .registro__text,
[data-theme="light"] .form__disclaimer {
    color: #333;
}

[data-theme="light"] .event-detail {
    color: #222;
}

[data-theme="light"] .social-proof-counter {
    color: #333;
    background: rgba(18, 188, 0, 0.08);
}

[data-theme="light"] .btn--outline-light {
    border-color: #333;
    color: #333;
}

[data-theme="light"] .btn--outline-light:hover {
    background: #333;
    color: #fff;
}

[data-theme="light"] .social-card span,
[data-theme="light"] .footer__separator {
    color: #fff;
}

[data-theme="light"] .registro__features li {
    color: #222;
}

[data-theme="light"] .registro__sponsors p {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .benefit-card {
    background: #fff;
    border-color: rgba(18, 188, 0, 0.15);
}

[data-theme="light"] .benefit-card__validity {
    color: #555;
}

[data-theme="light"] .hero--autofest::before {
    opacity: 0.3;
}

[data-theme="light"] .hero__particles {
    opacity: 0.15;
}

[data-theme="light"] .location__item span {
    color: #222;
}

[data-theme="light"] .footer--autofest {
    background: #1a1a1a;
}

[data-theme="light"] .footer--autofest .footer__bottom p,
[data-theme="light"] .footer--autofest .footer__mascot-text {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .registro__spots-text {
    color: #333;
}

[data-theme="light"] .form__label,
[data-theme="light"] .registro .form__label {
    color: #111;
}

[data-theme="light"] .form__input,
[data-theme="light"] .form__select,
[data-theme="light"] .registro .form__input,
[data-theme="light"] .registro .form__select {
    background: #fff;
    border-color: #ccc;
    color: #111;
}

[data-theme="light"] .registro .form__input::placeholder {
    color: #888;
}

[data-theme="light"] .registro__form {
    background: #fff;
    border-color: rgba(18, 188, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .form__checkbox {
    color: #444;
}

[data-theme="light"] .countdown__number {
    color: #111;
}

.text-gradient--large {
    font-size: 2.25rem;
    background: linear-gradient(135deg, #12bc00 0%, #00d4aa 50%, #12bc00 100%);
    background-size: 200% auto;
    animation:
        gradient-flow 3s linear infinite,
        slide-up-fade 0.8s ease-out both,
        pulse-soft 2s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 1rem 0;
}

@keyframes slide-up-fade {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes gradient-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Theme Override */
.autofest-theme {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.autofest-theme .section__title {
    color: #fff;
    font-weight: var(--font-extra-bold);
    text-shadow: 0 0 10px rgba(18, 188, 0, 0.3);
}

.registro .section__title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/*=============== HEADER AUTOFEST ===============*/
.header--autofest {
    background: var(--theme-header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--theme-border);
    transition: background 0.3s ease;
}

.header--simple .nav {
    justify-content: space-between;
}

.nav__brand {
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--theme-text);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav__brand:hover {
    color: var(--rodamas-green);
}

/* Nav actions (toggle + CTA) */
.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme toggle button */
.theme-toggle {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border);
    color: var(--theme-text);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--rodamas-green);
    border-color: var(--rodamas-green);
    color: #fff;
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--small-font-size);
}

/*=============== HERO LOGOS ===============*/
.hero__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: var(--mb-2);
}

.registro__sponsors {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.registro__sponsors p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sponsor-logo {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(18, 188, 0, 0.4));
}

.registro {
    padding-bottom: 0;
}

.section {
    padding: 2.5rem 0;
}

.location {
    padding-top: 0.5rem;
}

.hero__logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(18, 188, 0, 0.3));
}

.hero__logo--pulse {
    animation: logo-pulse 2.5s ease-in-out infinite;
}

.hero__logo:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes logo-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(18, 188, 0, 0.3));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 30px rgba(18, 188, 0, 0.6));
    }
}

.hero__logos-x {
    font-size: 3rem;
    font-weight: 200;
    color: var(--rodamas-green);
    animation: x-pulse 2.5s ease-in-out infinite;
}

@keyframes x-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.text-green {
    color: var(--rodamas-green);
}

/*=============== HERO AUTOFEST ===============*/
.hero--autofest {
    background: linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-surface) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    padding-bottom: 1rem;
}

.hero--autofest::before {
    content: none;
}

.hero--autofest::after {
    content: none;
}

.hero__particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(18, 188, 0, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(18, 188, 0, 0.2), transparent);
    background-size: 200px 100px;
    animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero__content--center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(18, 188, 0, 0.2);
    border: 1px solid var(--rodamas-green);
    color: var(--rodamas-green);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-2);
    animation: badge-glow 2s ease-in-out infinite alternate;
}

@keyframes badge-glow {
    from {
        box-shadow: 0 0 10px rgba(18, 188, 0, 0.3);
    }

    to {
        box-shadow: 0 0 25px rgba(18, 188, 0, 0.5);
    }
}

.hero__event-logo {
    max-width: 400px;
    width: 100%;
    margin-bottom: var(--mb-2);
    filter: drop-shadow(0 0 30px rgba(18, 188, 0, 0.3));
}

.hero__title--event {
    font-size: var(--biggest-font-size);
    color: var(--white-color);
    margin-bottom: var(--mb-1);
    line-height: 1.1;
}

.hero__subtitle {
    color: #fff;
    font-size: 2.25rem;
    font-weight: var(--font-extra-bold);
    max-width: 800px;
    margin: -3.5rem auto var(--mb-2);
    line-height: 1.2;
    position: relative;
    z-index: 5;
    background: rgba(18, 188, 0, 0.2);
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(18, 188, 0, 0.3);
    text-shadow: 0 0 15px rgba(18, 188, 0, 0.5);
    text-transform: uppercase;
    animation: subtitle-breathing 3s ease-in-out infinite;
    cursor: default;
    transition: all 0.3s ease;
}

.hero__subtitle:hover {
    transform: scale(1.05);
    background: rgba(18, 188, 0, 0.35);
    box-shadow: 0 0 30px rgba(18, 188, 0, 0.4);
    border-color: var(--rodamas-green);
}

@keyframes subtitle-breathing {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

.text-pink {
    color: var(--rodamas-green);
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: var(--mb-2);
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--normal-font-size);
}

.event-detail i {
    color: var(--rodamas-green);
    font-size: 1.25rem;
}

.location-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(18, 188, 0, 0.1);
    border: 1px solid rgba(18, 188, 0, 0.3);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.5rem;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.location-box:hover {
    transform: scale(1.02);
    background: rgba(18, 188, 0, 0.15);
}

.location-box__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    flex: 1;
}

.location-box__content i {
    color: var(--rodamas-green);
    font-size: 1.5rem;
}

.location-box__address {
    color: var(--theme-text);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: var(--font-medium);
}

.location-box__image {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    margin-right: -0.5rem;
}

@media (max-width: 768px) {
    .location-box {
        flex-direction: column-reverse;
        padding: 1.5rem;
        gap: 1rem;
    }

    .location-box__image {
        height: 100px;
        margin-right: 0;
    }

    .location-box__content {
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/*=============== SOCIAL PROOF COUNTER ===============*/
.social-proof-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(18, 188, 0, 0.1);
    border: 1px solid rgba(18, 188, 0, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-full);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-2);
}

.social-proof-counter strong {
    color: var(--rodamas-green);
    font-weight: var(--font-extra-bold);
}

.social-proof-counter__dot {
    width: 8px;
    height: 8px;
    background: var(--rodamas-green);
    border-radius: 50%;
    animation: dot-blink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(18, 188, 0, 0.6);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 4px rgba(18, 188, 0, 0);
    }
}

.hero__buttons--center {
    justify-content: center;
}

.btn--glow {
    animation: glow-pink 2s ease-in-out infinite alternate;
}

@keyframes glow-pink {
    from {
        box-shadow: 0 0 20px rgba(18, 188, 0, 0.4);
    }

    to {
        box-shadow: 0 0 40px rgba(18, 188, 0, 0.7);
    }
}

.btn--outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
}

.btn--outline-light:hover {
    background: var(--white-color);
    border-color: var(--white-color);
    color: var(--autofest-black);
}

/*=============== SECTION SUBTITLES ===============*/
.section__subtitle--pink {
    color: var(--rodamas-green);
}

/*=============== BENEFITS AUTOFEST ===============*/
/*=============== BENEFITS SECTION HEADER ===============*/
.section__header-logo {
    height: 380px;
    /* Adjusted from 450px for better balance */
    width: auto;
    margin-bottom: -1rem;
    /* Less aggressive negative margin */
    filter: drop-shadow(0 0 40px rgba(18, 188, 0, 0.6));
    animation: simple-float 4s ease-in-out infinite;
}

@keyframes simple-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.benefits__main-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    /* "Solo en" in white */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1;
    /* Reset line-height to fix overlap */
}

.benefits__main-subtitle small {
    font-size: 1.5rem;
    /* Smaller "Solo en" */
    font-weight: var(--font-medium);
    margin-bottom: 0;
    /* Removed negative margin */
}

.text-rodamas-huge {
    font-size: 5.5rem;
    /* Reduced from 8rem to fix layout */
    /* Even bigger to match giant logo */
    font-weight: var(--font-extra-bold);
    color: var(--rodamas-green);
    display: block;
    text-shadow: 0 0 30px rgba(18, 188, 0, 0.7);
    letter-spacing: 4px;
    margin-top: -0.5rem;
    animation: text-pulse-vibrant 2s ease-in-out infinite;
}

.benefits-autofest {
    background: var(--autofest-dark);
    padding: 0 0 4rem 0;
    /* Removed top padding to eliminate air */
    margin-top: -2rem;
    /* Pull section up to eliminate gap with promo-banner */
}

.benefits-autofest .section__header {
    margin-bottom: 1.5rem;
}

.benefits-autofest .section__title {
    font-size: 2rem;
    color: #fff;
    font-weight: var(--font-bold);
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes text-pulse-vibrant {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.03);
        filter: brightness(1.4);
    }
}

.benefits-autofest {
    background: var(--autofest-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    cursor: pointer;
    animation: card-pulse 3s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.5s);
}

@keyframes card-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(18, 188, 0, 0);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(18, 188, 0, 0.15);
    }
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--rodamas-green);
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 0 30px rgba(18, 188, 0, 0.3);
}

.benefit-card:active {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(18, 188, 0, 0.5);
}

/* Badge oculto por defecto, visible en hover */
.benefit-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--rodamas-gradient);
    color: var(--white-color);
    padding: 0.375rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-bold);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-card__badge,
.benefit-card:active .benefit-card__badge,
.benefit-card.active .benefit-card__badge {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Featured card siempre muestra el badge */
.benefit-card--featured .benefit-card__badge {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Featured card siempre activa */
.benefit-card--featured {
    background: linear-gradient(135deg, rgba(18, 188, 0, 0.1) 0%, rgba(0, 212, 170, 0.1) 100%);
    border-color: var(--rodamas-green);
    grid-row: span 2;
    animation: none;
    box-shadow: 0 0 25px rgba(18, 188, 0, 0.2);
}

.benefit-card__icon {
    width: 70px;
    height: 70px;
    background: var(--rodamas-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1-5);
    font-size: 1.75rem;
    color: var(--white-color);
}

.benefit-card--featured .benefit-card__icon {
    width: 90px;
    height: 90px;
    font-size: 2.25rem;
}

.benefit-card__title {
    color: var(--white-color);
    font-size: var(--h4-font-size);
    margin-bottom: var(--mb-0-5);
}

.benefit-card--featured .benefit-card__title {
    font-size: var(--h3-font-size);
}

.benefit-card__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
}

.benefit-card--featured .benefit-card__text {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-1-5);
}

.benefit-card__validity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rodamas-green);
    font-size: var(--smaller-font-size);
    margin-top: auto;
}

/*=============== HIGHLIGHTS ===============*/
.highlights {
    background: linear-gradient(135deg, #0a0a0a 0%, #0a1a14 100%);
}

.highlights .section__title,
.highlights .section__title--light {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(18, 188, 0, 0.3);
}

.highlights .highlights__main-subtitle {
    text-shadow: 0 0 15px rgba(18, 188, 0, 0.4);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlight {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    cursor: pointer;
}

.highlight:hover {
    background: rgba(18, 188, 0, 0.08);
    border-color: rgba(18, 188, 0, 0.3);
    transform: translateY(-5px);
}

.highlight__icon {
    font-size: 2.75rem;
    margin-bottom: var(--mb-1);
    color: var(--rodamas-green);
    transition: var(--transition-normal);
}

.highlight:hover .highlight__icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(18, 188, 0, 0.5));
}

.highlight__title {
    color: var(--white-color);
    font-size: var(--h4-font-size);
    margin-bottom: var(--mb-0-5);
}

.highlight__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--small-font-size);
    line-height: 1.6;
}

/*=============== REGISTRO ===============*/
.registro {
    background: var(--autofest-dark);
}

.registro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.registro__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--mb-2);
    font-size: 1.1rem;
}

.registro__features {
    list-style: none;
    margin-bottom: var(--mb-2);
}

.registro__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.registro__features i {
    color: var(--rodamas-green);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/*=============== SPOTS PROGRESS BAR ===============*/
.registro__spots {
    margin-bottom: var(--mb-2);
}

.registro__spots-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.registro__spots-fill {
    height: 100%;
    background: var(--rodamas-gradient);
    border-radius: var(--border-radius-full);
    transition: width 1.5s ease-out;
    position: relative;
}

.registro__spots-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-full);
    animation: pulse-bar 2s ease-in-out infinite;
}

@keyframes pulse-bar {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.registro__spots-text {
    font-size: var(--small-font-size);
    color: rgba(255, 255, 255, 0.7);
}

.registro__spots-text strong {
    color: var(--rodamas-green);
}

.registro__sponsors {
    padding-top: var(--mb-2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.registro__sponsors p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
}

.sponsor-logo {
    height: 40px;
}

.registro__form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(18, 188, 0, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.registro__form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--mb-2);
}

.registro__form-header h3 {
    color: var(--white-color);
    font-size: var(--h3-font-size);
}

.form-badge--pink {
    background: var(--rodamas-gradient);
    color: var(--white-color);
}

.registro .form__input,
.registro .form__select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
}

.registro .form__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.registro .form__input:focus,
.registro .form__select:focus {
    border-color: var(--rodamas-green);
    box-shadow: 0 0 0 3px rgba(18, 188, 0, 0.2);
}

.registro .form__label {
    color: rgba(255, 255, 255, 0.9);
}

/*=============== FORM INLINE VALIDATION ===============*/
.form__error {
    display: block;
    color: #ff6b6b;
    font-size: var(--smaller-font-size);
    margin-top: 0.25rem;
    min-height: 0;
    transition: all 0.2s ease;
}

.form__error:not(:empty) {
    min-height: 1rem;
    margin-top: 0.375rem;
}

.form__input.is-valid {
    border-color: var(--rodamas-green) !important;
    box-shadow: 0 0 0 2px rgba(18, 188, 0, 0.15);
}

.form__input.is-invalid {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.15);
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--mb-1-5);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
}

.form__checkbox input {
    accent-color: var(--rodamas-green);
    width: 18px;
    height: 18px;
}

.registro .form__disclaimer {
    color: rgba(255, 255, 255, 0.5);
}

/*=============== COUNTDOWN ===============*/
.section--gradient {
    background: var(--rodamas-gradient);
}

.countdown-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.countdown__title {
    color: var(--white-color);
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

.countdown__text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--mb-2-5);
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--mb-3);
}

.countdown__item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    min-width: 90px;
}

.countdown__number {
    display: block;
    font-size: var(--h1-font-size);
    font-weight: var(--font-extra-bold);
    color: var(--white-color);
    line-height: 1;
}

.countdown__label {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--smaller-font-size);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown__separator {
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    color: var(--white-color);
}

.btn--white {
    background: var(--white-color);
    color: var(--rodamas-green);
}

.btn--white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/*=============== LOCATION ===============*/
.location {
    background: var(--autofest-dark);
}

.location__map {
    margin-bottom: var(--mb-2);
}

.location__map iframe {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.location__details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.location__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.location__item i {
    color: var(--rodamas-green);
    font-size: 1.25rem;
}

/*=============== SOCIAL AUTOFEST ===============*/
.social-autofest {
    background: var(--autofest-black);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: var(--mb-1);
}

.social-card span {
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
}

.social-card small {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--smaller-font-size);
}

.social-card--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbf 100%);
}

.social-card--instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-card--tiktok {
    background: linear-gradient(135deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
}

.social-card--youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/*=============== FOOTER AUTOFEST ===============*/
.footer--autofest {
    background: var(--autofest-black);
    border-top: 1px solid rgba(18, 188, 0, 0.2);
    padding: 1.5rem 0;
}

.footer__mascot-img {
    height: 180px;
    /* 3 veces más grande que los 60px originales */
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(18, 188, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: footer-logo-float 4s ease-in-out infinite;
}

.footer__mascot-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(18, 188, 0, 0.7));
}

@keyframes footer-logo-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

.footer__logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer__logo-link:hover {
    transform: perspective(1000px) translateZ(50px);
}

.footer__logos {
    display: none;
}

.footer__logo-event {
    height: 50px;
}

.footer__logo-sponsor {
    height: 35px;
}

.footer__separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--smaller-font-size);
}

.footer--autofest .footer__content {
    text-align: center;
    margin-bottom: 1rem;
}

.footer__mascot-text {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer--autofest .footer__social {
    justify-content: center;
    margin-bottom: 1rem;
}

/*=============== RESPONSIVE AUTOFEST ===============*/
@media screen and (max-width: 1024px) {
    .hero__logos {
        gap: 1.5rem;
    }

    .hero__logo {
        height: 100px;
    }

    .hero__logos-x {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-card--featured {
        grid-row: auto;
        grid-column: span 2;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registro__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {

    /* Header mobile */
    .nav__brand {
        font-size: 1rem;
    }

    .nav__cta .btn span {
        display: none;
    }

    .nav__cta .btn {
        padding: 0.5rem 0.75rem;
    }

    /* Hero logos mobile */
    .hero__logos {
        flex-direction: column;
        gap: 1rem;
    }

    .hero__logo {
        height: 80px;
    }

    .hero__logos-x {
        font-size: 2rem;
        transform: rotate(0deg);
    }

    .hero__title--event {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .event-details {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .social-proof-counter {
        font-size: var(--smaller-font-size);
        padding: 0.375rem 1rem;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card--featured {
        grid-column: auto;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .countdown__item {
        min-width: 70px;
        padding: 1rem;
    }

    .countdown__number {
        font-size: var(--h2-font-size);
    }

    .countdown__separator {
        display: none;
    }

    .location__details {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .footer__logos {
        flex-direction: column;
        gap: 1rem;
    }

    .registro .section__title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .highlights__main-subtitle {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }

    .sponsor-logo {
        max-width: 300px;
    }

    .text-rodamas-huge {
        font-size: 3.5rem;
    }

    .section__header-logo {
        height: 250px;
    }

    .benefits__main-subtitle small {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero__logo {
        height: 60px;
    }

    .hero__logos-x {
        font-size: 1.5rem;
    }

    .hero__title--event {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .event-badge {
        font-size: var(--smaller-font-size);
        padding: 0.375rem 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-card__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .highlight__icon {
        font-size: 2rem;
    }

    .registro__spots-bar {
        height: 8px;
    }

    .registro .section__title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .highlights__main-subtitle {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .sponsor-logo {
        max-width: 250px;
    }

    .text-rodamas-huge {
        font-size: 3rem;
    }

    .section__header-logo {
        height: 200px;
    }
}

/*=============== PREFERS REDUCED MOTION ===============*/
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__particles {
        animation: none;
    }

    .hero__logo--pulse,
    .hero__logos-x,
    .event-badge,
    .benefit-card,
    .social-proof-counter__dot {
        animation: none;
    }
}

/*=============== MASCOT STYLING & ANIMATIONS ===============*/
.mascot-container {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.mascot {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.mascot--floating {
    animation: mascot-float 4s ease-in-out infinite;
}

@keyframes mascot-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Section Specific Positioning */
.hero--autofest {
    position: relative;
}

.mascot-container--hero {
    right: 5%;
    top: 60%;
    transform: translateY(-50%);
}

.benefits-autofest {
    position: relative;
}

.mascot-container--benefits {
    left: -100px;
    top: 50%;
}

.registro {
    position: relative;
}

.mascot-container--registration {
    right: -80px;
    bottom: 20px;
}

/* Responsive Mascots */
@media (max-width: 1200px) {
    .mascot {
        width: 140px;
    }

    .mascot-container--benefits {
        left: -50px;
    }

    .mascot-container--registration {
        right: -40px;
    }
}

@media (max-width: 992px) {
    .mascot-container {
        display: none;
        /* Hide mascots on tablets/mobile to avoid clutter */
    }
}

/* Nav Logo */
.nav__logo {
    height: 160px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.nav__logo:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .nav__logo {
        height: 52px;
    }
}

@media (max-width: 480px) {
    .nav__logo {
        height: 40px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .nav__cta .btn span {
        display: none;
    }

    .nav__cta .btn {
        padding: 0.5rem 0.75rem;
    }
}

/* Hero Logo Centrado Grande */
.hero__logo-center {
    display: flex;
    justify-content: center;
    margin-top: -6rem;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.hero__logo-main {
    height: 450px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 25px rgba(18, 188, 0, 0.25));
}

@media (max-width: 768px) {
    .hero__logo-main {
        height: 180px;
    }

    .hero__logo-center {
        margin-top: -2rem;
        /* Reduce el margen negativo para evitar sobrepaso */
    }
}

@media (max-width: 480px) {
    .hero__logo-main {
        height: 130px;
    }

    .hero__logo-center {
        margin-top: -1rem;
        /* Aún menos margen negativo para pantallas muy pequeñas */
    }
}

/* Countdown Inline (Hero) */
.countdown-inline {
    text-align: center;
    margin: 0.5rem 0 0 0;
}

.countdown-inline__label {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    color: var(--theme-text);
    margin-bottom: 0.75rem;
}

.countdown-inline .countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.countdown-inline .countdown__item {
    background: rgba(18, 188, 0, 0.15);
    border: 1px solid rgba(18, 188, 0, 0.3);
    border-radius: var(--border-radius-md);
    padding: 0.5rem 1rem;
    min-width: 70px;
}

.countdown-inline .countdown__number {
    font-size: var(--h2-font-size);
    font-weight: var(--font-extra-bold);
    color: var(--rodamas-green);
}

.countdown-inline .countdown__label {
    font-size: var(--smaller-font-size);
    text-transform: uppercase;
    color: var(--theme-text-muted);
}

.countdown-inline .countdown__separator {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--rodamas-green);
}

[data-theme="light"] .countdown-inline__label {
    color: #111;
}

/*=============== INTERACTIVE PROMO BANNER ===============*/
.promo-banner {
    background: linear-gradient(90deg, var(--theme-surface) 0%, var(--theme-bg) 100%);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.promo-banner__container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.promo-banner__image-wrapper {
    flex-shrink: 0;
    perspective: 1000px;
}

.promo-banner__image {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(18, 188, 0, 0.4));
    animation: floating-mascot 3s ease-in-out infinite alternate;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

@keyframes floating-mascot {
    from {
        transform: translateY(0) rotate(-2deg);
    }

    to {
        transform: translateY(-20px) rotate(2deg);
    }
}

.promo-banner__image:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(18, 188, 0, 0.8));
}

.promo-banner__content {
    flex: 1;
}

.promo-banner__badge {
    display: inline-block;
    background: var(--rodamas-gradient);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 188, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(18, 188, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(18, 188, 0, 0);
    }
}

.promo-banner__text {
    font-size: 1.5rem;
    color: var(--theme-text);
    line-height: 1.4;
    font-weight: var(--font-semi-bold);
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--rodamas-green);
    position: relative;
    display: inline-block;
}

.highlight-text--alt {
    color: #00d4aa;
}

.text-green-glow {
    color: var(--rodamas-green);
    text-shadow: 0 0 10px rgba(18, 188, 0, 0.8);
    font-weight: var(--font-extra-bold);
}

.promo-banner__btn {
    transition: transform 0.3s ease;
}

.promo-banner__btn:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .promo-banner__container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .promo-banner__image {
        width: 200px;
    }

    @media (max-width: 480px) {
        .promo-banner__image {
            width: 150px;
        }
    }

    .promo-banner__text {
        font-size: 1.25rem;
    }
}

/*=============== HIGHLIGHTS TEXT STYLES ===============*/
.highlights__main-subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-extra-bold);
    color: var(--rodamas-green);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(18, 188, 0, 0.4);
    animation: text-breathing-glow 3s ease-in-out infinite;
}

@keyframes text-breathing-glow {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(18, 188, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(18, 188, 0, 0.8);
    }
}

.text-vibrant-interactive {
    color: var(--rodamas-green);
    font-weight: var(--font-extra-bold);
    position: relative;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(18, 188, 0, 0.3);
}

.text-vibrant-interactive:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(18, 188, 0, 0.9), 0 0 40px rgba(18, 188, 0, 0.5);
    transform: scale(1.1) rotate(-1deg);
}

.text-vibrant-interactive::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--rodamas-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.text-vibrant-interactive:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}