/* --- ESTILOS BASE Y RESETEO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* --- NAVEGACIÓN Y HEADER --- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0; 
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    margin-right: 0;
    flex-shrink: 0;
}

.nav-logo .logo {
    height: 100px; 
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px; 
    align-items: center;
    margin: 0;
    flex-grow: 1; 
    justify-content: center; 
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans', sans-serif; 
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-menu li a[href="#home"],
.nav-menu li a:hover {
    color: #fff;
    border-bottom: 2px solid #e0c885;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    border-bottom: none;
}

.dropdown-menu a:hover {
    color: #a88b4a;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* --- SECCIÓN HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-top: 0;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* MANTENIDO: El valor de opacidad solicitado */
    opacity: 1.5; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(35, 78, 178, 0.75),
        rgba(120, 50, 150, 0.75)
    );
    z-index: -1;
    mix-blend-mode: multiply;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    height: 80px; 
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif; 
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 1;
    font-family: 'Open Sans', sans-serif;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    /* MANTENIDO: El color blanco solicitado */
    color: #ffffff;
    text-decoration: none;
    /* MANTENIDO: El borde blanco solicitado */
    border: 2px solid #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #e0c885;
    color: #1a1a1a;
    border: 2px solid #e0c885;
}

/* ===================================================
--- SECCIÓN OBJECTIVES (CON EFECTO SOLAPADO) ---
=================================================== 
*/
.objectives {
    padding: 100px 0;
    background: #faf4ed;
}

.objectives-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    font-size: 0.9rem;
    color: #a88b4a;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

.objectives-title {
    font-size: 2.5rem;
    color: #a88b4a;
    margin-bottom: 30px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.objectives-list {
    list-style: none;
}

.objectives-list li {
    padding: 12px 0 12px 20px;
    position: relative;
    font-size: 1.1rem;
    color: #555;
    font-family: 'Open Sans', sans-serif;
}

.objectives-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #a88b4a;
    font-size: 1.5rem;
}

/* Modificación Clave: Contenedor para posicionamiento absoluto */
.objectives-images {
    /* 1. Establece el contexto de posicionamiento para las imágenes absolutas */
    position: relative; 
    width: 100%; 
    min-height: 500px; /* Define una altura mínima para contener las imágenes */
    /* Eliminar `display: grid; grid-template-columns: 1fr 1fr; gap: 20px;` ya que usaremos absolute. */
}

.objectives-img {
    /* 2. Posiciona las imágenes de forma absoluta para la superposición */
    position: absolute; 
    width: 70%; /* Tamaño base de la imagen */
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Asegura el correcto cálculo de dimensiones */
}

/* ESTILOS PARA EL EFECTO SOLAPADO */

/* Imagen inferior (Resort pool) */
.overlap-bottom {
    top: 58px;
    left: -45px;
    width: 70%; /* Un poco más grande para el fondo */
    z-index: 10; /* Capa inferior */
    /* No necesita transformación si está en top:0, left:0, pero le daremos un ligero ajuste para asimetría */
    transform: translateX(-5%) translateY(10%);
}

/* Imagen superior (Vacation destination / Chica mirando) */
.overlap-top {
    /* Desplazar la imagen superior para crear el cruce */
    top: -70px; /* Desplazamiento hacia abajo */
    left: 122px; /* Desplazamiento hacia la derecha */
    width: 70%; /* Un poco más pequeña, con un marco blanco para el efecto "balcón" */
    z-index: 5; /* Capa superior */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
    transform: none; /* Quitamos el transform original si existe, o lo dejamos en none */
}

/* --- OTRAS SECCIONES --- */

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #2d3748;
    color: #fff;
    text-align: center;
    position: relative;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 40px;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    font-style: italic;
    font-family: 'Open Sans', sans-serif;
}

.testimonial-author {
    font-family: 'Open Sans', sans-serif;
}

.testimonial-location {
    font-family: 'Open Sans', sans-serif;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: transparent;
    border: 2px solid #a88b4a;
    color: #a88b4a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #a88b4a;
    color: #fff;
}

/* Entrapment Section */
.entrapment {
    padding: 25px 0;
    background: #faf4ed;
    text-align: center;
}

.entrapment-title {
    font-size: 2.8rem;
    color: #a88b4a;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.entrapment-content {
    max-width: 800px;
    margin: 0 auto;
}

.entrapment-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

/* Solution Section */
.solution {
    padding: 25px 0;
    background: #faf4ed;
    text-align: center;
}

.solution-title {
    font-size: 2.8rem;
    color: #a88b4a;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.solution-content {
    max-width: 800px;
    margin: 0 auto;
}

.solution-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: #fff;
    text-align: center;
    position: relative;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
    font-family: 'Open Sans', sans-serif;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: #faf4ed;
}

.process-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
    color: #a88b4a;
    font-family: 'Playfair Display', serif;
}

.process-steps {
    /* CAMBIO CLAVE: Usa flexbox para alinear elementos verticalmente */
    display: flex;
    flex-direction: column; /* CRÍTICO: Pone los pasos uno debajo del otro */
    gap: 60px; /* Espacio vertical entre los pasos */
    max-width: 800px; /* Limita el ancho del contenido al centro */
    margin: 0 auto; /* Centra el listado */
}

.process-step {
    /* Ya está bien para alinear el número 01 y el texto horizontalmente */
    display: flex; 
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Línea divisoria */
}

.step-number {
    font-size: 4rem;
    font-weight: 300;
    color: #a88b4a;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.step-content p {
    color: #555;
    line-height: 1.7;
    font-family: 'Open Sans', sans-serif;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: #fff;
    position: relative;
}

.faq-title {
    font-family: 'Playfair Display', serif;
}

.faq-answer p {
    font-family: 'Open Sans', sans-serif;
}


.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    z-index: 0;
}

.faq-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.faq-header {
    padding-top: 25px;
}

.faq-label {
    font-size: 0.9rem;
    color: #a88b4a;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.faq-title {
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    padding: 25px 0;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #a88b4a;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 25px;
    min-height: fit-content;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo-img {
    height: 60px;
    /*filter: brightness(0) invert(1);*/
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 5px;
    font-size: xx-small;
}

.disclaimer {
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    /* Navegación y Header */
    .header {
        position: fixed;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px 0;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-logo .logo {
        height: 80px;
    }

    .nav-logo {
        margin-right: 0;
    }

    .nav-menu {
        flex-grow: 0;
        justify-content: flex-start;
        display: none;
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: #333;
        padding: 10px 0;
        border-bottom: none;
    }

    .nav-menu li a[href="#home"],
    .nav-menu li a:hover {
        color: #a88b4a;
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: #333;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Modificación Clave para Responsiveness (Móvil) */
    .objectives-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .objectives-images {
        /* Restablece el comportamiento normal en móvil */
        position: static; 
        min-height: auto; /* Ya no necesitamos una altura fija */
        display: grid; 
        grid-template-columns: 1fr; /* Una imagen debajo de la otra */
        gap: 30px; /* Espacio entre ellas */
    }

    .objectives-img {
        /* Las imágenes ocupan todo el ancho disponible */
        position: static;
        width: 100%;
        height: auto;
    }

    /* Resetea los estilos de superposición y posicionamiento para móvil */
    .overlap-top, .overlap-bottom {
        transform: none;
        z-index: auto;
        top: auto;
        left: auto;
        width: 100%; /* Asegura que usen todo el ancho del nuevo grid */
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    /* FIN de Modificación Clave para Responsiveness (Móvil) */

    .objectives-title {
        font-size: 1.6rem;
    }

    .entrapment-title,
    .solution-title,
    .process-title,
    .cta-title {
        font-size: 1.8rem;
    }

    .faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-logo .logo {
        height: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .step-number {
        font-size: 3rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
}