/* Tipografía y colores base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: #ffffff; /* blanco */
    text-decoration: none;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background-color: #000000;
    color: #ffffff;
}

/* HEADER / NAVBAR */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(0, 0, 0, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* LOGO */

.header-logo {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    height: 42px;       /* ajusta según tu logo */
    width: auto;
}

/* NAV LINKS DESKTOP */

.main-nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* MENÚ HAMBURGUESA */

.menu-toggle {
    width: 32px;
    height: 24px;
    border: none;
    background: transparent;
    display: none; /* oculto en desktop */
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background-color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Animación X */

.menu-toggle.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* HERO (resto igual que antes) */

.hero-section {
    height: 750px;
    padding-top: 0px;
    background-image: url("../images/Roistom56-2.jpg");
    background-size: cover;
    background-position: top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 1)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 160px;
}

/* ... (todo el CSS de hero-card, secciones, etc., igual que te pasé antes) ... */
/* --- COPIA AQUÍ TODO EL RESTO DE TU CSS ANTERIOR SIN CAMBIOS --- */

/* Franja inferior con foto de equipo */
.team-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 2;
    background-image: url("");
    background-size: cover;
    background-position: center top;
}

/* SECCIONES GENERALES, CARDS, ITINERARIO, CONTENIDO, FAQ, etc... */
/* (igual que en tu archivo anterior) */


/* RESPONSIVE NAVBAR */

@media (max-width: 991.98px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        padding: 12px 0 16px;
    }

    .main-nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-inline: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Ajustes generales móviles (puedes conservar los que ya tenías) */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 76px;
    }
}

/* Bloque fecha + hora + ubicación */

.event-meta {
    max-width: 420px;
    margin: 32px auto 0;
    text-align: left;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

/* Cuadro blanco con el 12 */
.event-day-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
}

/* Texto DICIEMBRE 2025 igual que antes */
.event-month-year {
    font-size: 0.8rem;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.16em;
}

/* Filas de icono + texto (hora y ubicación) */
.event-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.event-detail i {
    font-size: 1rem;
}

/* Centrar en pantallas más pequeñas */
@media (max-width: 576px) {
    .event-meta {
        text-align: left;
        padding-inline: 12px;
    }
}

/* Centrar toda la sección ITINERARIO */
.section-itinerary {
    text-align: center !important;
}

.section-itinerary .itinerary-list {
    max-width: 480px;
    margin: 0 auto;
}

.section-itinerary .itinerary-item {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    font-size: 0.95rem;
}

.section-itinerary .itinerary-time {
    min-width: 110px;
    text-align: right;
}

.section-itinerary .itinerary-desc {
    text-align: left;
}

/* En móviles todo alineado al centro */
@media (max-width: 576px) {
    .section-itinerary .itinerary-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .section-itinerary .itinerary-time,
    .section-itinerary .itinerary-desc {
        text-align: center;
    }
}

/* HERO limpio solo con video */
.hero-content,
.hero-card,
.hero-card-left,
.hero-card-right {
    display: none !important;
}

/* Contenedor centrado */
.hero-video-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 69px;
    padding-bottom: 160px;
}

/* Caja del video */
.video-container {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
}

/* Portada */
.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    display: block;
}

/* PLAY BUTTON */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    cursor: pointer;
    transition: transform .2s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Oculta el video hasta que el usuario presione play */
.video-embed {
    display: none;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
}

.video-embed video {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}