:root {
  --ink: #171817;
  --ink-soft: #373733;
  --night: #111211;
  --cream: #f7f3ec;
  --paper: #fffdfa;
  --sand: #e8dfd2;
  --line: rgba(23, 24, 23, .13);
  --gold: #bd9144;
  --gold-dark: #98702c;
  --gold-light: #e3c787;
  --green: #15231e;
  --muted: #77746d;
  --shadow: 0 26px 80px rgba(28, 26, 21, .12);
  --radius: 24px;
  --container: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; left: 16px; top: -50px; z-index: 1000; padding: 10px 15px; background: white; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h2 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 70px); line-height: .99; }
h3 { font-size: 34px; line-height: 1.08; }
.eyebrow { margin-bottom: 18px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-light); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-heading > p { max-width: 510px; margin: 0 0 8px auto; color: var(--muted); font-size: 17px; }
.section-heading.centered { display: block; max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-heading.centered p { margin: 0 auto; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button.full { width: 100%; }
.button-gold { color: #171511; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 14px 34px rgba(189,145,68,.23); }
.button-gold:hover { box-shadow: 0 18px 42px rgba(189,145,68,.35); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #2a2b29; }
.button-glass { color: white; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.button-glass:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.65); }
.button-outline { border-color: var(--line); background: transparent; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: var(--gold-dark); background: none; font-size: 13px; font-weight: 700; cursor: pointer; }

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; color: white; border-bottom: 1px solid rgba(255,255,255,.12); transition: background .3s, box-shadow .3s, transform .3s; }
.site-header.scrolled { position: fixed; color: var(--ink); background: rgba(255,253,250,.92); box-shadow: 0 10px 40px rgba(0,0,0,.08); backdrop-filter: blur(18px); }
.header-row { display: grid; grid-template-columns: 190px 1fr auto; gap: 32px; align-items: center; min-height: 82px; }
.logo { position: relative; display: grid; width: 125px; grid-template-columns: 20px 1fr; grid-template-rows: 17px 37px 16px; color: inherit; line-height: 1; }
.logo-le { grid-column: 1; grid-row: 1; align-self: end; font-family: Georgia, serif; font-size: 9px; letter-spacing: .2em; }
.logo-main { grid-column: 1 / -1; grid-row: 2; font-family: Georgia, serif; font-size: 29px; letter-spacing: .12em; }
.logo-sub { grid-column: 1 / -1; grid-row: 3; font-size: 7px; letter-spacing: .21em; text-transform: uppercase; opacity: .72; }
.desktop-nav { display: flex; justify-content: center; gap: 28px; font-size: 12px; }
.desktop-nav a { opacity: .78; transition: opacity .2s; }
.desktop-nav a:hover { opacity: 1; }
.header-contacts { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.header-phone svg { width: 17px; }
.header-cta { min-height: 42px; padding: 0 18px; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 0; border: 1px solid currentColor; border-radius: 9px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 5px auto; background: currentColor; }
.mobile-menu { padding: 22px 24px 28px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .button { margin-top: 18px; }

.hero { position: relative; min-height: 900px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transform: scale(1.055); transition: opacity .9s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,8,.94) 0%, rgba(7,10,8,.78) 38%, rgba(7,10,8,.33) 64%, rgba(7,10,8,.58) 100%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 23%, transparent 70%, rgba(0,0,0,.46) 100%); }
.hero-grain { position: absolute; inset: 0; opacity: .15; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(50px, 7vw, 110px); align-items: center; width: var(--container); padding: 145px 0 105px; }
.hero-copy { max-width: 800px; }
.hero-label { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-label span { width: 42px; height: 1px; background: var(--gold-light); }
.hero h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(61px, 6.55vw, 103px); line-height: .91; letter-spacing: -.058em; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: inherit; }
.hero-copy > p { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.hero-actions { display: grid; grid-template-columns: minmax(210px, 1.25fr) repeat(2, minmax(140px, .9fr)); gap: 9px; max-width: 790px; margin-bottom: 42px; }
.hero-actions .button { min-height: 58px; padding: 0 18px; border-radius: 12px; }
.hero-primary { justify-content: center; font-size: 13px; }
.hero-contact { justify-content: flex-start; color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.075); backdrop-filter: blur(12px); font-size: 11px; }
.hero-contact:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }
.hero-contact-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.hero-contact-icon svg { width: 14px; }
.hero-proof { display: flex; align-items: stretch; }
.hero-proof > div { display: flex; align-items: center; gap: 12px; min-width: 175px; padding-right: 25px; margin-right: 25px; border-right: 1px solid rgba(255,255,255,.17); }
.hero-proof > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-proof strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 29px; font-weight: 400; white-space: nowrap; }
.hero-proof span { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.45; }
.hero-showcase { align-self: center; padding: 18px; border: 1px solid rgba(255,255,255,.19); border-radius: 22px; background: rgba(9,12,10,.58); box-shadow: 0 35px 100px rgba(0,0,0,.4); backdrop-filter: blur(16px); }
.hero-showcase-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 5px 16px; }
.hero-showcase-head span { color: var(--gold-light); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-showcase-head strong { font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.hero-property { position: relative; display: grid; width: 100%; grid-template-columns: 92px 1fr auto; gap: 13px; align-items: center; margin: 0 0 9px; padding: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: white; background: rgba(255,255,255,.045); text-align: left; cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.hero-property:hover, .hero-property.active { transform: translateX(-5px); border-color: rgba(227,199,135,.65); background: rgba(255,255,255,.11); }
.hero-property img { width: 92px; height: 68px; object-fit: cover; border-radius: 9px; }
.hero-property-copy { min-width: 0; }
.hero-property-copy small, .hero-property-copy b, .hero-property-copy em { display: block; }
.hero-property-copy small { margin-bottom: 1px; color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-property-copy b { font-family: Georgia, serif; font-size: 21px; font-weight: 400; line-height: 1.1; }
.hero-property-copy em { overflow: hidden; margin-top: 4px; color: rgba(255,255,255,.58); font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.hero-property-arrow { padding-right: 5px; color: var(--gold-light); font-size: 18px; }
.hero-all-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 6px 2px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.hero-all-link span { color: var(--gold-light); font-size: 16px; }
.hero-bottom-line { position: absolute; z-index: 2; left: 28px; bottom: 24px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.45); font-size: 7px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-bottom-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-light); }
.scroll-down { position: absolute; z-index: 3; right: 28px; bottom: 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.scroll-down span { width: 30px; height: 1px; background: currentColor; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 96px; align-items: center; }
.about-copy .lead { margin-bottom: 22px; color: var(--ink-soft); font-size: 20px; line-height: 1.55; }
.about-copy > p:not(.lead) { max-width: 620px; color: var(--muted); }
.about-features { display: grid; gap: 18px; margin-top: 40px; }
.about-features article { display: flex; align-items: center; gap: 16px; }
.feature-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(189,145,68,.4); border-radius: 50%; color: var(--gold-dark); }
.feature-icon svg { width: 21px; }
.about-features strong, .about-features small { display: block; }
.about-features strong { margin-bottom: 2px; font-size: 14px; }
.about-features small { color: var(--muted); font-size: 12px; }
.about-media { position: relative; min-height: 610px; }
.about-main { position: absolute; top: 0; right: 0; width: 82%; height: 510px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-float { position: absolute; left: 0; bottom: 0; width: 47%; height: 260px; object-fit: cover; border: 10px solid var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: 18px; bottom: 48px; display: flex; width: 190px; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; color: white; background: var(--green); box-shadow: var(--shadow); }
.about-badge strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.about-badge span { font-size: 11px; line-height: 1.35; }

.infrastructure { background: var(--cream); }
.infrastructure-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 290px 290px; gap: 18px; }
.infra-card { position: relative; overflow: hidden; border-radius: var(--radius); color: white; background: var(--ink); }
.infra-card.infra-large { grid-row: 1 / 3; }
.infra-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.infra-card:hover img { transform: scale(1.045); }
.infra-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(8,9,8,.8) 100%); }
.infra-card > div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; }
.infra-card span { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: 10px; letter-spacing: .18em; }
.infra-card h3 { margin-bottom: 8px; font-size: 33px; }
.infra-card p { max-width: 470px; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }

.investment { background: var(--paper); }
.investment-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 72px; border-radius: 30px; color: white; background: radial-gradient(circle at 80% 15%, rgba(189,145,68,.2), transparent 32%), linear-gradient(130deg, #0f1714, #171817); box-shadow: var(--shadow); }
.investment-copy h2 { font-size: clamp(45px, 4.8vw, 66px); }
.investment-copy p { max-width: 470px; margin-bottom: 28px; color: rgba(255,255,255,.65); }
.investment-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-self: center; }
.investment-metrics article { min-height: 250px; padding: 26px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.045); }
.investment-metrics small, .investment-metrics span { display: block; }
.investment-metrics small { min-height: 40px; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.investment-metrics strong { display: block; margin: 30px 0 18px; color: var(--gold-light); font-family: Georgia, serif; font-size: 48px; font-weight: 400; line-height: .95; }
.investment-metrics span { color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }
.investment-note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.36); font-size: 9px; }

.apartments { background: var(--cream); }
.apartment-card { display: grid; grid-template-columns: 1.2fr .9fr .9fr .88fr; gap: 20px; margin-bottom: 24px; padding: 24px; border: 1px solid rgba(23,24,23,.1); border-radius: 26px; background: var(--paper); box-shadow: 0 18px 60px rgba(28,26,21,.06); }
.apartment-info { padding: 12px 8px 12px 10px; }
.apartment-index { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.apartment-index span { padding: 5px 8px; border-radius: 999px; color: var(--gold-dark); background: rgba(189,145,68,.12); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.apartment-index strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.apartment-info h3 { margin-bottom: 14px; font-size: 31px; }
.apartment-info > p { color: var(--muted); font-size: 12px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.specs div { padding: 12px; border-radius: 10px; background: var(--cream); }
.specs dt { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.specs dd { margin: 3px 0 0; font-size: 12px; font-weight: 700; }
.check-list { display: grid; gap: 8px; padding: 0; margin: 0 0 24px; list-style: none; color: var(--ink-soft); font-size: 11px; }
.check-list li { position: relative; padding-left: 20px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }
.apartment-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.apartment-plan { display: grid; place-items: center; padding: 10px; border-radius: 18px; background: #faf8f3; }
.image-button { position: relative; overflow: hidden; display: block; padding: 0; border: 0; border-radius: 14px; background: #eee; cursor: zoom-in; }
.image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.image-button:hover img { transform: scale(1.035); }
.plan-image { width: 100%; height: 100%; min-height: 420px; background: white; }
.plan-image img { object-fit: contain; padding: 18px; }
.plan-image span { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 10px; border-radius: 999px; color: white; background: rgba(18,18,18,.75); font-size: 8px; white-space: nowrap; backdrop-filter: blur(10px); }
.apartment-photos { display: grid; grid-template-rows: 1.25fr .8fr .8fr; gap: 10px; }
.apartment-photos .image-button { width: 100%; min-height: 100px; }
.more-photo span { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgba(0,0,0,.38); font-family: Georgia, serif; font-size: 18px; }
.apartment-form { padding: 22px; border-radius: 18px; background: var(--cream); }
.apartment-form h4 { margin-bottom: 22px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.1; }
.apartment-form input { background: var(--paper); }

.gallery { background: var(--paper); }
.gallery-heading { align-items: end; }
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.gallery-tabs button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.gallery-tabs button.active { color: white; border-color: var(--gold); background: var(--gold); }
.apartment-gallery-grid { display: grid; grid-auto-rows: 220px; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 16px; background: #ddd; cursor: zoom-in; }
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item span, .hotel-photo span { position: absolute; left: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(0,0,0,.48); font-size: 9px; backdrop-filter: blur(8px); }
.gallery-item.filtered-out { display: none; }

.hotel-gallery { background: var(--cream); }
.hotel-gallery-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .8fr); grid-auto-rows: 250px; gap: 10px; }
.hotel-photo { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 17px; background: #ddd; cursor: zoom-in; }
.hotel-photo-main { grid-row: span 2; }
.hotel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hotel-photo:hover img { transform: scale(1.04); }

.benefits { background: var(--paper); }
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.benefit-grid article { min-height: 220px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(155deg, white, #f7f2e9); transition: transform .3s, box-shadow .3s; }
.benefit-grid article:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(0,0,0,.08); }
.benefit-icon { display: grid; width: 48px; height: 48px; margin-bottom: 24px; place-items: center; border-radius: 50%; color: var(--gold-dark); background: rgba(189,145,68,.11); font-family: Georgia, serif; font-size: 23px; }
.benefit-grid h3 { margin-bottom: 10px; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }

.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 100px; }
.faq-intro p { max-width: 440px; color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 23px 50px 23px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span, .accordion summary span::after { position: absolute; top: 50%; right: 7px; width: 16px; height: 1px; content: ""; background: var(--ink); transition: transform .25s; }
.accordion summary span::after { top: 0; right: 0; transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { padding-right: 70px; margin: -8px 0 22px; color: var(--muted); font-size: 12px; }

.consultation { position: relative; overflow: hidden; color: white; background: var(--night); }
.consultation > img { position: absolute; inset: 0; width: 42%; height: 100%; object-fit: cover; }
.consultation-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,10,.15) 0 33%, rgba(14,15,14,.94) 48%, #111211 100%); }
.consultation-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: center; min-height: 440px; padding-block: 70px; }
.consultation-copy { padding-left: 35%; }
.consultation-copy h2 { font-size: clamp(40px, 4vw, 58px); }
.consultation-copy p { color: rgba(255,255,255,.62); }
.consultation-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.consultation-form label { margin: 0; }
.consultation-form .comment-field { grid-column: 1 / 3; }
.consultation-form textarea { min-height: 48px; height: 48px; }
.consultation-form .policy-copy, .consultation-form .form-status { grid-column: 1 / -1; margin: 0; }

.contacts { padding: 90px 0; background: var(--paper); }
.contacts-grid { display: grid; grid-template-columns: 1.05fr .7fr 1fr; gap: 30px; }
.contact-main h2 { margin-bottom: 36px; font-size: 48px; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.contact-links a { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-links span, .contact-links strong { display: block; }
.contact-links span { margin-bottom: 5px; color: var(--muted); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.contact-links strong { font-size: 12px; }
.address-card { padding: 30px; border-radius: 20px; background: var(--cream); }
.address-card > span { color: var(--gold-dark); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.address-card h3 { margin: 18px 0 10px; font-size: 30px; }
.address-card p { color: var(--muted); font-size: 12px; }
.map-card { position: relative; overflow: hidden; min-height: 310px; border-radius: 20px; background: #ece4d6; }
.map-lines { position: absolute; inset: -30%; background: repeating-linear-gradient(28deg, transparent 0 65px, rgba(255,255,255,.8) 66px 73px), repeating-linear-gradient(122deg, transparent 0 95px, rgba(203,193,176,.9) 96px 100px); transform: rotate(-5deg); }
.map-water { position: absolute; left: -10%; bottom: -16%; width: 115%; height: 38%; border-radius: 50% 50% 0 0; background: #b7d4d9; transform: rotate(-7deg); }
.map-pin { position: absolute; left: 55%; top: 42%; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; background: var(--gold); box-shadow: 0 12px 25px rgba(0,0,0,.2); transform: rotate(-45deg); }
.map-pin i { position: absolute; left: 12px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: white; }
.map-card strong { position: absolute; left: 18px; top: 18px; font-family: Georgia, serif; font-size: 24px; }
.map-card small { position: absolute; right: 18px; bottom: 18px; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.85); }

.site-footer { padding: 34px 0; color: rgba(255,255,255,.62); background: var(--night); }
.footer-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 40px; align-items: center; }
.footer-logo { color: white; }
.footer-row p { margin: 0; font-size: 9px; }
.footer-links { display: flex; gap: 22px; font-size: 9px; }

.floating-contact { position: fixed; z-index: 120; right: 22px; bottom: 22px; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.float-main { display: grid; width: 58px; height: 58px; place-items: center; border: 0; border-radius: 50%; color: #171511; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 16px 45px rgba(0,0,0,.25); cursor: pointer; }
.float-main svg { width: 23px; }
.float-menu { display: flex; flex-direction: column-reverse; gap: 8px; }
.float-menu a, .float-menu button { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: white; background: var(--ink); box-shadow: 0 10px 25px rgba(0,0,0,.2); font-size: 12px; cursor: pointer; }
.float-menu span { position: absolute; right: 58px; padding: 5px 8px; border-radius: 6px; color: white; background: var(--ink); font-size: 9px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-menu a:hover span, .float-menu button:hover span { opacity: 1; }

.lead-modal, .lightbox { padding: 0; border: 0; color: var(--ink); background: transparent; }
.lead-modal::backdrop, .lightbox::backdrop { background: rgba(5,6,5,.82); backdrop-filter: blur(8px); }
.lead-modal { width: min(500px, calc(100% - 30px)); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.lead-modal form { padding: 40px; }
.lead-modal h2 { margin-bottom: 12px; font-size: 42px; }
.lead-modal p { color: var(--muted); font-size: 13px; }
.modal-close, .lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.6); font-size: 25px; cursor: pointer; }
.lightbox { width: min(1180px, calc(100% - 30px)); max-height: 92vh; }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 84vh; margin: auto; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { padding: 12px; color: white; text-align: center; font-size: 12px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 13px 18px; border-radius: 10px; color: white; background: var(--green); box-shadow: var(--shadow); font-size: 12px; animation: toast-in .3s ease; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; } }

@media (max-width: 1160px) {
  :root { --container: min(100% - 36px, 1040px); }
  .desktop-nav { gap: 18px; }
  .desktop-nav a:nth-child(3), .desktop-nav a:nth-child(4) { display: none; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; }
  .hero-actions { grid-template-columns: minmax(190px, 1.2fr) repeat(2, minmax(125px, .85fr)); }
  .hero-proof > div { min-width: 150px; padding-right: 18px; margin-right: 18px; }
  .apartment-card { grid-template-columns: 1.1fr .85fr .9fr; }
  .apartment-form { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
  .apartment-form .form-kicker, .apartment-form h4, .apartment-form .policy-copy, .apartment-form .form-status { grid-column: 1 / -1; }
  .apartment-form label { margin: 0; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { gap: 60px; }
  .consultation-copy { padding-left: 22%; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 30px, 760px); }
  .section { padding: 82px 0; }
  .header-row { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-phone, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.scrolled .menu-toggle { border-color: var(--line); }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; padding: 130px 0 82px; }
  .hero-copy { max-width: 720px; }
  .hero-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; max-width: 720px; }
  .hero-showcase-head, .hero-all-link { grid-column: 1 / -1; }
  .hero-property { grid-template-columns: 1fr; margin: 0; padding: 7px; }
  .hero-property:hover, .hero-property.active { transform: translateY(-4px); }
  .hero-property img { width: 100%; height: 115px; }
  .hero-property-arrow { position: absolute; right: 12px; bottom: 10px; }
  .hero-bottom-line, .scroll-down { display: none; }
  .section-heading, .about-grid, .faq-grid, .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-heading > p { margin-left: 0; }
  .about-grid { gap: 58px; }
  .about-media { min-height: 560px; }
  .infrastructure-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 280px; }
  .infra-card.infra-large { grid-column: 1 / -1; grid-row: auto; }
  .investment-shell { grid-template-columns: 1fr; padding: 50px; }
  .apartment-card { grid-template-columns: 1fr 1fr; }
  .apartment-info { grid-column: 1 / -1; }
  .apartment-form { grid-template-columns: 1fr 1fr; }
  .apartment-form button { grid-column: 1 / -1; }
  .apartment-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hotel-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-photo-main { grid-column: 1 / -1; grid-row: auto; }
  .consultation > img { width: 100%; opacity: .28; }
  .consultation-shade { background: rgba(14,15,14,.78); }
  .consultation-grid { grid-template-columns: 1fr; gap: 42px; }
  .consultation-copy { padding-left: 0; }
  .footer-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 24px); --radius: 18px; }
  .section { padding: 64px 0; }
  h2 { font-size: 42px; }
  .site-header { border-bottom-color: rgba(255,255,255,.15); }
  .header-row { min-height: 70px; }
  .logo { width: 112px; }
  .logo-main { font-size: 26px; }
  .hero-layout { padding: 108px 0 40px; }
  .hero-slide { object-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,7,5,.7) 0%, rgba(4,7,5,.82) 47%, rgba(4,7,5,.97) 100%); }
  .hero h1 { font-size: 51px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .hero-actions .hero-primary { grid-column: 1 / -1; }
  .hero-actions .button { min-height: 48px; padding: 0 9px; font-size: 10px; }
  .hero-contact { justify-content: center; }
  .hero-contact-icon { display: none; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof > div { display: block; min-width: 0; padding-right: 10px; margin-right: 10px; }
  .hero-proof strong { display: block; margin-bottom: 4px; font-size: 26px; }
  .hero-proof span { font-size: 9px; }
  .hero-showcase { grid-template-columns: 1fr 1fr; padding: 10px; }
  .hero-showcase-head { grid-column: 1 / -1; padding: 5px 5px 9px; }
  .hero-property-detail { display: none; }
  .hero-property img { height: 104px; }
  .hero-property-copy b { font-size: 18px; }
  .hero-property-copy em { font-size: 7px; }
  .glass-card { padding: 24px; }
  .about-copy .lead { font-size: 17px; }
  .about-media { min-height: 450px; }
  .about-main { width: 92%; height: 370px; }
  .about-float { width: 54%; height: 180px; border-width: 7px; }
  .about-badge { right: 0; bottom: 20px; width: 160px; }
  .infrastructure-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .infra-card, .infra-card.infra-large { min-height: 300px; }
  .investment-shell { gap: 42px; padding: 34px 22px; }
  .investment-metrics { grid-template-columns: 1fr; }
  .investment-metrics article { min-height: 180px; }
  .investment-metrics strong { margin: 18px 0 12px; }
  .apartment-card { display: block; padding: 14px; }
  .apartment-info, .apartment-plan, .apartment-photos, .apartment-form { margin-bottom: 14px; }
  .plan-image { min-height: 340px; }
  .apartment-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 130px; }
  .apartment-photos .photo-main { grid-column: 1 / -1; }
  .apartment-form { display: block; padding: 20px; }
  .apartment-form label { margin-bottom: 10px; }
  .gallery-heading { display: block; }
  .gallery-tabs { justify-content: flex-start; }
  .apartment-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .gallery-item.gallery-tall { grid-row: span 2; }
  .hotel-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .hotel-photo-main { grid-column: 1 / -1; min-height: 230px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid article { min-height: 190px; padding: 20px 16px; }
  .faq-grid { gap: 34px; }
  .consultation-grid { padding-block: 54px; }
  .consultation-form { display: block; }
  .consultation-form label, .consultation-form button { width: 100%; margin-bottom: 12px; }
  .contact-main h2 { font-size: 40px; }
  .contact-links { grid-template-columns: 1fr; }
  .map-card { min-height: 260px; }
  .floating-contact { right: 14px; bottom: 14px; }
  .float-main { width: 54px; height: 54px; }
  .lead-modal form { padding: 30px 22px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 46px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .hero-primary { grid-column: auto; }
  .hero-contact { justify-content: center; }
  .hero-proof { gap: 6px; }
  .hero-proof > div { margin-right: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
}


/* Первый экран v5: компактный выбор 101 / 102, фотография остаётся открытой */
.hero-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 155px; }
.hero-copy { max-width: 820px; }
.hero-shade { background: linear-gradient(90deg, rgba(7,10,8,.94) 0%, rgba(7,10,8,.78) 39%, rgba(7,10,8,.24) 67%, rgba(7,10,8,.10) 100%); }
.hero-switcher {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - min(1240px, calc(100% - 48px))) / 2));
  bottom: 70px;
  width: min(470px, calc(100% - 48px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(8,10,9,.28);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(9px);
}
.hero-switcher-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hero-switcher-label { color: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hero-apartment-tabs { display: flex; gap: 6px; }
.hero-apartment-tabs button {
  display: flex; align-items: baseline; gap: 6px; min-height: 38px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
  color: white; background: rgba(255,255,255,.055); cursor: pointer; transition: .25s;
}
.hero-apartment-tabs button:hover, .hero-apartment-tabs button.active { border-color: rgba(227,199,135,.8); background: rgba(227,199,135,.16); }
.hero-apartment-tabs b { font-family: Georgia, serif; font-size: 17px; font-weight: 400; }
.hero-apartment-tabs small { color: rgba(255,255,255,.63); font-size: 8px; }
.hero-frame-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.hero-frame-row[hidden] { display: none; }
.hero-frame-row button {
  position: relative; height: 68px; padding: 0; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: rgba(255,255,255,.04); cursor: pointer; opacity: .72; transition: opacity .25s, transform .25s, border-color .25s;
}
.hero-frame-row button:hover, .hero-frame-row button.active { opacity: 1; transform: translateY(-2px); border-color: var(--gold-light); }
.hero-frame-row img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame-row button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.52)); }
.hero-frame-row span { position: absolute; z-index: 2; right: 7px; bottom: 4px; color: white; font-size: 8px; font-weight: 700; letter-spacing: .12em; }

@media (max-width: 1160px) {
  .hero-switcher { right: 18px; width: 430px; }
}
@media (max-width: 900px) {
  .hero-layout { padding-bottom: 44px; }
  .hero-switcher { position: relative; right: auto; bottom: auto; width: var(--container); margin: 0 auto 28px; background: rgba(8,10,9,.45); }
  .hero-shade { background: linear-gradient(180deg, rgba(4,7,5,.60) 0%, rgba(4,7,5,.74) 48%, rgba(4,7,5,.92) 100%); }
}
@media (max-width: 640px) {
  .hero-switcher { width: calc(100% - 24px); padding: 9px; border-radius: 14px; }
  .hero-switcher-top { align-items: flex-start; }
  .hero-switcher-label { display: none; }
  .hero-apartment-tabs { width: 100%; }
  .hero-apartment-tabs button { flex: 1; justify-content: center; }
  .hero-frame-row { gap: 5px; margin-top: 7px; }
  .hero-frame-row button { height: 58px; border-radius: 8px; }
}

/* Первый экран v6: фотографии светлее, фильтр только поддерживает читаемость текста */
.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(7,10,8,.72) 0%,
    rgba(7,10,8,.52) 34%,
    rgba(7,10,8,.18) 58%,
    rgba(7,10,8,.03) 78%,
    transparent 100%
  );
}
.hero-shade::after {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.14) 0%,
    transparent 27%,
    transparent 73%,
    rgba(0,0,0,.20) 100%
  );
}
.hero-grain { opacity: .055; }
.hero h1,
.hero-copy > p,
.hero-label,
.hero-proof { text-shadow: 0 2px 22px rgba(0,0,0,.34); }

@media (max-width: 900px) {
  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(4,7,5,.32) 0%,
      rgba(4,7,5,.42) 42%,
      rgba(4,7,5,.66) 100%
    );
  }
  .hero-shade::after {
    background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 36%, rgba(0,0,0,.12));
  }
  .hero-grain { opacity: .04; }
}


/* v7 — последовательный hero и премиальный popup */
.hp { display: none !important; }

.lead-modal {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(760px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 38px 120px rgba(0,0,0,.42);
}
.lead-modal::backdrop {
  background: rgba(5,7,6,.68);
  backdrop-filter: blur(5px) saturate(.85);
}
.lead-modal-shell {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  min-height: 610px;
}
.lead-modal-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: white;
  background: var(--night);
}
.lead-modal-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}
.lead-modal-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,6,.23), transparent 38%, rgba(5,7,6,.85)),
    linear-gradient(90deg, rgba(5,7,6,.22), transparent 70%);
}
.lead-modal-brand {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 34px;
  display: grid;
  width: 150px;
  grid-template-columns: 22px 1fr;
  grid-template-rows: 17px 42px 18px;
  line-height: 1;
}
.lead-modal-brand > span {
  align-self: end;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: .22em;
}
.lead-modal-brand > strong {
  grid-column: 1 / -1;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .13em;
}
.lead-modal-brand > small {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.72);
  font-size: 7px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.lead-modal-object {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  bottom: 36px;
}
.lead-modal-object > small {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lead-modal-object > strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -.035em;
}
.lead-modal-object > span {
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.55;
}
.lead-modal form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 48px 50px 42px;
  background:
    radial-gradient(circle at 100% 0, rgba(227,199,135,.16), transparent 34%),
    var(--paper);
}
.lead-modal .form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lead-modal .form-kicker::before {
  width: 30px;
  height: 1px;
  content: "";
  background: var(--gold);
}
.lead-modal h2 {
  max-width: 470px;
  margin: 0 0 14px;
  font-size: clamp(38px, 4vw, 54px);
  line-height: .98;
  letter-spacing: -.045em;
}
.lead-modal form > p {
  max-width: 480px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}
.lead-modal-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.lead-modal label {
  display: block;
  margin: 0;
}
.lead-modal label > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lead-modal label > span small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}
.lead-modal input,
.lead-modal textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(23,24,23,.14);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lead-modal input {
  min-height: 54px;
  padding: 0 16px;
}
.lead-modal textarea {
  min-height: 92px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.45;
}
.lead-modal input::placeholder,
.lead-modal textarea::placeholder { color: #aaa59d; }
.lead-modal input:focus,
.lead-modal textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(189,145,68,.11);
}
.lead-modal input.invalid,
.lead-modal textarea.invalid {
  border-color: #b84e46;
  box-shadow: 0 0 0 4px rgba(184,78,70,.09);
}
.lead-modal .button[type="submit"] {
  min-height: 58px;
  margin-top: 1px;
  border-radius: 12px;
  font-size: 12px;
}
.lead-modal .button[type="submit"] span {
  font-size: 18px;
  transition: transform .2s;
}
.lead-modal .button[type="submit"]:hover span { transform: translateX(4px); }
.lead-modal .policy-copy {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.lead-modal .policy-copy a {
  border-bottom: 1px solid rgba(23,24,23,.25);
}
.lead-modal .form-status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--green);
  font-size: 10px;
}
.lead-modal .modal-close {
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23,24,23,.09);
  color: var(--ink);
  background: rgba(255,253,250,.88);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  font-size: 25px;
  line-height: 1;
  transition: transform .2s, background .2s;
}
.lead-modal .modal-close:hover {
  transform: rotate(5deg) scale(1.05);
  background: white;
}

/* Индикатор текущего кадра на первом экране */
.hero-frame-row button.active::before {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--gold-light);
  transform-origin: left;
  animation: heroFrameProgress 5.2s linear both;
}
@keyframes heroFrameProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  .lead-modal {
    width: min(520px, calc(100% - 20px));
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    border-radius: 22px;
  }
  .lead-modal-shell { display: block; min-height: 0; }
  .lead-modal-visual { display: none; }
  .lead-modal form { min-height: 0; padding: 42px 24px 26px; }
  .lead-modal h2 { padding-right: 32px; font-size: 39px; }
  .lead-modal form > p { margin-bottom: 22px; }
  .lead-modal .modal-close { top: 11px; right: 11px; width: 38px; height: 38px; }
}

@media (max-width: 390px) {
  .lead-modal form { padding-inline: 18px; }
  .lead-modal h2 { font-size: 35px; }
  .lead-modal input { min-height: 51px; }
  .lead-modal textarea { min-height: 82px; }
}


/* ===== V8 about section refresh ===== */
.about-grid {
  grid-template-columns: .88fr 1.12fr;
  gap: 82px;
  align-items: center;
}

.about-copy .lead {
  margin-bottom: 24px;
}

.about-features {
  gap: 20px;
  margin-top: 42px;
}

.about-features article {
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(189,145,68,.22);
  border-radius: 20px;
  color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,242,230,.95));
  box-shadow: 0 14px 30px rgba(40,32,18,.08);
}

.feature-icon svg {
  width: 29px;
  height: 29px;
}

.about-features strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.about-features small {
  font-size: 13px;
  line-height: 1.45;
}

.about-media {
  min-height: 720px;
}

.about-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 26px 80px rgba(20,20,18,.16);
}

.about-badge {
  right: 26px;
  bottom: 26px;
  width: 252px;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f201a, #183328);
  box-shadow: 0 20px 55px rgba(13,24,19,.28);
}

.about-badge strong {
  font-size: 74px;
  line-height: .82;
  letter-spacing: -.04em;
}

.about-badge span {
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.92);
}

@media (max-width: 1100px) {
  .about-grid {
    gap: 56px;
  }

  .about-media {
    min-height: 620px;
  }

  .about-badge {
    width: 224px;
    right: 18px;
    bottom: 18px;
    padding: 18px 20px;
  }

  .about-badge strong {
    font-size: 62px;
  }
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-media {
    min-height: 460px;
  }

  .about-main {
    border-radius: 24px;
  }

  .about-badge {
    width: 188px;
    right: 14px;
    bottom: 14px;
    padding: 16px 18px;
    border-radius: 14px;
  }

  .about-badge strong {
    font-size: 52px;
  }

  .about-badge span {
    font-size: 11px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }
}


/* ===== V9 about section copy + stats ===== */
.about-copy > p:not(.lead) {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.72;
}

.about-media {
  overflow: visible;
}

.about-stat {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 18px;
  color: white;
  background: rgba(11,18,15,.58);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(10,12,10,.18);
}

.about-stat strong {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: .9;
  letter-spacing: -.05em;
}

.about-stat span {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-badge {
  right: 22px;
  bottom: 22px;
  width: 290px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
}

.about-badge-mark {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.about-badge-mark svg {
  width: 42px;
  height: 42px;
  display: block;
}

.about-badge-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge-copy strong {
  font-size: 52px;
  line-height: .82;
  white-space: nowrap;
}

.about-badge-copy span {
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 1100px) {
  .about-stat {
    top: 16px;
    left: 16px;
    padding: 15px 17px 14px;
  }

  .about-stat strong {
    font-size: 46px;
  }

  .about-badge {
    width: 252px;
    right: 16px;
    bottom: 16px;
    padding: 18px 18px;
  }

  .about-badge-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .about-badge-copy strong {
    font-size: 46px;
  }
}

@media (max-width: 820px) {
  .about-main {
    object-position: center;
  }

  .about-stat {
    top: 12px;
    left: 12px;
    border-radius: 14px;
    padding: 12px 14px;
  }

  .about-stat strong {
    font-size: 34px;
  }

  .about-stat span {
    font-size: 10px;
  }

  .about-badge {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
    justify-content: flex-start;
    border-radius: 14px;
  }

  .about-badge-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .about-badge-mark svg {
    width: 34px;
    height: 34px;
  }

  .about-badge-copy strong {
    font-size: 38px;
  }

  .about-badge-copy span {
    font-size: 10px;
  }
}


/* ===== V10 redesign of about hotel badge ===== */
.about-badge {
  right: 22px;
  bottom: 22px;
  width: 360px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 20px 19px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(8,34,27,.96), rgba(13,52,40,.93));
  box-shadow: 0 24px 65px rgba(9,23,19,.34);
  backdrop-filter: blur(8px);
}

.about-badge-stars {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-star {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.about-star svg {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}

.about-badge-copy {
  display: block;
}

.about-badge-copy strong {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.about-badge-copy span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .about-badge {
    width: 315px;
    right: 16px;
    bottom: 16px;
    padding: 16px 16px 17px;
    gap: 12px;
  }

  .about-star {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .about-star svg {
    width: 24px;
    height: 24px;
  }

  .about-badge-copy strong {
    font-size: 25px;
  }
}

@media (max-width: 820px) {
  .about-badge {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
    padding: 14px 14px 15px;
    border-radius: 16px;
    gap: 10px;
  }

  .about-badge-stars {
    gap: 7px;
  }

  .about-star {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .about-star svg {
    width: 20px;
    height: 20px;
  }

  .about-badge-copy strong {
    font-size: 22px;
  }

  .about-badge-copy span {
    font-size: 10px;
    letter-spacing: .08em;
  }
}


/* ===== V11 minimal hotel badge ===== */
.about-badge {
  right: 22px;
  bottom: 22px;
  width: auto;
  min-width: 312px;
  max-width: 420px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(7,34,28,.90), rgba(11,50,40,.84));
  box-shadow: 0 18px 48px rgba(7,20,16,.26);
  backdrop-filter: blur(10px);
}

.about-badge-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge-stars-min {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.about-star-min {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-star-min svg {
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.12));
}

.about-badge-top strong {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.about-badge-note {
  display: block;
  padding-left: 1px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .about-badge {
    right: 16px;
    bottom: 16px;
    min-width: 290px;
    padding: 12px 16px 13px;
  }
  .about-badge-top {
    gap: 12px;
  }
  .about-badge-top strong {
    font-size: 20px;
  }
}

@media (max-width: 820px) {
  .about-badge {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    width: calc(100% - 24px);
    max-width: none;
    padding: 11px 14px 12px;
    border-radius: 14px;
  }
  .about-badge-top {
    gap: 10px;
    align-items: center;
  }
  .about-badge-stars-min {
    gap: 4px;
  }
  .about-star-min,
  .about-star-min svg {
    width: 16px;
    height: 16px;
  }
  .about-badge-top strong {
    font-size: 17px;
  }
  .about-badge-note {
    font-size: 9px;
    letter-spacing: .11em;
  }
}


/* ===== V12 single-star hotel badge ===== */
.about-badge {
  right: 22px;
  bottom: 22px;
  width: auto;
  min-width: 238px;
  max-width: 340px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 16px 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7,34,28,.86), rgba(11,50,40,.82));
  box-shadow: 0 16px 40px rgba(7,20,16,.24);
  backdrop-filter: blur(10px);
}

.about-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.about-badge-rating {
  margin: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
}

.about-badge-star {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.about-badge-star svg {
  width: 24px;
  height: 24px;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.16));
}

.about-badge-title {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.about-badge-note {
  display: block;
  padding-left: 2px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .about-badge {
    right: 16px;
    bottom: 16px;
    min-width: 220px;
    padding: 11px 14px 12px;
  }

  .about-badge-rating {
    font-size: 38px;
  }

  .about-badge-star,
  .about-badge-star svg {
    width: 22px;
    height: 22px;
  }

  .about-badge-title {
    font-size: 26px;
  }
}

@media (max-width: 820px) {
  .about-badge {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 10px 12px 11px;
    border-radius: 14px;
  }

  .about-badge-line {
    gap: 6px;
  }

  .about-badge-rating {
    font-size: 31px;
  }

  .about-badge-star,
  .about-badge-star svg {
    width: 18px;
    height: 18px;
  }

  .about-badge-title {
    font-size: 22px;
  }

  .about-badge-note {
    font-size: 8px;
    letter-spacing: .11em;
  }
}


/* ===== V14 informational card in the about photo ===== */
.about-info-card {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  width: min(510px, calc(100% - 44px));
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, rgba(8,27,23,.90), rgba(13,48,38,.84));
  box-shadow: 0 24px 65px rgba(6,18,15,.30);
  backdrop-filter: blur(14px);
}

.about-info-section {
  display: grid;
  gap: 8px;
}

.about-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-info-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(230,199,126,.25);
  border-radius: 11px;
  color: var(--gold-light);
  background: rgba(255,255,255,.045);
}

.about-info-icon svg {
  width: 19px;
  height: 19px;
}

.about-info-head strong {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.015em;
}

.about-info-section p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 11.5px;
  line-height: 1.62;
}

.about-info-divider {
  height: 1px;
  margin: 15px 0;
  background: linear-gradient(90deg, rgba(230,199,126,.34), rgba(255,255,255,.08));
}

@media (max-width: 1100px) {
  .about-info-card {
    right: 16px;
    bottom: 16px;
    width: min(455px, calc(100% - 32px));
    padding: 17px 18px;
    border-radius: 18px;
  }

  .about-info-section p {
    font-size: 10.5px;
    line-height: 1.55;
  }

  .about-info-head strong {
    font-size: 17px;
  }
}

@media (max-width: 820px) {
  .about-media {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 14px;
  }

  .about-main {
    position: relative;
    inset: auto;
    width: 100%;
    height: 430px;
  }

  .about-stat {
    top: 12px;
    left: 12px;
  }

  .about-info-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    color: var(--ink);
    background: linear-gradient(180deg, #fff, #f6f0e4);
    border-color: rgba(189,145,68,.16);
    box-shadow: 0 18px 45px rgba(28,26,21,.08);
    backdrop-filter: none;
  }

  .about-info-icon {
    color: var(--gold-dark);
    background: rgba(189,145,68,.08);
    border-color: rgba(189,145,68,.18);
  }

  .about-info-section p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
  }

  .about-info-divider {
    background: linear-gradient(90deg, rgba(189,145,68,.28), rgba(23,24,23,.06));
  }
}


/* ===== V15: infrastructure information moved into the text column ===== */
.about-grid {
  align-items: start;
}

.about-copy {
  padding-top: 8px;
}

.about-details {
  max-width: 680px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(23,24,23,.11);
}

.about-details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.about-details p:last-child {
  margin-bottom: 0;
}

.about-details strong {
  color: var(--ink);
  font-weight: 700;
}

.about-features {
  margin-top: 34px;
}

.about-media {
  min-height: 820px;
}

@media (max-width: 1100px) {
  .about-media {
    min-height: 700px;
  }
}

@media (max-width: 820px) {
  .about-copy {
    padding-top: 0;
  }

  .about-details {
    margin-top: 24px;
    padding-top: 22px;
  }

  .about-details p {
    font-size: 13px;
    line-height: 1.68;
  }

  .about-media {
    min-height: 460px;
  }
}


/* ===== V16: sticky about story + moving hotel advantages ===== */
.about-story {
  padding-top: 118px;
  padding-bottom: 122px;
  background: var(--paper);
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(480px, 1.02fr);
  gap: clamp(58px, 7vw, 108px);
  align-items: start;
}

.about-story-copy h2 {
  margin-bottom: 34px;
}

.about-story-text {
  max-width: 680px;
}

.about-story-text p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.about-story-text p.lead {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.62;
}

.about-story-text strong {
  color: var(--ink);
  font-weight: 700;
}

.about-story-media {
  min-width: 0;
}

.about-sticky-photo {
  position: sticky;
  top: 112px;
  height: min(72vh, 760px);
  min-height: 590px;
  overflow: hidden;
  border-radius: 30px;
  background: #ddd;
  box-shadow: 0 28px 86px rgba(30,27,21,.15);
}

.about-sticky-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,8,.04), transparent 52%, rgba(5,10,8,.28) 100%);
  pointer-events: none;
}

.about-sticky-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-stat-sticky {
  top: 22px;
  left: 22px;
  z-index: 3;
}

.about-photo-caption {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: white;
}

.about-photo-caption span {
  font-family: Georgia, serif;
  font-size: 25px;
}

.about-photo-caption small {
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hotel-advantages {
  overflow: hidden;
  padding-top: 108px;
  padding-bottom: 116px;
  background: #fbfaf7;
}

.advantages-shell {
  overflow: visible;
}

.advantages-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.advantages-head h2 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: .98;
}

.advantages-controls {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
}

.advantages-arrow {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 50%;
  color: var(--ink);
  background: #f0f0ee;
  font-size: 22px;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}

.advantages-arrow:hover {
  transform: translateY(-2px);
  color: white;
  background: var(--ink);
}

.advantages-viewport {
  overflow: hidden;
  margin-right: calc((100vw - min(1240px, calc(100vw - 48px))) / -2);
  padding-right: calc((100vw - min(1240px, calc(100vw - 48px))) / 2);
}

.advantages-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}

.advantage-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 26px 28px;
  border: 1px solid rgba(23,24,23,.045);
  border-radius: 22px;
  background: #f4f4f2;
  text-align: center;
  box-shadow: 0 12px 32px rgba(30,28,24,.035);
}

.advantage-visual {
  width: 100%;
  height: 185px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.advantage-visual img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(35,28,18,.08));
  transition: transform .45s ease;
}

.advantage-card:hover .advantage-visual img {
  transform: translateY(-6px) scale(1.03);
}

.advantage-card p {
  min-height: 80px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.advantage-card > span {
  margin-top: auto;
  color: #e97515;
  font-size: 14px;
  font-weight: 600;
}

.advantages-progress {
  position: relative;
  height: 2px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(23,24,23,.08);
}

.advantages-progress span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), #e97515);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.22,.61,.36,1), width .4s;
}

@media (max-width: 1100px) {
  .about-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, .92fr);
    gap: 48px;
  }

  .about-sticky-photo {
    top: 96px;
    min-height: 540px;
  }

  .advantages-viewport {
    margin-right: -24px;
    padding-right: 24px;
  }

  .advantage-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 820px) {
  .about-story {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-story-copy h2 {
    margin-bottom: 26px;
  }

  .about-story-text p,
  .about-story-text p.lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-story-media {
    order: -1;
  }

  .about-sticky-photo {
    position: relative;
    top: auto;
    height: 520px;
    min-height: 0;
    border-radius: 24px;
  }

  .hotel-advantages {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .advantages-head {
    align-items: center;
    margin-bottom: 26px;
  }

  .advantages-head h2 {
    font-size: 48px;
  }

  .advantages-arrow {
    width: 44px;
    height: 44px;
  }

  .advantages-viewport {
    margin-right: -20px;
    padding-right: 20px;
  }

  .advantage-card {
    flex-basis: calc((100% - 16px) / 2);
    min-height: 390px;
    padding: 28px 20px 24px;
  }

  .advantage-visual {
    height: 155px;
  }

  .advantage-visual img {
    width: 145px;
    height: 145px;
  }

  .advantage-card p {
    min-height: 74px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .about-sticky-photo {
    height: 420px;
  }

  .about-stat-sticky {
    top: 12px;
    left: 12px;
  }

  .about-photo-caption {
    left: 16px;
    bottom: 15px;
  }

  .advantages-head h2 {
    font-size: 39px;
  }

  .advantages-controls {
    gap: 7px;
  }

  .advantages-arrow {
    width: 40px;
    height: 40px;
  }

  .advantage-card {
    flex-basis: 86%;
    min-height: 380px;
  }
}


/* ===== V17: sticky about block closer to official layout ===== */
.about-story {
  padding-top: 108px;
  padding-bottom: 128px;
}

.about-story-grid {
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 5vw, 74px);
  align-items: start;
}

.about-story-media {
  order: 1;
  align-self: start;
}

.about-story-copy {
  order: 2;
}

.about-story-copy h2 {
  margin-bottom: 26px;
}

.about-story-text {
  max-width: 860px;
}

.about-story-text p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.72;
}

.about-story-text p.lead {
  margin-bottom: 22px;
  font-size: 21px;
  line-height: 1.68;
}

.about-sticky-photo {
  position: sticky;
  top: 118px;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(31,27,22,.14);
}

.about-sticky-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-sticky-photo::after {
  background: linear-gradient(180deg, rgba(5,10,8,.02), transparent 58%, rgba(5,10,8,.1) 100%);
}

.about-stat-sticky {
  top: 18px;
  left: 18px;
}

.about-stat {
  padding: 16px 18px 14px;
  border-radius: 16px;
  background: rgba(26,43,63,.86);
  backdrop-filter: blur(10px);
}

.about-stat strong {
  font-size: 64px;
}

.about-stat span {
  font-size: 12px;
}

@media (max-width: 1100px) {
  .about-story-grid {
    grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
    gap: 34px;
  }

  .about-story-text p {
    font-size: 16px;
  }

  .about-story-text p.lead {
    font-size: 19px;
  }

  .about-sticky-photo {
    top: 96px;
    border-radius: 18px;
  }

  .about-stat strong {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  .about-story {
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-story-media,
  .about-story-copy {
    order: initial;
  }

  .about-sticky-photo {
    position: relative;
    top: auto;
    aspect-ratio: 1 / 1;
    max-width: 640px;
    margin: 0 auto;
  }

  .about-story-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .about-story-text p.lead {
    font-size: 18px;
  }
}


/* ===== V18: correct sticky mechanics + clean text ===== */
.about-story-grid {
  align-items: stretch !important;
}

.about-story-media {
  position: relative;
  align-self: stretch !important;
  min-height: 100%;
  transform: none !important;
  opacity: 1 !important;
}

.about-sticky-photo {
  position: sticky !important;
  top: 112px;
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.about-story-text {
  max-width: 760px;
}

.about-story-text p {
  margin-bottom: 26px;
}

.about-story-text p.lead {
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .about-story-grid {
    align-items: start !important;
  }

  .about-story-media {
    min-height: 0;
  }

  .about-sticky-photo {
    position: relative !important;
    top: auto;
  }
}


/* ===== V19 refined about section layout ===== */
.about-story {
  padding-top: 110px;
  padding-bottom: 132px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.about-story-copy {
  order: 1;
  max-width: 700px;
}

.about-story-media {
  order: 2;
  justify-self: end;
  width: 100%;
  max-width: 720px;
}

.about-story .eyebrow {
  margin-bottom: 16px;
}

.about-story-copy h2 {
  margin: 0 0 28px;
  max-width: 11ch;
  font-size: clamp(52px, 5.3vw, 78px);
  line-height: .92;
  letter-spacing: -.045em;
}

.about-story-text {
  max-width: 640px;
}

.about-story-text p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.about-story-text p.lead {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.68;
}

.about-story-text p + p {
  position: relative;
}

.about-story-text p:nth-of-type(2) {
  margin-top: 22px;
  padding-top: 24px;
}

.about-story-text p:nth-of-type(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 1px;
  background: rgba(25, 30, 38, .12);
}

.about-story-text strong {
  color: var(--ink);
  font-weight: 700;
}

.about-sticky-photo {
  position: sticky;
  top: 118px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(27, 28, 31, .14);
}

.about-sticky-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.about-stat-sticky {
  top: 22px;
  left: 22px;
}

.about-stat {
  padding: 18px 20px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(37, 54, 77, .92), rgba(44, 67, 96, .88));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 40px rgba(16, 27, 41, .22);
}

.about-stat strong {
  font-size: 68px;
  line-height: .88;
}

.about-stat span {
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: .14em;
}

@media (max-width: 1200px) {
  .about-story-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 44px;
  }

  .about-story-copy h2 {
    font-size: clamp(46px, 5vw, 66px);
  }

  .about-story-text p { font-size: 17px; }
  .about-story-text p.lead { font-size: 19px; }
  .about-stat strong { font-size: 58px; }
}

@media (max-width: 900px) {
  .about-story {
    padding-top: 84px;
    padding-bottom: 96px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-story-copy,
  .about-story-media {
    order: initial;
    max-width: none;
    justify-self: stretch;
  }

  .about-story-copy h2 {
    max-width: none;
    font-size: clamp(38px, 11vw, 52px);
  }

  .about-story-text {
    max-width: none;
  }

  .about-story-text p {
    font-size: 15px;
    line-height: 1.68;
  }

  .about-story-text p.lead {
    font-size: 17px;
  }

  .about-story-text p:nth-of-type(2)::before {
    width: 100%;
  }

  .about-sticky-photo {
    position: relative;
    top: auto;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
  }

  .about-stat-sticky {
    top: 16px;
    left: 16px;
  }

  .about-stat {
    padding: 14px 16px 13px;
    border-radius: 14px;
  }

  .about-stat strong { font-size: 46px; }
  .about-stat span { font-size: 10px; }
}


/* ===== V20 advantages as 8-tile grid ===== */
.hotel-advantages {
  padding-top: 104px;
  padding-bottom: 118px;
}

.advantages-shell {
  display: block;
}

.advantages-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.advantages-head h2 {
  max-width: 16ch;
}

.advantages-viewport.is-grid {
  overflow: visible;
}

.advantages-track.is-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  transform: none !important;
  transition: none !important;
}

.advantage-card {
  min-width: 0 !important;
  width: auto !important;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: #f8f7f4;
  box-shadow: inset 0 0 0 1px rgba(23,24,23,.04);
}

.advantage-visual {
  aspect-ratio: 1.2 / 1;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #efede7;
}

.advantage-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.advantage-card p {
  margin: 0 0 14px;
  min-height: 4.5em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.48;
}

.advantage-card span {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .advantages-track.is-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .advantage-card {
    padding: 16px 16px 18px;
    border-radius: 20px;
  }

  .advantage-card p {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .hotel-advantages {
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .advantages-head {
    margin-bottom: 24px;
  }

  .advantages-track.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .advantage-card p {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .advantages-head h2 {
    max-width: none;
  }

  .advantages-track.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .advantage-card {
    padding: 14px 14px 16px;
    border-radius: 18px;
  }

  .advantage-visual {
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .advantage-visual img {
    padding: 10px;
  }

  .advantage-card p {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.42;
  }

  .advantage-card span {
    font-size: 13px;
  }
}


/* ===== V21 apartment cards: bigger images, no inline forms, clear zoom ===== */
.apartments {
  background: linear-gradient(180deg, var(--cream), #f3f0e9);
}

.apartment-card {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(250px, .68fr) minmax(470px, 1.4fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 34px;
  padding: 22px;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 70px rgba(28,26,21,.08);
}

.apartment-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 16px 16px 18px;
}

.apartment-info h3 {
  max-width: 13ch;
  margin-bottom: 15px;
  font-size: clamp(31px, 2.6vw, 43px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.apartment-info > p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.64;
}

.apartment-index {
  margin-bottom: 22px;
}

.specs {
  margin-bottom: 22px;
}

.check-list {
  margin-bottom: 28px;
  font-size: 12px;
  line-height: 1.55;
}

.apartment-buttons {
  margin-top: auto;
}

.apartment-buttons .button-dark {
  min-height: 52px;
  padding-inline: 19px;
  border-radius: 12px;
}

.apartment-plan {
  min-width: 0;
  padding: 8px;
  border-radius: 22px;
  background: #f7f4ee;
}

.plan-image {
  min-height: 100%;
  border-radius: 17px;
  background: #fff;
}

.plan-image img {
  padding: 24px 18px 34px;
}

.apartment-photos {
  display: grid;
  min-width: 0;
  min-height: 500px;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, .75fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.apartment-photos .image-button {
  min-height: 0;
  border-radius: 18px;
}

.apartment-photos .photo-main {
  grid-row: 1 / 3;
}

.apartment-photos img {
  object-position: center;
}

.image-button {
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}

.image-button::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,9,8,.38));
  opacity: .72;
  pointer-events: none;
  transition: opacity .25s ease;
}

.image-button:hover::after {
  opacity: .46;
}

.image-zoom-hint {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px 6px 6px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(13,17,15,.66);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  pointer-events: none;
  transition: transform .25s ease, background .25s ease;
}

.image-button:hover .image-zoom-hint {
  transform: translateY(-2px);
  background: rgba(13,17,15,.82);
}

.image-zoom-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.image-zoom-text {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plan-image .image-zoom-hint {
  color: var(--ink);
  border-color: rgba(23,24,23,.08);
  background: rgba(255,255,255,.9);
}

.plan-image .image-zoom-icon {
  color: #fff;
  background: var(--ink);
}

.apartment-form {
  display: none !important;
}

/* apartment-specific popup polish */
.lead-modal[data-apartment-modal='true'] .lead-modal-object > strong {
  font-size: 43px;
}

.lead-modal[data-apartment-modal='true'] .lead-modal-object > span {
  max-width: 300px;
  display: block;
}

@media (max-width: 1250px) {
  .apartment-card {
    grid-template-columns: minmax(280px, .9fr) minmax(220px, .62fr) minmax(390px, 1.25fr);
  }
  .apartment-photos {
    min-height: 450px;
  }
}

@media (max-width: 1050px) {
  .apartment-card {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
  .apartment-info {
    grid-row: 1 / 3;
  }
  .apartment-plan {
    min-height: 360px;
  }
  .apartment-photos {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .apartment-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 24px;
  }
  .apartment-info {
    grid-row: auto;
    padding: 12px 8px 8px;
  }
  .apartment-info h3 {
    max-width: none;
    font-size: 34px;
  }
  .apartment-plan {
    min-height: 340px;
  }
  .apartment-photos {
    min-height: 410px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 150px;
  }
  .apartment-photos .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .image-zoom-text {
    display: none;
  }
  .image-zoom-hint {
    padding: 5px;
  }
  .image-zoom-icon {
    width: 30px;
    height: 30px;
  }
}


/* ===== V22 real-photo advantages ===== */
.hotel-advantages {
  padding-top: 108px;
  padding-bottom: 120px;
  background:
    radial-gradient(circle at 12% 8%, rgba(189,145,68,.07), transparent 26%),
    var(--paper);
}

.advantages-head {
  margin-bottom: 36px;
}

.advantages-head h2 {
  max-width: 18ch;
}

.advantages-track.is-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.advantage-card-real {
  position: relative;
  overflow: hidden;
  display: flex;
  min-width: 0 !important;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(25,27,25,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(31,28,22,.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.advantage-card-real:hover {
  transform: translateY(-6px);
  border-color: rgba(189,145,68,.24);
  box-shadow: 0 24px 56px rgba(31,28,22,.11);
}

.advantage-card-real .advantage-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.36 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e8e5df;
}

.advantage-card-real .advantage-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,9,.03) 32%, rgba(8,10,9,.34) 100%);
  pointer-events: none;
}

.advantage-card-real .advantage-visual img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}

.advantage-card-real:hover .advantage-visual img {
  transform: scale(1.045);
}

.advantage-number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  color: #fff;
  background: rgba(14,21,18,.45);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.advantage-card-body {
  display: flex;
  min-height: 176px;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.advantage-card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.advantage-card-body p {
  margin: 28px 0 0;
  min-height: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .advantages-track.is-grid {
    gap: 16px;
  }

  .advantage-card-body {
    min-height: 165px;
    padding: 19px 19px 21px;
  }

  .advantage-card-body h3 {
    font-size: 21px;
  }

  .advantage-card-body p {
    margin-top: 22px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .advantages-track.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-card-real .advantage-visual {
    aspect-ratio: 1.55 / 1;
  }

  .advantage-card-body {
    min-height: 150px;
  }
}

@media (max-width: 620px) {
  .hotel-advantages {
    padding-top: 82px;
    padding-bottom: 92px;
  }

  .advantages-head {
    margin-bottom: 24px;
  }

  .advantages-track.is-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .advantage-card-real {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 156px;
    border-radius: 20px;
  }

  .advantage-card-real .advantage-visual {
    height: 100%;
    aspect-ratio: auto;
  }

  .advantage-card-body {
    min-height: 0;
    justify-content: center;
    padding: 18px 18px 18px;
  }

  .advantage-card-body h3 {
    font-size: 20px;
  }

  .advantage-card-body p {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.48;
  }

  .advantage-number {
    top: 10px;
    left: 10px;
    min-width: 30px;
    height: 30px;
    font-size: 9px;
  }
}


/* ===== V23 photo-based advantages tiles ===== */
.hotel-advantages {
  padding-top: 100px;
  padding-bottom: 118px;
}

.advantages-head {
  margin-bottom: 26px;
}

.advantages-head h2 {
  max-width: 17ch;
}

.advantages-viewport.is-photo-grid {
  overflow: visible;
}

.advantages-track.is-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  transform: none !important;
  transition: none !important;
}

.advantage-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f0ede7;
  box-shadow: 0 10px 24px rgba(30, 27, 21, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}

.advantage-photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  pointer-events: none;
}

.advantage-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 172 / 226;
  object-fit: cover;
}

.advantage-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(30, 27, 21, .14);
}

@media (max-width: 1100px) {
  .advantages-track.is-photo-grid {
    gap: 10px;
  }

  .advantage-photo-card {
    border-radius: 12px;
  }
}

@media (max-width: 900px) {
  .hotel-advantages {
    padding-top: 84px;
    padding-bottom: 94px;
  }

  .advantages-track.is-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .advantages-head {
    margin-bottom: 20px;
  }

  .advantages-track.is-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .advantage-photo-card {
    border-radius: 10px;
  }
}


/* ===== V24 clear advantage titles ===== */
.advantages-track.is-photo-grid {
  max-width: 1080px;
  margin: 0 auto;
  gap: 12px;
}

.advantage-photo-card {
  aspect-ratio: 0.82 / 1;
  border-radius: 16px;
  background: #e9e7e2;
  box-shadow: 0 10px 26px rgba(28, 25, 21, .10);
}

.advantage-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7,10,9,0) 48%, rgba(7,10,9,.84) 100%);
  pointer-events: none;
}

.advantage-photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transform: scale(1.005);
  transition: transform .45s ease;
}

.advantage-photo-card:hover img {
  transform: scale(1.045);
}

.advantage-photo-title {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 15px;
}

.advantage-photo-title span {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}

@media (max-width: 1100px) {
  .advantages-track.is-photo-grid {
    max-width: 100%;
  }

  .advantage-photo-title {
    left: 13px;
    right: 13px;
    bottom: 13px;
  }

  .advantage-photo-title span {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .advantages-track.is-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .advantages-track.is-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .advantage-photo-card {
    border-radius: 12px;
  }

  .advantage-photo-title {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .advantage-photo-title span {
    font-size: 13px;
    line-height: 1.18;
  }
}


/* ===== V26: original official photos + code-rendered titles ===== */
.hotel-advantages {
  padding-top: 96px;
  padding-bottom: 112px;
}

.advantages-head {
  margin-bottom: 28px;
}

.official-services-grid-wrap {
  overflow: visible;
}

.official-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.official-service-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #eae7df;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(27, 24, 19, .09);
  transition: transform .28s ease, box-shadow .28s ease;
}

.official-service-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .35s ease;
}

.official-service-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,12,15,.62) 0%, rgba(8,12,15,.32) 18%, rgba(8,12,15,.05) 40%, rgba(8,12,15,0) 56%),
    linear-gradient(0deg, rgba(8,12,15,.42) 0%, rgba(8,12,15,0) 36%);
  transition: background .3s ease;
}

.official-service-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.official-service-content h3 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}

.official-service-arrow {
  width: 42px;
  height: 42px;
  margin-top: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171817;
  background: rgba(255,255,255,.96);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

.official-service-arrow svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.official-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(27, 24, 19, .15);
}

.official-service-card:hover img {
  transform: scale(1.035);
  filter: brightness(.92);
}

.official-service-card:hover .official-service-shade {
  background:
    linear-gradient(180deg, rgba(8,12,15,.68) 0%, rgba(8,12,15,.34) 20%, rgba(8,12,15,.08) 44%, rgba(8,12,15,0) 58%),
    linear-gradient(0deg, rgba(8,12,15,.58) 0%, rgba(8,12,15,.04) 44%);
}

.official-service-card:hover .official-service-arrow,
.official-service-card:focus-visible .official-service-arrow {
  opacity: 1;
  transform: translateY(0);
}

.official-service-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .official-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hotel-advantages {
    padding-top: 82px;
    padding-bottom: 92px;
  }

  .official-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .official-service-card {
    border-radius: 13px;
  }

  .official-service-content {
    padding: 14px;
  }

  .official-service-content h3 {
    max-width: none;
    font-size: 14px;
    line-height: 1.16;
  }

  .official-service-arrow {
    width: 36px;
    height: 36px;
    opacity: 1;
    transform: none;
  }
}


/* ===== V29 apartment cards without plan column ===== */
.apartment-card {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.45fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 56px rgba(28,26,21,.07);
}

.apartment-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 14px 16px 12px;
}

.apartment-info h3 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(34px, 2.8vw, 52px);
  line-height: .98;
  letter-spacing: -.04em;
}

.apartment-info > p {
  max-width: 43ch;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.apartment-buttons {
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.apartment-buttons .button-dark,
.apartment-plan-trigger {
  min-height: 52px;
  padding-inline: 18px;
  border-radius: 12px;
}

.apartment-plan-trigger {
  color: var(--ink);
  border-color: rgba(23,24,23,.12);
  background: #f8f5ef;
}

.apartment-plan-trigger:hover {
  border-color: rgba(23,24,23,.24);
  background: #f2eee7;
}

.apartment-photos {
  display: grid;
  min-width: 0;
  min-height: 640px;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .72fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.apartment-photos .photo-main {
  grid-row: 1 / 3;
}

.apartment-photos .image-button {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 20px;
  background: #e9e4dc;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  cursor: zoom-in;
}

.apartment-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.apartment-photos .image-button:hover img {
  transform: scale(1.035);
}

.apartment-card .image-zoom-hint,
.apartment-card .more-photo span.image-zoom-hint,
.apartment-card .plan-image .image-zoom-hint {
  display: none !important;
}

.apartment-card .image-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,14,0) 55%, rgba(10,12,14,.16) 100%);
  pointer-events: none;
}

.apartment-card .image-button::before {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Ccircle cx='16' cy='16' r='7' fill='none' stroke='%23171617' stroke-width='2.3'/%3E%3Cpath d='M21.8 21.8L27 27' stroke='%23171617' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  opacity: 0;
  transform: translateY(6px) scale(.92);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.apartment-card .image-button:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#apartment-101 .photo-main img { object-position: 44% center; }
#apartment-101 .apartment-photos .image-button:nth-child(2) img { object-position: 57% center; }
#apartment-101 .apartment-photos .image-button.more-photo img { object-position: 52% center; }
#apartment-102 .photo-main img { object-position: 58% center; }
#apartment-102 .apartment-photos .image-button:nth-child(2) img { object-position: 50% center; }
#apartment-102 .apartment-photos .image-button.more-photo img { object-position: 50% 52%; }

@media (max-width: 1250px) {
  .apartment-card {
    grid-template-columns: minmax(300px, .92fr) minmax(0, 1.28fr);
  }
  .apartment-photos {
    min-height: 580px;
    grid-template-columns: minmax(0, 1.35fr) minmax(190px, .72fr);
  }
}

@media (max-width: 1050px) {
  .apartment-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .apartment-info {
    padding: 10px 8px 6px;
  }
  .apartment-info h3 {
    max-width: none;
  }
  .apartment-photos {
    min-height: 520px;
    grid-template-columns: minmax(0, 1.3fr) minmax(180px, .78fr);
  }
}

@media (max-width: 760px) {
  .apartment-card {
    padding: 14px;
    border-radius: 24px;
  }
  .apartment-info h3 {
    font-size: 34px;
  }
  .apartment-buttons {
    gap: 10px;
  }
  .apartment-buttons .button-dark,
  .apartment-plan-trigger {
    min-height: 48px;
    padding-inline: 16px;
  }
  .apartment-photos {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 165px;
    gap: 10px;
  }
  .apartment-photos .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .apartment-photos .image-button {
    border-radius: 16px;
  }
  .apartment-card .image-button::before {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    background-size: 18px 18px;
  }
}


/* ===== V30 full visual refresh ===== */
.section-heading p,
.section-lead {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* apartment gallery */
.gallery-heading {
  align-items: end;
}
.gallery-heading .section-lead,
.gallery-heading p { margin-left: 0; }
.gallery-item,
.hotel-photo,
.image-button {
  cursor: zoom-in;
}
.gallery-item::before,
.hotel-photo::before,
.image-button::before {
  border-radius: inherit;
}
.gallery-item span {
  font-weight: 700;
  letter-spacing: .01em;
}

/* hotel gallery */
.hotel-gallery .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.hotel-gallery .section-heading > * { flex: 1; }
.hotel-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .85fr));
  gap: 14px;
  grid-auto-rows: 240px;
  margin-top: 28px;
}
.hotel-photo {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 24px;
  background: #ddd6c9;
  box-shadow: 0 18px 44px rgba(31,26,16,.10);
}
.hotel-photo-main {
  grid-row: span 2;
}
.hotel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.hotel-photo:hover img { transform: scale(1.045); }
.hotel-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,8,10,0) 42%, rgba(6,8,10,.46) 100%);
}
.hotel-photo-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

/* benefits redesign */
.benefits {
  background: linear-gradient(180deg, rgba(248,245,239,.25) 0%, rgba(248,245,239,.7) 100%);
}
.benefits .section-heading.centered { max-width: 980px; margin: 0 auto 34px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.benefit-grid article {
  display: flex;
  gap: 16px;
  min-height: 184px;
  padding: 22px 20px;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 16px 34px rgba(36,28,19,.06);
}
.benefit-icon.premium-icon {
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #b98a2b;
  background: linear-gradient(180deg, #fffdf9 0%, #f4ecdf 100%);
  box-shadow: inset 0 0 0 1px rgba(185,138,43,.14);
}
.benefit-icon.premium-icon svg {
  width: 26px;
  height: 26px;
}
.benefit-card-copy small {
  display: inline-block;
  margin-bottom: 8px;
  color: #ae8742;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.benefit-card-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
}
.benefit-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* consultation */
.consultation {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  margin-inline: auto;
  max-width: min(1280px, calc(100% - 32px));
  box-shadow: 0 28px 70px rgba(19,18,16,.12);
}
.consultation > img {
  filter: saturate(1.02) contrast(1.02);
}
.consultation-shade {
  background: linear-gradient(90deg, rgba(9,10,12,.26) 0%, rgba(9,10,12,.44) 45%, rgba(9,10,12,.74) 100%);
}
.consultation-grid {
  grid-template-columns: minmax(320px, .95fr) minmax(420px, .85fr);
  gap: 36px;
  align-items: center;
  padding-block: 52px;
}
.consultation-copy p {
  max-width: 34ch;
  color: rgba(255,255,255,.86);
}
.consultation-form {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
}
.consultation-form label span,
.consultation-form .policy-copy { color: rgba(255,255,255,.86); }
.consultation-form input,
.consultation-form textarea {
  border-radius: 14px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.95);
}
.consultation-form textarea { min-height: 110px; }

/* contacts */
.contacts-grid {
  align-items: start;
  gap: 18px;
}
.contact-main,
.address-card,
.map-card {
  min-height: 100%;
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 44px rgba(35,30,22,.06);
}
.contact-main {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.contacts-note {
  max-width: 38ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.contact-links a,
.address-card,
.map-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-links a:hover,
.address-card:hover,
.map-card:hover {
  transform: translateY(-3px);
}
.address-card, .map-card { padding: 28px; }

/* apartment cards minor polish */
.apartment-info .text-button,
.apartment-info .button-outline,
.apartment-plan-trigger {
  font-weight: 700;
}
.apartment-facts div {
  border-radius: 14px;
}
.apartment-info ul li { line-height: 1.55; }

@media (max-width: 1180px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hotel-gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    grid-auto-rows: 230px;
  }
  .hotel-photo-main { grid-row: span 1; }
  .hotel-gallery .section-heading { display:block; }
  .consultation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .hotel-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .consultation { border-radius: 24px; max-width: calc(100% - 20px); }
  .consultation-grid { padding-block: 32px; gap: 20px; }
  .consultation-form { padding: 18px; border-radius: 20px; }
  .hotel-photo, .contact-links a, .address-card, .map-card { border-radius: 20px; }
}


/* ===== V31 final desktop adaptation ===== */
:root {
  --section-space: 76px;
}

.section,
.about-story,
.hotel-advantages,
.investment,
.apartments,
.gallery,
.hotel-gallery,
.benefits,
.faq {
  padding-top: var(--section-space) !important;
  padding-bottom: var(--section-space) !important;
}

.section-heading {
  margin-bottom: 34px !important;
}

.section-heading.centered {
  margin-bottom: 38px !important;
}

.apartment-card {
  margin-bottom: 22px !important;
}

/* Full apartment gallery */
.apartment-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 205px;
  gap: 12px;
}

.gallery-item {
  min-height: 0;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 28, 23, .08);
}

.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item.gallery-tall { grid-row: span 2; }

.gallery-item img {
  object-position: center;
}

.gallery-item span {
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(18, 18, 18, .62);
}

.gallery-tabs button {
  min-height: 42px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 700;
}

/* Remove empty explanatory columns in hotel gallery */
.hotel-gallery .section-heading {
  display: block !important;
  max-width: 780px;
}

.hotel-gallery-grid {
  margin-top: 0 !important;
}

/* FAQ compact */
.faq-grid {
  grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr);
  gap: 64px;
}

.faq-intro h2 {
  margin-bottom: 24px;
}

.accordion details {
  padding-block: 18px;
}

/* Presentation CTA — form only in popup */
.consultation {
  max-width: min(1280px, calc(100% - 40px));
  margin: 18px auto 72px;
  border-radius: 30px;
}

.consultation-grid {
  grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr) !important;
  gap: 42px !important;
  min-height: 470px;
  padding-block: 54px !important;
}

.consultation-copy {
  padding-left: 0 !important;
  max-width: 610px;
}

.consultation-copy h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.04em;
}

.consultation-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.consultation-facts span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.consultation-cta {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background: rgba(12,15,14,.72);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}

.consultation-cta-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.consultation-cta h3 {
  margin: 0 0 20px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.consultation-cta ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.consultation-cta li {
  position: relative;
  padding-left: 22px;
}

.consultation-cta li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 800;
}

.consultation-open-modal {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
}

.consultation-cta > small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  text-align: center;
}

/* Popup form polish */
.lead-modal {
  width: min(860px, calc(100% - 32px)) !important;
  max-height: calc(100vh - 36px);
  border-radius: 28px !important;
  overflow: hidden;
}

.lead-modal-shell {
  grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.18fr) !important;
  min-height: 600px;
}

.lead-modal form {
  padding: 42px 42px 34px !important;
}

.lead-modal h2 {
  max-width: 10ch;
  font-size: 46px !important;
  line-height: .98;
}

.lead-modal form > p {
  max-width: 46ch;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.6;
}

.lead-modal input,
.lead-modal textarea {
  border-radius: 13px !important;
}

.lead-modal .button[type='submit'] {
  min-height: 56px;
  border-radius: 14px;
}

/* Contacts + actual Yandex map */
.contacts {
  padding: 70px 0 64px !important;
}

.contacts-grid {
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr) !important;
  gap: 28px !important;
  align-items: stretch;
}

.contact-main {
  display: flex;
  flex-direction: column;
  padding: 14px 22px 14px 0 !important;
}

.contact-main h2 {
  max-width: 10ch;
  margin-bottom: 30px;
}

.contact-links {
  margin-bottom: 30px;
}

.contact-links a {
  padding: 14px 0;
}

.contact-address-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: center;
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 18px;
  background: #f7f3ec;
}

.contact-address-pin {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-size: 10px;
}

.contact-address-line small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-address-line strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
}

.contact-route-button {
  grid-column: 1 / -1;
  min-height: 44px;
  margin-top: 4px;
}

.real-map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(23,24,23,.08);
  border-radius: 28px;
  background: #eee8dc;
  box-shadow: 0 20px 54px rgba(34,28,20,.10);
}

.real-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

.real-map-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: 320px;
  padding: 13px 16px;
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.real-map-badge small,
.real-map-badge strong {
  display: block;
}

.real-map-badge small {
  margin-bottom: 3px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.real-map-badge strong {
  font-size: 15px;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  :root { --section-space: 64px; }
  .apartment-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }
  .consultation-grid,
  .contacts-grid {
    grid-template-columns: 1fr !important;
  }
  .real-map-card,
  .real-map-card iframe { min-height: 440px; }
}

@media (max-width: 760px) {
  :root { --section-space: 52px; }
  .apartment-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 8px;
  }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .gallery-item.gallery-tall { grid-row: span 2; }
  .consultation {
    max-width: calc(100% - 20px);
    margin-bottom: 50px;
  }
  .consultation-grid { min-height: 0; }
  .consultation-copy h2 { font-size: 43px; }
  .consultation-cta { padding: 22px; }
  .lead-modal-shell { display: block !important; min-height: 0; }
  .lead-modal-visual { display: none !important; }
  .lead-modal form { padding: 30px 22px 24px !important; }
  .lead-modal h2 { font-size: 38px !important; }
  .contacts-grid { gap: 20px !important; }
  .contact-main { padding-right: 0 !important; }
  .real-map-card,
  .real-map-card iframe { min-height: 360px; }
}


/* ===== V32 Cosmos Stay Apartments logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  grid-template-columns: none;
  grid-template-rows: none;
  line-height: normal;
}

.brand-logo-image {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header .brand-logo-image {
  width: 188px;
}

.footer-logo {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
}

.footer-logo .brand-logo-image {
  width: 210px;
}

@media (max-width: 980px) {
  .site-header .brand-logo-image { width: 165px; }
}

@media (max-width: 760px) {
  .site-header .brand-logo-image { width: 148px; }
  .footer-logo .brand-logo-image { width: 180px; }
  .footer-logo { padding: 8px 10px; border-radius: 12px; }
}


/* ===== V34 adaptive logo: light on hero, dark after scroll ===== */
.site-header .logo {
  position: relative;
  display: block;
  width: 188px;
  height: 38px;
  flex: 0 0 auto;
}

.site-header .brand-logo-image {
  position: absolute;
  inset: 0 auto auto 0;
  width: 188px;
  height: auto;
  transition: opacity .24s ease, transform .24s ease;
}

.site-header .brand-logo-light {
  opacity: 1;
  transform: translateY(0);
}

.site-header .brand-logo-dark {
  opacity: 0;
  transform: translateY(2px);
}

.site-header.scrolled .brand-logo-light {
  opacity: 0;
  transform: translateY(-2px);
}

.site-header.scrolled .brand-logo-dark {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.footer-logo .brand-logo-image {
  width: 210px;
}

@media (max-width: 980px) {
  .site-header .logo,
  .site-header .brand-logo-image {
    width: 165px;
  }
  .site-header .logo { height: 34px; }
}

@media (max-width: 760px) {
  .site-header .logo,
  .site-header .brand-logo-image {
    width: 148px;
  }
  .site-header .logo { height: 31px; }
  .footer-logo .brand-logo-image { width: 180px; }
}


/* ===== V35 refined Cosmos Stay hero title ===== */
.hero-title-brand {
  display: inline-flex;
  align-items: baseline;
  gap: .18em;
  white-space: nowrap;
}

.hero-title-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .16em;
  transform: translateY(-.16em);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .40em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.hero-title-cosmos {
  color: #fff;
}

.hero-title-stay {
  color: #f39a16;
}

.hero-title-brand em {
  color: var(--gold-light);
  font-size: 1em;
  font-weight: inherit;
  letter-spacing: -.055em;
}

@media (max-width: 760px) {
  .hero-title-brand {
    gap: .14em;
  }

  .hero-title-wordmark {
    font-size: .34em;
    letter-spacing: .08em;
    transform: translateY(-.12em);
  }
}


/* ===== V36 hero brand in main heading typography ===== */
.hero-title-wordmark {
  gap: .08em;
  transform: none;
  font-family: inherit;
  font-size: .72em;
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero-title-cosmos { color: #ffffff; }
.hero-title-stay { color: #f39a16; }
.hero-title-brand { gap: .14em; }
@media (max-width:760px){
  .hero-title-wordmark{font-size:.62em;letter-spacing:-.035em;transform:none}
}


/* ===== V37 hero title + advantages spacing + apartment select ===== */
.hero-title-cosmos-inline {
  color: #ffffff;
  font: inherit;
}

.hero-title-stay-inline {
  color: #f39a16;
  font: inherit;
  font-style: normal;
}

.hero-title-rond-inline {
  color: #ffffff;
  font: inherit;
  font-style: italic;
  letter-spacing: -.055em;
}

.advantages-head {
  margin-bottom: 50px !important;
}

.lead-modal select {
  width: 100%;
  min-height: 56px;
  padding: 0 48px 0 16px;
  border: 1px solid #ded9d1;
  border-radius: 13px;
  color: var(--ink);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23171817' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lead-modal select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189,145,68,.14);
}

.lead-modal select.invalid {
  border-color: #b84d42;
  box-shadow: 0 0 0 3px rgba(184,77,66,.10);
}

@media (max-width: 760px) {
  .hero-title-cosmos-inline,
  .hero-title-stay-inline,
  .hero-title-rond-inline {
    white-space: normal;
  }

  .lead-modal select {
    min-height: 51px;
  }
}


/* ===== V38 FINAL INVESTMENT / GALLERY / ICON / CTA FIX ===== */
.skip-link { display: none !important; }
.hero-title-rond-inline { color: #fff !important; }

/* Investment redesign */
.investment-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(260px,.55fr) minmax(0,1.25fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 58px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 12%, rgba(224,180,88,.15), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(224,180,88,.12), transparent 24%),
    linear-gradient(135deg,#07110e 0%,#111a16 52%,#191713 100%);
  box-shadow: 0 34px 90px rgba(24,20,15,.18);
}
.investment-shell::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(90deg,rgba(255,255,255,.04),transparent 36%,rgba(255,255,255,.02));
}
.investment-copy-v38 { position:relative; z-index:2; }
.investment-copy-v38 h2 { margin:0 0 24px; font-size:clamp(48px,4.6vw,70px); line-height:.94; letter-spacing:-.045em; }
.investment-copy-v38 h2 em { color:var(--gold-light); font-weight:400; }
.investment-copy-v38 > p { max-width:48ch; margin:0 0 24px; color:rgba(255,255,255,.68); font-size:14px; line-height:1.7; }
.investment-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px; }
.investment-tags span { padding:8px 11px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:rgba(255,255,255,.055); color:rgba(255,255,255,.8); font-size:10px; font-weight:700; letter-spacing:.04em; }
.investment-cta { min-height:54px; padding-inline:20px; border-radius:14px; }
.investment-visual { position:relative; min-height:310px; display:grid; place-items:center; }
.investment-orbit { position:absolute; border:1px solid rgba(228,190,108,.25); border-radius:50%; }
.investment-orbit-a { width:260px; height:260px; }
.investment-orbit-b { width:190px; height:190px; border-style:dashed; animation:investSpin 26s linear infinite; }
@keyframes investSpin { to { transform:rotate(360deg); } }
.investment-core { position:relative; z-index:2; width:146px; height:146px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.16); border-radius:50%; background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.13),rgba(255,255,255,.035)); box-shadow:0 24px 60px rgba(0,0,0,.28); text-align:center; backdrop-filter:blur(12px); }
.investment-core span { color:#fff; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.investment-core strong { margin:6px 0; color:var(--gold-light); font-family:Georgia,serif; font-size:27px; font-weight:400; }
.investment-core small { max-width:90px; color:rgba(255,255,255,.52); font-size:8px; line-height:1.35; }
.investment-metrics-v38 { position:relative; z-index:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.investment-metrics-v38 article { position:relative; min-height:210px; padding:24px; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:22px; background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025)); box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.investment-metrics-v38 .metric-wide { grid-column:1/-1; min-height:180px; }
.investment-metrics-v38 .metric-number { position:absolute; right:17px; top:14px; color:rgba(255,255,255,.17); font-family:Georgia,serif; font-size:40px; }
.investment-metrics-v38 small { display:block; max-width:13ch; min-height:34px; color:rgba(255,255,255,.56); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.investment-metrics-v38 strong { display:block; margin:28px 0 13px; color:var(--gold-light); font-family:Georgia,serif; font-size:clamp(34px,3vw,48px); font-weight:400; line-height:.9; }
.investment-metrics-v38 p { margin:0; color:rgba(255,255,255,.55); font-size:10px; line-height:1.55; }
.investment-note { display:none !important; }

/* Generated icon set */
.benefit-icon-generated { flex:0 0 62px !important; width:62px !important; height:62px !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
.benefit-icon-generated img { display:block; width:62px; height:62px; }

/* Presentation CTA layout */
.consultation {
  display:grid !important;
  grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr);
  max-width:min(1320px,calc(100% - 40px)) !important;
  min-height:510px;
  margin:22px auto 68px !important;
  overflow:hidden;
  border-radius:32px !important;
  background:#090d0b;
  box-shadow:0 30px 76px rgba(20,18,15,.18);
}
.consultation-v38-visual { position:relative; min-height:510px; overflow:hidden; }
.consultation-v38-visual > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.consultation-v38-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,8,8,.72) 0%,rgba(6,8,8,.28) 72%,rgba(6,8,8,.72) 100%); }
.consultation-copy-v38 { position:absolute; z-index:2; left:42px; right:36px; top:90px; bottom:auto; max-width:520px; padding:0 !important; }
.consultation-copy-v38 h2 { max-width:11ch; margin:0 0 16px; color:#fff; font-size:clamp(39px,4vw,58px) !important; line-height:.94; letter-spacing:-.04em; }
.consultation-copy-v38 p { max-width:40ch; margin:0 0 20px; color:rgba(255,255,255,.75); font-size:13px; line-height:1.55; }
.consultation-copy-v38 .consultation-facts { margin-top:0; }
.consultation-v38-panel { align-self:center; margin:26px 26px 26px 0; padding:34px; border:1px solid rgba(255,255,255,.14); border-radius:26px; background:rgba(13,17,15,.9); box-shadow:0 24px 60px rgba(0,0,0,.26); backdrop-filter:blur(18px); }
.consultation-v38-panel h3 { margin:0 0 22px; color:#fff; font-family:Georgia,serif; font-size:31px; font-weight:400; line-height:1.05; }
.consultation-v38-panel ul { display:grid; gap:12px; margin:0 0 26px; padding:0; color:rgba(255,255,255,.72); font-size:12px; list-style:none; }
.consultation-v38-panel li { position:relative; padding-left:22px; }
.consultation-v38-panel li::before { content:'✓'; position:absolute; left:0; color:var(--gold-light); font-weight:800; }
.consultation-v38-panel > small { display:block; margin-top:12px; color:rgba(255,255,255,.45); font-size:9px; text-align:center; }

/* Address pin asset */
.contact-address-pin { width:50px !important; height:50px !important; padding:0 !important; background:transparent !important; border-radius:0 !important; }
.contact-address-pin img { width:50px; height:50px; display:block; }

@media (max-width:1180px) {
  .investment-shell { grid-template-columns:minmax(0,.9fr) minmax(230px,.5fr); padding:46px; }
  .investment-metrics-v38 { grid-column:1/-1; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .investment-metrics-v38 .metric-wide { grid-column:auto; min-height:210px; }
  .consultation { grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr); }
}
@media (max-width:900px) {
  .investment-shell { grid-template-columns:1fr; gap:24px; padding:36px; }
  .investment-visual { min-height:220px; }
  .investment-metrics-v38 { grid-template-columns:1fr 1fr; }
  .investment-metrics-v38 .metric-wide { grid-column:1/-1; min-height:170px; }
  .consultation { grid-template-columns:1fr; }
  .consultation-v38-visual { min-height:430px; }
  .consultation-v38-panel { margin:0 18px 18px; }
}
@media (max-width:620px) {
  .investment-shell { padding:28px 20px; border-radius:25px; }
  .investment-copy-v38 h2 { font-size:42px; }
  .investment-visual { min-height:190px; }
  .investment-orbit-a { width:190px; height:190px; }
  .investment-orbit-b { width:142px; height:142px; }
  .investment-core { width:116px; height:116px; }
  .investment-metrics-v38 { grid-template-columns:1fr; }
  .investment-metrics-v38 .metric-wide { grid-column:auto; }
  .investment-metrics-v38 article { min-height:170px; }
  .consultation { max-width:calc(100% - 20px) !important; border-radius:24px !important; }
  .consultation-v38-visual { min-height:410px; }
  .consultation-copy-v38 { left:22px; right:22px; top:36px; bottom:auto; }
  .consultation-copy-v38 h2 { font-size:38px !important; }
  .consultation-v38-panel { margin:0 12px 12px; padding:24px 20px; border-radius:20px; }
  .consultation-v38-panel h3 { font-size:27px; }
}


/* ===== V39 focused fixes: lightbox navigation and icon polish ===== */
.lightbox {
  width: min(1320px, calc(100% - 28px));
  max-height: 94vh;
  padding: 26px 66px 22px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: rgba(18, 18, 17, .95);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.lightbox::backdrop {
  background: rgba(8, 9, 8, .76);
  backdrop-filter: blur(10px);
}

.lightbox-shell {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
}

.lightbox .lightbox-shell figure > img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, .025);
}

.lightbox figcaption {
  min-height: 20px;
  padding: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(0, 0, 0, .58);
  cursor: pointer;
}

.lightbox-close > span,
.lightbox-close > span::before,
.lightbox-close > span::after {
  display: block;
}

.lightbox-close > span {
  position: relative;
  width: 18px;
  height: 18px;
}

.lightbox-close > span::before,
.lightbox-close > span::after {
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  content: '';
  background: #fff;
}

.lightbox-close > span::before { transform: rotate(45deg); }
.lightbox-close > span::after { transform: rotate(-45deg); }

.lightbox-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.lightbox-nav:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, .7);
}

.lightbox-nav > span {
  display: block;
  font-size: 36px;
  line-height: .8;
  transform: translateY(-2px);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  overflow-x: auto;
  padding: 3px 2px 4px;
  scrollbar-width: thin;
}

.lightbox-thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  opacity: .62;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.lightbox-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.lightbox-thumb.is-active {
  border-color: #e2bd72;
  box-shadow: 0 0 0 2px rgba(226, 189, 114, .2);
  opacity: 1;
}

.lightbox-thumb > img {
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 760px) {
  .lightbox {
    width: calc(100% - 12px);
    padding: 60px 10px 16px;
    border-radius: 18px;
  }

  .lightbox .lightbox-shell figure > img { max-height: 58vh; }
  .lightbox-nav { width: 42px; height: 42px; margin-top: -21px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-thumb { flex-basis: 74px; width: 74px; height: 56px; }
}


/* ===== V41: реальные иконки плавающего меню ===== */
.float-menu a,
.float-menu button {
  position: relative;
  padding: 0;
}

.float-contact-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  overflow: visible;
}

.float-contact-icon-fill {
  width: 22px;
  height: 22px;
}

.float-menu a:hover,
.float-menu button:hover {
  transform: translateY(-1px);
  background: #202421;
}

.float-main svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ===== V42: раскрываемая связь и рабочий телефон ===== */
.float-menu[hidden] {
  display: none !important;
}

.float-menu.is-open {
  display: flex;
  animation: float-menu-open .24s ease both;
}

.float-menu.is-open > * {
  animation: float-item-open .28s ease both;
}

.float-menu.is-open > *:nth-child(1) { animation-delay: .03s; }
.float-menu.is-open > *:nth-child(2) { animation-delay: .06s; }
.float-menu.is-open > *:nth-child(3) { animation-delay: .09s; }
.float-menu.is-open > *:nth-child(4) { animation-delay: .12s; }

.float-main[aria-expanded="true"] {
  box-shadow: 0 18px 48px rgba(0,0,0,.30);
}

@keyframes float-menu-open {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-item-open {
  from { opacity: 0; transform: translateY(8px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .float-menu.is-open,
  .float-menu.is-open > * {
    animation: none;
  }
}


/* ===== V43 responsive adaptation: phones, tablets and right-side menu ===== */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

main,
main > section,
.container,
.header-row,
.hero-layout,
.about-story-grid,
.advantages-shell,
.investment-shell,
.apartment-card,
.gallery-grid,
.apartment-gallery-grid,
.hotel-gallery-grid,
.benefit-grid,
.faq-grid,
.contacts-grid {
  min-width: 0;
}

@media (max-width: 1100px) {
  :root { --container: min(calc(100% - 36px), 960px); }

  /* Disable off-screen reveal gaps on touch/tablet layouts. */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .desktop-nav,
  .header-phone,
  .header-cta { display: none !important; }

  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 4;
    display: block !important;
    width: 50px;
    height: 46px;
    border-radius: 13px;
  }

  .menu-toggle span {
    transition: transform .24s ease, opacity .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  body.mobile-menu-open { overflow: hidden; }
  body.mobile-menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 90;
    content: '';
    background: rgba(8, 10, 9, .52);
    backdrop-filter: blur(5px);
  }

  .mobile-menu {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    left: auto;
    width: min(390px, 88vw);
    height: 100dvh;
    padding: 96px 28px 30px;
    overflow-y: auto;
    border-left: 1px solid rgba(23,24,23,.08);
    color: var(--ink);
    background: rgba(255,253,250,.985);
    box-shadow: -24px 0 70px rgba(0,0,0,.18);
  }

  .mobile-menu.is-open { animation: v43-drawer-in .25s ease both; }
  .mobile-menu a {
    padding: 17px 2px;
    border-bottom: 1px solid rgba(23,24,23,.12);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  .mobile-menu .button {
    width: 100%;
    min-height: 58px;
    margin-top: 28px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 14px;
  }

  @keyframes v43-drawer-in {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .hero {
    min-height: 780px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding: 120px 0 215px;
  }
  .hero-copy { max-width: 690px; }
  .hero h1 { font-size: clamp(58px, 8vw, 82px); }
  .hero-switcher {
    right: max(18px, calc((100vw - var(--container)) / 2));
    bottom: 26px;
    width: min(460px, calc(100% - 36px));
  }

  .about-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .88fr);
    gap: 34px;
  }
  .about-story-copy h2 { font-size: clamp(44px, 6vw, 62px); }
  .about-story-text p { font-size: 16px; }
  .about-story-text p.lead { font-size: 18px; }
  .about-sticky-photo { position: relative; top: auto; }

  .official-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .advantages-viewport,
  .official-services-grid-wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .investment-shell {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .68fr);
    gap: 28px;
    padding: 38px;
  }
  .investment-metrics-v38 {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .investment-metrics-v38 .metric-wide { grid-column: auto; min-height: 190px; }

  .apartment-card {
    grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
    gap: 18px;
  }
  .apartment-info { padding: 10px 8px; }
  .apartment-info h3 { max-width: 12ch; font-size: clamp(36px, 5vw, 50px); }
  .apartment-photos { min-height: 540px; }

  .apartment-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 185px;
  }
  .hotel-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
  .hotel-photo-main { grid-column: span 2; grid-row: span 2; }

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

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .accordion { width: 100%; min-width: 0; }
  .accordion details,
  .accordion summary,
  .accordion details p { width: 100%; min-width: 0; }

  .contacts-grid { grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr) !important; }
  .real-map-card,
  .real-map-card iframe { min-height: 430px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  :root { --container: min(calc(100% - 32px), 820px); }
  .hero { min-height: 720px; }
  .hero-layout { padding-top: 110px; padding-bottom: 205px; }
  .hero h1 { font-size: clamp(54px, 8.2vw, 70px); }

  .about-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .8fr);
    gap: 26px;
  }

  .investment-shell { grid-template-columns: 1fr; }
  .investment-visual { min-height: 210px; }
  .investment-metrics-v38 { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .apartment-card { grid-template-columns: 1fr; }
  .apartment-info h3 { max-width: none; }
  .apartment-photos { min-height: 500px; }

  .contacts-grid { grid-template-columns: 1fr !important; }
  .contact-main { padding-right: 0 !important; }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100% - 24px);
    --section-space: 48px;
  }

  body { font-size: 15px; }
  main > section { overflow: clip; }
  .section,
  .about-story,
  .hotel-advantages,
  .investment,
  .apartments,
  .gallery,
  .hotel-gallery,
  .benefits,
  .faq {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .section-heading,
  .section-heading.centered {
    margin-bottom: 28px !important;
  }
  .section-heading h2,
  .advantages-head h2 { font-size: clamp(34px, 10vw, 44px); }
  .eyebrow { margin-bottom: 12px; font-size: 9px; }

  .header-row { min-height: 64px; }
  .site-header .logo,
  .site-header .brand-logo-image { width: 132px; }
  .site-header .logo { height: 28px; }
  .menu-toggle { width: 44px; height: 42px; border-radius: 11px; }
  .mobile-menu {
    width: min(360px, 88vw);
    padding: 84px 22px 26px;
  }
  .mobile-menu a { padding: 15px 0; font-size: 22px; }

  .hero {
    min-height: max(760px, 100svh);
    align-items: flex-start;
  }
  .hero-layout {
    width: var(--container);
    padding: 88px 0 245px;
  }
  .hero-label {
    gap: 8px;
    margin-bottom: 15px;
    font-size: 7px;
    letter-spacing: .16em;
  }
  .hero-label span { width: 24px; }
  .hero h1 {
    max-width: 8.2ch;
    margin-bottom: 18px;
    font-size: 46px;
    line-height: .88;
    letter-spacing: -.055em;
  }
  .hero-copy > p {
    max-width: 35ch;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.48;
  }
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 22px;
  }
  .hero-actions .hero-primary { grid-column: 1 / -1; }
  .hero-actions .button {
    min-height: 43px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 9px;
  }
  .hero-contact { justify-content: center; }
  .hero-contact-icon { display: none; }
  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .hero-proof > div {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
  }
  .hero-proof > div:first-child { padding-left: 0; }
  .hero-proof > div:last-child { padding-right: 0; }
  .hero-proof strong { display: block; margin-bottom: 2px; font-size: 22px; }
  .hero-proof span { font-size: 7px; line-height: 1.35; }

  .hero-switcher {
    right: 12px;
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 9px;
    border-radius: 14px;
  }
  .hero-switcher-top { gap: 8px; }
  .hero-switcher-label { font-size: 7px; }
  .hero-apartment-tabs button {
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
  }
  .hero-apartment-tabs b { font-size: 14px; }
  .hero-apartment-tabs small { display: none; }
  .hero-frame-row { gap: 5px; margin-top: 7px; }
  .hero-frame-row button { height: 58px; border-radius: 8px; }

  .about-story-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-story-copy,
  .about-story-media { max-width: none; }
  .about-story-copy h2 {
    max-width: 11ch;
    margin-bottom: 20px;
    font-size: clamp(36px, 10.8vw, 46px);
  }
  .about-story-text p { margin-bottom: 17px; font-size: 14px; line-height: 1.62; }
  .about-story-text p.lead { font-size: 15px; line-height: 1.58; }
  .about-story-text p:nth-of-type(2) { margin-top: 17px; padding-top: 18px; }
  .about-sticky-photo { aspect-ratio: 4 / 5; border-radius: 18px; }
  .about-stat { padding: 12px 14px 11px; }
  .about-stat strong { font-size: 42px; }

  .advantages-head {
    display: block;
    margin-bottom: 24px !important;
  }
  .advantages-head h2 { max-width: 13ch; }
  .advantages-viewport,
  .official-services-grid-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .official-services-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .official-service-card { border-radius: 12px; }
  .official-service-content { padding: 10px; }
  .official-service-content h3 { font-size: 12px; line-height: 1.1; }
  .official-service-arrow {
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
  }
  .official-service-arrow svg { width: 14px; height: 14px; }

  .investment-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 18px;
    border-radius: 24px;
  }
  .investment-copy-v38 h2 { font-size: 39px; line-height: .94; }
  .investment-copy-v38 > p { font-size: 12px; }
  .investment-tags { margin-bottom: 20px; }
  .investment-tags span { padding: 7px 9px; font-size: 8px; }
  .investment-visual { min-height: 175px; }
  .investment-orbit-a { width: 176px; height: 176px; }
  .investment-orbit-b { width: 132px; height: 132px; }
  .investment-core { width: 108px; height: 108px; }
  .investment-core strong { font-size: 22px; }
  .investment-metrics-v38 { grid-template-columns: 1fr; gap: 9px; }
  .investment-metrics-v38 .metric-wide { grid-column: auto; }
  .investment-metrics-v38 article,
  .investment-metrics-v38 .metric-wide {
    min-height: 145px;
    padding: 18px;
    border-radius: 17px;
  }
  .investment-metrics-v38 strong { margin: 20px 0 9px; font-size: 31px; }

  .apartments .section-heading.centered { max-width: 100%; }
  .apartments .section-heading.centered h2 { font-size: clamp(34px, 10vw, 43px); }
  .apartment-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 21px;
  }
  .apartment-info { padding: 8px 6px 2px; }
  .apartment-info h3 {
    max-width: 12ch;
    margin-bottom: 13px;
    font-size: 31px;
    line-height: .98;
  }
  .apartment-info > p { margin-bottom: 18px; font-size: 12px; line-height: 1.55; }
  .apartment-facts { gap: 7px; }
  .apartment-facts div { padding: 10px; }
  .apartment-info ul { margin-block: 16px; }
  .apartment-info li { font-size: 11px; }
  .apartment-buttons { gap: 8px; }
  .apartment-buttons .button-dark,
  .apartment-plan-trigger { min-height: 43px; padding-inline: 12px; font-size: 10px; }
  .apartment-photos {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 245px 145px;
    gap: 7px;
  }
  .apartment-photos .photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .apartment-photos .image-button { border-radius: 14px; }

  .gallery-heading { display: block; }
  .gallery-tabs {
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .gallery-tabs button { flex: 0 0 auto; min-height: 36px; padding: 0 11px; font-size: 9px; }
  .apartment-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 132px;
    gap: 7px;
  }
  .gallery-item { border-radius: 13px; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .gallery-item.gallery-tall { grid-row: span 2; }

  .hotel-gallery .section-heading { max-width: 100%; }
  .hotel-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 145px;
    gap: 7px;
  }
  .hotel-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
  .hotel-photo { border-radius: 14px; }
  .hotel-photo-label { left: 9px; bottom: 9px; min-height: 27px; padding: 0 9px; font-size: 9px; }

  .benefits .section-heading.centered { text-align: left; }
  .benefit-grid { grid-template-columns: 1fr; gap: 9px; }
  .benefit-grid article {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 13px;
    min-height: 0;
    padding: 16px;
    border-radius: 17px;
  }
  .benefit-icon.premium-icon,
  .benefit-icon-generated {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
  .benefit-icon-generated img { width: 52px; height: 52px; }
  .benefit-card-copy h3 { font-size: 18px; }
  .benefit-card-copy p { font-size: 12px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-intro h2 { font-size: 39px; }
  .accordion,
  .accordion details,
  .accordion summary,
  .accordion details p {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .accordion details { padding-block: 15px; }
  .accordion summary { padding-right: 32px; font-size: 13px; line-height: 1.35; }
  .accordion details p { font-size: 12px; line-height: 1.55; }

  .consultation {
    grid-template-columns: 1fr !important;
    max-width: calc(100% - 20px) !important;
    min-height: 0;
    margin: 10px auto 46px !important;
    border-radius: 22px !important;
  }
  .consultation-v38-visual { min-height: 390px; }
  .consultation-copy-v38 { top: 30px; left: 20px; right: 20px; }
  .consultation-copy-v38 h2 { max-width: 10ch; font-size: 35px !important; }
  .consultation-copy-v38 p { font-size: 12px; }
  .consultation-facts { gap: 6px; }
  .consultation-facts span { min-height: 29px; padding: 0 9px; font-size: 8px; }
  .consultation-v38-panel { margin: 0 10px 10px; padding: 22px 18px; border-radius: 18px; }
  .consultation-v38-panel h3 { font-size: 25px; }
  .consultation-v38-panel ul { font-size: 11px; }

  .contacts { padding: 48px 0 44px !important; }
  .contacts-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .contact-main { padding: 0 !important; }
  .contact-main h2 { max-width: 10ch; margin-bottom: 22px; font-size: 38px; }
  .contact-links { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .contact-links a { padding: 12px 0; font-size: 12px; }
  .contact-address-line { padding: 14px; border-radius: 15px; }
  .real-map-card,
  .real-map-card iframe { min-height: 310px; }
  .real-map-card { border-radius: 18px; }

  .site-footer { padding-block: 28px; }
  .footer-row { gap: 18px; }

  .floating-contact { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .float-main { width: 52px; height: 52px; }
  .float-menu a,
  .float-menu button { width: 44px; height: 44px; }
}

/* 14 Pro and 15 Pro */
@media (max-width: 393px) {
  .hero h1 { font-size: 43px; }
  .hero-switcher-label { display: none; }
  .hero-switcher-top { justify-content: flex-end; }
  .official-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 14 Pro Max and 15 Pro Max */
@media (min-width: 394px) and (max-width: 430px) {
  .hero h1 { font-size: 46px; }
  .official-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-service-content h3 { font-size: 10px; }
}

/* 16 Pro and 17 Pro */
@media (min-width: 394px) and (max-width: 402px) {
  .hero h1 { font-size: 45px; }
  .hero-layout { padding-bottom: 238px; }
  .official-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 16 Pro Max and 17 Pro Max */
@media (min-width: 431px) and (max-width: 440px) {
  .hero h1 { font-size: 48px; }
  .official-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-service-content h3 { font-size: 11px; }
}

@media (max-width: 350px) {
  :root { --container: calc(100% - 18px); }
  .site-header .logo,
  .site-header .brand-logo-image { width: 118px; }
  .hero-layout { padding-top: 80px; padding-bottom: 238px; }
  .hero h1 { font-size: 39px; }
  .hero-copy > p { font-size: 12px; }
  .hero-actions .button { font-size: 8px; padding-inline: 5px; }
  .hero-proof strong { font-size: 19px; }
  .hero-switcher { right: 9px; width: calc(100% - 18px); }
  .hero-frame-row button { height: 52px; }
  .official-service-content { padding: 8px; }
  .official-service-content h3 { font-size: 11px; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (min-width: 761px) and (max-width: 1100px) and (max-height: 700px) {
  .hero { min-height: 650px; }
  .hero-layout { padding-top: 100px; padding-bottom: 175px; }
  .hero h1 { font-size: clamp(50px, 7vw, 66px); }
  .hero-copy > p { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 24px; }
  .hero-switcher { bottom: 18px; }
}

/* V43.1 positioning corrections */
section[id] { scroll-margin-top: 88px; }

@media (max-width: 1100px) {
  .hero-switcher {
    position: absolute !important;
    margin: 0 !important;
  }
  body.mobile-menu-open .site-header .brand-logo-light {
    opacity: 0 !important;
    transform: translateY(-2px) !important;
  }
  body.mobile-menu-open .site-header .brand-logo-dark {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* V43.2 mobile header and floating-button collision fixes */
@media (max-width: 1100px) {
  body.mobile-menu-open .site-header .brand-logo-light { display: none !important; }
  body.mobile-menu-open .site-header .brand-logo-dark {
    display: block !important;
    opacity: 1 !important;
  }
  body.mobile-menu-open .menu-toggle {
    color: var(--ink) !important;
    border-color: rgba(23,24,23,.18) !important;
    background: rgba(255,255,255,.92) !important;
  }
}

@media (max-width: 900px) {
  .hero-switcher { padding-right: 64px; }
}


/* =========================================================
   V44 — MOBILE/TABLET HERO REFINED
   Фото занимает отдельный верхний экран, контент расположен ниже.
   ========================================================= */

@media (max-width: 900px) {
  .hero {
    --hero-photo-height: clamp(500px, 62svh, 680px);
    display: grid !important;
    grid-template-rows: var(--hero-photo-height) auto;
    min-height: 0 !important;
    overflow: hidden;
    align-items: stretch;
    background: #0b0e0c;
  }

  .hero-media {
    position: relative !important;
    z-index: 0;
    grid-row: 1;
    width: 100%;
    height: var(--hero-photo-height);
    overflow: hidden;
  }

  .hero-slide {
    height: 100%;
    transform: scale(1.02);
    object-position: center center !important;
  }

  .hero-slide.active {
    transform: scale(1);
  }

  .hero-shade {
    position: absolute !important;
    z-index: 1;
    inset: 0 0 auto !important;
    width: 100%;
    height: var(--hero-photo-height);
    pointer-events: none;
    background:
      linear-gradient(180deg,
        rgba(5,8,7,.50) 0%,
        rgba(5,8,7,.06) 24%,
        rgba(5,8,7,.04) 54%,
        rgba(5,8,7,.35) 76%,
        rgba(5,8,7,.90) 100%) !important;
  }

  .hero-shade::after {
    background:
      linear-gradient(90deg,
        rgba(5,8,7,.20) 0%,
        rgba(5,8,7,0) 45%,
        rgba(5,8,7,.08) 100%) !important;
  }

  .hero-grain {
    z-index: 2;
    inset: 0 0 auto;
    height: var(--hero-photo-height);
  }

  .hero-layout {
    position: relative;
    z-index: 4;
    grid-row: 2;
    display: block;
    width: 100% !important;
    padding: 42px max(24px, calc((100vw - 820px) / 2)) 42px !important;
    color: #f5efe4;
    background:
      radial-gradient(circle at 80% 0%, rgba(182,142,68,.14), transparent 34%),
      linear-gradient(180deg, #11140f 0%, #090b09 100%);
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .hero-label {
    margin-bottom: 18px;
    color: rgba(245,239,228,.70);
  }

  .hero h1 {
    max-width: 10ch !important;
    margin-bottom: 22px;
    font-size: clamp(50px, 8.2vw, 70px);
    line-height: .91;
  }

  .hero-copy > p {
    max-width: 46ch;
    margin-bottom: 28px;
    color: rgba(245,239,228,.72);
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-actions {
    max-width: 680px;
    margin-bottom: 30px;
  }

  .hero-switcher {
    position: absolute !important;
    z-index: 6;
    top: calc(var(--hero-photo-height) - 132px) !important;
    right: 18px !important;
    bottom: auto !important;
    width: min(500px, calc(100% - 36px)) !important;
    margin: 0 !important;
    padding: 10px;
    border-radius: 18px;
    background: rgba(13,15,13,.70);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0,0,0,.32);
  }

  .hero-bottom-line,
  .scroll-down {
    display: none !important;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(7,9,8,.50), rgba(7,9,8,0)) !important;
    box-shadow: none !important;
  }

  .site-header.scrolled {
    color: var(--ink);
    background: rgba(255,253,250,.96) !important;
    box-shadow: 0 12px 34px rgba(15,12,8,.08) !important;
  }

  .menu-toggle {
    width: 56px !important;
    height: 52px !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 17px !important;
    color: #fff;
    background: rgba(13,14,12,.24) !important;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.06),
      0 12px 34px rgba(0,0,0,.14);
    backdrop-filter: blur(14px);
  }

  .site-header.scrolled .menu-toggle {
    color: var(--ink);
    border-color: rgba(23,24,23,.16) !important;
    background: rgba(255,255,255,.86) !important;
  }

  .menu-toggle span {
    width: 22px;
    height: 1.5px;
    margin: 6px auto;
    border-radius: 2px;
  }

  .mobile-menu {
    right: 0 !important;
    left: auto !important;
  }
}

@media (max-width: 760px) {
  .hero {
    --hero-photo-height: clamp(480px, 59svh, 610px);
  }

  .hero-layout {
    padding: 34px 18px 34px !important;
  }

  .hero-label {
    margin-bottom: 15px;
    font-size: 8px;
  }

  .hero h1 {
    max-width: 9.6ch !important;
    margin-bottom: 18px;
    font-size: clamp(39px, 11.8vw, 50px) !important;
    line-height: .89;
  }

  .hero-copy > p {
    max-width: 38ch;
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-actions .hero-primary {
    grid-column: 1 / -1;
    min-height: 52px;
    border-radius: 14px;
    font-size: 12px;
  }

  .hero-actions .hero-contact {
    min-height: 47px;
    border-radius: 13px;
    font-size: 10px;
  }


  .hero-contact-icon {
    display: grid !important;
    width: 25px;
    height: 25px;
  }

  .hero-proof {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .hero-proof > div {
    border-right-color: rgba(255,255,255,.12);
  }

  .hero-proof strong {
    font-size: 21px;
  }

  .hero-proof span {
    color: rgba(255,255,255,.56);
    font-size: 7.5px;
  }

  .hero-switcher {
    top: calc(var(--hero-photo-height) - 116px) !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    padding: 8px 9px;
    border-radius: 15px;
  }

  .hero-switcher-top {
    margin-bottom: 6px;
  }

  .hero-frame-row button {
    height: 55px;
  }

  .site-header .brand-logo-image {
    width: 145px !important;
  }

  .menu-toggle {
    width: 50px !important;
    height: 47px !important;
    border-radius: 15px !important;
  }
}

/* 14 Pro и 15 Pro */
@media (max-width: 393px) {
  .hero {
    --hero-photo-height: clamp(470px, 58svh, 570px);
  }
  .hero h1 { font-size: 42px !important; }
  .hero-layout { padding-inline: 16px !important; }
  .hero-switcher { right: 10px !important; width: calc(100% - 20px) !important; }
}

/* 16 Pro и 17 Pro */
@media (min-width: 394px) and (max-width: 402px) {
  .hero {
    --hero-photo-height: clamp(490px, 59svh, 590px);
  }
  .hero h1 { font-size: 44px !important; }
}

/* 14 Pro Max и 15 Pro Max */
@media (min-width: 403px) and (max-width: 430px) {
  .hero {
    --hero-photo-height: clamp(510px, 60svh, 620px);
  }
  .hero h1 { font-size: 47px !important; }
}

/* 16 Pro Max и 17 Pro Max */
@media (min-width: 431px) and (max-width: 440px) {
  .hero {
    --hero-photo-height: clamp(520px, 61svh, 640px);
  }
  .hero h1 { font-size: 49px !important; }
}

/* Небольшие телефоны */
@media (max-width: 350px) {
  .hero {
    --hero-photo-height: 455px;
  }
  .hero-layout { padding-inline: 14px !important; }
  .hero h1 { font-size: 37px !important; }
  .hero-actions .hero-contact { font-size: 9px; }
  .hero-frame-row button { height: 49px; }
}

/* Планшеты */
@media (min-width: 761px) and (max-width: 900px) {
  .hero {
    --hero-photo-height: clamp(500px, 56svh, 620px);
  }
  .hero-layout {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .hero-actions {
    grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(140px, .9fr));
  }
  .hero-proof {
    max-width: 690px;
  }
}


/* =========================================================
   V45 — MOBILE HEADER LEFT MENU + PORTRAIT PHOTOS
   ========================================================= */
@media (max-width: 900px) {
  .header-row {
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    gap: 10px !important;
  }

  .site-header .logo {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 176px !important;
    height: 36px !important;
  }

  .site-header .brand-logo-image {
    width: 176px !important;
  }

  .header-contacts {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  .menu-toggle {
    isolation: isolate;
    position: relative;
    display: grid !important;
    place-items: center;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 16px !important;
  }

  .menu-toggle span {
    position: absolute;
    left: 50%;
    width: 22px !important;
    height: 1.5px !important;
    margin: 0 !important;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .menu-toggle span:first-child { top: 19px; }
  .menu-toggle span:nth-child(2) { top: 29px; }

  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    top: 24px;
    transform: translateX(-50%) rotate(45deg) !important;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    top: 24px;
    transform: translateX(-50%) rotate(-45deg) !important;
  }

  /* Меню выезжает справа, кнопка остаётся слева в шапке. */
  .mobile-menu {
    right: 0 !important;
    left: auto !important;
  }

  /* Компактная типографика преимуществ первого экрана. */
  .hero-proof > div {
    gap: 6px !important;
  }

  .hero-proof span {
    display: block;
    line-height: 1.16 !important;
  }
}

@media (max-width: 760px) {
  .header-row {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    min-height: 68px !important;
  }

  .site-header .logo {
    width: 160px !important;
    height: 33px !important;
  }

  .site-header .brand-logo-image {
    width: 160px !important;
  }

  .menu-toggle {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .menu-toggle span { width: 19px !important; }
  .menu-toggle span:first-child { top: 16px; }
  .menu-toggle span:nth-child(2) { top: 25px; }
  .menu-toggle[aria-expanded="true"] span:first-child,
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; }

  /* Вертикальная подача фотографий апартаментов. */
  .apartment-photos {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr) !important;
    grid-template-rows: repeat(2, minmax(190px, 1fr)) !important;
    min-height: 430px !important;
  }

  .apartment-photos .photo-main {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    min-height: 430px !important;
  }

  .apartment-photos .image-button:not(.photo-main) {
    min-height: 0 !important;
  }

  .apartment-photos img,
  .gallery-item img,
  .hotel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .apartment-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 190px !important;
  }

  .gallery-item.gallery-wide {
    grid-column: span 1 !important;
  }

  .gallery-item.gallery-tall {
    grid-row: span 2 !important;
  }

  .hotel-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 205px !important;
  }

  .hotel-photo-main {
    grid-column: span 1 !important;
    grid-row: span 2 !important;
    min-height: 0 !important;
  }

  .hero-proof {
    align-items: start !important;
  }

  .hero-proof > div {
    display: grid !important;
    align-content: start !important;
    gap: 5px !important;
  }

  .hero-proof strong {
    margin: 0 !important;
    line-height: 1 !important;
  }

  .hero-proof span {
    margin: 0 !important;
    line-height: 1.12 !important;
  }
}

/* 14 Pro и 15 Pro */
@media (max-width: 393px) {
  .site-header .logo,
  .site-header .brand-logo-image { width: 150px !important; }
  .header-row { grid-template-columns: 44px minmax(0,1fr) 44px !important; }
  .menu-toggle { width: 40px !important; height: 40px !important; border-radius: 13px !important; }
}

/* 16 Pro и 17 Pro */
@media (min-width: 394px) and (max-width: 402px) {
  .site-header .logo,
  .site-header .brand-logo-image { width: 156px !important; }
}

/* 14 Pro Max и 15 Pro Max */
@media (min-width: 403px) and (max-width: 430px) {
  .site-header .logo,
  .site-header .brand-logo-image { width: 164px !important; }
}

/* 16 Pro Max и 17 Pro Max */
@media (min-width: 431px) and (max-width: 440px) {
  .site-header .logo,
  .site-header .brand-logo-image { width: 168px !important; }
}


/* =========================================================
   V46 — service detail popups
   ========================================================= */
.official-service-card {
  cursor: pointer;
}

.service-modal-v46 {
  width: min(1180px, calc(100% - 28px));
  max-height: min(92vh, 920px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  color: #171815;
  background: #fbf8f2;
  box-shadow: 0 34px 110px rgba(0,0,0,.44);
}

.service-modal-v46::backdrop {
  background: rgba(7,9,8,.76);
  backdrop-filter: blur(10px);
}

.service-modal-v46-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  min-height: 680px;
}

.service-modal-v46-gallery {
  min-width: 0;
  padding: 18px;
  background: #111510;
}

.service-modal-v46-stage {
  position: relative;
  height: min(68vh, 650px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 20px;
  background: #0a0c0a;
}

.service-modal-v46-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.05), transparent 55%, rgba(0,0,0,.28));
}

.service-modal-v46-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .22s ease, transform .5s ease;
}

.service-modal-v46-stage.is-changing > img {
  opacity: .25;
  transform: scale(1.02);
}

.service-modal-v46-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  color: #fff;
  background: rgba(8,10,9,.58);
  backdrop-filter: blur(12px);
}

.service-modal-v46-nav span {
  display: block;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-2px);
}

.service-modal-v46-prev { left: 16px; }
.service-modal-v46-next { right: 16px; }

.service-modal-v46-nav[hidden] {
  display: none;
}

.service-modal-v46-counter {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8,10,9,.62);
  font-size: 12px;
  letter-spacing: .08em;
}

.service-modal-v46-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-modal-v46-thumb {
  flex: 0 0 92px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  opacity: .62;
  background: transparent;
  transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.service-modal-v46-thumb:hover,
.service-modal-v46-thumb.is-active {
  opacity: 1;
  border-color: #d8b565;
  transform: translateY(-2px);
}

.service-modal-v46-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal-v46-content {
  overflow-y: auto;
  padding: 58px 48px 44px;
}

.service-modal-v46-content h2 {
  max-width: 11ch;
  margin: 14px 0 18px;
  font-size: clamp(42px, 4vw, 68px);
  line-height: .94;
}

.service-modal-v46-lead {
  max-width: 48ch;
  margin-bottom: 24px;
  color: #565850;
  font-size: 17px;
  line-height: 1.55;
}

.service-modal-v46-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.service-modal-v46-fact {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(157,121,48,.18);
  border-radius: 14px;
  background: #f4eee3;
}

.service-modal-v46-fact small {
  display: block;
  margin-bottom: 5px;
  color: #9a742a;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-modal-v46-fact strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.service-modal-v46-copy {
  display: grid;
  gap: 13px;
  color: #55574f;
  font-size: 14px;
  line-height: 1.65;
}

.service-modal-v46-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.service-modal-v46-list li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  line-height: 1.45;
}

.service-modal-v46-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #b58a35;
  font-weight: 800;
}

.service-modal-v46-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-modal-v46-actions .button {
  min-height: 52px;
}

.service-modal-v46-source {
  border: 1px solid rgba(18,20,17,.18);
  color: #171815;
  background: transparent;
}

.service-modal-v46-note {
  display: block;
  margin-top: 18px;
  color: #8c8d86;
  font-size: 10px;
  line-height: 1.45;
}

.service-modal-v46-close {
  position: fixed;
  z-index: 6;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(6,8,7,.72);
  box-shadow: 0 12px 34px rgba(0,0,0,.30);
}

.service-modal-v46-close span {
  display: block;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .service-modal-v46 {
    width: min(100%, calc(100% - 12px));
    max-height: 96vh;
    border-radius: 22px;
  }

  .service-modal-v46-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-modal-v46-gallery {
    padding: 8px;
  }

  .service-modal-v46-stage {
    height: min(53vh, 540px);
    min-height: 360px;
    border-radius: 17px;
  }

  .service-modal-v46-content {
    padding: 34px 24px 30px;
  }

  .service-modal-v46-content h2 {
    font-size: clamp(38px, 9vw, 58px);
  }

  .service-modal-v46-close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
  }
}

@media (max-width: 560px) {
  .service-modal-v46 {
    width: 100%;
    max-height: 100dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .service-modal-v46-stage {
    height: 44vh;
    min-height: 300px;
  }

  .service-modal-v46-content {
    padding: 30px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .service-modal-v46-facts {
    grid-template-columns: 1fr;
  }

  .service-modal-v46-actions {
    grid-template-columns: 1fr;
  }

  .service-modal-v46-thumb {
    flex-basis: 76px;
    height: 58px;
  }
}


/* =========================================================
   V47 — мобильные попапы услуг + корректный размер Investment
   ========================================================= */
.service-modal-v46-actions {
  grid-template-columns: 1fr;
}

.service-modal-v46-actions [data-service-request] {
  width: 100%;
}

@media (max-width: 900px) {
  .service-modal-v46 {
    width: min(100%, 760px);
    height: min(100dvh, 100%);
    max-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .service-modal-v46-shell {
    display: block;
    min-height: auto;
    overflow: visible;
    touch-action: pan-y;
  }

  .service-modal-v46-gallery,
  .service-modal-v46-stage,
  .service-modal-v46-content {
    touch-action: pan-y;
  }

  .service-modal-v46-gallery {
    position: relative;
    padding: max(8px, env(safe-area-inset-top)) 8px 10px;
  }

  .service-modal-v46-stage {
    height: clamp(320px, 47svh, 470px);
    min-height: 0;
    border-radius: 18px;
  }

  .service-modal-v46-content {
    overflow: visible;
    padding: 32px 24px calc(36px + env(safe-area-inset-bottom));
  }

  .service-modal-v46-content h2 {
    max-width: 12ch;
    margin: 12px 0 16px;
    font-size: clamp(40px, 8.4vw, 56px);
    line-height: .92;
  }

  .service-modal-v46-lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.48;
  }

  .service-modal-v46-close {
    position: fixed;
    top: calc(max(10px, env(safe-area-inset-top)) + 4px);
    right: max(12px, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
  }

  .service-modal-v46-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    touch-action: manipulation;
  }

  .service-modal-v46-prev { left: 12px; }
  .service-modal-v46-next { right: 12px; }

  .service-modal-v46-thumbs {
    padding-bottom: 2px;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 560px) {
  .service-modal-v46 {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .service-modal-v46-gallery {
    padding-inline: 6px;
  }

  .service-modal-v46-stage {
    height: clamp(300px, 42svh, 390px);
    border-radius: 16px;
  }

  .service-modal-v46-content {
    padding: 28px 18px calc(34px + env(safe-area-inset-bottom));
  }

  .service-modal-v46-content .eyebrow {
    font-size: 8px;
    letter-spacing: .18em;
    line-height: 1.35;
  }

  .service-modal-v46-content h2 {
    max-width: 11ch;
    margin-top: 10px;
    font-size: clamp(36px, 10.2vw, 46px);
    line-height: .9;
    letter-spacing: -.035em;
  }

  .service-modal-v46-lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .service-modal-v46-facts {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 22px;
  }

  .service-modal-v46-fact {
    padding: 12px 13px;
  }

  .service-modal-v46-copy,
  .service-modal-v46-list li {
    font-size: 13px;
  }

  .service-modal-v46-thumb {
    flex-basis: 72px;
    height: 54px;
    border-radius: 10px;
  }

  .service-modal-v46-counter {
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .service-modal-v46-note {
    font-size: 9px;
  }
}

/* iPhone 12 mini, 13 mini, 14 Pro и 15 Pro */
@media (max-width: 393px) {
  .service-modal-v46-stage {
    height: clamp(290px, 40svh, 350px);
  }

  .service-modal-v46-content {
    padding-inline: 16px;
  }

  .service-modal-v46-content h2 {
    font-size: clamp(34px, 9.8vw, 41px);
  }

  .investment-core span {
    font-size: 7px !important;
    letter-spacing: .085em !important;
  }
}

/* iPhone 16 Pro и 17 Pro */
@media (min-width: 394px) and (max-width: 402px) {
  .service-modal-v46-stage { height: clamp(300px, 41svh, 365px); }
  .service-modal-v46-content h2 { font-size: clamp(36px, 9.8vw, 43px); }
  .investment-core span {
    font-size: 7.5px !important;
    letter-spacing: .09em !important;
  }
}

/* iPhone 14 Pro Max и 15 Pro Max */
@media (min-width: 403px) and (max-width: 430px) {
  .service-modal-v46-stage { height: clamp(315px, 42svh, 385px); }
  .service-modal-v46-content h2 { font-size: clamp(38px, 9.7vw, 46px); }
  .investment-core span {
    font-size: 8px !important;
    letter-spacing: .095em !important;
  }
}

/* iPhone 16 Pro Max и 17 Pro Max */
@media (min-width: 431px) and (max-width: 440px) {
  .service-modal-v46-stage { height: clamp(325px, 43svh, 400px); }
  .service-modal-v46-content h2 { font-size: clamp(40px, 9.6vw, 48px); }
  .investment-core span {
    font-size: 8.5px !important;
    letter-spacing: .10em !important;
  }
}

/* Низкие экраны, включая iPhone 12 mini в браузере с панелями */
@media (max-width: 440px) and (max-height: 820px) {
  .service-modal-v46-stage {
    height: min(38svh, 320px);
  }

  .service-modal-v46-content {
    padding-top: 24px;
  }

  .service-modal-v46-content h2 {
    margin-bottom: 13px;
  }
}


/* =========================================================
   V48 — точечные правки
   ========================================================= */
@media (min-width: 901px) {
  /* Только заголовок «Круглогодичный открытый бассейн». */
  .service-modal-v46[data-service-id="pool"] .service-modal-v46-content h2 {
    font-size: 62px;
  }

  /* Только строка «под управлением отеля» на десктопе. */
  .investment-copy-v38 h2 em {
    display: inline-block;
    font-size: .78em;
    line-height: .94;
  }
}


/* =========================================================
   V49 — полноценная адаптация всех попапов
   ========================================================= */
.service-modal-v46,
.lead-modal {
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 900px) {
  .service-modal-v46[open] {
    position: fixed !important;
    inset: 4dvh 3vw !important;
    width: 94vw !important;
    height: 92dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 24px !important;
    -webkit-overflow-scrolling: touch;
  }
  .service-modal-v46-shell {
    display: flex !important;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
  }
  .service-modal-v46-stage {
    width: 100%;
    height: min(48dvh, 500px) !important;
    min-height: 360px !important;
  }
  .service-modal-v46-content {
    width: 100%;
    overflow: visible !important;
  }

  .lead-modal[open] {
    width: min(680px, calc(100vw - 36px)) !important;
    max-height: calc(100dvh - 36px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767px) {
  .service-modal-v46[open],
  .lead-modal[open] {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: auto;
  }

  .service-modal-v46-shell {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 100% !important;
    flex-direction: column;
    overflow: visible !important;
  }

  .service-modal-v46-gallery {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto;
    padding: max(8px, env(safe-area-inset-top)) 8px 10px !important;
  }

  .service-modal-v46-stage {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    border-radius: 17px !important;
    touch-action: pan-y pinch-zoom;
  }

  .service-modal-v46-stage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-modal-v46-thumbs {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-top: 9px;
    padding: 0 2px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .service-modal-v46-thumb {
    flex: 0 0 78px !important;
    height: 58px !important;
    scroll-snap-align: start;
  }

  .service-modal-v46-content {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto;
    overflow: visible !important;
    padding: 29px 18px calc(38px + env(safe-area-inset-bottom)) !important;
  }

  .service-modal-v46-content .eyebrow {
    max-width: 100%;
    font-size: 8px !important;
    line-height: 1.45;
    letter-spacing: .17em !important;
  }

  .service-modal-v46-content h2 {
    max-width: 12ch !important;
    margin: 10px 0 15px !important;
    overflow-wrap: anywhere;
    font-size: clamp(35px, 10.2vw, 48px) !important;
    line-height: .91 !important;
    letter-spacing: -.04em !important;
  }

  .service-modal-v46-lead {
    max-width: none;
    margin-bottom: 19px !important;
    font-size: 15px !important;
    line-height: 1.46 !important;
  }

  .service-modal-v46-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 22px !important;
  }

  .service-modal-v46-fact {
    min-height: 86px;
    padding: 10px 9px !important;
    border-radius: 13px !important;
  }

  .service-modal-v46-fact small {
    margin-bottom: 7px;
    font-size: 7px !important;
    line-height: 1.25;
    letter-spacing: .1em !important;
  }

  .service-modal-v46-fact strong {
    overflow-wrap: anywhere;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .service-modal-v46-copy {
    gap: 11px !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
  }

  .service-modal-v46-list {
    gap: 8px !important;
    margin: 21px 0 24px !important;
  }

  .service-modal-v46-list li {
    padding-left: 22px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  .service-modal-v46-actions .button {
    min-height: 54px;
    border-radius: 14px;
  }

  .service-modal-v46-close {
    position: fixed !important;
    z-index: 2147483646 !important;
    top: calc(max(9px, env(safe-area-inset-top)) + 3px) !important;
    right: max(11px, env(safe-area-inset-right)) !important;
    width: 44px !important;
    height: 44px !important;
  }

  .service-modal-v46-nav {
    width: 43px !important;
    height: 43px !important;
    margin-top: -21.5px !important;
  }

  .service-modal-v46-prev { left: 12px !important; }
  .service-modal-v46-next { right: 12px !important; }

  /* Форма заявки — тоже полноэкранная и прокручиваемая. */
  .lead-modal-shell {
    display: block !important;
    width: 100% !important;
    min-height: 100% !important;
  }
  .lead-modal-visual { display: none !important; }
  .lead-modal form {
    width: 100%;
    min-height: 100%;
    justify-content: flex-start;
    padding: calc(64px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom)) !important;
  }
  .lead-modal h2 {
    max-width: 11ch !important;
    padding-right: 24px;
    font-size: clamp(35px, 10vw, 45px) !important;
    line-height: .96 !important;
  }
  .lead-modal form > p {
    margin-bottom: 20px !important;
    font-size: 13px !important;
  }
  .lead-modal-fields { gap: 12px; }
  .lead-modal input,
  .lead-modal select {
    min-height: 52px !important;
    font-size: 16px;
  }
  .lead-modal .modal-close {
    position: fixed !important;
    z-index: 2147483646 !important;
    top: calc(max(9px, env(safe-area-inset-top)) + 3px) !important;
    right: max(11px, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 350px) {
  .service-modal-v46-content { padding-inline: 14px !important; }
  .service-modal-v46-content h2 { font-size: 34px !important; }
  .service-modal-v46-facts { grid-template-columns: 1fr 1fr !important; }
  .service-modal-v46-fact:last-child { grid-column: 1 / -1; }
  .lead-modal form { padding-inline: 15px !important; }
}
