﻿/* ==========================================================================
   1. VARIABLES Y RESET
   ========================================================================== */
:root {
    --primary-color: #111111;
    --accent-color: #8C7863; /* Tono arena/tierra de lujo */
    --text-light: #F9F8F6;
    --text-dark: #2C2A29;
    --bg-light: #F4F1EA;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'DM Sans', sans-serif;
    --transition: cubic-gradient(0.25, 1, 0.5, 1) 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & NAVEGACIÓN (Sticky & Logo Config)
   ========================================================================== */
/* ==========================================================================
   NAVEGACIÓN FIJA CON FONDO BLANCO SEMITRANSPARENTE (0.5) Y DEGRADADO
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    /* Fondo fijo blanco semitransparente al 0.5 con degradado horizontal */
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.5) 0%, rgba(247, 245, 242, 0.5) 100% ) !important;
    /* Cristal esmerilado permanentemente activado */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Sombra sutil permanente */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* Enlaces del menú siempre en color negro */
.nav-menu a {
    color: #111111 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--accent-color, #8c7863) !important;
    }

/* Botón "Reservar" en color negro */
.btn-nav {
    color: #ffffff !important;
    background-color: #111111 !important;
    border: 1px solid #111111 !important;
    transition: all 0.3s ease;
}

    .btn-nav:hover {
        background-color: var(--accent-color, #8c7863) !important;
        border-color: var(--accent-color, #8c7863) !important;
    }

/* Icono de menú hamburguesa móvil siempre en negro */
.mobile-menu-toggle .bar {
    background-color: #111111 !important;
}

/* Fondo desplegable móvil */
@media (max-width: 992px) {
    .nav-menu {
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

        .nav-menu a {
            color: #111111 !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
}

    /* Esta clase se activará dinámicamente con JavaScript al hacer scroll */

    .main-header.scrolled {
        /* Degradado horizontal: De blanco (50% opacidad) a beige cálido (50% opacidad) */
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.5) 0%, rgba(247, 245, 242, 0.5) 100% ) !important;
        /* Cristal esmerilado para desenfocar el fondo que pasa por detrás */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        /* Sombra sutil para delimitar la barra */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        padding: 12px 0;
    }

        /* Letras y elementos en color negro nítido */
        .main-header.scrolled .nav-menu a {
            color: #111111 !important;
            font-weight: 500;
        }

            .main-header.scrolled .nav-menu a:hover,
            .main-header.scrolled .nav-menu a.active {
                color: var(--accent-color, #8c7863) !important;
            }

        .main-header.scrolled .mobile-menu-toggle .bar {
            background-color: #111111 !important;
        }

        .main-header.scrolled .btn-nav {
            color: #ffffff !important;
            background-color: #111111 !important;
            border-color: #111111 !important;
        }

.header-container {
    width: 92%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

    .logo-link:hover {
        transform: scale(1.02);
    }

.brand-logo {
    height: 75px; /* Altura ideal y proporcional para el menú */
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

    .nav-menu a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 400;
        transition: opacity 0.3s ease;
    }

        .nav-menu a:hover {
            opacity: 0.65;
        }

.btn-nav {
    background-color: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .btn-nav:hover {
        background-color: transparent;
        color: var(--text-light);
        box-shadow: inset 0 0 0 1px var(--text-light);
    }

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.4) 0%, rgba(17,17,17,0.2) 60%, rgba(17,17,17,0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    width: 90%;
    max-width: 800px;
    padding-bottom: 40px;
    margin-top:12vh;
}

    .hero-content h1 {
        font-family: var(--font-serif);
        font-size: 3.5rem;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 24px;
        letter-spacing: -1px;
    }

        .hero-content h1 .italic {
            font-style: italic;
            font-family: var(--font-serif);
        }

    .hero-content p {
        font-size: 1.1rem;
        font-weight: 300;
        margin-bottom: 40px;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(249, 248, 246, 0.4);
    padding: 16px 36px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

    .btn-primary:hover {
        background-color: var(--text-light);
        color: var(--primary-color);
        border-color: var(--text-light);
    }

/* ==========================================================================
   4. MOTOR DE RESERVAS (DESKTOP)
   ========================================================================== */
.booking-bar-desktop {
    background-color: var(--primary-color);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.booking-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.booking-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .booking-field label {
        color: var(--accent-color);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
    }

    .booking-field input,
    .booking-field select {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(249, 248, 246, 0.2);
        color: var(--text-light);
        padding: 10px 0;
        font-family: var(--font-sans);
        font-size: 1rem;
        outline: none;
        width: 100%;
        border-radius: 0;
    }

        .booking-field input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1);
            opacity: 0.5;
        }

.btn-submit {
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-submit:hover {
        background-color: #756350;
    }

/* ==========================================================================
   5. BARRA DE ACCIÓN MÓVIL (Estilo iPhone)
   ========================================================================== */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 40px;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-info {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 0.65rem;
    color: rgba(249, 248, 246, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.price-night {
    font-size: 0.75rem;
    color: rgba(249, 248, 246, 0.6);
}

.btn-mobile-book {
    background-color: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* ==========================================================================
   ESTILOS DEL BOTÓN HAMBURGUESA (Siempre oculto en Desktop)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-light);
        transition: all 0.3s ease;
    }

    /* Animación del botón a "X" al abrirse */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

/* ==========================================================================
   6. RESPONSIVO ACTUALIZADO (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .btn-nav, .booking-bar-desktop {
        display: none !important;
    }

    /* Activamos el botón hamburguesa */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Convertimos el menú en un panel de pantalla completa estilo iOS */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.95); /* Fondo oscuro premium */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1500;
        /* Efecto de desaparición por defecto */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

        /* Estado cuando el menú móvil está abierto */
        .nav-menu.active {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .nav-menu a {
            font-size: 1.4rem; /* Fuente más grande y táctil para móviles */
            letter-spacing: 3px;
        }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .mobile-action-bar {
        display: block;
    }
}

/* ==========================================================================
   7. SECCIÓN INTRO / MANIFIESTO
   ========================================================================== */
.intro-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.intro-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    align-items: center;
    gap: 80px;
}

/* Asegura el comportamiento responsivo del video embebido */
.intro-image-wrapper iframe {
    pointer-events: none; /* Evita que el usuario pause o interactúe con los controles ocultos de YouTube */
    border: none;
}

.subtitle-branding {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 500;
}

.intro-text h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 300;
}

.intro-image-wrapper {
    position: relative;
    width: 100%;
    /* Cambiamos a proporción 16:9 para que coincida con el formato nativo de YouTube */
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: var(--primary-color); /* Fondo negro por si tarda en cargar */
}

.intro-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    /* Centramos el video perfectamente */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Para imágenes */
}

/* TRUCO MAESTRO: Forzamos al iframe de YouTube a comportarse como "object-fit: cover" */
.intro-image-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 101%; /* Un 1% extra para devorar cualquier borde residual */
    height: 101%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ==========================================================================
   8. GRID DE HABITACIONES (Configuración de 5 Suites)
   ========================================================================== */
.suites-section {
    padding: 100px 0;
    background-color: #FDFDFB; /* Variación sutil de blanco */
}

.section-title-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    text-align: center;
}

    .section-title-wrapper h2 {
        font-family: var(--font-serif);
        font-size: 2.8rem;
        font-weight: 400;
        color: var(--primary-color);
    }

.suites-grid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Suite Destacada (Ocupa 2 columnas en desktop) */
.suite-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.suite-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

.suite-image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* Proporción cinematográfica moderna */
}

.suite-card.featured .suite-image-box {
    aspect-ratio: 16 / 9;
}

.suite-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efecto Zoom en Hover de imagen */
.suite-card:hover .suite-image-box img {
    transform: scale(1.04);
}

.suite-info {
    padding: 24px 0;
}

.suite-card.featured .suite-info {
    padding: 0 20px;
}

.suite-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.suite-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 300;
}

.btn-suite-link {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

    .btn-suite-link:hover {
        color: var(--accent-color);
        padding-left: 5px;
    }

/* ==========================================================================
   9. RESPONSIVO SECCIONES MEDIAS
   ========================================================================== */
@media (max-width: 992px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image-wrapper {
        /* En móvil podemos darle un formato 4:3 un poco más alto para que luzca más, 
           el truco del CSS centrará el video y cortará los lados sobrantes de forma invisible */
        padding-bottom: 75%;
        order: -1; /* Mantiene el video arriba del texto */
    }

    .intro-text h2, .section-title-wrapper h2 {
        font-size: 2.2rem;
    }

    .suites-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        gap: 40px;
    }

    .suite-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

        .suite-card.featured .suite-info {
            padding: 24px 0 0 0;
        }
}

/* ==========================================================================
   10. MOSAICO DE EXPERIENCIAS (CSS Grid Avanzado)
   ========================================================================== */
.experiences-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.experiences-mosaic {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

    .mosaic-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0.85;
        transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    }

    /* Hover de las experiencias */
    .mosaic-item:hover img {
        transform: scale(1.05);
        opacity: 0.7;
    }

/* ==========================================================================
   SECCIÓN EXPERIENCIAS (GRID DE 6 CARDS)
   ========================================================================== */
.experiences-section {
    padding: 90px 20px;
    background-color: var(--bg-light, #faf8f5);
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.experience-card {
    background-color: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.05);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .experience-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

.experience-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #000000;
}

    .experience-media img,
    .experience-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.experience-card:hover .experience-media img,
.experience-card:hover .experience-media video {
    transform: scale(1.05);
}

.experience-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

    .experience-content h3 {
        font-family: var(--font-serif, 'Playfair Display', serif);
        font-size: 1.4rem;
        color: var(--primary-color, #111111);
        margin-bottom: 12px;
    }

    .experience-content p {
        font-size: 0.92rem;
        line-height: 1.6;
        color: #555555;
        margin-bottom: 20px;
        flex-grow: 1;
    }

.btn-card-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color, #8c7863);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .btn-card-link:hover {
        color: #111111;
    }

/* Adaptación Responsiva */
@media (max-width: 992px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .experiences-grid {
        grid-template-columns: 1fr;
    }
}

/* Textos sobrepuestos de forma sutil */
.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(0deg, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0) 100%);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .mosaic-caption h4 {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .mosaic-caption p {
        font-size: 0.9rem;
        font-weight: 300;
        opacity: 0.85;
        line-height: 1.4;
        max-width: 450px;
    }

/* ==========================================================================
   11. BANNER DE CIERRE DE CONVERSIÓN
   ========================================================================== */
.cta-closure-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.cta-closure-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cta-closure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.45);
    z-index: 2;
}

.cta-closure-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    width: 90%;
    max-width: 600px;
}

    .cta-closure-content h2 {
        font-family: var(--font-serif);
        font-size: 2.8rem;
        font-weight: 400;
        margin-bottom: 20px;
    }

    .cta-closure-content p {
        font-size: 1.05rem;
        font-weight: 300;
        margin-bottom: 32px;
        opacity: 0.9;
    }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.main-footer {
    background-color:#dfcebf;
    color: #2e1f2e;
    padding: 80px 0 120px 0; /* Padding inferior extra para no tapar la barra móvil */
}

.footer-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-brand h3 {
    font-family: var(--font-sans);
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #2e1f2e;
    font-weight: 300;
}

.footer-copy {
    font-size: 0.75rem !important;
}

.footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links h4, .footer-social h4 {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #2e1f2e;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .footer-links a, .footer-social a {
        color: #2e1f2e;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 300;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .footer-links a:hover, .footer-social a:hover {
            opacity: 1;
        }

/* ==========================================================================
   13. RESPONSIVO SECCIONES FINALES
   ========================================================================== */
@media (max-width: 992px) {
    .experiences-mosaic {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .block-wellness, .block-dining, .block-ocean {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
        margin-top: 0;
    }

    .mosaic-caption {
        padding: 24px;
    }

    .cta-closure-content h2 {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   14. SECCIÓN OCEAN CLUB & DAYPASS (Actualizado con Datos de Menú)
   ========================================================================== */
.inner-hero {
    height: 80vh;
}

.club-official-intro {
    padding: 100px 0 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.club-container-narrow {
    width: 90%;
    max-width: 750px;
    margin: 0 auto;
}

    .club-container-narrow h2 {
        font-family: var(--font-serif);
        font-size: 2.6rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

/* Plan de Precios Daypass */
.daypass-pricing-section {
    padding: 80px 0;
    background-color: #FDFDFB;
}

.daypass-grid {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.daypass-card {
    background: var(--bg-light);
    border: 1px solid rgba(17, 17, 17, 0.05);
    padding: 50px 40px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* Tarjeta Destacada */
    .daypass-card.premium-badge-container {
        background-color: #ffffff;
        box-shadow: 0 20px 40px rgba(140, 120, 99, 0.06);
        border: 1px solid var(--accent-color);
    }

.card-badge {
    position: absolute;
    top: -14px;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 6px 14px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.daypass-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

    .price-box .amount {
        font-size: 3.5rem;
        font-weight: 400;
        font-family: var(--font-sans);
        color: var(--primary-color);
        line-height: 1;
    }

    .price-box .currency {
        font-size: 1.2rem;
        color: var(--accent-color);
        margin: 0 6px;
        font-weight: 500;
    }

.refund-policy {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 280px;
}

.card-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .card-benefits li {
        font-size: 0.9rem;
        color: #555555;
        font-weight: 300;
    }

/* Sección de Menú */
.menu-highlights-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.menu-preview-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.menu-preview-column h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(140, 120, 99, 0.3);
    padding-bottom: 8px;
}

.menu-preview-item {
    margin-bottom: 28px;
}

.item-main-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

    .item-main-info h4 {
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--primary-color);
    }

    .item-main-info span {
        font-family: var(--font-serif);
        color: var(--accent-color);
        font-weight: 500;
    }

.menu-preview-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4A4A4A;
    font-weight: 300;
}

/* Caja de Contacto Directo */
.direct-contact-box {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

    .direct-contact-box p {
        font-size: 0.9rem;
        opacity: 0.7;
        margin-bottom: 0;
    }

.whatsapp-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366; /* Verde corporativo WhatsApp */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

    .whatsapp-direct-link:hover {
        transform: translateY(-2px);
    }

.wifi-info-badge {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
    letter-spacing: 0.3px;
}

/* Responsivo para la vista de menú y precios */
@media (max-width: 850px) {
    .daypass-grid, .menu-preview-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .daypass-card {
        padding: 40px 24px;
    }
}





/* ==========================================================================
   15. BOTÓN DE DESCARGA Y GALERÍA DE IMÁGENES
   ========================================================================== */

/* Estilo del Botón de Descarga PDF */
.btn-download-menu {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 28px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
}

    .btn-download-menu:hover {
        background-color: var(--primary-color);
        color: var(--text-light);
    }

/* Estilo de la Galería Grid */
.club-gallery-section {
    padding: 80px 0;
    background-color: #FDFDFB;
}

.gallery-grid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
    gap: 20px;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    background-color: #eee; 
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Efecto elegante al pasar el cursor sobre la foto */
    .gallery-item:hover img {
        transform: scale(1.04);
    }

/* Responsivo para la Galería */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 sola columna en pantallas móviles */
        gap: 12px;
    }
}


/* ==========================================================================
   16. NUEVAS AMENIDADES, ZONAS Y REGLAMENTO OCEAN CLUB
   ========================================================================== */

/* Cintillo de Amenidades */
.club-amenities-ticker {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-wrap {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.9;
}

    .ticker-wrap span {
        margin: 0 10px;
    }

/* Meta Info Horarios */
.meta-info-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 32px;
}

.meta-box {
    background: #ffffff;
    padding: 20px 35px;
    border: 1px solid rgba(17, 17, 17, 0.05);
    border-radius: 2px;
    min-width: 220px;
}

    .meta-box h5 {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--accent-color);
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .meta-box p {
        font-size: 0.95rem;
        margin-bottom: 0 !important;
        font-weight: 400;
    }

.closed-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: #ff4d4d;
    font-weight: 500;
    margin-top: 4px;
}

/* Cuadrícula de las 6 Zonas */
.club-zones-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.zones-grid {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.zone-card {
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.zone-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

    .zone-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.zone-card:hover .zone-img-box img {
    transform: scale(1.03);
}

.zone-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

    .zone-info h3 {
        font-family: var(--font-serif);
        font-size: 1.35rem;
        color: var(--primary-color);
        margin-bottom: 12px;
    }

    .zone-info p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-dark);
        font-weight: 300;
        margin-bottom: 0;
    }

/* Sección de Reglas de Convivencia */
.club-rules-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.rules-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.rule-block {
    text-align: center;
}

.rule-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.rule-block h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.rule-block p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555555;
    font-weight: 300;
}

.rules-disclaimer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--accent-color);
}

/* Ajustes de Responsivo */
@media (max-width: 992px) {
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rules-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 650px) {
    .zones-grid {
        grid-template-columns: 1fr;
    }

    .meta-info-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .meta-box {
        width: 100%;
        max-width: 300px;
    }
}


/* ==========================================================================
   17. PÁGINA INTERNA: VILLAS & BUNGALOWS
   ========================================================================== */
/* Barra de Amenidades Premium */
.rooms-amenities-bar {
    background-color: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.amenities-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.amenity-icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Filas de Exhibición de Habitaciones */
.detailed-rooms-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.rooms-showcase-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px; /* Separación elegante entre opciones */
}

.room-showcase-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

    /* Invierte el orden para el efecto de zigzag */
    .room-showcase-row.reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }

        .room-showcase-row.reverse .room-showcase-gallery {
            order: 2;
        }

        .room-showcase-row.reverse .room-showcase-details {
            order: 1;
        }

.room-showcase-gallery {
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

    .room-showcase-gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.room-category-tag {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.room-showcase-details h2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.room-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: 30px;
}

/* Cuadrícula de Especificaciones Internas */
.room-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 24px;
    margin-bottom: 35px;
}

.spec-item {
    font-size: 0.9rem;
    color: #555555;
    font-weight: 300;
}

    .spec-item strong {
        color: var(--primary-color);
        font-weight: 500;
    }

/* Botón de Reserva por Habitación */
.btn-room-book {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-room-book:hover {
        background-color: var(--accent-color);
    }

/* Responsivo Alojamientos */
@media (max-width: 992px) {
    .room-showcase-row, .room-showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

        .room-showcase-row.reverse .room-showcase-gallery,
        .room-showcase-row.reverse .room-showcase-details {
            order: initial;
        }

    .room-showcase-gallery {
        aspect-ratio: 16 / 10;
    }

    .room-showcase-details h2 {
        font-size: 2rem;
    }

    .amenities-container {
        justify-content: center;
        gap: 24px;
    }
}

/* Estilos para los Badges e Info Técnica de la Villa */
.room-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.badge-item {
    background-color: rgba(140, 120, 99, 0.08); /* Tono arena muy suave */
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.extra-guest-note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--accent-color);
    margin-top: -15px;
    margin-bottom: 30px;
    display: block;
}

/* ==========================================================================
   18. COMPONENTES EXCLUSIVOS: SPA & RITUALES
   ========================================================================== */
.duration-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.zone-pricing {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(17, 17, 17, 0.06);
}

    .zone-pricing p {
        font-size: 0.95rem;
        margin-bottom: 6px;
        color: var(--text-dark);
    }

    .zone-pricing strong {
        color: var(--primary-color);
        font-size: 1.1rem;
    }

/* Listado de Paquetes Conceptuales */
.packages-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.package-item-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed rgba(140, 120, 99, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

    .package-header h3 {
        font-family: var(--font-serif);
        font-size: 1.4rem;
        color: var(--primary-color);
        margin: 0;
    }

.p-duration {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 500;
}

.package-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.package-rates {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
}

    .package-rates strong {
        color: var(--primary-color);
    }

/* Nota Operativa */
.spa-important-note {
    background-color: rgba(140, 120, 99, 0.05);
    padding: 24px;
    border-left: 2px solid var(--accent-color);
    margin-top: 40px;
}

    .spa-important-note p {
        font-size: 0.85rem;
        line-height: 1.6;
        color: var(--text-dark);
        margin: 0;
    }

/* Tabla de Masajes */
.massage-pricing-table {
    width: 100%;
    margin: 35px 0;
    border-collapse: collapse;
}

.massage-row-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 14px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.massage-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    align-items: center;
    font-size: 0.95rem;
}

.m-time {
    font-weight: 500;
    color: var(--primary-color);
}

.massage-upgrade-box {
    background-color: #fcfbfa;
    padding: 16px 20px;
    border: 1px solid rgba(140, 120, 99, 0.15);
    text-align: center;
    font-size: 0.9rem;
}

.cta-restriction-text {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Responsivo para el Menú de Spa */
@media (max-width: 768px) {
    .package-header {
        flex-direction: column;
        gap: 5px;
    }

    .package-rates {
        flex-direction: column;
        gap: 8px;
    }

    .massage-row-header, .massage-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}
/* ==========================================================================
   19. GALERÍAS EN LÍNEA (SPACES WEDDINGS)
   ========================================================================== */
.space-gallery-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 20px 0;
    padding-bottom: 10px;
    /* Ocultar barra de scroll en navegadores modernos */
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 120, 99, 0.3) transparent;
}

    /* Ocultar barra en Webkit (Chrome/Safari) si se prefiere una estética más minimalista */
    .space-gallery-scroll::-webkit-scrollbar {
        height: 4px;
    }

    .space-gallery-scroll::-webkit-scrollbar-thumb {
        background: rgba(140, 120, 99, 0.2);
        border-radius: 2px;
    }

    .space-gallery-scroll img {
        flex: 0 0 calc(50% - 8px); /* Muestra 2 imágenes en escritorio */
        scroll-snap-align: start;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 2px;
        background-color: #f7f5f2;
    }

/* Ajuste responsivo para pantallas móviles (Muestra 1 imagen completa por vista) */
@media (max-width: 768px) {
    .space-gallery-scroll {
        gap: 10px;
    }

        .space-gallery-scroll img {
            flex: 0 0 100%;
        }
}

/* ==========================================================================
   20. REPRODUCTOR DE VIDEO LOCAL (HTML5)
   ========================================================================== */
.wedding-video-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0 auto;
    aspect-ratio: 16 / 9; /* Formato panorámico limpio */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 17, 17, 0.05);
    background-color: #000000;
    overflow: hidden;
    border-radius: 2px;
}

    .wedding-video-container video {
        width: 100%;
        height: 100%;
        /* Recorta y expande el video automáticamente eliminando franjas negras */
        object-fit: cover;
        display: block;
    }

@media (max-width: 768px) {
    .wedding-video-container {
        margin-top: 30px;
        aspect-ratio: 4 / 3; /* Proporción más alta y cómoda para pantallas móviles */
    }
}