/* Variables y Configuración de Lujo */
:root {
    --c-bg: #F7F6F2;         
    --c-text: #1A1A18;       
    --c-forest: #1F241F;     
    --c-gold: #A38A59;       
    --c-sand: #EAE8E3;
    
    --f-title: 'Cormorant Garamond', serif; 
    --f-body: 'Jost', sans-serif;           
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
body { font-family: var(--f-body); color: var(--c-text); background-color: var(--c-bg); line-height: 1.8; font-size: 16px; font-weight: 300; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 400; line-height: 1.1; }
.title-serif { font-size: 3.8rem; letter-spacing: -0.02em; }
.subtitle { font-family: var(--f-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--c-gold); margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* Menú Overlay Adaptativo */
.menu-overlay { 
    position: fixed; inset: 0; 
    background: rgba(31, 36, 31, 0.98); backdrop-filter: blur(15px);
    z-index: 2000; display: flex; flex-direction: column; 
    justify-content: space-between; padding: 3rem 5% 1rem; 
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease; 
}
.menu-overlay.active { opacity: 1; pointer-events: all; }
.close-menu { position: absolute; top: 1.5rem; right: 5%; background: none; border: none; color: var(--c-bg); font-size: 3rem; font-weight: 300; cursor: pointer; transition: transform 0.3s ease; }
.close-menu:hover { transform: rotate(90deg); color: var(--c-gold); }

.overlay-nav { display: flex; flex-direction: column; gap: clamp(1rem, 3vh, 2rem); text-align: center; margin-top: auto; margin-bottom: auto; }
.menu-link { font-family: var(--f-title); font-size: clamp(1.8rem, 5.5vh, 2.8rem); color: var(--c-bg); text-decoration: none; font-style: italic; transition: color 0.4s ease, transform 0.4s ease; opacity: 0; transform: translateY(20px); }
.menu-overlay.active .menu-link { opacity: 1; transform: translateY(0); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.menu-link:hover { color: var(--c-gold); transform: scale(1.05); }

.overlay-footer { width: 100%; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: clamp(1rem, 2vh, 2rem); display: flex; flex-direction: column; gap: 0.5rem; align-items: center; margin-bottom: 1rem;}
.overlay-address { color: var(--c-gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.overlay-contact { color: var(--c-bg); font-size: 1rem; font-weight: 400; }
.overlay-email { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; letter-spacing: 1px; }

/* Header Clean con fijación estricta */
header { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 2rem 5%; z-index: 1000; transition: all 0.6s ease; }
header.scrolled { background: rgba(31, 36, 31, 0.98); backdrop-filter: blur(10px); padding: 1.2rem 5%; box-shadow: 0 4px 15px rgba(0,0,0,0.3); border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo-img { height: 80px; width: auto; object-fit: contain; transition: 0.4s ease; filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2)); }
header.scrolled .logo-img { height: 60px; filter: none; }

.header-actions { display: flex; align-items: center; gap: 2rem; }
.hamburger { background: none; border: none; color: var(--c-bg); font-family: var(--f-body); text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; cursor: pointer; border-bottom: 1px solid transparent; transition: 0.3s; padding: 5px 0; text-shadow: 0 1px 3px rgba(0,0,0,0.5); white-space: nowrap; }
header.scrolled .hamburger { color: var(--c-bg); text-shadow: none; }
.hamburger:hover { border-bottom: 1px solid var(--c-gold); color: var(--c-gold); }

/* Botones */
.btn-luxury { display: inline-block; padding: 16px 40px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; text-decoration: none; transition: all 0.5s ease; cursor: pointer; border: 1px solid var(--c-text); background: transparent; }
.btn-luxury.solid { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
.btn-luxury.solid:hover { background: var(--c-gold); border-color: var(--c-gold); }
.btn-luxury.gold { border-color: var(--c-gold); color: var(--c-gold); }
.btn-luxury.gold:hover { background: var(--c-gold); color: var(--c-forest); }

/* Hero con Filtro Degradado y Rotativo */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-slideshow { position: absolute; inset: 0; z-index: -2; background: var(--c-forest); }
.slide { position: absolute; inset: -5%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2.5s ease-in-out; }
.slide.active { opacity: 1; z-index: -1; }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%); z-index: 0; }
.ken-burns.active { animation: kenBurns 25s forwards ease-out; }
@keyframes kenBurns { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }

.hero-content { color: var(--c-bg); z-index: 1; padding-top: 5vh; width: 100%; padding-left: 5%; padding-right: 5%; }
.hero-location { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.35em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); margin-bottom: 2rem; color: var(--c-bg); }
.hero-title { font-size: 6.5rem; line-height: 0.9; margin: 1rem 0 4rem; font-style: italic; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.scroll-indicator { color: var(--c-bg); text-decoration: none; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; position: relative; }
.scroll-indicator::after { content: ''; position: absolute; left: 50%; bottom: -30px; width: 1px; height: 20px; background: var(--c-bg); transform: translateX(-50%); }

/* Layouts Generales */
.section { padding: 10rem 5%; }
.container { max-width: 1300px; margin: 0 auto; }
.bg-sand { background-color: var(--c-sand); }
.bg-dark { background-color: var(--c-forest); color: var(--c-bg); }

/* Diseño Asimétrico */
.layout-split { display: flex; align-items: center; justify-content: space-between; gap: 6rem; }
.text-box { width: 40%; }
.text-box p { font-size: 1.1rem; color: #555; margin-top: 2rem; line-height: 1.8; }
.image-box { width: 55%; overflow: hidden; height: 700px; }
.parallax-img { width: 100%; height: 130%; object-fit: cover; transform: translateY(-15%); }
.amenities-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.2rem; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem; }
.amenities-list span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--c-gold); }

/* Banner de Precios */
.pricing-banner { display: flex; justify-content: center; gap: 3rem; margin-top: 4rem; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); padding: 2.5rem 0; }
.price-item { text-align: center; font-family: var(--f-title); font-size: 2rem; color: var(--c-forest); line-height: 1.2; }
.price-item span { font-family: var(--f-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--c-gold); display: block; margin-bottom: 5px; }

/* Grilla Editorial */
.section-header { text-align: center; margin-bottom: 6rem; }
.editorial-grid { display: flex; flex-direction: column; gap: 10rem; }
.grid-item { display: flex; align-items: center; position: relative; }
.grid-item.reverse { flex-direction: row-reverse; }
.grid-img { width: 65%; height: 500px; }
.grid-img img { width: 100%; height: 100%; object-fit: cover; }
.grid-text { width: 45%; background: var(--c-bg); padding: 4rem; position: absolute; z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
.overlap-right { right: 0; top: 10%; }
.overlap-left { left: 0; top: 10%; }
.grid-text h3 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.grid-text .desc { color: #555; margin-bottom: 3rem; line-height: 1.7; font-size: 0.95rem; }

/* Reproductor de Video */
.video-section { background-color: var(--c-bg); }
.fb-video-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.iframe-container { position: relative; width: 100%; padding-top: 56.25%; border-radius: 8px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1); overflow: hidden; background: #000; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Formularios VIP */
.vip-container { display: flex; justify-content: center; text-align: center; }
.vip-content { max-width: 550px; width: 100%; }
.gold-text { color: var(--c-gold); }
.text-light { color: var(--c-bg); }
.text-muted { color: rgba(255,255,255,0.6); margin: 1.5rem 0 3rem; font-size: 1rem; }
.vip-form { display: flex; flex-direction: column; gap: 1.5rem; }
.vip-form input[type="text"], .vip-form input[type="email"] { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: var(--c-bg); font-family: var(--f-body); font-size: 1rem; outline: none; transition: 0.3s; }
.vip-form input[type="text"]:focus, .vip-form input[type="email"]:focus { border-bottom-color: var(--c-gold); }
.checkbox-group { display: flex; align-items: flex-start; text-align: left; gap: 15px; margin: 1rem 0; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-gold); cursor: pointer; flex-shrink: 0; }
.checkbox-group label { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; cursor: pointer; }

/* =========================================
   ESTILOS DE LA RULETA VIP Y MODAL
========================================= */
.hidden-game { display: none; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.tablero { position: relative; margin: 0 auto; max-width: 380px; }
.puntero { position: absolute; top: -10px; left: 50%; width: 34px; height: 52px; margin-left: -17px; z-index: 3; transform-origin: 50% 8%; pointer-events: none; transition: transform .11s cubic-bezier(.34,1.7,.5,1); filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
#rueda { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; }
#rueda:active { cursor: grabbing; }
#giro { transform-origin: 200px 200px; }
.marcador { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2rem 0 1rem; }
.fichas { display: flex; gap: 8px; }
.ficha { width: 12px; height: 12px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 10px rgba(163, 138, 89, 0.5); transition: background .4s ease, box-shadow .4s ease, transform .3s ease; }
.ficha.usada { background: rgba(255,255,255,0.1); box-shadow: none; transform: scale(.8); }
.cuenta { font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--c-gold); }
.aviso { min-height: 60px; margin: 0 auto; max-width: 40ch; text-align: center; font-size: 1rem; line-height: 1.5; }
.aviso strong { color: var(--c-gold); font-weight: 600; font-size: 1.1rem;}

/* Modal de Premio */
.velo { position: fixed; inset: 0; z-index: 3000; display: none; background: rgba(18, 22, 18, 0.9); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.4s ease; }
.velo.abierto { display: flex; opacity: 1; }
.modal { width: 100%; max-width: 450px; background: var(--c-forest); border: 1px solid rgba(163, 138, 89, 0.3); border-radius: 4px; padding: 40px 30px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: translateY(20px); transition: transform 0.4s ease; }
.velo.abierto .modal { transform: translateY(0); }
.kicker { font-size: 0.75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--c-sand); font-weight: 500; }
.cupon { margin: 25px 0 15px; padding: 20px 15px; border-radius: 4px; background: rgba(0,0,0,0.2); border: 1px dashed rgba(163, 138, 89, 0.6); }
.cupon .et { font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.cupon .cod { font-family: 'Courier New', monospace; font-weight: 700; font-size: 2rem; letter-spacing: .1em; color: var(--c-gold); margin-top: 10px; word-break: break-all; }
.nota { margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* Mapa */
.map-section { padding-bottom: 0; }
.map-container { filter: grayscale(100%) invert(90%) contrast(80%); transition: filter 0.5s ease; height: 450px; overflow: hidden; }
.map-container:hover { filter: grayscale(50%) invert(0%) contrast(100%); }

/* Footer */
footer { background: var(--c-bg); padding: 6rem 5% 3rem; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-layout { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5rem; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 4rem; }
.brand-footer { display: flex; align-items: center; }
.footer-signature-logo { height: 130px; width: auto; object-fit: contain; opacity: 0.95; } 

.footer-info p { color: #555; line-height: 1.6; font-size: 0.9rem; }
.footer-layout .contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-layout .contact a { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; text-decoration: none; color: var(--c-text); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: 0.3s; }
.footer-layout .contact a:hover { border-bottom-color: var(--c-text); }

.footer-bottom-bar { padding-top: 1rem; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: #999; text-transform: uppercase; letter-spacing: 1px; flex-wrap: wrap; gap: 1rem; }
.dev-sign a { color: #888; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.dev-sign a:hover { color: var(--c-gold); }

/* Animaciones Reveal */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-right { transform: translateX(50px); }

/* Responsivo */
@media (max-width: 992px) {
    header { padding: 1.5rem 5%; }
    .logo-img { height: 60px; }
    header.scrolled .logo-img { height: 50px; }
    .hero h1 { font-size: 3.5rem; margin-bottom: 3rem; }
    .layout-split { flex-direction: column; text-align: center; }
    .text-box, .image-box { width: 100%; }
    .image-box { height: 400px; }
    .pricing-banner { flex-direction: column; gap: 2rem; padding: 2rem; }
    .grid-item, .grid-item.reverse { flex-direction: column; margin-bottom: 2rem; }
    .grid-img { width: 100%; height: 400px; }
    .grid-text { width: 90%; position: relative; padding: 3rem; margin-top: -5rem; right: 0; left: 0; margin-left: auto; margin-right: auto; }
    .footer-layout { flex-direction: column; gap: 3rem; text-align: center; align-items: center; }
    .footer-legal { flex-direction: column; text-align: center; gap: 0.5rem; }
}

@media (max-width: 768px) {
    .section { padding: 6rem 5%; }
    .title-serif { font-size: 2.5rem; }
    .hero h1 { font-size: clamp(2.2rem, 11vw, 2.8rem); margin-bottom: 2rem; }
    header { padding: 1.2rem 20px; }
    header.scrolled { padding: 1rem 20px; }
    .logo-img { height: 50px; }
    header.scrolled .logo-img { height: 40px; }
    .hamburger { font-size: 0.8rem; letter-spacing: 1px; }
    .menu-link { font-size: clamp(1.5rem, 4vh, 2rem); }
    .overlay-footer { padding-top: 1.5rem; }
    .overlay-address { font-size: 0.75rem; }
    .overlay-contact { font-size: 0.9rem; }
}