:root {
  color-scheme: light;
  --ink: #171a18;
  --soft-ink: #333936;
  --paper: #f3f0e9;
  --paper-2: #e9e3d7;
  --white: #fff;
  --accent: #f05a3f;
  --accent-dark: #cf442f;
  --acid: #e6d75d;
  --blue: #153f5f;
  --green: #164a42;
  --line: rgba(23, 26, 24, .15);
  --page: clamp(18px, 4vw, 68px);
  --section: clamp(58px, 5.8vw, 92px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", system-ui, sans-serif;
  --custom-text: #171a18;
  --custom-label: #f05a3f;
  --custom-background: #f3f0e9;
  --custom-main: #f05a3f;
  --custom-main-dark: #cf442f;
  --custom-main-light: #fbe2dc;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
figure { margin: 0; }
em { color: var(--accent); font-style: italic; font-weight: 400; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 12px 18px; background: var(--white); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 16px var(--page);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  transition: background 180ms ease, min-height 180ms ease, box-shadow 180ms ease;
}
.header.is-scrolled { position: fixed; min-height: 72px; padding-top: 10px; padding-bottom: 10px; background: rgba(23, 26, 24, .94); box-shadow: 0 12px 35px rgba(0, 0, 0, .16); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand img { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; object-fit: cover; }
.brand span { display: grid; line-height: .95; }
.brand strong { font: 500 1.08rem/1 "Literata", Georgia, serif; }
.brand small { margin-top: 5px; font-size: .61rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 46px); font-size: .73rem; font-weight: 500; }
.nav a { position: relative; padding: 10px 0; white-space: nowrap; }
.nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.header__phone { font-size: .68rem; font-weight: 600; letter-spacing: .015em; white-space: nowrap; }
.header__action { display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.6); font-size: .72rem; font-weight: 600; }
.header__action span { font-size: 1rem; }
.menu-button { display: none; }

.hero { position: relative; height: clamp(760px, 100svh, 960px); min-height: 760px; overflow: hidden; background: #1a211e; color: var(--white); isolation: isolate; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { z-index: -3; object-fit: cover; object-position: center; animation: hero-in 1.4s ease-out both; }
.hero__shade { z-index: -2; background: linear-gradient(90deg, rgba(9, 14, 12, .88) 0%, rgba(9, 14, 12, .62) 34%, rgba(9, 14, 12, .1) 68%, rgba(9, 14, 12, .17) 100%), linear-gradient(0deg, rgba(8, 12, 10, .52) 0%, transparent 43%); }
.hero::after { position: absolute; z-index: -1; inset: 0; border: 14px solid rgba(255,255,255,.055); content: ""; pointer-events: none; }
.hero__content { position: absolute; top: clamp(142px, 17vh, 190px); left: 0; width: min(900px, 70vw); padding: 0 var(--page); }
.overline { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.overline::before { width: 42px; height: 2px; flex: 0 0 auto; background: var(--acid); content: ""; }
.overline--ink { color: var(--soft-ink); }
.hero h1, h2 { font-family: "Literata", Georgia, serif; font-weight: 400; }
.hero h1 { max-width: 10ch; margin-bottom: 24px; font-size: clamp(4.5rem, 7.45vw, 8.3rem); line-height: .91; letter-spacing: -.055em; }
.hero h1 em { display: inline-block; margin-top: .36em; }
.hero__lead { max-width: 610px; margin-bottom: 0; color: rgba(255,255,255,.88); font-size: clamp(.98rem, 1.15vw, 1.12rem); line-height: 1.65; text-wrap: balance; }

.search-panel {
  position: absolute;
  z-index: 5;
  right: var(--page);
  bottom: 28px;
  left: var(--page);
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(560px, 2.35fr);
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
  padding: 18px 22px 18px 30px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 32px;
  background: rgba(247, 245, 239, .97);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(16px);
}
.search-panel__heading p, .search-panel__heading span { display: block; }
.search-panel__heading p { margin-bottom: 6px; font: 500 1.12rem/1.3 "Literata", Georgia, serif; }
.search-panel__heading span { color: #6f7772; font-size: .68rem; line-height: 1.5; }
.realty { width: 100%; position: relative; --custom-text: #171a18; --custom-label: #f05a3f; --custom-background: #f3f0e9; --custom-main: #f05a3f; --custom-main-dark: #cf442f; --custom-main-light: #fbe2dc; }
.realty--search { min-height: 78px; }
.realty--catalog { min-height: 620px; }
.realty:empty::before { position: absolute; inset: 0; display: grid; place-items: center; color: #767c78; font-size: .7rem; content: "Сверяем календари…"; }

.section { padding: var(--section) var(--page); }
.catalog { background: var(--paper); }
.catalog__heading, .trust__heading, .offers__heading { max-width: 1560px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .6fr); align-items: end; gap: 70px; margin: 0 auto clamp(34px, 3vw, 46px); }
#catalog-title, #trust-title, #offers-title { margin-bottom: 0; font-size: clamp(3rem, 5.5vw, 6.5rem); line-height: .98; letter-spacing: -.05em; }
.catalog__intro { padding-bottom: 8px; }
.catalog__intro > p { margin-bottom: 24px; color: #656c68; font-size: .82rem; line-height: 1.75; }
.live-status { display: flex; align-items: center; gap: 11px; font-size: .63rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.live-status i { width: 8px; height: 8px; border-radius: 50%; background: #35a36f; box-shadow: 0 0 0 5px rgba(53,163,111,.12); }
.live-status b { font-weight: 600; }
.catalog__controls { max-width: 1560px; display: flex; gap: 8px; margin: 0 auto; padding: 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.42); }
.catalog-tab { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 0 25px; border: 0; border-radius: 999px; background: transparent; color: #6a716d; cursor: pointer; font-size: .74rem; font-weight: 600; }
.catalog-tab span { font-size: 1rem; }
.catalog-tab.is-active { background: var(--ink); color: var(--white); }
.catalog-panel { max-width: 1560px; margin: 0 auto; }
.catalog-panel--map { position: relative; margin-top: 24px; overflow: hidden; border-radius: 26px; }
.catalog-more { min-width: 245px; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 34px auto 0; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; font-size: .72rem; font-weight: 600; transition: background 160ms ease, color 160ms ease; }
.catalog-more:hover { background: var(--ink); color: var(--white); }

.property-map { width: 100%; height: min(690px, 72vh); min-height: 520px; background: var(--paper-2); }
.map-state { position: absolute; z-index: 500; top: 18px; left: 50%; max-width: calc(100% - 36px); padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 10px 28px rgba(23,26,24,.14); font-size: .68rem; transform: translateX(-50%); }
.map-state.is-ready { top: auto; bottom: 18px; }
.map-fallback { position: absolute; z-index: 501; right: 18px; bottom: 18px; padding: 13px 17px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: .7rem; font-weight: 600; }
.ymaps-2-1-79-map { font-family: "Onest", sans-serif !important; }
.ymaps-price-marker { width: max-content; min-width: 94px; max-width: 150px; height: 42px; display: grid; place-items: center; padding: 0 17px; overflow: hidden; border: 2px solid var(--white); border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: 0 8px 20px rgba(23,26,24,.25); font: 700 10.5px/1.1 "Onest", sans-serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.ymaps-price-marker { transform: translate(-50%, -50%); }
.ymaps-price-marker.is-group { background: var(--accent); }
.map-popup { overflow: hidden; border-radius: 16px; background: #fff; }
.map-popup img { width: 100%; height: 145px; object-fit: cover; }
.map-popup__body { padding: 18px; }
.map-popup__body > span { display: block; margin-bottom: 8px; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-popup h3 { margin-bottom: 8px; font: 500 17px/1.35 "Literata", Georgia, serif; }
.map-popup p { margin-bottom: 14px; color: #6b726e; font-size: 11px; line-height: 1.55; }
.map-popup button, .map-popup__button { width: 100%; min-height: 42px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--accent); color: var(--white); cursor: pointer; font-size: 11px; font-weight: 600; }

.trust { background: var(--white); }
.trust__heading { margin-bottom: clamp(34px, 3vw, 46px); }
.trust__heading > p { max-width: 540px; margin: 0 0 8px; color: #656c68; font-size: .82rem; line-height: 1.8; }
.facts { max-width: 1560px; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto 34px; overflow: hidden; border-radius: 24px; background: var(--blue); color: var(--white); }
.facts article { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px 30px; border-right: 1px solid rgba(255,255,255,.14); }
.facts article:last-child { border-right: 0; }
.facts strong { font: 400 clamp(2.2rem, 4vw, 4.6rem)/1 "Literata", Georgia, serif; letter-spacing: -.05em; }
.facts span { max-width: 25ch; color: rgba(255,255,255,.64); font-size: .68rem; line-height: 1.5; }
.proof-layout { min-width: 0; max-width: 1560px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 34px; margin: 0 auto; }
.awards-block { min-width: 0; overflow: hidden; padding: clamp(26px, 3vw, 44px); border-radius: 24px; background: #efebe2; }
.awards-block__head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.awards-block__head > span { font: 500 1.25rem/1.3 "Literata", Georgia, serif; }
.awards-block__head p { max-width: 300px; margin: 0; color: #717873; font-size: .68rem; line-height: 1.6; }
.awards { width: 100%; min-width: 0; max-width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.1vw, 14px); }
.award-card { position: relative; overflow: hidden; border-radius: 18px; background: #ddd; }
.award-card img { width: 100%; aspect-ratio: 405 / 573; object-fit: cover; transition: transform 500ms ease; }
.award-card:hover img { transform: scale(1.025); }
.award-card figcaption { position: absolute; right: 10px; bottom: 10px; left: 10px; display: grid; gap: 3px; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.award-card figcaption strong { font-size: .72rem; }
.award-card figcaption span { color: #737975; font-size: .58rem; }
.service-notes { display: grid; grid-template-rows: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.service-notes article { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 17px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.service-notes article:last-child { border-bottom: 0; }
.service-notes__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #f7e5df; color: var(--accent-dark); }
.service-notes__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.service-notes h3 { margin-bottom: 8px; font: 500 .96rem/1.35 "Literata", Georgia, serif; }
.service-notes p { margin: 0; color: #6d746f; font-size: .68rem; line-height: 1.65; }

.reviews { max-width: 1560px; margin: 34px auto 0; padding: clamp(28px, 4vw, 58px); overflow: hidden; border-radius: 26px; background: var(--ink); color: var(--white); }
.reviews__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.reviews__head span { display: block; margin-bottom: 9px; color: var(--acid); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.reviews__head h3 { margin: 0; font: 400 clamp(2rem, 3.5vw, 4rem)/1.05 "Literata", Georgia, serif; letter-spacing: -.04em; }
.reviews__actions { display: flex; align-items: center; gap: 8px; }
.reviews__actions a { margin-right: 14px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.45); font-size: .68rem; }
.reviews__actions button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.reviews__actions button:hover { background: #fff; color: var(--ink); }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 38%); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review-card { min-height: 250px; display: flex; flex-direction: column; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.07); scroll-snap-align: start; }
.review-card__rating { display: flex; align-items: center; justify-content: space-between; color: var(--acid); font-size: .72rem; font-weight: 700; }
.review-card__rating i { color: var(--acid); font-style: normal; letter-spacing: .12em; }
.review-card blockquote { margin: 34px 0 30px; font: 400 clamp(1.15rem, 1.6vw, 1.5rem)/1.45 "Literata", Georgia, serif; }
.review-card__author { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; }
.review-card__author strong, .review-card__author span { display: block; }
.review-card__author strong { margin-bottom: 4px; font-size: .7rem; }
.review-card__author span, .review-card__author a { color: rgba(255,255,255,.5); font-size: .6rem; }
.review-card__author a { text-align: right; }
.support-bar { max-width: 1560px; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; align-items: center; gap: 22px; margin: 28px auto 0; padding: 22px 24px; border: 1px solid rgba(22,74,66,.14); border-radius: 22px; background: #eaf0eb; color: var(--ink); }
.support-bar__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--white); }
.support-bar__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.support-bar__copy { display: grid; gap: 5px; }
.support-bar__copy > span { color: #527069; font-size: .61rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.support-bar__copy strong { max-width: 720px; font: 500 1.02rem/1.42 "Literata", Georgia, serif; }
.support-bar__actions { display: flex; align-items: center; gap: 9px; }
.support-bar__actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border: 1px solid rgba(23,26,24,.18); border-radius: 999px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.support-bar__actions a:last-child { border-color: var(--green); background: var(--green); color: var(--white); }

.offers { background: #e7e3da; color: var(--ink); }
.offers h2 em { color: var(--green); }
.offers__heading > p { max-width: 500px; margin: 0 0 8px; color: #626a65; font-size: .82rem; line-height: 1.8; }
.offers__grid { max-width: 1560px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; margin: 0 auto; }
.offer-card { position: relative; min-height: 350px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 29px; border: 1px solid rgba(23,26,24,.11); border-radius: 22px; background: #f7f5ef; color: var(--ink); isolation: isolate; }
.offer-card:nth-child(2) { background: #dce7eb; }
.offer-card:nth-child(3) { background: #dfe8df; }
.offer-card__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-card.has-image::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(13,17,15,.88), rgba(13,17,15,.08)); content: ""; }
.offer-card > span { margin-bottom: auto; color: #68736d; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.offer-card h3 { max-width: 14ch; margin: 0 0 14px; font: 400 clamp(1.65rem, 2.25vw, 2.65rem)/1.08 "Literata", Georgia, serif; letter-spacing: -.035em; }
.offer-card p { max-width: 40ch; margin-bottom: 25px; color: #68706b; font-size: .7rem; line-height: 1.65; }
.offer-card a { width: fit-content; display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .67rem; font-weight: 700; }
.offer-card.has-image { border-color: transparent; color: var(--white); }
.offer-card.has-image > span { color: var(--acid); }
.offer-card.has-image p { color: rgba(255,255,255,.74); }
.offer-card.has-image a { background: var(--white); color: var(--ink); }

.footer { display: grid; grid-template-columns: 1.1fr 1fr .55fr .7fr; gap: 50px; padding: 62px var(--page) 28px; background: var(--ink); color: var(--white); }
.footer__brand { align-self: start; }
.footer > p { margin: 0; color: rgba(255,255,255,.55); font-size: .72rem; line-height: 1.75; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 11px; font-size: .72rem; }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.38); font-size: .6rem; }
.mobile-book { display: none; }

.promo-toast { position: fixed; z-index: 900; right: 22px; bottom: 22px; width: min(410px, calc(100vw - 28px)); display: grid; grid-template-columns: 112px 1fr; overflow: hidden; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.28); animation: promo-in 420ms ease both; }
.promo-toast.is-search-visible { bottom: 168px; }
.promo-toast:not(.has-image) { grid-template-columns: 1fr; }
.promo-toast.has-image { grid-template-columns: 1fr; }
.promo-toast__close { position: absolute; z-index: 2; top: 9px; right: 9px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(23,26,24,.08); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.promo-toast__image { min-height: clamp(158px, 24vw, 190px); background-position: center; background-size: cover; }
.promo-toast__copy { padding: 22px 22px 20px; }
.promo-toast__copy > span { display: block; margin-bottom: 7px; color: var(--accent); font-size: .57rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.promo-toast__copy > strong { display: block; padding-right: 20px; font: 500 1.12rem/1.3 "Literata", Georgia, serif; }
.promo-toast__copy p { margin: 10px 0 16px; color: #68706b; font-size: .65rem; line-height: 1.55; }
.promo-toast__copy a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; }
.promo-toast__nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(23,26,24,.1); }
.promo-toast__nav > span { color: #777e79; font-size: .58rem; font-weight: 700; letter-spacing: .08em; }
.promo-toast__nav > div { display: flex; gap: 6px; }
.promo-toast__nav button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; background: transparent; color: var(--accent-dark); cursor: pointer; font-size: .7rem; }
.promo-toast__nav button:hover { border-color: var(--accent); background: var(--accent); color: var(--white); }
.promo-toast.is-changing .promo-toast__image,
.promo-toast.is-changing .promo-toast__copy > span,
.promo-toast.is-changing .promo-toast__copy > strong,
.promo-toast.is-changing .promo-toast__copy > p,
.promo-toast.is-changing .promo-toast__copy > a { animation: promo-swap 240ms ease both; }
.promo-toast.is-closing { animation: promo-out 240ms ease both; }

body.availability-open { overflow: hidden; }
.availability-dialog { position: fixed; z-index: 11000; inset: 0; display: grid; place-items: center; padding: 20px; }
.availability-dialog__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(15,19,17,.72); cursor: pointer; backdrop-filter: blur(5px); }
.availability-dialog__card { position: relative; width: min(540px, 100%); padding: 38px; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 34px 100px rgba(0,0,0,.32); animation: dialog-in 280ms ease both; }
.availability-dialog__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(23,26,24,.14); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.35rem; line-height: 1; }
.availability-dialog__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 18px; background: var(--green); color: var(--white); }
.availability-dialog__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.availability-dialog__eyebrow { margin-bottom: 10px; color: var(--accent-dark); font-size: .61rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.availability-dialog h2 { max-width: 12ch; margin-bottom: 17px; font: 400 clamp(2rem, 4vw, 3.2rem)/1.04 "Literata", Georgia, serif; letter-spacing: -.045em; }
.availability-dialog__card > p:not(.availability-dialog__eyebrow) { max-width: 48ch; margin-bottom: 26px; color: #646c67; font-size: .76rem; line-height: 1.7; }
.availability-dialog__actions { display: flex; gap: 9px; }
.availability-dialog__actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: .68rem; font-weight: 700; }
.availability-dialog__actions a:first-child { flex: 1; border-color: var(--green); background: var(--green); color: var(--white); }

/* Realty Calendar: поисковая форма */
body #hr-widget[data-instance-id="booking-search"] { display: block; }
body #hr-widget[data-instance-id="booking-search"] .main-page { min-height: 0 !important; background: transparent !important; }
body #hr-widget[data-instance-id="booking-search"] .custom-calendar { padding: 0 !important; }
body #hr-widget[data-instance-id="booking-search"] .search__container { max-width: none !important; height: 76px !important; padding: 5px !important; overflow: visible !important; border: 1px solid rgba(23,26,24,.12) !important; border-radius: 999px !important; background: #fff !important; box-shadow: 0 8px 24px rgba(23,26,24,.06) !important; }
body #hr-widget[data-instance-id="booking-search"] .search__input { border-color: rgba(23,26,24,.09) !important; background: #fff !important; }
body #hr-widget[data-instance-id="booking-search"] .search__input_first { border-radius: 999px 0 0 999px !important; }
body #hr-widget[data-instance-id="booking-search"] .search__input-text { color: #929793 !important; font-size: 11px !important; }
body #hr-widget[data-instance-id="booking-search"] .search__input-value,
body #hr-widget[data-instance-id="booking-search"] .select__input-value { color: var(--ink) !important; font-family: "Onest", sans-serif !important; font-weight: 600 !important; }
body #hr-widget[data-instance-id="booking-search"] .search__input-button { min-width: 134px !important; flex: 0 0 134px !important; border-radius: 999px !important; font-family: "Onest", sans-serif !important; }
body #hr-widget[data-instance-id="booking-search"] .button-content { font-weight: 600 !important; }
@media (min-width: 1024px) {
  body #hr-widget[data-instance-id="booking-search"] .select__dropdown { top: auto !important; bottom: calc(100% + 8px) !important; z-index: 20 !important; }
}

/* Realty Calendar: полноэкранный поиск без бокового переполнения */
html body .hr-modal { right: 0 !important; left: 0 !important; width: 100dvw !important; max-width: 100dvw !important; overflow-x: hidden !important; }
html body .hr-modal > .main-page { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; }
html body .hr-modal > .main-page > .header,
html body .hr-modal > .main-page > .welcome { display: none !important; }

/* Realty Calendar: каталог */
body #hr-widget[data-instance-id="booking-list"] { display: block; padding-top: 28px; }
body #hr-widget[data-instance-id="booking-list"] .main-page { min-height: 0 !important; background: transparent !important; }
body #hr-widget[data-instance-id="booking-list"] .hotels { max-width: none !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px !important; margin-top: 0 !important; padding-bottom: 0 !important; }
body #hr-widget[data-instance-id="booking-list"]:not(.is-expanded) .hotel-card:nth-child(n+10) { display: none !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card { height: 100% !important; display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: 280px 1fr auto !important; max-height: none !important; overflow: hidden !important; border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: none !important; transition: transform 220ms ease, box-shadow 220ms ease !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--acid), 0 24px 60px rgba(23,26,24,.13) !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card.is-map-target { box-shadow: 0 0 0 4px var(--acid), 0 24px 60px rgba(23,26,24,.16) !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card.is-date-hidden { display: none !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card__slide { height: 280px !important; overflow: hidden !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card__image { width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover !important; transition: transform 700ms ease !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-card:hover .hotel-card__image { transform: scale(1.035); }
body #hr-widget[data-instance-id="booking-list"] .hotel-info { min-height: 205px !important; padding: 22px 22px 14px !important; overflow: hidden !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-info > *:not(:last-child) { margin-bottom: 11px !important; }
html body #hr-widget[data-instance-id="booking-list"] .hotel-info__title { width: 100% !important; height: 52px !important; display: block !important; overflow: hidden !important; font-size: 18px !important; line-height: 24px !important; letter-spacing: 0 !important; }
html body #hr-widget[data-instance-id="booking-list"] .hotel-info__title > span { display: block !important; max-height: 48px !important; overflow: hidden !important; color: var(--ink) !important; font-family: "Literata", Georgia, serif !important; font-size: 18px !important; font-weight: 500 !important; line-height: 24px !important; white-space: normal !important; text-overflow: clip !important; }
html body #hr-widget[data-instance-id="booking-list"] .hotel-info__text > span,
html body #hr-widget[data-instance-id="booking-list"] .hotel-info__params-item > span { font-family: "Onest", sans-serif !important; font-size: 12px !important; font-weight: 500 !important; }
body #hr-widget[data-instance-id="booking-list"] .hotel-list { max-height: 43px; overflow: hidden; }
html body #hr-widget[data-instance-id="booking-list"] .hotel-list__item { font-family: "Onest", sans-serif !important; font-size: 11px !important; }
body #hr-widget[data-instance-id="booking-list"] .price-column { min-height: 96px !important; display: grid !important; grid-template-columns: 1fr auto !important; align-items: center !important; gap: 16px !important; padding: 17px 22px 20px !important; border-top: 1px solid rgba(23,26,24,.1) !important; border-left: 0 !important; }
html body #hr-widget[data-instance-id="booking-list"] .price-info__current-price { margin-bottom: 2px !important; color: var(--ink) !important; font-family: "Onest", sans-serif !important; font-size: 20px !important; font-weight: 700 !important; }
html body #hr-widget[data-instance-id="booking-list"] .price-info__day,
html body #hr-widget[data-instance-id="booking-list"] .price-info__text { font-family: "Onest", sans-serif !important; font-size: 11px !important; }
body #hr-widget[data-instance-id="booking-list"] .price-info__button { min-width: 126px !important; min-height: 46px !important; border-radius: 999px !important; }
body #hr-widget[data-instance-id="booking-list"] .price-info__button .button-content { font-size: 0 !important; }
html body #hr-widget[data-instance-id="booking-list"] .price-info__button .button-content::after { font-family: "Onest", sans-serif; font-size: 12px; font-weight: 600; content: "Смотреть даты"; }

@keyframes hero-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes promo-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes promo-out { to { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes promo-swap { from { opacity: .15; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

@media (min-width: 761px) and (max-height: 700px) {
  .hero { height: 100svh; min-height: 380px; }
  .header { min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
  .brand img { width: 40px; height: 40px; }
  .hero__content { top: 76px; }
  .hero .overline { margin-bottom: 10px; font-size: .54rem; }
  .hero h1 { margin-bottom: 10px; font-size: clamp(2.8rem, 9.8vh, 4.35rem); line-height: .9; }
  .hero h1 em { margin-top: .18em; }
  .hero__lead { max-width: 570px; font-size: .74rem; line-height: 1.45; }
  .search-panel { bottom: 12px; min-height: 92px; padding: 11px 14px 11px 24px; }
  .search-panel__heading p { font-size: .92rem; }
  .search-panel__heading span { font-size: .57rem; }
  body #hr-widget[data-instance-id="booking-search"] .search__container { height: 68px !important; }
}

@media (max-width: 1260px) {
  .search-panel { grid-template-columns: minmax(200px, .6fr) minmax(510px, 2fr); gap: 22px; }
  body #hr-widget[data-instance-id="booking-list"] .hotels { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .proof-layout { grid-template-columns: 1fr; }
  .service-notes { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .service-notes article:nth-child(odd) { border-right: 1px solid var(--line); }
  .service-notes article:nth-child(3) { border-bottom: 0; }
}

@media (max-width: 980px) {
  .header { grid-template-columns: 1fr auto auto; gap: 12px; }
  body.menu-open .header { background: var(--ink); backdrop-filter: none; }
  .header__actions { grid-column: 2; grid-row: 1; }
  .header__action { display: none; }
  .brand, .menu-button { position: relative; z-index: 42; }
  .menu-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; }
  .menu-button span { position: absolute; width: 17px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-button span:first-child { transform: translateY(-4px); }
  .menu-button span:nth-child(2) { transform: translateY(4px); }
  .menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
  .nav { position: fixed; z-index: 40; inset: 0; width: 100vw; height: 100dvh; min-height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; padding: clamp(116px, 17vh, 150px) var(--page) 38px; background: var(--ink); counter-reset: mobile-nav; font: 400 clamp(1.55rem, 5.5vw, 2.15rem)/1.2 "Literata", serif; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms ease, transform 180ms ease; }
  .nav::before { margin-bottom: 18px; color: rgba(255,255,255,.42); content: "Навигация"; font: 700 .59rem/1 "Onest", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
  .nav a { width: 100%; display: flex; align-items: baseline; gap: 15px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); white-space: normal; counter-increment: mobile-nav; }
  .nav a::before { min-width: 23px; color: var(--acid); content: "0" counter(mobile-nav); font: 600 .58rem/1 "Onest", sans-serif; letter-spacing: .06em; }
  .nav a::after { display: none; }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .hero__content { width: min(760px, 86vw); }
  .search-panel { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .search-panel__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
  .search-panel__heading p { margin-bottom: 0; }
  .catalog__heading, .trust__heading, .offers__heading { grid-template-columns: 1fr; gap: 30px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts article:nth-child(2) { border-right: 0; }
  .facts article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .reviews__track { grid-auto-columns: minmax(300px, 62%); }
  .support-bar { grid-template-columns: auto 1fr; }
  .support-bar__actions { grid-column: 2; }
  .offers__grid { grid-template-columns: 1fr 1fr; }
  .offer-card:first-child { grid-column: 1 / -1; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .header { position: fixed; min-height: 72px; padding-top: 10px; padding-bottom: 10px; background: rgba(23,26,24,.9); backdrop-filter: blur(14px); }
  body.menu-open .header { background: var(--ink); backdrop-filter: none; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: .96rem; }
  .brand small { font-size: .54rem; }
  .header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .header__actions { grid-column: 2; }
  .header__action { display: none; }
  .header__phone { font-size: .59rem; }
  .brand, .menu-button { position: relative; z-index: 42; }
  .menu-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: #fff; }
  .menu-button span { position: absolute; width: 17px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-button span:first-child { transform: translateY(-4px); }
  .menu-button span:nth-child(2) { transform: translateY(4px); }
  .menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
  .nav { position: fixed; z-index: 40; inset: 0; width: 100vw; height: 100dvh; min-height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; padding: clamp(116px, 17vh, 150px) var(--page) 38px; background: var(--ink); counter-reset: mobile-nav; font: 400 clamp(1.55rem, 7.5vw, 2.15rem)/1.2 "Literata", serif; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms ease, transform 180ms ease; }
  .nav::before { margin-bottom: 18px; color: rgba(255,255,255,.42); content: "Навигация"; font: 700 .59rem/1 "Onest", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
  .nav a { width: 100%; display: flex; align-items: baseline; gap: 15px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); white-space: normal; counter-increment: mobile-nav; }
  .nav a::before { min-width: 23px; color: var(--acid); content: "0" counter(mobile-nav); font: 600 .58rem/1 "Onest", sans-serif; letter-spacing: .06em; }
  .nav a::after { display: none; }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .hero { height: 790px; min-height: 790px; }
  .hero__image { object-position: 61% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(10,15,13,.82), rgba(10,15,13,.37)), linear-gradient(0deg, rgba(8,12,10,.68), transparent 62%); }
  .hero::after { border-width: 7px; }
  .hero__content { top: 118px; width: 100%; padding: 0 var(--page); }
  .overline { margin-bottom: 20px; font-size: .57rem; }
  .overline::before { width: 30px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(3.3rem, 14.5vw, 4.8rem); line-height: .94; }
  .hero h1 em { margin-top: .3em; }
  .hero__lead { max-width: 340px; color: rgba(255,255,255,.9); font-size: .84rem; line-height: 1.62; }
  .search-panel { right: 14px; bottom: 17px; left: 14px; min-height: 144px; gap: 12px; padding: 16px; border-radius: 26px; }
  .search-panel__heading { display: block; }
  .search-panel__heading p { margin-bottom: 3px; font-size: .96rem; }
  .search-panel__heading span { font-size: .61rem; }
  .realty--search { min-height: 62px; }
  #catalog-title, #trust-title, #offers-title { font-size: clamp(2.7rem, 12vw, 4.3rem); }
  .catalog__heading, .trust__heading, .offers__heading { margin-bottom: 32px; }
  .catalog__controls { padding: 6px; }
  .catalog-tab { flex: 1; justify-content: center; padding: 0 12px; }
  .catalog-panel--map { margin-right: -4px; margin-left: -4px; border-radius: 18px; }
  .property-map { height: 560px; min-height: 0; }
  .map-popup img { height: 108px; }
  .map-popup__body { padding: 14px; }
  .map-popup h3 { font-size: 15px; }
  .map-popup p { margin-bottom: 11px; font-size: 10px; }
  .facts { margin-bottom: 18px; border-radius: 18px; }
  .facts article { min-height: 135px; padding: 20px; }
  .facts strong { font-size: 2.2rem; }
  .proof-layout { gap: 18px; }
  .awards-block { margin-right: -14px; margin-left: -14px; padding: 24px 14px; border-radius: 0; }
  .awards-block__head { display: block; margin: 0 5px 20px; }
  .awards-block__head p { margin-top: 8px; }
  .awards { gap: 10px; overflow-x: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(210px, 72vw, 286px); padding: 0 5px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .awards::-webkit-scrollbar { display: none; }
  .award-card { scroll-snap-align: start; }
  .service-notes { grid-template-columns: 1fr; border-radius: 18px; }
  .service-notes article { grid-template-columns: 44px 1fr; gap: 15px; padding: 22px 20px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .service-notes article:last-child { border-bottom: 0 !important; }
  .reviews { margin-right: -14px; margin-left: -14px; padding: 28px 14px; border-radius: 0; }
  .reviews__head { display: block; padding: 0 4px; }
  .reviews__actions { margin-top: 22px; }
  .reviews__actions a { flex: 1; }
  .reviews__track { grid-auto-columns: 88%; }
  .review-card { min-height: 235px; }
  .support-bar { grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border-radius: 18px; }
  .support-bar__copy strong { font-size: .92rem; }
  .support-bar__actions { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: .72fr 1.28fr; }
  .support-bar__actions a { min-width: 0; padding: 0 12px; }
  .offers__grid { grid-template-columns: 1fr; }
  .offer-card:first-child { grid-column: auto; }
  .offer-card { min-height: 330px; }
  .footer { grid-template-columns: 1fr; padding-bottom: 100px; }
  .footer__bottom { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .mobile-book { position: fixed; z-index: 800; right: 12px; bottom: 12px; left: 12px; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; border-radius: 999px; background: var(--accent); color: var(--white); box-shadow: 0 14px 36px rgba(0,0,0,.24); font-size: .75rem; font-weight: 700; transition: opacity 180ms ease, transform 180ms ease; }
  .mobile-book.is-hidden { opacity: 0; pointer-events: none; transform: translateY(18px); }
  .promo-toast { right: 14px; bottom: 78px; grid-template-columns: 90px 1fr; }
  .promo-toast.is-search-visible { bottom: 182px; }
  .promo-toast__image { min-height: 148px; }
  .promo-toast__copy { padding: 18px; }
  body #hr-widget[data-instance-id="booking-search"] .search__container { height: 62px !important; padding: 4px !important; overflow: visible !important; border-radius: 999px !important; }
  body #hr-widget[data-instance-id="booking-search"] .search__input-mobile,
  body #hr-widget[data-instance-id="booking-search"] .search__input-mobile > * { border: 0 !important; border-right: 0 !important; box-shadow: none !important; }
  body #hr-widget[data-instance-id="booking-search"] .search__input-mobile { border-radius: 999px !important; }
  body #hr-widget[data-instance-id="booking-search"] .search__input-mobile::after,
  body #hr-widget[data-instance-id="booking-search"] .search__input-mobile::before { display: none !important; content: none !important; }
  html body .hr-modal .custom-calendar { width: 100% !important; margin: 0 !important; }
  html body .hr-modal .search,
  html body .hr-modal .tabs__buttons,
  html body .hr-modal .hotels { max-width: 100% !important; }
  html body #hr-modal .tooltip {
    position: fixed !important;
    right: 16px !important;
    bottom: 24px !important;
    left: 16px !important;
    top: auto !important;
    width: auto !important;
    max-width: calc(100dvw - 32px) !important;
    transform: none !important;
  }
  body #hr-widget[data-instance-id="booking-list"] { padding-top: 20px; }
  body #hr-widget[data-instance-id="booking-list"] .hotels { grid-template-columns: 1fr !important; gap: 18px !important; }
  body #hr-widget[data-instance-id="booking-list"] .hotel-card { grid-template-rows: 255px 1fr auto !important; border-radius: 18px !important; }
  body #hr-widget[data-instance-id="booking-list"] .hotel-card__slide { height: 255px !important; }
  .availability-dialog { align-items: end; padding: 12px; }
  .availability-dialog__card { width: 100%; padding: 30px 22px 22px; border-radius: 24px; }
  .availability-dialog__icon { width: 50px; height: 50px; margin-bottom: 19px; border-radius: 16px; }
  .availability-dialog__actions { display: grid; grid-template-columns: 1.45fr .75fr; }
  .availability-dialog__actions a { min-width: 0; padding: 0 12px; }
}

@media (max-width: 430px) {
  .section { padding-right: 14px; padding-left: 14px; }
  .hero__content { padding-right: 19px; padding-left: 19px; }
  .hero h1 { font-size: 3.35rem; }
  .catalog__heading, .trust__heading, .offers__heading { padding-right: 4px; padding-left: 4px; }
  .catalog__intro > p, .trust__heading > p, .offers__heading > p { font-size: .78rem; }
  .map-state { font-size: .6rem; }
  body #hr-widget[data-instance-id="booking-list"] .hotel-info { min-height: 192px !important; padding: 19px 18px 12px !important; }
  body #hr-widget[data-instance-id="booking-list"] .price-column { padding: 15px 18px 18px !important; }
  body #hr-widget[data-instance-id="booking-list"] .price-info__button { min-width: 118px !important; }
}

@media (max-width: 360px) {
  .header .brand span { display: none; }
  .header__phone { font-size: .56rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
