/* =================================================================
   BLISSOASIS - ESTILOS GLOBALES Y PALETA DE COLORES
   ================================================================= */
:root {
    --primary-beige: #EDE8D0; /* Tu nuevo Crema suave [cite: 2026-01-19] */
    --charcoal: #4A4A4A;      /* Tu nuevo Gris Carbón [cite: 2026-01-26] */
    --gold: #D4AF37;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --font-main: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* =================================================================
   RESET & GLOBAL CONFIG
   ================================================================= */


/* Clases de Utilidad para Secciones */
.section-dark {
    background-color: var(--charcoal);
    color: var(--white);
}

.section-light {
    background-color: var(--primary-beige);
    color: var(--charcoal);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Candado de seguridad: evita que el lienzo se expanda */
    overflow-x: hidden;
    background-color: #0a0a0a;
    width: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--white);
    background-color: transparent;
    line-height: 1.6;
    /* Refuerzo de seguridad */
    overflow-x: hidden; 
    width: 100%;
    position: relative;
    /* Evita el rebote elástico horizontal en iOS */
    -webkit-overflow-scrolling: touch; 
}

/* Centrado Universal de Cabeceras de Sección */
.categories-intro {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    /* Aseguramos que el intro no empuje por padding interno */
    box-sizing: border-box; 
}

.gold-line {
    display: block;
    margin-bottom: 15px; /* Eliminado margin: auto innecesario por el Flex del padre */
}

/* Lógica de colores según sección */
.section-light .premium-title { color: var(--charcoal); }
.section-dark .premium-title  { color: var(--gold); }

.section-light p { color: var(--charcoal); opacity: 0.9; }
.section-dark p  { color: var(--white); opacity: 0.85; }

/* Simplificado: h3 siempre es dorado sin importar la sección */
h3 { color: var(--gold); }


/* =================================================================
   BOTÓN PREMIUM GLOBAL (SÓLIDO Y ESTÁTICO)
   ================================================================= */
.btn-premium-gold {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 30px auto 0 auto; 
    padding: 15px 35px;
    background: var(--gold); /* Fondo dorado sólido siempre */
    border: 1px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-family: var(--font-secondary);
    /* Solo animamos el movimiento y la sombra, no el color */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s ease;
    cursor: pointer;
}

/* --- COLORES SEGÚN SECCIÓN (SIN CAMBIO EN HOVER) --- */

/* En sección clara: Fondo dorado / Letras blancas */
.section-light .btn-premium-gold { 
    color: var(--white); 
}

/* En sección oscura: Fondo dorado / Letras carbón */
.section-dark .btn-premium-gold { 
    color: var(--charcoal); 
}

/* --- COMPORTAMIENTO HOVER --- */
.btn-premium-gold:hover {
    /* Mantenemos los mismos colores de la sección, sin cambios */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- ICONO (MANTENEMOS TU ANIMACIÓN) --- */
.btn-premium-gold i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-premium-gold:hover i {
    transform: translateX(5px);
}

/* =================================================================
   HEADER & NAVEGACIÓN (CON FIX DE ANCHO Y AIRE SUPERIOR)
   ================================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    /* CLAVE: Asegura que el padding no sume ancho extra al 100% */
    box-sizing: border-box; 
}

/* Efecto Glassmorphism al bajar */
.header.scrolled {
    padding: 0.8rem 5%;
    background-color: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-sizing: border-box;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* -----------------------------------------------------------------
   LOGO (CENTRADO Y TAMAÑO)
   ----------------------------------------------------------------- */
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0 40px;
}

.logo-img {
    height: 110px;
    width: auto;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.header.scrolled .logo-img {
    height: 75px;
    transform: scale(0.9);
    filter: none;
}

/* -----------------------------------------------------------------
   NAVEGACIÓN ESCRITORIO
   ----------------------------------------------------------------- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links.left { justify-content: flex-start; }
.nav-links.right { justify-content: flex-end; }

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* --- RESPONSIVE HEADER (MODULAR) --- */
@media (max-width: 1024px) {
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .header { 
        padding: 2.2rem 5%; 
        box-sizing: border-box;
        width: 100%;
        left: 0;
        right: 0;
        /* ELIMINAMOS overflow: hidden para que el menú no se corte */
        overflow: visible; 
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-container {
        display: flex;
        justify-content: center; /* Mantenemos tu centrado aprobado */
        align-items: center;
        width: 100%;
        position: relative;
        /* Aseguramos que el contenedor tenga altura para que el logo no flote sobre nada */
        min-height: 80px; 
    }
    
    .nav-links { 
        display: none; 
    }

    /* Si usas la clase .active para el menú, asegúrate que sea fixed */
    .nav-links.active {
        display: flex;
        position: fixed; 
        top: 0;
        left: 0;
        width: 100vw; /* Usamos vw para asegurar el ancho total del dispositivo */
        height: 100vh;
        z-index: 9999;
        /* Esto evita que el menú cause scroll horizontal propio */
        overflow-x: hidden; 
    }

    .logo { 
        padding: 0; 
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .logo-img { 
        height: 80px; 
        width: auto; 
        /* Evitamos que la imagen sea más ancha que la pantalla */
        max-width: 90vw; 
    }
}

@media (max-width: 480px) {
    .logo-img { height: 70px; }
    .header.scrolled .logo-img { height: 55px; }
    .header { padding: 1.8rem 5%; }
}

/* =================================================================
    HERO SECTION - IMPACTO VISUAL [VERIFICADO & OPTIMIZADO SEO]
   ================================================================= */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--black);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    z-index: 0;
    will-change: opacity;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 950px; /* Incrementado ligeramente para que el H1 largo respire mejor */
    margin-top: 50px;
    padding: 0 20px;
}

/* EL H1: Protagonista Absoluto (SEO Branding) */
.hero-content h1 {
    font-family: var(--font-main);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem); /* Ajustado para que el texto largo no rompa en muchas líneas */
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: none;
}

/* EL PÁRRAFO: La Firma Elegante (Sublime & Gold) */
.hero-content p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 5px; /* Estilo firma de lujo */
    margin-bottom: 3.5rem;
    color: var(--gold); /* Ahora el párrafo es el que lleva el toque dorado */
    text-transform: uppercase;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
    letter-spacing: 6px;
}

/* --- RESPONSIVE HERO (PRECISIÓN MANTENIDA) --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero-content p { font-size: 0.75rem; letter-spacing: 3px; margin-bottom: 2.5rem; }
    .btn-primary { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.9rem; }
}

/* =================================================================
    NOSOTROS - SECCIÓN MODULAR [OPTIMIZADO PARA AOS]
   ================================================================= */

.about {
    padding: 120px 10%; 
    display: flex;
    align-items: center;
    min-height: 80vh;
    overflow: hidden; /* Importante para que el fade-up no genere scroll */
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-subtitle {
    display: block;
    color: var(--gold); 
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.about .about-title {
    color: var(--white); 
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 5vw, 3.8rem); 
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.about .about-description p {
    color: var(--white);
    font-size: 1.05rem; 
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.about .gold-text {
    color: var(--gold);
    font-family: var(--font-main);
    font-style: italic;
    font-size: 1.2rem;
}

/* --- BLOQUE VISUAL --- */
.image-stack {
    position: relative;
    width: 100%;
    /* Dejamos que AOS maneje el transform y opacity */
}

.img-main {
    width: 100%;
    height: 550px;
    object-fit: cover;
    z-index: 2;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.3);
}

.image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: 1;
}

/* --- RESPONSIVE NOSOTROS --- */
@media (max-width: 1024px) {
    .about { 
        padding: 80px 5%; 
        /* Blindaje total contra elementos que intenten salirse */
        overflow: hidden; 
        width: 100%;
        box-sizing: border-box;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        /* Evita que el grid crezca más que el celular */
        width: 100%;
        max-width: 100%; 
    }

    .image-accent { 
        display: none !important; /* Forzamos desaparición para evitar el "ancho fantasma" */
    }

    .img-main {
        max-width: 100%; /* Garantiza que la imagen no empuje el borde */
        height: auto; 
    }
}

@media (max-width: 768px) {
    .about .about-title { font-size: 2.2rem; }
    .img-main { height: 400px; }
}

/* =================================================================
   CATEGORIES - GRID PREMIUM (EQUILIBRADO Y CENTRADO)
   ================================================================= */

.categories {
    padding: 80px 5% 100px; 
    text-align: center;
    background-color: var(--primary-beige);
}

.categories .premium-title {
    color: var(--charcoal); 
    margin-bottom: 0; 
}

.gold-line {
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto 20px;
}

/* CORRECCIÓN ESTRUCTURAL: Flexbox para centrado dinámico */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Centra los elementos de la última fila */
    max-width: 1400px;
    margin: 30px auto 0;
}

/* Mantenemos todo tu diseño visual aprobado */
.category-item {
    position: relative;
    /* Base de 4 columnas (25% menos el espacio del gap) */
    flex: 1 1 calc(25% - 20px);
    min-width: 280px;
    max-width: calc(25% - 20px); /* Evita que los centrados se estiren */
    
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    text-decoration: none;
    background-color: var(--charcoal);
    display: block;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), 
                opacity 1s ease, 
                box-shadow 0.5s ease;
}

.category-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(0.8);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), 
                filter 1.2s ease;
}

.category-overlay {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--charcoal) 100%);
    z-index: 1;
    opacity: 0.85;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cat-number {
    display: block;
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.category-content h3 {
    font-family: var(--font-main);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cat-link {
    color: var(--white);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    opacity: 0;
    display: inline-block;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* --- EFECTOS HOVER APROBADOS --- */
.category-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category-item:hover .category-image img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.9);
}

.category-item:hover .cat-link {
    opacity: 1;
    transform: translateY(0);
}

.category-item:hover .category-content {
    transform: translateY(-10px);
}

/* --- RESPONSIVE AJUSTADO --- */
@media (max-width: 1100px) {
    .category-item { 
        flex: 1 1 calc(50% - 20px); 
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .category-item { 
        flex: 1 1 100%; 
        max-width: 100%;
        aspect-ratio: 1 / 1; 
    }
}

/* =================================================================
    GIFT CARDS - BOUTIQUE VOUCHER DESIGN [OPTIMIZADO]
   ================================================================= */

.gift-cards {
    padding: 120px 10%;
    background-color: var(--charcoal); 
    overflow: hidden;
}

.gift-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- ESTILO DE LA TARJETA FÍSICA (LOOK DE INVITACIÓN) --- */
.gift-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px; 
}

.card-physical {
    width: 100%;
    max-width: 420px; /* Proporción más elegante para voucher */
    height: 250px;
    background: linear-gradient(135deg, #1a1a1a 0%, var(--black) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 4px; /* Esquinas rectas tipo cartulina premium */
    padding: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Contenido centrado para look premium */
    align-items: center;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
}

.card-logo {
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 1.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Elemento nuevo: Reemplaza al chip bancario */
.card-divider {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 25px 0;
    opacity: 0.6;
}

/* Elemento nuevo: Texto de cortesía elegante */
.card-complimentary {
    font-family: var(--font-secondary);
    font-style: italic;
    color: var(--white);
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.card-footer {
    position: absolute;
    bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.6;
}

/* --- TEXTO Y BOTÓN GLOBAL --- */
.gift-cards .gift-subtitle {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.gift-cards .gift-title {
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    color: var(--white);
    margin: 20px 0;
    line-height: 1.1;
    font-weight: 400;
}

.gift-description {
    color: var(--white);
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 30px;
}

.gift-features {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.gift-features li {
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.gold-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold);
    border-radius: 50%;
}

/* --- RESPONSIVE OPTIMIZADO --- */
@media (max-width: 992px) {
    .gift-cards { padding: 80px 5%; }
    .gift-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .gift-visual { order: -1; }
    .gift-features li { justify-content: center; }
    .card-physical { 
        max-width: 350px; 
        height: 220px;
        margin: 0 auto; 
    }
}

@media (max-width: 480px) {
    .gift-cards .gift-title { font-size: 2.2rem; }
}

/* =================================================================
    GALLERY - PREMIUM SYMMETRIC MOSAIC (4 COLUMNS) [OPTIMIZADO AOS]
    ================================================================= */

.gallery {
    padding: 100px 5%;
    /* Eliminamos redundancia de bg-color: se hereda de .section-light */
}

/* Cabecera de Sección */
.gallery .categories-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-bottom: 60px;
}

/* Grid de Escritorio */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 250px; 
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    /* Evitamos overflow aquí para que AOS no detecte mal el scroll */
}

/* Elemento de Galería Individual */
.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: var(--charcoal);
    border-radius: 2px;
    height: 100%;
    /* will-change ayuda al rendimiento pero solo en transform */
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* PILARES SIMÉTRICOS (Extremos) */
.item-tall { 
    grid-row: span 2; 
    height: 520px; 
}

/* Pilar derecho (última imagen) */
.gallery-item:last-child {
    grid-column: 4;
    grid-row: 1 / span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Overlay Premium */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.gallery-overlay span {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.7rem;
    border: 1px solid var(--white);
    padding: 10px 20px;
    pointer-events: none;
}

/* --- EFECTOS HOVER --- */
.gallery-item:hover img { 
    transform: scale(1.1); 
}

.gallery-item:hover .gallery-overlay { 
    opacity: 1; 
}

/* --- CONTENEDOR DE ACCIÓN --- */
.gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 30px; 
}

/* -----------------------------------------------------------------
    TRANSFORMACIÓN A SLIDER (TABLET & MÓVIL) - CORRECCIÓN ESPACIO FINAL
   ----------------------------------------------------------------- */
@media (max-width: 1200px) {
    /* 1. Blindaje total de la sección */
    section.gallery {
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
        padding: 60px 0;
    }

    /* 2. Liberamos el container */
    .gallery .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .gallery-viewport {
        width: 100%;
        max-width: 100vw; 
        overflow-x: auto;
        overflow-y: hidden;
        /* scroll-padding para que el snap respete los bordes */
        scroll-padding: 0 10vw; 
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    .gallery-viewport::-webkit-scrollbar {
        display: none;
    }

    .gallery-grid {
        display: flex; 
        flex-wrap: nowrap; 
        grid-template-columns: none;
        width: max-content; 
        gap: 15px;
        /* Usamos padding solo a la izquierda */
        padding: 0 0 0 10vw; 
        box-sizing: content-box;
    }

    /* EL SECRETO: Elemento invisible que empuja el borde derecho */
    .gallery-grid::after {
        content: "";
        display: block;
        flex: 0 0 10vw; /* El mismo ancho del padding-left */
        height: 1px;
        visibility: hidden;
    }

    .gallery-item {
        flex: 0 0 280px; 
        height: 380px; 
        scroll-snap-align: center;
        opacity: 1; 
        margin: 0; 
    }

    /* Reset de alturas y comportamientos de grid para el slider */
    .gallery-item.item-tall,
    .gallery-item:last-child {
        height: 380px;
        grid-row: auto; 
        grid-column: auto;
    }
}

/* =================================================================
   FAQ BLISS - MODERN ACCORDION (GRID INTERPOLATION) [cite: 2026-02-24]
   ================================================================= */

.faq-bliss {
    padding: 120px 0;
    background-color: var(--charcoal);
    position: relative;
    z-index: 1;
}

.faq-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 8%;
}

.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    list-style: none;
    /* Transición suave para el hover premium */
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s ease;
    /* Separación entre cada bloque de pregunta para que no se vean pegados verticalmente */
    margin-bottom: 10px;
}

/* Efecto de interacción sutil */
.faq-item:hover {
    background-color: rgba(212, 175, 55, 0.02);
    border-bottom-color: rgba(212, 175, 55, 0.5);
}

.faq-question {
    padding: 30px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    outline: none;
    user-select: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
    display: none;
}

.faq-question span {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: color 0.4s ease;
    font-family: var(--font-secondary);
}

.faq-question i {
    color: var(--gold);
    font-size: 0.8rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Lógica de Animación Suave (Grid Trick) --- */

.faq-answer-container {
    display: grid;
    grid-template-rows: 0fr; 
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-answer-container {
    grid-template-rows: 1fr; 
}

.faq-answer-content {
    overflow: hidden;
    min-height: 0;
}

.faq-answer-content p {
    color: var(--white);
    opacity: 0;
    line-height: 1.8;
    padding: 0 0 30px 0; /* Padding inferior para separar de la línea */
    /* Ajuste de márgenes internos de la respuesta */
    padding: 0 40px 40px 10px; /* 10px a la izquierda para alinear con la pregunta */
    transform: translateY(-15px);
    transition: all 0.5s ease;
}

/* --- ESTADOS ACTIVOS --- */

.faq-item[open] .faq-question i {
    transform: rotate(45deg);
}

.faq-item[open] .faq-question span {
    color: var(--gold);
}

.faq-item[open] .faq-answer-content p {
    opacity: 0.7;
    transform: translateY(0);
}

/* -----------------------------------------------------------------
   MEDIA QUERIES - FAQ RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 768px) {
    .faq-bliss {
        padding: 80px 5%;
    }

    .faq-question {
       padding: 30px 5px;
    }

    .faq-wrapper {
        padding: 0 10%; /* Aumentamos el margen en móvil para más elegancia */
    }

    .faq-question span {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .faq-answer-content p {
        padding: 0 10px 30px 5px; /* Eliminamos el padding derecho excesivo en móvil */
        font-size: 0.95rem;
    }
}

/* =================================================================
    REVIEWS BLISS - OPTIMIZACIÓN TÉCNICA (V4)
   ================================================================= */

.reviews-bliss {
    padding: 120px 5%;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 10px; 
}

.review-card {
    background: var(--white); /* Uso de tu variable global aprobada */
    padding: 50px 40px; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    /* Transición optimizada: Solo las propiedades que cambian en hover */
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-card:hover {
    border-bottom-color: var(--gold); /* Solo cambiamos el color, no la propiedad completa */
    transform: translateY(-10px);
}

.review-img {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    padding: 3px;
    flex-shrink: 0; /* Evita deformación en contenedores flex */
}

.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius heredado del padre */
}

.stars {
    color: var(--gold);
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: #555; /* Si tienes var(--text), cámbialo aquí */
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-author {
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    /* 1. La sección manda el corte */
    section.reviews-bliss {
        padding: 80px 0;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* 2. Liberamos el container para que no pelee con las tarjetas */
    .reviews-bliss .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .reviews-grid {
        display: flex;
        width: auto; /* Dejamos que fluya según sus hijos */
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 10%; /* Espaciado estético inicial */
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .review-card {
        flex: 0 0 85%; /* Tamaño estricto sin !important */
        min-width: 85%;
        scroll-snap-align: center;
        margin-bottom: 15px;
    }
}

/* =================================================================
    LOCATION BLISS - DISEÑO DE PRECISIÓN (SECTION DARK)
   ================================================================= */

/* 1. Usamos la variable de padding global si existe, si no, mantenemos tu diseño */
.location-bliss.section-dark {
    padding: 120px 5%;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    /* Aseguramos que el grid no rompa el flujo de AOS */
    overflow: visible; 
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0; /* Evita que el icono se comprima si el texto es largo */
}

/* El color de h3 y p ya es manejado por .section-dark */

/* 2. Contenedor del Mapa - Optimización de bordes y rendimiento */
.location-map {
    height: 450px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(197, 164, 126, 0.2); /* Usando var(--gold) con opacidad si es posible */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* hardware acceleration para un scroll suave */
    transform: translateZ(0); 
}

.location-map iframe {
    display: block; /* Elimina espacio inferior fantasma de elementos inline */
    width: 100%;
    height: 100%;
}

/* -----------------------------------------------------------------
    MEDIA QUERIES - LOCATION RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .location-map {
        height: 350px;
        order: -1; /* El mapa se mantiene arriba en móvil como prioridad */
        margin-bottom: 10px;
    }

    .location-bliss.section-dark {
        padding: 80px 5%; /* Ajuste de padding para pantallas pequeñas */
    }
}

/* =================================================================
   WHATSAPP FLOTANTE - PREMIUM PULSE EFFECT [RESPONSIVE FIX]
   ================================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366; 
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    /* EVITA EL DESCUADRE: impide que el pulso cree scroll horizontal */
    pointer-events: auto; 
}

.whatsapp-float i {
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 0; /* Aseguramos posición exacta */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        /* Reducimos ligeramente el ratio de 1.8 a 1.5 para seguridad en móviles pequeños */
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Ajuste para Móviles - Evita que el pulso toque el borde de la pantalla */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    /* En móviles muy estrechos, el pulso no debe ser tan agresivo */
    @keyframes whatsapp-pulse {
        0% { transform: scale(1); opacity: 0.7; }
        100% { transform: scale(1.4); opacity: 0; }
    }
}

/* =================================================================
   BLISS LUXURY FOOTER - DISEÑO ORIGINAL APROBADO [VERIFICADO]
=================================================================
*/

.bliss-footer {
    padding: 120px 0 60px; /* Tu espaciado de lujo original */
    background: #0a0a0a; 
    color: var(--white);
    overflow: hidden; /* Seguridad técnica para AOS */

   /* --- SOLUCIÓN TÉCNICA SEGURA --- */
    position: relative;
    width: 100%;
    /* Crea una sombra interna que expande el color negro hacia abajo */
    box-shadow: 0 50vh 0 50vh #0a0a0a; 
    /* Aseguramos que el footer se mantenga sobre esta sombra */
    clip-path: inset(0 0 -100vh 0);
}

/* Contenedor con tus márgenes del 8% */
.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 8%; 
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

/* Columna de Branding */
.footer-logo-img {
    max-width: 180px;
    filter: brightness(1.1);
    margin-bottom: 30px;
}

.footer-divider-gold {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 30px;
}

.footer-quote {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.7;
    max-width: 320px;
}

/* Labels de Columnas */
.col-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 40px;
}

/* Redes Sociales Stack */
.social-links-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s ease; /* Tu transición original */
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gold);
    transition: 0.4s;
    flex-shrink: 0; /* Mejora técnica: evita deformación */
}

.social-link-item:hover .icon-circle {
    background: var(--gold);
    color: #000;
}

.social-link-item:hover .link-label {
    padding-left: 10px;
    color: var(--gold);
}

.link-label {
    font-size: 0.9rem;
    transition: 0.4s;
}

/* Lista de Contacto */
.contact-stack {
    list-style: none;
    padding: 0;
}

.contact-stack li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    align-items: center;
}

/* AJUSTE PARA EL ENLACE DE MAPS: Mantiene simetría y hereda flex */
.footer-link-geo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
    width: 100%; /* Permite que el flex del padre controle el centrado */
}

.gold-icon {
    color: var(--gold);
    font-size: 0.8rem;
    flex-shrink: 0; /* Asegura alineación perfecta */
}

.contact-stack a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.contact-stack a:hover, 
.footer-link-geo:hover { 
    color: var(--gold); 
}

/* Barra Inferior de Copyright */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* -----------------------------------------------------------------
    RESPONSIVE - MANTENIENDO TU DISEÑO CENTRADO [SOLO REDES]
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
    .bliss-footer {
        padding: 80px 0 40px;
    }

    .footer-container {
        padding: 0 5%;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .footer-col.branding {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links-stack {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: fit-content;
        margin: 0 auto;
    }

    .footer-divider-gold { margin: 0 auto 25px auto; }
    .footer-quote { margin: 0 auto; }
    
    .social-link-item { 
        justify-content: flex-start; 
        width: 100%; 
    }

    /* AJUSTE DE SIMETRÍA: Ahora el enlace de Maps también se centra correctamente */
    .contact-stack li, 
    .footer-link-geo { 
        justify-content: center; 
        text-align: center; 
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .legal-links { justify-content: center; }
}


/* =================================================================
   MENU HAMBURGUESA Y MOBILE OVERLAY
   ================================================================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 2000;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 1px;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1500;
}

.mobile-menu.active { right: 0; }

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li { margin: 2rem 0; }

.mobile-nav-links a {
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* --- RESPONSIVE MENU --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 0;
    }
}

/* =================================================================
    BLISSOASIS - POP-UP COMPACTO & MODERNO (V2 PREMIUM)
   ================================================================= */

.promo-overlay-compact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(0px);
    display: none; /* Se activa con JS */
    justify-content: center;
    align-items: center;
    z-index: 20000;
    padding: 20px;
}

.promo-overlay-compact.is-visible {
    display: flex;
    backdrop-filter: blur(8px);
}

.promo-card-premium {
    background: var(--bg-white);
    width: 100%;
    max-width: 550px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.promo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(20%);
}

.promo-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.promo-content-minimal {
    position: relative;
    z-index: 10;
    padding: 60px 50px 50px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-header-center {
    margin-bottom: 25px;
}

.gold-line-centered {
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--flot-gold);
    margin: 0 auto 15px;
}

.promo-tagline {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    color: var(--flot-gold);
    display: block;
    margin-bottom: 10px;
}

.premium-title-compact {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: white;
    line-height: 1.2;
    font-weight: normal;
}

.promo-brief {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.promo-action-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.promo-action-area .btn-premium-gold {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
}

.promo-action-area .btn-premium-gold:hover {
    color: var(--white);
}

.promo-price-compact {
    text-align: center;
}

.current-price-gold {
    color: var(--flot-gold);
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.price-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-promo-gold {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 100;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-promo-gold:hover {
    color: var(--flot-gold);
    transform: scale(1.1);
}

/* -----------------------------------------------------------------
    RESPONSIVE - AJUSTE DE SIMETRÍA PARA MÓVIL (CORREGIDO)
   ----------------------------------------------------------------- */
@media (max-width: 500px) {
    .promo-card-premium { 
        max-width: 90%; 
        margin: 0 auto;
        border-radius: 8px;
        max-height: 85vh; 
        overflow: hidden;
    }

    .promo-content-minimal { 
        padding: 30px 20px 20px; /* Reducción de aire superior/inferior */
    }

    .promo-header-center {
        margin-bottom: 12px;
    }

    .premium-title-compact { 
        font-size: 1.4rem; /* Reducción para compensar el título largo */
        line-height: 1.1;
        margin-bottom: 5px;
    }

    .promo-brief {
        font-size: 0.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .promo-action-area {
        gap: 12px; /* Espacio más estrecho para subir el botón */
    }

    .current-price-gold { 
        font-size: 2rem; 
    }

    .promo-action-area .btn-premium-gold {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .close-promo-gold {
        top: 8px;
        right: 12px;
        font-size: 1.8rem;
    }
}