.project-atmosphere {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    max-width: 1360px;
    margin: 56px auto 80px;
    padding: 0 40px;
    color: #102e28;
}

.project-atmosphere__image {
    grid-column: 1 / 8;
    grid-row: 1;
    height: clamp(460px, 38vw, 560px);
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eeea;
}

.project-atmosphere__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
}

.project-atmosphere__copy {
    position: relative;
    z-index: 1;
    grid-column: 7 / -1;
    grid-row: 1;
    margin-top: 56px;
    padding: 40px;
    border: 1px solid rgba(23, 63, 57, .08);
    border-radius: 24px;
    background: #e9ede6;
    box-shadow: 0 18px 50px rgba(15, 43, 31, .05);
}

.project-atmosphere__eyebrow {
    margin: 0 0 16px;
    color: #4b655b;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-atmosphere__title {
    margin: 0 0 24px;
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.project-atmosphere__title span {
    display: block;
}

.project-atmosphere__story {
    color: #42554d;
    font-size: 17px;
    line-height: 1.6;
    text-wrap: pretty;
}

.project-atmosphere__story p {
    margin: 0;
}

.project-atmosphere__story p + p {
    margin-top: 16px;
}

.project-atmosphere__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #cbd5c9;
    color: #173f39;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
}

.project-atmosphere__link svg {
    flex: 0 0 24px;
    transition: transform 180ms ease;
}

.project-atmosphere__link:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-atmosphere__link:hover svg {
    transform: translateX(3px);
}

.project-atmosphere__link:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .project-atmosphere__link svg {
        transition: none;
    }
}

.project-gallery {
    max-width: 1360px;
    margin: 0 auto 40px;
    padding: 0 40px;
    color: #061622;
}

.project-gallery__title {
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
    margin: 0 0 16px;
}

.project-gallery__intro {
    max-width: 740px;
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.5;
    color: #526166;
    text-wrap: pretty;
}

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.project-gallery [hidden] {
    display: none;
}

.project-gallery__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border: 1px solid #d5e0d9;
    border-radius: 22px;
    background: #e8eeea;
    margin-bottom: 28px;
    scroll-margin-top: 24px;
}

.project-gallery__tab,
.project-gallery__more {
    padding: 12px 24px;
    border: 1px solid #cbd6cf;
    border-radius: 28px;
    background: transparent;
    color: #173f39;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.project-gallery__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 60px;
    border-color: transparent;
    border-radius: 16px;
    background: transparent;
    font-weight: 600;
}

.project-gallery__tab svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

@media (hover: hover) {
    .project-gallery__tab:not([aria-selected="true"]):hover {
        border-color: #c8d6cd;
        background: #fff;
    }
}

.project-gallery__tab:not([aria-selected="true"]):active {
    background: #d5e0d9;
}

.project-gallery__tab[aria-selected="true"] {
    border-color: #173f39;
    background: #173f39;
    color: #fff;
    box-shadow: 0 2px 5px rgb(23 63 57 / 18%);
}

.project-gallery__more {
    display: block;
    margin: 28px auto 0;
}

.project-gallery__tab:focus-visible,
.project-gallery__more:focus-visible,
.project-gallery [role="tabpanel"]:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 4px;
}

.project-gallery__item {
    min-width: 0;
    margin: 0;
}

.project-gallery__item a {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eeea;
}

.project-gallery__item a:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 4px;
}

.project-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.project-gallery__item figcaption {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.project-gallery__item figcaption strong {
    display: block;
    font-weight: 600;
}

.project-gallery__item figcaption span {
    display: block;
    margin-top: 6px;
    font-weight: 400;
    color: #526166;
}

.project-gallery__panel-intro {
    margin: 0 0 24px;
    color: #526166;
    font-size: 16px;
    line-height: 24px;
}

.project-gallery .amenities__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
    margin-top: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.project-gallery .amenities__services li {
    justify-content: center;
    gap: 16px;
    min-height: 80px;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #173f39;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.project-gallery .amenities__services svg {
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    padding: 12px;
    border-radius: 50%;
    background: #e8eeea;
    color: #315e50;
}

.showroom-visit {
    max-width: 1360px;
    padding: 0 40px;
    margin: 0 auto 80px;
    color: #061622;
}

.showroom-visit__card {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid #dce3df;
    border-radius: 20px;
    background: #fff;
}

.showroom-visit__image {
    display: block;
    min-width: 0;
}

.showroom-visit__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.showroom-visit__content {
    padding: 32px 36px;
    align-self: center;
}

.showroom-visit__eyebrow {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 20px;
    color: #526166;
}

.showroom-visit h2 {
    max-width: 570px;
    margin: 0 0 16px;
    font-size: clamp(28px, 2.6vw, 36px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.showroom-visit__description {
    max-width: 550px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #526166;
}

.showroom-visit__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 24px;
}

.showroom-visit__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 28px;
    background: #173f39;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
}

.showroom-visit__secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #173f39;
    font-size: 16px;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.showroom-visit a:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 4px;
}

@media (max-width: 1023px) {
    .project-atmosphere {
        display: block;
    }

    .project-atmosphere__image {
        height: 420px;
    }

    .project-atmosphere__copy {
        margin: -48px 0 0 40px;
        padding: 36px;
    }

    .project-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .project-atmosphere {
        margin: 32px auto 56px;
        padding: 0 20px;
    }

    .project-atmosphere__image {
        height: clamp(260px, 72vw, 330px);
        border-radius: 16px;
    }

    .project-atmosphere__copy {
        margin: -32px 0 0 12px;
        padding: 24px 22px;
        border-radius: 18px;
    }

    .project-atmosphere__eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 17px;
    }

    .project-atmosphere__title {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .project-atmosphere__story {
        font-size: 16px;
        line-height: 1.6;
    }

    .project-atmosphere__link {
        margin-top: 20px;
        font-size: 15px;
    }

    .project-gallery {
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .project-gallery__title {
        font-size: 30px;
    }

    .project-gallery__intro {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .project-gallery__grid {
        gap: 24px 12px;
    }

    .project-gallery__tabs {
        gap: 6px;
    }

    .project-gallery__tab {
        padding: 11px 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .project-gallery__item a {
        border-radius: 14px;
    }

    .project-gallery__item figcaption {
        margin-top: 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .project-gallery .amenities__services {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .project-gallery .amenities__services li {
        justify-content: flex-start;
        min-height: 64px;
        padding: 8px 0;
        font-size: 16px;
        line-height: 24px;
    }

    .project-gallery .amenities__services svg {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        padding: 10px;
    }

    .showroom-visit {
        padding: 0 20px;
        margin-bottom: 56px;
    }

    .showroom-visit__card {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 16px;
    }

    .showroom-visit__image img {
        height: 180px;
        min-height: 0;
    }

    .showroom-visit__content {
        padding: 24px;
    }

    .showroom-visit h2 {
        font-size: 28px;
    }

    .showroom-visit__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .showroom-visit__primary {
        padding: 12px 16px;
    }

    .showroom-visit__secondary {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .project-gallery__tabs {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .project-gallery__tab {
        min-height: 52px;
        font-size: 16px;
    }
}

@media (max-width: 359px) {
    .project-gallery__title {
        font-size: 28px;
    }

}

.journey-section {
    max-width: 1360px;
    margin: 0 auto 64px;
    padding: 0 40px;
    color: #061622;
}

.journey-title,
#catalog .catalog__title,
#payment .payment__title {
    margin: 0 0 24px;
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.location-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.location-overview .map-container {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
    background: #edf1ec;
}

.location-overview .map-container iframe {
    height: 100%;
    min-height: 0;
}

.location-overview .map-placeholder {
    min-height: 0;
    padding: 24px;
    font-size: 14px;
    line-height: 20px;
    gap: 12px;
}

.location-overview__intro {
    font-size: 16px;
    line-height: 24px;
    color: #526166;
}

.location-overview__intro > p {
    margin: 0 0 20px;
}

.location-overview__highlights {
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.location-overview__highlights li {
    padding: 12px 0;
    border-bottom: 1px solid #dce3df;
}

.location-overview__highlights strong,
.location-overview__highlights span {
    display: block;
}

.location-overview__highlights strong {
    color: #061622;
    font-weight: 600;
}

.location-overview .map-fallback {
    margin: 0;
    text-align: left;
    font-size: 14px;
    line-height: 22px;
}

.journey-disclosure {
    margin-top: 24px;
    border: 1px solid #dce3df;
    border-radius: 16px;
    background: #fff;
}

.journey-disclosure > summary {
    padding: 18px 22px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    color: #173f39;
}

.journey-disclosure > summary:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 4px;
}

.location-overview__details-content {
    padding: 0 24px 24px;
}

.location-overview .location-overview__categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.location-overview__categories .faq__elem {
    margin: 0;
}

.location-overview__categories .faq__elem_title {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.location-overview__categories .faq__elem_info {
    font-size: 14px;
    line-height: 22px;
}

.location-overview__categories ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.location-overview__places {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.location-overview__place {
    min-width: 0;
}

.location-overview__place-photo,
.location-overview__place-photo img {
    display: block;
    width: 100%;
}

.location-overview__place-photo img {
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    border-radius: 12px;
}

.location-overview__place-name {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

.masterplan-overview [hidden] {
    display: none;
}

.masterplan-intro {
    max-width: 720px;
    margin: -8px 0 28px;
    color: #526166;
    font-size: 16px;
    line-height: 26px;
}

.masterplan-frame {
    padding: 24px 24px 0;
    border: 1px solid #dce3df;
    border-radius: 24px;
    background: #fff;
}

.masterplan-frame__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.masterplan-phases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex: 1;
    gap: 6px;
    max-width: 590px;
}

.masterplan-phases button,
.masterplan-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #d4dfd7;
    border-radius: 12px;
    background: #fff;
    color: #173f39;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.masterplan-expand {
    flex-shrink: 0;
}

.masterplan-expand svg {
    flex-shrink: 0;
}

.masterplan-phases button[aria-pressed="true"] {
    border-color: #628875;
    background: #eaf1ec;
}

@media (hover: hover) {
    .masterplan-phases button:hover,
    .masterplan-expand:hover {
        border-color: #628875;
        background: #f1f5f2;
    }
}

.masterplan-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #a7bcae #f1f5f2;
    border-radius: 12px;
}

.masterplan-canvas {
    position: relative;
    min-width: 760px;
    aspect-ratio: 2 / 1;
}

.masterplan-canvas > img {
    display: block;
    width: 100%;
    height: 100%;
}

.masterplan-outlines,
.masterplan-points {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.masterplan-outlines [data-masterplan-shape] {
    fill: rgb(72 123 90 / 10%);
    stroke: #628875;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    transition: opacity 140ms ease;
}

.masterplan-outlines path[data-masterplan-shape] {
    pointer-events: all;
    cursor: pointer;
}

.masterplan-mute {
    fill: #fff;
    opacity: 0;
    transition: opacity 140ms ease;
}

.masterplan-overview[data-phase="1"] .masterplan-mute--second,
.masterplan-overview[data-phase="2"] .masterplan-mute--first {
    opacity: .65;
}

.masterplan-overview[data-phase="1"] [data-shape-phase="1"],
.masterplan-overview[data-phase="2"] [data-shape-phase="2"] {
    opacity: .8;
}

.masterplan-point {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #173f39;
    color: #fff;
    box-shadow: 0 2px 8px rgb(23 63 57 / 20%);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
}

.masterplan-point--pool {
    background: #3c6970;
}

.masterplan-point::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    padding: 8px 12px;
    border: 1px solid #dce3df;
    border-radius: 8px;
    background: #fff;
    color: #173f39;
    box-shadow: 0 2px 6px rgb(23 63 57 / 8%);
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
}

.masterplan-point[aria-pressed="true"] {
    outline: 2px solid #173f39;
    outline-offset: 2px;
}

.masterplan-overview[data-phase="1"] [data-point-phase="2"],
.masterplan-overview[data-phase="2"] [data-point-phase="1"] {
    opacity: .55;
}

.masterplan-overview[data-phase] .masterplan-point:hover,
.masterplan-overview[data-phase] .masterplan-point:focus-visible {
    opacity: 1;
}

.masterplan-phases button:focus-visible,
.masterplan-expand:focus-visible,
.masterplan-viewport:focus-visible,
.masterplan-point:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 4px;
}

.masterplan-detail {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    margin-bottom: 8px;
    padding: 12px 4px 20px;
    border-bottom: 1px solid #e3e9e5;
}

.masterplan-detail h3 {
    flex-shrink: 0;
    margin: 0;
    color: #173f39;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.masterplan-detail p {
    max-width: 660px;
    margin: 0;
    color: #526166;
    font-size: 15px;
    line-height: 24px;
    text-align: right;
}

.masterplan-mobile-hint {
    display: none;
}

@media (max-width: 767px) {
    .masterplan-intro {
        margin: -4px 0 24px;
        line-height: 24px;
    }

    .masterplan-frame {
        padding: 12px 12px 0;
        border-radius: 18px;
    }

    .masterplan-frame__bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }

    .masterplan-phases {
        width: 100%;
        max-width: none;
    }

    .masterplan-phases button {
        min-height: 48px;
        padding: 6px;
        font-size: 13px;
        line-height: 18px;
    }

    .masterplan-expand {
        align-self: flex-end;
    }

    .masterplan-detail {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        min-height: 140px;
        padding: 16px 0;
    }

    .masterplan-detail h3 {
        font-size: 17px;
    }

    .masterplan-detail p {
        text-align: left;
    }

    .masterplan-mobile-hint {
        display: block;
        margin: 0;
        padding-bottom: 16px;
        color: #526166;
        font-size: 14px;
        line-height: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .masterplan-mute,
    .masterplan-outlines [data-masterplan-shape] {
        transition: none;
    }
}

.masterplan-overview[data-active-point="building-1"] [data-masterplan-shape="building-1"],
.masterplan-overview[data-active-point="building-2"] [data-masterplan-shape="building-2"],
.masterplan-overview[data-active-point="building-3"] [data-masterplan-shape="building-3"],
.masterplan-overview[data-active-point="building-4"] [data-masterplan-shape="building-4"],
.masterplan-overview[data-active-point="building-5"] [data-masterplan-shape="building-5"],
.masterplan-overview[data-active-point="pool-west"] [data-masterplan-shape="pool-west"],
.masterplan-overview[data-active-point="pool-east"] [data-masterplan-shape="pool-east"] {
    fill: rgb(72 123 90 / 22%);
    stroke: #173f39;
    stroke-width: 2.5;
    opacity: 1;
}

#catalog .catalog__ownership {
    max-width: 820px;
    margin: 12px auto 24px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 22px;
    color: #526166;
    text-align: center;
    text-wrap: pretty;
}

.showroom-visit .tour-embed {
    max-width: none;
    width: auto;
    margin: 0 20px 20px;
    padding: 0;
}

.showroom-visit .tour-embed__stage {
    width: 100%;
    height: auto;
    padding: 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.showroom-visit .tour-embed.is-active .tour-embed__stage {
    height: clamp(360px, 65svh, 600px);
    aspect-ratio: auto;
}

#developer {
    margin-bottom: 40px;
}

#contacts .contacts__title {
    font-size: clamp(28px, 3.3vw, 46px);
    line-height: 1.15;
    text-wrap: balance;
}

@media (max-width: 1023px) {
    .location-overview__grid {
        gap: 24px;
    }

    .location-overview__places {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .journey-section {
        padding: 0 20px;
        margin-bottom: 48px;
    }

    .journey-title,
    #catalog .catalog__title,
    #payment .payment__title {
        font-size: 30px;
    }

    .location-overview__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .location-overview .map-container {
        height: 240px;
        border-radius: 14px;
    }

    .location-overview__intro {
        font-size: 15px;
        line-height: 23px;
    }

    .location-overview .location-overview__categories {
        grid-template-columns: minmax(0, 1fr);
    }

    .location-overview__details-content {
        padding: 0 16px 20px;
    }

    .location-overview__places {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .journey-disclosure > summary {
        padding: 16px;
        font-size: 15px;
        line-height: 22px;
    }

    .masterplan-overview__copy .showroom-visit__primary {
        width: 100%;
        font-size: 14px;
    }

    .showroom-visit .tour-embed {
        margin: 0 12px 16px;
    }

    #contacts .contacts__title {
        font-size: 30px;
    }
}

.masterplan-overview[data-active-point="building-1"] [data-masterplan-point="building-1"]::after,
.masterplan-overview[data-active-point="building-2"] [data-masterplan-point="building-2"]::after,
.masterplan-overview[data-active-point="building-3"] [data-masterplan-point="building-3"]::after,
.masterplan-overview[data-active-point="building-4"] [data-masterplan-point="building-4"]::after,
.masterplan-overview[data-active-point="building-5"] [data-masterplan-point="building-5"]::after,
.masterplan-overview[data-active-point="pool-west"] [data-masterplan-point="pool-west"]::after,
.masterplan-overview[data-active-point="pool-east"] [data-masterplan-point="pool-east"]::after {
    opacity: 1;
}

.building-floorplans {
    display: none;
    flex-direction: column;
    gap: 18px;
    width: min(1100px, calc(100vw - 48px));
    max-height: calc(100svh - 80px);
    padding: 28px;
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    color: #173f39;
}

.building-floorplans [hidden] {
    display: none;
}

.building-floorplans__header h2 {
    margin: 0;
    font-size: 28px;
    line-height: 34px;
    font-weight: 600;
}

.building-floorplans__header {
    padding-right: 48px;
}

.building-floorplans__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #d4dfd7;
    border-radius: 50%;
    background: #f1f5f2;
    color: #173f39;
    cursor: pointer;
}

.building-floorplans-viewer .carousel__button.is-close {
    display: none;
}

.building-floorplans__header p {
    margin: 6px 0 0;
    color: #526166;
    font-size: 14px;
    line-height: 22px;
}

.building-floorplans__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    line-height: 22px;
}

.building-floorplans__buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.building-floorplans__buttons button {
    flex: 0 1 52px;
    width: 52px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 4px;
    border: 1px solid #b9cbbf;
    border-radius: 10px;
    background: #fff;
    color: #173f39;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.building-floorplans__buttons button[aria-pressed="true"] {
    border-color: #173f39;
    background: #173f39;
    color: #fff;
}

@media (hover: hover) {
    .building-floorplans__buttons button:not([aria-pressed="true"]):hover {
        border-color: #628875;
        background: #edf3ef;
    }
}

.building-floorplans__floor-label {
    flex-shrink: 0;
    color: #526166;
}

.building-floorplans__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 200px;
    height: min(52svh, 560px);
    border: 1px solid #e3e9e5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.building-floorplans__stage > p {
    padding: 20px;
    color: #526166;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
}

.building-floorplans__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.building-floorplans__image > svg {
    display: block;
    width: 100%;
    height: 100%;
}

.building-floorplans__buttons button:focus-visible,
.building-floorplans__close:focus-visible {
    outline: 3px solid #235ea8;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .building-floorplans {
        width: calc(100vw - 32px);
        max-height: calc(100svh - 64px);
        padding: 20px 16px;
        gap: 14px;
        border-radius: 16px;
    }

    .building-floorplans__header h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .building-floorplans__controls {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .building-floorplans__buttons {
        width: 100%;
        gap: 4px;
    }
}


.telegram_button.floating-contact-links {
    --contact-size: 56px;
    width: var(--contact-size);
    height: auto;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--contact-size) + 12px);
    flex-direction: column;
    gap: 12px;
    background: transparent;
}

.floating-contact-links > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--contact-size);
    height: var(--contact-size);
    border-radius: 50%;
    transition: transform .2s;
}

.floating-contact-links__telegram {
    background: #2aabee;
}

.floating-contact-links__whatsapp {
    background: #25d366;
}

.floating-contact-links > a:hover {
    transform: translateY(-2px);
}

.floating-contact-links > a:focus-visible {
    outline: 3px solid #173f39;
    outline-offset: 3px;
}

.telegram_button.floating-contact-links img {
    padding: 0;
}

.to_top_button.to_top_button_js {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767.98px) {
    .telegram_button.floating-contact-links {
        --contact-size: 46px;
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-contact-links > a {
        transition: none;
    }
}
