/* SECTION INTRO */
section.intro {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    isolation: isolate;
}

section.intro .intro__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: visible;
    background: var(--black);
}

section.intro .intro__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
    opacity: .85;
}

section.intro .intro__content {
    position: relative;
    z-index: 2;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

section.intro .intro__content--left {
    flex: 1 1 auto;
    min-width: 0;
}

section.intro .intro__content--right {
    flex: 0 0 auto;
}

section.intro .intro__content h1 {
    max-width: 30ch;
    margin-bottom: 0.5rem;
}

section.intro .intro__content p {
    position: relative;
    z-index: 0;
    max-width: 14ch;
}

section.intro .intro__content p::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc(var(--space-l) * -1);
    bottom: calc(var(--space-xxl) * -1);
    width: 80vw;
    height: 50vw;
    background: radial-gradient(
        circle at 0% 100%,
        rgba(40, 34, 5, .8) 00%,
        rgba(40, 34, 5, 0) 50%
    );
    pointer-events: none;
}

@media (max-width: 991px) {
    section.intro .intro__content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: var(--space-m);
    }

    section.intro .intro__content--left {
        flex: 0 0 auto;
    }

    section.intro .intro__content--right {
        position: relative;
        z-index: 2;
    }

    section.intro .intro__content h1 {
        max-width: 100%;
    }

    section.intro .intro__content p::before {
        bottom: calc(var(--space-xxl) * -1.5);
        left: calc(var(--space-s) * -1);
        height: 100vh;
        width: 100vw;
        background: radial-gradient(circle at 0% 100%, rgba(40, 34, 5, .8) 00%, rgba(40, 34, 5, 0) 50%);
    }

}

/* PINNED SCENES — base compartida */
section.index-scene,
section.residences-scene,
section.living-here-scene {
    position: relative;
    min-height: 100vh;
    padding: 0;
    z-index: 2;
}

section.index-scene .index-scene__stage,
section.residences-scene .residences-scene__stage,
section.living-here-scene .living-here-scene__stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

section.equilibrio.equilibrio--bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-l);
    pointer-events: none;
}

section.residences {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    padding: 0;
    background: transparent;
    clip-path: inset(0% 0% 0% 0%);
}

section.residences .residences__content {
    position: relative;
    z-index: 4;
    flex: 0 0 50%;
    overflow: hidden;
    padding: var(--space-l);
    background-color: var(--bone);
}

section.residences .residences__content-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-m);
}

section.residences .residences__content-title {
    margin-left: 30%;
    margin-bottom: -10%;
    position: relative;
    z-index: 2;
    opacity: 0;
    will-change: opacity, transform;
}

section.residences .residences__content-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
    margin-top: -5%;
}

section.residences .residences__content-wrap h2 {
    max-width: 14ch;
}

section.residences .residences__content-wrap p {
    max-width: 32ch;
}

section.residences .residences__images {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bone);
}

section.residences .residences__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

section.residences .residences__image:first-child {
    z-index: 2;
}

section.residences .residences__image:nth-child(2) {
    z-index: 1;
}

section.residences .residences__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

section.residences .residences__mini-image {
    aspect-ratio: 1 / 1;
    width: 50%;
    overflow: hidden;
}

section.residences .residences__mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

/* SECTION TORRE — mismo layout que residences (index) */
section.torre {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    padding: 0;
    background: transparent;
    clip-path: inset(0% 0% 0% 0%);
}

section.torre.torre--1 {
    flex-direction: row-reverse;
}

section.torre.torre--1 .torre__images,
section.torre.torre--2 .torre__images {
    background-color: transparent;
}

section.torre .torre__content {
    position: relative;
    z-index: 4;
    flex: 0 0 50%;
    overflow: hidden;
    padding: var(--space-l);
    background-color: var(--bone);
    clip-path: inset(0% 0% 0% 0%);
    will-change: clip-path;
}

section.torre .torre__content-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-m);
    padding-top: var(--space-l);
}

section.torre .torre__content-title {
    position: relative;
    z-index: 2;
    opacity: 0;
    will-change: opacity, transform;

}

section.torre .torre__content-title h2 {
    margin-bottom: var(--space-m);
}

section.torre .torre__content-wrap h2 {
    max-width: 15ch;
}

section.torre .torre__content-wrap p {
    max-width: 40ch;
}

section.torre .torre__content-table {
    width: 100%;
    overflow: hidden;
    will-change: clip-path;
}

.torre-table {
    width: 100%;
}

.torre-table__grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.torre-table__grid thead th {
    padding: 0 0 var(--space-s);
    color: var(--grey-medium);
    font-weight: 300;
    text-align: center;
    border-bottom: 1px solid var(--grey);
}

.torre-table__grid thead th:first-child {
    text-align: left;
    padding-left: var(--space-s);
}

.torre-table__grid thead th:last-child {
    text-align: right;
    padding-right: var(--space-s);
}

.torre-table__grid tbody td {
    padding: calc(var(--space-s) + var(--space-xxs)) var(--space-xxs);
    color: var(--grey-dark);
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.torre-table__grid tbody td:first-child {
    padding-left: var(--space-s);
    text-align: left;
}

.torre-table__grid tbody td:last-child {
    padding-right: var(--space-s);
    text-align: right;
}

.torre-table__row--alt {
    background-color: color-mix(in srgb, var(--sand) 5%, var(--bone));
}

.torre-table__row {
    cursor: pointer;
    transition: background-color 0.35s ease;
}

.torre-table__row:hover td {
    background-color: color-mix(in srgb, var(--sand) 18%, var(--bone));
    
}

.torre-table__row--alt:hover td {
    background-color: color-mix(in srgb, var(--sand) 24%, var(--bone));
}

section.torre .torre__images {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bone);
}

section.torre .torre__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

section.torre .torre__image:first-child {
    z-index: 2;
}

section.torre .torre__image:nth-child(2) {
    z-index: 1;
}

section.torre .torre__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

section.torre .torre__mini-image {
    aspect-ratio: 1 / 1;
    width: 50%;
    overflow: hidden;
}

section.torre .torre__mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}



/* SECTION EQUILIBRIO */
section.equilibrio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
}

section.equilibrio .equilibrio__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.equilibrio .equilibrio__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

section.equilibrio .equilibrio__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.equilibrio .equilibrio__content {
    position: relative;
    text-align: center;
    z-index: 2;
}

section.equilibrio .equilibrio__content p {
    max-width: 15ch;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
    section.equilibrio.equilibrio--bg {
        padding: var(--space-s);
    }
    section.equilibrio .equilibrio__content p {
        font-size: 13vw;
    }
}

/* SECTION FRENTE */
section.frente {
    position: absolute;
    inset: 0;
    z-index: 11;
    display: flex;
    flex-direction: row-reverse;
    padding: 0;
    background: transparent;
    clip-path: inset(0% 0% 0% 0%);
}

section.frente .frente__content {
    position: relative;
    z-index: 4;
    flex: 0 0 50%;
    overflow: hidden;
    padding: var(--space-l);
    background-color: var(--bone);
    container-type: inline-size;
}

section.frente .frente__content-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-m);
}

section.frente .frente__content-title {
    margin-right: 10%;
    margin-bottom: -10%;
    position: relative;
    z-index: 2;
    opacity: 0;
    will-change: opacity, transform;
}

section.frente .frente__content-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-m);
    margin-top: -5%;
    width: fit-content;
    max-width: 100%;
}

section.frente .frente__content-wrap h2 {
    max-width: 15ch;
}

section.frente .frente__content-wrap p {
    max-width: 32ch;
}

section.frente .frente__images {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

section.frente .frente__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

section.frente .frente__image:first-child {
    z-index: 2;
}

section.frente .frente__image:nth-child(2) {
    z-index: 1;
}

section.frente .frente__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

section.frente .frente__mini-image {
    aspect-ratio: 1 / 1;
    width: min(18rem, 50cqw);
    overflow: hidden;
}

section.frente .frente__mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}


/* MOBILE — escenas pinneadas */
@media (max-width: 991px) {
    section.index-scene,
    section.residences-scene,
    section.living-here-scene {
        min-height: auto;
    }

    section.index-scene .index-scene__stage,
    section.residences-scene .residences-scene__stage,
    section.living-here-scene .living-here-scene__stage {
        height: auto;
        overflow: visible;
        isolation: auto;
    }

    section.intro {
        position: sticky;
        top: 0;
        height: 100svh;
        min-height: 100svh;
        z-index: 0;
        padding: var(--space-s);
    }

    section.intro .intro__img img {
        height: 120%;
    }

    section.residences {
        position: relative;
        inset: auto;
        z-index: 2;
        flex-direction: column;
        clip-path: none;
        background-color: var(--bone);
        min-height: auto;
    }

    section.residences .residences__content {
        flex: none;
        width: calc(100% + (var(--amenities-track-padding) * 2));
        overflow: visible;
        padding: var(--space-l) var(--space-s) var(--space-l) var(--space-s);
    }

    section.residences .residences__content-wrap {
        height: auto;
        justify-content: flex-start;
    }

    section.residences .residences__content-title {
        margin-left: 0;
        margin-bottom: 0;
        opacity: 1;
        transform: none;
    }

    section.residences .residences__content-description {
        margin-top: 0;
    }

    section.residences .residences__mini-image {
        width: 55%;
        align-self: flex-end;
        margin-top: -10%
    }

    section.residences .residences__images {
        flex: none;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    section.residences .residences__images {
        display: flex;
        flex-direction: column;
    }

    section.residences .residences__image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    section.residences .residences__images {
        display: none;
    }

    section.residences .residences__image img {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section.torre {
        position: relative;
        inset: auto;
        z-index: 2;
        flex-direction: column;
        clip-path: none;
        background-color: var(--bone);
    }

    section.torre.torre--1 {
        flex-direction: column;
    }

    section.torre .torre__content {
        flex: none;
        width: 100%;
        overflow: visible;
        padding: var(--space-l) var(--space-s) var(--space-l) var(--space-s);
    }

    section.frente .frente__image:nth-child(2) {
        display: none;
    }

    section.torre .torre__content-wrap {
        height: auto;
        justify-content: flex-start;
    }

    section.torre .torre__content-title {
        margin-left: 0;
        margin-bottom: 0;
        opacity: 1;
        transform: none;
    }

    section.torre .torre__content-description {
        margin-top: 0;
    }

    section.torre .torre__content-table {
        margin-top: var(--space-l);
    }

    .torre-table__grid thead {
        display: none;
    }

    .torre-table__grid,
    .torre-table__grid tbody,
    .torre-table__grid tr,
    .torre-table__grid td {
        display: block;
        width: 100%;
    }

    .torre-table__grid tbody tr {
        padding-block: var(--space-s);
        border-bottom: 1px solid color-mix(in srgb, var(--grey-dark) 15%, transparent);
    }

    .torre-table__grid tbody tr:last-child {
        border-bottom: none;
    }


    .torre-table__row--alt {
        margin-inline: auto;
        padding-inline: 0;
        border-radius: 0;
    }

    .torre-table__row--alt {
        background-color: transparent
    }

    .torre-table__grid tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: var(--space-m);
        padding: var(--space-xxs) 0;
        text-align: right;
    }

    .torre-table__grid tbody td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-family: "General Sans", sans-serif;
        font-size: 0.8125rem;
        font-weight: 300;
        line-height: 1.45;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--grey-medium);
        text-align: left;
    }

    .torre-table__grid tbody td:first-child {
        display: block;
        padding-top: var(--space-xs);
        padding-bottom: var(--space-s);
        margin-bottom: 0;
        border-bottom: none;
        text-align: left;
        font-size: 1.5rem;
    }

    .torre-table__grid tbody td:first-child::before {
        display: none;
    }

    .torre-table__grid tbody td:first-child {
        padding-left: 0;
    }


    section.torre .torre__mini-image {
        width: 55%;
        align-self: flex-end;
        margin-top: -10%;
    }

    section.torre .torre__images {
        flex: none;
        width: 100%;
        height: auto;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    section.torre .torre__image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    section.torre .torre__image:nth-child(2) {
        display: none;
    }

    section.torre .torre__image img {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section.equilibrio.equilibrio--bg {
        position: relative;
        inset: auto;
        z-index: 1;
        min-height: 100svh;
        pointer-events: auto;
    }

    section.frente {
        position: relative;
        inset: auto;
        z-index: 2;
        flex-direction: column;
        clip-path: none;
        background-color: var(--bone);
    }

    section.frente .frente__content {
        flex: none;
        width: 100%;
        overflow: visible;
        padding: var(--space-l) var(--space-s) var(--space-l) var(--space-s);
    }

    section.frente .frente__content-wrap {
        height: auto;
        justify-content: flex-start;
        align-items: flex-start;
    }

    section.frente .frente__content-title {
        margin-right: 0;
        margin-bottom: 0;
        opacity: 1;
        transform: none;
    }

    section.frente .frente__content-description {
        margin-top: 0;
        align-items: flex-start;
        width: auto;
        max-width: none;
    }

    section.frente .frente__mini-image {
        width: 55%;
        align-self: flex-end;
        margin-top: -10%;
    }

    section.frente .frente__images {
        flex: none;
        width: 100%;
        height: auto;
        overflow: visible;
    }

    section.frente .frente__images {
        display: flex;
        flex-direction: column;
    }

    section.frente .frente__image {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    section.frente .frente__image img {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section.index-scene .index-scene__stage section.avances,
    section.residences-scene .residences-scene__stage section.avances {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        clip-path: none;
        padding-top: var(--space-xl);
    }

    section.index-scene .index-scene__stage section.avances .avances__content h3,
    section.residences-scene .residences-scene__stage section.avances .avances__content h3,
    section.index-scene .index-scene__stage section.avances .avances__content .button,
    section.residences-scene .residences-scene__stage section.avances .avances__content .button {
        opacity: 1;
        transform: none;
    }

    section.index-scene .index-scene__stage section.surfearla,
    section.residences-scene .residences-scene__stage section.surfearla {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 150svh;
        height: auto;
        clip-path: none;
    }

    section.index-scene .index-scene__stage section.surfearla .surfearla__content h2,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__content h2,
    section.index-scene .index-scene__stage section.surfearla .surfearla__content p,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__content p {
        opacity: 1;
        transform: none;
    }

    section.index-scene .index-scene__stage section.zona,
    section.residences-scene .residences-scene__stage section.zona {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        clip-path: none;
        visibility: visible;
        padding-top: var(--space-xl);
    }

    section.index-scene .index-scene__stage section.zona .milestones__items,
    section.residences-scene .residences-scene__stage section.zona .milestones__items {
        position: relative;
        top: 0;
        right: 0;
    }

    section.index-scene .index-scene__stage section.zona .zona__content h3,
    section.residences-scene .residences-scene__stage section.zona .zona__content h3 {
        opacity: 1;
        transform: none;
    }

    section.index-scene .index-scene__stage section.zona .milestones__item,
    section.residences-scene .residences-scene__stage section.zona .milestones__item {
        opacity: 1;
        transform: none;
    }

    section.index-scene .index-scene__stage section.ubicacion,
    section.residences-scene .residences-scene__stage section.ubicacion {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 100vh;
        min-height: 100vh;
        height: auto;
        clip-path: none;
        visibility: visible;
        padding-top: var(--space-xl);
    }

    section.residences-scene .residences-scene__stage section.complejo {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 100vh;
        min-height: 100vh;
        height: auto;
        clip-path: none;
        visibility: visible;
        padding: var(--space-xl) var(--space-s) var(--space-xl);
    }

    section.residences-scene .residences-scene__stage section.complejo .complejo__imgs {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        margin-bottom: 0;
        z-index: 0;
    }

    section.residences-scene .residences-scene__stage section.complejo .complejo__img {
        position: absolute;
        inset: 0;
    }

    section.residences-scene .residences-scene__stage section.complejo .complejo__img:first-child {
        position: absolute;
    }

    section.residences-scene .residences-scene__stage section.complejo .milestones__items {
        position: relative;
        top: 0;
        left: 0;
    }

    section.residences-scene .residences-scene__stage section.complejo .complejo__img:not(:first-child) {
        display: none;
    }

    section.residences-scene .residences-scene__stage section.torre {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        clip-path: none;
        visibility: visible;
    }
    
}

/* DESKTOP — capas apiladas en la escena pinneada (avances / surfearla) */
@media (min-width: 992px) {
    section.index-scene .index-scene__stage section.avances,
    section.residences-scene .residences-scene__stage section.avances {
        position: absolute;
        inset: 0;
        z-index: 9;
        min-height: 100vh;
        height: 100%;
        padding: var(--space-xl) var(--space-l);
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        will-change: clip-path;
    }

    section.index-scene .index-scene__stage section.avances .avances__content h3,
    section.residences-scene .residences-scene__stage section.avances .avances__content h3 {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.index-scene .index-scene__stage section.avances .avances__content .button,
    section.residences-scene .residences-scene__stage section.avances .avances__content .button {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.index-scene .index-scene__stage section.surfearla,
    section.residences-scene .residences-scene__stage section.surfearla {
        position: absolute;
        inset: 0;
        z-index: 8;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        will-change: clip-path;
    }

    section.index-scene .index-scene__stage section.surfearla .surfearla__content h2,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__content h2,
    section.index-scene .index-scene__stage section.surfearla .surfearla__content p,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__content p {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.index-scene .index-scene__stage section.surfearla .surfearla__content,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__content {
        will-change: transform;
    }

    section.index-scene .index-scene__stage section.surfearla .surfearla__img img,
    section.residences-scene .residences-scene__stage section.surfearla .surfearla__img img {
        height: 195%;
        width: 100%;
        object-fit: cover;
        object-position: center top;
        transform-origin: 50% 0%;
        will-change: transform;
    }

    section.index-scene .index-scene__stage section.zona,
    section.residences-scene .residences-scene__stage section.zona {
        position: absolute;
        inset: 0;
        z-index: 7;
        min-height: 100vh;
        height: 100%;
        padding: var(--space-xl) var(--space-l);
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        overflow: hidden;
        will-change: clip-path;
    }

    section.index-scene .index-scene__stage section.zona .milestones__items,
    section.residences-scene .residences-scene__stage section.zona .milestones__items {
        will-change: transform;
    }

    section.index-scene .index-scene__stage section.zona .zona__content h3,
    section.residences-scene .residences-scene__stage section.zona .zona__content h3 {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.index-scene .index-scene__stage section.zona .milestones__item,
    section.residences-scene .residences-scene__stage section.zona .milestones__item {
        will-change: transform;
    }

    section.index-scene .index-scene__stage section.ubicacion,
    section.residences-scene .residences-scene__stage section.ubicacion {
        position: absolute;
        inset: 0;
        z-index: 6;
        min-height: 100vh;
        height: 100%;
        padding: var(--space-xl) var(--space-l);
        visibility: hidden;
        clip-path: inset(0% 0% 0% 0%);
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.intro {
        z-index: 5;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.complejo {
        position: absolute;
        inset: 0;
        z-index: 4;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.complejo .milestones__items {
        will-change: transform;
        z-index: 3;
    }

    section.residences-scene .residences-scene__stage section.complejo .milestones__item {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.complejo .complejo__img img {
        will-change: transform, clip-path;
    }

    section.residences-scene .residences-scene__stage section.torre--1 {
        position: absolute;
        inset: 0;
        z-index: 3;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.torre--2 {
        position: absolute;
        inset: 0;
        z-index: 3;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        visibility: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.torre .torre__content-title,
    section.residences-scene .residences-scene__stage section.torre .torre__content-table {
        will-change: opacity, transform, clip-path;
    }

    section.residences-scene .residences-scene__stage section.torre .torre__content,
    section.residences-scene .residences-scene__stage section.torre .torre__content-wrap,
    section.residences-scene .residences-scene__stage section.torre .torre__images {
        will-change: transform, clip-path;
    }

    section.residences-scene .residences-scene__stage section.torre .torre__image img {
        will-change: transform, clip-path;
    }

    section.residences-scene .residences-scene__stage section.proxima {
        position: absolute;
        inset: 0;
        z-index: 8;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.proxima .proxima__text > * {
        will-change: opacity, transform;
    }

    section.residences-scene .residences-scene__stage section.proxima .proxima__image {
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.proxima .proxima__image img {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.habitaciones {
        position: absolute;
        inset: 0;
        z-index: 9;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.habitaciones .habitaciones__item {
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.habitaciones .habitaciones__item-image img {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.habitaciones .habitaciones__item-text > *,
    section.residences-scene .residences-scene__stage section.habitaciones .habitaciones__item-name > p {
        will-change: opacity, transform;
    }

    section.residences-scene .residences-scene__stage section.habitaciones .habitaciones__item-progress-fill {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.entorno {
        position: absolute;
        inset: 0;
        z-index: 10;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.entorno .entorno__img img {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.entorno .sentence,
    section.residences-scene .residences-scene__stage section.entorno .sentence span {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.integracion {
        position: absolute;
        inset: 0;
        z-index: 11;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        overflow: hidden;
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.integracion .integracion__image {
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.integracion .integracion__image img {
        will-change: transform;
    }

    section.residences-scene .residences-scene__stage section.integracion .integracion__text {
        will-change: opacity;
    }

    section.residences-scene .residences-scene__stage section.floorplans {
        position: absolute;
        inset: 0;
        z-index: 12;
        min-height: 100vh;
        height: 100%;
        overflow: hidden;
        padding: 0;
        clip-path: inset(0% 0% 0% 0%);
        will-change: clip-path;
    }

    section.residences-scene .residences-scene__stage section.floorplans .floorplans__inner {
        will-change: transform;
    }
}

/* SECTION AVANCES */
section.avances {
    position: relative;
    color: var(--white);
    padding-top: var(--space-xl);
    overflow: hidden;
    background-color: var(--black);
}

section.avances .avances__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.95;
}

section.avances .avances__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.avances .avances__content {
    position: relative;
    z-index: 2;
}

section.avances .avances__content h3 {
    max-width: 35ch;
    margin-bottom: var(--space-m);
    position: relative;
}

section.avances::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: calc(var(--space-l) * -1);
    top: calc(var(--space-xl) * -1);
    width: 70vw;
    height: 40vw;
    background: radial-gradient(
        circle at 0% 0%,
        rgba(78, 68, 54, 1) 00%,
        rgba(78, 68, 54, 0) 50%
    );
    pointer-events: none;
}

section.avances .avances__timeline {
    position: absolute;
    z-index: 2;
    left: var(--space-l);
    bottom: var(--space-m);
    display: flex;
    max-width: calc(100% - (var(--space-l) * 2));
}

section.avances .avances__timeline-item {
    flex: 0 1 33.3333%;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding-bottom: var(--space-s);
    opacity: 0.2;
    transition: var(--transition);
}

section.avances .avances__timeline-item:hover {
    opacity: 1;
}

section.avances .avances__timeline-item:first-child {
    opacity: 1;
}

section.avances .avances__timeline-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-s);
    padding-right: var(--space-m);
    padding-left: 0;
}

@media (max-width: 991px) {
    section.index-scene .index-scene__stage section.avances {
        min-height: max(100vh, 50rem);
        padding-bottom: var(--space-xl);
    }
    section.avances::before {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: radial-gradient(circle at 0% 0%, rgba(78, 68, 54, .7) 0%, rgba(78, 68, 54, 0) 80%);
    }
    section.avances .avances__timeline {
        left: var(--space-s);
        max-width: calc(100% - (var(--space-s) * 2));
        flex-direction: column;
        gap: var(--space-s);
    }
    section.avances .avances__timeline-item {
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        opacity: 1;
    }
}

/* SECTION SURFEARLA */
section.surfearla {
    min-height: 150vh;
    position: relative;
    color: var(--white);
    gap: var(--space-xxl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.surfearla .surfearla__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.surfearla .surfearla__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.surfearla .surfearla__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30vh;
    text-align: center;
}

section.surfearla .surfearla__content h2 {
    max-width: 12ch;
}

section.surfearla .surfearla__content p {
    max-width: 32ch;
}

/* SECTION ZONA */
section.zona {
    position: relative;
    color: var(--white);
    padding-top: var(--space-xl);
    overflow: hidden;
}

section.zona .zona__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.zona .zona__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.zona .zona__content {
    position: relative;
    z-index: 2;
}

section.zona .zona__content h3 {
    max-width: 35ch;
    margin-bottom: var(--space-m);
    position: relative;
    margin-bottom: var(--space-m);
}

section.zona .zona__content h3::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc(var(--space-l) * -1);
    top: calc(var(--space-xl) * -1);
    width: 70vw;
    height: 40vw;
    background: radial-gradient(
        circle at 0% 0%,
        rgba(78, 68, 54, 1) 00%,
        rgba(78, 68, 54, 0) 50%
    );
    pointer-events: none;
}

section.zona .milestones__items {
    right: var(--space-l);
    top: var(--space-xl);
}

/* SECTION FAMILIA */
section.familia {
    position: relative;
    color: var(--white);
    padding-top: var(--space-xl);
    overflow: hidden;
}

section.familia .familia__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.familia .familia__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.familia .familia__content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    max-width: min(40rem, 46vw);
    padding-right: var(--space-l);
}

section.familia .familia__content h3 {
    max-width: 35ch;
    margin-left: auto;
    margin-bottom: var(--space-m);
    position: relative;
}

section.familia .familia__content h3::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: calc(var(--space-l) * -1);
    top: calc(var(--space-xl) * -1);
    width: 70vw;
    height: 40vw;
    background: radial-gradient(
        circle at 100% 0%,
        rgb(83, 104, 114) 0%,
        rgba(83, 104, 114, 0) 50%
    );
    pointer-events: none;
}

section.milestones.milestones--familia .milestones__items {
    left: var(--space-l);
    right: auto;
    top: var(--space-xl);
    width: min(30rem, 42vw);
    z-index: 3;
}

/* SECTION COMPLEJO */
section.complejo {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

section.complejo .complejo__imgs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

section.complejo .complejo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.complejo .complejo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

section.complejo .milestones__items {
    left: var(--space-l);
    right: auto;
    top: var(--space-xl);
    z-index: 3;
    width: min(30rem, 42vw);
    pointer-events: none;
}

/* MILESTONES GENERAL */
section.milestones .milestones__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    position: absolute;
}

section.milestones .milestones__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.05);
    padding: var(--space-m);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 1 / 1;
    max-width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 991px) {
    section.milestones {
        --milestones-slide-width: 82%;
        --milestones-slide-gap: var(--space-s);
        --milestones-track-padding: var(--space-s);

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100vh;
        min-height: 100svh;
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
        padding-inline: var(--space-s);
        box-sizing: border-box;
    }

    section.zona .zona__content,
    section.familia .familia__content,
    section.investment .investment__content {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        order: 1;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    section.familia .familia__content {
        margin-left: 0;
        padding-right: 0;
    }

    section.investment .investment__content {
        padding-left: 0;
    }

    section.familia .familia__content h3 {
        margin-left: 0;
    }

    section.zona .zona__content h3::before,
    section.investment .investment__content h3::before {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        background: radial-gradient(
            circle at 0% 0%,
            rgba(78, 68, 54, 0.7) 0%,
            rgba(78, 68, 54, 0) 80%
        );
    }

    section.familia .familia__content h3::before {
        left: calc(var(--space-xl) * -1);
        right: auto;
        width: 140vw;
        height: 100vh;
        height: 100svh;
        background: radial-gradient(
            circle at 100% 0%,
            rgba(83, 104, 114, 0.7) 0%,
            rgba(83, 104, 114, 0) 80%
        );
    }

    section.milestones.milestones--familia .milestones__items,
    section.milestones.milestones--investment .milestones__items {
        top: 0;
    }

    section.complejo .complejo__imgs {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    section.complejo .complejo__img {
        position: absolute;
        inset: 0;
    }

    section.complejo .complejo__img:first-child {
        position: absolute;
    }

    section.complejo .complejo__img:not(:first-child) {
        display: none;
    }

    section.milestones .milestones__items {
        position: relative;
        inset: auto;
        top: 0;
        right: 0;
        left: 0;
        z-index: 2;
        order: 2;
        flex: 0 0 auto;
        width: 100vw;
        max-width: 100vw;
        margin-top: var(--space-m);
        margin-left: calc(50% - 50vw);
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: var(--milestones-slide-gap);
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scroll-padding-inline: var(--milestones-track-padding);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        pointer-events: auto;
        padding-inline: var(--milestones-track-padding);
        box-sizing: border-box;
    }

    section.milestones .milestones__items::-webkit-scrollbar {
        display: none;
    }

    section.milestones .milestones__items::after {
        content: "";
        flex: 0 0 calc(100% - var(--milestones-slide-width) - var(--milestones-slide-gap));
    }

    section.milestones .milestones__item {
        flex: 0 0 var(--milestones-slide-width);
        width: var(--milestones-slide-width);
        max-width: none;
        aspect-ratio: 1 / 1;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        opacity: 1;
        transform: none;
    }

    section.zona .milestones__items,
    section.milestones.milestones--familia .milestones__items,
    section.milestones.milestones--investment .milestones__items {
        width: 100vw;
        max-width: 100vw;
        left: auto;
        right: auto;
    }

    section.milestones.milestones--complejo .milestones__items,
    section.complejo .milestones__items {
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        overflow: visible;
        overscroll-behavior: auto;
        scroll-snap-type: none;
        scroll-behavior: auto;
        scroll-padding-inline: 0;
        padding-inline: 0;
        gap: var(--space-s);
    }

    section.milestones.milestones--complejo .milestones__items::after,
    section.complejo .milestones__items::after {
        content: none;
        display: none;
    }

    section.milestones.milestones--complejo .milestones__item,
    section.complejo .milestones__item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 2;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
}

/* SECTION RESIDENCE MODEL */
.residence-model {
    --residence-model-header-offset: 4.5rem;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.residence-model.is-open {
    pointer-events: auto;
}

.residence-model__close {
    position: absolute;
    top: calc(var(--residence-model-header-offset) + var(--space-m));
    right: var(--space-l);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--grey-dark) 10%, transparent);
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--bone) 1%, transparent);
    color: var(--grey-dark);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: border-color 0.35s ease, background-color 0.35s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.residence-model__close:hover {
    border-color: color-mix(in srgb, var(--grey-dark) 35%, transparent);
    background-color: var(--white);
}

.residence-model__close-icon {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
}

.residence-model__close-icon::before,
.residence-model__close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1px;
    background-color: currentColor;
    transform-origin: center;
}

.residence-model__close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.residence-model__close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.residence-model__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.residence-model__left {
    flex: 0 0 50%;
    padding: var(--space-l);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-m);
    background-color: var(--bone);
}

.residence-model__left p.h-sans {
    color: var(--grey-medium);
}

.residence-model__description {
    position: relative;
    z-index: 2;
}

.residence-model__description p {
    margin-bottom: var(--space-s);
    max-width: 42ch;
}

.residence-model__description h2 {
    margin-bottom: var(--space-m);
}

.residence-model__specs-item {
    margin-bottom: var(--space-s);
}

.residence-model__button {
    margin-top: var(--space-s);
    color: var(--grey-dark);
}

.residence-model__button:hover {
    background-color: var(--grey-dark);
    color: var(--white);
}

.residence-model__right {
    flex: 0 0 50%;
    min-width: 0;
    min-height: 0;
    background-color: var(--white);
}

.residence-model__images {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.residence-model__images::-webkit-scrollbar {
    display: none;
}

.residence-model__image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    flex-shrink: 0;
    position: relative;
}

.residence-model__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
}

.residence-model__image:first-child img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
}

/* .residence-model__image:not(:first-child) {
    height: auto;
    min-height: auto;
} */

body.is-residence-model-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    .residence-model__left {
        clip-path: inset(100% 0 0 0);
        will-change: clip-path;
    }

    .residence-model__right {
        clip-path: inset(0 0 100% 0);
        will-change: clip-path;
    }
}

@media (max-width: 991px) {
    .residence-model {
        --residence-model-header-offset: 3.75rem;
    }

    .residence-model__close {
        position: absolute;
        top: calc(var(--residence-model-header-offset) + var(--space-s));
        right: var(--space-s);
        width: 2.5rem;
        height: 2.5rem;
        z-index: 5;
    }

    .residence-model__content {
        flex-direction: column;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        clip-path: inset(100% 0 0 0);
        will-change: clip-path;
    }

    .residence-model__left {
        flex: 0 0 auto;
        width: 100%;
        padding: calc(var(--residence-model-header-offset) + var(--space-xl)) var(--space-m) var(--space-m);
        gap: var(--space-l);
        justify-content: flex-start;
    }

    .residence-model__right {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        background-color: var(--bone);
    }

    .residence-model__images {
        display: flex;
        flex-direction: column;
        gap: 0;
        height: auto;
        overflow: visible;
    }

    .residence-model__image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .residence-model__image img {
        aspect-ratio: 1 / 1;
    }

    .residence-model__description p {
        max-width: none;
    }
}

@media (max-width: 575px) {
    .residence-model__left {
        padding-top: calc(var(--residence-model-header-offset) + var(--space-l));
    }

    .torre-table__row:hover td {
        background-color: inherit;
    }

    .torre-table__row--alt:hover td {
        background-color: color-mix(in srgb, var(--sand) 5%, var(--bone));
    }
}

/* SECTION UBICACION */
section.ubicacion {
    position: relative;
    color: var(--white);
    padding-top: var(--space-xl);
    overflow: hidden;
}

section.ubicacion .ubicacion__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.ubicacion .ubicacion__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
}

section.ubicacion .ubicacion__content {
    position: relative;
    z-index: 2;
}

section.ubicacion .ubicacion__content h3 {
    max-width: 35ch;
    margin-bottom: var(--space-m);
    position: relative;
    margin-bottom: var(--space-m);
}

section.ubicacion .ubicacion__content h3::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: calc(var(--space-l) * -1);
    top: calc(var(--space-xl) * -1);
    width: 70vw;
    height: 40vw;
    background: radial-gradient(
        circle at 0% 0%,
        rgb(3, 51, 41) 00%,
        rgba(3, 51, 41, 0) 50%
    );
    pointer-events: none;
}

section.ubicacion .ubicacion__map {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 50vw;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 5 / 3;
    overflow: hidden;
}

section.ubicacion .ubicacion__map-img {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
}

section.ubicacion .ubicacion__map-img img {
    transform: scale(1.01);
    width: 100%;
}

@media (max-width: 991px) {
    section.ubicacion {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 100vh;
        min-height: 100vh;
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
        padding-inline: var(--space-s);
        box-sizing: border-box;
    }

    section.ubicacion .ubicacion__content {
        flex: 0 0 auto;
        position: relative;
        z-index: 2;
    }

    section.ubicacion .ubicacion__content p {
        position: relative;
    }

    section.ubicacion .ubicacion__content h3::before,
    section.ubicacion .ubicacion__content p::before {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100svh;
        background: radial-gradient(
            circle at 0% 0%,
            rgba(3, 51, 41, 0.75) 0%,
            rgba(3, 51, 41, 0) 80%
        );
    }

    section.ubicacion .ubicacion__img img {
        object-position: 30% center;
    }

    section.ubicacion .ubicacion__map {
        position: absolute;
        right: var(--space-s);
        bottom: var(--space-s);
        left: var(--space-s);
        width: auto;
        max-width: none;
        margin: 0;
        aspect-ratio: 4 / 3;
    }

    .ubicacion__map-img iframe {
        max-height: 40vh;
    }
}

/* SECTION PROXIMA */
section.proxima {
    position: relative;
    color: var(--black);
    padding-top: var(--space-xl);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    background-color: var(--bone);
}

section.proxima .proxima__text {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-m);
}

section.proxima .proxima__text h2 {
    max-width: 15ch;
}

section.proxima .proxima__text p {
    max-width: 50ch;
}

section.proxima .proxima__images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section.proxima .proxima__image {
    position: absolute;
    max-width: 25%;
    overflow: hidden;
    clip-path: inset(0% 0% 0% 0%);
    will-change: clip-path;
}

section.proxima .proxima__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform, clip-path;
}

section.proxima .proxima__image--1 {
    top: 10%;
    left: 20%;
    width: 24%;
    aspect-ratio: 16 / 9;
}

section.proxima .proxima__image--2 {
    top: 10%;
    right: 4%;
    width: 18%;
    aspect-ratio: 1 / 1;
}

section.proxima .proxima__image--3 {
    bottom: 10%;
    left: 4%;
    width: 18%;
    aspect-ratio: 4 / 5;
}

section.proxima .proxima__image--4 {
    bottom: 5%;
    right: 20%;
    width: 20%;
    aspect-ratio: 4 / 3;
}

@media (max-width: 991px) {
    section.proxima {
        padding-bottom: var(--space-xl);
    }
    section.proxima .proxima__image {
        max-width: 100%;
    }
    section.proxima .proxima__image--1 {
        top: 5%;
        left: 10%;
        width: 45%;
        aspect-ratio: 16 / 9;
    }
    
    section.proxima .proxima__image--2 {
        top: 22%;
        right: 10%;
        width: 22%;
        aspect-ratio: 1 / 1;
    }
    
    section.proxima .proxima__image--3 {
        bottom: 5%;
        left: auto;
        right: 5%;
        width: 33%;
        aspect-ratio: 4 / 5;
    }
    
    section.proxima .proxima__image--4 {
        bottom: 21%;
        left: 5%;
        width: 28%;
        aspect-ratio: 4 / 3;
    }
}

/* SECTION HABITACIONES */
section.habitaciones {
    position: relative;
    color: var(--white);
    overflow: hidden;
    z-index: 9;
    height: 100vh;
    padding: 0;
}

section.habitaciones .habitaciones__content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

section.habitaciones .habitaciones__item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

section.habitaciones .habitaciones__item-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--black);
}

section.habitaciones .habitaciones__item-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
    z-index: 1;
}

section.habitaciones .habitaciones__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    opacity: 0.85;
}

section.habitaciones .habitaciones__item-text {
    padding: var(--space-l);
    padding-top: var(--space-xl);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

section.habitaciones .habitaciones__item-text h3 {
    max-width: 11ch;
    margin-bottom: var(--space-m);
}

section.habitaciones .habitaciones__item-text p {
    max-width: 32ch;
}

section.habitaciones .habitaciones__item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: var(--space-l);
    padding-top: var(--space-xl);
}

section.habitaciones .habitaciones__item-name > p {
    margin-bottom: var(--space-s);
}

section.habitaciones .habitaciones__item-progress {
    position: relative;
    width: 100%;
    height: 1px;
}

section.habitaciones .habitaciones__item-progress-track,
section.habitaciones .habitaciones__item-progress-fill {
    position: absolute;
    inset: 0;
    height: 1px;
    background-color: currentColor;
    transform-origin: left center;
}

section.habitaciones .habitaciones__item-progress-track {
    opacity: 0.5;
}

section.habitaciones .habitaciones__item-progress-fill {
    opacity: 1;
    transform: scaleX(0);
}

@media (max-width: 991px) {
    section.residences-scene .residences-scene__stage section.habitaciones {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        clip-path: none;
    }

    section.habitaciones {
        height: auto;
    }

    section.habitaciones .habitaciones__content {
        display: flex;
        flex-direction: column;
    }

    section.habitaciones .habitaciones__item {
        position: relative;
        inset: auto;
        min-height: 100svh;
        clip-path: none !important;
    }

    section.habitaciones .habitaciones__item-image img {
        transform: none !important;
    }

    section.habitaciones .habitaciones__item-progress-fill {
        transform: none !important;
        width: 100%;
    }
    section.habitaciones .habitaciones__item-text {
        padding: var(--space-m) var(--space-s);
    }
    section.habitaciones .habitaciones__item-name {
        padding: var(--space-m) var(--space-s);
    }
}

/* SECTION ENTORNO */
section.entorno {
    position: relative;
    height: 100vh;
    color: var(--white);
    overflow: hidden;
    z-index: 10;
    padding: 0;
}

section.entorno .entorno__content {
    position: relative;
    width: 100%;
    height: 100%;
}

section.entorno .entorno__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

section.entorno .entorno__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
    z-index: 1;
}

section.entorno .entorno__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
}

section.entorno .entorno__text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-l);
    text-align: center;
}

section.entorno .entorno__text-inner {
    position: relative;
    width: 100%;
    max-width: 18ch;
    overflow: hidden;
    padding-block: var(--space-xs);
}

section.entorno .sentence {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.12;
}

section.entorno .sentence span {
    display: inline-block;
    padding-block: 0;
}

section.entorno .sentence:not(:first-child) {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

@media (max-width: 991px) {
    section.residences-scene .residences-scene__stage section.entorno {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 100vh;
        height: 100svh;
        clip-path: none;
    }

    section.entorno {
        height: 100svh;
        min-height: 100svh;
    }

    section.entorno .entorno__content {
        height: 100%;
        min-height: 100svh;
    }

    section.entorno .entorno__img {
        position: absolute;
        inset: 0;
    }
    section.entorno .entorno__text {
        font-size: 10vw;
        padding: var(--space-m) var(--space-s);
    }
}

/* SECTION INTEGRACION */
section.integracion {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 11;
    padding: 0;
    background-color: var(--bone);
}

section.integracion .integracion__inner {
    display: flex;
    width: 100%;
    height: 100%;
}

section.integracion .integracion__content-left {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    padding: var(--space-xl) var(--space-l);
    z-index: 2;
    color: var(--grey-dark);
}

section.integracion .integracion__text {
    opacity: 0.2;
    margin-bottom: var(--space-l);
}

section.integracion .integracion__text h3 {
    max-width: 36ch;
}

section.integracion .integracion__content-right {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

section.integracion .integracion__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

section.integracion .integracion__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
}

@media (max-width: 991px) {
    section.residences-scene .residences-scene__stage section.integracion {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        clip-path: none;
    }

    section.integracion {
        height: auto;
        min-height: 0;
    }

    section.integracion .integracion__inner {
        flex-direction: column;
        gap: var(--space-m);
        padding: var(--space-xl) var(--space-s) var(--space-s) var(--space-s);
    }

    section.integracion .integracion__content-left {
        flex: none;
        max-width: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    section.integracion .integracion__text .h-l {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    section.integracion .integracion__text {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        opacity: 1 !important;
        margin-bottom: var(--space-m);
    }

    section.integracion .integracion__content-right {
        --integracion-slide-width: 82%;
        --integracion-slide-gap: var(--space-s);
        --integracion-track-padding: var(--space-s);
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: var(--integracion-slide-gap);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--integracion-track-padding);
        padding-inline: var(--integracion-track-padding);
        padding-bottom: var(--space-xs);
        margin-inline: calc(var(--integracion-track-padding) * -1);
    }

    section.integracion .integracion__image {
        position: relative;
        inset: auto;
        aspect-ratio: 4 / 3;
        flex: 0 0 var(--integracion-slide-width);
        width: var(--integracion-slide-width);
        clip-path: none !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    section.integracion .integracion__image img {
        transform: none !important;
    }

    section.integracion .integracion__content-right::-webkit-scrollbar {
        display: none;
    }

    section.integracion .integracion__content-right::after {
        content: "";
        flex: 0 0 calc(100% - var(--integracion-slide-width) - var(--integracion-slide-gap));
        pointer-events: none;
    }
}

/* SECTION FLOORPLANS */
section.floorplans {
    position: relative;
    z-index: 12;
    min-height: auto;
    padding: 0;
    background-color: var(--white);
    color: var(--grey-dark);
}

section.floorplans .floorplans__inner {
    padding: var(--space-xxl) var(--space-l) var(--space-xl);
}

section.floorplans .floorplans__title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

section.floorplans .floorplans__title h2 {
    color: var(--grey-dark);
}

section.floorplans .floorplans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-m) var(--space-m);
    max-width: 90rem;
    margin: 0 auto;
}

section.floorplans .floorplans__column {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

section.floorplans .floorplans__column--offset-1 {
    padding-top: 11vw;
}

section.floorplans .floorplans__column--offset-2 {
    padding-top: 20vw;
}

section.floorplans .floorplans__item {
    display: flex;
    flex-direction: column;
    background-color: var(--bone);
    padding: var(--space-m) var(--space-m) var(--space-m);
    cursor: pointer;
    transition: background-color 0.35s ease, transform 0.35s ease;
}

section.floorplans .floorplans__item:hover {
    background-color: color-mix(in srgb, var(--sand) 12%, var(--bone));
}

section.floorplans .floorplans__item:hover .floorplans__item-image img {
    transform: scale(1.02);
}

section.floorplans .floorplans__item-label {
    color: var(--grey-medium);
    margin-bottom: var(--space-s);
}

section.floorplans .floorplans__item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s) 0 var(--space-m);
}

section.floorplans .floorplans__item-image img {
    display: block;
    transition: transform 0.45s ease;
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    -webkit-mix-blend-mode: multiply;
}

section.floorplans .floorplans__item-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-m);
    margin-top: auto;
}

section.floorplans .floorplans__item-details {
    flex: 1 1 auto;
    min-width: 0;
}

section.floorplans .floorplans__item-total {
    flex: 0 0 auto;
    text-align: right;
}

section.floorplans .floorplans__item-total .h-sans {
    color: var(--grey-medium);
    margin-bottom: var(--space-xxs);
}

section.floorplans .floorplans__item-total .h-l {
    color: var(--grey-dark);
    white-space: nowrap;
}

@media (max-width: 991px) {
    section.residences-scene .residences-scene__stage section.floorplans {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        clip-path: none;
    }

    section.floorplans .floorplans__inner {
        padding: var(--space-xl) var(--space-s);
    }

    section.floorplans .floorplans__title {
        margin-bottom: var(--space-l);
    }

    section.floorplans .floorplans__grid {
        grid-template-columns: 1fr;
        gap: var(--space-s);
    }

    section.floorplans .floorplans__column,
    section.floorplans .floorplans__column--offset-1,
    section.floorplans .floorplans__column--offset-2 {
        padding-top: 0;
        gap: var(--space-s);
    }

    section.floorplans .floorplans__item {
        padding: var(--space-s) var(--space-s) var(--space-s);
    }

    section.floorplans .floorplans__item-footer {
        /* align-items: flex-start;
        flex-direction: column;
        gap: var(--space-m); */
        gap: var(--space-s);
    }

    section.floorplans .floorplans__item-total {
        text-align: left;
    }
}

/* SECTION AMENITIES */
section.amenities {
    position: relative;
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

section.amenities .amenities__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    width: 100%;
    height: 100%;
}

section.amenities .amenities__images {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.amenities .amenities__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.amenities .amenities__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.amenities .amenities__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 20;
    background-color: var(--white);
    color: var(--black);
    width: 50vw;
    padding: var(--space-xl) var(--space-l);
}

section.amenities .amenities__text-1 {
    flex: 1 1 auto;
    min-width: 0;
}

section.amenities .amenities__text-2 {
    flex: 1 1 auto;
    min-width: 0;
    position: absolute;
    top: var(--space-xl);
    left: var(--space-l);
    right: var(--space-l);
    margin-right: 0;
}

section.amenities .amenities__text h3 {
    max-width: 36ch;
    margin-bottom: var(--space-m);
}

@media (min-width: 992px) {
    section.living-here-scene .living-here-scene__stage section.intro {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 100vh;
        height: 100%;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.amenities {
        position: absolute;
        inset: 0;
        z-index: 4;
        min-height: 100vh;
        height: 100%;
        overflow: hidden;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.amenities .amenities__text {
        z-index: 20;
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.amenities .amenities__text-1,
    section.living-here-scene .living-here-scene__stage section.amenities .amenities__text-2 {
        will-change: clip-path, transform;
        clip-path: inset(100% 0% 0% 0%);
    }

    section.living-here-scene .living-here-scene__stage section.amenities .amenities__image img {
        will-change: transform, clip-path;
    }
}

@media (max-width: 991px) {
    section.living-here-scene .living-here-scene__stage section.amenities {
        position: relative;
        inset: auto;
        z-index: 2;
        min-height: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        background-color: var(--white);
        color: var(--black);
    }

    section.amenities .amenities__content {
        flex-direction: column;
        gap: var(--space-l);
        height: auto;
        padding: var(--space-xl) var(--space-s) var(--space-s);
    }

    section.amenities .amenities__text {
        order: 1;
        position: relative;
        inset: auto;
        bottom: auto;
        right: auto;
        z-index: auto;
        width: 100%;
        padding: 0;
        gap: var(--space-l);
    }

    section.amenities .amenities__text-1,
    section.amenities .amenities__text-2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        opacity: 1;
    }

    section.amenities .amenities__text h3 {
        max-width: none;
        margin-bottom: var(--space-s);
    }

    section.amenities .amenities__images {
        --amenities-slide-width: 82%;
        --amenities-slide-gap: var(--space-s);
        --amenities-track-padding: var(--space-s);
        order: 2;
        position: relative;
        inset: auto;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: var(--amenities-slide-gap);
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scroll-padding-inline: var(--amenities-track-padding);
        padding-inline: var(--amenities-track-padding);
        padding-bottom: var(--space-xs);
        box-sizing: border-box;
    }

    section.amenities .amenities__image {
        position: relative;
        inset: auto;
        flex: 0 0 var(--amenities-slide-width);
        width: var(--amenities-slide-width);
        height: auto;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    section.amenities .amenities__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }

    section.amenities .amenities__images::-webkit-scrollbar {
        display: none;
    }

    section.amenities .amenities__images::after {
        content: "";
        flex: 0 0 calc(100% - var(--amenities-slide-width) - var(--amenities-slide-gap));
        pointer-events: none;
    }
}

/* SECTION SERVICES */
section.services {
    position: relative;
    background-color: var(--black);
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

section.services .services__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

section.services .services__media {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    width: min(78vw, 68rem);
    height: clamp(14rem, 34vw, 26rem);
    z-index: 4;
    pointer-events: none;
}

section.services .services__media-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    opacity: 1;
    pointer-events: none;
}

section.services .services__list {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11vh;
    padding: 44vh 0;
    will-change: transform;
}

section.services .services__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    text-align: center;
}

section.services .services__item.is-active {
    position: relative;
}

section.services .services__title {
    position: relative;
    z-index: 1;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: none;
    font-size: 8vw;
}

section.services .services__img {
    overflow: hidden;
    flex: 0 0 auto;
    clip-path: inset(100% 0% 0% 0%);
    will-change: clip-path;
}

section.services .services__img--big {
    width: clamp(14rem, 28vw, 24rem);
    aspect-ratio: 3 / 4;
}

section.services .services__img--small {
    width: clamp(10rem, 20vw, 18rem);
    aspect-ratio: 3 / 4;
    margin-bottom: 2.5rem;
}

section.services .services__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: 50% 100%;
    will-change: transform;
}

@media (min-width: 992px) {
    section.living-here-scene .living-here-scene__stage section.services {
        position: absolute;
        inset: 0;
        z-index: 6;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.services .services__media {
        will-change: opacity, transform;
    }

    section.living-here-scene .living-here-scene__stage section.services .services__media-slide {
        will-change: z-index;
    }

    section.living-here-scene .living-here-scene__stage section.services .services__list {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.services .services__title {
        will-change: opacity;
    }

    section.living-here-scene .living-here-scene__stage section.services .services__img {
        will-change: clip-path;
        transform: translateY(14px);
    }

    section.living-here-scene .living-here-scene__stage section.services .services__img img {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.familia {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 100vh;
        height: 100%;
        padding: 0;
        padding-top: var(--space-xl);
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        overflow: hidden;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.familia .milestones__items {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.familia .familia__content h3 {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.living-here-scene .living-here-scene__stage section.familia .milestones__item {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.services {
        will-change: clip-path;
    }
}

@media (max-width: 991px) {
    section.living-here-scene .living-here-scene__stage section.services {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: 100vh;
        height: 100vh;
        clip-path: none;
    }

    section.services .services__inner {
        height: 100%;
    }

    section.services .services__media {
        width: min(92vw, 22rem);
        height: clamp(9.5rem, 44vw, 15rem);
        gap: var(--space-xs);
    }

    section.services .services__media-slide {
        gap: var(--space-xs);
    }

    section.services .services__list {
        gap: 16vh;
        padding: 36vh var(--space-s);
    }

    section.services .services__img--big {
        width: clamp(7.5rem, 40vw, 11rem);
    }

    section.services .services__img--small {
        width: clamp(5.5rem, 30vw, 8.5rem);
        margin-bottom: 1rem;
    }

    section.services .services__title {
        font-size: clamp(1.75rem, 10vw, 4rem);
        line-height: 1.05;
    }

    section.services .services__img {
        opacity: 0;
        visibility: hidden;
    }
}

/* SECTION SUCEDE */
section.sucede {
    position: relative;
    background-color: var(--bone);
    color: var(--black);
    overflow: hidden;
    padding: 0;
    width: 100%;
    height: 100vh;
}

section.sucede .sucede__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

section.sucede .sucede__text {
    position: relative;
    z-index: 2;
}

section.sucede .sucede__text h2 {
    max-width: 12ch;
    text-align: center;
}

section.sucede .sucede__images {
    position: absolute;
    height: 60vh;
    max-width: 35vw;
    width: 100%;
    overflow: hidden;
}

section.sucede .sucede__images--left {
    top: 0;
    left: 0;
}

section.sucede .sucede__images--right {
    bottom: 0;
    right: 0;
}

section.sucede .sucede__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

section.sucede .sucede__img:first-child {
    z-index: 1;
}

section.sucede .sucede__img:last-child {
    z-index: 2;
}

section.sucede .sucede__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: 50% 50%;
}

section.sucede .sucede__images--left .sucede__img:first-child img {
    transform-origin: 50% 100%;
}

section.sucede .sucede__images--right .sucede__img:first-child img {
    transform-origin: 50% 0%;
}

@media (min-width: 992px) {
    section.living-here-scene .living-here-scene__stage section.sucede {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        overflow: hidden;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.sucede .sucede__text h2 {
        opacity: 0;
        will-change: opacity;
    }

    section.living-here-scene .living-here-scene__stage section.sucede .sucede__images {
        will-change: transform, clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.sucede .sucede__img:first-child img {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.sucede .sucede__img:last-child {
        will-change: clip-path;
    }
}

@media (max-width: 991px) {
    section.sucede {
        height: auto;
        min-height: auto;
        padding-top: var(--space-xl);
    }
    section.sucede .sucede__images {
        display: none;
    }
}

/* SECTION ACTIVIDADES */
section.actividades {
    position: relative;
    background-color: var(--bone);
    color: var(--black);
    overflow: hidden;
    padding: 0;
    width: 100%;
}

section.actividades .actividades__content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
}

section.actividades .actividades__content-left,
section.actividades .actividades__content-right {
    position: relative;
    z-index: 2;
    color: var(--grey-dark);
}

section.actividades .actividades__images-left,
section.actividades .actividades__images-right {
    overflow: hidden;
}

section.actividades .actividades__image-left {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

section.actividades .actividades__image-left img {
    transform-origin: 50% 100%;
}

section.actividades .actividades__image-right img {
    transform-origin: 50% 0%;
}

section.actividades .actividades__texts {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
}

section.actividades .actividades__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

section.actividades .actividades__images-right {
    position: relative;
    width: 100%;
}

section.actividades .actividades__image-right {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

section.actividades .actividades__image-left img,
section.actividades .actividades__image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


section.actividades .actividades__image-right:nth-child(2) img {
    object-position: top;
}


@media (min-width: 992px) {
    section.actividades {
        height: 100vh;
    }

    section.actividades .actividades__content {
        align-items: center;
        justify-content: center;
    }

    section.actividades .actividades__content-left,
    section.actividades .actividades__content-right {
        flex: 0 0 50%;
        max-width: 50%;
        height: 100%;
    }

    section.actividades .actividades__content-left {
        padding: var(--space-xl) var(--space-l) var(--space-m) var(--space-l);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: var(--space-l);
    }

    section.actividades .actividades__images-left {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 30vh;
    }

    section.actividades .actividades__image-left {
        aspect-ratio: 1 / 1;
        max-width: 30vh;
    }

    section.actividades .actividades__texts {
        position: absolute;
        bottom: var(--space-l);
        left: var(--space-l);
        width: 100%;
        overflow: hidden;
    }

    section.actividades .actividades__text {
        position: absolute;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
    }

    section.actividades .actividades__text h3 {
        max-width: 12ch;
    }

    section.actividades .actividades__text p {
        max-width: 46ch;
    }

    section.actividades .actividades__images-right {
        height: 100%;
    }

    section.living-here-scene .living-here-scene__stage section.actividades {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 100vh;
        height: 100%;
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        overflow: hidden;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.actividades .actividades__images-left,
    section.living-here-scene .living-here-scene__stage section.actividades .actividades__images-right {
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.actividades .actividades__image-left,
    section.living-here-scene .living-here-scene__stage section.actividades .actividades__image-right {
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.actividades .actividades__image-left img,
    section.living-here-scene .living-here-scene__stage section.actividades .actividades__image-right img {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.actividades .actividades__text {
        will-change: clip-path;
    }
}

@media (max-width: 991px) {
    section.actividades {
        height: 100vh;
        height: 100svh;
    }

    section.living-here-scene .living-here-scene__stage section.actividades {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: 100vh;
        clip-path: none;
        visibility: visible;
        opacity: 1;
    }

    section.actividades .actividades__content {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: 100vh;
    }

    section.actividades .actividades__content-left {
        order: 1;
        flex: 0 0 50%;
        width: 100%;
        max-width: none;
        height: 50vh;
        padding: var(--space-xl) var(--space-s) var(--space-s);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: var(--space-s);
        box-sizing: border-box;
    }

    section.actividades .actividades__content-right {
        order: 2;
        flex: 0 0 50%;
        width: 100%;
        max-width: none;
        height: 50vh;
        padding: 0;
        box-sizing: border-box;
    }

    section.actividades .actividades__images-left {
        /* Oculto en móvil, pero se mantiene en el DOM para que la animación JS no falle */
        display: none;
        position: relative;
        flex: 0 0 auto;
        width: 0;
        max-width: 0;
        aspect-ratio: 1 / 1;
        margin-bottom: 0;
    }

    section.actividades .actividades__image-left {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: none;
        aspect-ratio: 1 / 1;
    }

    section.actividades .actividades__texts {
        position: relative;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    section.actividades .actividades__text {
        position: absolute;
        top: 0;
        left: 0;
        bottom: auto;
        width: 100%;
        opacity: 0;
    }

    section.actividades .actividades__text--1 {
        opacity: 1;
    }

    section.actividades .actividades__text h3 {
        max-width: none;
        font-size: clamp(1.35rem, 6.5vw, 1.75rem);
        line-height: 1.05;
    }

    section.actividades .actividades__text p {
        max-width: none;
        font-size: clamp(0.875rem, 3.8vw, 1rem);
        line-height: 1.45;
    }

    section.actividades .actividades__images-right {
        height: 100%;
    }
}

/* SECTION INVESTMENT */
section.investment {
    position: relative;
    color: var(--white);
    padding-top: var(--space-xl);
    overflow: hidden;
}

section.investment .investment__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--black);
}

section.investment .investment__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    will-change: transform;
    opacity: 0.75;
}

section.investment .investment__content {
    position: relative;
    z-index: 2;
}

section.investment .investment__content h3 {
    margin-bottom: var(--space-m);
    position: relative;
}

section.investment .investment__content h3::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 992px) {
    section.investment .investment__content {
        max-width: min(40rem, 46vw);
        padding-left: var(--space-l);
    }

    section.investment .investment__content h3 {
        max-width: 35ch;
    }

    section.investment .investment__content h3::before {
        left: calc(var(--space-l) * -1);
        top: calc(var(--space-xl) * -1);
        width: 70vw;
        height: 40vw;
        background: radial-gradient(
            circle at 0% 0%,
            rgba(78, 68, 54, 1) 0%,
            rgba(78, 68, 54, 0) 50%
        );
    }

    section.milestones.milestones--investment .milestones__items {
        right: var(--space-l);
        left: auto;
        top: var(--space-xl);
        width: min(30rem, 42vw);
        z-index: 3;
    }
}

@media (max-width: 991px) {
    section.investment {
        overflow: visible;
    }

    section.living-here-scene .living-here-scene__stage section.investment {
        position: relative;
        inset: auto;
        z-index: 3;
        min-height: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        visibility: visible;
        opacity: 1;
    }

    section.investment .investment__content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    section.investment .investment__content h3 {
        max-width: none;
        margin-left: 0;
    }

    section.investment .investment__content h3::before {
        left: calc(var(--space-s) * -1);
        top: calc(var(--space-xl) * -1);
        width: 100vw;
        height: 100vh;
        height: 100svh;
        background: radial-gradient(
            circle at 0% 0%,
            rgba(78, 68, 54, 0.7) 0%,
            rgba(78, 68, 54, 0) 80%
        );
    }

    section.milestones.milestones--investment .milestones__items {
        top: 0;
        right: auto;
        left: auto;
        width: 100vw;
        max-width: 100vw;
    }
}

@media (min-width: 992px) {
    section.living-here-scene .living-here-scene__stage section.investment {
        position: absolute;
        inset: 0;
        z-index: 5;
        min-height: 100vh;
        height: 100%;
        padding: 0;
        padding-top: var(--space-xl);
        clip-path: inset(0% 0% 0% 0%);
        visibility: hidden;
        overflow: hidden;
        will-change: clip-path;
    }

    section.living-here-scene .living-here-scene__stage section.investment .milestones__items {
        will-change: transform;
    }

    section.living-here-scene .living-here-scene__stage section.investment .investment__content h3 {
        opacity: 0;
        will-change: opacity, transform;
    }

    section.living-here-scene .living-here-scene__stage section.investment .milestones__item {
        will-change: transform;
    }
}
