/* =========================================================
   THE ARC RESIDENCE — APARTMENTS PAGE
   Built on top of the supplied main.css design system.
========================================================= */
/* =========================================================
   ОБЩИЕ НАСТРОЙКИ СТРАНИЦЫ
========================================================= */
.apartments-page {
    background: #fffdf9;
}

.apartments-page .desktop-nav .is-current:after {
    transform: scaleX(1);
}

.apartments-page .header {
    position: sticky;
    top: 0;
}

.apartments-page .brand__logo {
    width: 58px;
    max-height: 68px;
    object-fit: contain;
}

.page-texture {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: radial-gradient(circle at var(--tx,88%) var(--ty,12%),rgba(189,139,54,.052),transparent 24%),radial-gradient(circle at var(--tx2,10%) var(--ty2,86%),rgba(189,139,54,.028),transparent 22%),linear-gradient(180deg,#fffefa 0%,#fbf7f0 100%);
}

.page-texture:before {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(300px,30vw,520px);
    height: clamp(300px,30vw,520px);
    border: 1px solid rgba(189,139,54,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(189,139,54,.01),0 0 0 72px rgba(189,139,54,.006);
    pointer-events: none;
}

.page-texture--right {
    --tx: 89%;
    --ty: 10%;
    --tx2: 8%;
    --ty2: 88%;
}

.page-texture--right:before {
    right: -330px;
    top: -240px;
}

.page-texture--left {
    --tx: 10%;
    --ty: 14%;
    --tx2: 90%;
    --ty2: 85%;
}

.page-texture--left:before {
    left: -340px;
    bottom: -250px;
}

.page-texture>.container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   HERO — ПЕРВЫЙ ЭКРАН
========================================================= */
.apt-page-hero {
    position: relative;
    min-height: 560px;
    display: grid;
    grid-template-columns: 44% 56%;
    overflow: hidden;
    border-bottom: 1px solid rgba(157,111,39,.12);
    background: linear-gradient(135deg,#fffefa,#f8f0e5);
}

.apt-page-hero__copy {
    position: relative;
    z-index: 3;
    grid-column: 1;
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.apt-page-hero__text {
    max-width: 620px;
    padding-left: clamp(0px,2vw,36px);
}

.apt-page-hero h1 {
    margin-top: 20px;
    font: 500 clamp(62px,6vw,104px)/.93 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.045em;
    color: #2a251f;
}

.apt-page-hero__text>p {
    max-width: 570px;
    margin-top: 28px;
    color: #655d55;
    font-size: 14px;
    line-height: 1.86;
}

.apt-page-hero__media {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 100%;
    overflow: hidden;
}

.apt-page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: aptHeroIn 1.15s cubic-bezier(.22,1,.36,1) both;
}

.apt-page-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#fffdf9 0%,rgba(255,253,249,.72) 9%,rgba(255,253,249,.12) 36%,rgba(255,253,249,0) 60%);
}

.apt-page-hero__arc {
    position: absolute;
    z-index: 2;
    left: -250px;
    bottom: -300px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(189,139,54,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(189,139,54,.015),0 0 0 90px rgba(189,139,54,.01);
    pointer-events: none;
}

@keyframes aptHeroIn {
    from {
        opacity: 0;
        transform: scale(1.045);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   ВЫБОР ТИПА АПАРТАМЕНТОВ
========================================================= */
.apt-selector {
    padding: 92px 0 118px;
}

.apt-selector__head {
    text-align: center;
}

.apt-selector__head .eyebrow {
    justify-content: center;
}

.apt-selector__head h2 {
    margin-top: 17px;
    font: 500 clamp(48px,4.7vw,74px)/1 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.035em;
}

.apt-page-tabs {
    width: min(100%,1320px);
    margin: 42px auto 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.2);
    border-radius: 17px;
    background: rgba(255,254,250,.93);
    box-shadow: 0 18px 48px rgba(64,48,31,.06);
}

.apt-page-tabs button {
    position: relative;
    min-height: 88px;
    padding: 15px 18px;
    border: 0;
    border-right: 1px solid rgba(157,111,39,.14);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: .3s;
}

.apt-page-tabs button:last-child {
    border-right: 0;
}

.apt-page-tabs button strong {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.apt-page-tabs button small {
    color: #857a6f;
    font: 500 11px Manrope,Inter,sans-serif;
}

.apt-page-tabs button.active {
    color: #fff;
    background: linear-gradient(135deg,#c38d35,#ae7525);
}

.apt-page-tabs button.active small {
    color: rgba(255,255,255,.82);
}

.apt-page-tabs button:hover:not(.active) {
    background: #fbf5eb;
    color: var(--gold2);
}

/* =========================================================
   ДЕТАЛЬНАЯ КАРТОЧКА АПАРТАМЕНТА
========================================================= */
.apt-detail {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(540px,1.05fr) minmax(500px,.95fr);
    gap: clamp(54px,7vw,112px);
    align-items: start;
}

.apt-detail__gallery {
    min-width: 0;
}

.apt-detail__main {
    position: relative;
    width: 100%;
    aspect-ratio: 1.18/1;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.18);
    border-radius: 14px;
    background: #eee4d7;
    box-shadow: 0 25px 62px rgba(61,45,29,.105);
}

.apt-detail__main>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.22,1,.36,1);
}

.apt-detail__main:hover>img {
    transform: scale(1.02);
}

.apt-detail__main:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 73%,rgba(23,19,15,.28));
    pointer-events: none;
}

.apt-detail__counter {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 16px;
    height: 34px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    color: #fff;
    background: rgba(31,26,21,.35);
    backdrop-filter: blur(9px);
    font-family: Manrope,Inter,sans-serif;
}

.apt-detail__counter b,.apt-detail__counter small {
    font-size: 10px;
    font-weight: 500;
}

.apt-detail__counter i {
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,.6);
}

.apt-detail__zoom {
    position: absolute;
    z-index: 2;
    right: 17px;
    top: 17px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 50%;
    color: #fff;
    background: rgba(30,25,20,.30);
    backdrop-filter: blur(9px);
}

.apt-detail__zoom svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
}

.apt-detail__thumbs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 9px;
}

.apt-detail__thumbs button {
    position: relative;
    aspect-ratio: 1.36/1;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.14);
    border-radius: 8px;
    background: #eee4d7;
}

.apt-detail__thumbs button.active {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(189,139,54,.3);
}

.apt-detail__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.apt-detail__thumbs button:hover img {
    transform: scale(1.04);
}

.apt-detail__content {
    padding-top: 8px;
}

.apt-detail__index {
    display: inline-block;
    color: var(--gold2);
    font: 500 11px/1 Manrope,Inter,sans-serif;
    letter-spacing: .16em;
}

.apt-detail__content>h2 {
    margin-top: 14px;
    color: #302922;
    font: 500 clamp(42px,3.8vw,64px)/.98 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.04em;
}

.apt-detail__meta {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-block: 1px solid rgba(157,111,39,.14);
}

.apt-detail__meta article {
    min-height: 84px;
    padding: 16px 15px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    border-right: 1px solid rgba(157,111,39,.13);
}

.apt-detail__meta article:last-child {
    border-right: 0;
}

.apt-detail__meta svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #bd812d;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apt-detail__meta span {
    display: grid;
    gap: 5px;
}

.apt-detail__meta small {
    color: #8b8074;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.apt-detail__meta strong {
    color: #423a32;
    font-size: 11px;
    font-weight: 600;
}

.apt-detail__description {
    margin-top: 25px;
    color: #665e56;
    font-size: 13px;
    line-height: 1.82;
}

.apt-detail__highlights {
    margin-top: 23px;
    display: grid;
    gap: 10px;
    list-style: none;
}

.apt-detail__highlights li {
    position: relative;
    padding-left: 28px;
    color: #5c544c;
    font-size: 11px;
    line-height: 1.55;
}

.apt-detail__highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.44);
    border-radius: 50%;
    color: var(--gold2);
    font-size: 9px;
}

.apt-detail__price {
    margin-top: 27px;
    padding: 22px 23px 18px;
    border: 1px solid rgba(157,111,39,.18);
    border-radius: 13px;
    background: linear-gradient(145deg,rgba(255,254,250,.98),rgba(248,241,231,.92));
    box-shadow: 0 14px 34px rgba(58,43,27,.055);
}

.apt-detail__price-kicker {
    display: block;
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.apt-detail__rates {
    margin-top: 17px;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 18px;
    align-items: center;
}

.apt-detail__rates>i {
    width: 1px;
    height: 58px;
    background: rgba(157,111,39,.18);
}

.apt-detail__rates article {
    display: grid;
    gap: 9px;
}

.apt-detail__rates article>small {
    color: #7f7469;
    font-size: 8px;
}

.apt-detail__rates article>div {
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.apt-detail__rates article span,.apt-detail__rates article em {
    color: #8e8276;
    font-style: normal;
    font-size: 8px;
}

.apt-detail__rates strong {
    font: 500 clamp(27px,2vw,35px)/1 Manrope,Inter,sans-serif;
    letter-spacing: -.035em;
    color: #2c2823;
}

.apt-detail__price>p {
    margin-top: 12px;
    color: #8b5c22;
    font-size: 10px;
    line-height: 1.55;
}

.apt-detail__book {
    width: 100%;
    min-height: 58px;
    margin-top: 17px;
    padding: 0 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    color: var(--gold2);
    background: rgba(255,254,250,.75);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: .3s;
}

.apt-detail__book:hover {
    color: #fff;
    background: linear-gradient(135deg,#c59139,#ad7425);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(157,111,39,.15);
}

.apt-detail__book svg,
/* =========================================================
   ФИНАЛЬНЫЙ CTA
========================================================= */
.apt-final__book svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   КОМПЛЕКТАЦИЯ И УДОБСТВА
========================================================= */
.apt-included {
    padding: 104px 0 112px;
    border-top: 1px solid rgba(157,111,39,.09);
}

.apt-section-head {
    max-width: 880px;
    margin: auto;
    text-align: center;
}

.apt-section-head .eyebrow {
    justify-content: center;
}

.apt-section-head h2 {
    margin-top: 18px;
    font: 500 clamp(45px,4.2vw,68px)/1.02 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.035em;
}

.apt-section-head>p {
    max-width: 650px;
    margin: 22px auto 0;
    color: #71675e;
    font-size: 13px;
    line-height: 1.8;
}

.apt-included__grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.15);
    border-radius: 14px;
    background: rgba(255,254,250,.88);
    box-shadow: 0 18px 48px rgba(57,43,27,.055);
}

.apt-amenity {
    min-height: 330px;
    padding: 28px 25px;
    border-right: 1px solid rgba(157,111,39,.13);
}

.apt-amenity:last-child {
    border-right: 0;
}

.apt-amenity__head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.apt-amenity__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.25);
    border-radius: 50%;
    color: #b77925;
}

.apt-amenity__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apt-amenity h3 {
    color: #3c342d;
    font: 500 20px/1.2 "Playfair Display","Noto Serif SC",serif;
}

.apt-amenity ul {
    margin-top: 24px;
    display: grid;
    gap: 11px;
    list-style: none;
}

.apt-amenity li {
    position: relative;
    padding-left: 14px;
    color: #70675e;
    font-size: 11px;
    line-height: 1.45;
}

.apt-amenity li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
}

.apt-included__note {
    margin-top: 15px;
    padding: 17px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(157,111,39,.14);
    border-radius: 10px;
    background: rgba(255,254,250,.73);
    color: #72685f;
}

.apt-included__note>span {
    color: var(--gold);
    font-size: 16px;
}

.apt-included__note p {
    font-size: 11px;
    line-height: 1.65;
}

/* =========================================================
   ПАРКИНГ
========================================================= */
.apt-parking {
    padding: 88px 0;
    border-top: 1px solid rgba(157,111,39,.09);
}

.apt-parking__card {
    display: grid;
    grid-template-columns: 320px 1fr auto;
    gap: 38px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(157,111,39,.18);
    border-radius: 15px;
    background: rgba(255,254,250,.9);
    box-shadow: 0 18px 48px rgba(57,43,27,.055);
}

.apt-parking__visual {
    position: relative;
    height: 176px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e2d7;
}

.apt-parking__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease;
}

.apt-parking__card:hover .apt-parking__image {
    transform: scale(1.025);
}

.apt-parking__copy {
    max-width: 500px;
}

.apt-parking__copy h2 {
    margin-top: 13px;
    font: 500 clamp(34px,3vw,48px)/1 "Playfair Display","Noto Serif SC",serif;
}

.apt-parking__copy p {
    margin-top: 15px;
    color: #6d645b;
    font-size: 12px;
    line-height: 1.75;
}

.apt-parking__rates {
    display: grid;
    grid-template-columns: 150px 1px 170px;
    align-items: center;
    gap: 22px;
    padding-right: 24px;
}

.apt-parking__rates>i {
    width: 1px;
    height: 70px;
    background: rgba(157,111,39,.18);
}

.apt-parking__rates article {
    display: grid;
    gap: 5px;
}

.apt-parking__rates small {
    color: #867b70;
    font-size: 8px;
}

.apt-parking__rates strong {
    color: #ac7020;
    font: 500 27px/1.1 Manrope,Inter,sans-serif;
}

.apt-parking__rates span {
    color: #857a6f;
    font-size: 8px;
}

.apt-final {
    position: relative;
    padding: 105px 0 120px;
    text-align: center;
    border-top: 1px solid rgba(157,111,39,.09);
}

.apt-final__inner {
    max-width: 980px;
    margin: auto;
}

.apt-final__inner .eyebrow {
    justify-content: center;
}

.apt-final h2 {
    margin-top: 20px;
    font: 500 clamp(48px,5vw,78px)/.98 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.04em;
}

.apt-final p {
    max-width: 700px;
    margin: 26px auto 0;
    color: #6b6259;
    font-size: 13px;
    line-height: 1.85;
}

.apt-final__book {
    min-height: 54px;
    margin-top: 32px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--gold);
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg,#c7933b,#ad7627);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 13px 29px rgba(157,111,39,.15);
}

.apt-final__watermark {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    color: rgba(84,65,41,.025);
    font: 500 clamp(120px,14vw,255px)/.75 "Playfair Display",serif;
    letter-spacing: .11em;
    white-space: nowrap;
    pointer-events: none;
}

/* =========================================================
   LIGHTBOX АПАРТАМЕНТОВ
========================================================= */
.apt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: .28s;
}

.apt-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.apt-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20,17,14,.82);
    backdrop-filter: blur(10px);
}

.apt-lightbox__figure {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(1220px,calc(100% - 150px));
    max-height: calc(100dvh - 75px);
    transform: translate(-50%,-50%);
}

.apt-lightbox__figure img {
    width: 100%;
    max-height: calc(100dvh - 130px);
    object-fit: contain;
    background: #171411;
    box-shadow: 0 30px 100px rgba(0,0,0,.38);
}

.apt-lightbox__figure figcaption {
    padding: 13px 2px 0;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.apt-lightbox__figure figcaption span {
    font: 500 17px "Playfair Display","Noto Serif SC",serif;
}

.apt-lightbox__figure figcaption small {
    font: 500 10px Manrope,Inter,sans-serif;
    color: #e3c581;
}

.apt-lightbox__close,.apt-lightbox__nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    background: rgba(28,24,20,.34);
    backdrop-filter: blur(8px);
}

.apt-lightbox__close {
    right: 24px;
    top: 22px;
    width: 46px;
    height: 46px;
    font-size: 27px;
}

.apt-lightbox__nav {
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
}

.apt-lightbox__nav--prev {
    left: 25px;
}

.apt-lightbox__nav--next {
    right: 25px;
}

.apt-lightbox__nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-apartment-types {
    grid-template-columns: repeat(4,1fr)!important;
}

.rental-switch label.is-disabled {
    opacity: .42;
    pointer-events: none;
}

.rental-switch label.is-disabled span {
    background: #f3eee6!important;
    color: #9b9187!important;
    border-color: rgba(157,111,39,.13)!important;
}

.booking-summary__image img {
    object-fit: cover;
}

.reveal {
    opacity: 1;
    transform: none;
}

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1);
}

.motion-ready .reveal.active {
    opacity: 1;
    transform: none;
}

@media(max-width:1250px) {
    .apt-page-hero {
        grid-template-columns: 48% 52%;
    }
    .apt-detail {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .apt-detail__gallery {
        width: min(100%,930px);
    }
    .apt-included__grid {
        grid-template-columns: repeat(2,1fr);
    }
    .apt-amenity:nth-child(2) {
        border-right: 0;
    }
    .apt-amenity:nth-child(-n+2) {
        border-bottom: 1px solid rgba(157,111,39,.13);
    }
    .apt-parking__card {
        grid-template-columns: 260px 1fr;
    }
    .apt-parking__rates {
        grid-column: 1/-1;
        justify-content: end;
        padding: 0 20px 18px;
    }
    .booking-apartment-types {
        grid-template-columns: repeat(2,1fr)!important;
    }
}

@media(max-width:900px) {
    .apt-page-hero {
        min-height: 650px;
        display: block;
    }
    .apt-page-hero__copy {
        height: 650px;
        align-items: flex-end;
        padding-bottom: 55px;
    }
    .apt-page-hero__text {
        max-width: 700px;
        padding: 0;
        color: #fff;
    }
    .apt-page-hero h1 {
        color: #fff;
    }
    .apt-page-hero__text>p {
        color: rgba(255,255,255,.86);
    }
    .apt-page-hero__text .eyebrow {
        color: #e6c681;
    }
    .apt-page-hero__media {
        width: 100%;
        height: 100%;
    }
    .apt-page-hero__veil {
        background: linear-gradient(180deg,rgba(26,22,18,.15),rgba(26,22,18,.62));
    }
    .apt-selector {
        padding: 74px 0 86px;
    }
    .apt-page-tabs {
        grid-template-columns: repeat(2,1fr);
    }
    .apt-page-tabs button:nth-child(2) {
        border-right: 0;
    }
    .apt-page-tabs button:nth-child(-n+2) {
        border-bottom: 1px solid rgba(157,111,39,.14);
    }
    .apt-detail__thumbs {
        grid-template-columns: repeat(4,1fr);
    }
    .apt-detail__meta {
        grid-template-columns: 1fr;
    }
    .apt-detail__meta article {
        border-right: 0;
        border-bottom: 1px solid rgba(157,111,39,.13);
    }
    .apt-detail__meta article:last-child {
        border-bottom: 0;
    }
    .apt-parking__card {
        grid-template-columns: 1fr;
    }
    .apt-parking__visual {
        height: 230px;
    }
    .apt-parking__rates {
        grid-column: auto;
        justify-content: start;
        padding: 0 12px 14px;
    }
    .apt-lightbox__figure {
        width: calc(100% - 90px);
    }
}

@media(max-width:620px) {
    .apt-page-hero {
        min-height: 570px;
    }
    .apt-page-hero__copy {
        height: 570px;
        padding-bottom: 42px;
    }
    .apt-page-hero h1 {
        font-size: 54px;
    }
    .apt-selector,.apt-included,.apt-parking,.apt-final {
        padding: 68px 0;
    }
    .apt-selector__head h2,.apt-section-head h2,.apt-final h2 {
        font-size: 42px;
    }
    .apt-page-tabs {
        margin-top: 28px;
    }
    .apt-page-tabs button {
        min-height: 76px;
        padding: 12px 8px;
    }
    .apt-page-tabs button strong {
        font-size: 9px;
    }
    .apt-page-tabs button small {
        font-size: 9px;
    }
    .apt-detail {
        margin-top: 24px;
    }
    .apt-detail__main {
        aspect-ratio: 1/1;
    }
    .apt-detail__thumbs {
        grid-template-columns: repeat(3,1fr);
        gap: 6px;
    }
    .apt-detail__content>h2 {
        font-size: 42px;
    }
    .apt-detail__rates {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    .apt-detail__rates>i {
        display: none;
    }
    .apt-detail__rates article+article {
        padding-top: 13px;
        border-top: 1px solid rgba(157,111,39,.12);
    }
    .apt-detail__rates strong {
        font-size: 31px;
    }
    .apt-included__grid {
        grid-template-columns: 1fr;
    }
    .apt-amenity {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(157,111,39,.13);
    }
    .apt-amenity:last-child {
        border-bottom: 0;
    }
    .apt-parking__visual {
        height: 190px;
    }
    .apt-parking__rates {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .apt-parking__rates>i {
        display: none;
    }
    .apt-parking__rates article+article {
        padding-top: 14px;
        border-top: 1px solid rgba(157,111,39,.12);
    }
    .apt-lightbox__figure {
        width: calc(100% - 22px);
    }
    .apt-lightbox__nav {
        width: 42px;
        height: 42px;
        top: auto;
        bottom: 70px;
    }
    .apt-lightbox__nav--prev {
        left: 18px;
    }
    .apt-lightbox__nav--next {
        right: 18px;
    }
    .apt-lightbox__close {
        right: 12px;
        top: 12px;
    }
    .booking-apartment-types {
        grid-template-columns: 1fr!important;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
    }
}

/* =========================================================
   APARTMENTS V2 — CINEMATIC INTRO + COMPACT INFORMATION FLOW
========================================================= */
/* The page now uses the exact cinematic hero language from main.css. */
.apartments-page .hero.hero--intro.apt-page-intro {
    border-bottom: 1px solid rgba(157,111,39,.10);
}

.apartments-page .hero.hero--intro.apt-page-intro .hero__image {
    object-position: center 56%;
}

.apartments-page .hero.hero--intro.apt-page-intro + .apt-selector {
    padding-top: clamp(82px,7vw,108px);
}

/* Equipment is no longer a separate oversized section.
It is part of "Choose an apartment", directly below apartment details. */
.apt-selector__included {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid rgba(157,111,39,.16);
}

.apt-inline-head {
    display: grid;
    grid-template-columns: minmax(340px,.82fr) minmax(360px,1.18fr);
    gap: clamp(36px,6vw,92px);
    align-items: end;
    margin-bottom: 24px;
}

.apt-inline-head h3 {
    margin-top: 12px;
    color: #312a23;
    font: 500 clamp(29px,2.4vw,42px)/1.04 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.025em;
}

.apt-inline-head > p {
    max-width: 650px;
    justify-self: end;
    color: #70675e;
    font-size: 12px;
    line-height: 1.72;
}

.apt-included__grid--compact {
    margin-top: 0;
}

.apt-included__grid--compact .apt-amenity {
    min-height: 235px;
    padding: 21px 20px;
}

.apt-included__grid--compact .apt-amenity__icon {
    width: 38px;
    height: 38px;
}

.apt-included__grid--compact .apt-amenity h3 {
    font-size: 17px;
}

.apt-included__grid--compact .apt-amenity ul {
    margin-top: 17px;
    gap: 7px;
}

.apt-included__grid--compact .apt-amenity li {
    font-size: 10px;
    line-height: 1.38;
}

.apt-selector__included .apt-included__note {
    margin-top: 10px;
    padding: 13px 16px;
}

/* Parking now sits immediately after the apartment equipment,
instead of being separated by another full section. */
.apt-parking--inline {
    margin-top: 22px;
    padding: 0;
    border-top: 0;
}

.apt-parking--inline .apt-parking__card {
    grid-template-columns: 230px minmax(300px,1fr) auto;
    gap: 28px;
}

.apt-parking--inline .apt-parking__visual {
    height: 142px;
}

.apt-parking--inline .apt-parking__copy h2 {
    font-size: clamp(29px,2.5vw,40px);
}

.apt-parking--inline .apt-parking__copy p {
    margin-top: 10px;
    max-width: 570px;
}

.apt-parking--inline .apt-parking__rates {
    grid-template-columns: 140px 1px 155px;
    gap: 18px;
    padding-right: 17px;
}

.apt-parking--inline .apt-parking__rates strong {
    font-size: 25px;
}

@media (max-width: 1250px) {
    .apt-inline-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .apt-inline-head > p {
        justify-self: start;
    }
    .apt-parking--inline .apt-parking__card {
        grid-template-columns: 220px 1fr;
    }
    .apt-parking--inline .apt-parking__rates {
        grid-column: 1/-1;
        justify-content: end;
        padding: 0 18px 16px;
    }
}

@media (max-width: 900px) {
    .apartments-page .hero.hero--intro.apt-page-intro {
        min-height: 620px;
    }
    .apt-selector__included {
        margin-top: 34px;
        padding-top: 28px;
    }
    .apt-included__grid--compact {
        grid-template-columns: repeat(2,1fr);
    }
    .apt-included__grid--compact .apt-amenity {
        min-height: 220px;
    }
    .apt-parking--inline .apt-parking__card {
        grid-template-columns: 1fr;
    }
    .apt-parking--inline .apt-parking__visual {
        height: 190px;
    }
    .apt-parking--inline .apt-parking__rates {
        grid-column: auto;
        justify-content: start;
        padding: 0 12px 14px;
    }
}

@media (max-width: 620px) {
    .apartments-page .hero.hero--intro.apt-page-intro {
        min-height: 570px;
    }
    .apartments-page .hero-intro__phrase {
        font-size: clamp(42px,13vw,59px);
    }
    .apt-included__grid--compact {
        grid-template-columns: 1fr;
    }
    .apt-included__grid--compact .apt-amenity {
        min-height: 0;
    }
    .apt-parking--inline .apt-parking__rates {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   APARTMENTS V3 — HERO / HEADER FLOW FIX
   The page-specific sticky header was reserving its 104px
   height even while hero-at-top made the header invisible.
   Keep it fixed like on the main page so the hero starts
   exactly at the top of the viewport.
========================================================= */
.apartments-page .header {
    position: fixed !important;
    top: var(--top) !important;
    right: 0;
    left: 0;
}

.apartments-page.hero-at-top .header {
    position: fixed !important;
}

/* On layouts where the top contact bar is hidden, the header
must sit at the very top when it becomes visible. */
@media (max-width: 1180px) {
    .apartments-page .header {
        top: 0 !important;
    }
}

/* Explicitly remove any accidental spacing before the first hero. */
.apartments-page main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.apartments-page .hero.hero--intro.apt-page-intro {
    margin-top: 0 !important;
}

/* =========================================================
   APARTMENTS V4 — UI / OPTICAL ALIGNMENT POLISH
   One visual axis for text, arrows, icons and controls.
========================================================= */
/* ---------- Shared control geometry ---------- */
.apartments-page button, .apartments-page a {
    -webkit-tap-highlight-color: transparent;
}

.apartments-page .book-btn, .apartments-page .mobile-menu__book, .apartments-page .apt-detail__book, .apartments-page .apt-final__book, .apartments-page .booking-modal--premium .submit-booking, .apartments-page .footer-social {
    line-height: 1 !important;
}

.apartments-page .book-btn > span, .apartments-page .mobile-menu__book > span, .apartments-page .apt-detail__book > span, .apartments-page .apt-final__book > span, .apartments-page .booking-modal--premium .submit-booking > span {
    display: inline-flex;
    align-items: center;
    min-height: 1em;
    line-height: 1.15;
}

.apartments-page .ui-arrow {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    align-self: center;
    transform-origin: 50% 50%;
}

/* Arrows in primary actions sit on the exact same optical axis as text. */
.apartments-page .apt-detail__book, .apartments-page .apt-final__book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.apartments-page .apt-detail__book .ui-arrow, .apartments-page .apt-final__book .ui-arrow {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    transition: transform .25s ease;
}

.apartments-page .apt-detail__book:hover .ui-arrow, .apartments-page .apt-final__book:hover .ui-arrow {
    transform: translateX(3px);
}

/* ---------- Header / language ---------- */
.apartments-page .language__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-inline: 9px;
    line-height: 1;
}

.apartments-page .language__toggle > span {
    display: block;
    line-height: 1;
}

.apartments-page .language__chevron {
    width: 11px;
    height: 11px;
    display: block;
    flex: 0 0 11px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apartments-page .header__actions {
    align-items: center;
}

.apartments-page .book-btn .ui-arrow--calendar {
    position: static;
    transform: none;
}

/* ---------- Apartment type tabs ---------- */
.apartments-page .apt-page-tabs button {
    align-content: center;
    line-height: 1;
}

.apartments-page .apt-page-tabs button strong, .apartments-page .apt-page-tabs button small {
    display: block;
    width: 100%;
    text-align: center;
}

.apartments-page .apt-page-tabs button strong {
    line-height: 1.2;
}

.apartments-page .apt-page-tabs button small {
    line-height: 1.25;
}

/* ---------- Main apartment gallery ---------- */
.apartments-page .apt-detail__zoom {
    padding: 0;
    line-height: 0;
}

.apartments-page .apt-detail__zoom svg {
    display: block;
    margin: 0;
}

.apartments-page .apt-detail__counter {
    line-height: 1;
}

.apartments-page .apt-detail__counter b, .apartments-page .apt-detail__counter small {
    display: block;
    line-height: 1;
}

.apartments-page .apt-detail__counter i {
    align-self: center;
}

.apartments-page .apt-detail__thumbs button {
    padding: 0;
    line-height: 0;
}

/* ---------- Meta rows ---------- */
.apartments-page .apt-detail__meta article {
    align-items: center;
}

.apartments-page .apt-detail__meta svg {
    display: block;
    align-self: center;
    justify-self: center;
    margin: 0;
}

.apartments-page .apt-detail__meta span {
    align-self: center;
}

.apartments-page .apt-detail__meta small {
    line-height: 1.2;
}

.apartments-page .apt-detail__meta strong {
    line-height: 1.3;
}

/* Round check bullets are centered against the first text line. */
.apartments-page .apt-detail__highlights li {
    display: flex;
    align-items: flex-start;
    min-height: 20px;
    padding-left: 28px;
}

.apartments-page .apt-detail__highlights li::before {
    top: .05em;
    line-height: 1;
}

/* ---------- Price ---------- */
.apartments-page .apt-detail__rates {
    align-items: stretch;
}

.apartments-page .apt-detail__rates article {
    justify-content: center;
}

.apartments-page .apt-detail__rates article > small {
    line-height: 1.2;
}

.apartments-page .apt-detail__rates article > div {
    min-height: 36px;
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.apartments-page .apt-detail__rates strong {
    display: block;
    line-height: .98;
}

.apartments-page .apt-detail__rates article span, .apartments-page .apt-detail__rates article em {
    display: block;
    line-height: 1;
}

.apartments-page .apt-detail__rates > i {
    align-self: center;
}

/* ---------- Equipment ---------- */
.apartments-page .apt-amenity__head {
    align-items: center;
}

.apartments-page .apt-amenity__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.apartments-page .apt-amenity__icon svg {
    display: block;
    margin: 0;
}

.apartments-page .apt-amenity h3 {
    line-height: 1.2;
}

.apartments-page .apt-included__note {
    align-items: flex-start;
}

.apartments-page .apt-included__note > span {
    flex: 0 0 18px;
    width: 18px;
    display: grid;
    place-items: center;
    line-height: 1;
    margin-top: 1px;
}

/* ---------- Parking ---------- */
.apartments-page .apt-parking__card {
    align-items: center;
}

.apartments-page .apt-parking__rates {
    align-items: center;
}

.apartments-page .apt-parking__rates article {
    align-content: center;
}

.apartments-page .apt-parking__rates small, .apartments-page .apt-parking__rates strong, .apartments-page .apt-parking__rates span {
    display: block;
}

.apartments-page .apt-parking__rates small {
    line-height: 1.2;
}

.apartments-page .apt-parking__rates strong {
    line-height: 1;
}

.apartments-page .apt-parking__rates span {
    line-height: 1.2;
}

.apartments-page .apt-parking__rates > i {
    align-self: center;
}

/* ---------- Close / circular icon controls ---------- */
.apartments-page .apt-ui-close {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
}

.apartments-page .mobile-menu__top button, .apartments-page .booking-modal__close, .apartments-page .apt-lightbox__close, .apartments-page .apt-lightbox__nav {
    padding: 0;
    display: grid !important;
    place-items: center !important;
    line-height: 0 !important;
}

.apartments-page .mobile-menu__top button .apt-ui-close, .apartments-page .booking-modal__close .apt-ui-close {
    width: 16px;
    height: 16px;
}

.apartments-page .apt-lightbox__close .apt-ui-close {
    width: 19px;
    height: 19px;
}

.apartments-page .apt-lightbox__nav svg {
    display: block;
    margin: 0;
    transform: none;
}

/* ---------- Booking modal ---------- */
.apartments-page .booking-step__title {
    align-items: center;
}

.apartments-page .booking-step__title > span {
    display: grid;
    place-items: center;
    line-height: 1;
}

.apartments-page .booking-step__title h3 {
    align-self: center;
    line-height: 1.25;
}

.apartments-page .booking-apartment-types button {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.apartments-page .rental-switch--cards label > span {
    align-content: center;
}

.apartments-page .booking-parking {
    align-items: center;
}

.apartments-page .booking-parking > i {
    flex: 0 0 auto;
    align-self: center;
}

.apartments-page .booking-parking > span {
    align-self: center;
}

.apartments-page .booking-summary__notice {
    align-items: flex-start;
}

.apartments-page .booking-summary__notice > span:first-child {
    width: 16px;
    flex: 0 0 16px;
    display: grid;
    place-items: center;
    line-height: 1;
    margin-top: 1px;
}

.apartments-page .booking-modal--premium .submit-booking {
    display: flex;
    align-items: center;
}

.apartments-page .booking-modal--premium .submit-booking .ui-arrow {
    margin-left: auto;
}

/* ---------- Footer ---------- */
.apartments-page .footer-social {
    align-items: center;
}

.apartments-page .footer-social__icon {
    align-self: center;
    display: grid;
    place-items: center;
}

.apartments-page .footer-social__icon svg {
    display: block;
    margin: 0;
}

.apartments-page .footer-social > span:nth-child(2) {
    align-self: center;
}

.apartments-page .footer-social b, .apartments-page .footer-social em {
    display: block;
}

.apartments-page .footer-social .ui-arrow--external {
    align-self: center;
    justify-self: center;
    margin: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
    .apartments-page .mobile-menu__book {
        align-items: center;
    }
    .apartments-page .apt-detail__book, .apartments-page .apt-final__book {
        gap: 11px;
    }
    .apartments-page .apt-detail__meta article {
        grid-template-columns: 30px minmax(0,1fr);
    }
}

@media (max-width: 620px) {
    .apartments-page .apt-detail__rates article > div {
        min-height: 34px;
    }
    .apartments-page .apt-lightbox__nav {
        transform: none;
    }
}

/* =========================================================
   APARTMENTS V5 — ICON SYSTEM
   Clean hospitality-style line icons with one visual geometry.
========================================================= */
/* ---------- Apartment specifications ---------- */
.apartments-page .apt-detail__meta {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid rgba(157,111,39,.14);
}

.apartments-page .apt-detail__meta article {
    min-height: 104px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    border-right: 1px solid rgba(157,111,39,.13);
}

.apartments-page .apt-detail__meta article:last-child {
    border-right: 0;
}

.apartments-page .apt-meta-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: start;
    border: 1px solid rgba(189,139,54,.25);
    border-radius: 50%;
    color: #b97b28;
    background: linear-gradient(145deg, rgba(255,254,250,.96), rgba(249,242,232,.84));
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.34), 0 8px 20px rgba(70,49,26,.035);
}

.apartments-page .apt-meta-icon svg {
    width: 21px;
    height: 21px;
    display: block;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.apartments-page .apt-meta-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
    align-content: center;
}

.apartments-page .apt-meta-copy small {
    margin: 0;
    color: #918477;
    font-family: Inter, "Noto Sans SC", sans-serif;
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .115em;
    text-transform: uppercase;
}

.apartments-page .apt-meta-copy strong {
    margin: 0;
    color: #332d27;
    font-family: Inter, "Noto Sans SC", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em;
}

/* Disable legacy bare-svg sizing rules for this block. */
.apartments-page .apt-detail__meta > article > svg {
    display: none;
}

/* ---------- Equipment groups ---------- */
.apartments-page .apt-included__grid--compact .apt-amenity {
    padding: 24px 24px 22px;
}

.apartments-page .apt-amenity__head {
    min-height: 52px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
}

.apartments-page .apt-amenity__icon, .apartments-page .apt-included__grid--compact .apt-amenity__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(189,139,54,.26);
    border-radius: 50%;
    color: #b87927;
    background: linear-gradient(145deg, rgba(255,254,250,.98), rgba(249,242,232,.87));
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.38), 0 9px 22px rgba(71,49,26,.04);
}

.apartments-page .apt-amenity__icon svg, .apartments-page .apt-included__grid--compact .apt-amenity__icon svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.apartments-page .apt-amenity h3 {
    min-width: 0;
    margin: 0;
    color: #38312b;
    font: 500 19px/1.18 "Playfair Display", "Noto Serif SC", serif;
    letter-spacing: -.012em;
}

.apartments-page .apt-included__grid--compact .apt-amenity ul {
    margin-top: 21px;
    padding-top: 18px;
    gap: 9px;
    border-top: 1px solid rgba(157,111,39,.09);
}

.apartments-page .apt-included__grid--compact .apt-amenity li {
    min-height: 16px;
    padding-left: 17px;
    color: #6b6259;
    font-size: 10.5px;
    line-height: 1.45;
}

.apartments-page .apt-included__grid--compact .apt-amenity li::before {
    top: .55em;
    width: 3px;
    height: 3px;
    background: #bd812d;
}

/* ---------- Small interaction polish ---------- */
@media (hover:hover) {
    .apartments-page .apt-detail__meta article, .apartments-page .apt-amenity {
        transition: background .28s ease, box-shadow .28s ease;
    }
    .apartments-page .apt-detail__meta article:hover, .apartments-page .apt-amenity:hover {
        background: rgba(255,253,248,.72);
    }
    .apartments-page .apt-detail__meta article:hover .apt-meta-icon, .apartments-page .apt-amenity:hover .apt-amenity__icon {
        border-color: rgba(189,139,54,.42);
        box-shadow: inset 0 0 0 4px rgba(255,255,255,.42), 0 10px 24px rgba(92,62,27,.07);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .apartments-page .apt-detail__meta {
        grid-template-columns: 1fr;
    }
    .apartments-page .apt-detail__meta article {
        min-height: 86px;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 15px 17px;
        border-right: 0;
        border-bottom: 1px solid rgba(157,111,39,.12);
    }
    .apartments-page .apt-detail__meta article:last-child {
        border-bottom: 0;
    }
    .apartments-page .apt-meta-icon {
        width: 40px;
        height: 40px;
    }
    .apartments-page .apt-meta-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 620px) {
    .apartments-page .apt-included__grid--compact .apt-amenity {
        padding: 20px 18px;
    }
    .apartments-page .apt-amenity__head {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 13px;
        min-height: 48px;
    }
    .apartments-page .apt-amenity__icon, .apartments-page .apt-included__grid--compact .apt-amenity__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    .apartments-page .apt-amenity__icon svg, .apartments-page .apt-included__grid--compact .apt-amenity__icon svg {
        width: 20px;
        height: 20px;
    }
    .apartments-page .apt-amenity h3 {
        font-size: 18px;
    }
}

/* =========================================================
   MOBILE ADAPTATION — APARTMENTS PAGE
========================================================= */
@media (max-width: 760px) {
    /* ---------- Hero ---------- */
    .apartments-page .apt-page-intro {
        min-height: 590px;
    }
    .apartments-page .apt-page-intro .hero-intro__phrase {
        font-size: clamp(36px, 11vw, 52px);
        line-height: 1.03;
    }
    /* ---------- Apartment selector ---------- */
    .apartments-page .apt-selector {
        padding: 66px 0 72px;
    }
    .apartments-page .apt-selector__head h2, .apartments-page .apt-section-head h2, .apartments-page .apt-final h2 {
        font-size: clamp(38px, 11.5vw, 50px);
    }
    .apartments-page .apt-page-tabs {
        margin-top: 28px;
        grid-template-columns: 1fr 1fr;
        border-radius: 12px;
    }
    .apartments-page .apt-page-tabs button {
        min-height: 68px;
        padding: 10px 8px;
    }
    .apartments-page .apt-page-tabs button strong, .apartments-page .apt-page-tabs button small {
        font-size: 9px;
    }
    /* ---------- Apartment gallery ---------- */
    .apartments-page .apt-detail {
        gap: 30px;
    }
    .apartments-page .apt-detail__main {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }
    .apartments-page .apt-detail__thumbs {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .apartments-page .apt-detail__thumbs::-webkit-scrollbar {
        display: none;
    }
    .apartments-page .apt-detail__thumbs button {
        flex: 0 0 92px;
        aspect-ratio: 1.34 / 1;
        scroll-snap-align: start;
    }
    .apartments-page .apt-detail__content > h2 {
        font-size: clamp(36px, 10.5vw, 48px);
    }
    .apartments-page .apt-detail__description {
        font-size: 12px;
        line-height: 1.78;
    }
    .apartments-page .apt-detail__meta article {
        min-height: 76px;
    }
    /* ---------- Price ---------- */
    .apartments-page .apt-detail__price {
        padding: 18px 16px;
    }
    .apartments-page .apt-detail__rates {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .apartments-page .apt-detail__rates > i {
        display: none;
    }
    .apartments-page .apt-detail__rates article + article {
        padding-top: 14px;
        border-top: 1px solid rgba(157,111,39,.12);
    }
    .apartments-page .apt-detail__rates article > div {
        flex-wrap: wrap;
        white-space: normal;
    }
    .apartments-page .apt-detail__rates strong {
        font-size: clamp(27px, 8vw, 33px);
    }
    /* ---------- Amenities ---------- */
    .apartments-page .apt-included {
        padding: 68px 0 72px;
    }
    .apartments-page .apt-included__grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    .apartments-page .apt-amenity {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(157,111,39,.12);
    }
    .apartments-page .apt-amenity:last-child {
        border-bottom: 0;
    }
    /* ---------- Parking ---------- */
    .apartments-page .apt-parking {
        padding: 68px 0 72px;
    }
    .apartments-page .apt-parking__card {
        grid-template-columns: 1fr;
    }
    .apartments-page .apt-parking__visual {
        height: 210px;
    }
    .apartments-page .apt-parking__rates {
        grid-template-columns: 1fr;
        gap: 14px;
        justify-content: stretch;
    }
    .apartments-page .apt-parking__rates > i {
        display: none;
    }
    .apartments-page .apt-parking__rates article + article {
        padding-top: 14px;
        border-top: 1px solid rgba(157,111,39,.12);
    }
    /* ---------- Final CTA ---------- */
    .apartments-page .apt-final {
        padding: 68px 0 72px;
    }
    .apartments-page .apt-final__book {
        width: 100%;
        min-height: 52px;
        justify-content: center;
    }
    /* ---------- Apartment lightbox ---------- */
    .apartments-page .apt-lightbox__figure {
        width: calc(100% - 12px);
        max-height: calc(100dvh - 12px);
    }
    .apartments-page .apt-lightbox__nav {
        width: 44px;
        height: 44px;
        bottom: 74px;
    }
}

@media (max-width: 430px) {
    /* ---------- Compact phones ---------- */
    .apartments-page .apt-page-tabs {
        grid-template-columns: 1fr;
    }
    .apartments-page .apt-page-tabs button {
        min-height: 54px;
        border-right: 0;
        border-bottom: 1px solid rgba(157,111,39,.12);
    }
    .apartments-page .apt-page-tabs button:last-child {
        border-bottom: 0;
    }
    .apartments-page .apt-detail__thumbs button {
        flex-basis: 82px;
    }
}


/* =========================================================
   О ПРОЖИВАНИИ И УСЛОВИЯХ ТАРИФОВ
========================================================= */
.apt-residence-info {
    margin-top: 104px;
    padding: clamp(42px,5vw,72px);
    border: 1px solid rgba(157,111,39,.17);
    border-radius: 22px;
    background:
        radial-gradient(circle at 94% 8%,rgba(189,139,54,.09),transparent 24%),
        linear-gradient(145deg,rgba(255,254,250,.98),rgba(249,244,235,.9));
    box-shadow: 0 24px 62px rgba(61,45,29,.065);
}

.apt-residence-info__head {
    display: grid;
    grid-template-columns: minmax(0,1.02fr) minmax(360px,.78fr);
    gap: clamp(48px,7vw,100px);
    align-items: end;
}

.apt-residence-info__title h2 {
    max-width: 780px;
    margin-top: 17px;
    color: #302922;
    font: 500 clamp(40px,4vw,62px)/1.02 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.038em;
}

.apt-residence-info__lead {
    padding: 4px 0 3px 28px;
    border-left: 1px solid rgba(189,139,54,.42);
    color: #625950;
    font-size: 13px;
    line-height: 1.9;
}

.apt-residence-info__copy {
    margin-top: 42px;
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: clamp(30px,5vw,74px);
    border-top: 1px solid rgba(157,111,39,.13);
}

.apt-residence-info__copy p {
    color: #6c6259;
    font-size: 13px;
    line-height: 1.9;
}

.apt-residence-info__facts {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid rgba(157,111,39,.14);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.5);
}

.apt-residence-info__facts article {
    min-height: 98px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid rgba(157,111,39,.12);
}

.apt-residence-info__facts article:last-child { border-right: 0; }

.apt-residence-info__fact-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.3);
    border-radius: 50%;
    color: #b47a28;
}

.apt-residence-info__fact-icon svg,
.apt-stay-rules__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.apt-residence-info__facts article>div { display: grid; gap: 6px; }
.apt-residence-info__facts small {
    color: #94877a;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.apt-residence-info__facts strong {
    color: #3d352e;
    font: 500 15px/1.2 Manrope,Inter,sans-serif;
}

.apt-tariffs {
    margin-top: 70px;
    padding-top: 58px;
    border-top: 1px solid rgba(157,111,39,.14);
}

.apt-tariffs__head {
    max-width: 760px;
}

.apt-tariffs__head h3,
.apt-stay-rules__intro h3 {
    margin-top: 14px;
    color: #342d27;
    font: 500 clamp(32px,3vw,46px)/1.05 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.032em;
}

.apt-tariffs__grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.apt-tariff-card {
    position: relative;
    padding: 30px 32px 32px;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.63);
}

.apt-tariff-card--accent {
    background: linear-gradient(145deg,rgba(249,240,224,.86),rgba(255,253,248,.95));
    border-color: rgba(189,139,54,.28);
}

.apt-tariff-card__top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.apt-tariff-card__number {
    flex: 0 0 auto;
    padding-top: 3px;
    color: #b47a28;
    font: 600 9px/1 Manrope,Inter,sans-serif;
    letter-spacing: .16em;
}

.apt-tariff-card__top>div { display: grid; gap: 8px; }
.apt-tariff-card__top small {
    color: #a16c23;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.apt-tariff-card h4 {
    color: #332c26;
    font: 500 clamp(27px,2.4vw,37px)/1.02 "Playfair Display","Noto Serif SC",serif;
}
.apt-tariff-card>p {
    max-width: 560px;
    margin-top: 22px;
    color: #72675e;
    font-size: 12px;
    line-height: 1.75;
}
.apt-tariff-card ul {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px 18px;
    list-style: none;
}
.apt-tariff-card li {
    position: relative;
    min-height: 22px;
    padding-left: 23px;
    color: #554d45;
    font-size: 10px;
    line-height: 1.55;
}
.apt-tariff-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.38);
    border-radius: 50%;
    color: #ae7525;
    font-size: 8px;
}

.apt-stay-rules {
    margin-top: 58px;
    padding-top: 54px;
    display: grid;
    grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr);
    gap: clamp(36px,6vw,86px);
    border-top: 1px solid rgba(157,111,39,.14);
    align-items: center;
}

.apt-stay-rules__items {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    border: 1px solid rgba(157,111,39,.15);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.5);
}

.apt-stay-rules__items article {
    min-height: 124px;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 15px;
    align-items: center;
}
.apt-stay-rules__items article+article { border-left: 1px solid rgba(157,111,39,.13); }
.apt-stay-rules__icon {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.3);
    border-radius: 50%;
    color: #b47a28;
}
.apt-stay-rules__items article>div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.apt-stay-rules__items small {
    color: #7d7166;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.apt-stay-rules__items strong {
    color: #352e28;
    font: 500 18px/1 Manrope,Inter,sans-serif;
}
.apt-stay-rules__items article>b {
    color: #9c6923;
    font-size: 10px;
    font-weight: 500;
}

@media (max-width: 1050px) {
    .apt-residence-info__head { grid-template-columns: 1fr; gap: 28px; }
    .apt-residence-info__lead { max-width: 760px; }
    .apt-stay-rules { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
    .apt-residence-info {
        margin-top: 68px;
        padding: 30px 20px;
        border-radius: 16px;
    }
    .apt-residence-info__title h2 { font-size: clamp(34px,10vw,45px); }
    .apt-residence-info__lead { padding-left: 18px; font-size: 12px; }
    .apt-residence-info__copy { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; padding-top: 25px; }
    .apt-residence-info__copy p { font-size: 12px; }
    .apt-residence-info__facts { grid-template-columns: 1fr; }
    .apt-residence-info__facts article { min-height: 78px; padding: 16px 18px; border-right: 0; border-bottom: 1px solid rgba(157,111,39,.12); }
    .apt-residence-info__facts article:last-child { border-bottom: 0; }
    .apt-tariffs { margin-top: 46px; padding-top: 42px; }
    .apt-tariffs__grid { grid-template-columns: 1fr; }
    .apt-tariff-card { padding: 25px 22px; }
    .apt-tariff-card ul { grid-template-columns: 1fr; }
    .apt-stay-rules { margin-top: 44px; padding-top: 40px; }
    .apt-stay-rules__items { grid-template-columns: 1fr; }
    .apt-stay-rules__items article+article { border-left: 0; border-top: 1px solid rgba(157,111,39,.13); }
    .apt-stay-rules__items article { min-height: 108px; padding: 19px 18px; }
    .apt-stay-rules__items article>div { flex-wrap: wrap; }
}
