:root {
    --secondary-dark: #110B0B;
    --grayscale-background: #FCFCFC;
    --secondary-default: #A39E80;
    --sky-20: #CCDBE0;
}


/* Estilos aplicados con !important para evitar conflictos con otras secciones
de la web (Estilos aplicados en Sass) */
.home-vv {
    background-color: var(--secondary-dark) !important;
}

.step-reserves--home {
    background-color: var(--secondary-dark) !important;
}

.s7-steps-button,
.s6-btn {
    color: var(--secondary-dark) !important;
}

.s7-steps-button:hover,
.s6-btn:hover {
    color: var(--secondary-default) !important;
}

a:visited {
    text-decoration: none;
    color: initial;
}

/* Section 2 */
.s2-amenities-section {
    background-color: var(--secondary-dark);
    padding: 60px 24px 0;
    overflow: hidden;
}

.s2-amenities-container {
    max-width: 1316px;
    margin: 0 auto;
    position: relative;
}

.amenities-swiper {
    position: static;
    /* Importante para posicionar controles en desktop */
}

.s2-slide-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
    color: var(--grayscale-background);
    max-width: 400px;
    margin: 0 auto;
}

/* --- Imágenes --- */
.s2-amenity-images {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Limita el tamaño en móviles */
}

.image-main-wrapper {
    border-radius: 48px;
    overflow: hidden;
    width: 84%;
}

.image-main-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.image-secondary-wrapper {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 35%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image-secondary-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.decorative-element {
    position: absolute;
    top: -10px;
    right: 0;
    width: 96px;
    height: 96px;
}

.decorative-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* --- Texto y Botón --- */
.s2-amenity-info {
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.pre-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-default);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.amenity-title {
    font-size: 2.6rem;
    font-weight: bold;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.s2-amenity-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    /* Consistente con las imágenes */
    margin-bottom: 30px;
    color: var(--secondary-default);
}

.s2-amenity-description span {
    color: #FCFCFC;
}

.amenity-button {
    background-color: var(--secondary-default);
    color: var(--secondary-dark);
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background-color 0.3s;
}

.amenity-button:hover {
    background-color: var(--secondary-dark);
    color: var(--secondary-default) !important;
    border: 1px solid var(--secondary-default);
}

/* --- Controles Swiper (Mobile) --- */
.swiper-navigation {
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    align-items: center;
    display: none;
}

.swiper-navigation-mobile {
    display: flex;
    gap: 22px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    margin-top: 0;
    border: 1px solid #FCFCFC;
    border-radius: 50%;
    color: var(--grayscale-background);
    transition: background-color 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem;
    font-weight: bold;
}

.swiper-pagination {
    display: none;
    /* Oculto en mobile según diseño */
}

/* --------------------------- */
/*          Section 3         */
/* ------------------------- */
.models-section {
    background-color: var(--secondary-dark);
    color: #fff;
    padding: 20px;
    overflow: hidden;
    /* Ajusta a tu fuente */
}

.btn-primary-models {
    background-color: var(--secondary-default);
    color: var(--secondary-dark) !important;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1rem;
    border: 1px solid transparent;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary-models:hover {
    background-color: var(--secondary-dark);
    color: var(--secondary-default) !important;
    border: 1px solid var(--secondary-default);
}

.btn-secondary-models {
    border: 1px solid var(--grayscale-background);
    background-color: var(--secondary-dark);
    color: var(--grayscale-background) !important;
}

.btn-secondary-models:hover {
    background-color: var(--secondary-default);
    color: var(--secondary-dark) !important;
}

.models-container {
    max-width: 1316px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* --- Navegación (vistas previas) --- */
.models-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
}

.models-nav-item {
    border: none;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    width: 87px;
    min-width: 87px;
    /* Ancho por defecto */
    height: 211px;
    cursor: pointer;
    padding: 0;
    background: none;
    opacity: 0.6;
    /* MODIFICACIÓN: Opacidad para tabs no activas */
    /* MODIFICACIÓN: Se añade width y opacity a la transición */
    transition: border-color 0.3s ease, transform 0.3s ease, width 0.3s ease, opacity 0.3s ease;
}

.models-nav-item.active {
    /* Color del borde activo */
    width: 100%;
    min-width: 87px;
    flex: 1;
    opacity: 1;
}

.models-nav-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.preview-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #423c36;
    color: #fff;
    border: 1.5px solid #FFFFFF;
    display: grid;
    place-items: center;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

/* NUEVA REGLA: Ocultar el número en la tab activa */
.models-nav-item.active .preview-number {
    opacity: 0;
}

/* --- Contenido de Texto y Paneles --- */
.models-text-content {
    text-align: start;
    margin-top: 26px;
}

.model-text-pane,
.model-image-pane {
    display: none;
    /* Ocultos por defecto */
    animation: fadeIn 0.6s ease;
}

.model-text-pane.active,
.model-image-pane.active {
    display: block;
    /* Se muestra el activo */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.model-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: bold;
    text-transform: uppercase;
    color: #FCFCFC;
    margin: 0 0 16px 0;
}

.model-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: white;
}

.model-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* --- Columna de Imágenes (Mobile) --- */
.models-images-column {
    position: relative;
    margin-top: 40px;
    margin: 40px auto 0;
    max-width: 516px;
    width: 100%;
}

.image-main-wrapper-models {
    border-radius: 40px;
    overflow: hidden;
    width: 75%;
    margin-top: 40px;
}

.image-main-wrapper-models img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 363px;
    aspect-ratio: 3/4;
}

.image-secondary-wrapper-models {
    position: absolute;
    top: -20px;
    right: 15px;
    width: 40%;
    max-width: 180px;
    border-radius: 30px;
    overflow: hidden;
}

.image-secondary-wrapper-models img {
    width: 100%;
    display: block;
}

.models-info-column {
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- */
/* Section 4 */
/* -------- */

.location-s4-section {
    background-color: var(--secondary-dark);
    color: var(--grayscale-background);
    padding: 80px 20px;
    /* Ajusta a tu fuente */
}

.location-s4-container {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-s4-image-wrapper-mobile {
    width: 208px;
    height: 185px;
    display: flex;
    gap: 20px;
}

.location-s4-image-wrapper-mobile>.location-s4-small-image-1 {
    align-self: flex-end;
    width: 95px;
    height: 133px;
}

.location-s4-image-wrapper-mobile>.location-s4-small-image-2 {
    align-self: flex-start;
    width: 95px;
    height: 133px;
}

/* --- Columna del Mapa (Izquierda) --- */
.location-s4-map-image {
    width: 100%;
    height: auto;
    border-radius: 40px;
    display: block;
}

/* --- Columna de Contenido (Derecha) --- */
.location-s4-content-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.location-s4-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: bold;
    margin: 0 auto 16px auto;
    text-transform: uppercase;
}

.location-s4-description {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0 auto 30px auto;
    color: white;
}

/* --- Wrapper de imágenes pequeñas --- */
.location-s4-small-images-wrapper {
    justify-content: center;
    gap: 20px;
    align-items: flex-end;
    display: none;
}

.location-s4-small-image-1,
.location-s4-small-image-2 {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-s4-small-image-1 img,
.location-s4-small-image-2 img {
    display: block;
    width: 100%;
    height: auto;
}

.location-s4-small-image-1 {
    width: 50%;
}

.location-s4-small-image-2 {
    width: 50%;
}

/* ------------------- */
/* Seccción 5 Desktop */
/* ----------------- */
.s5-testimonials-section,
.s5-video-lightbox {
    display: none;
}

/* ---------- */
/* Sección 7 */
/* -------- */

.s7-steps-section {
    background-color: var(--secondary-dark);
    color: var(--grayscale-background);
    padding: 0px 20px 80px 20px;
}

/* --- Media Query para Desktop  --- */
@media (min-width: 1024px) {
    .s7-steps-section {
        padding: 80px 20px;
    }

    .htestimonial_seccion,
    .box-projects-videos {
        display: none !important;
    }

    /* Section 2 */
    .s2-amenities-section {
        padding: 100px 40px;
    }

    .swiper-navigation-mobile {
        display: none;
    }

    .s2-slide-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        max-width: none;
        /* Espacio entre imagen y texto */
    }

    .s2-amenity-images {
        flex: 0 0 50%;
        /* Ocupa el 50% del ancho */
        max-width: 400px;
    }

    .s2-amenity-info {
        flex: 0 0 40%;
        /* Ocupa el 40% del ancho */
        text-align: left;
        align-items: flex-start;
    }

    .s2-amenity-description {
        max-width: 100%;
        /* El contenedor ya lo limita */
    }

    .amenity-title {
        font-size: 4rem;
    }

    /* --- Controles Swiper (Desktop) --- */
    .swiper-navigation {
        display: block;
        /* Volvemos a mostrar si se ocultó */
    }

    /* Posicionamos la paginación a la derecha */
    .swiper-pagination {
        display: block;
        position: absolute;
        right: 12px !important;
        left: auto !important;
        top: 0 !important;
        transform: translateY(50%);
        bottom: auto;
        width: 20px !important;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background-color: #555;
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background-color: var(--grayscale-background);
    }

    /* Section 3 */
    .models-container {
        flex-direction: row;
        align-items: start;
        padding-bottom: 80px;
        gap: 5%;
    }

    .models-nav-item.active {
        min-width: 102px;
    }

    .models-nav-item {
        min-width: 102px;
    }

    .models-info-column {
        flex: 0 0 45%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .models-images-column {
        flex: 1;
        margin-top: 0;
    }

    .models-nav {
        justify-content: flex-start;
        /* Pone la navegación después del texto */
        margin-bottom: 0;
    }

    .models-text-content {
        text-align: left;
        margin-top: 48px;
    }

    .model-buttons,
    .models-nav {
        justify-content: flex-start;
    }

    /* Section 4 */
    .location-s4-image-wrapper-mobile {
        display: none;
    }

    .location-s4-container {
        flex-direction: row;
        max-width: 1316px;
        align-items: start;
        gap: 5%;
    }

    .location-s4-content-col {
        flex: 1;
        position: relative;
        padding-top: 80px;
    }

    .location-s4-text-wrapper {
        text-align: left;
    }

    .location-s4-description {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .location-s4-title {
        max-width: 490px;
        margin: 16px 0;
    }

    .location-s4-small-images-wrapper {
        display: flex;
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        /* Ocupa el 80% de la columna de contenido */
        justify-content: flex-end;
    }

    .location-s4-small-image-1,
    .location-s4-small-image-2 {
        max-width: 155px;
        height: 258px;
    }

    .location-s4-small-image-1 img,
    .location-s4-small-image-2 img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .location-s4-map-image {
        max-width: 581px;
        max-height: 697px;
        object-fit: cover;
    }

    .location-s4-small-image-1 {
        position: relative;
        top: 83px;
    }

    /* Sección 5 */
    .s5-testimonials-section {
        background-color: var(--secondary-dark);
        padding: 0px 0px 100px;
        display: block;
        margin-top: -30px;
    }

    .htestimonial_items-desktop {
        justify-content: start;
    }
}

@media (min-width: 1200px) {
    .s5-testimonials-section {
        padding: 100px 0px;
        margin-top: 0;
    }
}