@font-face {
    font-family: "Athena";
    src: url("../assets/ATHENA/Athena-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primario: #cbb29d;
    --secundario: #f7efe2;
    --obscuro: #262625;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Athena", "Times New Roman", serif;
}

/* =================
    TIPOGRAFÍA BASE
   Encabezados → Athena (serif, elegante)
   Texto corriente → Montserrat (sans-serif, legible)
================= */
h1, h2, h3, h4, h5, h6 {
    font-family: "Athena", "Times New Roman", serif;
}

p, li {
    font-family: "Montserrat", sans-serif;
}

/* =================
    HEADER
================= */

h1 {
    text-transform: uppercase;
}

.title {
    text-align: center;
    margin-top: 20px;
    line-height: 5lh;
    ;
}

.part-1 {
    font-size: 40px;
    font-weight: 400;
}

.part-2 {
    font-size: 150px;
    font-weight: 700;
    letter-spacing: 5px;
}

.part-3 {
    font-size: 52px;
    font-weight: 100;
    letter-spacing: 2px;
}

.nuvo-logo img {
    width: 110px;
    height: auto;
    margin-left: 50px;
}

.header-container {
    background-image: url(/assets/01-HOME/home-3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    min-height: 100vh;
    width: 100%; /* Agregado para contener el margin negativo */
    max-width: 100vw; /* Agregado */
    overflow-x: hidden; /* Agregado para centrado perfecto */

    color: var(--secundario);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.top-bar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.nav {
    grid-column: 2;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 60px;
}

.nav-list li a {
    color: var(--secundario);
    text-decoration: none;
    transition: color .25s ease, text-shadow .25s ease;
}

.nav-list li a:hover,
.nav-list li a:focus-visible {
    color: var(--primario);
    text-shadow: 0 0 .8rem rgba(247, 239, 226, 0.25);
}

.nav-cta {
    display: inline-block;
    padding: .8rem 2.2rem;
    border: 1px solid var(--secundario);
    color: var(--secundario);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .2rem;
    text-transform: uppercase;
    transition: background .25s ease, color .35s ease, border-color .35s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: var(--secundario);
    color: var(--obscuro);
}

/* =================
    DESKTOP NAV TOGGLE (oculto en móvil)
================= */
.desktop-nav-toggle {
    display: none;
}

/* =================
    NAV DESKTOP SIDEBAR (DERECHO)
================= */
@media (min-width: 768px) {
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 900;
        padding: 0 2.4rem;
        display: flex;
        align-items: center;
        height: calc(2rem + 4.2rem + 2rem);
    }

    .top-bar::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        z-index: -1;
    }

    .nav {
        position: fixed;
        right: 2.4rem;
        top: 50%;
        transform: translateY(-50%) translateX(4rem);
        z-index: 900;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2.4rem;
        grid-column: unset;
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s ease, transform .35s ease;
    }

    body.desktop-nav-open .nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%) translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 2.4rem;
        align-items: flex-end;
        justify-content: center;
    }

    .desktop-nav-toggle {
        display: flex;
        position: fixed;
        top: 2rem;
        right: 2rem;
        z-index: 1000;
        border: 1px solid var(--secundario);
        background: rgba(38, 38, 37, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        width: 4.2rem;
        height: 4.2rem;
        border-radius: .8rem;
        padding: .8rem;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: .5rem;
        cursor: pointer;
        transition: background .25s ease, border-color .25s ease;
    }

    .desktop-nav-toggle:hover {
        background: rgba(203, 178, 157, 0.25);
        border-color: var(--primario);
    }

    .desktop-nav-toggle span {
        display: block;
        width: 2rem;
        height: 1px;
        background-color: var(--secundario);
        transition: transform .25s ease, opacity .25s ease;
    }

    body.desktop-nav-open .desktop-nav-toggle span:nth-child(1) {
        transform: translateY(.6rem) rotate(45deg);
    }

    body.desktop-nav-open .desktop-nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.desktop-nav-open .desktop-nav-toggle span:nth-child(3) {
        transform: translateY(-.6rem) rotate(-45deg);
    }

    /* === Nav sobre fondo claro (sección ubicación) === */
    body.nav-over-light .nav-list li a {
        color: var(--obscuro);
    }

    body.nav-over-light .nav-list li a:hover,
    body.nav-over-light .nav-list li a:focus-visible {
        color: var(--primario);
        text-shadow: none;
    }

    body.nav-over-light .nav-cta {
        color: var(--obscuro);
        border-color: var(--obscuro);
    }

    body.nav-over-light .nav-cta:hover,
    body.nav-over-light .nav-cta:focus-visible {
        background: var(--obscuro);
        color: var(--secundario);
    }

    body.nav-over-light .desktop-nav-toggle {
        border-color: rgba(38, 38, 37, 0.5);
        background: rgba(247, 239, 226, 0.55);
    }

    body.nav-over-light .desktop-nav-toggle span {
        background-color: var(--obscuro);
    }
}

/* .text-hero {
    margin-top: 7.2rem;
    width: min(100%, 128rem);
    display: flex;
    justify-content: flex-end;
    padding: 0 4.8rem 0;
    text-align: right;
    line-height: 1.1;
} */

.home-title-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 14rem;
    margin-right: -8rem;
    transform: none;
    min-height: 28rem;
    padding: 3.6rem 0 2.2rem;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
    animation: none;
    transition: opacity 1s ease, visibility 1s;
    opacity: 1;
    visibility: visible;
}
@keyframes heroHide {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Clase para ocultar el hero */
.home-title-block.hero-hide {
    animation: heroHide 1s forwards;
}
.home-title-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../assets/brand/Iso-Blanco.svg);
    background-repeat: no-repeat;
    background-position: center center !important;
    background-size: 22rem;
    opacity: 0.10;
    z-index: -2;
}

.home-title-block::after {
    content: none;
}

.home-title-top,
.home-title-bottom {
    margin: 0;
    display: inline-block;
    align-self: center;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 1.4vw, 2.3rem);
    letter-spacing: .2rem;
    text-transform: uppercase;
    background: 50% 100%/50% 50% no-repeat radial-gradient(ellipse at bottom, var(--secundario), transparent, transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    animation: heroLuminanceReveal 3000ms ease-in-out forwards 200ms, heroLuminanceGlow 2500ms linear infinite 2000ms;
}

.home-title-top {
    margin-bottom: 0;
}

.home-title-bottom {
    margin-top: .4rem;
    animation-delay: 320ms, 2200ms;
}

.home-title-main {
    margin: 0;
    display: inline-block;
    font-family: "Athena", "Times New Roman", serif;
    font-size: clamp(5.8rem, 9.2vw, 13rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: .08rem;
    text-transform: uppercase;
    background: 50% 100%/50% 50% no-repeat radial-gradient(ellipse at bottom, var(--secundario), transparent, transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: heroLuminanceReveal 3000ms ease-in-out forwards 260ms, heroLuminanceGlow 2500ms linear infinite 2100ms;
}

@keyframes heroPanelEnter {
    0% {
        opacity: 0;
        transform: translateY(2.2rem) scale(.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroLuminanceReveal {
    80% {
        letter-spacing: .8rem;
    }

    100% {
        background-size: 300% 300%;
    }
}

@keyframes heroLuminanceGlow {
    40% {
        text-shadow: 0 0 .8rem rgba(247, 239, 226, 0.85);
    }
}

@keyframes heroShine {
    0% {
        transform: translateX(-140%);
        opacity: 0;
    }

    14% {
        opacity: .95;
    }

    30% {
        transform: translateX(140%);
        opacity: 0;
    }

    100% {
        transform: translateX(140%);
        opacity: 0;
    }
}

.part-5 {
    font-size: 39px;
    font-weight: 400;
    letter-spacing: 2px;
}

.part-6 {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
}


/* ==================
    NOSOTROS
================== */

.nosotros-container {
    background-color: var(--obscuro);
    color: var(--obscuro);
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.nosotros-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../assets/brand/Iso-Blanco.svg);
    background-size: 600px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.05;
    pointer-events: none;
}

.nosotros-container>* {
    position: relative;
    z-index: 1;
}

.nosotros-inner {
    color: var(--secundario);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.nosotros-inner h2 {
    margin: 2.4rem 0 2rem;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 2.4vw, 2.6rem);
    font-weight: 300;
    letter-spacing: .12rem;
    line-height: 1.4;
}

.nosotros-inner p {
    margin: 0;
    font-size: clamp(1.4rem, 1.6vw, 1.8rem);
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    line-height: 1.75;
}

.logo-nosotros {
    width: 100px;
    margin: 0 auto;
}

.logo-nosotros img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================
    TORRE (CARACTERÍSTICAS TÁCTILES)
=================== */

.caracteristicas {
    background-image: url(../assets/03-TORRE/Fachada-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    min-height: clamp(130rem, 190vh, 200rem);
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.caracteristicas-textos {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 2.2rem 4rem;
    background: rgba(38, 38, 37, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(247, 239, 226, 0.18);
    box-sizing: border-box;
    z-index: 10;
}

.caract-stat {
    flex: 1;
    text-align: center;
    color: var(--secundario);
    font-family: "Athena", "Times New Roman", serif;
    font-size: clamp(1.5rem, 1.6vw, 2rem);
    font-weight: 300;
    letter-spacing: .14rem;
    text-transform: lowercase;
    padding: 0 3rem;
}

.caract-stat:not(:last-child) {
    border-right: 1px solid rgba(247, 239, 226, 0.3);
}


/* ========================
    AMENIDADES 
========================  */

.amenidades-container {
    background-color: var(--obscuro);
    color: var(--secundario);
    min-height: 120vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.amenidades-inner {
    width: 100%;
    margin: 0;
    min-height: 62rem;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 2rem;
}

.amenidades-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding-left: 50px;
    padding-right: 3rem;
    height: 100%;
}

.logo-amenidades {
    width: 85px;
    margin: 0;
}

.amenidades-title {
    text-align: left;
    margin: 2.4rem 0 1.2rem;
}

.amenidades-text {
    margin-top: .6rem;
}

.amenidades-title h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 7.2rem;
    font-weight: 400;
    line-height: 0.95;
}

.amenidades-text p {
    margin: 0;
    max-width: 50ch;
    font-size: 1.8rem;
    line-height: 1.3;
}

.amenidades-carousel {
    display: flex;
    width: 100%;
    height: 60rem;
    padding: .8rem;
    gap: .8rem;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(247, 239, 226, 0.35);
    border-radius: 1.2rem;
    background-color: rgba(247, 239, 226, 0.04);
    contain: layout paint;
}

.amenidades-carousel::-webkit-scrollbar {
    display: none;
}

.amenidades-carousel img {
    flex: 0 0 calc(34% - .6rem);
    width: calc(34% - .6rem);
    height: 100%;
    position: relative;
    object-fit: cover;
    border-radius: .8rem;
    opacity: .35;
    filter: saturate(.85);
    transform: translateZ(0) scale(.96);
    transition: filter .25s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    cursor: zoom-in;
}

.amenidades-carousel img.is-active {
    opacity: 1;
    filter: saturate(1);
    transform: translateZ(0) scale(1);
}

.amenidades-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 9999;
}

.amenidades-lightbox[hidden] {
    display: none;
}

.amenidades-lightbox img {
    max-width: min(94vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: .6rem;
}

/* Contenedor para alinear la imagen y su texto */
.amenidades-lightbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem; /* Espacio entre la foto y el texto */
}

/* Estilos del nombre de la amenidad */
.amenidades-lightbox-title {
    color: var(--secundario);
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

/* Ajuste sutil para que no quede enorme en celulares */
@media (max-width: 767px) {
    .amenidades-lightbox-title {
        font-size: 1.4rem;
        gap: 1.2rem;
    }
}

.amenidades-lightbox-content {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.amenidades-lightbox-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    border: .8px solid var(--secundario);
    background: rgba(0, 0, 0, 0.45);
    color: var(--secundario);
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.amenidades-lightbox-close:hover {
    background: var(--secundario);
    color: var(--obscuro);
}

.amenidades-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: .8px solid var(--secundario);
    background: transparent;
    color: var(--secundario);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    cursor: pointer;
}

.amenidades-lightbox-prev {
    left: 1.6rem;
    z-index: 5;
}

.amenidades-lightbox-next {
    right: 1.6rem;
    z-index: 5;
}

.amenidades-lightbox-prev::before,
.amenidades-lightbox-next::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.amenidades-lightbox-prev::before {
    border-width: .7rem .95rem .7rem 0;
    border-color: transparent var(--secundario) transparent transparent;
    margin-left: -.2rem;
}

.amenidades-lightbox-next::before {
    border-width: .7rem 0 .7rem .95rem;
    border-color: transparent transparent transparent var(--secundario);
    margin-right: -.2rem;
}

.amenidades-lightbox-nav:hover {
    background: var(--secundario);
}

.amenidades-lightbox-nav:hover.amenidades-lightbox-prev::before {
    border-color: transparent var(--obscuro) transparent transparent;
}

.amenidades-lightbox-nav:hover.amenidades-lightbox-next::before {
    border-color: transparent transparent transparent var(--obscuro);
}

@media (max-width: 768px) {
    .amenidades-lightbox-prev {
        left: .8rem;
    }

    .amenidades-lightbox-next {
        right: .8rem;
    }
}

.buttons {
    margin-top: 1.6rem;
    display: flex;
    gap: 1rem;
}

.wraper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
}

.buttons button {
    border: .8px solid var(--secundario);
    background: transparent;
    color: var(--secundario);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    cursor: pointer;
}

.buttons button:hover {
    background: var(--secundario);
    color: var(--obscuro);
}

/* ========================
    MODELOS
========================  */

.modelos-container {
    background-color: var(--obscuro);
    color: var(--secundario);
    padding: 0;
    position: relative;
}

.modelos-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.modelo-slide {
    display: none;
    position: relative;
    height: 100vh;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: end;
    gap: .8rem;
    padding: 4rem 6rem 10rem;
    --modelo-media-width: min(96%, 960px);
}

.modelo-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(38, 38, 37, 0.9) 0%, rgba(38, 38, 37, 0.62) 52%, rgba(38, 38, 37, 0.38) 100%);
    z-index: 0;
}

.modelo-slide.is-active {
    display: grid;
}

.modelo-info,
.modelo-visual {
    position: relative;
    z-index: 1;
}

.modelo-info {
    margin-right: 200px;
    width: 400px;
    padding-left: 0;
    transform: translate(10rem, -6.2rem);
}

.modelo-specs {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 0 3rem;
    justify-content: start;
}

.modelo-col {
    display: flex;
    flex-direction: column;
}

.modelo-info p {
    margin: 0 0 1.2rem;
    font-size: 1.9rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--primario);
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    line-height: 1.2;
}

.modelo-info p::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    min-width: 1.8rem;
    height: 1.8rem;
    margin-top: .1rem;
    font-size: 1.6rem;
}


.modelo-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1rem;
    position: relative;
}

.modelo-etiqueta {
    width: min(30%, 160px);
    height: auto;
    object-fit: contain;
    transform: translate(-12rem, 25.5rem);
}

.modelo-planta {
    width: var(--modelo-media-width);
    max-height: 78rem;
    object-fit: contain;
    cursor: zoom-in;
}

.modelos-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    z-index: 9999;
}

.modelos-lightbox[hidden] {
    display: none;
}

.modelos-lightbox-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    width: min(92vw, 1200px);
    justify-content: center;
    padding: 2rem;
    background: rgba(168, 146, 130, 0.9);
    border: .8px solid rgba(203, 178, 157, 0.55);
    border-radius: 1.2rem;
}

.modelos-lightbox img {
    max-width: min(68vw, 860px);
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: .6rem;
}

.modelos-lightbox-meta {
    width: min(24vw, 30rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.modelos-lightbox-etiqueta {
    width: 15rem;
    height: auto;
    object-fit: contain;
}

.modelos-lightbox-contenidos {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modelos-lightbox-etiqueta[hidden],
.modelos-lightbox-contenidos[hidden] {
    display: none;
}

.modelos-lightbox-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    border: .8px solid var(--secundario);
    background: rgba(0, 0, 0, 0.45);
    color: var(--secundario);
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.modelos-lightbox-close:hover {
    background: var(--secundario);
    color: var(--obscuro);
}

.modelos-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: .8px solid var(--secundario);
    background: transparent;
    color: var(--secundario);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    cursor: pointer;
    z-index: 2;
}

.modelos-lightbox-prev {
    left: -6.2rem;
}

.modelos-lightbox-next {
    right: -6.2rem;
}

.modelos-lightbox-prev::before,
.modelos-lightbox-next::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.modelos-lightbox-prev::before {
    border-width: .7rem .95rem .7rem 0;
    border-color: transparent var(--secundario) transparent transparent;
    margin-left: -.2rem;
}

.modelos-lightbox-next::before {
    border-width: .7rem 0 .7rem .95rem;
    border-color: transparent transparent transparent var(--secundario);
    margin-right: -.2rem;
}

.modelos-lightbox-nav:hover {
    background: var(--secundario);
}

.modelos-lightbox-nav:hover.modelos-lightbox-prev::before {
    border-color: transparent var(--obscuro) transparent transparent;
}

.modelos-lightbox-nav:hover.modelos-lightbox-next::before {
    border-color: transparent transparent transparent var(--obscuro);
}

.lightbox-swipe-hint {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    margin: 0;
    padding: .55rem 1rem;
    border: .8px solid rgba(247, 239, 226, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--secundario);
    font-size: 1.2rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

.modelos-lightbox-meta .lightbox-swipe-hint {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: .8rem;
    align-self: center;
}

.section-swipe-hint {
    display: inline-flex;
    margin: 1.2rem auto 0;
    width: fit-content;
    padding: .55rem 1rem;
    border: .8px solid rgba(247, 239, 226, 0.45);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--secundario);
    font-size: 1.2rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
}

.modelos-container .section-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 11rem;
    transform: translateX(-50%);
    margin: 0;
    z-index: 4;
}

.section-swipe-hint.is-hidden,
.lightbox-swipe-hint.is-hidden {
    display: none !important;
}

/* ========================
   MODELO — NAV PILLS
======================== */
.modelo-nav-pills {
    position: absolute;
    top: 3.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .9rem;
    z-index: 10;
}

.modelo-pill {
    font-family: "Athena", "Times New Roman", serif;
    font-size: clamp(1.3rem, 1.4vw, 1.7rem);
    font-weight: 300;
    letter-spacing: .1rem;
    color: var(--secundario);
    background: transparent;
    border: 1px solid rgba(247, 239, 226, 0.4);
    border-radius: 999px;
    padding: .65rem 2.4rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.modelo-pill:hover {
    border-color: rgba(247, 239, 226, 0.75);
    background: rgba(247, 239, 226, 0.08);
}

.modelo-pill.is-active {
    background: rgba(38, 38, 37, 0.82);
    border-color: rgba(247, 239, 226, 0.7);
    color: var(--secundario);
}

.modelo-controls {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 5.2rem;
    width: auto;
    margin: 0;
    display: flex;
    gap: 1rem;
    padding: 0;
    background-color: transparent;
    z-index: 3;
    transform: translateX(-50%);
}

.modelo-controls button {
    border: .8px solid var(--secundario);
    background: transparent;
    color: var(--secundario);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    cursor: pointer;
}

#prev::before,
#next::before,
#modelo-prev::before,
#modelo-next::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

#prev::before,
#modelo-prev::before {
    border-width: .7rem .95rem .7rem 0;
    border-color: transparent var(--secundario) transparent transparent;
    margin-left: -.2rem;
}

#next::before,
#modelo-next::before {
    border-width: .7rem 0 .7rem .95rem;
    border-color: transparent transparent transparent var(--secundario);
    margin-right: -.2rem;
}

.modelo-controls button:hover {
    background: var(--secundario);
    color: var(--obscuro);
}

.buttons button:hover#prev::before,
.modelo-controls button:hover#modelo-prev::before {
    border-color: transparent var(--obscuro) transparent transparent;
}

.buttons button:hover#next::before,
.modelo-controls button:hover#modelo-next::before {
    border-color: transparent transparent transparent var(--obscuro);
}

/* Amenidades: ajustar dirección visual según posición de botón */
#next::before {
    border-width: .7rem .95rem .7rem 0;
    border-color: transparent var(--secundario) transparent transparent;
    margin-left: -.2rem;
    margin-right: 0;
}

#prev::before {
    border-width: .7rem 0 .7rem .95rem;
    border-color: transparent transparent transparent var(--secundario);
    margin-right: -.2rem;
    margin-left: 0;
}

.buttons button:hover#next::before {
    border-color: transparent var(--obscuro) transparent transparent;
}

.buttons button:hover#prev::before {
    border-color: transparent transparent transparent var(--obscuro);
}

/*===================
    UBICACION
=================== */

.ubicacion-container {
    background-color: var(--secundario);
    color: var(--obscuro);
    min-height: 100vh;
    padding: 4rem 2rem;
}

.ubicacion-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.mapa-ubicacion {
    flex: 0 1 calc(63% - 1rem);
    max-width: calc(63% - 1rem);
    min-width: 0;
}

.mapa-ubicacion img {
    display: block;
    width: 100%;
    height: auto;
}

.mapa-lightbox {
    position: fixed;
    inset: 0;
    background: rgb(244, 235, 224);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 9999;
}

.mapa-lightbox[hidden] {
    display: none;
}

/* .mapa-lightbox-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mapa-lightbox img {
    max-width: min(94vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: .6rem;
} */

.mapa-lightbox-content {
    position: relative;
    display: flex; /* Cambiado de inline-flex a flex */
    align-items: center;
    justify-content: center;
    width: 100%; /* Forzamos el ancho */
    height: 100%; /* Forzamos el alto */
}

.mapa-lightbox img {
    width: 100%; /* Obliga al SVG a expandirse */
    height: 100%; /* Obliga al SVG a expandirse */
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain; /* Evita que se deforme */
    border-radius: .6rem;
}

.mapa-lightbox-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    border: .8px solid var(--secundario);
    background: rgba(0, 0, 0, 0.45);
    color: var(--secundario);
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 999px;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.logo-ubicacion {
    width: 100px;
    margin: 0;
}

.ubicacion-text {
    font-size: clamp(1.4rem, 1.6vw, 1.8rem);
    line-height: 1.75;
    letter-spacing: .5px;
    margin-bottom: 2.2rem;
    flex: 0 1 calc(37% - 1rem);
    max-width: calc(37% - 1rem);
    min-width: 0;
}

.ubicacion-text p {
    margin: 0;
    text-align: left;
    text-justify: none;
    text-wrap: pretty;
}

.ubicacion-text h2 {
    margin: 1rem 0 1.2rem;
    font-size: clamp(1.8rem, 2.4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.ubicacion-text a {
    display: inline-block;
    margin-top: 1.6rem;
    padding: .9rem 1.8rem;
    border: 1px solid var(--obscuro);
    border-radius: 10px;
    color: var(--obscuro);
    text-decoration: none;
    letter-spacing: .8px;
    background: transparent;
}

.ubicacion-text a:hover {
    background: var(--obscuro);
    color: var(--secundario);
}

/*=====================
    FOOTER
===================== */

.footer-container {
    background-color: var(--obscuro);
    color: var(--secundario);
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.footer-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../assets/brand/Iso-Blanco.svg);
    background-size: 560px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.05;
    pointer-events: none;
}

.footer-container>* {
    position: relative;
    z-index: 1;
}

.footer-inner {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-text h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(1.8rem, 2.4vw, 2.6rem);
    font-weight: 100;
    text-transform: uppercase;
}

.footer-text p {
    margin: 0;
    font-size: clamp(1.4rem, 1.6vw, 1.8rem);
    font-weight: 100;
    text-align: center;
    line-height: 1.75;
}

footer .logo-footer {
    width: 80px;
    margin: 0 auto 2rem;
}

.footer-inner>a {
    display: inline-block;
    margin-top: 5.4rem;
    padding: 1.4rem 3rem;
    border: 1px solid var(--secundario);
    border-radius: 10px;
    color: var(--secundario);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2rem;
    background: transparent;
}

.footer-inner>a:hover {
    background: var(--secundario);
    color: var(--obscuro);
}


/* ==========================================
    RESPONSIVE DESIGN
========================================== */

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ==========================================
   MENÚ HAMBURGUESA
========================================== */

.menu-toggle {
    display: none;
    border: 1px solid var(--secundario);
    background: transparent;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: .8rem;
    padding: .8rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 2rem;
    height: 1px;
    background-color: var(--secundario);
    transition: transform .25s ease, opacity .25s ease;
}

/* ==========================================
   AJUSTE LIGHTBOX MODELOS
========================================== */

.modelos-lightbox-content {
    padding-bottom: 6.4rem;
}

.modelos-lightbox-nav {
    top: auto;
    bottom: 1.4rem;
    transform: none;
}

.modelos-lightbox-prev {
    left: 50%;
    margin-left: -5.4rem;
}

.modelos-lightbox-next {
    right: auto;
    left: 50%;
    margin-left: .8rem;
}

.modelos-lightbox-meta {
    width: min(24vw, 30rem);
}

.modelos-lightbox-etiqueta {
    width: 11rem;
}

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .header-container {
        background-attachment: scroll;
        padding-bottom: 0;
    }

    .part-2 {
        font-size: clamp(60px, 12vw, 120px);
        letter-spacing: 2px;
    }

    /* TORRE: Toggles en móvil */
    .caracteristicas {
        min-height: 100vh;
        justify-content: center;
        padding: 0;
        background-position: center center;
    }

    /* .caracteristicas-textos ya es un stat bar absolute al fondo */

    .amenidades-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .amenidades-content {
        padding-left: 0;
        align-items: center;
        margin-bottom: 3rem;
    }
}

.whatsapp-fab {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    border: 1px solid rgba(247, 239, 226, 0.45);
    background: rgba(38, 38, 37, 0.72);
    color: var(--secundario);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, 0.2);
    z-index: 1200;
    transition: opacity .25s ease, transform .25s ease;
}

.whatsapp-fab svg {
    width: 2.4rem;
    height: 2.4rem;
    fill: currentColor;
}

.whatsapp-fab:hover {
    background: rgba(203, 178, 157, 0.88);
    color: var(--obscuro);
}

.whatsapp-fab.is-hidden {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
}

.scroll-fade {
    opacity: 0;
    transition: opacity .6s ease;
    transition-delay: var(--fade-delay, 0ms);
}

.scroll-fade.is-visible {
    opacity: 1;
}

.cursor-dust-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1300;
}

.cursor-dust {
    position: fixed;
    left: 0;
    top: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 173, 0.85) 0%, rgba(247, 239, 226, 0.4) 45%, rgba(203, 178, 157, 0) 100%);
    transform: translate(-50%, -50%);
    animation: cursorDustFade var(--dust-duration, 680ms) ease-out forwards;
    will-change: transform, opacity;
}

.cursor-dust--ubicacion {
    background: radial-gradient(circle, rgba(38, 38, 37, 0.92) 0%, rgba(38, 38, 37, 0.5) 45%, rgba(38, 38, 37, 0) 100%);
}

@keyframes cursorDustFade {
    0% {
        opacity: 0.55;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dust-x, 0px)), calc(-50% + var(--dust-y, -14px))) scale(0.22);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-title-block,
    .home-title-top,
    .home-title-main,
    .home-title-bottom,
    .home-title-block::after {
        animation: none !important;
    }

    .cursor-dust-layer {
        display: none;
    }

    .scroll-fade,
    .scroll-fade.is-visible {
        opacity: 1;
        transition: none;
    }
}

@media (pointer: coarse) {
    .cursor-dust-layer {
        display: none;
    }
}

@media (max-width: 767px) {
    .whatsapp-fab {
        right: 1.6rem;
        bottom: 1.6rem;
        width: 4.4rem;
        height: 4.4rem;
    }

    .whatsapp-fab svg {
        width: 2.2rem;
        height: 2.2rem;
    }
}

/* Tablet vertical y móvil grande */
@media (max-width: 992px) {
    .nav-list {
        gap: 30px;
    }

    /* nosotros: tamaño manejado con clamp en la regla base */

    /* amenidades: tamaño manejado con clamp en la regla base */

    .modelo-slide {
        height: 100vh;
        grid-template-columns: 1fr;
        justify-items: center;
        align-content: center;
        padding: 2.2rem 2.4rem 7.2rem;
        --modelo-media-width: min(90%, 580px);
    }

    .modelo-slide.is-active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modelo-visual {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .modelo-visual img {
        width: min(100%, 620px);
        max-height: 38rem;
    }

    .modelo-controls {
        left: 50%;
        right: auto;
        bottom: 2rem;
        transform: translateX(-50%);
    }
}

/* Ajuste fino modelos: tablets angostas */
@media (max-width: 810px) {
    .modelo-slide {
        height: 100dvh;
        padding: 1.8rem 1.8rem 6.8rem;
        --modelo-media-width: min(96%, 500px);
    }

    .modelo-planta {
        max-height: 46vh;
    }

    .modelo-controls {
        bottom: 1.2rem;
    }
}

/* Móviles */
@media (max-width: 767px) {
    .nosotros-container::before {
        background-size: 420px;
    }

    .footer-container::before {
        background-size: 420px;
    }

    .caracteristicas {
        background-position: center center;
        min-height: 100vh;
    }

    .caracteristicas-textos {
        padding: 1.8rem 2rem;
    }

    .caract-stat {
        font-size: clamp(1.3rem, 3.5vw, 1.8rem);
        padding: 0 1.6rem;
    }

    .header-container .top-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 1.6rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .header-container .nuvo-logo {
        display: inline-flex;
        align-items: center;
    }

    .header-container .nuvo-logo img {
        margin-left: 0;
        width: 70px;
        margin-top: 0;
        transform: none;
    }

    .header-container .menu-toggle {
        display: inline-flex;
        position: relative;
        top: auto;
        right: auto;
        z-index: 1000;
        background: rgba(38, 38, 37, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: background .25s ease, border-color .25s ease;
    }

    /* Lightbox full-screen */
    .header-container .nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        z-index: 1001;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(38, 38, 37, 0.97);
        grid-column: unset;
        max-height: none;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(1.04);
        transition: opacity .4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform .4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility .4s;
    }

    .header-container .top-bar.nav-open .nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }

    .header-container .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.8rem;
        margin: 0 0 3.2rem;
        padding: 0;
    }

    .header-container .nav .nav-list li a {
        font-family: "Athena", "Times New Roman", serif;
        font-size: clamp(3rem, 7vw, 4.8rem);
        letter-spacing: .12rem;
        text-transform: uppercase;
    }

    .header-container .nav .nav-cta {
        display: block;
        text-align: center;
        width: fit-content;
        max-width: calc(100vw - 6rem);
        box-sizing: border-box;
        margin: 0 auto;
        letter-spacing: .12rem;
        padding: .8rem 3rem;
    }

    /* Animación de entrada escalonada para cada ítem */
    .header-container .top-bar.nav-open .nav-list li,
    .header-container .top-bar.nav-open .nav .nav-cta {
        animation: mobileNavItemEnter .4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    }
    .header-container .top-bar.nav-open .nav-list li:nth-child(1) { animation-delay: .12s; }
    .header-container .top-bar.nav-open .nav-list li:nth-child(2) { animation-delay: .18s; }
    .header-container .top-bar.nav-open .nav-list li:nth-child(3) { animation-delay: .24s; }
    .header-container .top-bar.nav-open .nav-list li:nth-child(4) { animation-delay: .30s; }
    .header-container .top-bar.nav-open .nav-list li:nth-child(5) { animation-delay: .36s; }
    .header-container .top-bar.nav-open .nav-list li:nth-child(6) { animation-delay: .42s; }
    .header-container .top-bar.nav-open .nav .nav-cta        { animation-delay: .48s; }

    @keyframes mobileNavItemEnter {
        from { opacity: 0; transform: translateY(1.4rem); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .header-container .top-bar.nav-open .menu-toggle {
        position: fixed;
        top: 1.4rem;
        right: 1.6rem;
        z-index: 1002;
    }

    .header-container .top-bar.nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(.6rem) rotate(45deg);
    }

    .header-container .top-bar.nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header-container .top-bar.nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-.6rem) rotate(-45deg);
    }

    .part-1 {
        font-size: 2.4rem;
    }

    .part-2 {
        font-size: 60px;
        letter-spacing: 2px;
    }

    .part-3 {
        font-size: 2.8rem;
    }

    .title {
        line-height: 1.2;
        margin-top: 5rem;
    }

    .part-5 {
        font-size: 24px;
    }

    .part-6 {
        font-size: 14px;
        line-height: 1.4;
    }

    /* .text-hero {
        justify-content: center;
        margin-top: 1.4rem;
        padding: 0 1.6rem 0;
        text-align: center;
    } */

    .home-title-block {
        width: min(100%, 40rem);
        margin-top: 1.2rem;
        margin-right: 0;
        transform: none;
        min-height: 22rem;
        padding: 2.8rem 0 1.4rem;
        align-items: center;
        justify-content: center;
    }

    .home-title-block::before {
        background-size: 14rem;
        background-position: center center !important;
        opacity: 0.10;
    }

    .home-title-top,
    .home-title-bottom {
        font-size: 1.45rem;
        letter-spacing: .14rem;
    }

    .home-title-main {
        font-size: clamp(4.2rem, 14.5vw, 7.6rem);
    }

    /* footer-text: tamaño manejado con clamp en la regla base */

    .amenidades-container {
        justify-content: center;
        padding: 4rem 2rem;
    }

    .amenidades-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        margin: 0 auto;
    }

    .amenidades-content {
        padding-left: 0;
        padding-right: 0;
        align-items: stretch;
        text-align: center;
        width: 100%;
    }

    .amenidades-content > div {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .amenidades-title {
        text-align: center;
        width: 100%;
    }

    .amenidades-title h2 {
        font-size: clamp(3.2rem, 12vw, 5rem);
        line-height: 1.05;
        text-align: center;
        width: 100%;
    }

    .amenidades-text {
        width: 100%;
        text-align: center;
    }

    .amenidades-text p {
        font-size: clamp(1.3rem, 3.8vw, 1.6rem);
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .amenidades-carousel {
        height: 45rem;
        padding: .5rem;
    }

    .amenidades-carousel img {
        flex: 0 0 70%;
        width: 70%;
    }

    .modelo-slide {
        height: 100dvh;
        padding: 1.8rem 1.8rem 6.8rem;
        text-align: center;
        --modelo-media-width: min(96%, 470px);
    }

    .modelo-visual {
        align-items: center;
    }

    .modelo-planta {
        width: var(--modelo-media-width);
        max-height: 40vh;
    }

    .modelo-controls {
        left: 50%;
        right: auto;
        bottom: 1.2rem;
        transform: translateX(-50%);
    }

    .ubicacion-inner {
        flex-direction: column-reverse;
        align-items: center;
    }

    .mapa-ubicacion,
    .ubicacion-text {
        max-width: 100%;
        flex: 1 1 100%;
        text-align: center;
    }

    .modelos-lightbox-meta {
        width: min(70vw, 30rem);
        align-items: center;
    }

    .modelos-lightbox-etiqueta {
        width: 9rem;
    }

    .modelos-lightbox-prev {
        left: 50%;
        margin-left: -5.4rem;
    }

    .modelos-lightbox-next {
        right: auto;
        left: 50%;
        margin-left: .8rem;
    }
}

/* Ajuste fino modelos: móvil grande */
@media (max-width: 720px) {
    .modelo-slide {
        height: 100dvh;
        padding: 1.6rem 1.2rem 6.4rem;
        --modelo-media-width: min(98%, 420px);
    }

    .modelo-planta {
        max-height: 32dvh;
    }

    .modelo-controls {
        bottom: 1rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .nosotros-container{
        min-height: 100vh;
    }
    .nosotros-container::before {
        background-size: 320px;
    }

    .footer-container::before {
        background-size: 320px;
    }

    .part-2 {
        font-size: 4.5rem;
    }

    .part-3 {
        font-size: 24px;
    }

    /* amenidades-title h2: tamaño manejado con clamp en la regla base */

    .amenidades-carousel {
        height: 44rem;
    }

    .amenidades-carousel img {
        width: 82%;
        flex-basis: 82%;
    }

    .modelo-slide {
        height: 100dvh;
        padding: 1.4rem 1rem 6rem;
        --modelo-media-width: min(98%, 360px);
    }

    .modelo-planta {
        max-height: 30dvh;
    }

    .caracteristicas {
        padding: 8rem 1rem;
    }

    .caract-stat {
        padding: 0 1.2rem;
        letter-spacing: .08rem;
    }

    .nav-list {
        font-size: 1.4rem;
        gap: 15px;
    }

    .footer-inner>a {
        width: 100%;
        font-size: 1.6rem;
    }
}

/* Ajuste fino modelos: móvil pequeño */
@media (max-width: 390px) {
    .modelo-slide {
        height: 100dvh;
        padding: 1.2rem .8rem 5.6rem;
        --modelo-media-width: min(100%, 300px);
    }

    .modelo-planta {
        max-height: 28dvh;
    }

    .modelo-controls {
        gap: .8rem;
        bottom: .8rem;
    }

    .modelo-controls button {
        width: 4.2rem;
        height: 4.2rem;
    }
}

/* ==========================================
    RESPONSIVE DESIGN (OPTIMIZADO)
========================================== */

/* 1. CORRECCIÓN GLOBAL MODELOS (Evita cortes) */
@media (max-width: 1024px) {
    .modelo-slide {
        display: none !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5rem 2rem 7rem !important;
        height: 100dvh !important;
        min-height: unset;
        overflow: hidden;
    }

    .modelo-slide.is-active {
        display: flex !important;
    }

    .modelo-info {
        margin: 0 0 3rem 0 !important;
        width: 100% !important;
        max-width: 450px;
        transform: none !important;
        text-align: center;
        padding: 0;
    }

    .modelo-specs {
        justify-content: center;
        gap: 2rem 3rem;
    }

    .modelo-visual {
        width: 100% !important;
        transform: none !important;
        align-items: center;
    }

    .modelo-etiqueta {
        transform: none;
        margin-bottom: 2rem;
    }

    .modelo-planta {
        width: 100% !important;
        max-width: 550px;
        max-height: 32dvh !important;
        object-fit: contain;
    }
}

/* 2. CORRECCIÓN UBICACIÓN (solo móvil) */
@media (max-width: 767px) {
    .ubicacion-container {
        min-height: auto !important;
        padding: 6rem 2rem;
    }

    .ubicacion-inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 3rem;
    }

    .ubicacion-text {
        max-width: 100% !important;
        flex: none !important;
        text-align: center;
        margin-bottom: 0;
    }

    .mapa-ubicacion {
        max-width: 100% !important;
        width: 100%;
        flex: none !important;
        overflow: hidden;
    }

    .mapa-ubicacion img {
        transform: scale(1.18);
        transform-origin: center center;
    }

    /* ubicacion-text h2: tamaño manejado con clamp en la regla base */
}

/* 3. MENÚ HAMBURGUESA Y TOP BAR (Mobile) */
@media (max-width: 767px) {
    .header-container .top-bar {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 1.6rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .header-container .menu-toggle {
        display: inline-flex;
        position: relative;
        top: auto;
        right: auto;
        z-index: 1000;
    }

    .header-container .nuvo-logo img {
        width: 60px;
        margin-top: 0;
        transform: none;
    }

    /* Overlay manejado por el bloque principal de mobile nav */

    .part-2 {
        font-size: clamp(40px, 15vw, 80px);
    }

    .part-1 {
        font-size: 2.2rem;
    }
}

/* 4. LIGHTBOX (Ajuste para que no se corte la info) */
@media (max-width: 768px) {
    .modelos-lightbox-content {
        flex-direction: column;
        padding: 2rem;
        padding-bottom: 12rem;
        overflow-y: auto;
    }

    .modelos-lightbox img {
        max-height: 45vh;
        margin-bottom: 2rem;
    }

    .modelos-lightbox-meta {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

@media (hover: none) and (pointer: coarse) {

    .buttons,
    /* .modelo-controls {
        display: none;
    } */

    /* .amenidades-lightbox-nav,
    .modelos-lightbox-nav {
        display: none;
    } */

    .amenidades-carousel,
    .modelos-carousel {
        touch-action: pan-y;
    }

    .amenidades-lightbox-content,
    .modelos-lightbox-content {
        touch-action: pan-y;
    }

    .lightbox-swipe-hint {
        display: inline-flex;
    }

     .section-swipe-hint {
        bottom: 15rem;
    } 
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nosotros-inner {
        max-width: 860px;
    }

    /* footer-text: tamaño manejado con clamp en la regla base */

    /* nosotros: tamaño manejado con clamp en la regla base */

    .ubicacion-container {
        min-height: auto;
        padding: 6rem 2.4rem;
    }

    .ubicacion-inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 3.2rem;
        max-width: 920px;
    }

    .ubicacion-text {
        max-width: min(100%, 64rem);
        flex: none;
        margin-bottom: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ubicacion-text p {
        text-align: center;
        max-width: 56ch;
    }

    .mapa-ubicacion {
        width: 100%;
        max-width: min(100%, 92rem);
        flex: none;
    }

    .mapa-ubicacion img {
        width: 100%;
        height: auto;
    }
}

/* Ajustes finos iPhone 390px */
 @media (max-width: 390px) {
    /* .text-hero {
        line-height: 1.2;
        padding: 0 1rem 2.4rem;
    }  */

    .part-5 {
        font-size: 2.8rem;
        letter-spacing: 1px;
    }

    .part-6 {
        line-height: 1.35;
    }

    .ubicacion-text {
        letter-spacing: .8px;
        line-height: 2rem;
    }

    .ubicacion-text p {
        text-align: left;
        hyphens: auto;
    }
}

/* ==========================================
   AJUSTES ESPECÍFICOS PARA MÓVIL (390px)
========================================== */

@media (max-width: 390px) {

    .header-container {
        background-image: url(../assets/01-HOME/Fachada-2.jpg);
        background-size: cover;
        background-position: 55% center;
        padding-bottom: 0;
    }

    /* 1. Centrar y corregir espacios en Ubicación */
    .ubicacion-text p {
        text-align: center;
        text-justify: none;
        word-spacing: normal;
        letter-spacing: 0.5px;
        line-height: 1.4;
        padding: 0 1rem;
    }

    .ubicacion-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 2. Subir el mensaje "Desliza para ver más" */
    /* .section-swipe-hint {
        margin-top: -2rem !important;
        margin-bottom: 2rem;
        position: relative;
        z-index: 10;
        font-size: 1.1rem;
        background: rgba(38, 38, 37, 0.6);
    } */

    /* Ajuste específico para la sección de Amenidades */
    .wraper {
        gap: 0.5rem;
    }

    /* Ajuste para la sección de Modelos */
    .modelos-container .section-swipe-hint {
        left: 50%;
        bottom: 10rem !important;
        transform: translateX(-50%);
        margin: 0 !important;
    }
}

/* Ajuste específico para 810px (iPad Air/Surface) */
@media (width: 810px) {
    .header-container {
        background-position: center center;
    }
}

@media (max-width: 767px) {
    .modelo-etiqueta {
        width: 10rem;
        margin: 0 auto 1.2rem;
        align-self: center;
    }

    .modelo-visual img.modelo-etiqueta {
        width: 20rem;
        max-width: 20rem;
    }
}

@media (width: 768px),
(min-width: 768px) and (max-width: 768px) {
    .modelos-lightbox .modelos-lightbox-meta .modelos-lightbox-etiqueta {
        width: 25rem !important;
        max-width: 25rem !important;
    }
}

@media (min-width: 1025px) {
    .modelo-etiqueta {
        width: min(28%, 150px);
        margin: 0 auto 1.6rem;
        align-self: center;
    }

    .modelo-etiqueta--a {
        width: min(28%, 150px);
        transform: translate(-12rem, 25.5rem);
    }

    .modelo-etiqueta--b {
        width: min(28%, 150px);
        transform: translate(27rem, 22rem);
    }

    .modelo-etiqueta--c {
        width: min(28%, 150px);
        transform: translate(-14rem, 25rem);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .modelo-etiqueta {
        width: 30rem !important;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    /* .text-hero {
        justify-content: center;
        margin-top: 2rem;
        padding: 0 2.4rem 0;
        text-align: center;
    } */

    .home-title-block {
        width: min(100%, 58rem);
        margin-top: 4rem;
        margin-right: 0;
        min-height: 26rem;
        padding: 3.2rem 0 1.8rem;
        align-items: center;
        justify-content: center;
    }

    .home-title-block::before {
        background-size: 18rem;
        background-position: center center !important;
    }
}

@media (width: 810px) {
    .home-title-block {
        margin-right: -5rem;
    }
}

@media (max-width: 1024px) {
    .header-container {
        min-height: 100vh;
        background-image: url(../assets/01-HOME/Fachada-2.jpg);
        background-position: center center;
        padding-bottom: 0;
    }

    /* .text-hero {
        width: 100%;
        margin-top: auto;
        justify-content: center;
        text-align: center;
        padding: 0 2rem 0;
    } */

    .home-title-block {
        margin-top: 0;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .header-container {
        background-image: url(../assets/01-HOME/Fachada-2.jpg);
        background-position: 55% center;
        padding-bottom: 0;
    }

    .header-container .top-bar {
        min-height: 4.8rem;
    }

    .header-container .nuvo-logo {
        display: inline-flex;
        align-items: center;
    }

    .header-container .nuvo-logo img {
        width: 70px;
        margin: 0;
        display: block;
        transform: none;
    }

    .header-container .menu-toggle {
        top: auto;
        transform: none;
    }

    /* .text-hero {
        padding: 0 1.6rem 0;
    } */
}

/* Hacer que el mapa parezca clickeable solo en celulares */
@media (max-width: 767px) {
    .mapa-ubicacion img {
        cursor: zoom-in;
    }
}

/* ==========================================
   AMENIDADES: FLECHAS EN MÓVIL Y OCULTAR TEXTO
========================================== */
@media (max-width: 1024px) {
    /* Forzar que los botones se muestren en tablet y móvil */
    .amenidades-container .buttons {
        display: flex !important; 
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
        width: 100%;
    }

    /* Ocultar el texto de "Desliza con tu dedo" */
    .amenidades-container .section-swipe-hint {
        display: none !important;
    }
    
    /* Quitar el cursor de la lupa en el carrusel principal */
    .amenidades-carousel img {
        cursor: default;
    }
}


/* ==========================================
   AJUSTE: SUBIR BOTONES DE MODELOS (TABLET Y MÓVIL)
========================================== */

/* Tablets (iPad, etc.) */
@media (max-width: 1024px) {
    .modelo-controls {
        bottom: 15rem !important; /* Sube los botones a ~50px del borde inferior */
    }
}

/* Móviles grandes y estándar */
@media (max-width: 767px) {
    .modelo-controls {
        bottom: 15rem !important; /* Sube los botones a ~40px del borde inferior */
    }
}

/* Móviles pequeños (iPhone SE, etc.) */
@media (max-width: 390px) {
    .modelo-controls {
        bottom: 16rem !important; /* Un buen margen para pantallas muy cortas */
    }
}

/* ==========================================
   BOTTOM FOOTER
========================================== */
.bottom-footer {
    background-color: #867C70;
    color: var(--secundario);
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

/* --- Fila superior --- */
.bottom-footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 3.2rem 6rem;
    border-bottom: 1px solid rgba(247, 239, 226, 0.15);
}

.bottom-footer-dev {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
}

.bottom-footer-label {
    font-size: 1.1rem;
    letter-spacing: .12rem;
    text-transform: uppercase;
    color: rgba(247, 239, 226, 0.55);
    font-style: italic;
}

.waru-logo {
    height: 3.2rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .waru-logo {
        margin-left: 1.2rem;
    }
}

.bottom-footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-footer-iso {
    width: 5.2rem;
    height: auto;
    opacity: 0.6;
}

.bottom-footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border: 1px solid rgba(247, 239, 226, 0.35);
    border-radius: 50%;
    color: var(--secundario);
    transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.social-link svg {
    width: 1.6rem;
    height: 1.6rem;
}

.social-link:hover {
    border-color: var(--primario);
    background: rgba(203, 178, 157, 0.15);
    color: var(--primario);
}

/* --- Fila inferior --- */
.bottom-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 2rem 6rem;
}

.bottom-footer-address {
    font-size: 1.2rem;
    font-style: normal;
    letter-spacing: .04rem;
    color: rgba(247, 239, 226, 0.65);
    white-space: nowrap;
}

.bottom-footer-disclaimer {
    font-size: 1.05rem;
    color: rgba(247, 239, 226, 0.4);
    text-align: center;
    margin: 0;
    line-height: 1.5;
    max-width: 60ch;
    flex: 1;
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
    .bottom-footer-top {
        padding: 2.8rem 3.6rem;
    }
    .bottom-footer-bottom {
        padding: 1.8rem 3.6rem;
    }
}

@media (max-width: 767px) {
    .bottom-footer-top {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 2.4rem;
        padding: 3rem 2rem;
    }
    .bottom-footer-dev {
        align-items: center;
    }
    .bottom-footer-social {
        justify-content: center;
    }
    .bottom-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 2rem 2rem 2.8rem;
        text-align: center;
    }
    .bottom-footer-address {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .modelos-container .section-swipe-hint {
        bottom: 4rem !important;
    }
}

/* ==========================================
   SECCIONES: 100dvh EN MOBILE
========================================== */
@media (max-width: 767px) {
    .header-container,
    .nosotros-container,
    .caracteristicas,
    .amenidades-container,
    .ubicacion-container,
    .footer-container {
        min-height: 100vh;   /* fallback navegadores sin soporte dvh */
        min-height: 100dvh;  /* dvh = altura real descontando chrome del navegador */
    }
}

/* ==========================================
   RENDER ZOOM OVERLAY (MÓVIL)
========================================== */
.render-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.render-zoom-overlay[hidden] {
    display: none;
}

.render-zoom-img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    touch-action: none;
    transform-origin: center;
}

.render-zoom-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1;
    border: .8px solid var(--secundario);
    background: rgba(0, 0, 0, 0.45);
    color: var(--secundario);
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.render-zoom-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: var(--secundario);
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.45);
    padding: .6rem 1.2rem;
    border-radius: 999px;
    border: .8px solid rgba(247, 239, 226, 0.35);
    pointer-events: none;
    white-space: nowrap;
    transition: opacity .4s ease;
}

.render-zoom-hint.is-hidden {
    opacity: 0;
}

.render-zoom-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.45);
    border: .8px solid rgba(247, 239, 226, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: var(--secundario);
}

.render-zoom-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* ==========================================
   NAV TRANSPARENTE AL TOP DE LA PÁGINA
========================================== */
.top-bar::before {
    transition: opacity 0.4s ease;
}

body.nav-at-top:not(.desktop-nav-open) .top-bar::before {
    opacity: 0;
}

body.nav-at-top:not(.desktop-nav-open) .desktop-nav-toggle {
    background: transparent;
    border-color: rgba(247, 239, 226, 0.4);
}

@media (max-width: 767px) {
    body.nav-at-top .header-container .top-bar:not(.nav-open) {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
    }
}