:root {
  --yellow: #f5b231;
  --paper: #e5ecf0;
  --ink: #201d17;
  --white: #fffdf8;
  --muted: #687078;
  --line: rgba(32, 29, 23, 0.16);
  --shadow: 0 24px 70px rgba(32, 29, 23, 0.16);
  --radius: 22px;
  --container: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(229, 236, 240, .92); box-shadow: 0 8px 40px rgba(32, 29, 23, .08); backdrop-filter: blur(18px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; line-height: 1.05; letter-spacing: .03em; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; background: var(--yellow); border-radius: 50% 50% 50% 10%; font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.desktop-nav { display: flex; gap: clamp(22px, 3vw, 48px); margin-left: auto; }
.desktop-nav a { position: relative; padding: 12px 0; font-size: 14px; font-weight: 650; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 8px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(245, 178, 49, .26); }
.button-dark { background: var(--ink); color: white; }
.button-large { min-height: 62px; padding-inline: 28px; }
.button-dark > span:not(.one-click) { padding: 5px 9px; background: var(--yellow); color: var(--ink); border-radius: 99px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.one-click { padding: 6px 9px; border: 1px solid rgba(32, 29, 23, .32); border-radius: 99px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.one-click-light { border-color: rgba(255,255,255,.35); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 770px; padding: 134px 0 40px; background: var(--paper); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -280px; top: 160px; border: 1px solid rgba(32,29,23,.14); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(38px, 6vw, 90px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow > span { width: 25px; height: 2px; background: var(--yellow); }
.hero h1 { max-width: 770px; margin-bottom: 25px; font-family: var(--serif); font-size: clamp(54px, 6vw, 94px); line-height: .94; font-weight: 500; letter-spacing: -.055em; }
.hero h1 em { position: relative; display: inline-block; font-style: italic; font-weight: 400; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; left: -1%; right: -2%; bottom: 2px; height: 16px; background: var(--yellow); transform: rotate(-1.2deg); }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: #4e5357; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.text-link { font-size: 15px; font-weight: 750; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translate(4px, 4px); }
.hero-meta { display: flex; gap: 0; margin-top: 48px; }
.hero-meta > div { display: flex; flex-direction: column; min-width: 120px; padding: 0 24px; border-left: 1px solid var(--line); }
.hero-meta > div:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.hero-meta span { margin-top: 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; min-height: 550px; display: grid; place-items: center; }
.hero-number { position: absolute; z-index: 0; top: -35px; right: -10px; color: var(--yellow); font-family: var(--serif); font-size: clamp(180px, 22vw, 340px); line-height: .8; letter-spacing: -.1em; opacity: .85; }
.hero-photo { position: relative; z-index: 2; width: min(100%, 480px); margin: 35px 0 0; transform: rotate(2.4deg); background: var(--ink); padding: 12px 12px 0; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-photo figcaption { display: flex; align-items: center; justify-content: space-between; padding: 15px 3px 16px; color: white; font-size: 12px; }
.hero-photo figcaption span { color: #aeb6ba; text-transform: uppercase; letter-spacing: .08em; }
.hero-photo figcaption strong { font-weight: 700; }
.hero-note { position: absolute; z-index: 3; left: -15px; bottom: 37px; max-width: 200px; padding: 14px 16px; background: var(--yellow); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; transform: rotate(-3deg); }
.hero-marquee { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; background: var(--ink); color: var(--yellow); padding: 13px 0; white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.hero-marquee div { width: max-content; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.catalog-section { padding: 110px 0 120px; background: #f7f8f7; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-heading h2, .faq-section h2, .final-cta h2, .how-section h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(46px, 6vw, 78px); line-height: .97; font-weight: 500; letter-spacing: -.045em; }
.section-heading > p { max-width: 390px; margin-bottom: 7px; color: var(--muted); line-height: 1.55; }
.demo-banner { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 13px 16px; border: 1px solid #d89c26; background: #fff8e7; font-size: 13px; }
.demo-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,178,49,.24); }
.demo-banner > span:last-child { color: #73633e; }
.filters { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.filters label { position: relative; display: block; padding: 11px 15px 10px; background: rgba(255,255,255,.65); border-radius: 12px; }
.filters label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.filters select { width: 100%; border: 0; background: transparent; color: var(--ink); font-weight: 700; outline: 0; cursor: pointer; }
.filter-reset { align-self: stretch; padding: 0 18px; background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; }
.filter-reset:hover { background: white; }
.catalog-summary { display: flex; justify-content: space-between; gap: 20px; margin: 22px 2px; color: var(--muted); font-size: 13px; }
.catalog-summary p { margin: 0; }
.catalog-summary strong { color: var(--ink); }
.apartment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.apartment-card { position: relative; overflow: hidden; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(32,29,23,.08); box-shadow: 0 9px 30px rgba(32,29,23,.055); cursor: pointer; transition: transform .3s, box-shadow .3s; }
.apartment-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(32,29,23,.13); }
.card-image { position: relative; overflow: hidden; aspect-ratio: 1.42; background: #cbd2d6; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.8,.25,1); }
.apartment-card:hover .card-image img { transform: scale(1.045); }
.card-index { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px; background: var(--ink); color: white; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.card-favorite { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.92); border: 0; border-radius: 50%; cursor: pointer; font-size: 19px; transition: background .2s, color .2s; }
.card-favorite:hover, .card-favorite.active { background: var(--yellow); color: var(--ink); }
.card-body { padding: 21px 21px 18px; }
.card-kicker { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.card-kicker span:last-child { color: #966d1d; }
.card-body h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 27px; line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.card-address { min-height: 20px; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.card-price { display: flex; align-items: baseline; gap: 5px; }
.card-price strong { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.card-price span { color: var(--muted); font-size: 11px; }
.card-open { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); font-size: 20px; transition: transform .2s; }
.apartment-card:hover .card-open { transform: rotate(-45deg); }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state > span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); font-size: 30px; }
.empty-state h3 { margin: 20px 0 8px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.empty-state p { color: var(--muted); }

.how-section { padding: 115px 0; background: var(--ink); color: white; }
.how-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 9vw, 150px); }
.eyebrow-light { color: #d8dcdd; }
.how-intro { position: sticky; top: 130px; align-self: start; }
.how-intro h2 { color: var(--yellow); }
.how-intro > p:last-child { max-width: 390px; margin-top: 27px; color: #acb2b4; line-height: 1.6; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 37px 0; border-top: 1px solid rgba(255,255,255,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.steps li > span { color: var(--yellow); font-family: var(--serif); font-size: 42px; }
.steps h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.steps p { max-width: 480px; margin-bottom: 0; color: #aeb5b8; line-height: 1.55; }

.faq-section { padding: 110px 0 120px; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 8vw, 130px); }
.faq-heading { align-self: start; position: sticky; top: 130px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; min-height: 95px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); font-family: var(--sans); transition: transform .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: -5px 65px 28px 0; color: var(--muted); line-height: 1.6; }

.final-cta { padding: 90px 0; background: var(--yellow); }
.final-cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.final-cta-action p { max-width: 520px; margin-bottom: 25px; line-height: 1.55; }
.site-footer { padding: 62px 0 28px; background: #15130f; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1.1fr; gap: 60px; }
.brand-footer { margin-bottom: 22px; }
.footer-grid > div:first-child > p, .footer-grid > div:last-child > p:last-child { max-width: 420px; color: #91999d; line-height: 1.55; }
.footer-grid > div:nth-child(2) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a:not(.brand) { color: #d4d8da; }
.footer-label { color: var(--yellow); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #777f82; font-size: 12px; }
.mobile-booking { display: none; }

dialog { padding: 0; border: 0; color: var(--ink); background: var(--white); box-shadow: 0 25px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(14,13,10,.72); backdrop-filter: blur(7px); }
.apartment-dialog { width: min(1180px, calc(100% - 40px)); max-height: calc(100dvh - 40px); border-radius: 24px; overflow: auto; }
.dialog-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; font-size: 28px; line-height: 1; box-shadow: 0 5px 20px rgba(0,0,0,.1); }
.dialog-layout { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 730px; }
.gallery { display: flex; flex-direction: column; padding: 14px; background: var(--ink); }
.gallery-main { position: relative; flex: 1; min-height: 510px; overflow: hidden; border-radius: 16px; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; transform: translateY(-50%); font-size: 18px; }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-counter { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 99px; background: rgba(32,29,23,.8); color: white; font-size: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { overflow: hidden; aspect-ratio: 1.55; padding: 0; border: 2px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; opacity: .58; }
.gallery-thumb.active { border-color: var(--yellow); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: 54px 40px 34px; }
.dialog-topline { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.dialog-topline span:last-child { color: #8a651f; }
.dialog-content h2 { margin-bottom: 8px; font-family: var(--serif); font-size: clamp(37px, 4vw, 55px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.dialog-address { color: var(--muted); }
.dialog-facts { display: flex; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.dialog-facts span, .amenities span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; font-weight: 700; }
.dialog-description { color: #555a5d; line-height: 1.58; }
.amenities { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 24px; }
.amenities span::before { content: "✓"; margin-right: 6px; color: #a06e0d; }
.map-card { position: relative; height: 190px; overflow: hidden; background: #dce3e5; border-radius: 16px; border: 1px solid rgba(32,29,23,.12); }
.map-grid { position: absolute; inset: -30%; background-image: linear-gradient(90deg, transparent 47%, rgba(255,255,255,.85) 48%, rgba(255,255,255,.85) 52%, transparent 53%), linear-gradient(0deg, transparent 46%, rgba(255,255,255,.9) 47%, rgba(255,255,255,.9) 51%, transparent 52%); background-size: 95px 76px; }
.map-grid-a { transform: rotate(9deg); }
.map-grid-b { transform: rotate(-27deg); opacity: .55; background-size: 150px 110px; }
.map-river { position: absolute; width: 360px; height: 90px; right: -110px; bottom: -35px; border: 20px solid rgba(126,173,191,.38); border-radius: 50%; transform: rotate(-15deg); }
.map-road { position: absolute; color: #737d81; font-size: 9px; transform: rotate(-8deg); }
.road-one { left: 12%; top: 34%; }
.road-two { right: 6%; top: 53%; transform: rotate(14deg); }
.map-pin { position: absolute; left: 50%; top: 48%; width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50% 50% 50% 3px; transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 5px 15px rgba(32,29,23,.26); }
.map-pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.map-label { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: rgba(255,255,255,.9); border-radius: 9px; font-size: 10px; }
.map-label span { color: var(--muted); }
.dialog-booking-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.dialog-booking-row > div { display: flex; gap: 5px; align-items: baseline; }
.dialog-booking-row strong { font-family: var(--serif); font-size: 30px; }
.dialog-booking-row span { color: var(--muted); font-size: 11px; }

.booking-dialog { width: min(840px, calc(100% - 40px)); border-radius: 24px; overflow: hidden; }
.booking-layout { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 620px; }
.booking-side { display: flex; flex-direction: column; justify-content: space-between; padding: 38px 30px; background: var(--yellow); overflow: hidden; }
.booking-number { display: block; margin-left: -20px; font-family: var(--serif); font-size: 190px; line-height: .8; letter-spacing: -.12em; }
.booking-side p { margin: 0; font-family: var(--serif); font-size: 35px; line-height: 1.05; }
.booking-form { padding: 45px 42px 30px; }
.booking-form h2, .booking-success h2 { margin-bottom: 15px; font-family: var(--serif); font-size: 49px; line-height: .98; font-weight: 500; letter-spacing: -.04em; }
.booking-form > p:not(.eyebrow):not(.form-note) { margin-bottom: 26px; color: var(--muted); }
.booking-form label:not(.consent) { display: block; margin-bottom: 15px; }
.booking-form label:not(.consent) > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.booking-form input:not([type="checkbox"]) { width: 100%; height: 49px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #f3f5f5; outline: 0; }
.booking-form input:focus { border-color: #b67b0c; box-shadow: 0 0 0 3px rgba(245,178,49,.25); }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; margin: 4px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.consent input { width: 17px; height: 17px; accent-color: var(--yellow); }
.booking-form .button { width: 100%; }
.form-note { margin: 14px 0 0; color: #8a9194; font-size: 10px; line-height: 1.45; text-align: center; }
.booking-success { grid-column: 1 / -1; display: grid; place-items: center; align-content: center; min-height: 620px; padding: 50px; text-align: center; }
.booking-success[hidden] { display: none; }
.booking-success > span { display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 25px; border-radius: 50%; background: var(--yellow); font-size: 38px; }
.booking-success p { color: var(--muted); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; padding: 13px 18px; background: var(--ink); color: white; border-radius: 99px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .25s, transform .25s; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .apartment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 25px; }
  .hero-photo { width: 390px; }
  .hero h1 { font-size: clamp(53px, 7.2vw, 72px); }
  .dialog-layout { grid-template-columns: 1fr; }
  .apartment-dialog { max-width: 760px; }
  .gallery-main { min-height: 430px; }
  .how-grid, .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .how-intro, .faq-heading { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { background: rgba(229,236,240,.92); backdrop-filter: blur(14px); }
  .header-inner { height: 68px; }
  .header-cta { display: none; }
  .brand-mark { width: 38px; height: 38px; font-size: 20px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 50%; background: var(--ink); }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: white; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; inset: 68px 0 auto; display: grid; gap: 0; padding: 10px 20px 20px; background: var(--paper); border-top: 1px solid var(--line); transform: translateY(-130%); opacity: 0; transition: transform .25s, opacity .25s; z-index: -1; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; }
  .mobile-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }
  .hero { min-height: auto; padding: 105px 0 63px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(48px, 14.2vw, 66px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .text-link { align-self: flex-start; }
  .hero-meta { margin-top: 35px; }
  .hero-meta > div { min-width: 0; flex: 1; padding-inline: 13px; }
  .hero-meta strong { font-size: 27px; }
  .hero-visual { min-height: 475px; margin-top: 15px; }
  .hero-photo { width: calc(100% - 35px); margin-left: 10px; }
  .hero-photo img { aspect-ratio: 1 / 1.13; }
  .hero-number { right: -15px; top: -7px; font-size: 210px; }
  .hero-note { left: -1px; bottom: 13px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .section-heading h2, .faq-section h2, .final-cta h2, .how-section h2 { font-size: 48px; }
  .catalog-section, .how-section, .faq-section { padding: 78px 0; }
  .demo-banner { align-items: flex-start; flex-wrap: wrap; }
  .demo-banner > span:last-child { width: calc(100% - 25px); margin-left: 21px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
  .filter-reset { min-height: 56px; }
  .catalog-summary { align-items: flex-start; flex-direction: column; gap: 5px; }
  .apartment-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-body h3 { font-size: 29px; }
  .how-grid { gap: 45px; }
  .steps li { grid-template-columns: 64px 1fr; gap: 15px; }
  .steps li > span { font-size: 32px; }
  .faq-grid { gap: 30px; }
  .faq-list summary { min-height: 84px; }
  .final-cta { padding: 75px 0; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer { padding-bottom: 92px; }
  .mobile-booking { position: fixed; z-index: 40; display: flex; justify-content: center; align-items: center; gap: 8px; left: 14px; right: 14px; bottom: 12px; width: calc(100% - 28px); min-height: 54px; border: 0; border-radius: 999px; background: var(--yellow); box-shadow: 0 14px 35px rgba(32,29,23,.26); font-weight: 800; }
  .mobile-booking span { padding: 5px 8px; border: 1px solid rgba(32,29,23,.3); border-radius: 99px; font-size: 10px; text-transform: uppercase; }
  .apartment-dialog, .booking-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .gallery { min-height: 430px; }
  .gallery-main { min-height: 335px; }
  .dialog-content { padding: 37px 20px 28px; }
  .dialog-content h2 { padding-right: 35px; }
  .dialog-close { position: fixed; }
  .dialog-booking-row { align-items: stretch; flex-direction: column; }
  .dialog-booking-row .button { width: 100%; }
  .booking-layout { grid-template-columns: 1fr; min-height: 100%; }
  .booking-side { min-height: 130px; padding: 25px 22px; }
  .booking-number { position: absolute; right: 15px; margin: 0; font-size: 120px; opacity: .5; }
  .booking-side p { font-size: 28px; }
  .booking-form { padding: 36px 20px 28px; }
  .booking-form h2 { font-size: 44px; }
  .date-row { grid-template-columns: 1fr; gap: 0; }
  .booking-success { min-height: 100dvh; padding: 35px 20px; }
}

@media (max-width: 390px) {
  .filters { grid-template-columns: 1fr; }
  .filters label:first-child { grid-column: auto; }
  .hero h1 { font-size: 46px; }
  .hero h1 em { white-space: normal; }
  .hero-meta span { font-size: 9px; }
  .gallery { min-height: 390px; }
  .gallery-main { min-height: 300px; }
}

