/* Página de inicio */
.home-page {
    position: relative;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: transparent; /* Transparente para ver el video de fondo */
    font-family: 'Montserrat', sans-serif;
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    background-color: transparent;
    z-index: 0;
    /* Altura proporcional al ancho: mantiene ratio del video */
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Eliminar el padding-bottom automático */
.video-container::after {
    content: none;
}

.video-main {
    position: fixed;
}

/* Video controls */
.video-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.control-btn {
    background-color: var(--control-btn-background-color, rgba(255, 0, 0, 0.7));
    border: 2px solid var(--control-btn-border-color, white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--control-btn-color, white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.home-content {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    background-color: transparent; /* Video visible por debajo */
    padding: 0; /* Sin padding para empezar inmediatamente */
    overflow: hidden;
}

.home-content__inner {
    position: relative;
    z-index: 3;
}

.home-intro__main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-intro__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ff3434;
    margin: 0;
}

.home-intro--about .home-intro__eyebrow {
    font-weight: 700;
}

.home-intro__title {
    font-size: clamp(2.4rem, 2.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}

.home-intro__subtitle {
    margin: 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 40rem;
}

.home-intro__richtext {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.home-intro__richtext p {
    margin-bottom: 18px;
}

.home-intro__richtext strong {
    color: #ff4d4d;
}

.home-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.home-intro__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, background 0.6s ease, color 0.6s ease;
}

.home-intro__btn i {
    font-size: 1rem;
}
.home-intro__btn--primary {
    background: linear-gradient(135deg, #ff3434, #ff0000);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.3);
}

.home-intro__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-intro__btn:hover,
.home-intro__btn:focus-visible {
    transform: translateY(-2px);
}

.home-intro__btn--primary:hover,
.home-intro__btn--primary:focus-visible {
    box-shadow: 0 16px 32px rgba(255, 0, 0, 0.38);
}

.home-intro__btn--ghost:hover,
.home-intro__btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.home-intro__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.home-intro__stat {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-intro__stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.home-intro__stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.home-intro__aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.home-intro__card {
    position: relative;
    padding: 26px;
    border-radius: 18px;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.home-intro__card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #fff;
}

.home-intro__card-title i {
    color: #ff3434;
}

.home-intro__card-date {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
}

.home-intro__card-venue {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.home-intro__card-location {
    margin: 6px 0 16px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.home-intro__card-empty {
    margin: 0 0 16px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.home-intro__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff4d4d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.5s ease;
}

.home-intro__card-link:hover,
.home-intro__card-link:focus-visible {
    color: #fff;
}

.home-intro__testimonials {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.home-intro__testimonials::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 3rem;
    position: absolute;
    top: -10px;
    right: 16px;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.home-intro__quote {
    margin: 0 0 12px 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.home-intro__quote-author {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 992px) {
    .home-intro {
        padding: 40px 32px;
    }

    .home-intro__grid {
        grid-template-columns: 1fr;
    }

    .home-intro__aside {
        flex-direction: row;
        align-items: stretch;
        gap: 16px;
    }

    .home-intro__card,
    .home-intro__testimonials {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .home-intro {
        padding: 32px 24px;
    }

    .home-intro__main {
        gap: 20px;
    }

    .home-intro__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-intro__stats {
        grid-template-columns: 1fr;
    }

    .home-intro__aside {
        flex-direction: column;
    }

    .home-intro__card,
    .home-intro__testimonials {
        width: 100%;
    }
}

/* Home intro variante About (full-width) */
.home-intro--about {
    position: relative;
    width: 100%;
    max-width: 95vw; /* Limitar al 95% del ancho de ventana */
    margin: 0 auto; /* Centrar horizontalmente */
    padding: 120px 0;
    border-radius: 0;
}

.home-content__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Secciones con fondo difuminado */
.home-content__container > section,
.home-upcoming,
.home-featured {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    max-width: 95vw;           /* Limitar al 95% del ancho de la ventana */
    margin-left: auto;         /* Centrar horizontalmente */
    margin-right: auto;        /* Centrar horizontalmente */
    box-sizing: border-box;    /* Incluir padding dentro del ancho */
}

@media (max-width: 768px) {
    .home-content__container {
        padding: 20px 15px;
    }
    
    .home-content__container > section,
    .home-upcoming,
    .home-featured {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
}

.home-intro__about-header {
    text-align: center;
    margin-bottom: 60px;
}

.home-intro__title--large {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    margin-bottom: 20px;
}

/* Scroll indicator - overlay on video bottom, centered */
.scroll-indicator {
    position: fixed;
    /* top is set dynamically via JS to sit near the bottom edge of the video */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5; /* above video */
    color: #e34028; /* corporate red */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.scroll-indicator.is-visible { opacity: 1; }

.scroll-indicator__pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
    animation: heartbeat 1.4s ease-in-out infinite;
}

.scroll-indicator i { font-size: 18px; }
.scroll-indicator__text { font-size: 14px; }

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.08); }
    28% { transform: scale(1); }
    42% { transform: scale(1.08); }
    70% { transform: scale(1); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .scroll-indicator i { font-size: 16px; }
    .scroll-indicator__text { font-size: 12px; }
}

/* Bottom gradient overlay for video -> black page background */
.video-bottom-gradient {
    position: fixed;
    left: 0;
    /* top set dynamically by JS based on visible video height */
    width: 100vw;
    width: 100dvw;
    height: 10vh;   /* fallback */
    height: 10dvh;  /* modern dynamic viewport height */
    pointer-events: none;
    z-index: 4; /* below scroll-indicator (5), above video (0) */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.85) 75%,
        #000 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-bottom-gradient.is-visible { opacity: 1; }

.home-intro__subtitle--large {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
}

.home-intro__about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.home-intro__about-card {
    padding: 36px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 107, 107, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.7s ease;
}

.home-intro__about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 107, 0.5);
}

.home-intro__about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3434, #ff0000);
    color: #fff;
    font-size: 1.8rem;
}

.home-intro__about-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #fff;
}

.home-intro__about-card-text {
    margin: 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.home-intro__about-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .home-intro--about {
        padding: 80px 0;
    }

    .home-intro__about-container {
        padding: 0 24px;
    }

    .home-intro__about-header {
        margin-bottom: 40px;
    }

    .home-intro__about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-intro__about-cta {
        flex-direction: column;
    }
}

/* Separadores de secciones - Removidos para flujo continuo */
.home-section-separator {
    display: none; /* Ocultar separadores para flujo continuo con video de fondo */
}

/* Conciertos inminentes */
.home-upcoming {
    margin-top: 0;
    /* El estilo de fondo ya está definido en las reglas generales de secciones */
}

.home-upcoming__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.home-upcoming__eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.home-upcoming__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.home-upcoming__link {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff6b6b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.5s ease;
}

.home-upcoming__link::after {
    content: "→";
    font-size: 1rem;
}

.home-upcoming__link:hover {
    color: #fff;
}

.home-upcoming__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.home-upcoming__card {
    display: grid;
    grid-template-columns: 72px 1fr 96px;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    background-color: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.6s ease, box-shadow 0.6s ease;
}

.home-upcoming__card:hover,
.home-upcoming__card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 107, 0.7);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.home-upcoming__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    text-transform: uppercase;
    min-height: 96px;
}

.home-upcoming__day {
    font-size: 2rem;
    color: #fff;
}

.home-upcoming__month {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
}

.home-upcoming__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-upcoming__event {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.home-upcoming__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.home-upcoming__separator {
    color: rgba(255, 255, 255, 0.4);
}

.home-upcoming__time {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Miniatura derecha en la tarjeta */
.home-upcoming__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-upcoming__thumb-img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .content-below-video {
        padding: 40px 0;
    }
    
    .event-details {
        padding: 20px;
    }
    
    .event-details h2 {
        font-size: 1.8rem;
    }
    
    .event-details p {
        font-size: 1rem;
    }
    
    .event-details strong {
        font-size: 1.2rem;
    }

    .home-upcoming {
        padding: 24px;
    }

    .home-upcoming__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-upcoming__link {
        margin-left: 0;
    }

    .home-upcoming__card {
        grid-template-columns: 60px 1fr 56px;
        padding: 16px;
    }

    .home-upcoming__date {
        min-height: 80px;
        padding: 10px;
    }

    .home-upcoming__day {
        font-size: 1.6rem;
    }

    .home-upcoming__thumb-img {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
}
