/* TUS VARIABLES DE MARCA ORIGINALES */
:root {
    --hotel-gold: #c5a059;
    --hotel-green: #004d40;
    --vip-black: #000000;
    --deep-gray: #111111;
    --pure-white: #ffffff;
    --soft-paper: #f4f1ea;
}

/* RESET ESTRUCTURAL ORIGINAL */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    -webkit-tap-highlight-color: transparent;
}

body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    background-color: var(--vip-black); 
    color: var(--pure-white); 
    overflow-x: hidden; 
    line-height: 1.6;
    text-align: center;
}

.hidden { display: none !important; }

/* BLOQUE LEGAL CONECTA ORIGINAL */
.legal-overlay-forced {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.98) !important;
    z-index: 999999 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.legal-box-premium {
    background: var(--soft-paper);
    color: #333;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border: 4px solid var(--hotel-gold);
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.5);
}

.legal-box-premium h3 {
    color: var(--hotel-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-scroll-area {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    height: 150px;
    overflow-y: scroll;
    text-align: left;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-radius: 4px;
}

.legal-scroll-area hr { margin: 15px 0; border: 0; border-top: 1px solid #eee; }

.terms-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    color: #111;
}

.terms-label input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }

.btn-signature-lock {
    background: #999;
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    font-weight: 900;
    text-transform: uppercase;
    cursor: not-allowed;
    transition: all 0.3s ease;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-signature-lock.btn-active {
    background: var(--hotel-green) !important;
    cursor: pointer !important;
    box-shadow: 0 5px 15px rgba(0, 77, 64, 0.3);
}

.mkt-logo-small { width: 60px; margin-bottom: 15px; }

/* TUS ESTILOS DE CONFIGURACIÓN ORIGINALES */
.setup-overlay { 
    position: fixed; 
    inset: 0; 
    background: var(--vip-black); 
    z-index: 10000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
}

.setup-box { 
    background: var(--soft-paper); 
    color: #333; 
    padding: 40px; 
    width: 100%; 
    max-width: 550px; 
    border: 5px solid var(--hotel-gold); 
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

.setup-logo { width: 80px; margin-bottom: 25px; }

.btn-select-photos { 
    background: var(--hotel-green); 
    color: white; 
    border: none; 
    padding: 18px; 
    width: 100%; 
    font-size: 1rem;
    font-weight: bold; 
    cursor: pointer; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-grid-interactive { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 12px; 
    margin-bottom: 25px; 
}

.preview-slot { 
    aspect-ratio: 1; 
    border: 2px dashed var(--hotel-gold); 
    background: #e0e0e0; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    position: relative;
    overflow: hidden;
}

.preview-slot img { width: 100%; height: 100%; object-fit: cover; }

.btn-generate-gold { 
    background: var(--hotel-gold); 
    color: black; 
    border: none; 
    padding: 20px; 
    width: 100%; 
    font-size: 1.1rem;
    font-weight: 900; 
    cursor: pointer;
    text-transform: uppercase;
}

/* BARRA SUPERIOR ORIGINAL */
.topbar { 
    background: var(--deep-gray); 
    padding: 20px; 
    border-bottom: 2px solid var(--hotel-gold); 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.app-logo { width: 45px; margin-right: 15px; }
.topbar h1 { 
    font-size: 0.85rem; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    color: var(--pure-white);
}
.topbar h1 span { color: var(--hotel-gold); display: block; font-size: 0.65rem; }

/* CARRUSEL ORIGINAL */
.carousel-container-elegant { width: 100%; display: flex; justify-content: center; margin: 50px 0; }
.carousel-viewport { 
    width: 95%; max-width: 1000px; overflow: hidden; background: #080808; 
    padding: 40px 0; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; position: relative;
}
.carousel-track { display: flex; width: max-content; animation: scroll-inf 40s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
.carousel-card { 
    width: 240px; height: 330px; flex-shrink: 0; margin: 0 15px; background: #000; 
    border: 3px solid var(--hotel-gold); padding: 8px; cursor: pointer; transition: transform 0.4s ease;
}
.carousel-card:hover { transform: scale(1.03); border-color: var(--pure-white); }
.carousel-card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scroll-inf { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* TUS ESTILOS DE COMPARTIR Y QR ORIGINALES */
.marketing-footer { padding: 20px; margin-top: 20px; }
.btn-share-premium {
    background: linear-gradient(135deg, var(--hotel-gold), #f0cc8a, var(--hotel-gold));
    color: black !important; border: none; padding: 18px 45px; border-radius: 50px; font-weight: 900;
    cursor: pointer; animation: pulse-gold 3s infinite; text-transform: uppercase;
}
@keyframes pulse-gold { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.share-palette-compact { display: flex; gap: 15px; justify-content: center; margin-bottom: 30px; }
.share-palette-compact button { width: 48px; height: 48px; border-radius: 50%; border: none; color: white; cursor: pointer; }
.s-wa { background: #25D366; } .s-fb { background: #1877F2; } .s-in { background: #E1306C; } .s-cp { background: #444; }

.qr-card-vip { 
    background: var(--pure-white); color: #333; display: flex; align-items: center; padding: 15px; 
    max-width: 320px; margin: 0 auto; border-radius: 10px; cursor: pointer; border: 3px solid var(--hotel-gold); 
}
.qr-card-vip img { width: 75px; height: 75px; }
.vip-tag { background: var(--hotel-gold); color: black; font-size: 0.65rem; padding: 3px 8px; border-radius: 4px; }

/* TUS ESTILOS DE MODALES ORIGINALES */
.marketing-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.97); z-index: 30000; display: flex; justify-content: center; align-items: center; }
.marketing-content { background: var(--pure-white); width: 100%; max-width: 380px; padding: 35px; border: 5px solid var(--hotel-gold); position: relative; }
.marketing-close { position: absolute; top: 15px; right: 15px; font-size: 2rem; border: none; background: none; cursor: pointer; }
.mkt-logo-fixed { width: 60px; margin-bottom: 20px; }
.mkt-title { color: var(--hotel-green); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.mkt-divider { height: 3px; background: var(--hotel-gold); margin: 20px auto; width: 60px; }
.mkt-btn-gold { background: var(--hotel-gold); border: none; padding: 15px; width: 100%; font-weight: bold; cursor: pointer; }

/* TUS ESTILOS DE LIGHTBOX ORIGINALES */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.98); z-index: 40000; display: flex; justify-content: center; align-items: center; }
.lightbox-frame { background: var(--pure-white); padding: 10px; border: 6px solid var(--hotel-green); position: relative; }
.img-full { width: 100%; max-height: 85vh; display: block; object-fit: contain; }
.lightbox-close-attached { 
    position: absolute; top: -22px; right: -22px; width: 50px; height: 50px; background: var(--hotel-gold); 
    border-radius: 50%; border: 4px solid var(--pure-white); font-size: 2rem; cursor: pointer; display: flex; justify-content: center; align-items: center;
}

.audio-control-fixed { position: fixed; top: 20px; right: 20px; z-index: 25000; background: rgba(17,17,17,0.9); border: 1px solid var(--hotel-gold); padding: 8px 15px; border-radius: 5px; cursor: pointer; color: white; font-size: 0.7rem; display: flex; align-items: center; gap: 8px; }

/* TUS MEDIA QUERIES ORIGINALES */
@media (max-width: 600px) {
    .preview-grid-interactive { grid-template-columns: repeat(2, 1fr); }
    .carousel-card { width: 180px; height: 250px; }
}

/* ============================================================
   NUEVO: BLOQUE DE VENTA DIRECTA (ALINEADO A LA IZQUIERDA)
   ============================================================ */
.booking-fixed {
    position: fixed;
    bottom: 25px;
    left: 20px;
    z-index: 28000;
}

.btn-booking-main {
    background: var(--hotel-green);
    color: var(--pure-white);
    border: 2px solid var(--hotel-gold);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.booking-menu-content {
    background: var(--soft-paper);
    border: 3px solid var(--hotel-gold);
    border-radius: 12px;
    margin-bottom: 12px;
    width: 230px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
}

.booking-item {
    padding: 15px;
    text-decoration: none;
    color: #111;
    font-size: 0.85rem;
    font-weight: 800;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-item i { color: var(--hotel-green); width: 20px; text-align: center; }
.wa-item i { color: #25D366; }