/* 
   REESTRUCTURACI�N DE ESTILOS - PROYECTO VERDESOL
   1. Definiciones (Fuentes, Variables, Tipograf�a Base)
   2. Componentes Globales
   3. Secciones Espec�ficas
*/

/* ==========================================================================
   1. DEFINICIONES
   ========================================================================== */

/* FUENTES */
@font-face {
    font-family: 'AinslieSans';
    src: url('../fonts/fonnts.com-Ainslie_Sans_Norm_Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AinslieSans';
    src: url('../fonts/fonnts.com-Ainslie_Sans_Norm_Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Quadrat';
    src: url('../fonts/Benzin-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quadrat';
    src: url('../fonts/Benzin-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* VARIABLES DE COLOR Y ESTRUCTURA */
:root {
    /* Paleta Institucional */
    --vs-green: #38963d;      /* Verde institucional */
    --vs-dark: #2a4031;       /* Verde oscuro de fondo */
    --vs-sun: #f39950;        /* Naranja del sol (acento) */
    --vs-white: #ffffff;
    --vs-light-bg: #f8f9fa;
    --vs-text-gray: #666666;
    
    /* Tipograf�a */
    --font-primary: 'AinslieSans', sans-serif;
    --font-secondary: 'Quadrat', serif;
    
    /* Configuraci�n */
    --max-width: 1920px;
}

/* TIPOGRAF�A BASE */
body {
    background-color: var(--vs-light-bg);
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-primary);
    color: var(--vs-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin: 0;
}

p {
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* Utilidades de entrada para textos con GSAP */
.anim-title-reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.anim-title-reveal__inner {
    display: inline-block;
    will-change: transform, opacity;
}

.anim-subtitle-stretch,
.anim-text-fade {
    will-change: transform, opacity;
}

.anim-subtitle-stretch {
    will-change: transform, opacity, letter-spacing;
}

.anim-image-reveal,
.anim-image-card,
.anim-image-logo,
.anim-image-panorama {
    will-change: transform, opacity, clip-path;
    transform: translateZ(0);
}

/* preloader */



/* Contenedor global bloqueando la interacción */
#verdesol-cinema-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    pointer-events: none;
    overflow: hidden;
}

/* Base común para ambas pantallas a pantalla completa */
.loader-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

/* --- CAPA NEGRA (Inicial) --- */
.layer-black {
    background-color: #0b0b0b; /* Negro profundo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: opacity 0.5s ease;
}

/* Animación sutil de entrada para tu logo */
.loader-logo-anim {
    width: 120px; /* Ajusta el tamaño según tu logo */
    opacity: 0;
    transform: scale(0.9);
    animation: logoEntrance 1s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes logoEntrance {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- CAPA BLANCA (La persiana que barre) --- */
.layer-white {
    background-color: #ffffff; /* Blanco limpio */
    z-index: 3;
    /* Inicia completamente oculta abajo de la pantalla */
    transform: translateY(100%);
    /* Curva bezier limpia para un deslizamiento fluido y orgánico */
    transition: transform 0.85s cubic-bezier(0.85, 0, 0.15, 1);
}

/* --- ESTADOS DE ANIMACIÓN (Controlados por JS) --- */

/* Paso 1: La capa blanca sube desde abajo y cubre la pantalla negra */
#verdesol-cinema-loader.step-white-up .layer-white {
    transform: translateY(0%);
}

/* Paso 2: La capa blanca se retrae/recoge hacia arriba (termina en la primera fila) */
#verdesol-cinema-loader.step-white-retract .layer-white {
    transform: translateY(-100%);
}






.site-footer-vs {
    position: relative;
    background:
        linear-gradient(135deg, rgba(42, 64, 49, 0.98) 0%, rgba(34, 54, 42, 0.98) 100%),
        radial-gradient(circle at top left, rgba(243, 153, 80, 0.12) 0%, rgba(243, 153, 80, 0) 42%);
    color: var(--vs-white);
    padding: 36px 0 34px;
    overflow: hidden;
}

.footer-topline-vs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background:
        linear-gradient(90deg, rgba(243, 153, 80, 0.2) 0%, rgba(243, 153, 80, 0.95) 18%, rgba(255, 255, 255, 0.9) 50%, rgba(243, 153, 80, 0.78) 82%, rgba(243, 153, 80, 0.2) 100%);
    box-shadow: 0 0 28px rgba(243, 153, 80, 0.3);
    transform-origin: center center;
}

.footer-inner-vs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-brand-vs,
.footer-meta-vs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 320px;
}

.footer-meta-vs {
    text-align: right;
    align-items: flex-end;
}

.footer-logo-vs {
    width: auto;
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.footer-copy-vs,
.footer-legal-vs,
.footer-contact-vs {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 1;
}

.footer-copy-vs {
    max-width: 560px;
}

.footer-legal-vs,
.footer-contact-vs {
    max-width: 420px;
}

.footer-contact-vs a {
    color: var(--vs-sun);
    text-decoration: none;
}

.footer-contact-vs a:hover {
    color: var(--vs-white);
}

@media (max-width: 767.98px) {
    .site-footer-vs {
        padding: 30px 0 108px;
    }

    .footer-inner-vs {
        align-items: flex-start;
    }

    .footer-meta-vs {
        text-align: left;
        align-items: flex-start;
    }

    .footer-copy-vs,
    .footer-legal-vs,
    .footer-contact-vs {
        max-width: none;
    }
}

/* ==========================================================================
   2. COMPONENTES GLOBALES
   ========================================================================== */

/* Optimizacin de Containers Nativos para soporte 1920px */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

@media (min-width: 1920px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1820px; /* Dejando margen lateral */
    }
}

.container-1920 {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.max-1920 {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* Botones Premium Verdesol (GSAP Powered) */
.btn-interactive-nature {
    --btn-hover-fill: var(--vs-sun);
    --btn-text-base: var(--vs-white);
    --btn-text-hover: var(--vs-white);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
    cursor: pointer;
    text-decoration: none !important;
    background-color: var(--vs-green);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    padding: 0 !important;
    transition: none !important; /* Sin transiciones CSS para evitar conflictos con GSAP */
    isolation: isolate;
}

.bg-slide-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 280%;
    background: radial-gradient(circle at center, var(--btn-hover-fill) 0%, color-mix(in srgb, var(--btn-hover-fill) 88%, transparent) 52%, rgba(255, 255, 255, 0) 100%);
    border-radius: 999px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
}

.light-shine {
    position: absolute;
    top: 0;
    left: -80px;
    width: 30px;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    transform: skewX(-20deg);
    pointer-events: none;
    will-change: transform;
}

.text-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.text-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.text-line {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--btn-text-base);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.04em;
    will-change: transform, opacity;
}

/* PADDINGS REFINADOS (Definen el tamaño visual del botón) */
.btn-vs-main .text-wrapper { padding: 16px 40px; font-size: 0.85rem; }
.btn-book .text-wrapper { padding: 10px 22px; font-size: 0.8rem; border-radius: 50px; }
.btn-primary-vs .text-wrapper { padding: 16px 36px; font-size: 0.85rem; }
.btn-vs-solid .text-wrapper { padding: 14px 32px; font-size: 0.85rem; }
.btn-vs-outline .text-wrapper { padding: 12px 28px; font-size: 0.8rem; }
.btn-vs-solid-cta .text-wrapper { padding: 18px 45px; font-size: 0.95rem; }

/* Forzar bordes redondeados específicos */
.btn-book { border-radius: 50px !important; background-color: var(--vs-sun); --btn-hover-fill: var(--vs-green); --btn-text-base: var(--vs-white); --btn-text-hover: var(--vs-white); }
.btn-vs-solid-cta { border-radius: 8px !important; }
.btn-vs-yellow { border-radius: 4px !important; background-color: var(--vs-sun); --btn-hover-fill: var(--vs-green); --btn-text-base: var(--vs-dark); --btn-text-hover: var(--vs-white); }
.btn-vs-yellow .text-wrapper { padding: 12px 25px; }

/* Base de Ripple Effect (conservado para mobile) */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: vs-ripple 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes vs-ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Clases de utilidad de texto */
.brand-h6-green {
    color: var(--vs-green) !important;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.brand-h6-orange, .h6-yellow {
    color: var(--vs-sun) !important;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.brand-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--vs-green);
    font-size: 3.2rem;
    line-height: 1.1;
}

.brand-title-white {
    color: var(--vs-white);
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ==========================================================================
   3. SECCIONES ESPEC�FICAS
   ========================================================================== */

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: transparent;
    padding: 20px 0;
    transition: all 0.4s ease-in-out;
}

.main-header.scrolled {
    background-color: rgba(56, 150, 61, 0.75); /* var(--vs-dark) con opacidad */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: all 0.4s ease;
}

.main-header.scrolled .navbar-brand img {
    height: 40px !important;
}

.nav-link {
    color: var(--vs-white) !important;
    font-weight: 500;
    margin: 0 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: var(--font-primary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--vs-sun);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--vs-sun) !important;
}

.menu-toggle-vs {
    border-color: rgba(243, 153, 80, 0.1) !important;
}

.navbar-toggler:focus,
.menu-toggle-vs:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 12px 0 rgba(243, 153, 80, 0.55);
}

.menu-toggle-box {
    position: relative;
    width: 22px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: var(--vs-white);
    transform-origin: center center;
}

.menu-toggle-line--top {
    top: 0;
}

.menu-toggle-line--middle {
    top: 7px;
}

.menu-toggle-line--bottom {
    bottom: 0;
}

/* Fix para el menú colapsable en móvil */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--vs-dark);
        margin-top: 15px;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        margin: 10px 0;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    pointer-events: none;
}

.hero-section .container,
.hero-section .social-sidebar {
    position: relative;
    z-index: 2;
}

/* Prevenir saltos de visibilidad antes de GSAP */
.reveal-line span, 
.hero-text, 
.hero-actions, 
.stat-item,
.navbar-brand,
.btn-book,
.navbar-toggler {
    opacity: 0;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    color: #ffffff !important;
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.reveal-line {
    overflow: hidden;
    display: block;
}

.reveal-line span {
    display: block;
}

.reveal-line span.text-accent {
    color: var(--vs-sun);
}

.hero-text {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 30px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: var(--font-primary);
}

/* Stats Row */
.stats-row-static {
    margin-top: auto;
    padding: 40px 0 0;
    color: var(--vs-white);
    width: 100%;
}

.stat-item h3 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
}

.stat-item h3::after {
    content: "+";
    color: var(--vs-sun);
    font-size: 1.5rem;
    vertical-align: top;
}

.stat-item p {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Social Sidebar */
.social-sidebar {
    position: absolute;
    right: 30px; 
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-sidebar a {
    color: var(--vs-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.6;
}
 
.social-sidebar a:hover {
    color: var(--vs-sun); 
    transform: scale(1.2);
    opacity: 1;
}

/* Secci�n 02 - Sobre Nosotros */
.section-v2-active {
    padding: 120px 0;
    overflow: visible;
}

.content-text-wrapper {
    max-width: 450px;
    padding: 20px;
}

.brand-description {
    color: var(--vs-text-gray);
    margin: 35px 0;
}

.image-center-crop {
    width: 60%;
    height: 750px;
    overflow: hidden;
    z-index: 1;
}

.image-center-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* #nosotros .w-100{ width: auto !important; } */
/* .benefit-card-overlay.w-100{ width: auto !important; } */
.benefit-card-overlay {
    background-color: var(--vs-green);
    color: var(--vs-white);
    width: 50%;
    padding: 80px 60px;
    position: absolute;
    right: 5%;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.benefit-image {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.benefit-item {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-content h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.icon-yellow {
    color: var(--vs-sun) !important;
    font-size: 2.2rem;
    line-height: 1;
}

/* Secci�n 03 - Partners */
.section-partners-vs {
    background-color: var(--vs-green);
    padding: 100px 0;
    text-align: center;
}

.brand-text-light {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.logos-row {
    margin-top: 60px;
}

.partner-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-decoration: none; /* Evita subrayados si es un link */
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    transition: 0.3s ease;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    object-fit: contain;
}

@media (max-width: 768px) {
    .section-partners-vs {
        padding: 60px 0;
    }
    .partner-logo-wrapper {
        height: 80px;
        padding: 10px;
    }
    .partner-logo-wrapper img {
        max-height: 40px;
    }
}

.partner-logo-wrapper img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   Sección 04 - Clubhouse
   ========================================================================== */

.section-clubhouse-final {
    background-color: var(--vs-white);
    padding: 120px 0;
}

.h2-green {
    color: var(--vs-green);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: var(--font-secondary);
}

.p-black {
    color: var(--vs-dark);
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn-vs-solid {
    background-color: var(--vs-green);
    color: var(--vs-white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-vs-solid:hover {
    color: var(--vs-white);
}

.amenity-card-final {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.amenity-card-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.amenity-card-final:hover img {
    transform: scale(1.1);
}

.overlay-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 90%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 1; /* Siempre visible */
    transition: background 0.3s ease;
}

.amenity-card-final:hover .overlay-hover {
    background: rgba(0,0,0,0.6);
}

.overlay-info {
    width: 100%;
    transition: transform 0.4s ease;
}

.overlay-info h4 {
    color: var(--vs-white);
    font-family: var(--font-secondary);
    margin-bottom: 5px;
    transition: transform 0.4s ease;
}

.overlay-info p {
    color: var(--vs-sun);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.amenity-card-final:hover .overlay-info p {
    opacity: 1;
    max-height: 50px;
    margin-top: 5px;
}

.amenity-card-final:hover .overlay-info {
    transform: translateY(-10px);
}

/* ==========================================================================
   Sección 05 - Experiencias (Slider)
   ========================================================================== */

.section-experience-vs {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.container-1920-full {
    width: 100%;
    height: 100%;
}

.experience-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.experience-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.experience-slider .slide.active {
    opacity: 1;
}

.experience-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.static-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    z-index: 10;
}

.static-content-overlay .container {
    width: 100%;
}

.text-box {
    max-width: 500px;
    color: var(--vs-white);
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
    background: #000;
}

.experience-video-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.h2-white {
    color: var(--vs-white);
    font-size: 4rem;
    line-height: 1;
    margin: 20px 0;
    font-family: var(--font-secondary);
}

.p-white {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   Sección 06 - Ventajas
   ========================================================================== */

.section-advantages-vs {
    background-color: var(--vs-light-bg);
    padding: 100px 0;
}

.advantage-item {
    padding: 30px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h4 {
    font-family: var(--font-secondary);
    color: var(--vs-dark);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--vs-text-gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Sección 07 - Testimonios
   ========================================================================== */

.section-testimonials-vs {
    position: relative;
    padding: 120px 0;
    background: url('../img/_MG_4899.jpg') center/cover fixed;
    overflow: hidden;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Usando vs-dark con opacidad */ 
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.testimonial-text {
    color: var(--vs-white);
    font-size: 2rem;
    font-family: var(--font-primary);
    line-height: 1.4;
    margin-bottom: 40px;
    font-style: italic;
}

.author-name {
    color: var(--vs-sun);
    font-weight: 700;
    margin-bottom: 5px;
}

.author-title {
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(243, 153, 80, 0.2);
    position: relative;
    right: 0;
    bottom: -20px;
}

/* Carrusel independiente en testimonios */
.section-testimonials-vs .carousel {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.section-testimonials-vs .carousel-inner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.section-testimonials-vs .carousel-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.section-testimonials-vs .carousel-indicators {
    margin-bottom: 10px;
}

.section-testimonials-vs .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    margin: 0 5px;
}

.section-testimonials-vs .carousel-indicators button.active {
    background: var(--vs-sun);
    border-color: var(--vs-sun);
}

.section-testimonials-vs .carousel-control-prev-icon,
.section-testimonials-vs .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 20px;
}

.p-white-light {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.btn-vs-outline {
    border: 2px solid var(--vs-sun);
    color: var(--vs-sun);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.btn-vs-outline:hover {
    color: var(--vs-dark);
}

/* ==========================================================================
   Sección 08 - Galería
   ========================================================================== */

.gallery-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 150, 61, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
}

.gallery-category {
    cursor: pointer;
}

.gallery-category-label {
    text-align: center;
    color: var(--vs-white);
}

.gallery-category-label h4 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.gallery-category-label span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.lightbox-btn {
    color: var(--vs-white);
    font-size: 2rem;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.gallery-lightbox.is-open {
    pointer-events: auto;
    visibility: visible;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 34, 27, 0.92);
    backdrop-filter: blur(10px);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    max-height: min(86vh, 920px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: min(86vh, 920px);
    object-fit: contain;
    background: #101812;
}

.gallery-lightbox-caption-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 1100px);
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gallery-lightbox-title,
.gallery-lightbox-counter {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.gallery-lightbox-title {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.gallery-lightbox-counter {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.62);
}

.gallery-lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(243, 153, 80, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.gallery-lightbox-close span {
    position: absolute;
    top: 22px;
    left: 12px;
    width: 24px;
    height: 2px;
    background: var(--vs-white);
    border-radius: 999px;
}

.gallery-lightbox-close span:first-child {
    transform: rotate(45deg);
}

.gallery-lightbox-close span:last-child {
    transform: rotate(-45deg);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(243, 153, 80, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.gallery-lightbox-prev {
    left: 18px;
}

.gallery-lightbox-next {
    right: 18px;
}

.gallery-lightbox-nav span {
    position: absolute;
    top: 26px;
    width: 15px;
    height: 2px;
    background: var(--vs-white);
    border-radius: 999px;
}

.gallery-lightbox-prev span:first-child,
.gallery-lightbox-next span:first-child {
    transform-origin: left center;
}

.gallery-lightbox-prev span:last-child,
.gallery-lightbox-next span:last-child {
    transform-origin: left center;
}

.gallery-lightbox-prev span:first-child {
    left: 18px;
    transform: rotate(-45deg);
}

.gallery-lightbox-prev span:last-child {
    left: 18px;
    transform: rotate(45deg);
}

.gallery-lightbox-next span:first-child {
    right: 18px;
    transform-origin: right center;
    transform: rotate(45deg);
}

.gallery-lightbox-next span:last-child {
    right: 18px;
    transform-origin: right center;
    transform: rotate(-45deg);
}

@media (max-width: 767.98px) {
    .gallery-lightbox {
        padding: 18px;
    }

    .gallery-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .gallery-lightbox-dialog,
    .gallery-lightbox-image {
        max-height: 78vh;
    }

    .gallery-lightbox-caption-wrap {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 14px;
    }

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;
    }

    .gallery-lightbox-prev {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}

.btn-vs-yellow {
    background-color: var(--vs-sun);
    color: var(--vs-dark);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

/* ==========================================================================
   Sección 09 - CTA Final
   ========================================================================== */

.section-cta-final {
    padding: 100px 0;
    position: relative;
    background-image: url('../img/carrusel03.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-cta-final .container {
    position: relative;
    z-index: 2;
}

.h2-white-cta {
    color: var(--vs-white);
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 3.7rem;
    padding-bottom: 7px;
}

.p-white-cta {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn-vs-solid-cta {
    background-color: var(--vs-sun);
    color: var(--vs-dark);
    padding: 20px 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
}

.btn-vs-solid-cta:hover {
    color: var(--vs-dark);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   WhatsApp Floating Button (Cinético)
   ========================================================================== */
.whatsapp-container-fixed {
    position: fixed;
    bottom: -10px;
    right: -10px;
    width: 140px;
    height: 140px;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-links-panel {
    position: absolute;
    bottom: 120px;
    right: 0;
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    z-index: 20;
    pointer-events: none;
}

.whatsapp-links-panel.show {
    pointer-events: auto;
}

.whatsapp-link-btn {
    background-color: var(--vs-green);
    color: var(--vs-white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-align: center;
    min-width: 140px;
    opacity: 0;
    position: relative;
    z-index: 25;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.whatsapp-link-btn:hover {
    background-color: var(--vs-sun);
    color: var(--vs-dark) !important;
}

#whatsappParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.btn-whatsapp-fixed {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--vs-green);
    border-radius: 50%;
    z-index: 10; /* Siempre encima del label */
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2), 0 4px 15px rgba(0,0,0,0.3); /* Sombra hacia la izquierda para solapar */
    text-decoration: none !important;
    overflow: visible;
}

.whatsapp-icon-wrapper {
    color: white;
    font-size: 30px;
    z-index: 12;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
    stroke: var(--vs-sun);
    stroke-linecap: round;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-anima 0.6s linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ripple-anima {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* ==========================================================================
   4. RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1400px) {
    .hero-content h1 { font-size: 5rem; }
    .brand-title { font-size: 2.5rem; }
    .benefit-image { width: 50px; height: auto; }
    .benefit-content h4 { font-size: 1.2rem; }
}

@media (max-width: 1200px) {
    .main-header { padding: 15px 30px; }
    .hero-content h1 { font-size: 4rem; }
    .section-clubhouse-final { padding: 80px 40px; }
    .h2-green { font-size: 2.8rem; }
    .benefit-card-overlay { width: 60%; right: 2%; padding: 40px; }
    .stat-item h3 { font-size: 2.2rem; }
    
}

@media (max-width: 991px) {
    .btn-book {
        display: none !important;
    }
    
    .navbar-brand {
        margin-right: 0;
        position: relative;
        z-index: 1102;
    }

    .main-header .container {
        flex-direction: row;
        position: relative;
    }

    .mobile-menu-controls {
        position: relative;
        z-index: 1102;
    }

    .menu-toggle-vs {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(8px);
        padding: 0;
    }
    
    /* Navbar Mobile */
    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        border: 0;
        background-color: transparent;
        backdrop-filter: none;
        z-index: 1090;
        overflow-y: auto;
    }

    .mobile-nav-overlay.show,
    .mobile-nav-overlay.collapsing {
        display: flex !important;
        height: 100dvh !important;
        align-items: stretch;
        justify-content: stretch;
        transition: none !important;
    }

    .mobile-nav-panel {
        width: 100%;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 120px 32px 48px;
        background-color: rgb(56, 150, 61);
    }

    .mobile-nav-panel .navbar-nav {
        width: 100%;
        align-items: center;
        gap: 12px;
    }

    .mobile-nav-panel .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .mobile-nav-panel .nav-link {
        display: inline-block;
        margin: 10px 0;
        font-size: 1.4rem;
        letter-spacing: 0.08em;
    }
    
    /* Secciones generales */
    .hero-section { height: auto; padding: 120px 5%; }
    .hero-content h1 { font-size: 3.5rem; text-align: center; }
    .hero-text { text-align: center; margin: 30px auto; }
    .hero-actions { display: flex; justify-content: center; }
    
    .stats-row-static { 
        margin-top: 40px;
        padding: 0 0 20px;
        text-align: center;
    }
    
    .hero-section .container {
        position: relative;
        z-index: 2;
        min-height: 0;
    }

    .hero-section {
        padding: 120px 0 40px;
        min-height: auto;
    }

    .social-sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: 20px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
        flex-direction: row !important;
        background: rgba(42, 64, 49, 0.9);
        padding: 10px 25px;
        border-radius: 50px;
        z-index: 999;
    }
    
    .image-center-crop { width: 100%; height: 500px; }

     
    .benefit-card-overlay {
        position: static;
        width: 100%;
        padding: 50px 30px;
        box-shadow: none;
        
    }

    .static-content-overlay { padding-left: 5%; justify-content: center; }
    .text-box { text-align: center; padding-right: 5%; }
    .h2-white { font-size: 3rem; line-height: 3.2rem;}
    
    .section-clubhouse-final { padding: 60px 20px; }
    .text-content-area { text-align: center; margin-bottom: 50px; }
}

@media (max-width: 768px) {
    .brand-title { font-size: 2.5rem; }
    .h2-green { font-size: 2.2rem; }
    .h2-white-cta { font-size: 2.5rem; }
    
    .stat-item { margin-bottom: 30px; text-align: center; }

    .testimonial-text { font-size: 1.4rem; }
    
    .amenity-card-final { height: 300px; }
    
    .gallery-item { height: 250px; }

    .app-iframe-container {
        --bs-aspect-ratio: 85vh !important; /* Ocupa el 85% del alto del celular */
    }
}

@media (max-width: 576px) {
    .hero-content h1 { font-size: 2.8rem; }
    .btn-book { padding: 10px 20px; font-size: 0.8rem; }
    .logo-placeholder { font-size: 1.2rem; }
    
    .btn-vs-solid-cta { padding: 15px 30px; font-size: 1rem; }
    .advantage-item h4 { font-size: 1rem;}
}
