:root {
    --gold: #bd8b36;
    --gold2: #9d6f27;
    --paper: #fffefa;
    --warm: #faf5ec;
    --ink: #24211d;
    --muted: #70685f;
    --line: rgba(157,111,39,.22);
    --top: 48px;
    --head: 104px;
    --pad: 52px;
    --max: 1660px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter,sans-serif;
}

body.menu-open,body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,input,select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none!important;
}

.container {
    width: min(calc(100% - var(--pad)*2),var(--max));
    margin: auto;
}

/* topbar */
.topbar {
    height: var(--top);
    display: flex;
    align-items: center;
    background: #faf7f2;
    border-bottom: 1px solid rgba(157,111,39,.1);
}

.topbar__inner {
    width: min(calc(100% - var(--pad)*2),1280px);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.topbar a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #5a5045;
}

.topbar a>span {
    color: var(--gold);
    font-size: 15px;
}

.topbar small {
    font-size: 11px;
}

.topbar strong {
    font: 500 14px "Playfair Display",serif;
}

.topbar i {
    width: 1px;
    height: 22px;
    background: rgba(157,111,39,.35);
}

/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--head);
    background: rgba(255,254,250,.95);
    border-bottom: 1px solid rgba(157,111,39,.14);
    backdrop-filter: blur(18px);
    transition: .3s;
}

.header.scrolled {
    background: rgba(255,254,250,.99);
    box-shadow: 0 12px 35px rgba(40,31,23,.09);
}

.header__inner {
    width: min(calc(100% - var(--pad)*2),var(--max));
    height: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand__mark {
    width: 62px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.58);
    border-radius: 50% 50% 42% 42%/60% 60% 34% 34%;
    color: var(--gold);
    font: 42px "Playfair Display",serif;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__text strong {
    font: 500 28px/1 "Playfair Display",serif;
    letter-spacing: 1.3px;
}

.brand__text small {
    margin-top: 7px;
    color: var(--gold);
    font-size: 7px;
    letter-spacing: 5px;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px,2vw,38px);
}

.desktop-nav a {
    position: relative;
    padding: 15px 0;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.desktop-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: .3s;
}

.desktop-nav a:hover:after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.book-btn {
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold2);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: .3s;
}

.book-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
}

.language {
    position: relative;
}

.language__toggle {
    min-height: 43px;
    min-width: 58px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 11px;
}

.language.open .language__toggle {
    border-color: var(--line);
    color: var(--gold2);
}

.language__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 140px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    background: #fffefa;
    border: 1px solid var(--line);
    box-shadow: 0 16px 34px rgba(51,39,26,.12);
    transition: .25s;
}

.language.open .language__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.language__menu button {
    width: 100%;
    height: 38px;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0 10px;
    font-size: 11px;
}

.language__menu button.active,.language__menu button:hover {
    background: #f6efe4;
    color: var(--gold2);
}

.mobile-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(189,139,54,.4);
    background: transparent;
}

.mobile-toggle span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #222;
    transform: translateX(-50%);
    transition: .3s;
}

.mobile-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-toggle span:nth-child(3) {
    top: 28px;
}

.mobile-toggle.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1400;
    width: min(410px,100%);
    height: 100dvh;
    padding: 28px 30px;
    overflow: auto;
    background: #fffefa;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px rgba(46,36,26,.14);
    transition: right .45s cubic-bezier(.77,0,.18,1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu__top strong {
    font: 500 20px "Playfair Display",serif;
    color: var(--gold2);
}

.mobile-menu__top button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    font-size: 25px;
}

.mobile-menu nav {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(157,111,39,.13);
    font: 500 25px "Playfair Display",serif;
}

.mobile-menu__langs {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    margin-top: 26px;
}

.mobile-menu__langs button,.footer__langs button {
    height: 40px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 10px;
}

.mobile-menu__langs button.active,.footer__langs button.active {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.mobile-menu__book {
    width: 100%;
    height: 50px;
    margin-top: 16px;
    padding: 0 16px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
}

.mobile-menu__phones {
    display: grid;
    gap: 12px;
    margin-top: 25px;
}

.mobile-menu__phones a {
    display: grid;
    gap: 3px;
}

.mobile-menu__phones small {
    font-size: 10px;
    color: var(--muted);
}

.mobile-menu__phones strong {
    font: 500 17px "Playfair Display",serif;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    background: rgba(24,20,16,.32);
    backdrop-filter: blur(3px);
    transition: .3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* hero */
.hero {
    position: relative;
    height: calc(100svh - var(--top) - var(--head));
    min-height: 590px;
    overflow: hidden;
    background: #e9dfd3;
}

.hero>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroIn 1.1s cubic-bezier(.22,1,.36,1) both;
}

.hero__frame {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.44);
    pointer-events: none;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* common */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3.3px;
    text-transform: uppercase;
}

.eyebrow:after {
    content: "";
    width: 45px;
    height: 1px;
    background: var(--gold);
}

.ornament {
    width: min(100%,260px);
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 8px 1fr;
    align-items: center;
    gap: 7px;
}

.ornament span {
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(189,139,54,.7));
}

.ornament span:last-child {
    background: linear-gradient(90deg,rgba(189,139,54,.7),transparent);
}

.ornament i {
    width: 7px;
    height: 7px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.text-link {
    width: max-content;
    margin-top: 25px;
    display: flex;
    gap: 12px;
    color: var(--gold2);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.text-link b {
    transition: .3s;
}

.text-link:hover b {
    transform: translateX(5px);
}

/* about */
.about {
    padding: 105px 0 110px;
    background: radial-gradient(circle at 80% 10%,rgba(189,139,54,.05),transparent 28%),var(--paper);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(320px,.72fr) minmax(620px,1.28fr);
    align-items: center;
    gap: clamp(70px,8vw,140px);
}

.about__copy {
    max-width: 560px;
}

.about__copy h2 {
    margin-top: 20px;
    font: 500 clamp(46px,4.6vw,72px)/.98 "Playfair Display",serif;
}

.about__copy p {
    margin-top: 26px;
    color: #5c554d;
    font-size: 15px;
    line-height: 1.9;
}

.about-slider {
    position: relative;
    min-height: 520px;
}

.about-stage {
    position: relative;
    height: 470px;
}

.about-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(360px,42%);
    height: 390px;
    overflow: hidden;
    opacity: 0;
    border: 1px solid rgba(189,139,54,.35);
    border-radius: 6px;
    background: #eee5da;
    box-shadow: 0 20px 45px rgba(58,44,28,.14);
    transform: translate(-50%,-50%) scale(.88);
    transition: .65s cubic-bezier(.22,1,.36,1);
}

.about-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 63%,rgba(31,24,17,.58));
}

.about-card figcaption {
    position: absolute;
    z-index: 2;
    left: 17px;
    right: 17px;
    bottom: 15px;
    color: #fff;
    font: 500 17px "Playfair Display",serif;
}

.about-card.active {
    z-index: 4;
    width: min(390px,46%);
    height: 430px;
    opacity: 1;
    transform: translate(-50%,-50%);
}

.about-card.prev {
    z-index: 2;
    opacity: .92;
    transform: translate(-118%,-42%) scale(.88) rotate(-2deg);
}

.about-card.next {
    z-index: 3;
    opacity: .92;
    transform: translate(18%,-58%) scale(.88) rotate(2deg);
}

.about-card.far-prev {
    z-index: 1;
    opacity: .42;
    transform: translate(-155%,-29%) scale(.72);
}

.about-card.far-next {
    z-index: 1;
    opacity: .42;
    transform: translate(55%,-71%) scale(.72);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(189,139,54,.45);
    border-radius: 50%;
    background: rgba(255,254,250,.96);
    color: var(--gold2);
    font-size: 21px;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(57,43,27,.08);
    transition: .3s;
}

.slider-arrow:hover {
    background: var(--gold);
    color: #fff;
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #ddd0bc;
}

.dots button.active {
    width: 28px;
    border-radius: 99px;
    background: var(--gold);
}

/* apartments */
.apartments {
    padding: 105px 0 120px;
    background: radial-gradient(circle at 15% 15%,rgba(189,139,54,.05),transparent 28%),linear-gradient(135deg,#fffefa,#faf5ec);
    border-top: 1px solid rgba(157,111,39,.1);
}

.apartments__grid {
    display: grid;
    grid-template-columns: minmax(310px,.62fr) minmax(720px,1.38fr);
    align-items: center;
    gap: clamp(60px,6vw,105px);
}

.apartments__copy h2 {
    margin-top: 20px;
    font: 500 clamp(45px,4.4vw,68px)/.98 "Playfair Display",serif;
}

.apartments__copy p {
    margin-top: 23px;
    color: #5d564f;
    font-size: 14px;
    line-height: 1.82;
}

.apartments__copy mark {
    color: var(--gold2);
    background: transparent;
    font-weight: 600;
}

.apartments-slider {
    min-width: 0;
}

.apt-stage {
    position: relative;
    height: 550px;
}

.apt-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 79%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    border: 1px solid rgba(189,139,54,.3);
    border-radius: 6px;
    background: #e8dfd4;
    box-shadow: 0 22px 55px rgba(62,47,29,.13);
    transform: translate(-50%,-50%) scale(.94);
    transition: .7s cubic-bezier(.22,1,.36,1);
}

.apt-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apt-slide.active {
    z-index: 4;
    opacity: 1;
    transform: translate(-50%,-50%);
}

.apt-slide.prev {
    z-index: 2;
    opacity: .86;
    transform: translate(-103%,-50%) scale(.78);
}

.apt-slide.next {
    z-index: 2;
    opacity: .86;
    transform: translate(3%,-50%) scale(.78);
}

.apt-stage>.prev {
    left: 7.5%;
}

.apt-stage>.next {
    right: 7.5%;
}

.apt-caption {
    position: relative;
    z-index: 6;
    width: 73%;
    margin: -3px auto 0;
    padding: 23px 28px;
    text-align: center;
    background: rgba(255,254,250,.97);
    border: 1px solid rgba(157,111,39,.18);
    box-shadow: 0 18px 45px rgba(56,43,27,.09);
}

.apt-caption .ornament {
    margin: 0 auto 12px;
}

.apt-caption h3 {
    font: 500 clamp(26px,2.5vw,39px) "Playfair Display",serif;
}

.apt-book {
    height: 42px;
    margin-top: 15px;
    padding: 0 17px;
    border: 1px solid rgba(189,139,54,.5);
    background: transparent;
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.apt-book:hover {
    background: var(--gold);
    color: white;
}

.apt-progress {
    width: 58%;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    font: 500 14px "Playfair Display",serif;
    color: #6b6259;
}

.apt-progress>div {
    height: 2px;
    background: #e1d6c5;
}

.apt-progress i {
    display: block;
    width: 33.3%;
    height: 100%;
    background: var(--gold);
    transition: .55s;
}

/* feature/gallery/footer */
.feature-strip {
    padding: 34px 0;
    background: #fbf8f3;
    border-block: 1px solid rgba(157,111,39,.1);
}

.feature-strip__grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.feature-strip article {
    min-height: 105px;
    padding: 18px 28px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-strip article:last-child {
    border: 0;
}

.feature-strip span {
    color: var(--gold);
    font: 500 15px "Playfair Display",serif;
}

.feature-strip h3 {
    margin-top: 9px;
    font: 500 21px "Playfair Display",serif;
}

.gallery {
    padding: 100px 0;
}

.gallery h2 {
    margin-top: 18px;
    font: 500 clamp(44px,4.7vw,70px) "Playfair Display",serif;
}

.gallery__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.1fr .75fr .75fr;
    gap: 12px;
}

.gallery__grid img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: .6s;
}

.gallery__grid img:hover {
    transform: scale(1.02);
}

.footer {
    padding-top: 60px;
    background: #f8f3eb;
    border-top: 1px solid var(--line);
}

.footer__grid {
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: .75fr 1.35fr .55fr;
    gap: 55px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
}

.footer__brand strong {
    font: 500 33px "Playfair Display",serif;
}

.footer__brand>span {
    margin-top: 4px;
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 5px;
}

.footer__brand p {
    margin-top: 16px;
    color: #81776c;
    font-size: 11px;
}

.footer__contacts {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px 32px;
}

.footer__contacts a,.footer__contacts>div {
    display: grid;
    gap: 5px;
}

.footer__contacts small,.footer__langs small {
    font-size: 10px;
    color: #887e73;
}

.footer__contacts strong {
    font: 500 15px "Playfair Display",serif;
}

.footer__langs>div {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
    margin-top: 12px;
}

.footer__bottom {
    height: 50px;
    display: grid;
    place-items: center;
    border-top: 1px solid rgba(157,111,39,.13);
    color: #92887d;
    font-size: 10px;
}

/* modal */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(54,45,35,.42);
    backdrop-filter: blur(7px);
}

.booking-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(680px,calc(100% - 30px));
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 36px 38px;
    background: #fffefa;
    border: 1px solid rgba(157,111,39,.27);
    box-shadow: 0 35px 90px rgba(51,39,26,.2);
    transform: translate(-50%,-47%) scale(.985);
    transition: .35s;
}

.booking-modal.active .booking-modal__panel {
    transform: translate(-50%,-50%);
}

.booking-modal__close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    font-size: 23px;
}

.booking-modal__panel h2 {
    max-width: 520px;
    margin-top: 12px;
    font: 500 34px/1.08 "Playfair Display",serif;
}

.booking-modal__type {
    margin-top: 8px;
    color: var(--gold2);
    font-size: 12px;
}

.booking-modal form {
    margin-top: 26px;
}

.booking-modal fieldset {
    margin-top: 20px;
    border: 0;
}

.booking-modal legend {
    margin-bottom: 9px;
    color: #857b70;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.rental-switch {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.rental-switch input {
    position: absolute;
    opacity: 0;
}

.rental-switch span {
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #fbf7f1;
    font-size: 10px;
}

.rental-switch label+label span {
    border-left: 0;
}

.rental-switch input:checked+span {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.form-grid {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.form-grid label {
    display: grid;
    gap: 5px;
}

.form-grid label span {
    font-size: 9px;
    color: #81776d;
}

.form-grid input,.form-grid select {
    height: 46px;
    padding: 0 11px;
    border: 1px solid var(--line);
    background: #fffefa;
    outline: 0;
}

.form-grid input:focus,.form-grid select:focus {
    border-color: var(--gold);
}

.parking {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.parking input {
    position: absolute;
    opacity: 0;
}

.parking>i {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(157,111,39,.45);
    display: grid;
    place-items: center;
}

.parking input:checked+i {
    background: var(--gold);
}

.parking input:checked+i:after {
    content: "✓";
    color: white;
    font-size: 11px;
}

.parking span {
    display: grid;
    gap: 3px;
}

.parking strong {
    font-size: 11px;
}

.parking small {
    font-size: 9px;
    color: #92887e;
}

.summary {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
}

.summary article {
    min-height: 68px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #fbf8f3;
    border: 1px solid rgba(157,111,39,.18);
}

.summary small {
    font-size: 8px;
    color: #93897e;
    text-transform: uppercase;
}

.summary strong {
    margin-top: 6px;
    color: var(--gold2);
    font-size: 14px;
}

.grand-total {
    margin-top: 13px;
    padding: 15px 0;
    border-block: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grand-total span {
    font-size: 11px;
    color: #71685e;
}

.grand-total strong {
    font: 500 26px "Playfair Display",serif;
    color: var(--gold2);
}

.form-error {
    min-height: 16px;
    margin-top: 11px;
    color: #a75944;
    font-size: 10px;
}

.submit-booking {
    width: 100%;
    height: 50px;
    margin-top: 7px;
    padding: 0 17px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
}

.submit-booking:hover {
    background: var(--gold2);
}

.success {
    margin-top: 15px;
    padding: 16px;
    background: #fbf5ea;
    border: 1px solid rgba(189,139,54,.32);
}

.success strong {
    font: 500 18px "Playfair Display",serif;
    color: var(--gold2);
}

.success p {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.6;
    color: #655c52;
}

/* reveal */
.reveal {
    opacity: 1;
    transform: none;
}

.motion-ready .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s,transform .8s cubic-bezier(.22,1,.36,1);
}

.motion-ready .reveal.active {
    opacity: 1;
    transform: none;
}

/* responsive */
@media(max-width:1450px) {
    :root {
        --pad: 36px;
    }
    .header__inner {
        grid-template-columns: 225px 1fr auto;
        gap: 24px;
    }
    .brand__mark {
        width: 52px;
        height: 58px;
        font-size: 35px;
    }
    .brand__text strong {
        font-size: 24px;
    }
    .desktop-nav {
        gap: 22px;
    }
    .desktop-nav a {
        font-size: 10px;
    }
    .about__grid {
        grid-template-columns: minmax(300px,.72fr) minmax(540px,1.28fr);
        gap: 60px;
    }
    .apartments__grid {
        grid-template-columns: minmax(300px,.65fr) minmax(620px,1.35fr);
        gap: 50px;
    }
    .apt-stage {
        height: 500px;
    }
}

@media(max-width:1180px) {
    :root {
        --pad: 26px;
        --head: 92px;
    }
    .topbar {
        display: none;
    }
    .desktop-nav,.book-btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .header__inner {
        grid-template-columns: 1fr auto;
    }
    .hero {
        height: calc(100svh - var(--head));
    }
    .about__grid,.apartments__grid {
        grid-template-columns: 1fr;
    }
    .about__copy,.apartments__copy {
        max-width: 760px;
    }
    .about-slider {
        width: min(100%,880px);
        margin: auto;
    }
    .apartments-slider {
        width: min(100%,980px);
        margin: auto;
    }
    .feature-strip__grid {
        grid-template-columns: repeat(2,1fr);
    }
    .feature-strip article:nth-child(2) {
        border-right: 0;
    }
    .feature-strip article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
    .footer__grid {
        grid-template-columns: 1fr 1.4fr;
    }
    .footer__langs {
        grid-column: 1/-1;
    }
}

@media(max-width:700px) {
    :root {
        --pad: 16px;
        --head: 82px;
    }
    .header__inner {
        width: calc(100% - 28px);
    }
    .brand {
        gap: 9px;
    }
    .brand__mark {
        width: 43px;
        height: 49px;
        font-size: 29px;
    }
    .brand__text strong {
        font-size: 20px;
    }
    .brand__text small {
        font-size: 5px;
        letter-spacing: 3px;
    }
    .language {
        display: none;
    }
    .hero {
        min-height: 560px;
    }
    .hero__frame {
        inset: 10px;
    }
    .hero>img {
        object-position: 57% center;
    }
    .about,.apartments,.gallery {
        padding: 72px 0;
    }
    .about__grid,.apartments__grid {
        gap: 42px;
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: 2.5px;
    }
    .about__copy h2,.apartments__copy h2,.gallery h2 {
        font-size: 40px;
    }
    .about__copy p,.apartments__copy p {
        font-size: 14px;
        line-height: 1.76;
    }
    .about-slider {
        min-height: 435px;
    }
    .about-stage {
        height: 390px;
    }
    .about-card {
        width: 68%;
        height: 325px;
    }
    .about-card.active {
        width: 74%;
        height: 360px;
    }
    .about-card.prev {
        transform: translate(-105%,-45%) scale(.77);
    }
    .about-card.next {
        transform: translate(5%,-55%) scale(.77);
    }
    .about-card.far-prev,.about-card.far-next {
        opacity: 0;
    }
    .slider-arrow {
        width: 43px;
        height: 43px;
    }
    .apt-stage {
        height: 380px;
    }
    .apt-slide {
        width: 86%;
    }
    .apt-slide.prev {
        opacity: .4;
        transform: translate(-104%,-50%) scale(.72);
    }
    .apt-slide.next {
        opacity: .4;
        transform: translate(4%,-50%) scale(.72);
    }
    .apt-stage>.prev {
        left: 2%;
    }
    .apt-stage>.next {
        right: 2%;
    }
    .apt-caption {
        width: 88%;
        padding: 19px 14px;
    }
    .apt-caption h3 {
        font-size: 27px;
    }
    .apt-progress {
        width: 78%;
    }
    .feature-strip {
        padding: 18px 0;
    }
    .feature-strip__grid {
        grid-template-columns: 1fr;
    }
    .feature-strip article {
        min-height: 86px;
        padding: 14px 5px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .feature-strip article:last-child {
        border-bottom: 0;
    }
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    .gallery__grid img {
        height: auto;
        aspect-ratio: 16/11;
    }
    .footer {
        padding-top: 46px;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .footer__contacts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer__langs {
        grid-column: auto;
    }
    .booking-modal__panel {
        width: calc(100% - 18px);
        padding: 30px 18px 23px;
    }
    .booking-modal__panel h2 {
        padding-right: 40px;
        font-size: 28px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .summary {
        grid-template-columns: 1fr;
    }
    .summary article {
        min-height: 56px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .grand-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media(max-width:390px) {
    .header__inner {
        width: calc(100% - 22px);
    }
    .brand__mark {
        width: 39px;
        height: 45px;
        font-size: 26px;
    }
    .brand__text strong {
        font-size: 18px;
    }
    .mobile-menu {
        padding: 24px 19px;
    }
    .about__copy h2,.apartments__copy h2,.gallery h2 {
        font-size: 35px;
    }
    .apt-stage {
        height: 335px;
    }
    .apt-caption {
        width: 92%;
    }
    .apt-caption h3 {
        font-size: 24px;
    }
    .rental-switch {
        grid-template-columns: 1fr;
    }
    .rental-switch label+label span {
        border-left: 1px solid var(--line);
        border-top: 0;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*:before,*:after {
        animation: none!important;
        transition: none!important;
    }
}

/* =========================================================
   APARTMENTS — RITZ-INSPIRED LIGHT SHOWCASE
   Reworked to match the selected reference
========================================================= */
.apartments.apartments--showcase {
    padding: 104px 0 118px;
    overflow: hidden;
    background: radial-gradient( circle at 14% 12%, rgba(189, 139, 54, 0.045), transparent 28%), linear-gradient( 180deg, #fffefa 0%, #fffdf9 56%, #fbf6ee 100%);
    border-top: 1px solid rgba(157, 111, 39, 0.10);
}

.apartments-intro {
    position: relative;
    z-index: 4;
    max-width: 1320px;
}

.apartments-intro__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.apartments-intro__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

.apartments-intro__all b {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.apartments-intro__all:hover {
    color: var(--gold);
}

.apartments-intro__all:hover b {
    transform: translateX(5px);
}

.apartments-intro__text {
    width: min(100%, 1180px);
    margin: 30px auto 0;
}

.apartments-intro__text p {
    color: #2f2a25;
    font-family: "Playfair Display", serif;
    font-size: clamp(19px, 1.55vw, 25px);
    font-weight: 500;
    line-height: 1.58;
    letter-spacing: -0.12px;
}

.apartments-intro__text p + p {
    margin-top: 22px;
}

.apartments-intro__text strong {
    font-weight: 500;
}

.apartments-intro__text mark {
    padding: 0;
    color: var(--gold2);
    background: transparent;
    font-weight: 600;
}

.apartments-showcase {
    position: relative;
    width: 100vw;
    margin-top: 72px;
    margin-left: calc(50% - 50vw);
}

.apartments-showcase .apt-stage {
    position: relative;
    width: 100%;
    height: 585px;
    overflow: visible;
}

.apartments-showcase .apt-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1030px, 64vw);
    height: 560px;
    overflow: hidden;
    opacity: 0;
    border: 1px solid rgba(157, 111, 39, 0.22);
    border-radius: 0;
    background: #eee6dc;
    box-shadow: 0 25px 64px rgba(62, 47, 29, 0.13);
    transform: translate(-50%, -50%) scale(0.94);
    transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.48s ease, filter 0.48s ease, box-shadow 0.48s ease;
}

.apartments-showcase .apt-slide::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.apartments-showcase .apt-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.apartments-showcase .apt-slide.active {
    z-index: 5;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 31px 78px rgba(62, 47, 29, 0.17);
}

.apartments-showcase .apt-slide.active img {
    transform: scale(1);
}

.apartments-showcase .apt-slide.prev {
    z-index: 2;
    opacity: 0.94;
    filter: brightness(0.98) saturate(0.94);
    transform: translate(-128%, -50%) scale(0.72);
}

.apartments-showcase .apt-slide.next {
    z-index: 2;
    opacity: 0.94;
    filter: brightness(0.98) saturate(0.94);
    transform: translate(28%, -50%) scale(0.72);
}

.apartments-showcase .apt-arrow {
    top: 50%;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(189, 139, 54, 0.58);
    color: var(--gold2);
    background: rgba(255, 254, 250, 0.97);
    font-size: 28px;
    box-shadow: 0 14px 32px rgba(54, 42, 27, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.apartments-showcase .apt-arrow:hover {
    color: #ffffff;
    background: var(--gold);
    transform: translateY(-50%) scale(1.04);
}

.apartments-showcase .apt-arrow--prev {
    left: clamp(42px, 6.5vw, 112px);
}

.apartments-showcase .apt-arrow--next {
    right: clamp(42px, 6.5vw, 112px);
    left: auto;
}

.apartments-showcase .apt-caption {
    position: relative;
    z-index: 7;
    width: min(100% - 32px, 920px);
    margin: 15px auto 0;
    padding: 0;
    text-align: center;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.apartments-showcase .apt-caption .ornament {
    display: none;
}

.apartments-showcase .apt-caption h3 {
    color: #27231f;
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 3.4vw, 52px);
    font-weight: 500;
    line-height: 1.08;
}

.apartments-showcase .apt-book {
    min-height: 42px;
    margin-top: 15px;
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(189, 139, 54, 0.48);
    color: var(--gold2);
    background: transparent;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.apartments-showcase .apt-book:hover {
    color: var(--gold);
    background: transparent;
    border-color: var(--gold);
    transform: translateY(-1px);
}

.apartments-showcase .apt-book b {
    margin-left: 9px;
    transition: transform 0.3s ease;
}

.apartments-showcase .apt-book:hover b {
    transform: translateX(5px);
}

.apartments-showcase .apt-progress--timeline {
    width: min(560px, calc(100% - 54px));
    margin: 24px auto 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    color: #8a8074;
    font-family: "Playfair Display", serif;
    font-size: 13px;
}

.apartments-showcase .apt-progress__number {
    min-width: 23px;
}

.apartments-showcase .apt-progress__rail {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apartments-showcase .apt-progress__rail::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #ded3c3;
    transform: translateY(-50%);
}

.apartments-showcase .apt-progress__fill {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    width: 0;
    height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.apartments-showcase .apt-progress__dot {
    position: relative;
    z-index: 2;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ded3c3;
    box-shadow: 0 0 0 4px #fffdf9;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.apartments-showcase .apt-progress__dot:hover {
    transform: scale(1.12);
}

.apartments-showcase .apt-progress__dot.active {
    background: var(--gold);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px #fffdf9, 0 0 0 5px rgba(189, 139, 54, 0.16);
}

/* --- Apartments responsive --- */
@media (max-width: 1180px) {
    .apartments.apartments--showcase {
        padding-top: 86px;
        padding-bottom: 98px;
    }
    .apartments-intro {
        max-width: none;
    }
    .apartments-intro__text {
        width: min(100%, 980px);
    }
    .apartments-showcase {
        margin-top: 60px;
    }
    .apartments-showcase .apt-stage {
        height: 505px;
    }
    .apartments-showcase .apt-slide {
        width: min(820px, 70vw);
        height: 485px;
    }
    .apartments-showcase .apt-slide.prev {
        transform: translate(-121%, -50%) scale(0.70);
    }
    .apartments-showcase .apt-slide.next {
        transform: translate(21%, -50%) scale(0.70);
    }
    .apartments-showcase .apt-arrow {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 700px) {
    .apartments.apartments--showcase {
        padding: 70px 0 76px;
    }
    .apartments-intro__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
    .apartments-intro__all {
        font-size: 9px;
    }
    .apartments-intro__text {
        margin-top: 24px;
    }
    .apartments-intro__text p {
        font-size: 16px;
        line-height: 1.68;
    }
    .apartments-intro__text p + p {
        margin-top: 18px;
    }
    .apartments-showcase {
        margin-top: 43px;
    }
    .apartments-showcase .apt-stage {
        height: 330px;
    }
    .apartments-showcase .apt-slide {
        width: 82vw;
        height: 315px;
    }
    .apartments-showcase .apt-slide.prev {
        opacity: 0.56;
        transform: translate(-94%, -50%) scale(0.76);
    }
    .apartments-showcase .apt-slide.next {
        opacity: 0.56;
        transform: translate(-6%, -50%) scale(0.76);
    }
    .apartments-showcase .apt-slide::after {
        inset: 6px;
    }
    .apartments-showcase .apt-arrow {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .apartments-showcase .apt-arrow--prev {
        left: 13px;
    }
    .apartments-showcase .apt-arrow--next {
        right: 13px;
    }
    .apartments-showcase .apt-caption {
        margin-top: 12px;
    }
    .apartments-showcase .apt-caption h3 {
        font-size: clamp(28px, 8vw, 36px);
    }
    .apartments-showcase .apt-book {
        min-height: 38px;
        margin-top: 11px;
        padding: 0 10px;
        font-size: 8px;
    }
    .apartments-showcase .apt-progress--timeline {
        width: min(410px, calc(100% - 38px));
        margin-top: 18px;
        gap: 11px;
        font-size: 11px;
    }
    .apartments-showcase .apt-progress__dot {
        width: 9px;
        height: 9px;
        box-shadow: 0 0 0 3px #fffdf9;
    }
    .apartments-showcase .apt-progress__dot.active {
        box-shadow: 0 0 0 3px #fffdf9, 0 0 0 4px rgba(189, 139, 54, 0.16);
    }
}

@media (max-width: 390px) {
    .apartments-intro__text p {
        font-size: 15px;
    }
    .apartments-showcase .apt-stage {
        height: 295px;
    }
    .apartments-showcase .apt-slide {
        width: 84vw;
        height: 282px;
    }
    .apartments-showcase .apt-caption h3 {
        font-size: 27px;
    }
}

/* =========================================================
   LOCATION — INTERACTIVE MAP
========================================================= */
.location-section {
    position: relative;
    padding: 108px 0 102px;
    overflow: hidden;
    background: radial-gradient( circle at 95% 10%, rgba(189, 139, 54, 0.075), transparent 27%), linear-gradient( 135deg, #fffefa 0%, #fbf7f0 100%);
    border-top: 1px solid rgba(157, 111, 39, 0.11);
    border-bottom: 1px solid rgba(157, 111, 39, 0.11);
}

.location-section::before, .location-section::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(189, 139, 54, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.location-section::before {
    top: -270px;
    right: -160px;
    box-shadow: 0 0 0 40px rgba(189, 139, 54, 0.018), 0 0 0 80px rgba(189, 139, 54, 0.012);
}

.location-section::after {
    bottom: -330px;
    left: -210px;
}

.location-section__heading {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: end;
    gap: clamp(40px, 7vw, 110px);
}

.location-section__heading h2 {
    max-width: 760px;
    margin-top: 22px;
    color: #26221e;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 5.4vw, 82px);
    font-weight: 500;
    line-height: 0.96;
}

.location-section__heading > p {
    max-width: 590px;
    color: #675f56;
    font-size: 14px;
    line-height: 1.85;
}

.location-section__layout {
    position: relative;
    z-index: 3;
    margin-top: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
    align-items: stretch;
    gap: 20px;
}

.location-map-shell {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.25);
    border-radius: 5px;
    background: #f4efe7;
    box-shadow: 0 24px 60px rgba(70, 51, 28, 0.10);
}

.location-map {
    width: 100%;
    height: 100%;
    min-height: 620px;
}

.location-map .leaflet-control-attribution {
    padding: 3px 7px;
    color: rgba(74, 67, 59, 0.72);
    background: rgba(255, 254, 250, 0.86);
    font-size: 8px;
}

.location-map .leaflet-control-attribution a {
    color: var(--gold2);
}

.location-map .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.24) !important;
    border-radius: 3px;
    box-shadow: 0 10px 24px rgba(61, 46, 29, 0.08);
}

.location-map .leaflet-control-zoom a {
    color: var(--gold2);
    background: rgba(255, 254, 250, 0.96);
    border-bottom-color: rgba(157, 111, 39, 0.14);
}

.location-map .leaflet-control-zoom a:hover {
    color: #ffffff;
    background: var(--gold);
}

.location-map__badge {
    position: absolute;
    top: 20px;
    left: 58px;
    z-index: 500;
    min-width: 210px;
    min-height: 62px;
    padding: 9px 14px 9px 9px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(189, 139, 54, 0.28);
    border-radius: 4px;
    background: rgba(255, 254, 250, 0.92);
    box-shadow: 0 12px 30px rgba(62, 47, 29, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.location-map__badge-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(189, 139, 54, 0.58);
    border-radius: 50%;
    color: var(--gold2);
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.location-map__badge > span:last-child {
    display: grid;
    gap: 3px;
}

.location-map__badge small {
    color: var(--gold2);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.location-map__badge strong {
    color: #3b342d;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    font-weight: 500;
}

.location-map__controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 500;
    display: flex;
    gap: 8px;
}

.location-map__controls button {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(157, 111, 39, 0.27);
    border-radius: 3px;
    color: #675e54;
    background: rgba(255, 254, 250, 0.93);
    box-shadow: 0 10px 24px rgba(62, 47, 29, 0.08);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.location-map__controls button:hover {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
}

/* Leaflet custom markers */
.arc-leaflet-icon {
    background: transparent;
    border: none;
}

.location-pin {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.location-pin__core {
    position: relative;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189, 139, 54, 0.86);
    border-radius: 50% 50% 50% 15%;
    color: var(--gold2);
    background: rgba(255, 254, 250, 0.98);
    box-shadow: 0 8px 20px rgba(76, 56, 31, 0.15);
    font-family: "Playfair Display", serif;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(-45deg);
    transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.location-pin__core > span {
    transform: rotate(45deg);
}

.location-pin__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 7px);
    z-index: 6;
    min-width: max-content;
    max-width: 190px;
    padding: 7px 10px;
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(157, 111, 39, 0.18);
    border-radius: 3px;
    color: #3d362f;
    background: rgba(255, 254, 250, 0.96);
    box-shadow: 0 10px 22px rgba(59, 44, 27, 0.10);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transform: translate(-50%, 5px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.location-pin:hover, .location-pin.is-active {
    transform: scale(1.16);
}

.location-pin:hover .location-pin__core, .location-pin.is-active .location-pin__core {
    color: #ffffff;
    background: var(--gold);
    box-shadow: 0 12px 28px rgba(157, 111, 39, 0.27);
}

.location-pin:hover .location-pin__label, .location-pin.is-active .location-pin__label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.location-pin--home {
    width: 58px;
    height: 58px;
}

.location-pin--home .location-pin__core {
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold), #cfa455);
    border-color: #e9cf9d;
    font-size: 20px;
}

.location-pin--home::before, .location-pin--home::after {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: 1;
    border: 1px solid rgba(189, 139, 54, 0.40);
    border-radius: 50%;
    animation: arcLocationPulse 2.4s ease-out infinite;
}

.location-pin--home::after {
    animation-delay: 1.2s;
}

@keyframes arcLocationPulse {
    0% {
        opacity: 0.75;
        transform: scale(0.7);
    }
    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

/* Right panel */
.location-panel {
    min-width: 0;
    min-height: 620px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.22);
    border-radius: 5px;
    background: rgba(255, 254, 250, 0.88);
    box-shadow: 0 24px 60px rgba(70, 51, 28, 0.08);
}

.location-panel__top {
    min-height: 45px;
    padding: 0 5px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid rgba(157, 111, 39, 0.16);
}

.location-panel__top > span {
    color: #8a8076;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.location-panel__top strong {
    color: var(--gold2);
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 500;
}

.location-list {
    height: 539px;
    padding: 12px 2px 2px;
    display: grid;
    align-content: start;
    gap: 7px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(189, 139, 54, 0.45) transparent;
}

.location-list::-webkit-scrollbar {
    width: 5px;
}

.location-list::-webkit-scrollbar-thumb {
    background: rgba(189, 139, 54, 0.38);
    border-radius: 20px;
}

.location-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.15);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.56);
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.location-card:hover, .location-card.active {
    border-color: rgba(189, 139, 54, 0.56);
    background: #fffefa;
    box-shadow: 0 14px 34px rgba(64, 47, 27, 0.09);
}

.location-card.active {
    transform: translateX(-3px);
}

.location-card__summary {
    width: 100%;
    min-height: 68px;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
}

.location-card__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189, 139, 54, 0.34);
    border-radius: 50%;
    color: var(--gold2);
    background: #fbf6ee;
    font-family: "Playfair Display", serif;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.location-card:hover .location-card__icon, .location-card.active .location-card__icon {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
}

.location-card__title {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.location-card__title strong {
    overflow: hidden;
    color: #352f29;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-card__title small {
    overflow: hidden;
    color: #948a7e;
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: 0.35px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-card__distance {
    min-width: 58px;
    color: #60574e;
    font-family: "Playfair Display", serif;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.location-card__expand {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
}

.location-card.active .location-card__expand {
    grid-template-rows: 1fr;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .location-card:hover .location-card__expand {
        grid-template-rows: 1fr;
        opacity: 1;
    }
}

.location-card__expand-inner {
    min-height: 0;
    overflow: hidden;
}

.location-card__visual {
    position: relative;
    min-height: 168px;
    margin: 0 11px;
    overflow: hidden;
    background: linear-gradient( 135deg, rgba(189, 139, 54, 0.18), rgba(244, 236, 222, 0.90));
    background-position: center;
    background-size: cover;
}

.location-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, transparent 42%, rgba(31, 25, 20, 0.66));
}

.location-card__category {
    position: absolute;
    right: 12px;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.92);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.location-card__content {
    padding: 13px 13px 14px;
}

.location-card__content p {
    color: #696158;
    font-size: 10px;
    line-height: 1.65;
}

.location-card__actions {
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.location-card__route {
    min-height: 34px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(189, 139, 54, 0.38);
    border-radius: 2px;
    color: var(--gold2);
    background: transparent;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.location-card__route:hover {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
}

.location-card__coords {
    color: #aaa095;
    font-size: 7px;
}

.location-benefits {
    position: relative;
    z-index: 2;
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-benefits article {
    min-height: 86px;
    padding: 15px 27px;
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    border-right: 1px solid rgba(157, 111, 39, 0.18);
}

.location-benefits article:last-child {
    border-right: 0;
}

.location-benefits span {
    color: var(--gold);
    font-family: "Playfair Display", serif;
    font-size: 16px;
}

.location-benefits p {
    color: #5f574e;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    line-height: 1.35;
}

/* Tablet */
@media (max-width: 1180px) {
    .location-section {
        padding: 88px 0 86px;
    }
    .location-section__layout {
        grid-template-columns: 1fr;
    }
    .location-map-shell, .location-map {
        min-height: 520px;
    }
    .location-panel {
        min-height: 0;
        padding: 15px;
    }
    .location-list {
        height: auto;
        max-height: none;
        padding: 11px 0 4px;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(310px, 42%);
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .location-list::-webkit-scrollbar {
        display: none;
    }
    .location-card {
        scroll-snap-align: start;
    }
    .location-card__summary {
        min-height: 72px;
    }
    .location-card.active {
        transform: none;
    }
    .location-card__visual {
        min-height: 185px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .location-section {
        padding: 70px 0 68px;
    }
    .location-section__heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .location-section__heading h2 {
        font-size: 43px;
    }
    .location-section__heading > p {
        font-size: 13px;
        line-height: 1.72;
    }
    .location-section__layout {
        width: calc(100% - 20px);
        margin-top: 38px;
    }
    .location-map-shell, .location-map {
        min-height: 390px;
    }
    .location-map__badge {
        top: 12px;
        left: 48px;
        min-width: 0;
        min-height: 53px;
        padding: 7px 10px 7px 7px;
    }
    .location-map__badge-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .location-map__badge small {
        font-size: 6px;
    }
    .location-map__badge strong {
        font-size: 13px;
    }
    .location-map__controls {
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .location-map__controls button {
        min-height: 39px;
        padding: 0 9px;
        justify-content: center;
        font-size: 7px;
    }
    .location-panel {
        padding: 12px;
    }
    .location-panel__top {
        padding-right: 2px;
        padding-left: 2px;
    }
    .location-list {
        grid-auto-columns: 87%;
    }
    .location-card__summary {
        grid-template-columns: 39px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 10px;
    }
    .location-card__icon {
        width: 37px;
        height: 37px;
    }
    .location-card__title strong {
        font-size: 15px;
    }
    .location-card__distance {
        min-width: 52px;
        font-size: 12px;
    }
    .location-card__visual {
        min-height: 176px;
        margin: 0 9px;
    }
    .location-card__content {
        padding: 12px 11px 13px;
    }
    .location-card__content p {
        font-size: 10px;
    }
    .location-benefits {
        margin-top: 28px;
        grid-template-columns: 1fr 1fr;
    }
    .location-benefits article {
        min-height: 82px;
        padding: 13px 10px;
        border-bottom: 1px solid rgba(157, 111, 39, 0.16);
    }
    .location-benefits article:nth-child(2) {
        border-right: 0;
    }
    .location-benefits article:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
    .location-benefits p {
        font-size: 14px;
    }
    .location-pin__label {
        display: none;
    }
}

@media (max-width: 390px) {
    .location-section__heading h2 {
        font-size: 38px;
    }
    .location-map-shell, .location-map {
        min-height: 350px;
    }
    .location-map__badge {
        left: 45px;
    }
    .location-map__badge small {
        display: none;
    }
    .location-list {
        grid-auto-columns: 92%;
    }
    .location-benefits {
        grid-template-columns: 1fr;
    }
    .location-benefits article, .location-benefits article:nth-child(2), .location-benefits article:nth-last-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.16);
    }
    .location-benefits article:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   LOCATION — INTERACTION FIX
   Desktop hover + stable mobile horizontal rail
========================================================= */
/* Более надёжное раскрытие карточек:
вместо анимации grid-template-rows используется max-height. */
.location-card__expand {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.58s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.30s ease;
}

.location-card.active .location-card__expand {
    max-height: 390px;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .location-card:hover .location-card__expand {
        max-height: 390px;
        opacity: 1;
    }
}

.location-card__expand-inner {
    min-height: 0;
    overflow: visible;
}

/* Не двигаем всю карточку влево при выборе. */
.location-card.active {
    transform: none !important;
}

/* Защита от горизонтального сдвига страницы. */
.location-section, .location-section__layout, .location-panel, .location-list {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 1180px) {
    /* На планшетах и телефонах используем flex-ленту вместо
    grid-auto-flow: column — так браузер не раздувает ширину документа. */;
    .location-list {
        width: 100%;
        display: flex !important;
        align-items: flex-start;
        height: auto;
        max-height: none;
        padding: 11px 0 8px;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 8px;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: none;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .location-list::-webkit-scrollbar {
        display: none;
    }
    .location-card {
        flex: 0 0 clamp(300px, 42vw, 390px);
        min-width: 0;
        max-width: calc(100% - 8px);
        scroll-snap-align: center;
        scroll-snap-stop: normal;
    }
    .location-card.active {
        transform: none !important;
    }
    .location-card__expand, .location-card.active .location-card__expand {
        max-height: 430px;
    }
}

@media (max-width: 700px) {
    .location-section {
        overflow-x: clip;
    }
    .location-section__layout {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    .location-panel {
        width: 100%;
        overflow: hidden;
    }
    .location-list {
        padding-right: 2px;
        padding-left: 2px;
    }
    .location-card {
        flex: 0 0 88%;
        max-width: 360px;
    }
    .location-card__expand, .location-card.active .location-card__expand {
        max-height: 450px;
    }
}

@media (max-width: 420px) {
    .location-card {
        flex-basis: 91%;
        max-width: none;
    }
}

/* =========================================================
   LOCATION — CLICK ONLY INTERACTION
   Hover no longer opens cards. Click/tap controls expansion.
========================================================= */
/* Hover may keep a very light visual cue, but it must not open the details. */
.location-card:hover {
    border-color: rgba(189, 139, 54, 0.30);
    background: rgba(255, 255, 255, 0.70);
    box-shadow: none;
}

.location-card.active, .location-card:hover.active {
    border-color: rgba(189, 139, 54, 0.62);
    background: #fffefa;
    box-shadow: 0 14px 34px rgba(64, 47, 27, 0.09);
}

.location-card:hover .location-card__icon {
    color: var(--gold2);
    border-color: rgba(189, 139, 54, 0.34);
    background: #fbf6ee;
}

.location-card.active .location-card__icon, .location-card:hover.active .location-card__icon {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
}

/* Critical: only .active can reveal the photo/description. */
.location-card__expand, .location-card:hover .location-card__expand {
    max-height: 0 !important;
    opacity: 0 !important;
}

.location-card.active .location-card__expand, .location-card:hover.active .location-card__expand {
    max-height: 430px !important;
    opacity: 1 !important;
}

.location-card__summary {
    cursor: pointer;
}

@media (max-width: 700px) {
    .location-card.active .location-card__expand, .location-card:hover.active .location-card__expand {
        max-height: 470px !important;
    }
}

/* =========================================================
   LOCATION — DESKTOP CLICK DETAIL PANEL
   Reliable desktop behaviour: click a place -> dedicated
   photo/description panel updates above the location list.
========================================================= */
.location-desktop-detail {
    display: none;
}

@media (min-width: 1181px) {
    .location-panel {
        min-height: 620px;
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr);
        align-content: stretch;
        overflow: hidden;
    }
    /* On desktop the rows themselves stay compact.
    The selected place is shown in the dedicated detail window. */
    .location-card__expand, .location-card.active .location-card__expand, .location-card:hover .location-card__expand, .location-card:hover.active .location-card__expand {
        display: none !important;
        max-height: 0 !important;
        opacity: 0 !important;
    }
    .location-desktop-detail {
        min-height: 0;
        height: 282px;
        margin: 12px 2px 4px;
        display: grid;
        grid-template-columns: minmax(210px, 0.92fr) minmax(0, 1.08fr);
        overflow: hidden;
        opacity: 1;
        border: 1px solid rgba(189, 139, 54, 0.28);
        border-radius: 4px;
        background: #fffefa;
        box-shadow: 0 17px 38px rgba(64, 47, 27, 0.08);
        transform: translateY(0);
        transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .location-desktop-detail.is-changing {
        opacity: 0.18;
        transform: translateY(5px);
    }
    .location-desktop-detail__visual {
        position: relative;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
        background: linear-gradient( 135deg, rgba(189, 139, 54, 0.16), rgba(244, 236, 222, 0.88));
        background-position: center;
        background-size: cover;
    }
    .location-desktop-detail__visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(25, 20, 16, 0.02) 35%, rgba(25, 20, 16, 0.56));
    }
    .location-desktop-detail__badge {
        position: absolute;
        left: 15px;
        bottom: 14px;
        z-index: 2;
        padding: 6px 9px;
        border: 1px solid rgba(255, 255, 255, 0.38);
        color: #ffffff;
        background: rgba(36, 29, 23, 0.30);
        font-size: 7px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 1.1px;
        text-transform: uppercase;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    .location-desktop-detail__body {
        min-width: 0;
        padding: 21px 21px 18px;
        display: flex;
        flex-direction: column;
    }
    .location-desktop-detail__eyebrow {
        color: var(--gold2);
        font-size: 8px;
        font-weight: 600;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }
    .location-desktop-detail__body h3 {
        margin-top: 9px;
        color: #302a24;
        font-family: "Playfair Display", serif;
        font-size: clamp(22px, 1.55vw, 29px);
        font-weight: 500;
        line-height: 1.08;
    }
    .location-desktop-detail__body p {
        margin-top: 11px;
        color: #71685f;
        font-size: 10px;
        line-height: 1.63;
    }
    .location-desktop-detail__footer {
        margin-top: auto;
        padding-top: 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 13px;
        border-top: 1px solid rgba(157, 111, 39, 0.14);
    }
    .location-desktop-detail__route {
        min-height: 36px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(189, 139, 54, 0.42);
        border-radius: 2px;
        color: var(--gold2);
        background: transparent;
        font-size: 8px;
        font-weight: 600;
        letter-spacing: 0.45px;
        text-transform: uppercase;
        transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease;
    }
    .location-desktop-detail__route:hover {
        color: #ffffff;
        border-color: var(--gold);
        background: var(--gold);
    }
    .location-desktop-detail__distance {
        color: #8b8176;
        font-family: "Playfair Display", serif;
        font-size: 11px;
        text-align: right;
    }
    /* Remaining location rows stay inside their own scroll area. */
    .location-list {
        height: auto;
        min-height: 0;
        padding-top: 6px;
        overflow-y: auto;
    }
    .location-card__summary {
        min-height: 57px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .location-card__icon {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    .location-card__title strong {
        font-size: 15px;
    }
}

/* =========================================================
   2026 UPDATE — HEADER / 4 LANGUAGES / LOCATION STRUCTURE
========================================================= */
/* Буква A в хэдере удалена. */
.brand {
    gap: 0;
}

.brand__mark {
    display: none !important;
}

.header__inner {
    grid-template-columns: 220px minmax(0, 1fr) auto;
}

.brand__text strong {
    font-size: 30px;
}

.brand__text small {
    letter-spacing: 5.4px;
}

/* Переключатель языка: такой же компактный, но визуально заметнее. */
.language__toggle {
    min-width: 76px;
    min-height: 42px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(189, 139, 54, 0.48);
    border-radius: 999px;
    color: #6c552f;
    background: linear-gradient( 135deg, rgba(255, 252, 245, 0.98), rgba(244, 232, 210, 0.78));
    box-shadow: 0 6px 18px rgba(105, 76, 34, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.35px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.language__toggle:hover, .language.open .language__toggle {
    color: var(--gold2);
    border-color: rgba(189, 139, 54, 0.88);
    background: linear-gradient( 135deg, #fffdf8, #efe0c4);
    box-shadow: 0 8px 22px rgba(105, 76, 34, 0.14), 0 0 0 3px rgba(189, 139, 54, 0.08);
    transform: translateY(-1px);
}

.language__symbol {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189, 139, 54, 0.48);
    border-radius: 50%;
    color: var(--gold2);
    background: rgba(255, 255, 255, 0.50);
    font-family: "Noto Sans SC", "Inter", sans-serif;
    font-size: 9px;
    line-height: 1;
}

.language__chevron {
    position: relative;
    top: -1px;
    color: var(--gold2);
    font-size: 11px;
    transition: transform 0.25s ease;
}

.language.open .language__chevron {
    transform: rotate(180deg);
}

.language__menu {
    width: 154px;
    padding: 7px;
    border-radius: 8px;
    background: rgba(255, 254, 250, 0.99);
    box-shadow: 0 18px 42px rgba(51, 39, 26, 0.14);
}

.language__menu button {
    height: 39px;
    border-radius: 5px;
    font-size: 11px;
}

.language__menu button.active {
    color: #ffffff;
    background: linear-gradient( 135deg, #c99b4f, #ad7a2e);
}

/* 4 языка: KZ / RU / EN / 中文 */
.mobile-menu__langs, .footer__langs > div {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.mobile-menu__langs button, .footer__langs button {
    min-width: 0;
    padding: 0 4px;
}

/* Сохраняем id/место для будущей отдельной Инфраструктуры. */
.infrastructure-reserved {
    position: relative;
    width: 100%;
    height: 1px;
    scroll-margin-top: calc(var(--head) + 20px);
    background: transparent;
}

/* Старые 4 карточки инфраструктуры теперь входят в Location. */
.location-feature-strip {
    margin-top: 70px;
    border-top: 1px solid rgba(157, 111, 39, 0.12);
    border-bottom: 0;
    background: linear-gradient( 180deg, rgba(251, 248, 243, 0.74), rgba(247, 240, 229, 0.94));
}

/* Китайские шрифты */
html[lang="zh-CN"] body {
    font-family: "Noto Sans SC", "Inter", sans-serif;
}

html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3, html[lang="zh-CN"] .brand__text strong, html[lang="zh-CN"] .about-card figcaption, html[lang="zh-CN"] .apt-caption h3, html[lang="zh-CN"] .location-card__title strong, html[lang="zh-CN"] .location-desktop-detail__body h3 {
    font-family: "Noto Serif SC", "Playfair Display", serif;
}

@media (max-width: 1450px) {
    .header__inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
    }
    .brand__text strong {
        font-size: 25px;
    }
    .desktop-nav {
        gap: 17px;
    }
    .desktop-nav a {
        font-size: 9.5px;
    }
}

@media (max-width: 1180px) {
    .header__inner {
        grid-template-columns: 1fr auto;
    }
    .location-feature-strip {
        margin-top: 54px;
    }
}

@media (max-width: 700px) {
    .brand__text strong {
        font-size: 21px;
    }
    .brand__text small {
        font-size: 5.2px;
        letter-spacing: 3.5px;
    }
    .mobile-menu__langs {
        gap: 5px;
    }
    .mobile-menu__langs button {
        font-size: 9px;
    }
    .location-feature-strip {
        margin-top: 42px;
    }
    .footer__langs > div {
        max-width: 310px;
    }
}

@media (max-width: 390px) {
    .brand__text strong {
        font-size: 19px;
    }
    .mobile-menu__langs button, .footer__langs button {
        padding: 0 2px;
        font-size: 8.5px;
    }
}

/* =========================================================
   CINEMATIC FULLSCREEN INTRO
   Inspired by luxury hospitality landing pages, adapted for
   The Arc Residence rather than copied from any one site.
========================================================= */
/* The normal contact bar + full header become floating chrome.
At the top of the page they are hidden so the first screen
is only the photograph and the minimal hero controls. */
.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1205;
    transition: opacity 0.42s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s ease;
}

.header {
    position: fixed;
    top: var(--top);
    right: 0;
    left: 0;
    z-index: 1200;
    transition: opacity 0.42s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.hero-at-top .topbar, body.hero-at-top .header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-105%);
}

/* The first screen is truly viewport-high. */
.hero.hero--intro {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 660px;
    overflow: hidden;
    background: #1d1a17;
}

.hero.hero--intro .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.92;
    transform: scale(1.065);
    transition: opacity 1.15s ease, transform 2.15s cubic-bezier(0.22, 1, 0.36, 1);
}

body.intro-ready .hero.hero--intro .hero__image {
    opacity: 1;
    transform: scale(1);
}

/* Darkening is concentrated at top/bottom, keeping the actual
apartment photograph bright and premium rather than gloomy. */
.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( 180deg, rgba(18, 16, 13, 0.37) 0%, rgba(18, 16, 13, 0.10) 29%, rgba(18, 16, 13, 0.05) 54%, rgba(18, 16, 13, 0.52) 100%), linear-gradient( 90deg, rgba(15, 13, 11, 0.20) 0%, transparent 42%);
}

.hero-intro {
    position: absolute;
    inset: 0;
    z-index: 3;
    color: #ffffff;
    pointer-events: none;
}

/* Minimal links — intentionally not styled like the later
website header, so the first view feels editorial/cinematic. */
.hero-intro__about, .hero-intro__book {
    position: absolute;
    top: max(34px, calc(24px + env(safe-area-inset-top)));
    z-index: 4;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.96);
    background: transparent;
    border: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.72s ease 0.44s, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.44s, color 0.25s ease;
}

.hero-intro__about {
    left: clamp(28px, 3.4vw, 64px);
}

.hero-intro__book {
    right: clamp(28px, 3.4vw, 64px);
    padding: 0;
}

.hero-intro__about::after, .hero-intro__book::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.76);
    transform: scaleX(0.34);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.hero-intro__book::after {
    transform-origin: right center;
}

.hero-intro__about:hover, .hero-intro__book:hover {
    color: #f4d69e;
}

.hero-intro__about:hover::after, .hero-intro__book:hover::after {
    background: #f4d69e;
    transform: scaleX(1);
}

/* Bottom-left editorial copy */
.hero-intro__copy {
    position: absolute;
    left: clamp(28px, 4.2vw, 80px);
    bottom: max(54px, calc(38px + env(safe-area-inset-bottom)));
    width: min(760px, 74vw);
    pointer-events: none;
}

.hero-intro__phrase {
    max-width: 720px;
    color: #ffffff;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(44px, 5.2vw, 82px);
    font-style: italic;
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -1.8px;
    text-wrap: balance;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease 0.64s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.64s;
}

.hero-intro__name {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: clamp(10px, 0.8vw, 13px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: clamp(3px, 0.42vw, 7px);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease 0.92s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.92s;
}

body.intro-ready .hero-intro__about, body.intro-ready .hero-intro__book, body.intro-ready .hero-intro__phrase, body.intro-ready .hero-intro__name {
    opacity: 1;
    transform: none;
}

/* The old decorative frame was intentionally removed from the
first view to make it cleaner and closer to editorial luxury. */
.hero.hero--intro .hero__frame {
    display: none;
}

/* The first real content section has a little more air after the
fullscreen image, emphasizing the visual transition. */
.hero.hero--intro + .about {
    border-top: 0;
}

/* Chinese phrase uses a CJK serif without artificial italic. */
html[lang="zh-CN"] .hero-intro__phrase {
    font-family: "Noto Serif SC", serif;
    font-style: normal;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

/* Desktop medium width */
@media (max-width: 1180px) {
    .header {
        top: 0;
    }
    body.hero-at-top .header {
        transform: translateY(-110%);
    }
    .hero.hero--intro {
        min-height: 620px;
    }
    .hero-intro__copy {
        width: min(700px, 82vw);
    }
    .hero-intro__phrase {
        font-size: clamp(42px, 7vw, 70px);
    }
}

/* Phones / small tablets */
@media (max-width: 700px) {
    .hero.hero--intro {
        height: 100svh;
        min-height: 560px;
    }
    .hero.hero--intro .hero__image {
        object-position: 57% center;
    }
    .hero__veil {
        background: linear-gradient( 180deg, rgba(18, 16, 13, 0.42) 0%, rgba(18, 16, 13, 0.08) 32%, rgba(18, 16, 13, 0.08) 53%, rgba(18, 16, 13, 0.62) 100%);
    }
    .hero-intro__about, .hero-intro__book {
        top: max(20px, calc(14px + env(safe-area-inset-top)));
        min-height: 38px;
        font-size: 9px;
        letter-spacing: 1.35px;
    }
    .hero-intro__about {
        left: 20px;
    }
    .hero-intro__book {
        right: 20px;
    }
    .hero-intro__copy {
        left: 20px;
        bottom: max(36px, calc(24px + env(safe-area-inset-bottom)));
        width: calc(100% - 40px);
    }
    .hero-intro__phrase {
        max-width: 92vw;
        font-size: clamp(37px, 11.2vw, 54px);
        line-height: 1.01;
        letter-spacing: -1px;
    }
    .hero-intro__name {
        margin-top: 18px;
        font-size: 9px;
        letter-spacing: 3.6px;
    }
}

@media (max-width: 390px) {
    .hero-intro__about {
        left: 16px;
    }
    .hero-intro__book {
        right: 16px;
    }
    .hero-intro__copy {
        left: 16px;
        width: calc(100% - 32px);
    }
    .hero-intro__phrase {
        font-size: clamp(34px, 11vw, 45px);
    }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero.hero--intro .hero__image, .hero-intro__about, .hero-intro__book, .hero-intro__phrase, .hero-intro__name, .topbar, .header {
        transition: none !important;
    }
    .hero.hero--intro .hero__image, .hero-intro__about, .hero-intro__book, .hero-intro__phrase, .hero-intro__name {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   APARTMENTS — MULTI PHOTO PREMIUM GALLERY
========================================================= */
.apartments.apartments--gallery {
    padding: 108px 0 112px;
    overflow: hidden;
    background: radial-gradient( circle at 92% 3%, rgba(189, 139, 54, 0.07), transparent 25%), linear-gradient( 180deg, #fffefa 0%, #fbf6ed 100%);
    border-top: 1px solid rgba(157, 111, 39, 0.10);
}

.apartment-gallery {
    width: min(calc(100% - var(--pad) * 2), 1540px);
}

.apartment-gallery__heading {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 0.7fr);
    justify-content: space-between;
    align-items: end;
    gap: 70px;
}

.apartment-gallery__heading h2 {
    margin-top: 18px;
    color: #211d19;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(54px, 5vw, 82px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -2px;
}

.apartment-gallery__heading > p {
    max-width: 520px;
    margin-left: auto;
    color: #625a52;
    font-size: 14px;
    line-height: 1.75;
}

.apartment-types {
    width: min(680px, 100%);
    min-height: 53px;
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.22);
    border-radius: 999px;
    background: rgba(255, 254, 250, 0.80);
}

.apartment-types__button {
    position: relative;
    min-height: 53px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid rgba(157, 111, 39, 0.12);
    color: #686057;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease;
}

.apartment-types__button:last-child {
    border-right: 0;
}

.apartment-types__button::after {
    content: "";
    position: absolute;
    right: 28%;
    bottom: 0;
    left: 28%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.32s ease;
}

.apartment-types__button.active {
    color: #8a5c1b;
    background: linear-gradient( 90deg, rgba(232, 204, 159, 0.40), rgba(255, 253, 248, 0.44));
}

.apartment-types__button.active::after {
    transform: scaleX(1);
}

.apartment-media {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(245px, 0.95fr);
    gap: 14px;
}

.apartment-main {
    position: relative;
    height: clamp(470px, 38vw, 560px);
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.18);
    border-radius: 12px;
    background: #e9e0d5;
}

.apartment-main > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.24s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.apartment-main > img.is-changing {
    opacity: 0.32;
    transform: scale(1.012);
}

.apartment-main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( 180deg, rgba(21, 17, 14, 0.05), transparent 60%, rgba(21, 17, 14, 0.26));
}

.apartment-main__area {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    min-height: 39px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 9px;
    color: #615443;
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 8px 24px rgba(40, 30, 21, 0.08);
    font-family: "Playfair Display", serif;
    font-size: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.apartment-main__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(30, 25, 20, 0.26);
    font-size: 22px;
    transform: translateY(-50%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: color 0.28s ease, background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.apartment-main__arrow:hover {
    color: #5d431c;
    border-color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 253, 247, 0.96);
    transform: translateY(-50%) scale(1.05);
}

.apartment-main__arrow--prev {
    left: 28px;
}

.apartment-main__arrow--next {
    right: 28px;
}

.apartment-main__counter {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.94);
    transform: translateX(-50%);
    font-family: "Playfair Display", serif;
}

.apartment-main__counter strong {
    color: #e1b86f;
    font-size: 16px;
    font-weight: 500;
}

.apartment-main__counter span {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.60);
}

.apartment-main__counter small {
    font-size: 12px;
}

.apartment-thumbs {
    min-width: 0;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.apartment-thumb {
    position: relative;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(157, 111, 39, 0.14);
    border-radius: 11px;
    background: #ebe3d8;
}

.apartment-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: border-color 0.25s ease;
}

.apartment-thumb:hover::after {
    border-color: rgba(202, 154, 78, 0.68);
}

.apartment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.apartment-thumb:hover img {
    transform: scale(1.035);
    filter: brightness(1.03);
}

.apartment-meta {
    margin-top: 20px;
    padding: 25px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(157, 111, 39, 0.16);
    border-radius: 13px;
    background: linear-gradient( 120deg, rgba(255, 254, 250, 0.96), rgba(249, 242, 231, 0.95));
    box-shadow: 0 16px 40px rgba(64, 47, 27, 0.06);
}

.apartment-features {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.apartment-features article {
    min-width: 0;
    min-height: 68px;
    padding: 2px 15px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-right: 1px solid rgba(157, 111, 39, 0.16);
}

.apartment-features article:last-child {
    border-right: 0;
}

.apartment-feature__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 18px;
}

.apartment-features article div {
    min-width: 0;
}

.apartment-features strong {
    display: block;
    color: #423a32;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
}

.apartment-features small {
    display: block;
    margin-top: 4px;
    color: #857a6f;
    font-size: 8px;
    line-height: 1.45;
}

.apartment-offer {
    display: grid;
    grid-template-columns: auto 1px auto auto;
    align-items: center;
    gap: 20px;
}

.apartment-offer > i {
    width: 1px;
    height: 42px;
    background: rgba(157, 111, 39, 0.19);
}

.apartment-rate {
    white-space: nowrap;
}

.apartment-rate small {
    margin-right: 5px;
    color: #887c6e;
    font-size: 9px;
}

.apartment-rate strong {
    color: #a87328;
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 500;
}

.apartment-rate span {
    display: block;
    margin-top: 4px;
    margin-left: 17px;
    color: #82776c;
    font-size: 9px;
}

.apartment-book {
    min-width: 190px;
    min-height: 54px;
    padding: 0 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #c28b38;
    border-radius: 7px;
    color: #ffffff;
    background: linear-gradient( 115deg, #b97d27, #dda953);
    box-shadow: 0 13px 26px rgba(164, 108, 31, 0.18);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.apartment-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(164, 108, 31, 0.24);
    filter: saturate(1.06);
}

.apartment-book b {
    font-size: 18px;
    font-weight: 400;
}

.apartment-gallery__note {
    margin-top: 20px;
    color: #9a9084;
    font-size: 8px;
    text-align: center;
}

/* =========================================================
   PREMIUM BOOKING MODAL V2
========================================================= */
.booking-modal.booking-modal--premium {
    position: fixed;
    inset: 0;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.booking-modal.booking-modal--premium.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal--premium .booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(38, 31, 25, 0.46);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.booking-modal--premium .booking-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1190px, calc(100% - 36px));
    max-height: min(930px, calc(100dvh - 34px));
    overflow: auto;
    padding: 38px 48px 38px;
    border: 1px solid rgba(189, 139, 54, 0.25);
    border-radius: 18px;
    background: radial-gradient( circle at 90% 3%, rgba(217, 173, 102, 0.11), transparent 22%), #fffdf9;
    box-shadow: 0 40px 110px rgba(34, 27, 21, 0.32);
    transform: translate(-50%, -47%) scale(0.985);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-modal--premium.active .booking-modal__panel {
    transform: translate(-50%, -50%) scale(1);
}

.booking-modal--premium .booking-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 8;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(157, 111, 39, 0.22);
    border-radius: 50%;
    color: #6e645a;
    background: rgba(255, 254, 250, 0.75);
    font-size: 25px;
    font-weight: 300;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.booking-modal--premium .booking-modal__close:hover {
    color: #ffffff;
    background: var(--gold);
    transform: rotate(7deg);
}

.booking-modal__ornament {
    position: absolute;
    top: 0;
    right: 86px;
    width: 190px;
    height: 155px;
    overflow: hidden;
    opacity: 0.58;
    pointer-events: none;
}

.booking-modal__ornament::before, .booking-modal__ornament::after {
    content: "";
    position: absolute;
    top: 32px;
    left: 50%;
    width: 104px;
    height: 160px;
    border: 1px solid rgba(189, 139, 54, 0.42);
    border-radius: 54px 54px 0 0;
    transform: translateX(-50%);
}

.booking-modal__ornament::after {
    width: 78px;
    height: 136px;
    top: 46px;
}

.booking-head {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-right: 170px;
}

.booking-head h2 {
    margin-top: 15px;
    color: #1f1c18;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.4px;
}

.booking-head > p {
    margin-top: 14px;
    color: #71685f;
    font-size: 12px;
    line-height: 1.65;
}

.booking-modal--premium form {
    margin-top: 28px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, 0.82fr);
    align-items: start;
    gap: 42px;
}

.booking-fields {
    min-width: 0;
}

.booking-step {
    padding: 19px 0 22px;
    border-bottom: 1px solid rgba(157, 111, 39, 0.14);
}

.booking-step:first-child {
    padding-top: 0;
}

.booking-step:last-child {
    border-bottom: 0;
}

.booking-step__title {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.booking-step__title > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189, 139, 54, 0.38);
    border-radius: 50%;
    color: #b77e2c;
    font-family: "Playfair Display", serif;
    font-size: 10px;
}

.booking-step__title h3 {
    color: #3e3832;
    font-size: 13px;
    font-weight: 500;
}

.booking-apartment-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(157, 111, 39, 0.18);
    border-radius: 10px;
    background: #fcf8f2;
}

.booking-apartment-types button {
    position: relative;
    min-height: 47px;
    border: 0;
    border-right: 1px solid rgba(157, 111, 39, 0.13);
    color: #6d645b;
    background: transparent;
    font-size: 10px;
    transition: color 0.25s ease, background 0.25s ease;
}

.booking-apartment-types button:last-child {
    border-right: 0;
}

.booking-apartment-types button.active {
    color: #935f18;
    background: linear-gradient( 90deg, #f5dfbc, #fbf4e9);
}

.booking-apartment-types button.active::after {
    content: "";
    position: absolute;
    right: 28%;
    bottom: 0;
    left: 28%;
    height: 2px;
    background: #c58a32;
}

.rental-switch.rental-switch--cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rental-switch--cards input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rental-switch--cards label > span {
    min-height: 72px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: 31px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 11px;
    border: 1px solid rgba(157, 111, 39, 0.17);
    border-radius: 10px;
    color: #655d55;
    background: #fffdf9;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rental-switch--cards label + label span {
    border-left: 1px solid rgba(157, 111, 39, 0.17);
}

.rental-switch--cards label > span b {
    grid-row: 1 / 3;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #b57b2b;
    font-size: 17px;
    font-weight: 400;
}

.rental-switch--cards label > span strong {
    align-self: end;
    color: inherit;
    font-size: 10px;
    font-weight: 500;
}

.rental-switch--cards label > span small {
    margin-top: 4px;
    color: #958a7e;
    font-size: 8px;
}

.rental-switch--cards input:checked + span {
    color: #925e18;
    border-color: rgba(194, 137, 50, 0.55);
    background: linear-gradient( 115deg, #f8e5c8, #fffaf2);
    box-shadow: inset 0 0 0 1px rgba(194, 137, 50, 0.08), 0 8px 18px rgba(116, 78, 28, 0.06);
}

.booking-date-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 14px;
}

.booking-date-row > em {
    padding-bottom: 15px;
    color: #b3a79a;
    font-style: normal;
}

.booking-control {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.booking-control > span {
    color: #81766b;
    font-size: 8px;
}

.booking-control input, .booking-control select {
    width: 100%;
    height: 48px;
    min-width: 0;
    padding: 0 13px;
    border: 1px solid rgba(157, 111, 39, 0.17);
    border-radius: 8px;
    outline: 0;
    color: #4f4841;
    background: #fffdfa;
    font-size: 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.booking-control input:focus, .booking-control select:focus {
    border-color: rgba(189, 139, 54, 0.62);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(189, 139, 54, 0.08);
}

.booking-parking {
    min-height: 48px;
    margin-top: 13px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(157, 111, 39, 0.14);
    border-radius: 9px;
    background: #fbf7f1;
}

.booking-parking input {
    position: absolute;
    opacity: 0;
}

.booking-parking > i {
    position: relative;
    width: 34px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #ded4c7;
    transition: background 0.25s ease;
}

.booking-parking > i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(58, 46, 34, 0.15);
    transition: transform 0.25s ease;
}

.booking-parking input:checked + i {
    background: #bc832f;
}

.booking-parking input:checked + i::after {
    transform: translateX(14px);
}

.booking-parking > span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 1;
}

.booking-parking strong {
    color: #635a51;
    font-size: 9px;
    font-weight: 500;
}

.booking-parking small {
    color: #8a7c6c;
    font-size: 8px;
}

.booking-personal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
}

.booking-privacy {
    margin-top: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #998e82;
    font-size: 8px;
    line-height: 1.5;
}

.booking-privacy > span:first-child {
    color: #bc832f;
}

/* right summary */
.booking-summary {
    position: sticky;
    top: 0;
    padding: 16px;
    border: 1px solid rgba(157, 111, 39, 0.17);
    border-radius: 16px;
    background: linear-gradient( 180deg, #fffdfa 0%, #faf4ea 100%);
    box-shadow: 0 18px 48px rgba(74, 54, 30, 0.08);
}

.booking-summary__image {
    height: 205px;
    overflow: hidden;
    border-radius: 11px;
    background: #e8dfd4;
}

.booking-summary__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-summary__intro {
    padding: 18px 4px 15px;
    border-bottom: 1px solid rgba(157, 111, 39, 0.17);
}

.booking-summary__intro h3 {
    color: #312c27;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.12;
}

.booking-summary__intro p {
    margin-top: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a7f74;
    font-size: 9px;
}

.booking-summary__intro p i {
    width: 1px;
    height: 12px;
    background: rgba(157, 111, 39, 0.23);
}

.booking-summary__breakdown {
    padding: 9px 4px 3px;
}

.booking-summary__breakdown article {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(157, 111, 39, 0.11);
}

.booking-summary__breakdown article:last-child {
    border-bottom: 0;
}

.booking-summary__breakdown article div {
    display: grid;
    gap: 4px;
}

.booking-summary__breakdown strong {
    color: #574f47;
    font-size: 9px;
    font-weight: 500;
}

.booking-summary__breakdown small {
    color: #9b9085;
    font-size: 8px;
}

.booking-summary__breakdown article > span {
    color: #554a3d;
    font-family: "Playfair Display", serif;
    font-size: 14px;
    white-space: nowrap;
}

.booking-summary__total {
    min-height: 70px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid rgba(157, 111, 39, 0.20);
}

.booking-summary__total span {
    color: #514941;
    font-size: 10px;
    font-weight: 500;
}

.booking-summary__total strong {
    color: #b27624;
    font-family: "Playfair Display", serif;
    font-size: 29px;
    font-weight: 500;
    white-space: nowrap;
}

.booking-summary__notice {
    display: flex;
    gap: 7px;
    color: #9a8f84;
    font-size: 7.5px;
    line-height: 1.55;
}

.booking-summary__notice > span:first-child {
    color: #c18b3a;
}

.booking-modal--premium .form-error {
    min-height: 17px;
    margin-top: 9px;
    color: #a5513e;
    font-size: 8px;
}

.booking-modal--premium .submit-booking {
    width: 100%;
    height: 54px;
    margin-top: 4px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid #bd832f;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient( 110deg, #b77a25, #dfa94e);
    box-shadow: 0 13px 28px rgba(159, 103, 27, 0.18);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.booking-modal--premium .submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(159, 103, 27, 0.24);
    filter: saturate(1.07);
}

.booking-modal--premium .submit-booking b {
    font-size: 18px;
    font-weight: 400;
}

.booking-summary__after {
    margin-top: 10px;
    color: #9a8f84;
    font-size: 7.5px;
    text-align: center;
}

.booking-modal--premium .success {
    margin-top: 13px;
    padding: 13px;
    border: 1px solid rgba(189, 139, 54, 0.28);
    border-radius: 8px;
    background: #fbf1df;
}

.booking-modal--premium .success strong {
    color: #9c6720;
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 500;
}

.booking-modal--premium .success p {
    margin-top: 4px;
    color: #75695e;
    font-size: 8px;
    line-height: 1.5;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1280px) {
    .apartment-meta {
        grid-template-columns: 1fr;
    }
    .apartment-offer {
        justify-content: end;
    }
    .booking-layout {
        gap: 28px;
    }
}

@media (max-width: 1050px) {
    .apartment-gallery__heading {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .apartment-gallery__heading > p {
        margin-left: 0;
    }
    .apartment-media {
        grid-template-columns: 1fr;
    }
    .apartment-main {
        height: clamp(390px, 46vw, 470px);
        min-height: 0;
    }
    .apartment-thumbs {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: none;
    }
    .apartment-thumb {
        min-height: 180px;
    }
    .apartment-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 17px 0;
    }
    .apartment-features article:nth-child(3) {
        border-right: 0;
    }
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .booking-summary {
        position: relative;
    }
    .booking-summary__image {
        height: 270px;
    }
}

@media (max-width: 700px) {
    .apartments.apartments--gallery {
        padding: 72px 0 76px;
    }
    .apartment-gallery {
        width: calc(100% - 28px);
    }
    .apartment-gallery__heading h2 {
        font-size: 43px;
        letter-spacing: -1px;
    }
    .apartment-gallery__heading > p {
        font-size: 12px;
    }
    .apartment-types {
        margin-top: 35px;
        border-radius: 9px;
    }
    .apartment-types__button {
        min-height: 48px;
        padding: 0 5px;
        font-size: 9px;
    }
    .apartment-media {
        margin-top: 12px;
        gap: 9px;
    }
    .apartment-main {
        height: 335px;
        min-height: 0;
        border-radius: 9px;
    }
    .apartment-main__area {
        top: 13px;
        left: 13px;
        min-height: 32px;
        font-size: 11px;
    }
    .apartment-main__arrow {
        width: 43px;
        height: 43px;
        font-size: 18px;
    }
    .apartment-main__arrow--prev {
        left: 12px;
    }
    .apartment-main__arrow--next {
        right: 12px;
    }
    .apartment-thumbs {
        gap: 7px;
    }
    .apartment-thumb {
        min-height: 100px;
        border-radius: 8px;
    }
    .apartment-meta {
        padding: 19px 15px;
        gap: 24px;
    }
    .apartment-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 0;
    }
    .apartment-features article {
        min-height: 58px;
        padding: 0 10px;
    }
    .apartment-features article:nth-child(2n) {
        border-right: 0;
    }
    .apartment-features article:nth-child(3) {
        border-right: 1px solid rgba(157, 111, 39, 0.16);
    }
    .apartment-features article:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }
    .apartment-offer {
        width: 100%;
        grid-template-columns: 1fr 1px 1fr;
        justify-content: stretch;
        gap: 12px;
    }
    .apartment-rate {
        text-align: center;
    }
    .apartment-rate strong {
        display: block;
        font-size: 22px;
    }
    .apartment-rate span {
        margin-left: 0;
    }
    .apartment-book {
        grid-column: 1 / -1;
        width: 100%;
    }
    /* modal */
    .booking-modal--premium .booking-modal__panel {
        width: calc(100% - 12px);
        max-height: calc(100dvh - 12px);
        padding: 26px 16px 22px;
        border-radius: 13px;
    }
    .booking-modal--premium .booking-modal__close {
        top: 12px;
        right: 12px;
        width: 39px;
        height: 39px;
    }
    .booking-modal__ornament {
        display: none;
    }
    .booking-head {
        padding-right: 45px;
    }
    .booking-head h2 {
        margin-top: 11px;
        font-size: 34px;
    }
    .booking-head > p {
        font-size: 10px;
    }
    .booking-modal--premium form {
        margin-top: 20px;
    }
    .booking-layout {
        gap: 18px;
    }
    .booking-step {
        padding: 16px 0 18px;
    }
    .booking-apartment-types {
        grid-template-columns: 1fr;
    }
    .booking-apartment-types button {
        min-height: 44px;
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .booking-apartment-types button:last-child {
        border-bottom: 0;
    }
    .rental-switch.rental-switch--cards {
        grid-template-columns: 1fr;
    }
    .booking-date-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .booking-date-row > em {
        display: none;
    }
    .booking-personal-grid {
        grid-template-columns: 1fr;
    }
    .booking-parking > span {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
    .booking-summary {
        padding: 12px;
    }
    .booking-summary__image {
        height: 210px;
    }
    .booking-summary__total strong {
        font-size: 25px;
    }
}

@media (max-width: 390px) {
    .apartment-main {
        height: 300px;
        min-height: 0;
    }
    .apartment-thumb {
        min-height: 88px;
    }
    .apartment-features {
        grid-template-columns: 1fr;
    }
    .apartment-features article, .apartment-features article:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .apartment-features article:last-child {
        border-bottom: 0;
    }
    .apartment-offer {
        grid-template-columns: 1fr;
    }
    .apartment-offer > i {
        display: none;
    }
    .booking-head h2 {
        font-size: 30px;
    }
}

/* =========================================================
   MOBILE VIEWPORT STABILITY FIX
   - no horizontal page drift
   - mobile nav always stays inside viewport
   - hero controls respect safe areas
   - Location keeps its own horizontal card rail without
   making the entire document horizontally scrollable
========================================================= */
/* Root document must never become wider than the device viewport. */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
    overscroll-behavior-x: none;
}

body {
    position: relative;
}

/* Prevent any high-level page block from establishing a wider
scroll area than the viewport. */
body, main, header, footer, section, .topbar, .header, .hero, .about, .apartments, .location-section, .gallery, .footer {
    max-width: 100%;
}

main {
    width: 100%;
    overflow-x: clip;
}

.container {
    max-width: 100%;
}

/* Fixed chrome must be pinned to the actual viewport. */
.topbar, .header {
    width: 100%;
    max-width: 100%;
    right: 0;
    left: 0;
}

/* Mobile drawer: keep it off-screen using transform rather than
right:-100%, which can create a horizontal scroll range in
some mobile browsers / device emulation modes. */
.mobile-menu {
    right: 0 !important;
    width: min(410px, 100vw);
    max-width: 100vw;
    transform: translate3d(105%, 0, 0);
    transition: transform 0.45s cubic-bezier(.77, 0, .18, 1), box-shadow 0.35s ease;
}

.mobile-menu.active {
    right: 0 !important;
    transform: translate3d(0, 0, 0);
}

.mobile-overlay {
    width: 100%;
    max-width: 100%;
}

/* Fullscreen hero cannot extend past the viewport. */
.hero.hero--intro, .hero-intro, .hero.hero--intro .hero__image, .hero__veil {
    width: 100%;
    max-width: 100%;
}

.hero.hero--intro {
    overflow: hidden;
}

.hero.hero--intro .hero__image {
    left: 0;
    right: 0;
}

/* Location / Leaflet containment. */
.location-section, .location-section__heading, .location-section__layout, .location-map-shell, .location-map, .location-panel, .location-benefits, .location-feature-strip {
    min-width: 0;
    max-width: 100%;
}

.location-map-shell {
    width: 100%;
}

.location-map, .location-map .leaflet-container, .leaflet-container {
    max-width: 100%;
}

.location-panel {
    overflow: hidden;
}

.location-list {
    max-width: 100%;
}

/* Any transformed slider/image should be clipped by its section,
not enlarge the document scroll width. */
.about, .apartments, .location-section, .gallery {
    overflow-x: clip;
}

/* =========================================================
   MOBILE / TABLET
========================================================= */
@media (max-width: 1180px) {
    .header {
        top: 0;
    }
    .header__inner {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 12px !important;
    }
    .brand {
        min-width: 0;
        max-width: 100%;
    }
    .brand__text {
        min-width: 0;
        max-width: 100%;
    }
    .brand__text strong, .brand__text small {
        max-width: 100%;
    }
    .header__actions {
        min-width: 0;
        flex: 0 0 auto;
    }
    .mobile-toggle {
        flex: 0 0 44px;
    }
    /* The horizontal places rail remains scrollable,
    but only INSIDE its own panel. */
    .location-list {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: contain;
        contain: inline-size;
    }
    .location-card {
        min-width: 0;
        max-width: calc(100% - 10px);
    }
}

@media (max-width: 700px) {
    :root {
        --mobile-page-gutter: 14px;
    }
    html, body {
        min-width: 0;
    }
    /* Header */
    .header__inner {
        width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
        max-width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
    }
    .brand {
        overflow: hidden;
    }
    .brand__text strong {
        font-size: clamp(18px, 5.3vw, 21px);
        white-space: nowrap;
    }
    .brand__text small {
        font-size: 5px;
        letter-spacing: clamp(2.4px, 0.9vw, 3.5px);
        white-space: nowrap;
    }
    .mobile-toggle {
        width: 44px;
        height: 44px;
    }
    /* Hero minimal navigation:
    use left+right bounds instead of left+explicit width. */
    .hero-intro__about {
        left: max( var(--mobile-page-gutter), env(safe-area-inset-left)) !important;
    }
    .hero-intro__book {
        right: max( var(--mobile-page-gutter), env(safe-area-inset-right)) !important;
    }
    .hero-intro__copy {
        left: max( var(--mobile-page-gutter), env(safe-area-inset-left)) !important;
        right: max( var(--mobile-page-gutter), env(safe-area-inset-right)) !important;
        width: auto !important;
        max-width: none !important;
    }
    .hero-intro__phrase, .hero-intro__name {
        max-width: 100%;
    }
    .hero-intro__phrase {
        overflow-wrap: break-word;
    }
    /* Standard containers always stay symmetrically centered. */
    .container, .apartment-gallery {
        width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
        max-width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    /* Location had several historical width overrides.
    Force one stable mobile width here. */
    .location-section__heading, .location-section__layout, .location-benefits {
        width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
        max-width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .location-section__layout {
        margin-top: 38px !important;
    }
    .location-map-shell {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    /* Keep map overlay badge inside the map on long RU/ZH text. */
    .location-map__badge {
        left: 48px !important;
        right: 10px !important;
        width: auto !important;
        max-width: calc(100% - 58px) !important;
        min-width: 0 !important;
    }
    .location-map__badge > span:last-child {
        min-width: 0;
    }
    .location-map__badge small, .location-map__badge strong {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .location-map__controls {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-width: none !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }
    .location-map__controls button {
        min-width: 0;
        max-width: 100%;
        padding-right: 7px;
        padding-left: 7px;
        white-space: normal;
        line-height: 1.25;
    }
    .location-panel {
        width: 100%;
        max-width: 100%;
    }
    .location-list {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        scroll-padding-inline: 6px;
    }
    .location-card {
        flex: 0 0 min(88%, 330px) !important;
        width: auto !important;
        max-width: calc(100% - 12px) !important;
    }
    /* Apartments and gallery also stay inside page width. */
    .apartment-media, .apartment-main, .apartment-thumbs, .apartment-meta, .apartment-offer, .gallery__grid {
        min-width: 0;
        max-width: 100%;
    }
    .apartment-thumbs {
        overflow: hidden;
    }
    /* Booking modal is viewport-contained even on Safari. */
    .booking-modal--premium .booking-modal__panel {
        left: 50% !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        margin: 0 !important;
    }
}

@media (max-width: 390px) {
    :root {
        --mobile-page-gutter: 12px;
    }
    .header__inner {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
    .hero-intro__about {
        left: max(12px, env(safe-area-inset-left)) !important;
    }
    .hero-intro__book {
        right: max(12px, env(safe-area-inset-right)) !important;
    }
    .hero-intro__copy {
        left: max(12px, env(safe-area-inset-left)) !important;
        right: max(12px, env(safe-area-inset-right)) !important;
    }
    .location-map__badge {
        left: 44px !important;
        right: 8px !important;
        max-width: calc(100% - 52px) !important;
    }
}

/* =========================================================
   APARTMENT MEDIA SIZE REFINEMENT
   Reduced the visual height of the apartment image area
   to make desktop viewing more comfortable.
========================================================= */
@media (min-width: 1400px) {
    .apartment-media {
        gap: 16px;
    }
    .apartment-main {
        height: 540px;
    }
}

@media (min-width: 1051px) and (max-width: 1399px) {
    .apartment-main {
        height: clamp(460px, 35vw, 540px);
    }
}

/* =========================================================
   THE ARC RESIDENCE — APARTMENTS PREMIUM V3
   Stable grid, inline SVG icons, balanced desktop proportions.
========================================================= */
.apartments.apartments--premium {
    padding: 92px 0 104px;
    overflow: clip;
    background: radial-gradient( circle at 95% 0%, rgba(189, 139, 54, 0.08), transparent 26%), radial-gradient( circle at 4% 98%, rgba(189, 139, 54, 0.045), transparent 24%), #fffdf9;
}

.apartment-gallery--premium {
    width: min(calc(100% - var(--pad) * 2), 1540px);
    padding: clamp(34px, 3vw, 52px);
    border: 1px solid rgba(168, 118, 41, 0.33);
    border-radius: 22px;
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.82), rgba(250, 244, 234, 0.72));
    box-shadow: 0 26px 70px rgba(77, 54, 27, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* ----- heading ----- */
.apartment-premium-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 52px minmax(300px, 0.72fr);
    align-items: center;
    gap: clamp(22px, 3vw, 50px);
}

.apartment-premium-head__title {
    min-width: 0;
}

.apartment-premium-head__title h2 {
    margin-top: 12px;
    color: #1e1a17;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(62px, 6vw, 104px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.apartment-premium-head__divider {
    position: relative;
    width: 100%;
    height: 116px;
    display: flex;
    justify-content: center;
}

.apartment-premium-head__divider span {
    width: 1px;
    height: 100%;
    background: linear-gradient( 180deg, transparent, rgba(174, 122, 42, 0.65) 18%, rgba(174, 122, 42, 0.65) 82%, transparent);
}

.apartment-premium-head__divider i {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    background: #fffdf9;
    transform: translateY(-50%) rotate(45deg);
}

.apartment-premium-head > p {
    max-width: 440px;
    color: #574f47;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.52;
}

/* ----- type tabs ----- */
.apartment-types--premium {
    width: min(920px, 78%);
    min-height: 58px;
    margin: 44px auto 24px;
    border: 1px solid rgba(166, 115, 36, 0.17);
    border-radius: 13px;
    background: rgba(255, 254, 251, 0.90);
    box-shadow: 0 12px 30px rgba(75, 54, 31, 0.08);
}

.apartment-types--premium .apartment-types__button {
    min-height: 58px;
    color: #544c45;
    background: transparent;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 16px;
}

.apartment-types--premium .apartment-types__button::after {
    display: none;
}

.apartment-types--premium .apartment-types__button.active {
    z-index: 2;
    margin: -1px 0;
    color: #9f681f;
    border: 1px solid rgba(184, 126, 39, 0.78);
    border-radius: 13px;
    background: linear-gradient( 180deg, #fffdfa, #faf2e6);
    box-shadow: 0 8px 18px rgba(146, 94, 23, 0.09);
}

/* ----- image gallery ----- */
.apartment-media--premium {
    display: grid;
    grid-template-columns: minmax(0, 2.65fr) minmax(270px, 1fr);
    gap: 16px;
    margin-top: 0;
}

.apartment-main--premium {
    height: clamp(460px, 35vw, 550px);
    min-height: 0;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 14px 32px rgba(54, 40, 25, 0.10);
}

.apartment-main--premium .apartment-main__area {
    display: none;
}

.apartment-main--premium > img {
    border-radius: inherit;
}

.apartment-main--premium::after {
    border-radius: inherit;
    background: linear-gradient( 180deg, rgba(20, 16, 13, 0.01) 55%, rgba(20, 16, 13, 0.18));
}

.apartment-main--premium .apartment-main__arrow {
    width: 54px;
    height: 54px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(193, 143, 67, 0.40);
    color: #8e642c;
    background: rgba(255, 254, 251, 0.94);
    box-shadow: 0 9px 24px rgba(46, 35, 24, 0.11);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.apartment-main--premium .apartment-main__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.apartment-main--premium .apartment-main__arrow:hover {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
}

.apartment-main--premium .apartment-main__arrow--prev {
    left: 20px;
}

.apartment-main--premium .apartment-main__arrow--next {
    right: 20px;
}

.apartment-main--premium .apartment-main__counter {
    bottom: 16px;
    min-height: 29px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(34, 28, 23, 0.24);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.apartment-thumbs--premium {
    min-width: 0;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.apartment-thumbs--premium .apartment-thumb {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(54, 40, 25, 0.08);
}

.apartment-thumbs--premium .apartment-thumb::after {
    border-radius: inherit;
}

.apartment-thumbs--premium .apartment-thumb img {
    border-radius: inherit;
}

/* ----- selected title ----- */
.apartment-selected {
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr);
    align-items: center;
    gap: 30px;
}

.apartment-selected h3 {
    color: #29231e;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: clamp(28px, 2.4vw, 40px);
    font-weight: 500;
    line-height: 1.05;
}

.apartment-selected__ornament {
    display: grid;
    grid-template-columns: 1fr 9px 1fr;
    align-items: center;
    gap: 12px;
}

.apartment-selected__ornament span {
    height: 1px;
    background: linear-gradient( 90deg, rgba(184, 126, 39, 0.70), rgba(184, 126, 39, 0.15));
}

.apartment-selected__ornament span:last-child {
    background: linear-gradient( 90deg, rgba(184, 126, 39, 0.15), rgba(184, 126, 39, 0.70));
}

.apartment-selected__ornament i {
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

/* ----- fixed feature + price layout ----- */
.apartment-premium-bottom {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.92fr);
    gap: 20px;
}

.apartment-features--premium {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 20px 12px;
    border: 1px solid rgba(157, 111, 39, 0.14);
    border-radius: 14px;
    background: rgba(255, 254, 251, 0.92);
    box-shadow: 0 12px 28px rgba(64, 47, 27, 0.06);
}

.apartment-features--premium article {
    min-width: 0;
    min-height: 70px;
    padding: 0 clamp(8px, 1vw, 16px);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(157, 111, 39, 0.18);
}

.apartment-features--premium article:last-child {
    border-right: 0;
}

/*
IMPORTANT:
Icons have a FIXED 42x42 grid cell.
SVG is fixed to 28x28 and never affects text width.
This prevents icons from shifting when language/text changes.
*/
.apartment-features--premium .apartment-feature__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: grid;
    place-items: center;
    color: #b57b2b;
    font-size: 0;
    line-height: 0;
}

.apartment-features--premium .apartment-feature__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.apartment-features--premium article > div {
    min-width: 0;
}

.apartment-features--premium strong {
    display: block;
    overflow-wrap: break-word;
    color: #423a32;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.apartment-features--premium small {
    display: block;
    margin-top: 4px;
    overflow-wrap: break-word;
    color: #8b8075;
    font-size: 8px;
    line-height: 1.35;
}

/* ----- offer ----- */
.apartment-offer--premium {
    min-width: 0;
    padding: 18px 20px 14px;
    display: block;
    border: 1px solid rgba(157, 111, 39, 0.14);
    border-radius: 14px;
    background: linear-gradient( 115deg, rgba(255, 254, 251, 0.98), rgba(249, 240, 225, 0.92));
    box-shadow: 0 12px 28px rgba(64, 47, 27, 0.06);
}

.apartment-offer__label {
    display: block;
    margin-bottom: 12px;
    color: #ae7424;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.apartment-offer__content {
    display: grid;
    grid-template-columns: minmax(110px, auto) 1px minmax(130px, auto) minmax(190px, 1fr);
    align-items: center;
    gap: 18px;
}

.apartment-offer--premium .apartment-rate {
    min-width: 0;
}

.apartment-offer--premium .apartment-rate small {
    margin-right: 6px;
    color: #7f7469;
    font-family: "Playfair Display", serif;
    font-size: 11px;
}

.apartment-offer--premium .apartment-rate strong {
    color: #2c261f;
    font-size: clamp(24px, 2vw, 32px);
}

.apartment-offer--premium .apartment-rate span {
    margin-top: 4px;
    margin-left: 0;
    color: #776d63;
    font-size: 8px;
}

.apartment-rate-separator {
    width: 1px;
    height: 52px;
    background: rgba(157, 111, 39, 0.22);
}

.apartment-offer--premium .apartment-book {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.apartment-offer--premium .apartment-book svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.apartment-offer__note {
    margin-top: 11px;
    color: #93887d;
    font-size: 7.5px;
    line-height: 1.4;
    text-align: right;
}

/* old global note is not used in premium markup */
.apartment-gallery--premium > .apartment-gallery__note {
    display: none;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1180px) {
    .apartment-gallery--premium {
        padding: 32px 28px;
    }
    .apartment-premium-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .apartment-premium-head__divider {
        display: none;
    }
    .apartment-premium-head > p {
        max-width: 680px;
    }
    .apartment-types--premium {
        width: min(760px, 100%);
        margin-right: 0;
        margin-left: 0;
    }
    .apartment-media--premium {
        grid-template-columns: minmax(0, 1fr) 250px;
    }
    .apartment-main--premium {
        height: clamp(410px, 45vw, 500px);
    }
    .apartment-premium-bottom {
        grid-template-columns: 1fr;
    }
    .apartment-offer__content {
        grid-template-columns: minmax(120px, auto) 1px minmax(140px, auto) minmax(220px, 1fr);
    }
}

/* =========================================================
   PHONE / SMALL TABLET
========================================================= */
@media (max-width: 800px) {
    .apartments.apartments--premium {
        padding: 68px 0 74px;
    }
    .apartment-gallery--premium {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        padding: 24px 14px 18px;
        border-radius: 16px;
    }
    .apartment-premium-head__title h2 {
        font-size: clamp(44px, 13vw, 62px);
        line-height: 0.95;
    }
    .apartment-premium-head > p {
        font-family: "Inter", "Noto Sans SC", sans-serif;
        font-size: 12px;
        line-height: 1.65;
    }
    .apartment-types--premium {
        min-height: 50px;
        margin-top: 28px;
        margin-bottom: 14px;
    }
    .apartment-types--premium .apartment-types__button {
        min-height: 50px;
        padding: 0 5px;
        font-size: 12px;
    }
    .apartment-media--premium {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .apartment-main--premium {
        height: clamp(285px, 78vw, 360px);
    }
    .apartment-thumbs--premium {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 7px;
    }
    .apartment-thumbs--premium .apartment-thumb {
        height: 92px;
    }
    .apartment-main--premium .apartment-main__arrow {
        width: 42px;
        height: 42px;
    }
    .apartment-main--premium .apartment-main__arrow--prev {
        left: 10px;
    }
    .apartment-main--premium .apartment-main__arrow--next {
        right: 10px;
    }
    .apartment-selected {
        margin-top: 14px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .apartment-selected h3 {
        font-size: 27px;
    }
    .apartment-selected__ornament {
        width: 100%;
    }
    .apartment-premium-bottom {
        margin-top: 13px;
        gap: 12px;
    }
    .apartment-features--premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }
    .apartment-features--premium article {
        min-height: 75px;
        padding: 9px 8px;
        grid-template-columns: 38px minmax(0, 1fr);
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .apartment-features--premium article:nth-child(odd) {
        border-right: 1px solid rgba(157, 111, 39, 0.12);
    }
    .apartment-features--premium article:last-child {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0;
    }
    .apartment-features--premium .apartment-feature__icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    .apartment-features--premium .apartment-feature__icon svg {
        width: 25px;
        height: 25px;
    }
    .apartment-offer--premium {
        padding: 17px 14px;
    }
    .apartment-offer__content {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
        gap: 10px;
    }
    .apartment-offer--premium .apartment-rate {
        text-align: left;
    }
    .apartment-offer--premium .apartment-rate strong {
        font-size: 23px;
    }
    .apartment-offer--premium .apartment-book {
        grid-column: 1 / -1;
        min-height: 54px;
        margin-top: 4px;
        font-size: 15px;
    }
    .apartment-offer__note {
        text-align: left;
    }
}

@media (max-width: 430px) {
    .apartment-gallery--premium {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
        padding-right: 10px;
        padding-left: 10px;
    }
    .apartment-types--premium .apartment-types__button {
        font-size: 10px;
    }
    .apartment-main--premium {
        height: 292px;
    }
    .apartment-thumbs--premium .apartment-thumb {
        height: 78px;
    }
    .apartment-features--premium {
        grid-template-columns: 1fr;
    }
    .apartment-features--premium article, .apartment-features--premium article:nth-child(odd) {
        grid-template-columns: 40px minmax(0, 1fr);
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .apartment-features--premium article:last-child {
        border-bottom: 0;
    }
    .apartment-offer__content {
        grid-template-columns: 1fr;
    }
    .apartment-rate-separator {
        display: none;
    }
    .apartment-offer--premium .apartment-rate {
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .apartment-offer--premium .apartment-book {
        grid-column: auto;
    }
}

/* =========================================================
   APARTMENT TYPE TABS — CLEAN REDESIGN
   Less decorative, more modern and comfortable.
========================================================= */
.apartment-types--premium {
    width: min(720px, 100%);
    min-height: 0;
    margin: 36px 0 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.apartment-types--premium .apartment-types__button {
    position: relative;
    min-height: 48px;
    padding: 0 20px;
    overflow: hidden;
    border: 1px solid rgba(90, 75, 58, 0.14);
    border-radius: 10px;
    color: #655d55;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: none;
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18px;
    transform: translateY(0);
    transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.apartment-types--premium .apartment-types__button::before {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 2px;
    border-radius: 99px;
    background: #bd8532;
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.apartment-types--premium .apartment-types__button::after {
    display: none;
}

.apartment-types--premium .apartment-types__button:hover {
    color: #342e28;
    border-color: rgba(173, 119, 42, 0.28);
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 7px 18px rgba(69, 50, 28, 0.06);
    transform: translateY(-1px);
}

.apartment-types--premium .apartment-types__button.active {
    z-index: 1;
    margin: 0;
    color: #2f2923;
    border: 1px solid rgba(181, 125, 42, 0.34);
    border-radius: 10px;
    background: linear-gradient( 180deg, rgba(246, 235, 217, 0.96), rgba(251, 246, 238, 0.96));
    box-shadow: 0 7px 18px rgba(116, 78, 28, 0.07);
    transform: none;
}

.apartment-types--premium .apartment-types__button.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.apartment-types--premium .apartment-types__button.active:hover {
    transform: none;
}

/* Tablet */
@media (max-width: 900px) {
    .apartment-types--premium {
        width: 100%;
        margin-top: 28px;
        gap: 8px;
    }
    .apartment-types--premium .apartment-types__button {
        min-height: 46px;
        padding: 0 10px;
        font-size: 10px;
    }
}

/* Phone */
@media (max-width: 560px) {
    .apartment-types--premium {
        gap: 6px;
        margin-top: 24px;
        margin-bottom: 15px;
    }
    .apartment-types--premium .apartment-types__button {
        min-height: 43px;
        padding: 0 6px;
        border-radius: 8px;
        font-size: 9px;
        letter-spacing: 0;
    }
    .apartment-types--premium .apartment-types__button.active {
        border-radius: 8px;
    }
    .apartment-types--premium .apartment-types__button::before {
        right: 10px;
        left: 10px;
    }
}

/* =========================================================
   MAIN APARTMENT IMAGE — NATURAL PROPORTIONS
   Keep the main image visually balanced and prevent
   excessive vertical/horizontal cropping.
========================================================= */
/* Desktop: stable 16:9 frame instead of arbitrary fixed height. */
.apartment-main--premium {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
}

.apartment-main--premium > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: none;
}

.apartment-main--premium > img.is-changing {
    opacity: 0.35;
    transform: scale(1.004);
}

.apartment-media--premium {
    align-items: stretch;
}

.apartment-thumbs--premium {
    height: 100%;
    min-height: 0;
}

@media (max-width: 1180px) and (min-width: 801px) {
    .apartment-main--premium {
        height: auto !important;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 800px) {
    .apartment-main--premium {
        height: auto !important;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 430px) {
    .apartment-main--premium {
        height: auto !important;
        aspect-ratio: 4 / 3;
    }
}

/* =========================================================
   LANGUAGE SWITCH — CLEAN HEADER VERSION
   Minimal and aligned with the current header design.
========================================================= */
.language {
    position: relative;
}

/*
No badge / no circular 文 icon.
The button now visually behaves like a quiet header control,
not a separate CTA.
*/
.language__toggle {
    min-width: 58px;
    min-height: 40px;
    padding: 0 9px 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #4d453d;
    background: transparent;
    box-shadow: none;
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.45px;
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.language__toggle:hover, .language.open .language__toggle {
    color: var(--gold2);
    border-color: rgba(189, 139, 54, 0.20);
    background: rgba(189, 139, 54, 0.055);
    box-shadow: none;
    transform: none;
}

/*
The text is placed in its own flex box so its visual center
stays identical in RU / KZ / EN / 中文.
*/
#languageCurrent {
    height: 14px;
    display: inline-flex;
    align-items: center;
    line-height: 14px;
    white-space: nowrap;
}

/*
IMPORTANT:
This is a real SVG chevron, not a font glyph.
It has no top/bottom offset and sits on exactly the same
flex line as the language text.
*/
.language__chevron {
    position: static;
    top: auto;
    width: 11px;
    height: 11px;
    min-width: 11px;
    flex: 0 0 11px;
    display: block;
    overflow: visible;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.22s ease;
    pointer-events: none;
}

.language.open .language__chevron {
    transform: rotate(180deg);
}

/* Old symbol is no longer used. */
.language__symbol {
    display: none !important;
}

/* Dropdown is also simplified to match the same quiet visual language. */
.language__menu {
    top: calc(100% + 7px);
    right: 0;
    width: 132px;
    padding: 5px;
    border: 1px solid rgba(157, 111, 39, 0.18);
    border-radius: 6px;
    background: rgba(255, 254, 250, 0.99);
    box-shadow: 0 15px 34px rgba(51, 39, 26, 0.10);
}

.language__menu button {
    height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    color: #544c44;
    background: transparent;
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.18s ease, background 0.18s ease;
}

.language__menu button:hover {
    color: var(--gold2);
    background: rgba(189, 139, 54, 0.07);
}

.language__menu button.active {
    color: var(--gold2);
    background: rgba(189, 139, 54, 0.11);
}

/* Remove the old strong gradient active-state if it exists earlier. */
.language__menu button.active {
    background-image: none;
}

@media (max-width: 1180px) {
    .language__toggle {
        min-width: 54px;
        min-height: 38px;
    }
}

/* =========================================================
   HEADER BRAND — SVG LOGO LOCKUP
========================================================= */
.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: max-content;
    color: var(--ink);
    transition: opacity 0.25s ease;
}

.brand:hover {
    opacity: 0.86;
}

/*
The supplied Arc mark is visually wide.
Keeping it at 49px makes it readable without competing
with THE ARC wordmark.
*/
.brand__logo {
    width: 49px;
    height: auto;
    max-height: 40px;
    flex: 0 0 49px;
    display: block;
    object-fit: contain;
    transform: translateY(-1px);
    transition: transform 0.28s ease;
}

.brand:hover .brand__logo {
    transform: translateY(-2px);
}

.brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand__text strong {
    white-space: nowrap;
    font-size: 27px;
    line-height: 0.96;
    letter-spacing: 1.15px;
}

.brand__text small {
    margin-top: 7px;
    white-space: nowrap;
    font-size: 6px;
    line-height: 1;
    letter-spacing: 5px;
}

/*
Keep enough space for the full lockup, while preserving
the centered desktop navigation.
*/
@media (min-width: 1451px) {
    .header__inner {
        grid-template-columns: 235px minmax(0, 1fr) auto;
    }
}

@media (max-width: 1450px) and (min-width: 1181px) {
    .brand {
        gap: 11px;
    }
    .brand__logo {
        width: 44px;
        max-height: 36px;
        flex-basis: 44px;
    }
    .brand__text strong {
        font-size: 24px;
    }
    .brand__text small {
        margin-top: 6px;
        font-size: 5.5px;
        letter-spacing: 4.4px;
    }
}

@media (max-width: 1180px) {
    .brand {
        gap: 10px;
    }
    .brand__logo {
        width: 43px;
        max-height: 35px;
        flex-basis: 43px;
    }
    .brand__text strong {
        font-size: 23px;
    }
    .brand__text small {
        margin-top: 6px;
        font-size: 5px;
        letter-spacing: 4px;
    }
}

@media (max-width: 700px) {
    .brand {
        gap: 8px;
    }
    .brand__logo {
        width: 37px;
        max-height: 31px;
        flex-basis: 37px;
        transform: none;
    }
    .brand:hover .brand__logo {
        transform: none;
    }
    .brand__text strong {
        font-size: 19px;
        letter-spacing: 0.8px;
    }
    .brand__text small {
        margin-top: 5px;
        font-size: 4.5px;
        letter-spacing: 3.2px;
    }
}

@media (max-width: 390px) {
    .brand {
        gap: 7px;
    }
    .brand__logo {
        width: 33px;
        max-height: 28px;
        flex-basis: 33px;
    }
    .brand__text strong {
        font-size: 17px;
    }
    .brand__text small {
        font-size: 4px;
        letter-spacing: 2.8px;
    }
}

/* =========================================================
   INFRASTRUCTURE — PREMIUM CATALOG + DETAIL DRAWER
========================================================= */
.infrastructure-section {
    position: relative;
    isolation: isolate;
    padding: 108px 0 118px;
    overflow: clip;
    scroll-margin-top: calc(var(--head) + 22px);
    background: radial-gradient(circle at 6% 8%,rgba(189,139,54,.065),transparent 25%), radial-gradient(circle at 96% 92%,rgba(189,139,54,.055),transparent 24%), linear-gradient(180deg,#fffefa 0%,#fffdf9 62%,#fbf6ee 100%);
    border-block: 1px solid rgba(157,111,39,.10);
}

.infrastructure-section::before, .infrastructure-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(189,139,54,.11);
    border-radius: 50%;
    pointer-events: none;
}

.infrastructure-section::before {
    width: 760px;
    height: 760px;
    left: -590px;
    top: -250px;
}

.infrastructure-section::after {
    width: 590px;
    height: 590px;
    right: -430px;
    bottom: -265px;
}

.infrastructure-section__inner {
    position: relative;
    z-index: 1;
}

.infrastructure-head {
    width: min(100%,1040px);
    margin: 0 auto;
    text-align: center;
}

.infrastructure-head .eyebrow {
    justify-content: center;
}

.infrastructure-head .eyebrow::after {
    display: none;
}

.infrastructure-head h2 {
    max-width: 930px;
    margin: 20px auto 0;
    color: var(--ink);
    font: 500 clamp(44px,4.35vw,70px)/1.03 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -1.35px;
}

.infrastructure-head p {
    max-width: 870px;
    margin: 22px auto 0;
    color: #70685f;
    font-size: 13px;
    line-height: 1.8;
}

.infrastructure-toolbar {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(250px,330px);
    align-items: center;
    gap: 22px;
}

.infrastructure-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
}

.infrastructure-filters::-webkit-scrollbar {
    display: none;
}

.infrastructure-filter {
    position: relative;
    flex: 0 0 auto;
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(157,111,39,.13);
    border-radius: 999px;
    color: #4c463f;
    background: rgba(255,255,255,.54);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1px;
    box-shadow: 0 5px 16px rgba(58,44,28,.025);
    transition: transform .25s ease,border-color .25s ease,color .25s ease,background .25s ease,box-shadow .25s ease;
}

.infrastructure-filter b {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #f4eee4;
    color: #8a7762;
    font-size: 8px;
    font-weight: 700;
}

.infrastructure-filter:hover {
    transform: translateY(-1px);
    border-color: rgba(189,139,54,.42);
    color: var(--gold2);
}

.infrastructure-filter.active {
    border-color: rgba(189,139,54,.68);
    color: var(--gold2);
    background: #fffdf9;
    box-shadow: 0 8px 22px rgba(104,76,39,.07);
}

.infrastructure-filter.active::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -3px;
    height: 1px;
    background: linear-gradient(90deg,transparent,var(--gold),transparent);
}

.infrastructure-filter.active b {
    background: rgba(189,139,54,.12);
    color: var(--gold2);
}

.infrastructure-search {
    height: 46px;
    padding: 0 12px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(157,111,39,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.66);
    box-shadow: 0 7px 20px rgba(58,44,28,.03);
    transition: border-color .25s ease,box-shadow .25s ease,background .25s ease;
}

.infrastructure-search:focus-within {
    border-color: rgba(189,139,54,.58);
    background: #fff;
    box-shadow: 0 10px 26px rgba(86,63,35,.07);
}

.infrastructure-search>svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.infrastructure-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #3e3934;
    font: 500 10px/1.2 Inter,"Noto Sans SC",sans-serif;
}

.infrastructure-search input::placeholder {
    color: #aaa097;
}

.infrastructure-search button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    color: #8c8177;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    transition: .2s ease;
}

.infrastructure-search button:hover {
    color: #fff;
    background: var(--gold);
}

.infrastructure-results-meta {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #958b81;
    font-size: 8.5px;
    letter-spacing: .22px;
}

.infrastructure-results-meta>span:first-child {
    color: var(--gold2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.infrastructure-grid {
    --infra-cols: 5;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(var(--infra-cols),minmax(0,1fr));
    gap: 14px;
}

.infrastructure-card {
    --delay: 0ms;
    position: relative;
    min-width: 0;
    min-height: 210px;
    padding: 22px 17px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.13);
    border-radius: 12px;
    color: inherit;
    background: linear-gradient(150deg,rgba(255,255,255,.91),rgba(252,247,240,.92));
    box-shadow: 0 10px 28px rgba(58,44,28,.045);
    text-align: center;
    transform: translateY(0);
    transition: transform .32s cubic-bezier(.2,.8,.2,1),border-color .32s ease,box-shadow .32s ease,background .32s ease;
}

.infrastructure-card::before {
    content: "";
    position: absolute;
    inset: auto 20px 0;
    height: 2px;
    opacity: 0;
    transform: scaleX(.3);
    background: linear-gradient(90deg,transparent,var(--gold),transparent);
    transition: opacity .3s ease,transform .3s ease;
}

.infrastructure-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -85px;
    top: -82px;
    border-radius: 50%;
    border: 1px solid rgba(189,139,54,.10);
    transition: transform .45s ease,border-color .3s ease;
}

.infrastructure-card.is-entering {
    animation: infraCardIn .46s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: var(--delay);
}

@keyframes infraCardIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.infrastructure-card:hover,.infrastructure-card.active {
    transform: translateY(-5px);
    border-color: rgba(189,139,54,.48);
    background: linear-gradient(150deg,#fff,#fbf5eb);
    box-shadow: 0 19px 42px rgba(73,52,27,.09);
}

.infrastructure-card:hover::after,.infrastructure-card.active::after {
    transform: translate(-10px,10px) scale(1.08);
    border-color: rgba(189,139,54,.18);
}

.infrastructure-card:hover::before,.infrastructure-card.active::before {
    opacity: 1;
    transform: scaleX(1);
}

.infrastructure-card:focus-visible {
    outline: 2px solid rgba(189,139,54,.55);
    outline-offset: 3px;
}

.infrastructure-card__logo-shell {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    padding: 7px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.22);
    border-radius: 50%;
    background: #fbf7ef;
    box-shadow: 0 8px 22px rgba(65,48,29,.06),inset 0 0 0 1px rgba(255,255,255,.8);
    transition: transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease;
}

.infrastructure-card:hover .infrastructure-card__logo-shell,.infrastructure-card.active .infrastructure-card__logo-shell {
    transform: translateY(-2px) scale(1.035);
    border-color: rgba(189,139,54,.42);
    box-shadow: 0 12px 27px rgba(65,48,29,.10),inset 0 0 0 1px #fff;
}

.infrastructure-card__logo {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #fbf7ef;
}

.infrastructure-card__logo img {
    display: block;
    width: 88%;
    height: 88%;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.infrastructure-card:hover .infrastructure-card__logo img {
    transform: scale(1.035);
}

.infrastructure-card__name {
    width: 100%;
    min-height: 42px;
    margin-top: 15px;
    display: grid;
    place-items: center;
    color: var(--ink);
    font: 600 15px/1.18 "Playfair Display","Noto Serif SC",serif;
}

.infrastructure-card__category {
    margin-top: 7px;
    color: var(--gold2);
    font: 500 10.5px/1.3 "Playfair Display","Noto Serif SC",serif;
}

.infrastructure-card__more {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translate(5px,-5px);
    border: 1px solid rgba(189,139,54,.24);
    border-radius: 50%;
    color: var(--gold2);
    background: rgba(255,255,255,.88);
    transition: .28s ease;
}

.infrastructure-card__more svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infrastructure-card:hover .infrastructure-card__more,.infrastructure-card.active .infrastructure-card__more {
    opacity: 1;
    transform: none;
}

.infrastructure-empty {
    margin-top: 28px;
    padding: 52px 20px;
    text-align: center;
    border: 1px dashed rgba(157,111,39,.20);
    border-radius: 12px;
    color: #867b71;
    background: rgba(255,255,255,.35);
}

.infrastructure-empty>span {
    display: block;
    color: var(--gold);
    font-size: 24px;
}

.infrastructure-empty strong {
    display: block;
    margin-top: 10px;
    color: #423c36;
    font: 500 23px/1.2 "Playfair Display",serif;
}

.infrastructure-empty p {
    margin-top: 7px;
    font-size: 10px;
}

.infrastructure-more {
    min-width: 205px;
    height: 46px;
    margin: 26px auto 0;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid rgba(189,139,54,.42);
    border-radius: 999px;
    color: var(--gold2);
    background: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: .26s ease;
}

.infrastructure-more:hover {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 10px 26px rgba(157,111,39,.18);
}

.infrastructure-more svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .28s ease;
}

.infrastructure-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.infrastructure-more[hidden] {
    display: none;
}

/* Drawer */
.infrastructure-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(28,23,18,.28);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .32s ease;
}

.infrastructure-drawer-backdrop.active {
    opacity: 1;
}

.infrastructure-drawer {
    position: fixed;
    z-index: 1300;
    top: calc(var(--top) + var(--head) + 12px);
    right: 14px;
    bottom: 14px;
    width: min(560px,calc(100vw - 28px));
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(189,139,54,.28);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: -24px 0 70px rgba(35,27,18,.16);
    transform: translate3d(calc(100% + 40px),0,0);
    visibility: hidden;
    transition: transform .42s cubic-bezier(.22,1,.36,1),visibility 0s linear .42s;
}

.infrastructure-drawer.active {
    visibility: visible;
    transform: translate3d(0,0,0);
    transition-delay: 0s;
}

.infrastructure-drawer__scroll {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(189,139,54,.35) transparent;
}

.infrastructure-drawer__close {
    position: absolute;
    z-index: 8;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.27);
    border-radius: 50%;
    color: #4b423a;
    background: rgba(255,253,249,.94);
    box-shadow: 0 8px 20px rgba(51,39,27,.08);
    transition: .25s ease;
}

.infrastructure-drawer__close:hover {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
    transform: rotate(4deg);
}

.infrastructure-drawer__close svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.infrastructure-drawer__hero {
    padding: 12px 12px 0;
}

.infrastructure-drawer__hero-button {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #e8ded0;
}

.infrastructure-drawer__hero-button>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2,.8,.2,1),opacity .25s ease;
}

.infrastructure-drawer__hero-button>img.is-logo-fallback {
    object-fit: contain;
    padding: 55px;
    background: #f7f0e7;
    mix-blend-mode: multiply;
}

.infrastructure-drawer__hero-button:hover>img:not(.is-logo-fallback) {
    transform: scale(1.025);
}

.infrastructure-drawer__photo-index {
    position: absolute;
    left: 15px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(33,28,24,.68);
    backdrop-filter: blur(7px);
    font-size: 8px;
    letter-spacing: 1px;
}

.infrastructure-drawer__zoom {
    position: absolute;
    right: 14px;
    bottom: 13px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(33,28,24,.68);
    backdrop-filter: blur(7px);
}

.infrastructure-drawer__zoom svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
}

.infrastructure-drawer__body {
    padding: 24px 27px 30px;
}

.infrastructure-drawer__identity {
    display: grid;
    grid-template-columns: 94px minmax(0,1fr);
    align-items: center;
    gap: 18px;
}

.infrastructure-drawer__logo {
    width: 94px;
    height: 94px;
    padding: 7px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.24);
    border-radius: 50%;
    background: #fbf7ef;
    box-shadow: 0 8px 20px rgba(65,48,29,.06);
}

.infrastructure-drawer__logo img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.infrastructure-drawer__category {
    display: block;
    color: var(--gold2);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.infrastructure-drawer__identity h3 {
    margin-top: 7px;
    color: var(--ink);
    font: 500 clamp(28px,2.15vw,37px)/1.02 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.45px;
}

.infrastructure-drawer__description {
    margin-top: 20px;
    color: #675f57;
    font-size: 11px;
    line-height: 1.78;
}

.infrastructure-drawer__socials {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(145px,1fr));
    gap: 9px;
}

.infrastructure-social {
    min-width: 0;
    height: 44px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.17);
    border-radius: 999px;
    color: #685f56;
    background: linear-gradient(180deg,rgba(255,255,255,.94),rgba(252,248,241,.96));
    box-shadow: 0 7px 18px rgba(83,59,31,.035);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12px;
    white-space: nowrap;
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease,background .22s ease;
}

.infrastructure-social:hover {
    transform: translateY(-2px);
    color: var(--gold2);
    border-color: rgba(189,139,54,.48);
    background: #fffdfa;
    box-shadow: 0 11px 24px rgba(83,59,31,.07);
}

.infrastructure-social:focus-visible {
    outline: 2px solid rgba(189,139,54,.55);
    outline-offset: 2px;
}

.infrastructure-social__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold2);
    background: rgba(189,139,54,.075);
}

.infrastructure-social__icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infrastructure-social__arrow {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-left: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .62;
    transition: transform .22s ease,opacity .22s ease;
}

.infrastructure-social:hover .infrastructure-social__arrow {
    transform: translate(1px,-1px);
    opacity: 1;
}

.infrastructure-social--instagram .infrastructure-social__icon {
    color: #9e6136;
}

@media(max-width:1320px) {
    .infrastructure-drawer__socials {
        grid-template-columns: 1fr 1fr;
    }
    .infrastructure-social--instagram {
        grid-column: 1/-1;
    }
}

@media(max-width:760px) {
    .infrastructure-drawer__socials {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .infrastructure-social--instagram {
        grid-column: auto;
    }
    .infrastructure-social {
        height: 46px;
        font-size: 8.5px;
    }
}

.infrastructure-drawer__features,.infrastructure-drawer__gallery {
    margin-top: 27px;
}

.infrastructure-drawer__section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gold2);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.infrastructure-drawer__section-head i {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg,rgba(189,139,54,.35),transparent);
}

.infrastructure-drawer__feature-list {
    margin-top: 10px;
    border-top: 1px solid rgba(157,111,39,.10);
}

.infrastructure-drawer__feature {
    min-height: 64px;
    padding: 11px 0;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid rgba(157,111,39,.10);
}

.infrastructure-drawer__feature-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.17);
    border-radius: 50%;
    color: var(--gold);
    background: #fcf8f1;
    transition: .25s ease;
}

.infrastructure-drawer__feature:hover .infrastructure-drawer__feature-icon {
    transform: translateY(-2px);
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.infrastructure-drawer__feature-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infrastructure-drawer__feature strong {
    display: block;
    color: #4a433d;
    font: 500 10.5px/1.3 "Playfair Display","Noto Serif SC",serif;
}

.infrastructure-drawer__feature p {
    margin-top: 3px;
    color: #8a8178;
    font-size: 7.8px;
    line-height: 1.45;
}

.infrastructure-drawer__thumbs {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
}

.infrastructure-drawer__thumb {
    position: relative;
    height: 108px;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.13);
    border-radius: 8px;
    background: #eee3d5;
    transition: .24s ease;
}

.infrastructure-drawer__thumb:hover,.infrastructure-drawer__thumb.active {
    border-color: rgba(189,139,54,.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58,44,28,.07);
}

.infrastructure-drawer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infrastructure-drawer__thumb img.is-logo-fallback {
    object-fit: contain;
    padding: 18px;
    background: #f7f0e7;
    mix-blend-mode: multiply;
}

.infrastructure-drawer__thumb span {
    position: absolute;
    left: 8px;
    bottom: 7px;
    padding: 5px 7px;
    border-radius: 999px;
    color: #fff;
    background: rgba(32,27,23,.62);
    font-size: 6.5px;
    letter-spacing: .6px;
}

.infrastructure-drawer__actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.infrastructure-drawer__external,.infrastructure-drawer__back {
    min-height: 45px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(189,139,54,.35);
    border-radius: 7px;
    color: var(--gold2);
    background: #fffdfa;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .45px;
    text-transform: uppercase;
    transition: .25s ease;
}

.infrastructure-drawer__external:hover,.infrastructure-drawer__back:hover {
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
}

.infrastructure-drawer__external svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infrastructure-drawer__back>span:last-child {
    font-size: 15px;
    transition: transform .22s ease;
}

.infrastructure-drawer__back:hover>span:last-child {
    transform: translateX(-3px);
}

.infrastructure-drawer__external[hidden] {
    display: none;
}

.infrastructure-drawer__external[hidden]+.infrastructure-drawer__back {
    grid-column: 1/-1;
}

body.infra-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

/* Lightbox */
.infrastructure-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1002;
    padding: 38px;
    display: grid;
    place-items: center;
    background: rgba(20,17,14,.86);
    opacity: 0;
    visibility: hidden;
    transition: .28s ease;
}

.infrastructure-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.infrastructure-lightbox img {
    max-width: min(1100px,92vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
}

.infrastructure-lightbox button {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.06);
    font-size: 25px;
    transition: .2s ease;
}

.infrastructure-lightbox button:hover {
    background: #fff;
    color: #2f2924;
}

@media(max-width:1500px) {
    .infrastructure-grid {
        --infra-cols: 4;
    }
}

@media(max-width:1180px) {
    .infrastructure-section {
        padding: 88px 0 96px;
    }
    .infrastructure-toolbar {
        grid-template-columns: 1fr;
    }
    .infrastructure-search {
        width: min(100%,420px);
    }
    .infrastructure-grid {
        --infra-cols: 3;
    }
}

@media(max-width:760px) {
    .infrastructure-section {
        padding: 72px 0 78px;
    }
    .infrastructure-head h2 {
        font-size: 39px;
        letter-spacing: -.8px;
    }
    .infrastructure-head p {
        margin-top: 17px;
        font-size: 11px;
        line-height: 1.72;
    }
    .infrastructure-toolbar {
        margin-top: 34px;
        gap: 14px;
    }
    .infrastructure-filters {
        margin-inline: calc(var(--pad) * -1);
        padding-inline: var(--pad);
    }
    .infrastructure-filter {
        height: 39px;
        padding: 0 13px;
        font-size: 9px;
    }
    .infrastructure-search {
        width: 100%;
    }
    .infrastructure-results-meta {
        align-items: flex-start;
    }
    .infrastructure-results-meta__hint {
        display: none;
    }
    .infrastructure-grid {
        --infra-cols: 2;
        gap: 9px;
        margin-top: 18px;
    }
    .infrastructure-card {
        min-height: 184px;
        padding: 17px 10px 15px;
        border-radius: 10px;
    }
    .infrastructure-card__logo-shell {
        width: 86px;
        height: 86px;
        flex-basis: 86px;
        padding: 6px;
    }
    .infrastructure-card__name {
        min-height: 38px;
        margin-top: 12px;
        font-size: 13px;
    }
    .infrastructure-card__category {
        font-size: 9.5px;
    }
    .infrastructure-card__more {
        opacity: 1;
        transform: none;
        width: 26px;
        height: 26px;
        top: 9px;
        right: 9px;
    }
    .infrastructure-more {
        width: 100%;
        max-width: 280px;
    }
    .infrastructure-drawer {
        top: calc(var(--head) + 8px);
        right: 8px;
        bottom: 8px;
        left: 8px;
        width: auto;
        height: auto;
        max-height: none;
        min-height: 0;
        border-radius: 16px 16px 12px 12px;
        transform: translate3d(0,calc(100% + 28px),0);
    }
    .infrastructure-drawer.active {
        transform: translate3d(0,0,0);
    }
    .infrastructure-drawer__scroll {
        height: auto;
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto!important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    .infrastructure-drawer__hero-button {
        height: 240px;
    }
    .infrastructure-drawer__body {
        padding: 21px 18px 25px;
    }
    .infrastructure-drawer__identity {
        grid-template-columns: 78px minmax(0,1fr);
        gap: 14px;
    }
    .infrastructure-drawer__logo {
        width: 78px;
        height: 78px;
        padding: 6px;
    }
    .infrastructure-drawer__identity h3 {
        font-size: 27px;
    }
    .infrastructure-drawer__description {
        font-size: 10.5px;
    }
    .infrastructure-drawer__actions {
        grid-template-columns: 1fr;
    }
    .infrastructure-drawer__external[hidden]+.infrastructure-drawer__back {
        grid-column: auto;
    }
    .infrastructure-lightbox {
        padding: 18px;
    }
}

@media(max-width:430px) {
    .infrastructure-head h2 {
        font-size: 34px;
    }
    .infrastructure-card {
        min-height: 176px;
    }
    .infrastructure-card__logo-shell {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }
    .infrastructure-card__name {
        font-size: 12.5px;
    }
    .infrastructure-drawer__hero-button {
        height: 210px;
    }
    .infrastructure-drawer__thumb {
        height: 92px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .infrastructure-card,.infrastructure-card *,.infrastructure-drawer,.infrastructure-drawer-backdrop,.infrastructure-lightbox {
        animation: none!important;
        transition: none!important;
    }
}

html[lang="zh-CN"] .infrastructure-head h2, html[lang="zh-CN"] .infrastructure-card__name, html[lang="zh-CN"] .infrastructure-card__category, html[lang="zh-CN"] .infrastructure-drawer__identity h3, html[lang="zh-CN"] .infrastructure-drawer__feature strong {
    font-family: "Noto Serif SC","Playfair Display",serif;
}

.infrastructure-social[hidden] {
    display: none!important;
}

@media(max-width:1180px) and (min-width:761px) {
    .infrastructure-drawer {
        top: calc(var(--head) + 10px);
        bottom: 10px;
    }
}

/* =========================================================
   FOOTER SOCIAL LINKS + BOOKING FORM FINAL POLISH
========================================================= */
.footer__grid {
    grid-template-columns: minmax(190px, .72fr) minmax(420px, 1.32fr) minmax(230px, .76fr) minmax(190px, .55fr);
    align-items: start;
    gap: 34px;
}

.footer__socials {
    min-width: 0;
}

.footer__socials > small {
    display: block;
    color: #887e73;
    font-size: 10px;
}

.footer-socials__links {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.footer-social {
    min-height: 52px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(157,111,39,.17);
    border-radius: 10px;
    background: rgba(255,254,250,.56);
    color: #4e463f;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    border-color: rgba(189,139,54,.48);
    background: rgba(255,254,250,.96);
    box-shadow: 0 10px 24px rgba(61,46,29,.07);
}

.footer-social__icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.26);
    border-radius: 50%;
    color: #ad7628;
    background: #fffaf2;
}

.footer-social__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social__icon--booking {
    font: 600 14px/1 Inter, sans-serif;
}

.footer-social > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.footer-social b {
    font-size: 9px;
    font-weight: 600;
}

.footer-social em {
    overflow: hidden;
    color: #8e8378;
    font-size: 7.5px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-social > i {
    color: #b47a29;
    font-size: 13px;
    font-style: normal;
    transition: transform .25s ease;
}

.footer-social:hover > i {
    transform: translate(2px,-2px);
}

.booking-control--guests select {
    width: 100%;
}

.booking-modal--premium .submit-booking:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
    filter: grayscale(.08);
}

@media (max-width: 1380px) {
    .footer__grid {
        grid-template-columns: 1fr 1.4fr 1fr;
    }
    .footer__langs {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__langs {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .footer-socials__links {
        grid-template-columns: 1fr;
    }
    .footer__langs {
        grid-column: auto;
    }
}

/* =========================================================
   ABOUT — EDITORIAL STORY V1
   Asymmetric architecture-led layout + calm background details.
========================================================= */
body {
    background-color: #fffdf9;
    background-image: radial-gradient(circle at 8% 12%, rgba(189, 139, 54, 0.035), transparent 24rem), radial-gradient(circle at 92% 42%, rgba(157, 111, 39, 0.025), transparent 30rem), linear-gradient(180deg, #fffefa 0%, #fcf8f2 48%, #fffefa 100%);
}

.about.about--story {
    position: relative;
    isolation: isolate;
    padding: clamp(92px, 7.5vw, 132px) 0 clamp(82px, 6.5vw, 116px);
    overflow: clip;
    background: radial-gradient(circle at 84% 20%, rgba(189, 139, 54, 0.085), transparent 27%), radial-gradient(circle at 7% 88%, rgba(189, 139, 54, 0.048), transparent 24%), linear-gradient(112deg, #fffefa 0%, #fcf8f1 54%, #fffdf9 100%);
    border-bottom: 1px solid rgba(157, 111, 39, 0.11);
}

.about.about--story::before {
    content: "THE ARC";
    position: absolute;
    z-index: -1;
    right: -0.04em;
    bottom: -0.19em;
    color: rgba(84, 65, 41, 0.026);
    font: 500 clamp(150px, 17vw, 330px) / 0.82 "Playfair Display", serif;
    letter-spacing: -0.065em;
    white-space: nowrap;
    pointer-events: none;
}

.about-story__arc {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(189, 139, 54, 0.12);
}

.about-story__arc--left {
    width: 420px;
    height: 560px;
    left: -315px;
    top: 18%;
    border-radius: 210px 210px 0 0;
    box-shadow: 0 0 0 34px rgba(189, 139, 54, 0.018), 0 0 0 68px rgba(189, 139, 54, 0.012);
}

.about-story__arc--right {
    width: 310px;
    height: 410px;
    right: -220px;
    top: 7%;
    border-radius: 155px 155px 0 0;
    transform: rotate(7deg);
}

.about-story__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(310px, 0.72fr) minmax(620px, 1.28fr);
    gap: clamp(54px, 6.5vw, 118px);
    align-items: center;
}

.about-story__copy {
    position: relative;
    max-width: 550px;
    padding-left: clamp(0px, 1vw, 16px);
}

.about-story__copy::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 4px;
    bottom: 7px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(189, 139, 54, 0.46) 16%, rgba(189, 139, 54, 0.16) 78%, transparent);
}

.about-story__copy h2 {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    color: #211d19;
    font: 500 clamp(52px, 5vw, 82px) / 0.88 "Playfair Display", serif;
    letter-spacing: -0.045em;
}

.about-story__copy h2 span:last-child {
    margin-left: clamp(18px, 2.3vw, 42px);
    color: #3a3027;
}

.about-story__phrase {
    margin-top: 26px;
    color: var(--gold2);
    font: 500 12px / 1.5 Inter, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-story__copy .ornament {
    margin-top: 22px;
    width: min(100%, 240px);
}

.about-story__text {
    max-width: 520px;
    margin-top: 25px;
    color: #615950;
    font-size: 14px;
    line-height: 1.92;
}

.about-story__link {
    width: max-content;
    margin-top: 27px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(157, 111, 39, 0.42);
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-story__link b {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.about-story__link:hover b {
    transform: translateX(7px);
}

.about-story__address {
    margin-top: clamp(44px, 4vw, 62px);
    display: flex;
    align-items: center;
    gap: 17px;
}

.about-story__address img {
    width: 38px;
    height: 31px;
    object-fit: contain;
    opacity: 0.72;
}

.about-story__address span {
    display: grid;
    gap: 4px;
}

.about-story__address small {
    color: #8c8176;
    font-size: 8px;
    letter-spacing: 0.2em;
}

.about-story__address strong {
    color: #3b332b;
    font: 500 16px / 1.2 "Playfair Display", serif;
}

.about-story__visuals {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(245px, 0.65fr);
    gap: 18px;
    align-items: stretch;
}

.about-story__visual-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    min-width: 0;
}

.about-story__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #e9e0d4;
    border: 1px solid rgba(157, 111, 39, 0.24);
    box-shadow: 0 22px 55px rgba(61, 45, 29, 0.12);
}

.about-story__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgba(24, 19, 14, 0.60));
    pointer-events: none;
}

.about-story__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.about-story__visual:hover img {
    transform: scale(1.025);
}

.about-story__visual--main {
    min-height: clamp(520px, 41vw, 670px);
    border-radius: 235px 235px 8px 8px;
}

.about-story__visual--main img {
    object-position: 54% center;
}

.about-story__visual--small {
    min-height: 0;
    border-radius: 7px;
}

.about-story__visual--small:first-child img {
    object-position: center 58%;
}

.about-story__visual--small:last-child img {
    object-position: center;
}

.about-story__visual figcaption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.about-story__visual figcaption small {
    color: #e7c98d;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.about-story__visual figcaption small::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin-left: 9px;
    vertical-align: middle;
    background: rgba(231, 201, 141, 0.82);
}

.about-story__visual figcaption span {
    font: 500 clamp(15px, 1.25vw, 20px) / 1.25 "Playfair Display", serif;
}

.about-story__monogram {
    position: absolute;
    z-index: 5;
    left: calc(67.5% - 42px);
    top: 50%;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border: 7px solid rgba(255, 254, 250, 0.88);
    border-radius: 50%;
    background: linear-gradient(135deg, #d0a14e, #a87427);
    box-shadow: 0 14px 32px rgba(49, 35, 21, 0.20);
    color: white;
    font: 500 23px "Playfair Display", serif;
    letter-spacing: 0.04em;
    transform: translate(-50%, -50%);
}

.about-story__values {
    grid-column: 1 / -1;
    margin-top: clamp(8px, 1vw, 18px);
    padding-top: 31px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(157, 111, 39, 0.18);
}

.about-story__values article {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(18px, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 0 24px;
    border-right: 1px solid rgba(157, 111, 39, 0.14);
}

.about-story__values article:first-child {
    padding-left: 0;
}

.about-story__values article:last-child {
    padding-right: 0;
    border-right: 0;
}

.about-story__values span {
    color: var(--gold2);
    font: 500 15px "Playfair Display", serif;
}

.about-story__values i {
    height: 1px;
    background: linear-gradient(90deg, rgba(189, 139, 54, 0.55), rgba(189, 139, 54, 0.08));
}

.about-story__values strong {
    color: #50473f;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.065em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Calm page texture: visible only in empty zones, never over photos. */
.gallery {
    position: relative;
    overflow: clip;
    background: radial-gradient(circle at 91% 18%, rgba(189, 139, 54, 0.055), transparent 24%), radial-gradient(circle at 8% 88%, rgba(189, 139, 54, 0.035), transparent 22%), linear-gradient(180deg, #fffefa 0%, #fcf8f2 100%);
    border-top: 1px solid rgba(157, 111, 39, 0.08);
}

.gallery::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -310px;
    top: -235px;
    border: 1px solid rgba(189, 139, 54, 0.09);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(189, 139, 54, 0.012);
    pointer-events: none;
}

@media (max-width: 1280px) {
    .about-story__layout {
        grid-template-columns: minmax(280px, 0.68fr) minmax(560px, 1.32fr);
        gap: 54px;
    }
    .about-story__visuals {
        grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
    }
    .about-story__visual--main {
        min-height: 570px;
        border-radius: 190px 190px 8px 8px;
    }
    .about-story__values strong {
        white-space: normal;
    }
}

@media (max-width: 1050px) {
    .about.about--story {
        padding: 82px 0 86px;
    }
    .about-story__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-story__copy {
        max-width: 760px;
        padding-left: 0;
    }
    .about-story__copy::before {
        display: none;
    }
    .about-story__copy h2 {
        max-width: 620px;
    }
    .about-story__text {
        max-width: 720px;
    }
    .about-story__address {
        margin-top: 34px;
    }
    .about-story__visuals {
        width: min(100%, 920px);
        grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    }
    .about-story__visual--main {
        min-height: 610px;
    }
    .about-story__values {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }
    .about-story__values article:nth-child(2) {
        border-right: 0;
        padding-right: 0;
    }
    .about-story__values article:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 720px) {
    .about.about--story {
        padding: 66px 0 70px;
    }
    .about.about--story::before {
        font-size: 145px;
        bottom: -0.06em;
    }
    .about-story__layout {
        gap: 38px;
    }
    .about-story__copy h2 {
        margin-top: 16px;
        font-size: clamp(45px, 14vw, 62px);
    }
    .about-story__copy h2 span:last-child {
        margin-left: 18px;
    }
    .about-story__phrase {
        margin-top: 21px;
        max-width: 290px;
        font-size: 9px;
        line-height: 1.65;
    }
    .about-story__text {
        font-size: 13px;
        line-height: 1.82;
    }
    .about-story__address {
        margin-top: 31px;
    }
    .about-story__visuals {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-story__visual--main {
        min-height: 470px;
        border-radius: 145px 145px 6px 6px;
    }
    .about-story__visual-stack {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 12px;
    }
    .about-story__visual--small {
        height: 220px;
    }
    .about-story__visual figcaption {
        left: 15px;
        right: 15px;
        bottom: 14px;
        align-items: flex-start;
        gap: 7px;
        flex-direction: column;
    }
    .about-story__visual figcaption small::after {
        width: 16px;
    }
    .about-story__visual figcaption span {
        font-size: 14px;
    }
    .about-story__monogram {
        left: auto;
        right: 18px;
        top: 448px;
        width: 70px;
        height: 70px;
        border-width: 6px;
        font-size: 19px;
        transform: none;
    }
    .about-story__values {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding-top: 24px;
        row-gap: 0;
    }
    .about-story__values article, .about-story__values article:first-child, .about-story__values article:nth-child(2), .about-story__values article:nth-child(3), .about-story__values article:last-child {
        min-height: 52px;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .about-story__values article:last-child {
        border-bottom: 0;
    }
    .about-story__values strong {
        font-size: 8px;
        white-space: normal;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .about-story__visual--main {
        min-height: 420px;
        border-radius: 120px 120px 5px 5px;
    }
    .about-story__visual--small {
        height: 175px;
    }
    .about-story__monogram {
        top: 402px;
        right: 12px;
        width: 62px;
        height: 62px;
    }
}

/* =========================================================
   GLOBAL SECTION BACKGROUND DETAILS + ABOUT REDESIGN V2
   Unified calm texture across the whole site.
========================================================= */
body {
    background-color: #fffdf9;
    background-image: radial-gradient(circle at 10% 10%, rgba(189, 139, 54, 0.032), transparent 25rem), radial-gradient(circle at 92% 40%, rgba(189, 139, 54, 0.024), transparent 28rem), linear-gradient(180deg, #fffefa 0%, #fcf8f2 52%, #fffefa 100%);
}

.about.about--story, .apartments, .infrastructure-section, .location-section, .gallery, .footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.about.about--story > .container, .apartments > .container, .infrastructure-section > .container, .location-section > .container, .gallery > .container, .footer > .container {
    position: relative;
    z-index: 2;
}

.about.about--story, .apartments, .infrastructure-section, .location-section, .gallery, .footer {
    background-image: radial-gradient(circle at var(--glow-x, 88%) var(--glow-y, 12%), rgba(189, 139, 54, 0.06), transparent 24%), radial-gradient(circle at var(--glow2-x, 12%) var(--glow2-y, 82%), rgba(189, 139, 54, 0.035), transparent 21%), linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(250, 245, 236, 0.84));
}

.about.about--story::after, .apartments::after, .infrastructure-section::after, .location-section::after, .gallery::after, .footer::after {
    content: "";
    position: absolute;
    width: clamp(280px, 30vw, 520px);
    height: clamp(280px, 30vw, 520px);
    border: 1px solid rgba(189, 139, 54, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(189, 139, 54, 0.012), 0 0 0 68px rgba(189, 139, 54, 0.008);
    pointer-events: none;
    z-index: 0;
}

.about.about--story {
    --glow-x: 88%;
    --glow-y: 14%;
    --glow2-x: 9%;
    --glow2-y: 88%;
    padding: clamp(96px, 8vw, 136px) 0 clamp(86px, 7vw, 120px);
    border-bottom: 1px solid rgba(157, 111, 39, 0.11);
}

.about.about--story::before {
    content: "THE ARC";
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 0;
    transform: translateX(-50%);
    color: rgba(84, 65, 41, 0.03);
    font: 500 clamp(128px, 15vw, 260px) / 0.84 "Playfair Display", serif;
    letter-spacing: 0.16em;
    white-space: nowrap;
    pointer-events: none;
}

.about.about--story::after {
    right: -240px;
    top: -140px;
}

.apartments {
    --glow-x: 12%;
    --glow-y: 12%;
    --glow2-x: 88%;
    --glow2-y: 85%;
}

.apartments::after {
    left: -260px;
    bottom: -210px;
}

.infrastructure-section {
    --glow-x: 86%;
    --glow-y: 16%;
    --glow2-x: 14%;
    --glow2-y: 86%;
}

.infrastructure-section::after {
    right: -250px;
    bottom: -200px;
}

.location-section {
    --glow-x: 14%;
    --glow-y: 18%;
    --glow2-x: 92%;
    --glow2-y: 74%;
}

.location-section::after {
    left: -270px;
    top: -180px;
}

.gallery {
    --glow-x: 92%;
    --glow-y: 14%;
    --glow2-x: 8%;
    --glow2-y: 86%;
    border-top: 1px solid rgba(157, 111, 39, 0.08);
}

.gallery::after {
    right: -280px;
    top: -190px;
}

.footer {
    --glow-x: 12%;
    --glow-y: 10%;
    --glow2-x: 88%;
    --glow2-y: 82%;
}

.footer::after {
    left: -280px;
    bottom: -180px;
}

.about-story__layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.76fr) minmax(600px, 1.24fr);
    gap: clamp(52px, 6vw, 108px);
    align-items: start;
}

.about-story__copy {
    position: relative;
    max-width: 560px;
    padding-top: 8px;
}

.about-story__copy::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 4px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(189, 139, 54, 0.42) 18%, rgba(189, 139, 54, 0.12) 80%, transparent);
}

.about-story__copy h2 {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    color: #211d19;
    font: 500 clamp(56px, 5.25vw, 86px) / 0.89 "Playfair Display", serif;
    letter-spacing: -0.05em;
}

.about-story__copy h2 span:last-child {
    margin-left: clamp(20px, 2.2vw, 44px);
    color: #3a3027;
}

.about-story__lead {
    max-width: 510px;
    margin-top: 26px;
    color: #332d27;
    font: 500 clamp(19px, 1.55vw, 24px) / 1.52 "Playfair Display", serif;
}

.about-story__copy .ornament {
    margin-top: 24px;
    width: min(100%, 240px);
}

.about-story__text {
    max-width: 520px;
    margin-top: 24px;
    color: #63594f;
    font-size: 14px;
    line-height: 1.92;
}

.about-story__points {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.about-story__points article {
    padding: 18px 18px 16px;
    background: rgba(255, 252, 246, 0.92);
    border: 1px solid rgba(157, 111, 39, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(55, 41, 26, 0.06);
}

.about-story__points small {
    display: inline-block;
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-story__points strong {
    display: block;
    margin-top: 8px;
    color: #2d261f;
    font: 500 18px / 1.28 "Playfair Display", serif;
}

.about-story__points p {
    margin-top: 8px;
    color: #72685f;
    font-size: 13px;
    line-height: 1.72;
}

.about-story__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    align-items: center;
}

.about-story__link {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(157, 111, 39, 0.28);
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.92);
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-story__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(57, 43, 27, 0.08);
    border-color: rgba(157, 111, 39, 0.42);
}

.about-story__link b {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.about-story__link:hover b {
    transform: translateX(5px);
}

.about-story__address {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-story__address img {
    width: 40px;
    height: 33px;
    object-fit: contain;
    opacity: 0.72;
}

.about-story__address span {
    display: grid;
    gap: 4px;
}

.about-story__address small {
    color: #8d8377;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.about-story__address strong {
    color: #3a322a;
    font: 500 16px / 1.2 "Playfair Display", serif;
}

.about-story__visuals {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: stretch;
}

.about-story__visual-grid {
    display: grid;
    grid-template-columns: 1.28fr 0.92fr;
    grid-template-rows: minmax(270px, 330px) minmax(250px, 310px);
    gap: 18px;
    min-width: 0;
}

.about-story__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #e9e0d4;
    border: 1px solid rgba(157, 111, 39, 0.24);
    box-shadow: 0 24px 55px rgba(61, 45, 29, 0.12);
}

.about-story__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 54%, rgba(24, 19, 14, 0.62));
    pointer-events: none;
}

.about-story__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(.22, 1, .36, 1);
}

.about-story__visual:hover img {
    transform: scale(1.03);
}

.about-story__visual--main {
    grid-row: 1 / span 2;
    min-height: clamp(560px, 44vw, 670px);
    border-radius: 240px 240px 10px 10px;
}

.about-story__visual--main img {
    object-position: 54% center;
}

.about-story__visual--small {
    min-height: 0;
    border-radius: 20px;
}

.about-story__visual--small:first-child img {
    object-position: center 58%;
}

.about-story__visual figcaption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.about-story__visual figcaption small {
    color: #e7c98d;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.about-story__visual figcaption small::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    margin-left: 9px;
    vertical-align: middle;
    background: rgba(231, 201, 141, 0.82);
}

.about-story__visual figcaption span {
    font: 500 clamp(15px, 1.2vw, 20px) / 1.25 "Playfair Display", serif;
}

.about-story__panel {
    align-self: end;
    padding: 28px 24px 24px;
    border: 1px solid rgba(157, 111, 39, 0.16);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(249, 244, 235, 0.95));
    box-shadow: 0 20px 48px rgba(57, 43, 27, 0.08);
}

.about-story__panel > small {
    display: inline-flex;
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-story__panel > strong {
    display: block;
    margin-top: 12px;
    color: #2f2821;
    font: 500 28px / 1.18 "Playfair Display", serif;
}

.about-story__panel > p {
    margin-top: 14px;
    color: #6f655b;
    font-size: 13px;
    line-height: 1.8;
}

.about-story__panel-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.about-story__panel-tags span {
    padding: 10px 14px;
    border: 1px solid rgba(157, 111, 39, 0.18);
    border-radius: 999px;
    background: rgba(255, 254, 250, 0.76);
    color: #5d544b;
    font-size: 10px;
    font-weight: 500;
}

.about-story__values {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(157, 111, 39, 0.18);
}

.about-story__values article {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(18px, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 0 24px;
    border-right: 1px solid rgba(157, 111, 39, 0.14);
}

.about-story__values article:first-child {
    padding-left: 0;
}

.about-story__values article:last-child {
    padding-right: 0;
    border-right: 0;
}

.about-story__values span {
    color: var(--gold2);
    font: 500 15px "Playfair Display", serif;
}

.about-story__values i {
    height: 1px;
    background: linear-gradient(90deg, rgba(189, 139, 54, 0.55), rgba(189, 139, 54, 0.08));
}

.about-story__values strong {
    color: #50473f;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.065em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .about-story__layout {
        grid-template-columns: minmax(300px, 0.8fr) minmax(540px, 1.2fr);
        gap: 46px;
    }
    .about-story__visuals {
        grid-template-columns: minmax(0, 1fr) 250px;
    }
    .about-story__panel > strong {
        font-size: 24px;
    }
}

@media (max-width: 1100px) {
    .about.about--story {
        padding: 84px 0 88px;
    }
    .about.about--story::before {
        font-size: 172px;
        bottom: 10px;
    }
    .about-story__layout {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    .about-story__copy {
        max-width: 760px;
    }
    .about-story__copy::before {
        display: none;
    }
    .about-story__visuals {
        grid-template-columns: 1fr;
    }
    .about-story__panel {
        align-self: auto;
    }
    .about-story__values {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 22px;
    }
    .about-story__values article:nth-child(2) {
        border-right: 0;
        padding-right: 0;
    }
    .about-story__values article:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .about.about--story {
        padding: 68px 0 72px;
    }
    .about.about--story::before {
        left: 50%;
        bottom: 14px;
        font-size: clamp(88px, 22vw, 132px);
        letter-spacing: 0.12em;
    }
    .about.about--story::after, .apartments::after, .infrastructure-section::after, .location-section::after, .gallery::after, .footer::after {
        width: 240px;
        height: 240px;
        box-shadow: 0 0 0 24px rgba(189, 139, 54, 0.012), 0 0 0 48px rgba(189, 139, 54, 0.008);
    }
    .about-story__copy h2 {
        font-size: clamp(45px, 14vw, 64px);
    }
    .about-story__lead {
        font-size: 18px;
        line-height: 1.48;
    }
    .about-story__text {
        font-size: 13px;
        line-height: 1.82;
    }
    .about-story__points {
        margin-top: 28px;
    }
    .about-story__points article {
        padding: 16px 16px 14px;
        border-radius: 16px;
    }
    .about-story__points strong {
        font-size: 16px;
    }
    .about-story__actions {
        margin-top: 24px;
        align-items: flex-start;
    }
    .about-story__visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .about-story__visual--main {
        grid-row: auto;
        min-height: 470px;
        border-radius: 145px 145px 10px 10px;
    }
    .about-story__visual--small {
        height: 230px;
    }
    .about-story__visual figcaption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }
    .about-story__panel {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }
    .about-story__panel > strong {
        font-size: 22px;
    }
    .about-story__values {
        grid-template-columns: 1fr;
        margin-top: 10px;
        padding-top: 24px;
        row-gap: 0;
    }
    .about-story__values article, .about-story__values article:first-child, .about-story__values article:nth-child(2), .about-story__values article:nth-child(3), .about-story__values article:last-child {
        min-height: 52px;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12);
    }
    .about-story__values article:last-child {
        border-bottom: 0;
    }
    .about-story__values strong {
        font-size: 8px;
        white-space: normal;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .about-story__visual--main {
        min-height: 410px;
        border-radius: 120px 120px 8px 8px;
    }
    .about-story__visual--small {
        height: 180px;
    }
    .about-story__panel-tags span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================
   ABOUT WATERMARK ALIGNMENT FIX V3
   Keep THE ARC centered, fully visible and behind the content.
========================================================= */
.about.about--story::before {
    left: 50% !important;
    right: auto !important;
    top: 54% !important;
    bottom: auto !important;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%) !important;
    font-size: clamp(112px, 12.5vw, 228px) !important;
    line-height: 0.9 !important;
    letter-spacing: 0.14em !important;
    color: rgba(84, 65, 41, 0.022) !important;
    white-space: nowrap;
    overflow: visible;
}

@media (max-width: 1100px) {
    .about.about--story::before {
        top: 58% !important;
        font-size: clamp(100px, 17vw, 170px) !important;
        letter-spacing: 0.11em !important;
    }
}

@media (max-width: 760px) {
    .about.about--story::before {
        top: 62% !important;
        font-size: clamp(78px, 21vw, 122px) !important;
        letter-spacing: 0.08em !important;
        color: rgba(84, 65, 41, 0.018) !important;
    }
}

/* =========================================================
   GLOBAL POLISH V4
   Consistent geometry, icon alignment and modern numeric typography.
========================================================= */
:root {
    --font-display: "Playfair Display", "Noto Serif SC", serif;
    --font-ui: "Inter", "Noto Sans SC", sans-serif;
    --font-number: "Inter", "Noto Sans SC", sans-serif;
    --control-radius: 10px;
    --control-height: 48px;
}

/* Modern numerals: prices, totals, counters and phone/UI numbers. */
.apartment-rate strong, .apartment-offer--premium .apartment-rate strong, .apartment-main__area, .apartment-main__counter, .apartment-main__counter strong, .apartment-main__counter small, .location-panel__top strong, .location-benefits span, .location-card__distance, .location-desktop-detail__distance, .infrastructure-results-meta, .infrastructure-filter b, .booking-summary__breakdown article > span, .booking-summary__total strong, .grand-total strong, .summary strong, .topbar strong, .footer__contacts strong, .mobile-menu__phones strong, #stayTotal, #parkingTotal, #grandTotal {
    font-family: var(--font-number) !important;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1, "kern" 1;
    letter-spacing: -0.025em;
}

/* Price module: cleaner, more editorial, less artificial. */
.apartment-offer--premium {
    padding: 20px 22px 16px;
    border-radius: 16px;
    background: radial-gradient(circle at 8% 0%, rgba(189,139,54,.055), transparent 34%), linear-gradient(115deg, rgba(255,254,251,.99), rgba(249,242,231,.94));
}

.apartment-offer__label {
    margin-bottom: 14px;
    line-height: 1;
}

.apartment-offer__content {
    grid-template-columns: minmax(126px, auto) 1px minmax(150px, auto) minmax(190px, 1fr);
    align-items: center;
    gap: 20px;
}

.apartment-offer--premium .apartment-rate {
    display: grid;
    grid-template-columns: auto minmax(0, auto);
    grid-template-areas: "from value" "unit unit";
    align-items: baseline;
    justify-content: start;
    column-gap: 8px;
    row-gap: 4px;
    white-space: nowrap;
}

.apartment-offer--premium .apartment-rate small {
    grid-area: from;
    margin: 0;
    color: #8a7d70;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

.apartment-offer--premium .apartment-rate strong {
    grid-area: value;
    color: #2d2925;
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.apartment-offer--premium .apartment-rate span {
    grid-area: unit;
    margin: 0;
    padding-left: 25px;
    color: #81766b;
    font-family: var(--font-ui);
    font-size: 8px;
    line-height: 1.35;
}

.apartment-rate-separator {
    align-self: center;
    height: 58px;
}

.apartment-offer__note {
    max-width: 100%;
    margin-top: 12px;
    color: #91867b;
    font-size: 7.5px;
    line-height: 1.5;
    text-align: right;
    white-space: normal;
}

/* One arrow language throughout the interface. */
.ui-arrow {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
    transform-origin: center;
}

.ui-arrow--calendar {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

/* General alignment for controls with icons/arrows. */
.book-btn, .mobile-menu__book, .about-story__link, .infrastructure-drawer__external, .infrastructure-drawer__back, .location-card__route, .location-desktop-detail__route, .footer-social, .booking-modal--premium .submit-booking, .apartment-book, .infrastructure-social, .location-map__controls button {
    line-height: 1;
}

.book-btn, .mobile-menu__book, .about-story__link, .location-card__route, .location-desktop-detail__route, .booking-modal--premium .submit-booking, .apartment-book, .infrastructure-drawer__external, .infrastructure-drawer__back {
    align-items: center;
}

.book-btn .ui-arrow, .mobile-menu__book .ui-arrow, .about-story__link .ui-arrow, .location-card__route .ui-arrow, .location-desktop-detail__route .ui-arrow, .booking-modal--premium .submit-booking .ui-arrow, .infrastructure-drawer__back .ui-arrow {
    transition: transform .25s ease;
}

.book-btn:hover .ui-arrow--right, .mobile-menu__book:hover .ui-arrow--right, .about-story__link:hover .ui-arrow--right, .location-card__route:hover .ui-arrow--right, .location-desktop-detail__route:hover .ui-arrow--right, .booking-modal--premium .submit-booking:hover .ui-arrow--right {
    transform: translateX(3px);
}

.infrastructure-drawer__back:hover .ui-arrow--left {
    transform: translateX(-3px);
}

.footer-social .ui-arrow--external {
    width: 15px;
    height: 15px;
    justify-self: center;
    color: #b47a29;
    opacity: .78;
    transition: transform .25s ease, opacity .25s ease;
}

.footer-social:hover .ui-arrow--external {
    transform: translate(2px,-2px);
    opacity: 1;
}

/* Retire old text-arrow layout rules. */
.footer-social > i, .about-story__link b, .booking-modal--premium .submit-booking b, .infrastructure-drawer__back > span:last-child {
    display: none !important;
}

/* Consistent center alignment for circular and square icon buttons. */
.apartment-main__arrow, .slider-arrow, .infrastructure-drawer__close, .infrastructure-lightbox button, .mobile-menu__top button, .mobile-toggle, .infrastructure-search button, .location-map__controls button > span:first-child, .booking-modal__close {
    line-height: 1;
}

.apartment-main__arrow, .infrastructure-drawer__close, .booking-modal__close, .infrastructure-lightbox button, .mobile-menu__top button {
    display: grid;
    place-items: center;
}

.apartment-main--premium .apartment-main__arrow svg {
    width: 21px;
    height: 21px;
    margin: 0;
    transform: none;
}

/* Location controls: icon has a fixed box, text is optically centered. */
.location-map__controls button {
    min-height: 44px;
    padding: 0 14px 0 11px;
    gap: 9px;
    border-radius: 9px;
}

.location-map__controls button > span:first-child {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(157,111,39,.14);
    border-radius: 50%;
    color: var(--gold2);
    font-family: var(--font-ui);
    font-size: 12px;
    transform: none;
}

.location-map__controls button:hover > span:first-child {
    color: #fff;
    border-color: rgba(255,255,255,.35);
}

/* Cleaner numbered UI. */
.location-benefits span, .about-story__values span {
    font-family: var(--font-number) !important;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.location-benefits article, .about-story__values article {
    align-items: center;
}

/* Footer cards: make text and external arrow sit on one visual axis. */
.footer-social {
    grid-template-columns: 32px minmax(0,1fr) 18px;
}

.footer-social > span:nth-child(2) {
    align-self: center;
}

/* Booking totals use the same clean numeric language as apartment prices. */
.booking-summary__breakdown article > span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.booking-summary__total strong {
    color: #a66e24;
    font-size: 28px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: -0.045em;
}

.grand-total strong {
    font-size: 26px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: -0.04em;
}

/* Buttons share more consistent geometry without changing the site character. */
.book-btn, .mobile-menu__book, .apartment-offer--premium .apartment-book, .booking-modal--premium .submit-booking, .infrastructure-drawer__external, .infrastructure-drawer__back {
    border-radius: var(--control-radius);
}

.book-btn {
    min-height: var(--control-height);
    padding-inline: 20px 17px;
}

.mobile-menu__book {
    padding-inline: 16px 14px;
}

.booking-modal--premium .submit-booking {
    gap: 14px;
}

.apartment-offer--premium .apartment-book {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .035em;
    text-transform: uppercase;
}

/* Optical alignment for icon+text rows used throughout the site. */
.infrastructure-social__icon, .footer-social__icon, .apartment-feature__icon, .location-card__icon, .location-map__badge-icon {
    align-self: center;
}

@media (max-width: 1180px) {
    .apartment-offer__content {
        grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr);
        gap: 14px;
    }
    .apartment-offer--premium .apartment-rate strong {
        font-size: 25px;
    }
    .apartment-offer__note {
        text-align: left;
    }
}

@media (max-width: 430px) {
    .apartment-offer--premium {
        padding: 18px 16px 15px;
    }
    .apartment-offer--premium .apartment-rate {
        grid-template-columns: auto 1fr;
    }
    .apartment-offer--premium .apartment-rate strong {
        font-size: 27px;
    }
    .apartment-offer--premium .apartment-rate span {
        padding-left: 23px;
    }
}

/* =========================================================
   PRICE TYPOGRAPHY V5
   Softer premium numerals: Manrope instead of Inter.
========================================================= */
:root {
    --font-number: "Manrope", "Inter", "Noto Sans SC", sans-serif;
}

.apartment-offer--premium .apartment-rate strong {
    font-family: "Manrope", "Inter", "Noto Sans SC", sans-serif !important;
    font-size: clamp(28px, 2.05vw, 36px) !important;
    font-weight: 500 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
    font-variant-numeric: lining-nums proportional-nums !important;
    font-feature-settings: "lnum" 1, "pnum" 1, "kern" 1 !important;
    text-rendering: geometricPrecision;
}

/* Keep the smaller price labels calm and visually tied to the amount. */
.apartment-offer--premium .apartment-rate small, .apartment-offer--premium .apartment-rate span {
    font-family: "Manrope", "Inter", "Noto Sans SC", sans-serif !important;
    letter-spacing: 0 !important;
}

.apartment-offer--premium .apartment-rate small {
    font-size: 9px !important;
    font-weight: 500 !important;
}

.apartment-offer--premium .apartment-rate span {
    font-size: 8px !important;
    font-weight: 400 !important;
}

/* Numeric totals elsewhere use the same restrained font, but tabular figures
are preserved where alignment is useful. */
.booking-summary__total strong, .grand-total strong, .summary strong, #stayTotal, #parkingTotal, #grandTotal, .location-panel__top strong, .infrastructure-filter b, .infrastructure-results-meta, .apartment-main__counter, .apartment-main__counter strong, .apartment-main__counter small {
    font-family: "Manrope", "Inter", "Noto Sans SC", sans-serif !important;
    font-variant-numeric: tabular-nums lining-nums !important;
    font-feature-settings: "tnum" 1, "lnum" 1, "kern" 1 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 760px) {
    .apartment-offer--premium .apartment-rate strong {
        font-size: clamp(27px, 9vw, 34px) !important;
        letter-spacing: -0.03em !important;
    }
}

/* =========================================================
   APARTMENT PRICE ALIGNMENT V6
   Final override:
   - gives the price module enough width on desktop
   - aligns "от", amount and period on a clean baseline
   - prevents the monthly price from colliding with the booking button
   - keeps the layout stable on tablet and mobile
========================================================= */
@media (min-width: 1321px) {
    .apartment-premium-bottom {
        grid-template-columns: minmax(0, 1.16fr) minmax(640px, 0.90fr) !important;
        gap: 18px !important;
        align-items: stretch !important;
    }
}

.apartment-offer--premium {
    min-width: 0 !important;
    padding: 22px 24px 17px !important;
}

.apartment-offer__label {
    margin-bottom: 16px !important;
}

/* Main row: daily price | divider | monthly price | booking */
.apartment-offer__content {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(150px, 0.84fr) 1px minmax(190px, 1fr) minmax(205px, 225px) !important;
    align-items: center !important;
    justify-content: stretch !important;
    column-gap: 16px !important;
    row-gap: 14px !important;
}

/* Each tariff becomes its own precise two-column mini-grid. */
.apartment-offer--premium .apartment-rate {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    grid-template-areas: "from value" ". unit" !important;
    align-items: end !important;
    justify-content: start !important;
    column-gap: 9px !important;
    row-gap: 7px !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.apartment-offer--premium .apartment-rate small {
    grid-area: from !important;
    margin: 0 !important;
    padding: 0 0 3px !important;
    align-self: end !important;
    line-height: 1 !important;
}

.apartment-offer--premium .apartment-rate strong {
    grid-area: value !important;
    margin: 0 !important;
    display: block !important;
    line-height: 0.96 !important;
    white-space: nowrap !important;
}

/* The period sits directly under the amount, not under the "от" label. */
.apartment-offer--premium .apartment-rate span {
    grid-area: unit !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.apartment-rate-separator {
    width: 1px !important;
    height: 68px !important;
    align-self: center !important;
    background: rgba(157, 111, 39, 0.20) !important;
}

/* Booking button gets a protected column and can no longer squeeze the price. */
.apartment-offer--premium .apartment-book {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Note is kept below the whole price row. */
.apartment-offer__note {
    width: 100% !important;
    margin-top: 14px !important;
    line-height: 1.45 !important;
    text-align: right !important;
}

/* Medium desktop / tablet:
the features and offer become two full-width rows,
while the price row stays horizontal. */
@media (max-width: 1320px) {
    .apartment-premium-bottom {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .apartment-offer__content {
        grid-template-columns: minmax(150px, 0.82fr) 1px minmax(190px, 0.98fr) minmax(210px, 240px) !important;
    }
}

/* Smaller tablets:
keep both prices in one row and move booking below them. */
@media (max-width: 820px) {
    .apartment-offer--premium {
        padding: 19px 17px 16px !important;
    }
    .apartment-offer__content {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) !important;
        column-gap: 14px !important;
        row-gap: 16px !important;
    }
    .apartment-offer--premium .apartment-book {
        grid-column: 1 / -1 !important;
        min-height: 56px !important;
    }
    .apartment-rate-separator {
        height: 60px !important;
    }
    .apartment-offer__note {
        text-align: left !important;
    }
}

/* Phones:
each tariff gets its own row for maximum stability. */
@media (max-width: 520px) {
    .apartment-offer__content {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .apartment-rate-separator {
        display: none !important;
    }
    .apartment-offer--premium .apartment-rate {
        width: 100% !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(157, 111, 39, 0.12) !important;
    }
    .apartment-offer--premium .apartment-rate:first-child {
        padding-top: 2px !important;
    }
    .apartment-offer--premium .apartment-rate:nth-of-type(2) {
        border-bottom: 0 !important;
    }
    .apartment-offer--premium .apartment-book {
        grid-column: auto !important;
        margin-top: 10px !important;
    }
}

/* =========================================================
   FOOTER SOCIALS V7 — refined heading + cleaner brand icons
========================================================= */
.footer__socials-title {
    display: block !important;
    margin-bottom: 14px;
    color: #4c433a !important;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 17px !important;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.footer-socials__links {
    margin-top: 0 !important;
    gap: 9px !important;
}

.footer-social {
    min-height: 60px !important;
    padding: 9px 12px !important;
    grid-template-columns: 38px minmax(0, 1fr) 18px !important;
    gap: 11px !important;
}

.footer-social__icon {
    width: 38px !important;
    height: 38px !important;
    border-color: rgba(189,139,54,.29) !important;
    background: linear-gradient(145deg, #fffdf8, #fbf3e6) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.footer-social__icon svg {
    width: 20px !important;
    height: 20px !important;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* WhatsApp: clean branded silhouette without the old tangled handset. */
.footer-social__icon--whatsapp svg .brand-ring {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
}

.footer-social__icon--whatsapp svg .brand-mark {
    fill: currentColor;
    stroke: none;
}

/* Instagram: slightly stronger geometry, still restrained in site gold. */
.footer-social__icon--instagram svg {
    stroke-width: 1.65 !important;
}

.footer-social__icon--instagram .brand-dot {
    fill: currentColor;
    stroke: none;
}

.footer-social__icon--booking {
    width: 38px !important;
    height: 38px !important;
    font-family: "Manrope", "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -0.04em;
}

.footer-social b {
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.15;
}

.footer-social em {
    margin-top: 1px;
    font-size: 8px !important;
    line-height: 1.2;
}

.footer-social .ui-arrow--external {
    width: 17px !important;
    height: 17px !important;
    align-self: center;
}

@media (max-width: 700px) {
    .footer__socials-title {
        font-size: 18px !important;
    }
    .footer-social {
        min-height: 62px !important;
    }
}

/* =========================================================
   GALLERY PREVIEW V8 + FULLSCREEN LIGHTBOX
========================================================= */
.gallery.gallery--preview {
    padding: clamp(88px,7.5vw,126px) 0 clamp(84px,7vw,116px)!important;
}

.gallery-preview__head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
    align-items: end;
    gap: clamp(42px,7vw,120px);
}

.gallery-preview__head h2 {
    max-width: 850px;
    margin-top: 18px!important;
    font-size: clamp(50px,5.3vw,82px)!important;
    line-height: .96!important;
}

.gallery-preview__head-side {
    display: grid;
    justify-items: start;
    gap: 22px;
    padding-bottom: 6px;
}

.gallery-preview__head-side p {
    max-width: 520px;
    color: #6d645b;
    font-size: 13px;
    line-height: 1.78;
}

.gallery-preview__more {
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(189,139,54,.34);
    border-radius: 999px;
    background: rgba(255,254,250,.75);
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .85px;
    text-transform: uppercase;
    transition: transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}

.gallery-preview__more:hover {
    transform: translateY(-2px);
    border-color: rgba(189,139,54,.62);
    background: #fffefa;
    box-shadow: 0 12px 26px rgba(64,47,27,.07);
}

.gallery-preview__more .ui-arrow {
    width: 17px;
    height: 17px;
}

.gallery-preview {
    position: relative;
    z-index: 3;
    margin-top: 48px;
}

.gallery-preview__viewport {
    overflow: hidden;
    padding-left: max(var(--pad),calc((100vw - var(--max))/2));
    padding-right: max(var(--pad),calc((100vw - var(--max))/2));
}

.gallery-preview__track {
    display: flex;
    gap: 14px;
    will-change: transform;
    transition: transform .65s cubic-bezier(.22,1,.36,1);
}

.gallery-preview__slide {
    position: relative;
    flex: 0 0 calc((100% - 28px)/3);
    height: clamp(360px,32vw,500px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.18);
    border-radius: 12px;
    background: #ece4d9;
    text-align: left;
    box-shadow: 0 18px 44px rgba(58,43,27,.07);
}

.gallery-preview__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.22,1,.36,1),filter .45s ease;
}

.gallery-preview__slide:hover img {
    transform: scale(1.035);
    filter: saturate(1.03);
}

.gallery-preview__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 52%,rgba(27,20,14,.54));
    pointer-events: none;
}

.gallery-preview__caption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 72px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.gallery-preview__caption small {
    color: #e8c983;
    font: 600 9px/1 Inter,sans-serif;
    letter-spacing: .12em;
}

.gallery-preview__caption small::after {
    content: "";
    display: inline-block;
    width: 25px;
    height: 1px;
    margin-left: 10px;
    vertical-align: middle;
    background: rgba(232,201,131,.8);
}

.gallery-preview__caption strong {
    font: 500 clamp(18px,1.55vw,25px)/1.15 "Playfair Display","Noto Serif SC",serif;
}

.gallery-preview__zoom {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 50%;
    color: #fff;
    background: rgba(27,20,14,.22);
    backdrop-filter: blur(8px);
    font: 300 23px/1 Inter,sans-serif;
    transition: background .25s ease,transform .25s ease;
}

.gallery-preview__slide:hover .gallery-preview__zoom {
    background: rgba(189,139,54,.86);
    transform: rotate(90deg);
}

.gallery-preview__controls {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gallery-preview__counter {
    display: grid;
    grid-template-columns: auto 70px auto;
    align-items: center;
    gap: 12px;
    color: #8c8176;
    font-family: Manrope,Inter,sans-serif;
}

.gallery-preview__counter strong {
    color: var(--gold2);
    font-size: 12px;
    font-weight: 600;
}

.gallery-preview__counter span {
    height: 1px;
    background: rgba(157,111,39,.28);
}

.gallery-preview__counter small {
    font-size: 10px;
}

.gallery-preview__buttons {
    display: flex;
    gap: 8px;
}

.gallery-preview__arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.32);
    border-radius: 50%;
    background: rgba(255,254,250,.8);
    color: var(--gold2);
    transition: .25s ease;
}

.gallery-preview__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-preview__arrow:hover:not(:disabled) {
    color: #fff;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
}

.gallery-preview__arrow:disabled {
    opacity: .32;
    cursor: default;
}

.gallery-preview__mobile-more {
    display: none;
    margin-top: 22px;
}

/* lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease,visibility .28s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19,16,13,.89);
    backdrop-filter: blur(12px);
}

.gallery-lightbox__panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 80px minmax(0,1fr) 80px;
    align-items: center;
    padding: 36px 28px;
}

.gallery-lightbox__figure {
    min-width: 0;
    max-width: min(1380px,calc(100vw - 220px));
    max-height: calc(100vh - 72px);
    margin: auto;
    display: grid;
    grid-template-rows: minmax(0,1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(231,201,141,.28);
    border-radius: 10px;
    background: #16120f;
    box-shadow: 0 30px 90px rgba(0,0,0,.44);
}

.gallery-lightbox__figure img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    background: #15120f;
}

.gallery-lightbox__figure figcaption {
    min-height: 58px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #f8f2e8;
    background: rgba(27,22,17,.98);
}

.gallery-lightbox__figure figcaption>span {
    font: 500 17px/1.2 "Playfair Display","Noto Serif SC",serif;
}

.gallery-lightbox__figure figcaption small {
    color: #c5b7a5;
    font: 500 10px Manrope,Inter,sans-serif;
}

.gallery-lightbox__figure figcaption b {
    color: #d7a54d;
    font-weight: 600;
}

.gallery-lightbox__close {
    position: absolute;
    z-index: 4;
    right: 30px;
    top: 26px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(18,15,12,.48);
    color: #fff;
}

.gallery-lightbox__close svg,.gallery-lightbox__nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-lightbox__nav {
    position: relative;
    z-index: 3;
    width: 54px;
    height: 54px;
    margin: auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 50%;
    background: rgba(18,15,12,.38);
    color: #fff;
    transition: .25s ease;
}

.gallery-lightbox__nav:hover,.gallery-lightbox__close:hover {
    border-color: #d5a14a;
    background: #bd8b36;
}

@media(max-width:980px) {
    .gallery-preview__head {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .gallery-preview__head-side {
        padding-bottom: 0;
    }
    .gallery-preview__head-side p {
        max-width: 650px;
    }
    .gallery-preview__slide {
        flex-basis: calc((100% - 14px)/2);
        height: 430px;
    }
    .gallery-lightbox__panel {
        grid-template-columns: 62px minmax(0,1fr) 62px;
        padding: 30px 12px;
    }
    .gallery-lightbox__figure {
        max-width: calc(100vw - 150px);
    }
}

@media(max-width:620px) {
    .gallery.gallery--preview {
        padding: 68px 0 72px!important;
    }
    .gallery-preview__head h2 {
        font-size: 42px!important;
    }
    .gallery-preview__head-side p {
        font-size: 12px;
    }
    .gallery-preview__head-side .gallery-preview__more {
        display: none;
    }
    .gallery-preview {
        margin-top: 30px;
    }
    .gallery-preview__viewport {
        padding-left: 16px;
        padding-right: 16px;
    }
    .gallery-preview__track {
        gap: 10px;
    }
    .gallery-preview__slide {
        flex-basis: 100%;
        height: 410px;
        border-radius: 10px;
    }
    .gallery-preview__caption {
        left: 17px;
        bottom: 16px;
    }
    .gallery-preview__zoom {
        right: 14px;
        bottom: 14px;
        width: 39px;
        height: 39px;
    }
    .gallery-preview__controls {
        margin-top: 15px;
    }
    .gallery-preview__mobile-more {
        display: block;
    }
    .gallery-lightbox__panel {
        display: block;
        padding: 66px 10px 16px;
    }
    .gallery-lightbox__figure {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 92px);
    }
    .gallery-lightbox__figure img {
        max-height: calc(100dvh - 158px);
    }
    .gallery-lightbox__nav {
        position: absolute;
        z-index: 5;
        top: 50%;
        width: 44px;
        height: 44px;
        background: rgba(17,14,11,.56);
    }
    .gallery-lightbox__nav--prev {
        left: 16px;
    }
    .gallery-lightbox__nav--next {
        right: 16px;
    }
    .gallery-lightbox__close {
        right: 14px;
        top: 12px;
        width: 42px;
        height: 42px;
    }
    .gallery-lightbox__figure figcaption {
        padding: 0 13px;
    }
    .gallery-lightbox__figure figcaption>span {
        font-size: 15px;
    }
}

/* =========================================================
   FULL GALLERY PAGE V8
========================================================= */
.gallery-page {
    background: #fffdf9;
}

.gallery-page__header {
    position: sticky;
    top: 0;
    z-index: 1200;
    height: 86px;
    border-bottom: 1px solid rgba(157,111,39,.14);
    background: rgba(255,254,250,.94);
    backdrop-filter: blur(18px);
}

.gallery-page__header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gallery-page__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-page__brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.gallery-page__brand span {
    display: grid;
}

.gallery-page__brand strong {
    font: 500 23px/1 "Playfair Display",serif;
}

.gallery-page__brand small {
    margin-top: 4px;
    color: var(--gold);
    font-size: 6px;
    letter-spacing: 4px;
}

.gallery-page__header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.gallery-page__langs {
    display: flex;
    gap: 5px;
}

.gallery-page__langs button {
    min-width: 37px;
    height: 34px;
    border: 1px solid rgba(157,111,39,.14);
    background: transparent;
    color: #6e645a;
    font-size: 9px;
}

.gallery-page__langs button.active {
    color: #fff;
    border-color: var(--gold);
    background: var(--gold);
}

.gallery-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.gallery-page__back svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.gallery-page__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(82px,8vw,130px) 0 64px;
    background: radial-gradient(circle at 91% 12%,rgba(189,139,54,.07),transparent 28%),linear-gradient(180deg,#fffefa,#faf5ec);
}

.gallery-page__hero::after {
    content: "GALLERY";
    position: absolute;
    right: -.02em;
    bottom: -.18em;
    color: rgba(84,65,41,.025);
    font: 500 clamp(130px,17vw,300px)/.8 "Playfair Display",serif;
    letter-spacing: -.05em;
    pointer-events: none;
}

.gallery-page__hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 80px;
}

.gallery-page__hero h1 {
    margin-top: 20px;
    color: #25211d;
    font: 500 clamp(56px,6vw,92px)/.9 "Playfair Display","Noto Serif SC",serif;
    letter-spacing: -.045em;
}

.gallery-page__hero p {
    max-width: 560px;
    color: #6d645b;
    font-size: 14px;
    line-height: 1.85;
    padding-bottom: 8px;
}

.gallery-page__collection {
    padding: 52px 0 110px;
    background: linear-gradient(180deg,#fffdf9,#fbf6ee);
}

.gallery-page__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.gallery-page__filters button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(157,111,39,.16);
    border-radius: 999px;
    background: rgba(255,254,250,.82);
    color: #6c6258;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.gallery-page__filters button.active,.gallery-page__filters button:hover {
    color: #fff;
    border-color: var(--gold);
    background: var(--gold);
}

.gallery-page__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    grid-auto-rows: 280px;
    gap: 12px;
}

.gallery-page__item {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(157,111,39,.16);
    border-radius: 10px;
    background: #e9e0d5;
    box-shadow: 0 14px 32px rgba(58,43,27,.05);
    text-align: left;
}

.gallery-page__item--wide {
    grid-column: span 2;
}

.gallery-page__item--tall {
    grid-row: span 2;
}

.gallery-page__item[hidden] {
    display: none!important;
}

.gallery-page__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .75s cubic-bezier(.22,1,.36,1);
}

.gallery-page__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 58%,rgba(27,20,14,.58));
    pointer-events: none;
}

.gallery-page__item:hover img {
    transform: scale(1.035);
}

.gallery-page__item>span {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.gallery-page__item small {
    color: #e5c681;
    font: 600 8px Inter,sans-serif;
}

.gallery-page__item strong {
    font: 500 18px "Playfair Display","Noto Serif SC",serif;
}

.gallery-page__footer {
    padding: 32px 0;
    border-top: 1px solid rgba(157,111,39,.14);
    background: #f8f3eb;
}

.gallery-page__footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #73695f;
    font-size: 10px;
}

.gallery-page__footer span {
    color: #3a3129;
    font: 500 16px "Playfair Display",serif;
}

@media(max-width:900px) {
    .gallery-page__hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .gallery-page__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-auto-rows: 250px;
    }
    .gallery-page__item--wide {
        grid-column: span 2;
    }
    .gallery-page__header-actions {
        gap: 10px;
    }
}

@media(max-width:620px) {
    .gallery-page__header {
        height: 76px;
    }
    .gallery-page__brand img {
        width: 38px;
        height: 38px;
    }
    .gallery-page__brand strong {
        font-size: 19px;
    }
    .gallery-page__langs {
        display: none;
    }
    .gallery-page__hero {
        padding: 62px 0 44px;
    }
    .gallery-page__hero h1 {
        font-size: 48px;
    }
    .gallery-page__hero p {
        font-size: 12px;
    }
    .gallery-page__collection {
        padding: 34px 0 72px;
    }
    .gallery-page__filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
        scrollbar-width: none;
    }
    .gallery-page__filters::-webkit-scrollbar {
        display: none;
    }
    .gallery-page__filters button {
        white-space: nowrap;
    }
    .gallery-page__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 270px;
        gap: 9px;
    }
    .gallery-page__item--wide {
        grid-column: auto;
    }
    .gallery-page__item--tall {
        grid-row: auto;
        height: 390px;
    }
    .gallery-page__footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .gallery-page__hero::after {
        font-size: 120px;
    }
}

/* =========================================================
   MAIN PAGE — APARTMENTS DETAILS LINK
========================================================= */
.apartment-selected {
    grid-template-columns: auto minmax(90px,1fr) auto;
}

.apartment-selected__more {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(189,139,54,.30);
    border-radius: 999px;
    background: rgba(255,254,250,.78);
    color: var(--gold2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}

.apartment-selected__more:hover {
    transform: translateY(-2px);
    border-color: rgba(189,139,54,.58);
    background: #fffefa;
    box-shadow: 0 12px 25px rgba(62,46,29,.07);
}

.apartment-selected__more .ui-arrow {
    width: 16px;
    height: 16px;
}

@media (max-width: 700px) {
    .apartment-selected {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .apartment-selected__ornament {
        grid-column: 1/-1;
        grid-row: 2;
    }
    .apartment-selected__more {
        grid-column: 2;
        grid-row: 1;
        min-height: 38px;
        padding: 0 12px;
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .apartment-selected {
        grid-template-columns: 1fr;
    }
    .apartment-selected__more {
        grid-column: 1;
        grid-row: 2;
        width: max-content;
    }
    .apartment-selected__ornament {
        grid-row: 3;
    }
}

/* =========================================================
   MAIN PAGE — ABOUT BOTTOM ROW FINAL POLISH
   Button on the left, address block on the far right.
========================================================= */
.about-story__actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: clamp(18px, 2vw, 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 32px;
    position: relative;
    z-index: 3;
}

.about-story__link {
    margin: 0;
    min-height: 58px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid rgba(189, 139, 54, 0.32);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    color: var(--gold2);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.about-story__link .ui-arrow {
    width: 17px;
    height: 17px;
    display: block;
    flex: 0 0 17px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.about-story__link:hover {
    transform: translateY(-2px);
    border-color: rgba(189, 139, 54, 0.55);
    background: #fffdf9;
    box-shadow: 0 12px 28px rgba(73, 52, 28, 0.07);
}

.about-story__link:hover .ui-arrow {
    transform: translateX(3px);
}

.about-story__address {
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 0 0 auto;
}

.about-story__address img {
    width: 48px;
    height: 48px;
    display: block;
    object-fit: contain;
    opacity: 0.76;
    flex: 0 0 48px;
}

.about-story__address span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.about-story__address small {
    margin: 0;
    color: #978a7e;
    font-family: Inter, sans-serif;
    font-size: 8px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    white-space: nowrap;
}

.about-story__address strong {
    margin: 0;
    color: #332b24;
    font-family: "Playfair Display", "Noto Serif SC", serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .about-story__actions {
        margin-top: 8px;
    }
}

@media (max-width: 720px) {
    .about-story__actions {
        margin-top: 2px;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .about-story__link {
        width: max-content;
        align-self: flex-start;
    }
    .about-story__address {
        margin-left: 0;
        align-self: flex-end;
        justify-content: flex-end;
    }
    .about-story__address img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    .about-story__address strong {
        font-size: 18px;
    }
}

@media (max-width: 430px) {
    .about-story__address {
        width: 100%;
    }
    .about-story__address small {
        font-size: 7px;
        letter-spacing: 0.14em;
    }
    .about-story__address strong {
        font-size: 17px;
    }
}

/* =========================================================
   INFRASTRUCTURE — DEDICATED PAGE CTA
   "Open the world of The Arc" / translated variants.
========================================================= */
.infrastructure-page-link {
    width: max-content;
    min-height: 54px;
    margin: 30px auto 0;
    padding: 0 18px 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid rgba(189, 139, 54, 0.30);
    border-radius: 999px;
    color: #9d6f27;
    background: linear-gradient( 110deg, rgba(255, 254, 250, 0.96), rgba(250, 244, 234, 0.82));
    box-shadow: 0 12px 30px rgba(74, 53, 31, 0.045);
    font-family: "Inter", "Noto Sans SC", sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.28s ease, border-color 0.28s ease, color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.infrastructure-page-link__ornament {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    border: 1px solid rgba(189, 139, 54, 0.22);
    border-radius: 50%;
    background: rgba(255, 254, 250, 0.78);
}

.infrastructure-page-link__ornament i {
    width: 7px;
    height: 7px;
    display: block;
    border: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease, background 0.3s ease;
}

.infrastructure-page-link__text {
    display: inline-flex;
    align-items: center;
    min-height: 14px;
    line-height: 1.1;
}

.infrastructure-page-link__arrow {
    width: 17px;
    height: 17px;
    display: block;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.28s ease;
}

.infrastructure-page-link:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: #bd8b36;
    background: linear-gradient( 135deg, #c4933d, #a86f24);
    box-shadow: 0 16px 34px rgba(157, 111, 39, 0.16);
}

.infrastructure-page-link:hover .infrastructure-page-link__ornament {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.10);
}

.infrastructure-page-link:hover .infrastructure-page-link__ornament i {
    background: rgba(255, 255, 255, 0.13);
    transform: rotate(45deg) scale(1.10);
}

.infrastructure-page-link:hover .infrastructure-page-link__arrow {
    transform: translateX(4px);
}

/* Keep Chinese text calm despite uppercase rule being irrelevant there. */
html[lang="zh-CN"] .infrastructure-page-link {
    letter-spacing: 0.10em;
}

/* Tablet / mobile */
@media (max-width: 700px) {
    .infrastructure-page-link {
        min-height: 50px;
        margin-top: 24px;
        padding: 0 15px 0 10px;
        gap: 12px;
        font-size: 8px;
        letter-spacing: 0.09em;
    }
    .infrastructure-page-link__ornament {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    .infrastructure-page-link__arrow {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
}

@media (max-width: 390px) {
    .infrastructure-page-link {
        width: 100%;
        white-space: normal;
        text-align: center;
    }
    .infrastructure-page-link__text {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* =========================================================
   HERO — NON-DRAGGABLE IMAGE
   Не меняет расположение текста
========================================================= */
/* Фото нельзя выделять и перетаскивать */
.hero > img, .hero__image {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Затемнение ничего не перехватывает */
.hero__veil {
    pointer-events: none;
}

/* Контент остаётся поверх фотографии */
.hero-intro {
    z-index: 5;
}

/* Кнопки и ссылки работают */
.hero-intro a, .hero-intro button {
    pointer-events: auto;
}

/* Текст можно выделять мышкой */
.hero-intro__copy, .hero-intro__phrase, .hero-intro__name {
    pointer-events: auto;
    -webkit-user-select: text;
    user-select: text;
}

/* =========================================================
   ABOUT — DESKTOP VISUAL COMPOSITION V3
   Исправление только ПК/ноутбук.
   Мобильная и планшетная компоновка ниже 1181px не меняется.
========================================================= */
@media (min-width: 1181px) {
    /*
    Главная сетка секции:
    текст слева, цельный визуальный блок справа.
    */
    .about-story__layout {
        grid-template-columns: minmax(390px, 0.78fr) minmax(690px, 1.22fr);
        column-gap: clamp(54px, 5vw, 92px);
        row-gap: 30px;
        align-items: start;
    }
    .about-story__copy {
        max-width: 575px;
    }
    /* =====================================================
   ФОТОГРАФИИ
   Теперь справа нет отдельной узкой колонки под
   "Локация и сервис".
   Сначала идёт единая композиция из трёх фото,
   затем под ней широкая сервисная карточка.
   ===================================================== */
   .about-story__visuals {
   width: 100%;
   min-width: 0;
   display: grid;
   grid-template-columns: 1fr;
   grid-template-rows: auto auto;
   gap: 16px;
   align-items: start;
   }
   .about-story__visual-grid {
   width: 100%;
   min-width: 0;
   display: grid;
   grid-template-columns: minmax(390px, 1.52fr) minmax(245px, 0.88fr);
   grid-template-rows: minmax(260px, 1fr) minmax(260px, 1fr);
   gap: 14px;
   height: clamp(570px, 37vw, 660px);
   }
   .about-story__visual {
   height: 100%;
   min-height: 0;
   box-shadow: 0 18px 42px rgba(61, 45, 29, 0.10);
   }
   .about-story__visual--main {
   grid-column: 1;
   grid-row: 1 / 3;
   min-height: 0;
   border-radius: clamp(150px, 10vw, 205px) clamp(150px, 10vw, 205px) 16px 16px;
   }
   .about-story__visual--small {
   grid-column: 2;
   min-height: 0;
   border-radius: 18px;
   }
   .about-story__visual--small:nth-of-type(2) {
   grid-row: 1;
   }
   .about-story__visual--small:nth-of-type(3) {
   grid-row: 2;
   }
   .about-story__visual--main img {
   object-position: 54% center;
   }
   .about-story__visual--small:nth-of-type(2) img {
   object-position: center 52%;
   }
   .about-story__visual--small:nth-of-type(3) img {
   object-position: center 58%;
   }
   /* Подписи фото стали компактнее и не давят на изображения */
   .about-story__visual figcaption {
   left: 18px;
   right: 18px;
   bottom: 17px;
   gap: 9px;
   }
   .about-story__visual figcaption small::after {
   width: 16px;
   margin-left: 7px;
   }
   .about-story__visual figcaption span {
   font-size: clamp(14px, 1vw, 18px);
   line-height: 1.22;
   }
   /* =====================================================
   ЛОКАЦИЯ И СЕРВИС
   Широкая горизонтальная карточка под фотографиями.
   За счёт этого блок больше не выглядит отдельным
   "столбиком", приклеенным справа.
   ===================================================== */
   .about-story__panel {
   width: 100%;
   min-height: 176px;
   align-self: auto;
   padding: 24px 26px;
   display: grid;
   grid-template-columns: minmax(240px, 0.85fr) minmax(330px, 1.15fr);
   grid-template-rows: auto auto auto;
   column-gap: clamp(32px, 3vw, 52px);
   row-gap: 8px;
   border-radius: 18px;
   background: radial-gradient( circle at 94% 10%, rgba(189, 139, 54, 0.055), transparent 34%), linear-gradient( 115deg, rgba(255, 253, 249, 0.985), rgba(249, 244, 235, 0.955));
   box-shadow: 0 16px 38px rgba(57, 43, 27, 0.055);
   }
   .about-story__panel > small {
   grid-column: 1;
   grid-row: 1;
   align-self: end;
   margin: 0;
   }
   .about-story__panel > strong {
   grid-column: 1;
   grid-row: 2 / 4;
   max-width: 340px;
   margin: 4px 0 0;
   font-size: clamp(23px, 1.65vw, 29px);
   line-height: 1.15;
   }
   .about-story__panel > p {
   grid-column: 2;
   grid-row: 1 / 3;
   max-width: 560px;
   margin: 0;
   align-self: center;
   font-size: 12px;
   line-height: 1.72;
   }
   .about-story__panel-tags {
   grid-column: 2;
   grid-row: 3;
   margin-top: 4px;
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 7px;
   }
   .about-story__panel-tags span {
   padding: 8px 12px;
   font-size: 8.5px;
   line-height: 1;
   }
   /* =====================================================
   Нижняя строка "Подробнее + адрес"
   Выравниваем относительно всей секции.
   ===================================================== */
   .about-story__actions {
   grid-column: 1 / -1;
   margin-top: 8px;
   padding-top: 25px;
   border-top: 1px solid rgba(157, 111, 39, 0.13);
   }
   }

   /* На очень широких мониторах сохраняем пропорции,
   чтобы фотографии не становились чрезмерно растянутыми. */
   @media (min-width: 1600px) {
   .about-story__layout {
   grid-template-columns: minmax(430px, 0.75fr) minmax(850px, 1.25fr);
   }
   .about-story__visual-grid {
   grid-template-columns: minmax(470px, 1.58fr) minmax(270px, 0.82fr);
   height: 650px;
   }
   .about-story__copy {
   max-width: 600px;
   }
   }

   /* =========================================================
   OVERLAY STACKING FIX — NP detail card
   Keep infrastructure overlays above every following section.
   The overlay nodes are body/main-level siblings, so section
   isolation/overflow can no longer trap them in a lower layer.
========================================================= */
.infrastructure-drawer-backdrop {
    z-index: 3490;
}

.infrastructure-drawer {
    z-index: 3500;
}

.infrastructure-lightbox {
    z-index: 5100;
}

/* =========================================================
   2026 UPDATE — MAIN PAGE INFRASTRUCTURE FULLSCREEN MODAL
   Make the NP detail panel fill the viewport and make photo
   switching easier directly from the hero area.
========================================================= */
.infrastructure-drawer-backdrop {
    background: rgba(18, 14, 10, 0.54);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.infrastructure-drawer {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: #f8f2ea;
    box-shadow: none;
    transform: translate3d(0, 26px, 0);
    opacity: 0;
    transition: opacity .34s ease, transform .42s cubic-bezier(.22,1,.36,1), visibility 0s linear .42s;
}

.infrastructure-drawer.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.infrastructure-drawer__scroll {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.infrastructure-drawer__hero {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, #ede2d5 0%, #f8f2ea 100%);
}

.infrastructure-drawer__hero-button {
    width: 100%;
    height: min(46vh, 420px);
    border-radius: 0;
    background: #e8ded0;
}

.infrastructure-drawer__hero-button > img.is-logo-fallback {
    padding: 6.5vw;
}

.infrastructure-drawer__hero-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    color: #fff;
    background: rgba(33, 28, 24, 0.48);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 14px 26px rgba(20, 16, 11, 0.18);
    transform: translateY(-50%);
    transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.infrastructure-drawer__hero-nav:hover {
    background: rgba(189, 139, 54, 0.90);
    border-color: rgba(255, 255, 255, 0.62);
    transform: translateY(-50%) scale(1.04);
}

.infrastructure-drawer__hero-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.infrastructure-drawer__hero-nav--prev {
    left: 24px;
}

.infrastructure-drawer__hero-nav--next {
    right: 24px;
}

.infrastructure-drawer__photo-index {
    left: 24px;
    bottom: 22px;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 1.1px;
}

.infrastructure-drawer__zoom {
    right: 24px;
    bottom: 20px;
    width: 40px;
    height: 40px;
}

.infrastructure-drawer__zoom svg {
    width: 18px;
    height: 18px;
}

.infrastructure-drawer__body {
    min-width: 0;
    min-height: 0;
    padding: 34px 30px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(189, 139, 54, 0.35) transparent;
}

.infrastructure-drawer__identity {
    grid-template-columns: 88px minmax(0, 1fr);
}

.infrastructure-drawer__logo {
    width: 88px;
    height: 88px;
}

.infrastructure-drawer__identity h3 {
    font-size: clamp(34px, 3vw, 56px);
}

.infrastructure-drawer__description {
    max-width: 920px;
    font-size: 13px;
    line-height: 1.8;
}

.infrastructure-drawer__socials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.infrastructure-social {
    min-height: 52px;
    font-size: 9px;
}

.infrastructure-drawer__feature {
    min-height: 70px;
    grid-template-columns: 42px minmax(0, 1fr);
}

.infrastructure-drawer__feature strong {
    font-size: 12px;
}

.infrastructure-drawer__feature p {
    font-size: 8.5px;
}

.infrastructure-drawer__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.infrastructure-drawer__thumb {
    height: 140px;
}

.infrastructure-drawer__thumb span {
    left: 10px;
    bottom: 10px;
    font-size: 7px;
}

.infrastructure-drawer__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.infrastructure-drawer__external, .infrastructure-drawer__back {
    min-height: 52px;
    font-size: 9px;
}

.infrastructure-drawer__close {
    top: 18px;
    right: 20px;
    width: 46px;
    height: 46px;
    z-index: 12;
}

@media (min-width: 1080px) {
    .infrastructure-drawer__scroll {
        grid-template-columns: minmax(540px, 1.08fr) minmax(460px, .92fr);
    }
    .infrastructure-drawer__hero {
        position: sticky;
        top: 0;
        height: 100dvh;
        border-right: 1px solid rgba(189, 139, 54, 0.14);
    }
    .infrastructure-drawer__hero-button {
        height: 100dvh;
    }
    .infrastructure-drawer__body {
        max-height: 100dvh;
        padding: 42px 42px 40px;
    }
}

@media (max-width: 1079px) {
    .infrastructure-drawer__hero-button {
        height: min(44vh, 360px);
    }
    .infrastructure-drawer__body {
        max-height: none;
    }
}

@media (max-width: 760px) {
    .infrastructure-drawer__hero-button {
        height: min(42vh, 300px);
    }
    .infrastructure-drawer__hero-nav {
        width: 44px;
        height: 44px;
    }
    .infrastructure-drawer__hero-nav--prev {
        left: 14px;
    }
    .infrastructure-drawer__hero-nav--next {
        right: 14px;
    }
    .infrastructure-drawer__photo-index {
        left: 14px;
        bottom: 14px;
    }
    .infrastructure-drawer__zoom {
        right: 14px;
        bottom: 12px;
        width: 36px;
        height: 36px;
    }
    .infrastructure-drawer__body {
        padding: 24px 16px 26px;
    }
    .infrastructure-drawer__identity {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }
    .infrastructure-drawer__logo {
        width: 72px;
        height: 72px;
    }
    .infrastructure-drawer__description {
        font-size: 11px;
    }
    .infrastructure-drawer__socials, .infrastructure-drawer__actions {
        grid-template-columns: 1fr;
    }
    .infrastructure-drawer__thumb {
        height: 104px;
    }
}

/* =========================================================
   2026 TUNE — MAIN PAGE INFRASTRUCTURE MODAL SIZE
   Not full-screen anymore: large immersive modal with
   comfortable empty edges around it.
========================================================= */
.infrastructure-drawer {
    top: 26px;
    right: 26px;
    bottom: 26px;
    left: 26px;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    border: 1px solid rgba(189, 139, 54, 0.20);
    border-radius: 24px;
    background: #f8f2ea;
    box-shadow: 0 30px 90px rgba(27, 20, 14, 0.18);
}

.infrastructure-drawer__scroll {
    border-radius: inherit;
}

.infrastructure-drawer__hero {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    overflow: hidden;
}

.infrastructure-drawer__hero-button {
    border-radius: 0;
}

.infrastructure-drawer__body {
    background: rgba(255, 253, 249, 0.92);
}

.infrastructure-drawer__close {
    top: 16px;
    right: 16px;
}

@media (min-width: 1400px) {
    .infrastructure-drawer {
        top: 34px;
        right: 34px;
        bottom: 34px;
        left: 34px;
    }
}

@media (max-width: 1079px) {
    .infrastructure-drawer {
        top: 14px;
        right: 14px;
        bottom: 14px;
        left: 14px;
        border-radius: 20px;
    }
    .infrastructure-drawer__hero {
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 760px) {
    .infrastructure-drawer {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
        border-radius: 18px;
    }
    .infrastructure-drawer__hero {
        border-radius: 18px 18px 0 0;
    }
}

/* =========================================================
   MOBILE ADAPTATION — SHARED COMPONENTS
   Final viewport-safe rules for phones and small tablets.
========================================================= */
@media (max-width: 760px) {
    /* ---------- Document and spacing ---------- */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    body {
        min-width: 0;
    }
    .container {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
    }
    /* ---------- Header ---------- */
    .header__inner {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }
    .brand {
        min-width: 0;
    }
    .brand__logo {
        width: 42px;
        height: 48px;
        flex: 0 0 42px;
        object-fit: contain;
    }
    .brand__text {
        min-width: 0;
    }
    .brand__text strong {
        font-size: 19px;
        white-space: nowrap;
    }
    .brand__text small {
        margin-top: 5px;
        font-size: 5px;
        letter-spacing: 3.2px;
    }
    .mobile-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
    }
    /* ---------- Mobile navigation ---------- */
    .mobile-menu {
        width: min(92vw, 390px);
        max-width: calc(100vw - 12px);
        padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .mobile-menu nav a, .mobile-menu__book, .mobile-menu__langs button {
        min-height: 44px;
    }
    .mobile-menu__phones a {
        min-width: 0;
    }
    /* ---------- Footer ---------- */
    .footer {
        padding-top: 42px;
    }
    .footer__grid {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .footer__contacts, .footer__langs, .footer__socials {
        min-width: 0;
    }
    .footer__contacts strong, .footer-social em {
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .footer__bottom {
        min-height: 50px;
        height: auto;
        padding: 14px 16px;
        text-align: center;
        line-height: 1.55;
    }
    /* ---------- Booking modal ---------- */
    .booking-modal--premium .booking-modal__panel {
        top: max(6px, env(safe-area-inset-top)) !important;
        bottom: max(6px, env(safe-area-inset-bottom)) !important;
        left: 6px !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        max-height: none !important;
        height: auto;
        margin: 0 !important;
        padding: 24px 16px 20px;
        overflow-y: auto;
        transform: translateY(8px) scale(.99) !important;
    }
    .booking-modal--premium.active .booking-modal__panel, .booking-modal.active .booking-modal__panel {
        transform: none !important;
    }
    .booking-head h2 {
        font-size: clamp(28px, 9.5vw, 36px);
    }
    .booking-layout, .booking-personal-grid, .booking-date-row {
        grid-template-columns: 1fr !important;
    }
    .booking-apartment-types {
        grid-template-columns: 1fr 1fr !important;
    }
    .booking-control input, .booking-control select, .submit-booking {
        min-height: 48px;
    }
}

@media (max-width: 430px) {
    /* ---------- Shared compact spacing ---------- */
    .container {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
    }
    .header__inner {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
    }
    .brand__logo {
        width: 38px;
        height: 44px;
        flex-basis: 38px;
    }
    .brand__text strong {
        font-size: 17px;
    }
    .booking-apartment-types {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   MOBILE ADAPTATION — HOME PAGE
========================================================= */
@media (max-width: 760px) {
    /* ---------- Hero ---------- */
    .home-page .hero.hero--intro {
        min-height: 590px;
    }
    .home-page .hero-intro__copy {
        left: max(16px, env(safe-area-inset-left)) !important;
        right: max(16px, env(safe-area-inset-right));
        width: auto !important;
        bottom: max(34px, calc(22px + env(safe-area-inset-bottom))) !important;
    }
    .home-page .hero-intro__phrase {
        max-width: 100%;
        font-size: clamp(36px, 11vw, 52px);
        line-height: 1.02;
    }
    /* ---------- About ---------- */
    .home-page .about.about--story {
        padding: 64px 0 70px;
    }
    .home-page .about-story__layout {
        gap: 34px;
    }
    .home-page .about-story__copy h2 {
        font-size: clamp(42px, 13vw, 58px);
    }
    .home-page .about-story__lead {
        font-size: 18px;
        line-height: 1.5;
    }
    .home-page .about-story__text {
        font-size: 12.5px;
        line-height: 1.8;
    }
    .home-page .about-story__points {
        gap: 10px;
    }
    .home-page .about-story__points article {
        min-height: 0;
        padding: 16px 0;
        grid-template-columns: 30px minmax(0, 1fr);
    }
    .home-page .about-story__points article p {
        grid-column: 2;
    }
    .home-page .about-story__visual-grid {
        height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }
    .home-page .about-story__visual--main {
        grid-column: 1 / -1;
        min-height: 0;
        height: clamp(330px, 108vw, 460px);
        border-radius: 110px 110px 8px 8px;
    }
    .home-page .about-story__visual--small {
        height: 160px;
    }
    .home-page .about-story__panel {
        padding: 20px 18px;
    }
    .home-page .about-story__panel > strong {
        font-size: 20px;
    }
    .home-page .about-story__actions {
        gap: 22px;
        align-items: flex-start;
    }
    /* ---------- Apartments ---------- */
    .home-page .apartments.apartments--premium {
        padding-top: 66px;
        padding-bottom: 72px;
    }
    .home-page .apartment-premium-head {
        gap: 18px;
    }
    .home-page .apartment-premium-head__title h2 {
        font-size: clamp(40px, 12vw, 54px);
    }
    .home-page .apartment-types--premium {
        margin-top: 26px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow-x: visible;
    }
    .home-page .apartment-types--premium .apartment-types__button {
        min-width: 0;
        min-height: 54px;
        padding: 8px 5px;
        font-size: 8.5px;
    }
    .home-page .apartment-main--premium {
        margin-top: 14px;
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
    .home-page .apartment-main--premium .apartment-main__arrow {
        width: 42px;
        height: 42px;
    }
    .home-page .apartment-thumbs--premium {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
    .home-page .apartment-thumbs--premium::-webkit-scrollbar {
        display: none;
    }
    .home-page .apartment-thumbs--premium > * {
        flex: 0 0 92px;
        scroll-snap-align: start;
    }
    .home-page .apartment-selected {
        gap: 16px;
    }
    .home-page .apartment-selected h3 {
        font-size: clamp(27px, 8.5vw, 38px);
    }
    .home-page .apartment-features--premium {
        grid-template-columns: 1fr !important;
    }
    .home-page .apartment-features--premium article {
        min-height: 68px;
    }
    .home-page .apartment-offer--premium {
        padding: 20px 16px;
    }
    .home-page .apartment-offer__content {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .home-page .apartment-rate-separator {
        width: 100%;
        height: 1px;
    }
    .home-page .apartment-book {
        width: 100%;
        min-height: 50px;
    }
    /* ---------- Infrastructure ---------- */
    .home-page .infrastructure-section {
        padding-top: 66px;
        padding-bottom: 70px;
    }
    .home-page .infrastructure-head h2 {
        font-size: clamp(40px, 12vw, 54px);
    }
    .home-page .infrastructure-toolbar {
        gap: 12px;
    }
    .home-page .infrastructure-filters {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .home-page .infrastructure-filters::-webkit-scrollbar {
        display: none;
    }
    .home-page .infrastructure-filter {
        flex: 0 0 auto;
        min-height: 42px;
        white-space: nowrap;
    }
    .home-page .infrastructure-search {
        width: 100%;
        max-width: none;
    }
    .home-page .infrastructure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* ---------- NP modal ---------- */
    .home-page .infrastructure-drawer {
        top: max(8px, env(safe-area-inset-top));
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        left: 8px;
    }
    .home-page .infrastructure-drawer__scroll {
        display: block;
        height: 100%;
        overflow-y: auto;
    }
    .home-page .infrastructure-drawer__hero {
        position: relative;
        height: auto;
        border-radius: 18px 18px 0 0;
    }
    .home-page .infrastructure-drawer__hero-button {
        height: min(39vh, 300px);
    }
    .home-page .infrastructure-drawer__body {
        overflow: visible;
    }
    /* ---------- Location ---------- */
    .home-page .location-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }
    .home-page .location-section__heading h2 {
        font-size: clamp(40px, 12vw, 52px);
    }
    .home-page .location-section__layout {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        gap: 14px;
    }
    .home-page .location-map-shell, .home-page .location-map {
        min-height: 350px;
    }
    .home-page .location-list {
        grid-auto-columns: minmax(280px, 86%);
    }
    .home-page .location-benefits {
        grid-template-columns: 1fr 1fr;
    }
    .home-page .location-benefits article {
        padding: 14px 12px;
        border-bottom: 1px solid rgba(157, 111, 39, .14);
    }
    /* ---------- Gallery ---------- */
    .home-page .gallery.gallery--preview {
        padding-top: 66px !important;
        padding-bottom: 70px !important;
    }
    .home-page .gallery-preview__head h2 {
        font-size: clamp(40px, 12vw, 52px) !important;
    }
    .home-page .gallery-preview__slide {
        height: min(68vh, 430px);
    }
}

@media (max-width: 430px) {
    /* ---------- Home compact phones ---------- */
    .home-page .about-story__visual--small {
        height: 138px;
    }
    .home-page .apartment-types--premium {
        grid-template-columns: 1fr;
    }
    .home-page .apartment-types--premium .apartment-types__button {
        min-height: 48px;
    }
    .home-page .infrastructure-grid {
        grid-template-columns: 1fr;
    }
    .home-page .location-benefits {
        grid-template-columns: 1fr;
    }
    .home-page .location-list {
        grid-auto-columns: minmax(270px, 92%);
    }
}


/* =========================================================
   INFRASTRUCTURE — CTA BUTTON REDESIGN
   More premium, cleaner and less generic on the main page.
========================================================= */
.infrastructure-page-link {
    position: relative;
    isolation: isolate;
    min-height: 60px;
    margin: 34px auto 0;
    padding: 8px 10px 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(201, 169, 106, 0.34);
    border-radius: 22px;
    color: #9d6f27;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 247, 239, 0.98) 100%);
    box-shadow: 0 18px 40px rgba(83, 60, 33, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

.infrastructure-page-link::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 45%);
    pointer-events: none;
    z-index: -1;
}

.infrastructure-page-link__ornament {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 236, 213, 0.95) 0%, rgba(240, 219, 176, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 16px rgba(189, 139, 54, 0.14);
}

.infrastructure-page-link__ornament i {
    width: 9px;
    height: 9px;
    border-width: 1.4px;
    border-color: #9d6f27;
}

.infrastructure-page-link__text {
    min-height: auto;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.15;
}

.infrastructure-page-link__arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 10px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #c89a49 0%, #a6702b 100%);
    box-shadow: 0 10px 18px rgba(157, 111, 39, 0.18);
    stroke-width: 1.7;
}

.infrastructure-page-link:hover {
    transform: translateY(-3px);
    color: #8a6020;
    border-color: rgba(189, 139, 54, 0.52);
    background: linear-gradient(180deg, #fffdfa 0%, #fbf2e3 100%);
    box-shadow: 0 24px 44px rgba(83, 60, 33, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.infrastructure-page-link:hover .infrastructure-page-link__ornament {
    background: linear-gradient(180deg, rgba(250, 239, 217, 0.98) 0%, rgba(241, 220, 180, 0.98) 100%);
    transform: translateY(-1px);
}

.infrastructure-page-link:hover .infrastructure-page-link__ornament i {
    background: transparent;
    transform: rotate(45deg) scale(1.12);
}

.infrastructure-page-link:hover .infrastructure-page-link__arrow {
    transform: translateX(4px) scale(1.03);
}

.infrastructure-page-link:focus-visible {
    outline: 2px solid rgba(201, 169, 106, 0.45);
    outline-offset: 4px;
}

@media (max-width: 700px) {
    .infrastructure-page-link {
        min-height: 56px;
        margin-top: 24px;
        padding: 7px 9px 7px 12px;
        gap: 10px;
        border-radius: 20px;
    }

    .infrastructure-page-link__ornament {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 12px;
    }

    .infrastructure-page-link__text {
        font-size: 8.7px;
        letter-spacing: 0.12em;
    }

    .infrastructure-page-link__arrow {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        padding: 9px;
        border-radius: 11px;
    }
}

@media (max-width: 390px) {
    .infrastructure-page-link {
        width: min(100%, 320px);
        justify-content: space-between;
        padding-right: 8px;
    }

    .infrastructure-page-link__text {
        flex: 1 1 auto;
        justify-content: flex-start;
        text-align: left;
    }
}


/* =========================================================
   INFRASTRUCTURE — CTA BUTTON REFINEMENT
   Keep the button calmer and more native to the page.
========================================================= */
.infrastructure-page-link {
    min-height: 56px;
    padding: 7px 8px 7px 20px;
    gap: 14px;
    border-radius: 999px;
    border-color: rgba(201, 169, 106, 0.26);
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.98) 0%, rgba(251, 246, 237, 0.98) 100%);
    box-shadow: 0 10px 26px rgba(83, 60, 33, 0.05);
}

.infrastructure-page-link::before {
    display: none;
}

.infrastructure-page-link__ornament,
.infrastructure-page-link__arrow {
    display: none !important;
}

.infrastructure-page-link__text {
    min-height: auto;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.infrastructure-page-link__brandmark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(245, 232, 207, 0.96) 0%, rgba(234, 213, 173, 0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 8px 18px rgba(189, 139, 54, 0.12);
}

.infrastructure-page-link__brandmark img {
    width: 20px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(36%) sepia(28%) saturate(951%) hue-rotate(357deg) brightness(92%) contrast(90%);
}

.infrastructure-page-link:hover {
    transform: translateY(-2px);
    color: #8f6423;
    border-color: rgba(189, 139, 54, 0.42);
    background: linear-gradient(180deg, #fffdfa 0%, #fbf4e8 100%);
    box-shadow: 0 14px 30px rgba(83, 60, 33, 0.08);
}

.infrastructure-page-link:hover .infrastructure-page-link__brandmark {
    transform: translateX(1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 20px rgba(189, 139, 54, 0.16);
}

@media (max-width: 700px) {
    .infrastructure-page-link {
        min-height: 52px;
        padding: 6px 7px 6px 16px;
        gap: 12px;
    }

    .infrastructure-page-link__text {
        font-size: 8.3px;
        letter-spacing: 0.12em;
    }

    .infrastructure-page-link__brandmark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .infrastructure-page-link__brandmark img {
        width: 18px;
    }
}

@media (max-width: 390px) {
    .infrastructure-page-link {
        width: min(100%, 310px);
        justify-content: space-between;
        padding-left: 16px;
    }

    .infrastructure-page-link__text {
        flex: 1 1 auto;
        justify-content: flex-start;
        text-align: left;
    }
}


/* =========================================================
   MAIN PAGE — MOBILE ABOUT ACTIONS ALIGNMENT FIX
   Keep the "Подробнее" CTA and the address block
   on a single horizontal row across mobile widths.
========================================================= */
@media (max-width: 720px) {
    .home-page .about-story__actions {
        margin-top: 6px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 14px;
    }

    .home-page .about-story__link {
        min-height: 50px;
        padding: 0 18px;
        gap: 14px;
        align-self: auto;
        flex: 0 0 auto;
        font-size: 8px;
        letter-spacing: 0.12em;
    }

    .home-page .about-story__link .ui-arrow {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .home-page .about-story__address {
        margin-left: auto;
        align-self: auto;
        justify-content: flex-end;
        gap: 12px;
        min-width: 0;
        flex: 0 1 auto;
    }

    .home-page .about-story__address img {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .home-page .about-story__address span {
        gap: 4px;
    }

    .home-page .about-story__address small {
        font-size: 6px;
        letter-spacing: 0.16em;
    }

    .home-page .about-story__address strong {
        font-size: 15px;
        line-height: 1.08;
    }
}

@media (max-width: 430px) {
    .home-page .about-story__actions {
        gap: 10px;
    }

    .home-page .about-story__link {
        min-height: 48px;
        padding: 0 16px;
        gap: 12px;
        font-size: 7.5px;
        letter-spacing: 0.11em;
    }

    .home-page .about-story__address {
        width: auto;
        gap: 10px;
    }

    .home-page .about-story__address img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .home-page .about-story__address small {
        font-size: 5.5px;
        letter-spacing: 0.13em;
    }

    .home-page .about-story__address strong {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .home-page .about-story__actions {
        gap: 8px;
    }

    .home-page .about-story__link {
        min-height: 46px;
        padding: 0 14px;
        gap: 10px;
        font-size: 7px;
        letter-spacing: 0.1em;
    }

    .home-page .about-story__address {
        gap: 8px;
    }

    .home-page .about-story__address img {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .home-page .about-story__address small {
        font-size: 5px;
        letter-spacing: 0.11em;
    }

    .home-page .about-story__address strong {
        font-size: 13px;
    }
}

/* =========================================================
   HOME — RESIDENCE INFRASTRUCTURE + EVERYTHING NEARBY
   2026 refresh: separates building amenities from businesses
========================================================= */
.home-infra,
.home-nearby {
    position: relative;
    padding: clamp(76px, 7vw, 128px) 0;
}

.home-infra {
    background: #fbf7f0;
    border-top: 1px solid rgba(157,111,39,.12);
    border-bottom: 1px solid rgba(157,111,39,.12);
}

.home-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: clamp(36px, 6vw, 110px);
    align-items: end;
    margin-bottom: clamp(36px, 4vw, 64px);
}

.home-section-head h2,
.home-nearby h2 {
    max-width: 900px;
    margin-top: 14px;
    font: 500 clamp(38px, 4.2vw, 72px)/1.02 "Playfair Display", serif;
    letter-spacing: -.035em;
}

.home-section-head__side {
    display: grid;
    gap: 24px;
    justify-items: start;
}

.home-section-head__side p,
.home-nearby__lead {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.8;
}

.home-section-link,
.home-nearby__link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--gold);
    color: var(--gold2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-section-link .ui-arrow,
.home-nearby__link .ui-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.home-infra__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-infra-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #201d19;
    color: #fff;
    isolation: isolate;
}

.home-infra-card--wide {
    min-height: 500px;
}

.home-infra-card figure,
.home-infra-card figure::after,
.home-infra-card figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-infra-card figure::after {
    content: "";
    background: linear-gradient(180deg, rgba(20,18,15,.05) 20%, rgba(20,18,15,.82) 100%);
    z-index: 1;
}

.home-infra-card figure img {
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.home-infra-card:hover figure img {
    transform: scale(1.035);
}

.home-infra-card__content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: clamp(24px, 3vw, 44px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 16px;
    align-items: center;
}

.home-infra-card__content small {
    grid-column: 3;
    grid-row: 1;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    letter-spacing: .12em;
}

.home-infra-card__content h3 {
    grid-column: 2 / 4;
    margin-top: 2px;
    font: 500 clamp(25px, 2.2vw, 38px)/1.1 "Playfair Display", serif;
}

.home-infra-card__content p {
    grid-column: 2 / 4;
    max-width: 660px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.65;
}

.home-feature-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(189,139,54,.42);
    color: var(--gold);
    background: rgba(255,254,250,.88);
}

.home-feature-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-infra-card .home-feature-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: end;
    color: #fff;
    border-color: rgba(255,255,255,.42);
    background: rgba(24,21,18,.24);
    backdrop-filter: blur(8px);
}

.home-nearby {
    background: var(--paper);
}

.home-nearby__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: clamp(40px, 7vw, 120px);
    align-items: center;
}

.home-nearby__visual {
    min-width: 0;
}

.home-nearby__main-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee7dc;
}

.home-nearby__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-nearby__logo-wall {
    width: min(88%, 700px);
    margin: -46px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 48px rgba(45,35,24,.12);
}

.home-nearby__logo-wall span {
    min-height: 92px;
    padding: 16px;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(157,111,39,.12);
}

.home-nearby__logo-wall span:last-child { border-right: 0; }
.home-nearby__logo-wall img { max-width: 100%; max-height: 54px; object-fit: contain; }

.home-nearby__copy { min-width: 0; }
.home-nearby__copy .eyebrow { margin-bottom: 4px; }
.home-nearby__lead { margin-top: 28px; }

.home-nearby__features {
    margin: 34px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.home-nearby__features > div {
    min-height: 94px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 500;
}

.home-nearby__features .home-feature-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border: 0;
    background: #f8f1e6;
}

.home-nearby__features .home-feature-icon svg { width: 20px; height: 20px; }

/* Unified inline icon sizing across all pages */
.ui-arrow,
.infra-icon svg,
.location-benefits svg,
.apartment-book svg,
.book-btn svg,
.mobile-menu__book svg {
    flex: 0 0 auto;
}

@media (max-width: 1079px) {
    .home-section-head,
    .home-nearby__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .home-section-head__side { max-width: 760px; }
    .home-nearby__copy { max-width: 820px; }
}

@media (max-width: 760px) {
    .home-infra,
    .home-nearby { padding: 66px 0; }
    .home-section-head h2,
    .home-nearby h2 { font-size: clamp(34px, 10vw, 48px); }
    .home-infra__grid { grid-template-columns: 1fr; gap: 12px; }
    .home-infra-card,
    .home-infra-card--wide { min-height: clamp(340px, 112vw, 480px); }
    .home-infra-card__content {
        grid-template-columns: auto 1fr;
        padding: 24px 20px;
    }
    .home-infra-card__content small { grid-column: 2; }
    .home-infra-card__content h3,
    .home-infra-card__content p { grid-column: 2; }
    .home-infra-card__content p { font-size: 12px; }
    .home-infra-card .home-feature-icon { grid-row: 1 / 4; }
    .home-nearby__logo-wall { width: calc(100% - 24px); margin-top: -28px; grid-template-columns: repeat(2,1fr); }
    .home-nearby__logo-wall span { min-height: 76px; border-bottom: 1px solid rgba(157,111,39,.12); }
    .home-nearby__logo-wall span:nth-child(2) { border-right: 0; }
    .home-nearby__logo-wall span:nth-child(n+3) { border-bottom: 0; }
    .home-nearby__features { grid-template-columns: 1fr; }
    .home-nearby__features > div { min-height: 76px; }
}

@media (max-width: 430px) {
    .home-section-head { margin-bottom: 28px; }
    .home-section-head__side { gap: 18px; }
    .home-feature-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .home-infra-card__content { gap: 8px 12px; }
    .home-infra-card__content h3 { font-size: 26px; }
    .home-nearby__main-image { aspect-ratio: 1 / 1.05; }
}

/* General responsive hardening used by every page */
@media (max-width: 760px) {
    .container { width: min(calc(100% - 36px), var(--max)); }
    .topbar { height: auto; min-height: 44px; padding: 7px 0; }
    .topbar__inner { width: calc(100% - 28px); gap: 10px; justify-content: space-between; }
    .topbar a { gap: 5px; min-width: 0; }
    .topbar small { display: none; }
    .topbar strong { font-size: 11px; white-space: nowrap; }
    .topbar i { height: 18px; }
    .header__inner { width: calc(100% - 28px); }
    .brand__text strong { font-size: 21px; }
    .brand__text small { letter-spacing: 3.5px; }
    .book-btn { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu { padding: 24px 22px; }
    .mobile-menu nav a { min-height: 48px; display: flex; align-items: center; }
    .hero-intro__copy { max-width: calc(100% - 36px); }
    .booking-modal__dialog { max-height: calc(100dvh - 20px); }
}

@media (max-width: 390px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .topbar__inner { width: calc(100% - 20px); }
    .topbar strong { font-size: 10px; }
    .brand { gap: 8px; }
    .brand__logo { width: 42px; }
    .brand__text strong { font-size: 18px; }
}

.topbar__phone-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-grid;
    place-items: center;
    color: var(--gold);
}
.topbar__phone-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}
