/* --- FUENTES --- */
@font-face {
    font-family: 'MeatFireTitle';
    src: url('../fonts/titulos.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0100-017F;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-yellow: #FFC600;       
    --color-orange: #E64A19;       
    --color-red-btn: #D50000;
    --color-dark-brown: #2D1A10;  
    --color-brown: #743317; 
    --color-white: #ffffff;
    --font-head: 'MeatFireTitle', sans-serif; 
    --font-body: 'Averia Libre', cursive;     
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    width: 100%;
    overflow-x: hidden;
    background-color: #FFC600;
}

/* --- HEADER / TOP BAR --- */
.top-bar-container {
    position: relative;
    width: 100%;
    background-image: url('../img/h1.png'); 
    background-position: center bottom;
    background-size: cover; 
    background-repeat: no-repeat;
    z-index: 100; 
    padding-bottom: 60px; 
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 10px 40px;
    font-family: var(--font-head);
}

.top-left a {
    text-decoration: none;
    color: var(--color-white);
    margin-right: 15px;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: normal; 
    letter-spacing: 3px; 
    opacity: 0.9;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 8px;
    font-family: var(--font-body);
}

.top-center {
    position: absolute; 
    left: 50%;
    transform: translateX(-50%);
    top: 15px; 
    text-align: center;
    /* Forzamos que esté por encima de TODO */
    z-index: 9999 !important; 
}

.top-center a.logo {
    display: block;
    position: relative;
    z-index: 10000;
}

.top-center a.logo img {
    display: block;
    margin: 0 auto;
    /* Si el logo se ve pequeño o raro, asegúrate que tenga posición relativa */
    position: relative; 
}

.top-center .event-info { 
    color: var(--color-orange); 
    font-size: 2.5rem; 
    letter-spacing: 0.5px;
    line-height: 1;
    display: block;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
}

.top-right { display: flex; align-items: center; }
.socials a { margin: 0 5px; }

.btn-top-red { 
    background-image: url("../img/entradas.png"); 
    background-repeat: no-repeat;
    background-size: 100% 100%; /* CORRECCIÓN: Asegura que el fondo rojo cubra el botón */
    background-position: center center;
    padding: 14px 30px 16px 30px;
    color: white; 
    text-decoration: none;
    font-size: 1.6rem;
    margin-left: 10px;
    font-weight: normal;
    display: inline-block;
}

.btn-top-red .highlight-yellow {
    color: var(--color-yellow);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 90vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
    margin-top: -60px; 
}

.video-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

/* --- CONTENIDO HERO --- */
.hero-content {
    position: relative;
    z-index: 10; 
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 40px;
}

.hero-logo {
    width: 10%;
    max-width: 100%;
    margin-bottom: 100px;
    filter: drop-shadow(none);
    box-shadow: none;
}

.hero-main-title {
    font-family: var(--font-head);
    font-size: 7.5rem;
    font-weight: normal;
    color: var(--color-white);
    text-transform: uppercase;
    margin: 15px 0;
    line-height: 0.85;
    text-shadow: 4px 4px 0px #000;
    letter-spacing: 8px;
}
.highlight-yellow { color: var(--color-yellow); }

.hero-cta-container {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    max-width: 500px;
    width: 90%;
    transition: transform 0.3s;
    z-index: 20;
    text-decoration: none;
}
.hero-cta-container:hover { transform: scale(1.02); }

.hero-cta-bg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-cta-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-family: var(--font-head);
    color: var(--color-yellow);
    font-size: 2.5rem;
    font-weight: normal; 
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    padding-bottom: 15px;
}

.grunge-border-bottom {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: auto;
    max-height: 120px; 
    object-fit: cover; 
    object-position: top; 
    z-index: 5; 
    pointer-events: none;
}

/* --- INTRO SECTION --- */
.intro-section {
    position: relative;
    z-index: 2; 
    padding: 45px 20px 100px 20px; 
    text-align: center;
    margin-top: -1px;
    background-color: var(--color-yellow);
    background-image: url('../img/fondo_amarillo.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.lead-text {
    font-family: var(--font-body);
    color: var(--color-white);
    max-width: 1300px; 
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    padding: 0;
}

.lead-text.text-normal {
    font-size: 2.6rem; 
    font-weight: 400; 
    line-height: 1.4; 
    margin-bottom: 30px; 
}

.lead-text.text-highlight {
    font-size: 3.2rem; 
    font-weight: 700; 
    text-transform: uppercase;
    line-height: 1.1; 
    letter-spacing: 1px;
    margin-top: 0;
}

/* --- TICKETS SECTION (REDISEÑO FINAL AJUSTADO) --- */
.tickets-section { 
    background-color: #FC8A01; 
    /* --- CORRECCIÓN: IMAGEN DE FONDO NARANJA --- */
    background-image: url('../img/fondo_naranja.jpg'); /* Asegúrate de que este archivo exista en la carpeta img */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    
    padding: 50px 20px; 
    text-align: center; 
    position: relative; 
    z-index: 20;
}

.section-title { 
    font-family: var(--font-head); 
    font-size: 5.5rem; 
    margin-bottom: 60px; 
    color: var(--color-brown); 
    font-weight: normal;
}

.section-title-faq { 
    font-family: var(--font-head); 
    font-size: 5.5rem; 
    color: var(--color-brown); 
    font-weight: normal;
    display: flex;
    justify-content: center;
}

.tickets-container { 
    display: flex; 
    justify-content: center; 
    gap: 80px; 
    flex-wrap: wrap;
    align-items: flex-start; 
}

/* TARJETA TIPO TICKET (CONTENEDOR PRINCIPAL) */
.ticket-card{
    background-image: url('../img/ticket.png');
    background-size: 100% auto;
    background-position: top center; 
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px; 
    width: 280px;
}

/* PARTE SUPERIOR */
.ticket-top {
    background-color: transparent; 
    padding: 35px 20px 0px 20px;
    text-align: center;
}

.ticket-top .ticket-subtitle {
    font-family: var(--font-body); 
    color: var(--color-brown);
    font-size: 1.2rem; 
    text-transform: uppercase;
    padding-bottom: 10px;
    white-space: nowrap;
}

.ticket-top h3 { 
    font-family: var(--font-head); 
    color: var(--color-brown);
    font-size: 3.5rem; 
    line-height: 0.9; 
    text-transform: uppercase;
    font-weight: normal; 
}

/* BOTÓN COMPRAR */
.btn-buy { 
    display: inline-block;
    background-image: url('../img/CuadradoRojo.png'); 
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    
    color: white; 
    text-decoration: none;
    font-family: var(--font-head); 
    font-size: 2.2rem; 
    padding: 10px 30px 12px 30px; 
    margin-bottom: 10px;
    
    /* --- CORRECCIÓN: Margen superior para bajar el botón si es necesario --- */
    margin-top: 20px;

    border: none;
    transform: none; 
    transition: transform 0.2s ease;
    letter-spacing: 2px;
    padding-top: 1px;
}

.btn-buy:hover {
    transform: scale(1.05); 
    opacity: 0.9;
}

/* PRECIOS */
.ticket-price {
    margin-top: 5px;
    margin-bottom: 20px;
}

.price .current { 
    font-family: var(--font-body); 
    font-size: 3.5rem; 
    font-weight: 300; 
    color: #2D1A10;
    display: block; 
    line-height: 1;
}

.price .amount { 
    font-family: var(--font-body); 
    color: #946e34; 
    font-size: 1.4rem; 
    display: block;
    font-style: italic;
    padding-bottom: 15px;
}

/* BARRA "INCLUYE" (Parte Baja) */
.ticket-toggle {
    background-image: url('../img/fondoIncluye.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    opacity: 0.9; 
    color: white;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700; 
    text-align: center;
    padding: 15px 0; 
    cursor: pointer;
    position: relative;
    z-index: 10;
    width: 112%; 
    margin-left: -6%; 
    margin-top: 5px;
}

.arrow-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    width: 18px; 
    height: auto;
    transition: transform 0.3s;
}

.arrow-up { display: none; }
.arrow-down { display: inline-block; }

.ticket-footer.rotated .arrow-up { display: inline-block; }
.ticket-footer.rotated .arrow-down { display: none; }


.tickets-container .ticket-card:nth-child(3) {
    background-image: url('../img/ticket_important.png');
}

/* CONTENIDO DESPLEGABLE */
.ticket-content {
    background-color: #e66d00; 
    color: white;
    padding: 10px 20px 30px 20px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.ticket-content:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.ticket-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* --- AFTERMOVIE SECTION --- */
.aftermovie-section {
    background-image: url('../img/fondo-aftermovie.png');
    background-color: #FFC600; 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 60px 20px 80px 20px; 
}

.aftermovie-div {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px; 
    text-align: center;
    display: block;
}

.aftermovie-title { 
    font-family: var(--font-head); 
    font-size: 5.5rem;  
    color: var(--color-brown); 
    font-weight: normal; 
    margin-bottom: 0px; 
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 8px; 
}

.aftermovie-div h4 {
    font-family: var(--font-body); 
    font-size: 2rem; 
    color: var(--color-brown); 
    font-weight: 400; 
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 10px; 
    margin-bottom: 0;
}

.split-layout {
    display: flex;
    max-width: 1600px; 
    width: 100%;
    margin: 0 auto;
    align-items: flex-start; 
    gap: 40px; 
}

.text-side { 
    width: 35%; 
    height: 600px; 
    padding: 0;
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
}

.text-side p {
    font-family: var(--font-body);
    font-size: 1.8rem; 
    color: var(--color-brown); 
    line-height: 1.3;
    margin-bottom: 25px;
    max-width: 350px; 
}

.text-side p:last-of-type {
    font-weight: 700; 
    margin-bottom: 30px; 
}

.date-tag {
    display: inline-block; 
    font-family: var(--font-head);
    font-size: 2.4rem; 
    color: #E64A19; 
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 3px solid #F8E96E;    
    border-bottom: 3px solid #F8E96E; 
    padding: 8px 0; 
    margin-top: 10px;
    padding-top: 1px;
}

.video-side { 
    width: 65%; 
    display: flex;
    justify-content: flex-start;
}

.video-side iframe { 
    width: 100%;
    height: 600px; 
    border: 4px solid var(--color-brown); 
    border-radius: 4px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

/* --- FOOTER / SUSCRIPCIÓN --- */
.main-footer { 
    background-color: #FF9800; 
    color: var(--color-brown); 
    text-align: center; 
    padding: 40px 20px; 
}

.sub-form { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 20px; 
}

#mc_embed_signup {
    color: var(--color-brown) !important; 
}

#mc_embed_signup h2 { 
    font-family: var(--font-head) !important; 
    font-size: 5.5rem !important; 
    letter-spacing: 8px !important;
    text-transform: uppercase;
    margin-bottom: 10px; 
    color: var(--color-brown) !important; 
    display: flex; 
    justify-content: center; 
    font-weight: normal; 
}

#mc_embed_signup .subtexto-mf {
    color: var(--color-brown) !important;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 35px;
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
}

#mc_embed_signup input[type="text"], 
#mc_embed_signup input[type="email"] { 
    border: 2px solid var(--color-brown); 
    color: var(--color-brown); 
}

/* --- UTILIDADES SOCIALES E IDIOMA --- */
.socials {
    display: flex;
    align-items: center;
}
.socials .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 65px;
    background: rgba(255,255,255,0);
    color: #ffffff;
    text-decoration: none;
    font-size: 32px;
}
.socials .social-link:hover {
    background: rgba(255,255,255,0);
    transform: translateY(-2px);
}
.socials .social-link i { pointer-events: none; }

.lang-select {
    background-color: transparent; 
    color: var(--color-white); 
    border: 1px solid var(--color-white); 
    padding: 5px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    margin-left: 0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3e%3cpath d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    padding-right: 25px; 
}

.lang-select:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange); 
}

.lang-select option {
    background-color: var(--color-dark-brown); 
    color: var(--color-white); 
    padding: 5px;
}

/* --- ESTILOS RESPONSIVE --- */
@media (max-width: 1200px) {
    .lead-text.text-normal { font-size: 2rem; }
    .lead-text.text-highlight { font-size: 2.5rem; }
    .split-layout { flex-direction: column-reverse; gap: 40px; }
    .text-side, .video-side { width: 100%; }
    .text-side { height: auto; justify-content: flex-start; }
    .video-side iframe { height: 400px; }
    .date-tag { white-space: normal; }
}

@media (max-width: 768px) {
    .top-bar-container {
        min-height: auto; 
        padding: 10px 0; 
        background-size: cover; 
        background-position: center; 
        overflow-x: hidden;
        margin-bottom: 30px;
    }
    
    /* --- CORRECCIÓN: Menú móvil que permite bajar elementos --- */
    .top-bar { 
        flex-direction: column; 
        gap: 15px; 
        align-items: center; 
        padding: 0 10px; 
    }
    
    .top-left, .top-right { 
        gap: 10px; 
        justify-content: center; 
        width: 100%; 
        font-size: 0.9rem; 
    }
    
    /* --- CORRECCIÓN: Contenedor botones responsive --- */
    .top-right { 
        padding-bottom: 60px; 
        flex-wrap: wrap; /* Permite que si no caben, bajen */
    }

    .top-center { 
        position: relative; 
        left: auto; 
        transform: none; 
        top: 0; 
        margin: 5px 0; 
        width: 100%; 
        z-index: 2000; 
        text-align: center; 
    }
    
    .top-center a.logo img { width: 100px; }
    
    .event-info { font-size: 0.8rem; }
    
    /* --- CORRECCIÓN: Botones Rojos Ajustados para móvil --- */
    .btn-top-red { 
        background-size: 100% 100%; 
        background-position: center; 
        max-width: none; /* Quitamos límite estricto */
        padding: 8px 15px; /* Reducimos relleno */
        font-size: 1.1rem; /* Reducimos letra */
        margin: 5px; /* Separación entre botones */
    }

    .hero-section { min-height: 50vh; padding: 40px 20px 60px 20px; }
    .aftermovie-section { padding: 50px 20px; }
    .aftermovie-title { font-size: 3.5rem; letter-spacing: 4px; }
    .aftermovie-div h4 { font-size: 1.5rem; letter-spacing: 1px; } 
    .video-side iframe { height: 250px; } 
    .date-tag { font-size: 1.8rem; }
    #main-footer .logo img { width: 100px; max-width: 100px; }
    .footer-links { flex-direction: column; gap: 10px; padding-bottom: 15px; }
    .hero-logo { width: 200px; }
    .top-center .event-info { font-size: 2rem; } /* Ajuste de tamaño fecha */
    .hero-main-title { font-size: 3.5rem; }
    #mc_embed_signup h2 { font-size: 50px !important; letter-spacing: 4px !important; } 
    
    .intro-section { 
        margin-top: 0; 
        padding: 50px 20px; 
    }
    .lead-text.text-normal { font-size: 1.4rem; margin-bottom: 20px; }
    .lead-text.text-highlight { font-size: 1.8rem; }
    .legal-container { justify-content: center; margin-bottom: 20px; }
    .tickets-container { gap: 40px; }
}

@media (max-width: 450px) {
    section, .split-layout { padding: 30px 15px; gap: 20px; }
    .top-bar-container { padding: 5px 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
    .top-bar { gap: 5px; }
    .top-left, .top-right { justify-content: center; }
    .top-left a, .top-right a, .top-right span { font-size: 1.4rem; }
    .top-center a.logo img { width: 40px; }
    .event-info { font-size: 0.7rem; }
    
    /* Botones más pequeños aún en pantallas muy estrechas */
    .btn-top-red { 
        padding: 6px 12px; 
        font-size: 0.9rem; 
    }
    
    .hero-section { min-height: 40vh; padding: 30px 15px 40px 15px; }
    .top-right { padding-bottom: 30px; }
    .hero-main-title { font-size: 3rem; line-height: 1; }
    .hero-cta-text { font-size: 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .hero-content a, .hero-content span { padding-top: 30px; }
    #main-footer .logo img { width: 70px; }
    .footer-links { gap: 5px; padding-bottom: 10px; flex-wrap: wrap; }
    .footer-links a { font-size: 0.8rem; }
    .hero-logo { width: 200px; }
    .top-center .event-info { font-size: 2rem; }
    .ticket-top h3 { font-size: 3.2rem; }
    .ticket-price .current { font-size: 2.4rem; }
}

@media (max-width: 1600px) {
    .top-bar-container { min-height: auto; padding: 10px 0; background-size: cover; background-position: center; background-repeat: no-repeat; overflow-x: hidden; z-index: 1500; }
    .top-bar { flex-direction: column; gap: 10px; align-items: center; padding: 0 10px; }
    .top-left, .top-right { gap: 10px; justify-content: center; width: 100%; font-size: 0.9rem; }
    .top-right { padding-bottom: 50px; }
    .top-center { position: relative; left: auto; transform: none; top: 0; margin: 5px 0; width: 100%; z-index: 2000; text-align: center; }
    .top-center a.logo img { width: 100px; }
    .event-info { font-size: 0.8rem; }
    .btn-top-red { background-size: contain; background-position: center; max-width: 150px; padding: 12px 10px; font-size: 1.8rem; }
    .hero-section { min-height: 50vh; padding: 40px 20px 60px 20px; }
    #main-footer .logo img { width: 200px; max-width: 200px; }
    .footer-links { flex-direction: column; gap: 10px; padding-bottom: 15px; }
    .hero-main-title { font-size: 2.8rem; }
    .hero-logo {width: 200px; }
}

.text-early-bird { color: #F8E96E; font-weight: normal; }
.logo { display: flex; justify-content: center; padding: 100px 0; }
.footer-links { display: flex; justify-content: center; gap: 30px; padding-bottom: 20px; align-items: center; }
.footer-links a { text-decoration: none; color: white; font-size: 1.2rem; }
#main-footer { background-color: #DB5200; }
.info-footer { padding-top: 30px; justify-content: center; display: flex; flex-direction: column; align-items: center; background-color: #FF9800; padding-bottom: 70px; }
.info-footer h2 { font-size: 3.5rem; margin-bottom: 10px; font-family: "TitulosMF", sans-serif; font-weight: normal; color: #3c1f10; }
.info-footer h4 { padding-top: 40px; font-size: 1.5rem; }
.info-footer a { text-decoration: none; color: var(--color-dark-brown); }
::selection { background-color: var(--color-orange); color: var(--color-white); }
::-moz-selection { background-color: var(--color-orange); color: var(--color-white); }
.aftermovie-div { display: block; width: 100%; max-width: 900px; margin: 0 auto 30px; text-align: center; }

/* =========================================================
   ESTILOS NUEVA PÁGINA DE ENTRADAS (IFRAME)
   ========================================================= */
.entradas-iframe-layout {
    background-color: var(--color-yellow);
    background-image: url('../img/border-texture.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin-top: -60px; 
    padding-top: 100px; 
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}
.iframe-page-logo {
    width: 200px; 
    max-width: 80%;
    position: relative; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 5000; 
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}
.iframe-page-title {
    color: var(--color-brown) !important; 
    margin-bottom: 40px;  
    text-align: center;
    font-family: var(--font-head);
    font-weight: normal;
    background-image: url('../img/CuadradoNaranja.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    display: inline-block; 
    padding-top: 5px;       
    padding-bottom: 30px;   
    padding-left: 60px;
    padding-right: 60px;
    line-height: 0.8; 
}
.white-iframe-container {
    position: relative;
    width: 100%;
    max-width: 1200px; 
    height: auto; 
    min-height: 400px;
    margin: 0 auto;
    background-color: transparent; 
    box-shadow: none; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; 
}

/* =========================================================
   ESTILOS NUEVOS: CHECKBOX LEGAL Y FORMULARIO (FINAL SIN AZUL)
   ========================================================= */
.legal-container {
    margin-top: 15px; 
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; 
    gap: 12px; 
    width: 100%;
    text-align: left;
}
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 26px;
    height: 26px;
    background-color: #ffffff;
    border: 3px solid var(--color-brown); 
    cursor: pointer;
    position: relative;
    flex-shrink: 0; 
    outline: none; 
    transition: all 0.2s ease;
}
.custom-checkbox:checked {
    background-color: #ffffff !important; 
    border-color: var(--color-brown); 
    accent-color: #ffffff;
}
.custom-checkbox:checked::after {
    content: '✔';
    font-size: 20px; 
    color: var(--color-brown); 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 900; 
    line-height: 1;
    display: block;
}
.custom-checkbox:hover { border-color: #6d3519; }
.legal-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-brown); 
    line-height: 1.3;
    cursor: pointer;
    font-weight: bold;
    display: block !important;
    padding-top: 2px; 
}
#mc_embed_signup input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
}

/* =========================================================
   ESTILOS LOADER Y AJUSTE IFRAME (AUTO-ALTURA)
   ========================================================= */
.ticket-loader {
    position: absolute;
    top: 150px; 
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; 
    border-top: 5px solid var(--color-brown); 
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 50;
    display: block; 
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* REGLAS IFRAME LIMPIAS */
#etktfrm48370 {
    width: 100% !important;
    border: none !important;
    overflow: hidden !important; 
    transition: height 0.3s ease;
}


/* --- ESTILOS PÁGINA FAQ --- */
.faq-page-section {
    padding: 100px 20px 80px 20px; /* Ajuste para no chocar con el header */
    background-color: var(--color-yellow);
    background-image: url('../img/border-texture.png'); /* Misma textura que otras secciones */
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    min-height: 80vh;
}

.page-title {
    font-family: var(--font-head);
    font-size: 5rem;
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
    text-transform: uppercase;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-title {
    font-family: var(--font-body);
    font-size: 2.5rem;
    color: #E64A19; /* Naranja quemado */
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 3px solid #E64A19;
    display: flex;
    justify-content: center;
}

.faq-item {
    margin-bottom: 15px;
    background-color: #FFC600; /* Amarillo suave */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 4px 4px 0px rgba(45, 26, 16, 0.1);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark-brown);
    text-transform: uppercase;
}

.faq-question.active {
    background-color: var(--color-orange);
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg); /* La cruz se convierte en X */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.faq-answer p {
    padding: 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-brown);
    border-top: 1px dashed var(--color-brown);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .page-title { font-size: 3rem; }
    .faq-category-title { font-size: 1.8rem; }
    .faq-question { font-size: 1rem; padding: 15px; }
}

@media (min-width: 1600px) and (max-width: 800px) {
    .hero-main-title { font-size: 4.5rem; }
}

/* --- ESTILOS HAMBURGUESA (BASE) --- */
.hamburger {
    display: none; /* Oculto en desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: 0.4s;
}

/* Animación a X al abrir */
.hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-7px, -7px); }

/* --- CONFIGURACIÓN DEL MENÚ FULL SCREEN (SOLO < 1600px) --- */
@media (max-width: 1600px) {
    
    .top-left {
        display: flex; /* Usamos flex para centrar */
        position: fixed; /* Se queda fijo sobre todo */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #E66D00; /* Tu color pedido */
        flex-direction: column;
        justify-content: center; /* Centrado vertical */
        align-items: center;    /* Centrado horizontal */
        z-index: 2000; /* Por encima de todo */
        
        /* Animación de entrada: Oculto por defecto */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Cuando el menú está abierto */
    .top-left.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .top-left a {
        width: 80%; /* No ocupa todo el ancho para que respire */
        max-width: 400px;
        margin: 0;
        padding: 25px 0;
        font-size: 2rem; /* Texto grande y legible */
        font-family: var(--font-head);
        color: white;
        text-align: center;
        text-decoration: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Línea blanca sugerida */
        transition: transform 0.3s ease, color 0.3s ease;
        
        /* Animación de cascada para los links */
        transform: translateY(20px);
        opacity: 0;
    }

    .top-left.active a {
        transform: translateY(0);
        opacity: 1;
    }

    /* Retraso en la aparición de cada link para efecto "bonito" */
    .top-left.active a:nth-child(1) { transition-delay: 0.1s; }
    .top-left.active a:nth-child(2) { transition-delay: 0.2s; }
    .top-left.active a:nth-child(3) { transition-delay: 0.3s; }

    .top-left a:last-child {
        border-bottom: none;
    }

    .top-left a:hover {
        color: var(--color-yellow);
        transform: scale(1.1);
    }

    /* AJUSTE DEL BOTÓN DE CIERRE (El mismo hamburguesa que se convierte en X) */
    .hamburger {
        display: block;
        z-index: 2100; /* Siempre por encima del overlay */
        position: relative;
    }

    /* Si quieres que el botón cambie a color oscuro o blanco según el fondo */
    .hamburger.active span {
        background-color: #ffffff;
    }

    /* Evitar que el cuerpo haga scroll cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .top-center,
    body.menu-open .socials,
    body.menu-open .btn-top-red,
    body.menu-open .iframe-page-logo { /* Añadimos tu logo aquí */
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Para que no se pueda hacer click accidentalmente */
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .iframe-page-logo {
        width: 100px;
    }
}

/* Ajuste del icono para que se vea más grande y "bonito" */
.hamburger span {
    width: 35px;
    height: 4px;
    background-color: var(--color-white);
    margin: 6px 0;
    border-radius: 4px;
}

/* Estado DESPLEGADO (cuando tiene la clase .rotated) */
.ticket-footer.rotated {
    background-image: url('../img/fondoIncluyeNaranja.png'); /* Cambio de imagen solicitado */
}

/* Animación de la flecha */
.arrow-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    width: 18px; 
    height: auto;
    transition: transform 0.4s ease; /* Esta es la animación de rotación */
}

/* Cuando está abierto, rotamos la imagen 180 grados */
.ticket-footer.rotated .arrow-icon {
    transform: rotate(180deg);
}

/* Eliminamos estas reglas antiguas que ocultaban/mostraban imágenes fijas */
.arrow-up, .arrow-down { display: none !important; }

