/* WOLFHOME — публичная часть */

:root {
  --paper: #f7f3ec;
  --card: #fffdf9;
  --ink: #101815;
  --ink-soft: #2b3a34;
  --muted: #5d6a63;
  --line: #e4dccd;
  --line-strong: #cfc4b0;
  --accent: #0f5f4e;
  --accent-dark: #0b4a3c;
  --accent-soft: #d8e8e1;
  --sand: #efe7d9;
  --terra: #b4552f;
  --radius: 4px;
  --shadow: 0 18px 50px -28px rgba(16, 24, 21, 0.45);
  --head: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.i { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(16, 24, 21, 0.04); }
.btn--tg { background: var(--accent); color: #fff; }
.btn--tg:hover { background: var(--accent-dark); }
.btn--light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: gap 0.18s ease, border-color 0.18s ease;
}
.link-arrow:hover { gap: 13px; border-color: var(--ink); }
.link-arrow .i { width: 16px; height: 16px; }

/* ---------- шапка ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.brand__name { font-size: 15px; font-weight: 600; letter-spacing: 0.16em; }
.brand__sub { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 28px; font-size: 14.5px; }
.nav a { color: var(--ink-soft); opacity: 0.82; transition: opacity 0.15s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a.is-active { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.langs { display: flex; gap: 2px; margin-right: 4px; }
.langs a {
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.langs a:hover { color: var(--ink); background: rgba(16, 24, 21, 0.05); }
.langs a.is-active { color: var(--ink); background: rgba(16, 24, 21, 0.07); }
.langs--mobile { display: none; }
.burger {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- герой ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 86vh;
  padding: 96px 0 0;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 18, 15, 0.55) 0%, rgba(9, 18, 15, 0.18) 34%, rgba(9, 18, 15, 0.78) 100%),
    linear-gradient(90deg, rgba(9, 18, 15, 0.6), rgba(9, 18, 15, 0.05) 60%);
}
.hero__in { position: relative; z-index: 1; padding-top: 24px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero h1 {
  font-family: var(--head);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.02em;
  max-width: 21ch;
  margin-bottom: 24px;
}
.lede {
  max-width: 44ch;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.hero .btn--solid { background: var(--paper); color: var(--ink); }
.hero .btn--solid:hover { background: #fff; }
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 46px 0 0;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero__stats dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.hero__stats dd { margin: 0; font-family: var(--head); font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }

/* ---------- секции ---------- */

.section { padding: 72px 0; }
.section--top { padding-top: 16px; }
.section--tint { background: var(--sand); }
.section--dark { background: #101815; color: var(--paper); }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.55); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.section__head h2 { font-family: var(--head); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.015em; max-width: 24ch; }
.section__note { max-width: 34ch; font-size: 14.5px; color: var(--muted); }

/* ---------- карта районов ---------- */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 48px;
  align-items: center;
}
.map-canvas {
  position: relative;
  padding: 0;
  border-radius: 10px;
  background: #e9efeb;
  overflow: hidden;
}
.map-live { width: 100%; height: 520px; }
.map-live .leaflet-tile-pane { filter: grayscale(0.92) contrast(0.96) brightness(1.02); }
.map-live .leaflet-control-zoom a { color: var(--ink); }
.leaflet-container { font-family: var(--sans); font-size: 12px; background: #e9efeb; }
.leaflet-control-attribution { background: rgba(255, 253, 249, 0.82) !important; font-size: 10px !important; }
.leaflet-tooltip.map-tip { background: #fffdf9; border: 1px solid var(--line); box-shadow: 0 8px 20px -14px rgba(16, 24, 21, 0.6); color: var(--ink); font-size: 12px; line-height: 1.45; padding: 7px 10px; border-radius: 6px; }
.leaflet-tooltip.map-tip::before { display: none; }
.map-popup .leaflet-popup-content-wrapper {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  box-shadow: 0 18px 40px -22px rgba(16, 24, 21, 0.9);
  padding: 0;
}
.map-popup .leaflet-popup-content { margin: 14px 16px; min-width: 168px; }
.map-popup .leaflet-popup-tip { background: var(--ink); }
.map-pop { display: flex; flex-direction: column; gap: 4px; }
.map-pop b { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.01em; }
.map-pop span { font-size: 12px; opacity: 0.72; }
.leaflet-container .map-pop__btn {
  text-decoration: none;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.map-pop__btn:active { background: var(--sand); }
@media (max-width: 1000px) {
  .map-live { height: 420px; }
  .map-popup .leaflet-popup-content { min-width: 200px; margin: 14px 16px; }
  .leaflet-container .map-pop__btn { padding: 12px 14px; font-size: 14px; }
}
.map { width: 100%; height: auto; display: block; }
.map__shape path {
  fill: #fffdf9;
  stroke: rgba(16, 24, 21, 0.26);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.18s ease, stroke 0.18s ease;
}
.map__shape a { outline: none; }
.map__shape:hover path,
.map__shape.is-hot path { fill: #d3e7dd; stroke: var(--accent); }
.map__shape.is-current path { fill: #c4e0d4; stroke: var(--accent); }
.map__shape a:focus-visible path { stroke: var(--accent); stroke-width: 2.2; }
.map__label {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  fill: #2c3a33;
  paint-order: stroke;
  stroke: #fffdf9;
  stroke-width: 4px;
  stroke-linejoin: round;
  letter-spacing: 0.01em;
  text-anchor: middle;
  pointer-events: none;
  transition: fill 0.18s ease;
}
.map__label.is-hot { fill: var(--accent-dark); }
.map-credit {
  position: absolute;
  right: 14px;
  bottom: 9px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.map-credit a { border-bottom: 1px dotted currentColor; }
.map-credit a:hover { color: var(--ink); }

.map-list { list-style: none; margin: 0; padding: 0; display: grid; }
.map-list__item a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 14px;
  padding: 12px 12px 12px 14px;
  border-bottom: 1px solid rgba(16, 24, 21, 0.13);
  border-radius: 3px;
  transition: background 0.15s ease, padding 0.18s ease;
}
.map-list__item:first-child a { border-top: 1px solid rgba(16, 24, 21, 0.13); }
.map-list__item a:hover,
.map-list__item.is-hot a,
.map-list__item.is-current a { background: rgba(255, 253, 249, 0.72); padding-left: 20px; }
.map-list__name { font-family: var(--head); font-size: 19px; line-height: 1.2; }
.map-list__ru { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }
.map-list__name, .map-list__ru { grid-column: 1; }
.map-list__meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 190px;
  white-space: nowrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
}
.filter-chip b { font-weight: 600; }
.filter-chip a { border-bottom: 1px solid var(--line-strong); }
.filter-chip a:hover { border-color: var(--ink); }

/* ---------- карточки ---------- */

.grid--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; }

.card { animation: rise 0.6s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__district {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__body { padding: 16px 2px 0; }
.card__title {
  font-family: var(--head);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.3s; }
.card:hover .card__title a { background-size: 100% 1px; }
.card__specs { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price__num { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price__per { font-size: 12.5px; color: var(--muted); }
.price__alt { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
.price--big { margin-bottom: 22px; }
.price--big .price__num { font-family: var(--head); font-size: clamp(30px, 3.2vw, 40px); font-weight: 500; }
.price--big .price__per { font-size: 14px; }

/* ---------- районы ---------- */

.districts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
  border-top: 1px solid rgba(16, 24, 21, 0.14);
}
.district a {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-areas: "num name" "num ru" "num meta";
  align-items: baseline;
  gap: 1px 12px;
  padding: 15px 0 16px;
  border-bottom: 1px solid rgba(16, 24, 21, 0.14);
  transition: padding 0.2s ease, background 0.2s ease;
}
.district a:hover { background: rgba(255, 255, 255, 0.45); padding-left: 8px; }
.district__num { grid-area: num; font-family: var(--head); font-size: 18px; color: var(--terra); line-height: 1.4; }
.district__name { grid-area: name; font-family: var(--head); font-size: 21px; line-height: 1.25; }
.district__ru { grid-area: ru; font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.district__meta { grid-area: meta; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- шаги ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.step__num { font-family: var(--head); font-size: 26px; color: var(--terra); line-height: 1.1; }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { grid-column: 2; font-size: 14.5px; color: var(--muted); }

/* ---------- канал ---------- */

.channel { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.channel h2 { font-family: var(--head); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; margin-bottom: 20px; max-width: 20ch; }
.channel p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; margin-bottom: 28px; font-size: 15.5px; }
.mock-post {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow);
  font-size: 14.5px;
  line-height: 1.7;
}
.mock-post__head { display: block; font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.45); margin-bottom: 14px; }
.mock-post__meta { color: rgba(255, 255, 255, 0.62); }
.mock-post__tag {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(126, 224, 192, 0.14);
  color: #9be8cc;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

/* ---------- CTA ---------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px;
  background: var(--sand);
  border-radius: 6px;
}
.cta-band h2 { font-family: var(--head); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin-bottom: 10px; }
.cta-band p { color: var(--muted); max-width: 46ch; font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- служебные страницы ---------- */

.page-head { padding: 60px 0 24px; }
.page-head h1 { font-family: var(--head); font-size: clamp(36px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.02em; }
.page-head__note { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 56ch; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px;
  margin-bottom: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6a63' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; cursor: pointer; }
@media (min-width: 1180px) {
  .filters { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.filters .amenity-filter {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filters .amenity-filter legend {
  float: left;
  width: 100%;
  padding: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.amenity-chip { position: relative; display: inline-flex; }
.amenity-chip input { position: absolute; opacity: 0; pointer-events: none; }
.amenity-chip span {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.amenity-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.amenity-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.empty { text-align: center; padding: 80px 0; }
.empty h2 { font-family: var(--head); font-size: 30px; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- карточка объекта ---------- */

.listing { padding: 52px 0 80px; }
.gallery { margin-bottom: 32px; }
.gallery__main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery__main img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumb { padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; opacity: 0.6; transition: opacity 0.2s; }
.gallery__thumb img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; }
.gallery__thumb.is-active { outline: 2px solid var(--accent); outline-offset: -2px; }

.listing__cols { display: grid; grid-template-columns: minmax(0, 1fr) 366px; gap: 64px; align-items: start; }
.listing__main h1 { font-family: var(--head); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.spec-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 32px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-row li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.spec-row .i { color: var(--accent); width: 19px; height: 19px; }
.prose { font-size: 16px; color: var(--ink-soft); }
.prose p { margin-bottom: 14px; max-width: 68ch; }
.prose h2 { font-family: var(--head); font-size: 30px; margin: 36px 0 14px; }
.prose a { border-bottom: 1px solid var(--line-strong); }
.prose--wide p { max-width: 74ch; }
.block { margin-top: 48px; }
.block > h2, .section.block h2 { font-family: var(--head); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 20px; margin: 0; padding: 0; }
.amenities li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.amenities .i { color: var(--accent); width: 17px; height: 17px; }

.location { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.location p { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; max-width: 62ch; }
.location p strong { color: var(--ink); font-weight: 600; }
.location .link-arrow { margin-top: 6px; font-size: 13.5px; }
.tg-source { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.tg-source:hover { color: var(--accent); border-color: var(--accent); }

.booking-card { position: sticky; top: 98px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); box-shadow: var(--shadow); }
.booking-card__rows { margin: 0 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-card__rows div { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.booking-card__rows dt { color: var(--muted); }
.booking-card__rows dd { margin: 0; font-weight: 500; }
.booking-card .btn { margin-bottom: 10px; }
.booking-card__note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.request { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 52px; background: var(--sand); border-radius: 6px; }
.request h2 { font-family: var(--head); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin-bottom: 14px; }
.request__text > p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.request__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.request__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.request__list .i { color: var(--accent); }

.lead-form { display: grid; gap: 14px; align-content: start; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.consent a { border-bottom: 1px solid var(--line-strong); }
.lead-form__note { font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- контакты ---------- */

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contacts__info { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color 0.18s, transform 0.18s; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.contact-card > .i, .contact-card__icon { width: 22px; height: 22px; color: var(--accent); display: flex; }
.contact-card div { display: flex; flex-direction: column; gap: 2px; }
.contact-card span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-weight: 500; font-size: 15.5px; }
.contact-card--static { background: transparent; }
.contact-card--static:hover { transform: none; border-color: var(--line); }
.contacts__time { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 40ch; }
.contacts__form { padding: 32px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.contacts__form h2 { font-family: var(--head); font-size: 30px; margin-bottom: 10px; }
.contacts__form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 6px; }
.alert--ok { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #bcd9cd; }

.notfound { padding: 180px 0 140px; }
.notfound h1 { font-family: var(--head); font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- футер ---------- */

.site-foot { background: #101815; color: rgba(255, 255, 255, 0.68); padding: 76px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.foot-brand .brand__name { color: #fff; display: block; margin-bottom: 16px; }
.foot-brand p { font-size: 14px; max-width: 38ch; margin-bottom: 20px; }
.foot-tg { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 2px; }
.foot-tg .i { width: 17px; height: 17px; }
.foot-col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 4px; font-weight: 500; }
.foot-col a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.foot-legal a:hover { color: rgba(255, 255, 255, 0.85); }
.iindev-credit { margin-left: auto; }

/* ---------- адаптив ---------- */

@media (max-width: 1080px) {
  .listing__cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .booking-card { position: static; }
  .channel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contacts { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .request { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 36px; }
}

@media (max-width: 1000px) {
  .map-layout { grid-template-columns: 1fr; gap: 32px; }
  .map-live { height: 420px; }
}

@media (max-width: 1000px) {
  .districts { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .site-head__in { gap: 14px; }
  .site-head__in .btn--tg span { display: none; }
  .site-head__in > .langs { display: none; }
  .nav--open .langs--mobile { display: flex; gap: 6px; padding-top: 4px; border-top: 1px solid var(--line); }
  .langs--mobile a { border: 1px solid var(--line); padding: 6px 12px; }
  .site-head__in .btn--tg { padding: 10px; border-radius: 50%; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
  .section { padding: 68px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .iindev-credit { margin-left: 0; }
  .listing { padding-top: 48px; }
  .districts { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav--open {
    display: flex;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 18px;
    padding: 22px 28px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-head { position: sticky; }
  .site-head__in { position: relative; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .page-head { padding-top: 44px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
  .filters .field > span { font-size: 10px; letter-spacing: 0.08em; }
  .filters select { padding: 10px 12px; font-size: 14px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .lede { font-size: 15.5px; }
  .grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card__title { font-size: 16px; line-height: 1.22; }
  .card__specs { font-size: 11.5px; margin-bottom: 8px; }
  .price__num { font-size: 14.5px; }
  .price__per { font-size: 11px; }
  .price__alt { font-size: 11px; }
  .card__district { left: 8px; top: 8px; padding: 4px 8px; font-size: 9.5px; }
  .card__body { padding-top: 10px; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .request { padding: 24px; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .contacts__form { padding: 22px; }
  .cta-band { padding: 26px; }
  .location { flex-direction: column; }
}

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