/* ============================================================
   EUROPEYA COMMERCE — коммерческая недвижимость в Краснодаре
   Стиль: брендбук ГК «Европея» (docs/brand.md)
   Палитра: #204653 / #E49614 · Tenor (заголовки) + Atyp (текст)
   ============================================================ */

/* --- Фирменные шрифты --- */
@font-face {
  font-family: 'Atyp';
  font-display: swap;
  src: url('../assets/fonts/AtypRegularVariable.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Tenor';
  font-display: swap;
  src: url('../assets/fonts/TenorSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

:root {
  --blue: #204653;
  --blue-2: #2d5a6b;
  --blue-soft: rgba(32, 70, 83, 0.08);
  --blue-soft-t: rgba(32, 70, 83, 0.10);
  --orange: #e49614;
  --orange-2: #f2a71b;
  --orange-soft: rgba(228, 150, 20, 0.12);
  --teal: #179ca3;
  --dark: #23262b;
  --ink: #1a1d20;
  --text: #212529;
  --muted: #6b6b6b;
  --muted-2: #8a9096;
  --line: #cdd1d6;
  --line-soft: #ebebec;
  --bg-soft: #f6f5f2;
  --white: #ffffff;
  --ok: #2f855a;
  --error: #d93025;

  --font-body: 'Atyp', -apple-system, BlinkMacSystemFont, 'Segoe UI Adjusted', 'Segoe UI', 'Liberation Sans', sans-serif;
  --font-display: 'Tenor', 'Atyp', sans-serif;

  --radius-card: 13px;
  --radius-pill: 60px;
  --shadow-card: 0 4px 16px rgba(32, 70, 83, 0.08);
  --shadow-card-hover: 0 10px 24px rgba(32, 70, 83, 0.12), 0 24px 48px rgba(32, 70, 83, 0.10);
  --shadow-pop: 0 18px 60px rgba(16, 21, 26, 0.22);

  --container: 1240px;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--text); }

::selection { background: var(--orange); color: #1a1a1a; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- SVG-иконки (только инлайн, без эмодзи — брендбук §8) --- */
.ic { width: 20px; height: 20px; flex: 0 0 auto; }

/* ============================================================
   КНОПКИ (брендбук §5)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  line-height: 1.25;
  padding: 12px 26px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn--sm { font-size: 14px; padding: 9px 20px; }
.btn--big { font-size: 17px; padding: 15px 34px; }

/* primary: оранжевая пилюля, ЧЁРНЫЙ текст, блик-свип */
.btn--primary {
  position: relative;
  overflow: hidden;
  color: #1a1a1a;
  background: linear-gradient(180deg, var(--orange-2) 0%, var(--orange) 100%);
  box-shadow: 0 4px 14px rgba(228, 150, 20, 0.30);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, .5) 52%, transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(228, 150, 20, 0.45); }
.btn--primary:hover::after { animation: shine .8s ease forwards; }
.btn--primary:active { transform: translateY(0); }
@keyframes shine { to { transform: translateX(130%); } }

/* secondary: белая с синей рамкой, hover — заливка синим */
.btn--secondary {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}
.btn--secondary:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn--secondary:active { transform: translateY(0); }

/* ghost-варианты на тёмных секциях */
.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.btn--ghost-light:hover { color: var(--blue); background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.btn--ghost-blue { color: var(--white); border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.btn--ghost-blue:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   БЕЙДЖИ И ЧИПЫ
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--sale { background: var(--blue); color: var(--white); }
.badge--accent { background: var(--orange); color: #1a1a1a; }
.badge--light { background: rgba(255, 255, 255, 0.92); color: var(--blue); backdrop-filter: blur(6px); }
.badge--dark { background: rgba(20, 32, 40, 0.78); color: var(--white); backdrop-filter: blur(6px); }

/* «живой» бейдж: есть покупатели, смотрят сейчас */
.badge--live { background: var(--orange); color: #1a1a1a; box-shadow: 0 2px 10px rgba(228, 150, 20, 0.45); }
.badge--live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1a1a1a;
  animation: badge-live 1.6s ease-in-out infinite;
}
@keyframes badge-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
}
.chip .ic { width: 16px; height: 16px; color: var(--blue); }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(32, 70, 83, 0.08);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark { width: 40px; height: 40px; border-radius: 9px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-size: 18px; color: var(--blue); letter-spacing: 0.02em; }
.brand__sub {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a {
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat left bottom / 0 2px;
  transition: background-size .25s ease, color .2s ease;
}
.main-nav a:hover { color: var(--blue); background-size: 100% 2px; }

.site-header__right { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.site-header__phone {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--orange); }

/* бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.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); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 55;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px rgba(32, 70, 83, 0.12);
  padding: 12px 24px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav__phone {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--blue);
  display: inline-block;
}

/* ============================================================
   ГЕРОЙ
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(228, 150, 20, 0.16), transparent 60%),
    radial-gradient(720px 460px at -12% 38%, rgba(23, 156, 163, 0.10), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 56px;
  align-items: center;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}
.hero__chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(transparent 74%, rgba(228, 150, 20, 0.4) 74%) no-repeat;
}
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero__lead b, .hero__lead strong { color: var(--text); font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.hero__trust .ic { width: 18px; height: 18px; color: var(--orange); }

/* визуал справа */
.hero__visual { position: relative; }
.hero__scene {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-card-hover);
  border: 1px solid rgba(32, 70, 83, 0.08);
  background: var(--white);
}
.hero__scene img,
.hero__scene svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-card-hover);
  padding: 14px 18px;
  animation: floaty 6s ease-in-out infinite;
}
.hero__float--one { left: -26px; bottom: 42px; }
.hero__float--two { right: -18px; top: 26px; animation-delay: -3s; }
.hero__float-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hero__float-value { font-family: var(--font-display); font-size: 22px; color: var(--blue); }
.hero__float-value small { font-size: 13px; color: var(--muted); font-family: var(--font-body); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* статистика */
.hero__stats {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.1;
  color: var(--blue);
}
.stat__num span { color: var(--orange); }
.stat__label { font-size: 14px; color: var(--muted); }

/* ============================================================
   БИГУНЬ-ПОЛОСА (маркиза)
   ============================================================ */
.marquee {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   СЕКЦИИ (общее)
   ============================================================ */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 14px;
}
.section__label::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section__label--light { color: var(--orange); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.section__title--light { color: var(--white); }
.section__sub { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ============================================================
   ПРЕИМУЩЕСТВА
   ============================================================ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(228, 150, 20, 0.35); }
.benefit__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--blue-soft-t);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease;
}
.benefit:hover .benefit__icon { background: var(--orange-soft); color: var(--orange); }
.benefit__icon .ic { width: 26px; height: 26px; }
.benefit h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.benefit p { font-size: 14.5px; color: var(--muted); }
.benefit p span { color: var(--blue); }

/* ============================================================
   КАТАЛОГ — КАРТОЧКА ОБЪЕКТА
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(32, 70, 83, 0.18); }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media > img,
.card__media > svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.card:hover .card__media > img,
.card:hover .card__media > svg { transform: scale(1.05); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 2; }
.card__type {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--blue);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(16, 21, 26, 0.12);
}
.card__fav {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(16, 21, 26, 0.14);
  transition: color .2s ease, transform .15s ease;
}
.card__fav:hover { transform: scale(1.08); }
.card__fav.is-active { color: var(--orange); }
.card__fav.is-active .ic path { fill: var(--orange); }

.card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 22px 22px; }
.card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.card:hover .card__title { color: var(--blue); }
.card__address {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.card__address .ic { width: 15px; height: 15px; color: var(--orange); }
.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.card__specs li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 0 14px;
  border-left: 1px solid var(--line-soft);
}
.card__specs li:first-child { padding-left: 0; border-left: none; }
.card__specs .ic { width: 16px; height: 16px; color: var(--blue-2); }

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.card__price { display: flex; flex-direction: column; min-width: 0; }
.card__price-num { font-family: var(--font-display); font-size: 22px; color: var(--blue); line-height: 1.2; white-space: nowrap; }
.card__price-m2 { font-size: 12.5px; color: var(--muted-2); }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.card__more .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.card__more:hover { background: var(--blue); color: var(--white); }
.card__more:hover .ic { transform: translateX(3px); }

.catalog__more { margin-top: 44px; display: flex; justify-content: center; }
.catalog__note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted-2); }

/* ============================================================
   ШАГИ РАБОТЫ
   ============================================================ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  border-top: 2px solid var(--line-soft);
  padding-top: 22px;
  transition: border-color .3s ease;
}
.step:hover { border-top-color: var(--orange); }
.step__num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: rgba(32, 70, 83, 0.16);
  margin-bottom: 14px;
  transition: color .3s ease;
}
.step:hover .step__num { color: var(--orange); }
.step h3 { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   ИНВЕСТ-СЕКЦИЯ
   ============================================================ */
.invest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.invest__card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.invest__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(228, 150, 20, 0.35); }
.invest__num {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.05;
  color: var(--blue);
  margin-bottom: 12px;
}
.invest__num span { color: var(--orange); }
.invest__card h3 { font-family: var(--font-display); font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.invest__card p { font-size: 14.5px; color: var(--muted); }
.urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--blue);
  border-radius: var(--radius-card);
  padding: 22px 32px;
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.urgency .ic { width: 26px; height: 26px; color: var(--orange); }
.urgency p { font-size: 16px; }
.urgency p span { color: var(--orange); font-family: var(--font-display); font-size: 18px; }

/* ============================================================
   ПОЧЕМУ МЫ (тёмная секция)
   ============================================================ */
.why {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(23, 156, 163, 0.18), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(228, 150, 20, 0.10), transparent 55%),
    var(--blue);
  color: var(--white);
}
.why__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.why__copy p { margin-top: 18px; color: rgba(255, 255, 255, 0.78); font-size: 16.5px; max-width: 46ch; }
.why__copy .btn { margin-top: 30px; }
.why__list { display: grid; gap: 26px; }
.why__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
}
.why__item-num { font-family: var(--font-display); font-size: 30px; color: var(--orange); line-height: 1; }
.why__item h3 { font-family: var(--font-display); font-size: 18.5px; margin-bottom: 6px; letter-spacing: 0.01em; }
.why__item p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contacts__list { margin-top: 34px; display: grid; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item__icon {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item__icon .ic { width: 22px; height: 22px; }
.contact-item__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.contact-item__value { font-size: 17px; color: var(--ink); }
.contact-item__value a:hover { color: var(--orange); }

/* тёмная форма (брендбук §5) */
.form-panel {
  background: var(--blue);
  border-radius: 16px;
  padding: 36px;
  color: var(--white);
  box-shadow: var(--shadow-card-hover);
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(228, 150, 20, 0.14);
  pointer-events: none;
}
.form-panel h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; letter-spacing: 0.01em; }
.form-panel > p { color: rgba(255, 255, 255, 0.75); font-size: 15px; margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea,
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  transition: border-color .2s ease, background .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-field input:focus,
.form-field textarea:focus,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
}
.form-field textarea { resize: vertical; min-height: 88px; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 4px 0 20px;
  line-height: 1.5;
}
.form-consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--orange); flex: 0 0 auto; }
.form-panel .btn { width: 100%; }

/* светлые поля (для фильтров и светлых форм) */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); }
.field input, .field select {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
}
.field input::placeholder { color: var(--muted-2); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}

/* успех формы */
.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(228, 150, 20, 0.4);
  border-radius: 12px;
  padding: 18px 20px;
}
.form-success .ic { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.form-success strong { display: block; font-size: 16px; margin-bottom: 4px; font-weight: 400; color: var(--white); }
.form-success span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.form.is-sent .form-success { display: flex; }
.form.is-sent form, .form.is-sent .form-fields { display: none; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { background: var(--blue); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 44px; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__sub { color: rgba(255, 255, 255, 0.45); }
.footer__brand p { margin-top: 18px; font-size: 14px; line-height: 1.65; max-width: 34ch; color: rgba(255, 255, 255, 0.55); }
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--orange); }
.footer__col p { font-size: 14.5px; padding: 5px 0; }
.footer__col .phone-big { font-family: var(--font-display); font-size: 19px; color: var(--white); }
.footer__bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   СТРАНИЦА ОБЪЕКТА
   ============================================================ */
.page-main { padding-top: var(--header-h); }

.breadcrumbs { padding: 26px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs li + li::before { content: '·'; margin-right: 8px; color: var(--line); }
.breadcrumbs li:last-child { color: var(--text); }

.object-head { padding: 26px 0 0; }
.object__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}

/* галерея */
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  background: var(--bg-soft);
}
.gallery__main img,
.gallery__main svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s ease; }
.gallery__main.is-fading img,
.gallery__main.is-fading svg { opacity: 0; }
.gallery__badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.gallery__thumb {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--bg-soft);
  transition: border-color .2s ease, transform .15s ease;
}
.gallery__thumb img,
.gallery__thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--orange); }
.gallery__thumb span {
  position: absolute;
  left: 8px; bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.gallery__main img { cursor: zoom-in; }

/* лайтбокс — просмотр фото на весь экран */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 18, 24, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox > img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  background: #0b1620;
}
.lightbox__btn {
  position: absolute;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__btn .ic { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 10px; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* инфо о объекте */
.object-info { display: flex; flex-direction: column; gap: 0; }
.object-info__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.object-info__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.16;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.005em;
}
.object-info__address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}
.object-info__address .ic { width: 17px; height: 17px; color: var(--orange); }

.price-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
}
.price-line__num { font-family: var(--font-display); font-size: 34px; line-height: 1.1; color: var(--blue); }
.price-line__meta { font-size: 13.5px; color: var(--muted); }
.price-line__meta b { color: var(--text); font-weight: 400; }
.price-line__pay { text-align: right; font-size: 13px; color: var(--muted); line-height: 1.5; }
.price-line__pay span { color: var(--blue); }

.yield-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--blue-soft-t);
  border: 1px solid rgba(32, 70, 83, 0.14);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}
.yield-card__num { font-family: var(--font-display); font-size: 34px; color: var(--orange); line-height: 1; white-space: nowrap; }
.yield-card__text { min-width: 0; font-size: 13.5px; color: var(--text); line-height: 1.5; }
.yield-card__text span { display: block; color: var(--muted); }
.yield-card__text p { margin: 2px 0 0; }

.object-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line-soft);
  margin-bottom: 22px;
}
.object-specs__item { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line-soft); }
.object-specs__item:nth-child(odd) { padding-right: 22px; border-right: 1px solid var(--line-soft); }
.object-specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); margin-bottom: 3px; }
.object-specs dd { font-size: 15px; color: var(--ink); }

.object-info__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.object-info__phone-note { font-size: 13.5px; color: var(--muted); }
.object-info__phone-note a { color: var(--blue); }
.object-info__phone-note a:hover { color: var(--orange); }

/* блоки ниже галереи */
.object-section { padding: 72px 0; }
.object-section--soft { background: var(--bg-soft); }
.object-block__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  margin-bottom: 20px;
}
.object-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.object-about__text p { color: var(--text); font-size: 16px; margin-bottom: 16px; }
.object-about__text p:last-child { margin-bottom: 0; }
.object-about__aside { display: grid; gap: 16px; }
.fact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}
.fact-card h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.fact-card h4 .ic { width: 19px; height: 19px; color: var(--orange); }
.fact-card p { font-size: 14px; color: var(--muted); }
.fact-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
  padding: 6px 0;
}
.fact-card ul .ic { width: 16px; height: 16px; color: var(--orange); margin-top: 3px; }

.features { display: flex; flex-wrap: wrap; gap: 10px; }
.features__chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text);
}

/* Чек-лист внутри fact-card (документы) */
.fact-card__check li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
}
.fact-card__check li::before {
  content: '';
  width: 17px; height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e49614' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Полоса «живого спроса» на странице объекта */
.urgency-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--orange-soft);
  border: 1px solid rgba(228, 150, 20, 0.35);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.urgency-strip b { color: var(--blue); font-weight: 600; }
.urgency-strip__dot {
  width: 10px; height: 10px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: urgency-pulse 1.8s ease-out infinite;
}
@keyframes urgency-pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 150, 20, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(228, 150, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 150, 20, 0); }
}

/* Липкая CTA-панель (мобильная) */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 28px rgba(16, 21, 26, 0.12);
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta .btn { width: 100%; padding-left: 14px; padding-right: 14px; }
.sticky-cta.is-hidden { transform: translateY(120%); }
/* пока открыт cookie-баннер — убираем, чтобы не перекрывал */
body:has(.cookie-banner.is-shown) .sticky-cta { transform: translateY(120%); }

/* карта */
.map-block {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.map-frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  background: #e7eeeb;
  position: relative;
  min-height: 320px;
}
.map-frame svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-pin-pulse { animation: pinPulse 2.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pinPulse {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-caption {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.map-caption__body { flex: 1 1 auto; min-width: 0; }
.map-caption__icon {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-caption__icon .ic { width: 24px; height: 24px; }
.map-caption__title { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.map-caption p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.map-caption a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  color: var(--blue);
}
.map-caption a:hover { color: var(--orange); }
.map-caption a .ic { width: 16px; height: 16px; }

/* похожие объекты */
.similar__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* CTA-полоса перед футером */
.cta-band {
  background:
    radial-gradient(700px 320px at 85% 120%, rgba(228, 150, 20, 0.18), transparent 60%),
    var(--blue);
  color: var(--white);
  padding: 64px 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; max-width: 22ch; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .site-header__phone { display: none; }
  .burger { display: flex; }
  .site-header__cta { display: none; }
  /* .main-nav (margin-left:auto) скрыт — без него бургер прилипает
     к логотипу; прижимаем правый блок к краю */
  .site-header__right { margin-left: auto; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__visual { max-width: 640px; }
  .hero__float--one { left: 12px; }
  .hero__float--two { right: 12px; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }

  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .invest__grid { grid-template-columns: minmax(0, 1fr); }
  .why__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .contacts__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }

  .object__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .object-about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .map-block { grid-template-columns: minmax(0, 1fr); }
  .map-frame { min-height: 280px; }
  .similar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* липкая CTA-панель на планшетах и мобильных */
  .sticky-cta { display: grid; }
}

@media (max-width: 680px) {
  /* компактная мобильная шапка */
  :root { --header-h: 60px; }
  .site-header__inner { gap: 14px; }
  .brand { gap: 10px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 16.5px; }
  .brand__sub { font-size: 9.5px; letter-spacing: 0.12em; }
  .burger { width: 40px; height: 40px; padding: 9px; }
  /* на мобильном виден только текущий пункт — убираем осиротевшую точку */
  .breadcrumbs li:last-child::before { content: none; margin: 0; }

  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 52px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat__num { font-size: 32px; }

  .benefits__grid, .cards, .steps__grid, .similar__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  /* на мобильном показываем только текущую страницу */
  .breadcrumbs ol { flex-wrap: nowrap; overflow: hidden; }
  .breadcrumbs li:not(:last-child) { display: none; }

  .map-caption { padding: 18px; }

  .price-line { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price-line__pay { text-align: left; }
  .object-specs { grid-template-columns: minmax(0, 1fr); }
  .object-specs__item:nth-child(odd) { border-right: none; padding-right: 0; }
  .object-info__actions .btn { width: 100%; }
  .gallery__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .form-panel { padding: 26px 22px; }
  .urgency { flex-direction: column; text-align: center; }
}

/* ============================================================
   ПРОДАЮЩИЕ БЛОКИ: НЕДАВНО ПРОДАНО / ОТЗЫВЫ / FAQ / ДОВЕРИЕ
   ============================================================ */

/* — Кейсы: «недавно продано» — */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.case {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.case__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.case__type { font-size: 13px; color: var(--muted); line-height: 1.4; }
.case__pill {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.case__pill b { font-family: var(--font-display); font-weight: 400; font-size: 13.5px; }
.case__num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.case__quote { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-top: auto; }
.cases__note { margin-top: 22px; font-size: 13.5px; color: var(--muted-2); }

/* — Отзывы — */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.review__quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  padding-top: 22px;
}
.review__quote::before {
  content: '\201C';
  position: absolute;
  top: -6px; left: -2px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.55;
}
.review__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.review__avatar {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review__name { display: block; font-size: 15px; color: var(--ink); }
.review__role { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }

/* — FAQ (аккордеон на details/summary) — */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__item[open] { border-color: rgba(32, 70, 83, 0.25); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--blue);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
  background: var(--orange);
  border-color: var(--orange);
  color: #1a1a1a;
}
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* — Полоса доверия (каталог) — */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 26px;
  padding: 18px 24px;
  background: var(--blue);
  border-radius: var(--radius-card);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.94);
}
.trust-strip .ic { width: 20px; height: 20px; color: var(--orange); }

@media (max-width: 1100px) {
  .cases__grid, .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .cases__grid, .reviews__grid { grid-template-columns: minmax(0, 1fr); }
  .trust-strip { gap: 12px 22px; padding: 16px 18px; }
  .trust-strip li { font-size: 13.5px; }
  .faq__q { padding: 17px 18px; font-size: 15.5px; }
  .faq__a { padding: 0 18px 18px; }
  .case, .review { padding: 22px; }
}

/* ============================================================
   КАТАЛОГ — РАЗМЕТКА И ФИЛЬТРЫ
   ============================================================ */
.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* панель фильтров (sticky на десктопе, bottom-sheet на мобильных) */
.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 22px 22px 26px;
}
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filters__head h2 { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.filters__close {
  display: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.filters__close:hover { background: var(--blue-soft-t); }
.filters__close .ic { width: 16px; height: 16px; }
.filters__group { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.filters__group:first-of-type { border-top: none; padding-top: 14px; }
.filters__group h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 12px;
}

/* чипы-переключатели (тип / район) */
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-toggle {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 13.5px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease;
}
.chip-toggle:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.chip-toggle.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* диапазон (от — до) */
.range-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.range-inputs input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  background: var(--white);
  color: var(--text);
}
.range-inputs input:focus { outline: none; border-color: var(--orange); }
.range-inputs input::placeholder { color: var(--muted-2); }
.range-inputs > span { color: var(--muted-2); font-size: 14px; }

/* выпадающий список (доходность / сортировка) */
.select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding: 11px 36px 11px 14px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.select:focus { outline: none; border-color: var(--orange); }
.select--sm { width: auto; padding: 9px 34px 9px 14px; font-size: 13.5px; }

/* чекбоксы условий */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  padding: 7px 0;
  cursor: pointer;
}
.check input { width: 17px; height: 17px; accent-color: var(--orange); flex: 0 0 auto; cursor: pointer; }
.check b { font-weight: 400; color: var(--blue); }

.filters__reset {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease, border-color .2s ease;
}
.filters__reset:hover { color: var(--error); border-color: var(--error); }
.filters__apply-mobile { display: none; margin-top: 14px; }
.filters__apply-mobile .btn { width: 100%; }
.filters__apply-mobile .btn span { color: var(--blue); font-family: var(--font-body); }

/* подвал панели на мобильных */
.filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(20, 32, 40, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.filters-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* тулбар: чипы активных фильтров + сортировка */
.catalog-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; margin-bottom: 22px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.fchips:empty { display: none; }
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: none;
  background: var(--blue-soft-t);
  color: var(--blue);
  font-size: 13px;
  transition: background .2s ease;
}
.fchip:hover { background: rgba(32, 70, 83, 0.18); }
.fchip .ic { width: 13px; height: 13px; }
.fchip--reset { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.fchip--reset:hover { border-color: var(--error); color: var(--error); background: transparent; }
.catalog-toolbar__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.catalog-count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sort { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.filters-btn-mobile { display: none; }
.filters-btn-mobile .ic { width: 17px; height: 17px; }
.filters-btn-mobile__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #1a1a1a;
  font-size: 12px;
}

/* пустое состояние */
.empty {
  border: 1.5px dashed var(--line);
  border-radius: 16px;
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
}
.empty__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-soft-t);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty__icon .ic { width: 26px; height: 26px; }
.empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.empty p { margin-bottom: 22px; }
.catalog-note { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.catalog__note a, .catalog-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.catalog__note a:hover, .catalog-note a:hover { color: var(--orange); }

/* ============================================================
   COOKIE-БАННЕР (152-ФЗ / политика куки)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  width: min(440px, calc(100vw - 48px));
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  padding: 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
.cookie-banner.is-shown { opacity: 1; transform: none; }
.cookie-banner.is-paused { opacity: 0; transform: translateY(160%); pointer-events: none; }
.cookie-banner__body { display: flex; gap: 14px; margin-bottom: 16px; }
.cookie-banner__icon {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-banner__icon .ic { width: 22px; height: 22px; }
.cookie-banner__body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 5px;
}
.cookie-banner__body p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.cookie-banner__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__body a:hover { color: var(--orange); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ghost-кнопка (на светлых подложках) */
.btn--ghost { color: var(--text); border-color: var(--line); background: var(--white); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

@media (max-width: 680px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .cookie-banner__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ (privacy / cookies)
   ============================================================ */
.legal-wrap { padding: 8px 0 96px; }
.legal { max-width: 860px; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  color: var(--ink);
  margin: 26px 0 10px;
}
.legal__date { color: var(--muted-2); font-size: 14px; margin-bottom: 44px; }
.legal h2 { font-family: var(--font-display); font-size: 22px; color: var(--blue); margin: 38px 0 12px; }
.legal p, .legal li { font-size: 15.5px; color: var(--text); margin-bottom: 10px; line-height: 1.65; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--orange); }

/* ============================================================
   ФУТЕР — ЮРИДИЧЕСКИЙ БЛОК
   ============================================================ */
.footer__meta { margin-top: 18px; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer__legal a, .footer__legal button {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.footer__legal a:hover, .footer__legal button:hover { color: var(--orange); }
.footer__operator { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.32); }

/* ============================================================
   СТРАНИЦА ОБЪЕКТА — УВЕДОМЛЕНИЕ «СТРАНИЦА ГОТОВИТСЯ»
   ============================================================ */
.id-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--orange-soft);
  border: 1px solid rgba(228, 150, 20, 0.35);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text);
}
.id-note[hidden] { display: none; }
.id-note .ic { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; flex: 0 0 auto; }
.id-note strong { display: block; font-weight: 400; font-family: var(--font-display); color: var(--ink); margin-bottom: 3px; }
.id-note a { color: var(--blue); }
.id-note a:hover { color: var(--orange); }

/* ============================================================
   АДАПТИВ — КАТАЛОГ И ФИЛЬТРЫ (mobile bottom-sheet)
   ============================================================ */
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .filters {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: auto;
    z-index: 80;
    max-height: 84vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(26px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    box-shadow: 0 -18px 48px rgba(16, 21, 26, 0.28);
    transform: translateY(105%);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
  }
  .filters.is-open { transform: none; }
  .filters__close { display: flex; }
  .filters__apply-mobile { display: block; }
  .filters-btn-mobile { display: inline-flex; }
  .filters-backdrop { display: block; }
  /* Мобильный тулбар: «Фильтры» + счётчик сгруппированы слева
     (без пустого просвета между ними), сортировка — на всю ширину */
  .catalog-toolbar__right { width: 100%; margin-left: 0; }
  .sort { width: 100%; }
  .sort .select { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 680px) {
  .fchips { order: 3; flex-basis: 100%; }
  .id-note { flex-direction: column; gap: 8px; }
}
