/* ── entradas.css — Que Se Pudran 2 ── */

/* Hero */
.entradas-hero {
    padding: 160px 10% 70px;
    border-bottom: 1px solid #111;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
}
.entradas-hero-left .eyebrow {
    font-size: 11px;
    letter-spacing: 8px;
    color: #00ff66;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}
.entradas-hero-left h1 {
    font-size: clamp(40px, 8vw, 110px); /* Ajustado el mínimo para que no rompa en pantallas enanas */
    line-height: 0.88;
}
.entradas-hero-right {
    text-align: right;
}
.entradas-hero-right img {
    max-height: 160px; /* Evita que crezca sin control */
    max-width: 100%; /* Clave para que no desborde en móvil */
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0,255,102,0.15));
}
.entradas-hero-meta {
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
}

/* Opciones */
.opciones-section {
    border-bottom: 1px solid #111;
}
.opciones-section h2 {
    padding: 50px 10% 0;
    font-size: 11px;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}
.opciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 20px 10% 50px;
}
.opcion-card {
    padding: 40px 36px;
    background: #080808;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    user-select: none;
}
.opcion-card:hover { background: #0b0b0b; }
.opcion-card.selected {
    border-color: #00ff66;
    background: rgba(0,255,102,0.02);
}
.opcion-check {
    position: absolute;
    top: 18px; right: 20px;
    width: 24px; height: 24px;
    border: 1px solid #222;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: transparent;
    transition: all 0.3s ease;
}
.opcion-card.selected .opcion-check {
    background: #00ff66;
    border-color: #00ff66;
    color: #000;
}
.opcion-badge {
    font-size: 10px;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.opcion-card.destacado .opcion-badge { color: #00ff66; }
.opcion-nombre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 6px;
}
.opcion-fechas {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.opcion-precio {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1;
    color: #00ff66;
    letter-spacing: 2px;
}
.opcion-precio sup {
    font-size: 22px;
    vertical-align: super;
    letter-spacing: 0;
}
.opcion-precio span {
    font-size: 16px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 3px;
    margin-left: 4px;
}
.opcion-desc {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    border-top: 1px solid #111;
    padding-top: 16px;
}

/* Selector de día */
.dia-selector {
    display: none;
    gap: 8px;
    margin-top: 20px;
}
.opcion-card.selected .dia-selector { display: flex; }
.dia-btn {
    flex: 1;
    padding: 12px 8px;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: rgba(255,255,255,0.35);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}
.dia-btn:hover { border-color: #333; color: rgba(255,255,255,0.6); }
.dia-btn.active { border-color: #00ff66; color: #00ff66; }

/* Medios de pago */
.metodos-section {
    padding: 60px 10%;
    border-bottom: 1px solid #111;
}
.metodos-section h2 {
    font-size: 11px;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    margin-bottom: 32px;
}
.metodos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.metodo-item {
    background: #080808;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.metodo-icon {
    width: 40px; height: 40px;
    border: 1px solid #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.metodo-nombre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.metodo-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
}

/* Formulario */
.form-section {
    padding: 70px 10%;
    border-bottom: 1px solid #111;
    max-width: 900px;
    margin: 0 auto; /* Centra la sección en monitores grandes */
}
.form-section h2 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 32px;
}
.form-grid .col-full { grid-column: 1 / -1; }
.f-field {
    display: flex;
    flex-direction: column;
    position: relative;
}
.f-field label {
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    padding: 14px 16px 6px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-bottom: none;
    transition: color 0.25s;
}
.f-field:focus-within label { color: #00ff66; }
.f-field input {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-top: none;
    color: #e8e8e8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    padding: 10px 16px 14px;
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
}
.f-field input:focus { border-color: #00ff66; }
.f-field::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #00ff66;
    transition: width 0.4s ease;
}
.f-field:focus-within::after { width: 100%; }

/* Resumen */
.resumen {
    background: #080808;
    border: 1px solid #1a1a1a;
    padding: 28px;
    margin-bottom: 24px;
    display: none;
}
.resumen.visible { display: block; }
.resumen-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #111;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}
.resumen-row:last-child { border-bottom: none; padding-bottom: 0; }
.resumen-row strong { color: rgba(255,255,255,0.8); }
.resumen-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 3px;
    color: #00ff66;
    border-top: 1px solid #1a1a1a;
    margin-top: 8px;
}

/* Error */
.form-error {
    font-size: 13px;
    color: #ff4444;
    letter-spacing: 2px;
    padding: 14px 0;
    display: none;
}
.form-error.visible { display: block; }
.form-notice {
    font-size: 13px;
    color: #ffaa00;
    letter-spacing: 2px;
    padding: 14px 0;
    display: none;
}
.form-notice.visible { display: block; }

/* Botón pagar */
.btn-pagar {
    width: 100%;
    background: transparent;
    border: 1px solid #00ff66;
    color: #00ff66;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 6px;
    padding: 22px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}
.btn-pagar::before {
    content: "";
    position: absolute; inset: 0;
    background: #00ff66;
    transform: translateX(-101%);
    transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.btn-pagar:hover:not(:disabled) { color: #000; }
.btn-pagar:hover:not(:disabled)::before { transform: translateX(0); }
.btn-pagar span { position: relative; z-index: 1; }
.btn-pagar:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-mp-note {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    letter-spacing: 3px;
    text-align: center;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* FAQ */
.faq-section {
    padding: 70px 10%;
    border-bottom: 1px solid #111;
    max-width: 900px;
    margin: 0 auto;
}
.faq-section h2 {
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.faq-item { border-bottom: 1px solid #0f0f0f; }
.faq-q {
    width: 100%;
    background: none; border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    text-align: left;
    gap: 20px;
    transition: color 0.25s;
}
.faq-q:hover { color: #fff; }
.faq-icon {
    font-size: 22px;
    color: #00ff66;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; } /* Ajustado el max-height para que no corte el texto largo */

/* Footer */
.footer {
    padding: 40px 10%;
    text-align: center;
}

/* ── SECCIÓN RESPONSIVE MEJORADA ── */
@media (max-width: 900px) {
    .entradas-hero { 
        grid-template-columns: 1fr; 
        padding: 120px 6% 40px; 
        gap: 24px;
    }
    .entradas-hero-right { 
        text-align: left; 
    }
    .entradas-hero-right img {
        max-height: 120px; /* Reducimos el logo en tablets */
    }
    .opciones-section h2 { padding: 40px 6% 0; }
    .opciones-grid { grid-template-columns: 1fr; padding: 20px 6% 40px; }
    .metodos-section { padding: 40px 6%; }
    .metodos-grid { grid-template-columns: 1fr; }
    .form-section { padding: 40px 6%; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .col-full { grid-column: 1; }
    .faq-section { padding: 40px 6%; }
}

/* Cambios críticos para teléfonos reales (pantallas de menos de 480px) */
@media (max-width: 480px) {
    /* Achicamos paddings para aprovechar el ancho del celu */
    .entradas-hero, 
    .opciones-grid, 
    .metodos-section, 
    .form-section, 
    .faq-section { 
        padding-left: 4%; 
        padding-right: 4%; 
    }
    
    .opciones-section h2 { padding-left: 4%; }
    
    /* Evitamos que las tarjetas de las entradas asfixien el contenido */
    .opcion-card {
        padding: 30px 20px;
    }
    
    /* El selector de día se rompe si es flex horizontal en celus muy chicos */
    .opcion-card.selected .dia-selector {
        flex-direction: column;
    }
    
    /* Ajustes finos de textos gigantes */
    .entradas-hero-meta {
        letter-spacing: 2px;
        font-size: 11px;
    }
    
    .opcion-nombre {
        font-size: 32px;
    }
    
    /* Permitir que los botones del selector de día ocupen todo el ancho si se apilan */
    .dia-btn {
        width: 100%;
    }
}
