/* =========================================================
   «Берег» — лендинг комнат у моря в Геленджике
   Дизайн-система + компоненты
   ========================================================= */

:root {
  --sand: #f7f2ea;
  --sand-2: #efe6d8;
  --sand-3: #e6d9c6;
  --white: #ffffff;
  --ink: #0e2b33;
  --ink-2: #33555e;
  --ink-3: #64828a;
  --teal: #0f6b78;
  --teal-deep: #0a4c56;
  --teal-soft: #e3f0f1;
  --sea: #2fa3b3;
  --sunset: #ff7a4d;
  --sunset-soft: #ffe6dc;
  --gold: #f2b544;
  --line: rgba(14, 43, 51, 0.1);
  --line-strong: rgba(14, 43, 51, 0.18);

  --radius-xs: 10px;
  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 30px;
  --radius-xl: 40px;

  --shadow-s: 0 2px 8px rgba(14, 43, 51, 0.05);
  --shadow: 0 18px 40px -24px rgba(14, 43, 51, 0.4);
  --shadow-l: 0 40px 80px -44px rgba(14, 43, 51, 0.5);

  --container: 1200px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Типографика ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }

h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.85rem); }
h3 { font-size: 1.24rem; line-height: 1.25; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sunset);
  box-shadow: 0 0 0 4px rgba(255, 122, 77, 0.18);
}
.eyebrow--light { color: #8fd6df; }

.section { padding: clamp(64px, 8vw, 108px) 0; }
section[id], main[id] { scroll-margin-top: 92px; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section__lead {
  max-width: 420px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}
.btn .ico { width: 17px; height: 17px; }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 26px -16px rgba(15, 107, 120, 0.9);
}
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(10, 76, 86, 0.85); }

.btn--light { background: var(--white); color: var(--teal-deep); }
.btn--light:hover { background: #f1fbfb; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(15, 107, 120, 0.05); }

.btn--sm { padding: 10px 18px; font-size: 0.87rem; }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink-3);
  transition: color 0.2s;
}
.link-btn:hover { color: var(--teal); }
.link-btn .ico { width: 15px; height: 15px; }

.round-btn {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.round-btn:hover { background: var(--white); border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 242, 234, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(251, 248, 243, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(14, 43, 51, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--teal);
  color: var(--white);
  flex: none;
}
.logo__mark svg { width: 28px; height: 28px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: 0.01em; }
.logo__text small { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav > a:not(.btn) {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav > a:not(.btn):hover { color: var(--teal); background: rgba(15, 107, 120, 0.07); }
.nav > .btn { padding: 11px 18px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  font-weight: 700;
  color: var(--ink) !important;
  white-space: nowrap;
}
.nav__phone .ico { width: 15px; height: 15px; color: var(--teal); }
.nav__cta { margin-left: 10px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Герой ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 82% 18%, rgba(255, 207, 122, 0.35), transparent 70%),
    radial-gradient(50% 50% at 6% 8%, rgba(47, 163, 179, 0.16), transparent 70%),
    linear-gradient(180deg, #f9f5ee 0%, var(--sand) 60%, #f4ede2 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 43, 51, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%);
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  grid-template-areas:
    "content art"
    "search search";
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: clamp(26px, 3.4vw, 44px);
  align-items: center;
}
.hero__content { grid-area: content; }
.hero__art { grid-area: art; }
.hero__search-wrap { grid-area: search; position: relative; }

.h1-accent {
  position: relative;
  color: var(--teal);
  white-space: nowrap;
}
.h1-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.17em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 77, 0.55), rgba(242, 181, 68, 0.5));
  z-index: -1;
}

.hero__lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.hero__search-wrap { position: relative; }

.search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  gap: 4px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  border-right: 1px solid var(--line);
  text-align: left;
}
.search .field:nth-of-type(4) { border-right: 0; }
.field__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.field__row .ico { width: 16px; height: 16px; color: var(--teal); opacity: 0.75; }
.field__row input,
.field__row select {
  flex: 1;
  min-width: 0;
  padding: 3px 0;
  border: 0;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.field__row input::-webkit-calendar-picker-indicator { opacity: 0.45; cursor: pointer; }
.field__row select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.search__btn { align-self: stretch; min-height: 56px; border-radius: var(--radius-s); padding-inline: 22px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}
.hero__trust strong { color: var(--ink); }

.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4 / 3.1;
  background: var(--teal-soft);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 18px 36px -26px rgba(14, 43, 51, 0.7);
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.float-card small { font-size: 0.75rem; color: var(--ink-3); }
.float-card__ico {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  flex: none;
}
.float-card--dist { left: 18px; bottom: 30px; }
.float-card--rate { right: 18px; top: 22px; animation-delay: -3s; }
.float-card__score {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex: none;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__stamp {
  position: absolute;
  left: -34px;
  top: -34px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: var(--shadow-s);
  display: grid;
  place-items: center;
  animation: spin 46s linear infinite;
}
.hero__stamp svg { width: 92px; height: 92px; }
.hero__stamp text {
  font-family: var(--font);
  font-size: 8.6px;
  font-weight: 800;
  letter-spacing: 0.22em;
  fill: var(--ink-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Цифры ---------- */

.stats { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.45); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 38px 0;
}
.stat { text-align: center; padding: 6px 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- Районы ---------- */

.districts__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.district {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 20px 20px;
  min-height: 250px;
  border-radius: var(--radius);
  text-align: left;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.district::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dist-bg);
  transition: transform 0.5s var(--ease);
}
.district::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.28), transparent 60%);
}
.district:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.district:hover::before { transform: scale(1.06); }

.district--center { --dist-bg: linear-gradient(160deg, #2f9aa8, #0f5f6c); }
.district--fat { --dist-bg: linear-gradient(160deg, #7aa87e, #2f6b52); }
.district--thin { --dist-bg: linear-gradient(160deg, #e0805a, #b1452a); }
.district--krucha { --dist-bg: linear-gradient(160deg, #8b8fc0, #4c4f85); }
.district--bay { --dist-bg: linear-gradient(160deg, #48a3bd, #14637d); }

.district__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.7;
}
.district__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.15;
  margin-top: 6px;
}
.district__desc { font-size: 0.84rem; line-height: 1.5; opacity: 0.88; margin-top: 4px; }
.district__meta {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.district__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.district__arrow .ico { width: 16px; height: 16px; }
.district:hover .district__arrow { background: rgba(255, 255, 255, 0.9); color: var(--teal-deep); transform: translateX(3px); }

/* ---------- Фильтры ---------- */

.filters {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }

.filters__row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mini-field { display: flex; flex-direction: column; gap: 5px; font-size: 0.78rem; }
.mini-field span { color: var(--ink-3); font-weight: 700; letter-spacing: 0.04em; }
.mini-field select {
  padding: 9px 34px 9px 13px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%230e2b33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center;
  -webkit-appearance: none;
  appearance: none;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.filters__row .link-btn { margin-left: auto; padding-bottom: 11px; }

.results {
  margin: 22px 0 18px;
  font-size: 0.86rem;
  color: var(--ink-3);
  font-weight: 600;
}
#results-count { color: var(--ink); }

/* ---------- Карточки комнат ---------- */

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.room {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.room:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.room[hidden] { display: none; }

.room__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.room:hover .room__media img { transform: scale(1.045); }

.room__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.room__badge--hot { background: var(--sunset); color: var(--white); }
.room__badge--new { background: var(--teal); color: var(--white); }
.room__badge--price { background: var(--gold); color: #47320a; }
.room__badge--lux { background: #2c2a4a; color: #f3e3c4; }

.fav {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(14, 43, 51, 0.14);
  transition: transform 0.2s var(--ease), color 0.2s, background 0.2s;
}
.fav .ico { width: 18px; height: 18px; }
.fav:hover { transform: scale(1.08); color: var(--sunset); }
.fav.is-active { color: var(--sunset); background: var(--sunset-soft); }

.room__rating {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 800;
}
.room__rating .ico { width: 14px; height: 14px; color: var(--gold); }
.room__rating em { font-weight: 600; color: var(--ink-3); font-size: 0.76rem; }

.room__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; flex: 1; }
.room__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.room__top h3 { font-size: 1.16rem; }
.room__type {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.room__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.room__meta .ico { width: 14px; height: 14px; color: var(--teal); opacity: 0.8; }

.room__amen { display: flex; flex-wrap: wrap; gap: 6px; }
.room__amen li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #f6f2ea;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
}
.room__amen .ico { width: 13px; height: 13px; color: var(--teal); }

.room__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.room__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.room__price strong { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.room__price span { font-size: 0.82rem; color: var(--ink-3); }
.room__price small { flex-basis: 100%; font-size: 0.72rem; color: var(--ink-3); }

.rooms-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 20px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
}
.rooms-empty[hidden] { display: none; }
.rooms-empty .ico { width: 34px; height: 34px; color: var(--teal); opacity: 0.6; }
.rooms-empty h3 { font-size: 1.2rem; }
.rooms-empty p { max-width: 420px; color: var(--ink-3); font-size: 0.92rem; }
.rooms-empty .btn { margin-top: 8px; }

/* ---------- Карта ---------- */

.map-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent); }
.map-section__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.map-section__content .section__lead { max-width: 440px; }

.map-list { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; }
.map-list button {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.map-list button:hover,
.map-list button.is-active { background: var(--white); border-color: var(--line); transform: translateX(4px); }
.map-list__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.map-list button[data-map="fat"] .map-list__dot { background: #2f6b52; }
.map-list button[data-map="thin"] .map-list__dot { background: var(--sunset); }
.map-list button[data-map="krucha"] .map-list__dot { background: #4c4f85; }
.map-list button[data-map="bay"] .map-list__dot { background: #14637d; }
.map-list__name { font-weight: 700; font-size: 0.94rem; }
.map-list__dist { font-size: 0.8rem; color: var(--ink-3); }
.map-list__price { font-size: 0.82rem; font-weight: 800; color: var(--teal); white-space: nowrap; }

.map-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.map-caption--hint { margin-top: 8px; max-width: 460px; }
.legend { display: inline-flex; align-items: center; gap: 7px; }
.legend__swatch {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid rgba(14, 43, 51, 0.12);
}
.legend__swatch--land { background: #efe2cd; }
.legend__swatch--park { background: #b7d3b9; }
.legend__swatch--sea { background: #2f8b99; }

.map {
  position: relative;
  aspect-ratio: 800 / 520;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 8px solid var(--white);
  background: var(--sand-2);
}
.map img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 43, 51, 0.55);
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease);
}
.map-pin__dot {
  position: relative;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15, 107, 120, 0.22), 0 2px 6px rgba(14, 43, 51, 0.35);
  transition: background 0.25s, box-shadow 0.25s;
}
.map-pin__label {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.93);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(14, 43, 51, 0.16);
  transition: background 0.25s, color 0.25s;
}
.map-pin:hover,
.map-pin.is-active { transform: translate(-50%, -50%) scale(1.06); z-index: 2; }
.map-pin.is-active .map-pin__dot { background: var(--sunset); box-shadow: 0 0 0 6px rgba(255, 122, 77, 0.25), 0 2px 8px rgba(14, 43, 51, 0.4); }
.map-pin.is-active .map-pin__label { background: var(--teal); color: var(--white); }

/* ---------- Почему мы ---------- */

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  padding: 26px 24px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 18px;
}
.feature__ico .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { font-size: 0.88rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- Отзывы ---------- */

.reviews { background: #f1e9dd; }
.reviews__nav { display: flex; gap: 8px; }

.reviews__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 0 20px;
  margin-inline: -6px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }

.review {
  flex: 0 0 calc((100% - 36px) / 3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  scroll-snap-align: start;
  box-shadow: var(--shadow-s);
}
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--a), var(--b));
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  flex: none;
}
.review__head strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.review__head small { font-size: 0.76rem; color: var(--ink-3); }
.review__stars { margin-left: auto; color: var(--gold); letter-spacing: 0.08em; font-size: 0.82rem; }
.review__text { font-size: 0.9rem; line-height: 1.7; color: var(--ink-2); }
.review__room { margin-top: auto; font-size: 0.78rem; font-weight: 700; color: var(--teal); }

.reviews__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 26px;
  padding-top: 28px;
  border-top: 1px solid rgba(14, 43, 51, 0.12);
}
.reviews__summary { display: flex; align-items: center; gap: 16px; }
.reviews__score {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
}
.reviews__summary-text strong { display: block; font-size: 0.95rem; }
.reviews__summary-text small { font-size: 0.8rem; color: var(--ink-3); }
.reviews__bars { display: flex; flex-direction: column; gap: 6px; width: min(320px, 45%); }
.bar { display: grid; grid-template-columns: 12px 1fr 40px; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--ink-3); }
.bar i {
  display: block;
  height: 7px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--sea));
}

/* ---------- Форма подбора ---------- */

.booking { padding-top: 0; }
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 60px);
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(47, 163, 179, 0.35), transparent 60%),
    linear-gradient(150deg, #0d5a66 0%, #0a414c 55%, #0b3540 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.booking__inner::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.booking__content h2 { color: var(--white); }
.booking__content p { margin-top: 18px; color: rgba(255, 255, 255, 0.78); max-width: 440px; }
.booking__points { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.booking__points li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); }
.booking__points .ico { width: 17px; height: 17px; color: #8fd6df; }

.booking__form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.booking__form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.booking__form-head h3 { font-size: 1.3rem; }
.booking__badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}
.booking__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking__form .field {
  border: 0;
  background: #f7f2ea;
  border-radius: 13px;
  padding: 9px 13px;
}
.booking__form .btn { margin-top: 16px; }
.booking__note {
  margin-top: 12px;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- FAQ ---------- */

.faq__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__head .section__lead { margin: 18px 0 24px; }
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc {
  background: var(--white);
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.acc.is-open { border-color: rgba(15, 107, 120, 0.25); box-shadow: var(--shadow-s); }
.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}
.acc__q .ico { width: 18px; height: 18px; color: var(--teal); transition: transform 0.35s var(--ease); }
.acc.is-open .acc__q .ico { transform: rotate(180deg); }
.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.acc__a > div { overflow: hidden; }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a p { padding: 0 22px 20px; font-size: 0.9rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- Футер ---------- */

.footer {
  background: #0a333c;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 56px;
  font-size: 0.88rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer__brand { max-width: 340px; }
.logo--footer { color: var(--white); margin-bottom: 18px; }
.logo--footer .logo__mark { background: rgba(255, 255, 255, 0.1); color: #9fe0e6; }
.logo--footer .logo__text small { color: rgba(255, 255, 255, 0.5); }
.footer__brand p { line-height: 1.7; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.25s, transform 0.25s;
}
.footer__socials a:hover { background: var(--teal); transform: translateY(-2px); }
.footer__socials .ico { width: 18px; height: 18px; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.footer__col a { width: fit-content; transition: color 0.2s; }
.footer__col a:hover { color: #9fe0e6; }
.footer__col--contacts a { font-weight: 700; color: var(--white); }
.footer__col span { line-height: 1.6; color: rgba(255, 255, 255, 0.55); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__bottom div { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Модалка ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 31, 0.62);
  backdrop-filter: blur(6px);
  animation: fade 0.3s ease both;
}
.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  width: min(920px, 100%);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
  animation: pop 0.4s var(--ease) both;
}
.modal__media { position: relative; min-height: 100%; overflow: hidden; background: var(--sand-2); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 700;
}
.modal__media-badge .ico { width: 14px; height: 14px; color: var(--teal); }

.modal__body { padding: 30px 32px 28px; }
.modal__body .eyebrow { margin-bottom: 8px; }
.modal__body h2 { font-size: 1.7rem; }
.modal__meta { margin-top: 6px; font-size: 0.84rem; color: var(--ink-3); }

.modal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.modal__fields .field {
  border: 0;
  background: #f7f2ea;
  border-radius: 13px;
  padding: 9px 13px;
}
.modal__calc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--teal-soft);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.modal__calc strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal); line-height: 1; }
.modal__note { margin-top: 10px; font-size: 0.7rem; line-height: 1.5; color: var(--ink-3); text-align: center; }

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-s);
  color: var(--ink);
  transition: background 0.2s, transform 0.2s;
}
.modal__close:hover { background: var(--sunset-soft); transform: rotate(90deg); }

.modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 0 10px;
  text-align: center;
  animation: pop 0.45s var(--ease) both;
}
.modal__success[hidden] { display: none; }
.modal__success-ico {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 6px;
  animation: pulse 1.8s ease-out infinite;
}
.modal__success-ico .ico { width: 30px; height: 30px; stroke-width: 2.2; }
.modal__success h3 { font-size: 1.4rem; }
.modal__success p { font-size: 0.88rem; color: var(--ink-2); max-width: 340px; }
.modal__success .btn { margin-top: 14px; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(15, 107, 120, 0.28); }
  70% { box-shadow: 0 0 0 18px rgba(15, 107, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 107, 120, 0); }
}

/* ---------- Тост ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.35s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast .ico { width: 16px; height: 16px; color: #8fd6df; }

/* ---------- Кнопка наверх ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 16px 30px -14px rgba(10, 76, 86, 0.8);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
}
.to-top .ico { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal-deep); }

/* ---------- Анимация появления ---------- */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ---------- Адаптив ---------- */

@media (max-width: 1120px) {
  .hero__inner { grid-template-columns: 1fr 0.9fr; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search .field:nth-of-type(4) { border-right: 0; }
  .search .field:nth-of-type(1),
  .search .field:nth-of-type(2) { border-bottom: 1px solid var(--line); }
  .search .field:nth-of-type(2) { border-right: 0; }
  .search__btn { grid-column: 1 / -1; margin-top: 4px; padding: 14px; }
  .districts__grid { grid-template-columns: repeat(3, 1fr); }
  .district { min-height: 220px; }
  .review { flex-basis: calc((100% - 18px) / 2); }
  .nav__phone { display: none; }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "search"
      "art";
  }
  .hero__art { margin-inline: auto; max-width: 620px; width: 100%; }
  .hero__stamp {
    width: 84px;
    height: 84px;
    left: auto;
    right: -8px;
    top: auto;
    bottom: -14px;
  }
  .hero__stamp svg { width: 72px; height: 72px; }
  .hero__lead { max-width: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .map-section__inner { grid-template-columns: 1fr; }
  .map { margin-inline: auto; max-width: 640px; width: 100%; }
  .map-list { max-width: 560px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__inner { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head .section__lead,
  .faq__head h2 { max-width: 560px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section__lead { max-width: 560px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(14, 43, 51, 0.6);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) { padding: 13px 12px; border-radius: 12px; font-size: 1rem; }
  .nav__phone { display: inline-flex; }
  .nav > .btn { margin-top: 8px; padding: 13px 18px; }
  .burger { display: flex; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header__inner { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .h1-accent { white-space: normal; }
  .h1-accent::after { height: 0.12em; }

  .hero__frame { aspect-ratio: 4 / 3.4; border-radius: var(--radius); }
  .float-card { padding: 10px 13px; gap: 9px; }
  .float-card strong { font-size: 0.84rem; }
  .float-card small { font-size: 0.68rem; }
  .float-card--dist { left: 10px; bottom: 12px; }
  .float-card--rate { right: 10px; top: 10px; }
  .float-card__ico, .float-card__score { width: 34px; height: 34px; }

  .search { padding: 8px; }
  .search .field { padding: 8px 10px; }

  .districts__grid { grid-template-columns: repeat(2, 1fr); }
  .district { min-height: 200px; padding: 18px 16px; }
  .district__name { font-size: 1.2rem; }
  .district__desc { font-size: 0.78rem; }
  .district__arrow { display: none; }

  .filters__row { flex-wrap: wrap; align-items: flex-end; }
  .filters__row .link-btn { margin-left: 0; padding: 10px 0; }

  .rooms { grid-template-columns: 1fr; }
  .room__media { aspect-ratio: 16 / 11; }

  .review { flex-basis: 86%; }
  .reviews__foot { flex-direction: column; align-items: flex-start; gap: 22px; }
  .reviews__bars { width: 100%; }
  .reviews__nav { display: none; }

  .why__grid { grid-template-columns: 1fr; }
  .booking__inner { padding: 26px 20px; border-radius: var(--radius); }
  .booking__form { padding: 20px; }
  .booking__fields { grid-template-columns: 1fr; }

  .map { border-width: 6px; border-radius: var(--radius); }
  .map-pin__label { font-size: 0.62rem; padding: 3px 6px; }
  .map-list button { grid-template-columns: auto 1fr auto; }
  .map-list__dist { display: none; }

  .modal { padding: 12px; }
  .modal__dialog { grid-template-columns: 1fr; max-height: 94vh; border-radius: var(--radius); }
  .modal__media { height: 170px; min-height: 0; }
  .modal__body { padding: 22px 20px; }
  .modal__fields { grid-template-columns: 1fr; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__col--contacts { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 84px; }
}

@media (max-width: 420px) {
  .districts__grid { grid-template-columns: 1fr; }
  .district { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
