

/* Start:/local/templates/vmu/assets/css/landing.css?179250292461160*/
/* Raleway по умолчанию рисует oldstyle-цифры (3, 4, 5, 7, 9 «висят» ниже строки).
   Во включённом latin-файле есть OpenType-фича lnum — выравниваем цифры по одной линии. */
html {
  font-variant-numeric: lining-nums;
}

:root {
  /* Brandbook ВМУ-2, стр. 25 — только эти фирменные цвета */
  --blue-1: #002b53;
  --blue-2: #024995;
  --sky: #194dff;
  --light-blue-1: #3973b9;
  --light-blue-2: #6f9ed4;
  --white: #ffffff;

  --navy: var(--blue-1);
  --blue: var(--blue-2);
  --sky-deep: var(--blue-2);
  --sky-soft: var(--light-blue-1);
  --light-blue: var(--light-blue-2);
  --brand-card: var(--light-blue-1);
  --price: var(--blue-2);

  /* UI-нейтрали в той же синей гамме (миксы из фирменных) */
  --text: var(--blue-1);
  --muted: color-mix(in srgb, var(--blue-1) 52%, var(--white));
  --bg: color-mix(in srgb, var(--light-blue-2) 14%, var(--white));
  --bg-soft: color-mix(in srgb, var(--light-blue-2) 8%, var(--white));
  --line: color-mix(in srgb, var(--light-blue-1) 22%, var(--white));

  /* Статусы / бывшие акценты → только синие из брендбука */
  --green: var(--blue-2);
  --orange: var(--sky);
  --font: "Raleway", system-ui, sans-serif;
  --body: "Raleway", system-ui, sans-serif;
  --font-label: "Raleway", system-ui, sans-serif;
  --accent-font: "Geologica", system-ui, sans-serif;
  --max: 1240px;
  --r-sm: 12px;
  --r-md: 16px;
  --r: 24px;
  --r-lg: 28px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(0, 43, 83, 0.12);
  --shadow-sm: 0 8px 24px rgba(0, 43, 83, 0.08);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.75L7 7.25L12.5 1.75' stroke='%23002b53' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --select-chevron-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.75L7 7.25L12.5 1.75' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* Планировки: мастер-кадр 960×720 (4:3) */
  --plan-ratio: 4 / 3;
  --plan-pad: 14px;
  --plan-bg: #ffffff;

  /* Фирменный паттерн «окна» (эталон — hero-баннер) */
  --brand-windows-blue: #0c4e9c;
  --brand-windows-tile: url("/local/templates/vmu/assets/css/../images/brand/patterns/windows-dark-tile.png");
  --brand-windows-light: linear-gradient(180deg, rgba(72, 145, 220, 0.34) 0%, rgba(12, 78, 156, 0.08) 100%);
  --brand-windows-scrim-text: linear-gradient(
          105deg,
          rgba(0, 43, 83, 0.78) 0%,
          rgba(0, 43, 83, 0.58) 34%,
          rgba(12, 78, 156, 0.28) 56%,
          rgba(12, 78, 156, 0.08) 76%,
          transparent 100%
  );
  --brand-windows-scrim-band: linear-gradient(
          118deg,
          rgba(0, 43, 83, 0.55) 0%,
          rgba(12, 78, 156, 0.28) 52%,
          rgba(12, 78, 156, 0.1) 100%
  );
  --brand-windows-scrim-center: linear-gradient(
          180deg,
          rgba(0, 43, 83, 0.48) 0%,
          rgba(12, 78, 156, 0.22) 45%,
          rgba(12, 78, 156, 0.38) 100%
  );
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* Выпадающие списки — стрелка у всех select */
select:not([multiple]):not([size]) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  padding-right: 40px;
  cursor: pointer;
}
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.tabular { font-variant-numeric: lining-nums tabular-nums; }
.accent { color: var(--sky); }

/* Typography — Raleway (TZ 4.3): Regular 400, Medium 500, SemiBold 600, Bold 700 */
h1, h2, h3, h4,
.section-title,
.btn,
.nav a,
.phone,
.logo,
.filter__label,
.filter__submit,
.filter__reset,
.promo__timer,
.news-more,
.pill,
.badge,
.project-card h3,
.prog h3,
.stat strong,
.stat b {
  font-family: var(--font);
}

/* Заголовки h1–h4 — 600; .section-title — отдельно 700 */
h1, h2:not(.section-title), h3, h4 { font-weight: 600 !important; }
.section-title,
h2.section-title {
  font-weight: 700 !important;
}

h1, h2 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

h3, h4 {
  font-weight: 600;
}

/* —— Homepage accent typography —— */
/* Акцентные цифры/метки/калькулятор — Geologica (не бейджи) */
body:not([class]) .stat__num,
body:not([class]) .prog__watermark,
body:not([class]) .calc__label strong,
body:not([class]) .calc__pay,
body:not([class]) .calc__meta strong,
body:not([class]) .project-card__price-value,
body.page .stat__num,
body.page .about-stat strong,
body.page .calc__pay,
body.page .calc__meta strong,
body.page .jk-card__price-value,
body.page .flat-card__price strong {
  font-family: var(--accent-font);
}

p,
.section-sub,
.consent,
.project-card p,
.promo p,
.hero__sub,
.trust-section .section-sub,
.mortgage-section .section-sub,
.waitlist__copy p,
.footer p,
.footer li {
  font-family: var(--body);
  font-weight: 400;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
@media (max-width: 768px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .family-banner__inner { width: min(100% - 28px, var(--max)); }
}

/* вЂ”вЂ” Buttons вЂ”вЂ” */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: var(--white);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16); }
.btn--ghost,
.btn--outline-on-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover,
.btn--outline-on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--blue); }
.btn--pick {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky) 0%, var(--blue-2) 55%, var(--blue-1) 100%);
  box-shadow:
    0 12px 28px rgba(25, 77, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--pick:hover {
  background: linear-gradient(135deg, var(--light-blue-2) 0%, var(--sky) 45%, var(--blue-2) 100%);
  box-shadow:
    0 16px 36px rgba(25, 77, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--chess {
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--white);
  background: linear-gradient(135deg, var(--light-blue-1) 0%, var(--blue-2) 60%, var(--blue-1) 100%);
  box-shadow:
    0 12px 28px rgba(57, 115, 185, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--chess:hover {
  background: linear-gradient(135deg, var(--light-blue-2) 0%, var(--light-blue-1) 50%, var(--blue-2) 100%);
  box-shadow:
    0 16px 36px rgba(57, 115, 185, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--call {
  background: var(--sky);
  color: var(--white);
}

/* вЂ”вЂ” Header вЂ”вЂ” */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 84px;
  display: flex;
  align-items: center;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo__img {
  display: block;
  height: 48px;
  width: auto;
}
.logo--footer .logo__img {
  height: 46px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 22px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--sky); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header__fav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--navy);
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.header__fav:hover {
  color: #c81e4a;
  background: color-mix(in srgb, #c81e4a 8%, #fff);
  transform: scale(1.04);
}
.header__fav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header__fav.is-active svg {
  fill: currentColor;
  color: #c81e4a;
}
.header__fav-count {
  position: absolute;
  top: 2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.header__fav-count:empty,
.header__fav-count[data-empty="true"] {
  display: none;
}
.header__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-size: 18px;
}
.header__filter:hover {
  border-color: var(--sky);
  color: var(--sky);
}
.phone {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  z-index: 99;
  background: var(--white);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a,
.nav-mobile .btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn {
  margin-top: 12px;
  border-bottom: none;
  width: 100%;
}

/* вЂ”вЂ” Section heads вЂ”вЂ” */
.section-head { margin-bottom: 36px; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head--light .section-title,
.section-head--light .section-sub { color: var(--white); }
.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.035em;
  color: var(--navy);
  text-transform: uppercase;
}
.section-sub {
  margin-top: 8px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  max-width: none;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  color: var(--sky);
  transition: gap 0.2s;
}
.section-link__icon,
.section-link svg {
  flex-shrink: 0;
  display: block;
}
.section-link:hover { gap: 12px; }

/* —— Brand windows pattern (shared) —— */
.brand-windows-fill,
.hero__panel::before,
.brand-pattern--windows,
.brand-pattern--windows-bright,
.about-brand-hero__pattern,
.about-stats-band__pattern,
.about-cta-band__pattern,
.jk-contacts--brand .jk-contacts__invite-pattern,
.about-panel--pattern::before,
.about-panel__bg::before,
.about-panel--history-soft .about-panel__bg::before,
.about-lead--brand::before,
.about-partners-band::before,
.jk-contacts--brand .jk-contacts__invite-body::before,
.brand-pattern-strip,
.why-showcase__stat,
.about-process__num,
.about-process__num-inline {
  background-color: var(--brand-windows-blue);
  background-image: var(--brand-windows-light), var(--brand-windows-tile);
  background-repeat: no-repeat, repeat;
  background-size: auto, auto 100%;
  background-position: center, top left;
}
.about-process__num,
.about-process__num-inline {
  background-size: auto, 100% 100%;
}

/* вЂ”вЂ” Hero вЂ”вЂ” */
.hero {
  padding: 24px 0 0;
  background: #ffffff;
}
.hero__wrap { position: relative; padding-bottom: 48px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background-color: var(--brand-windows-blue);
  color: var(--white);
  min-height: 420px;
  align-self: stretch;
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--brand-windows-scrim-text);
}
.hero__panel-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 48px 44px 36px;
}
.hero__title {
  font-family: var(--font);
  font-weight: 700 !important;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: none;
  color: #ffffff;
  white-space: normal;
  font-variant-numeric: lining-nums tabular-nums;
}

.hero__title-line {
  display: block;
}

@media (min-width: 681px) {
  .hero__title-line {
    white-space: nowrap;
  }
}

.hero__title-accent {
  color: #bee2fe;
}

.hero__years {
  display: inline-block;
  /* небольшое поднятие цифры 50 */
  transform: translateY(-0.06em);
}
.hero__sub {
  margin-top: 22px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: #ffffff;
  max-width: none;
}
.btn--hero {
  margin-top: 28px;
  width: fit-content;
  min-height: 52px;
  padding: 0 32px;
  border-radius: var(--pill);
  background: #ffffff;
  color: #002b53;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  box-shadow: none;
}
.btn--hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  background: #ffffff;
  color: #002b53;
}
.hero__bullets {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px clamp(12px, 1.6vw, 24px);
  font-family: var(--font);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 3;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}
.hero__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: color-mix(in srgb, var(--light-blue-2) 14%, var(--white));
}
.hero__media img,
.hero-slider__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slider__slide {
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.hero-slider__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 4px rgba(0, 20, 40, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-slider__dots span.is-active {
  background: #fff;
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide {
    transition: none;
  }
}

/* —— Filter —— */
.filter {
  position: relative;
  z-index: 5;
  margin-top: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px 24px 14px;
  animation: fadeUp 0.7s 0.25s var(--ease) both;
}
.filter__row {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr 1fr 1.05fr 0.95fr 1.05fr;
  gap: 18px 20px;
  align-items: start;
}
.filter__field label {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.filter__field select {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  appearance: none;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.filter__field--range {
  padding-top: 0;
}
.dual-range {
  position: relative;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 16px;
}
.dual-range__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 3px;
  background: var(--line);
  border-radius: 4px;
}
.dual-range__fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--navy);
  border-radius: 4px;
}
.dual-range input[type="range"] {
  position: absolute;
  left: 0;
  width: 100%;
  top: 5px;
  appearance: none;
  background: none;
  pointer-events: none;
  height: 20px;
  margin: 0;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--navy);
  box-shadow: none;
  pointer-events: auto;
  cursor: pointer;
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--navy);
  pointer-events: auto;
  cursor: pointer;
}
.dual-range__vals {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.filter__search {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s var(--ease);
  flex-shrink: 0;
}
.filter__search:hover {
  background: var(--sky);
  transform: scale(1.05);
}
.filter__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 2px 2px 2px;
  font-family: var(--font);
  font-size: 13px;
}
.filter__reset {
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  transition: color 0.2s;
}
.filter__reset:hover { color: var(--navy); }
.filter__submit {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.filter__submit:hover { color: var(--blue); }
.filter__submit span { font-weight: 500; }

/* вЂ”вЂ” Apartment preview cards (after filter) вЂ”вЂ” */
.apt-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.apt-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.apt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.apt-card__plan {
  aspect-ratio: var(--plan-ratio);
  background: #fff;
  display: grid;
  place-items: center;
  padding: var(--plan-pad);
  overflow: hidden;
}
.apt-card__plan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.apt-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.apt-card__specs {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.apt-card__title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 2px;
}
.apt-card__mort {
  font-size: 13px;
  color: var(--muted);
}
.apt-card__price {
  margin-top: 8px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--price);
}

.filter__search {
  display: none;
}

/* вЂ”вЂ” Projects вЂ”вЂ” */
.projects-section {
  position: relative;
  padding: 88px 0 96px;
  background-color: #024c97;
  background-image: url("/local/templates/vmu/assets/css/../images/projects-crane-bg.png?v=crane3");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.projects-section::before,
.projects-section::after {
  content: none;
  display: none;
}
.projects-section .wrap { position: relative; z-index: 1; }
.projects-section__head {
  margin-bottom: 36px;
}
.projects-section__head .section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.035em;
  color: #ffffff;
  text-transform: uppercase;
}
.projects-section__head .section-sub {
  margin-top: 12px;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  max-width: none;
}
.projects-section__archive-link {
  color: #ffffff;
  align-self: flex-end;
}
.projects-section__archive-link:hover {
  color: #ffffff;
  opacity: 0.9;
}
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s var(--ease);
}
.project-card:hover { transform: translateY(-4px); }
.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 5 / 3.4;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--navy);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.04); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: color-mix(in srgb, var(--light-blue-1) 12%, var(--white));
}
.project-card__media .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.badge--green { background: var(--blue-2); color: var(--white); }
.badge--sky { background: var(--sky); color: var(--white); }
.badge--amber { background: #1a8f5c; color: var(--white); }
.badge--orange { background: var(--light-blue-1); color: var(--white); }
.project-card__body {
  position: relative;
  z-index: 1;
  margin-top: -22px;
  padding: 22px 22px 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.project-card__body h3 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}
.project-card__meta,
.project-card__extra {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.project-card__foot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.project-card__price {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}
.project-card__price--accent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28em 0.35em;
  color: var(--navy);
  /* чтобы «2,85» и весь ценник не прыгал из-за переноса строки */
  flex-wrap: nowrap;
  white-space: nowrap;
}
.project-card__price-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font);
  white-space: nowrap;
}
.project-card__price-value {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--blue);
  font-family: var(--font);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.project-card__price-unit {
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-family: var(--font);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.project-card__price--muted {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.project-card__foot .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}
.brand-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--light-blue-2) 0%, var(--light-blue-1) 45%, var(--blue-2) 100%);
  color: var(--white);
  padding: 24px;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.3s var(--ease);
  isolation: isolate;
}
.brand-card:hover { transform: translateY(-4px); }
.brand-card__fill {
  position: absolute;
  left: 50%;
  top: 56%;
  z-index: 0;
  width: 148%;
  height: 148%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  transition: transform 0.55s var(--ease);
}
.brand-card:hover .brand-card__fill {
  transform: translate(-50%, -50%) scale(1.05);
}
.brand-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 55, 120, 0.58) 0%, rgba(2, 73, 149, 0.12) 40%, rgba(2, 55, 120, 0.35) 100%);
}
.brand-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.brand-card__top p {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  max-width: 11ch;
  text-shadow: 0 2px 12px rgba(0, 30, 70, 0.35);
}
.brand-card__top .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 30, 70, 0.22);
}

/* —— Trust —— */
.trust-section {
  padding: 88px 0 40px;
  background: var(--white);
}
.trust-section__head {
  margin-bottom: 40px;
  max-width: 920px;
}
.trust-section__head .section-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-transform: uppercase;
}
.trust-section__head .section-title .accent {
  color: #024995;
  font-weight: 600;
}
.trust-section__head .section-sub {
  margin-top: 12px;
  max-width: none;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  align-items: start;
  width: 100%;
  margin-bottom: 72px;
  padding: 0;
  column-gap: 0;
}
.stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
}
.stat__num {
  font-family: var(--font);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  color: #024995;
  line-height: 1;
  letter-spacing: -0.02em;
  width: auto;
  text-align: left;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__label {
  margin-top: 12px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted);
  max-width: 14em;
  text-align: left;
}
.trust {
  display: grid;
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px 32px;
  align-items: stretch;
}
.trust__usps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}
.trust__usps h3 {
  font-family: var(--font);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.trust__usps p {
  font-family: var(--body);
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 22ch;
}
.trust__photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.trust__photos {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  align-items: stretch;
  aspect-ratio: 2.5 / 1;
}
.trust__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.trust__photo--interior,
.trust__photo--exterior {
  aspect-ratio: auto;
}

/* —— Family banner —— */
.family-banner {
  padding: 28px 0 72px;
  background: var(--white);
}
.family-banner__inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}
.family-banner__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 9;
  height: auto;
  min-height: 320px;
  max-height: 560px;
  isolation: isolate;
  box-shadow: 0 18px 48px rgba(2, 73, 149, 0.1);
  background: linear-gradient(135deg, color-mix(in srgb, var(--light-blue-2) 14%, var(--white)), color-mix(in srgb, var(--light-blue-1) 18%, var(--white)));
}
.family-banner__media img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 122%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  pointer-events: none;
  user-select: none;
}
@media (prefers-reduced-motion: reduce) {
  .family-banner__media img {
    height: 100%;
    object-position: center 40%;
    will-change: auto;
    transform: none !important;
  }
}

/* —— Mortgage —— */
.mortgage-section {
  padding: 88px 0;
  background: var(--bg);
}
.mortgage-section__head {
  margin-bottom: 36px;
  max-width: 980px;
}
.mortgage-section__head .section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-transform: uppercase;
}
.mortgage-section__head .section-title .accent {
  color: #024995;
  font-weight: 700;
}
.mortgage-section__head .section-sub {
  margin-top: 12px;
  max-width: none;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}
.mortgage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}
.mortgage__programs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prog {
  position: relative;
  text-align: left;
  background: var(--white);
  border-radius: var(--r);
  padding: 24px 22px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.prog:hover { transform: translateY(-2px); }
.prog.is-active { border-color: var(--sky); }
.prog__watermark {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-family: var(--font);
  font-size: 64px;
  font-weight: 600;
  color: rgba(2, 73, 149, 0.12);
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.prog.is-active .prog__watermark {
  opacity: 1;
  transform: translateY(0);
}
.prog h3 {
  position: relative;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
}
.prog ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.prog ul strong { color: var(--navy); font-weight: 700; }

.calc {
  background: linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.calc__title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
}
.calc__field { display: flex; flex-direction: column; gap: 10px; }
.calc__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.calc__label strong {
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--white);
}
.calc input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
}
.calc__result {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}
.calc__pay {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}
.calc__result p {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.calc__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.calc__meta strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
}
.calc .btn { width: 100%; margin-top: 4px; }

/* Сноска под калькулятором: в вёрстке была абзацем с инлайновыми стилями,
   теперь приходит HTML-полем из инфоблока. */
.mortgage-note {
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.mortgage-note p {
  margin: 0;
}
.mortgage-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
  margin-top: 40px;
  padding-top: 8px;
}
.mortgage-service {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.mortgage-service__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.mortgage-service__copy {
  min-width: 0;
}
.mortgage-service h3 {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 4px;
}
.mortgage-service p {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
  max-width: none;
}

/* —— Build —— */
.build-section {
  padding: 88px 0;
  background: var(--white);
}
.build-section__head {
  margin-bottom: 36px;
  align-items: flex-start;
}
.build-section__head .section-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-transform: uppercase;
}
.build-section__head .section-sub {
  margin-top: 12px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
}
.build-section__head .section-link {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  color: var(--navy);
  margin-top: 6px;
}
.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.build-card {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  background: transparent;
  transition: transform 0.3s var(--ease);
}
.build-card:hover { transform: translateY(-3px); }
.build-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 20px;
}
.build-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 43, 83, 0.08) 0%, rgba(0, 43, 83, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}
.build-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease);
  z-index: 2;
}
.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--navy);
}
.build-card:hover .play { transform: scale(1.06); }
button.play {
  appearance: none;
  padding: 0;
  border: 0;
  cursor: pointer;
}
/* Онлайн-трансляция прямо в карточке: стоп-кадр уступает место плееру */
.build-card__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  background: #001226;
}
.build-card__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.build-card__media.is-live .build-card__frame { display: block; }
.build-card__media.is-live::after,
.build-card__media.is-live .play {
  opacity: 0;
  visibility: hidden;
}
.build-card__media.is-loading .play {
  opacity: .55;
  pointer-events: none;
}
.build-card__body { padding: 16px 4px 4px; }
.build-card__body h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.build-card__body h3 a { color: inherit; }
.build-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.progress-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
}
.progress-item__head strong {
  font-weight: 500;
}
.progress-bar {
  height: 8px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--sky-soft));
  border-radius: 8px;
}
.progress-item a {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* вЂ”вЂ” Lead вЂ”вЂ” */
.lead-section {
  padding: 24px 0 80px;
  background: var(--white);
}
.lead-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 48px 40px 40px;
  background:
    linear-gradient(120deg, rgba(2, 73, 149, 0.95), rgba(0, 43, 83, 0.92)),
    url("/local/templates/vmu/assets/css/../images/build-borovoe.webp") center / cover;
}
.lead-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 80% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}
.lead__head {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  max-width: 720px;
}
.lead__head h2 {
  font-family: var(--font);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.lead__head p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}
.lead {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.lead__form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--bg-soft);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
}
.field select {
  appearance: none;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  padding-right: 40px;
  cursor: pointer;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 18px;
}
.consent input { margin-top: 3px; accent-color: var(--sky); }
.consent a { color: var(--sky); text-decoration: underline; }
.lead__form .btn { width: 100%; }
.lead__phone {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.lead__phone a {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
}
.lead__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 480px;
  background: rgba(0, 43, 83, 0.2);
}
.lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(0.96);
  transform-origin: center center;
}
.form-success {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue-2) 12%, var(--white));
  color: var(--blue-2);
  font-family: var(--font);
  font-weight: 700;
  text-align: center;
}
.cz-error {
  border-color: #E11D48 !important;
}
.cz-wrap-error {
  margin-top: 6px;
}
.cz-input-error {
  margin: 0;
  color: #E11D48;
  font-size: 12px;
  font-family: var(--body, inherit);
}

/* вЂ”вЂ” Promos вЂ”вЂ” */
.promos-section {
  padding: 88px 0;
  background: var(--white);
}
.promos-section .section-title {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.promos-section .section-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
}
.promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px 26px 72px;
  border-radius: var(--r);
  color: var(--white);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.promo:hover { transform: translateY(-4px); }
/* Три различимые синие тональности брендбука */
.promo--navy { background: var(--blue-1); }   /* #002b53 — тёмный */
.promo--blue { background: var(--blue-2); }   /* #024995 — средний */
.promo--sky  { background: var(--sky); }      /* #194dff — яркий */
.promo__timer {
  display: block;
  width: fit-content;
  padding: 0;
  margin-bottom: 20px;
  background: none;
  border-radius: 0;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.promo h3 {
  font-family: var(--font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  color: #ffffff;
}
.promo p {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28ch;
}
.promo__arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}
.promo:hover .promo__arrow { transform: translateX(3px); }

/* вЂ”вЂ” News вЂ”вЂ” */
.news-section {
  padding: 48px 0 88px;
  background: var(--bg-soft);
}
.news-section .section-title {
  font-weight: 600;
  letter-spacing: 0.01em;
}
.news-section .section-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
}
.news {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}
.news-feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.news-feature img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.news-feature__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-feature__meta,
.news-list__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.news-feature time,
.news-list time {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-section .pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--light-blue-1) 14%, var(--white));
  color: var(--blue-2);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
}
.news-feature h3,
.news-list h3 {
  font-family: var(--font);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.news-feature h3 {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 0;
}
.news-list h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  margin-bottom: 0;
  flex: 1;
}
.news-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.news-list a {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 26px;
  border-radius: var(--r);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-list a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: var(--white);
}

/* вЂ”вЂ” Waitlist вЂ”вЂ” */
.waitlist {
  padding: 0 0 40px;
  background: var(--white);
}
.waitlist__inner {
  border-radius: var(--r-lg);
  /* Фон как у lead-panel: градиент + картинка + сетка */
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(2, 73, 149, 0.95), rgba(0, 43, 83, 0.92)),
    url("/local/templates/vmu/assets/css/../images/build-borovoe.webp") center / cover;
  color: var(--white);
  padding: 36px 36px 28px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.waitlist__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  /* чтобы сетка концентрировалась в верхней части */
  mask-image: radial-gradient(circle at 80% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}

.waitlist__copy,
.waitlist__form {
  position: relative;
  z-index: 1;
}
.waitlist__copy h2 {
  font-family: var(--font);
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.waitlist__copy h2 .waitlist__line {
  display: block;
  white-space: nowrap;
}
.waitlist__copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  max-width: 34ch;
}
.waitlist__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.waitlist__form > input[type="hidden"] {
  display: none !important;
}
.waitlist__form input:not([type="checkbox"]):not([type="hidden"]),
.waitlist__form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;
  border: none;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
  box-sizing: border-box;
}
.waitlist__form select {
  appearance: none;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  padding-right: 40px;
  cursor: pointer;
}
.waitlist__form .consent--waitlist {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  align-self: center;
  margin: 0;
  order: 10;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.35;
}
.waitlist__form .consent--waitlist span {
  flex: 1;
  min-width: 0;
}
.waitlist__form .consent--waitlist a {
  color: #fff;
  text-decoration: underline;
}
.waitlist__form .consent--waitlist input {
  width: 18px;
  height: 18px;
  min-height: 0;
  min-width: 18px;
  padding: 0;
  margin: 2px 0 0;
  border: none;
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.waitlist__form .btn {
  grid-column: 3;
  grid-row: 2;
  width: 100%;
  min-height: 50px;
  justify-self: stretch;
}
.waitlist__form .form-success {
  grid-column: 1 / -1;
  order: 11;
}

/* вЂ”вЂ” Footer вЂ”вЂ” */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.3fr 0.8fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer__about p { margin-top: 14px; font-size: 14px; max-width: 32ch; }
.footer h4 {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--white); }
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover {
  background: var(--sky);
  border-color: var(--sky);
}
.footer__contacts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}
.footer__contacts strong {
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
}
.footer__contacts span { font-size: 13px; }
.footer__phones {
  margin-top: 14px;
  font-size: 13px;
}
.footer__phones a {
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
}
.footer__mail {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
}
.footer__extra { margin-top: 10px; }
.footer__extra a { color: rgba(255, 255, 255, 0.78); }
.footer__extra a[href*="priemnaya"] {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sky) 70%, #fff);
  text-underline-offset: 3px;
}
.footer__extra a[href*="priemnaya"]:hover {
  color: var(--sky);
  text-decoration-color: var(--sky);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}
.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom a:hover { color: var(--white); }

/* вЂ”вЂ” Sticky CTA / Modal / Cookies вЂ”вЂ” */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0, 43, 83, 0.08);
}
.sticky-cta .btn { flex: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.55);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: min(100%, 440px);
  background: var(--white);
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.35s var(--ease);
}
.modal__dialog h2 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.modal__dialog > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.modal__dialog .btn { width: 100%; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}

.cookies {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  width: min(calc(100% - 40px), 420px);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: none;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookies.is-visible { display: flex; }
.cookies p { font-size: 13px; color: var(--muted); }
.cookies a { color: var(--sky); text-decoration: underline; }
.cookies__actions { flex-shrink: 0; }
.cookies .btn { min-height: 40px; padding: 0 18px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* вЂ”вЂ” Responsive вЂ”вЂ” */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .filter__row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .apt-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects { grid-template-columns: 1fr 1fr; }
  .mortgage { grid-template-columns: 1fr; }
  .mortgage-services { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .waitlist__inner { grid-template-columns: 1fr; }
  .waitlist__copy h2 .waitlist__line { white-space: normal; }
  .waitlist__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .waitlist__form .btn {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel,
  .hero__media { min-height: 320px; }
  .hero__panel-inner { min-height: 320px; }
  .hero__bullets {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .hero__bullets li {
    white-space: normal;
    flex-shrink: 1;
  }
  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 28px);
    justify-content: start;
  }
  .stat {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }
  .trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trust__usps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    justify-content: start;
  }
  .trust__usps li {
    flex: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .trust__usps li:first-child {
    padding-top: 0;
  }
  .trust__usps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .trust__usps h3 {
    font-size: clamp(18px, 4.8vw, 22px);
    margin-bottom: 6px;
  }
  .trust__usps p {
    max-width: none;
    font-size: 14px;
  }
  .trust__photos {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 10px;
    aspect-ratio: 2.2 / 1;
  }
  .trust__photo {
    border-radius: 14px;
  }
  .trust__photo img {
    min-height: 0;
  }
  .build-grid,
  .build-progress,
  .news,
  .promos,
  .lead { grid-template-columns: 1fr; }
  .lead__media { min-height: 400px; }
  .lead-panel { padding: 32px 22px 24px; border-radius: 24px; }
  .news-feature img { height: 240px; }
}

@media (max-width: 680px) {
  .header { height: 68px; }
  .header__inner { width: min(100% - 28px, var(--max)); }
  .header .phone { display: none; }
  .header .btn--outline { display: none; }
  .nav-mobile { inset: 68px 0 0 0; }
  .hero { padding-top: 16px; }
  .hero__panel-inner { padding: 28px 20px 28px; min-height: 0; }
  .hero__panel,
  .hero__media { min-height: 0; }
  .hero__panel { min-height: 340px; }
  .hero__media { min-height: 260px; aspect-ratio: 4 / 3; }
  .hero__panel::before {
    background-size: auto, auto 100%;
    background-position: center, top left;
  }
  .hero__bullets {
    margin-top: 20px;
    padding-top: 16px;
    gap: 8px 14px;
  }
  .hero__title {
    font-size: clamp(22px, 6.2vw, 28px);
  }
  /* В примере фильтр идёт отдельным блоком ниже баннера */
  .filter { margin-top: 16px; padding: 18px 16px 12px; }
  .filter__row { grid-template-columns: 1fr; }
  .apt-preview { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .projects-section,
  .trust-section,
  .mortgage-section,
  .build-section,
  .promos-section { padding: 64px 0; }
  .mortgage__programs { grid-template-columns: 1fr; }
  .mortgage-services { grid-template-columns: 1fr; }
  .trust__usps {
    display: grid;
    grid-template-columns: 1fr;
  }
  .trust__photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    aspect-ratio: 2.1 / 1;
  }
  .trust__photo {
    aspect-ratio: auto;
    border-radius: 12px;
  }
  .trust__photo img {
    min-height: 0;
  }
  .family-banner__inner {
    width: min(100% - 28px, var(--max));
  }
  .family-banner__media {
    aspect-ratio: 16 / 10;
    min-height: 260px;
    max-height: 420px;
    border-radius: calc(var(--r-lg) - 4px);
  }
  .family-banner__media img {
    height: 128%;
    object-position: center 38%;
  }
  .waitlist__form { grid-template-columns: 1fr; }
  .waitlist__form .btn {
    grid-column: auto;
    grid-row: auto;
  }
  .waitlist__form .consent--waitlist { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .sticky-cta { display: flex; }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .cookies {
    left: 12px;
    right: 12px;
    bottom: 84px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* End */


/* Start:/local/templates/vmu/assets/css/pages.css?1792516125328300*/
/* Inner pages вЂ” extends landing.css */

:root {
  --font-label: "Raleway", var(--font);
}

body.page {
  background: var(--bg-soft);
}

main.page-main {
  padding-bottom: 64px;
}

/* вЂ”вЂ” Breadcrumbs + page head вЂ”вЂ” */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a:hover { color: var(--sky); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

.page-head {
  padding: 28px 0 8px;
}
.page-head h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.page-head__lead {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
  max-width: none;
}
.page-head__extra {
  margin-top: 16px;
}

.page-section {
  padding: 28px 0;
}

/* вЂ”вЂ” Chips / tabs вЂ”вЂ” */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 20px 0 28px;
}
.tabs {
  display: inline-flex;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  gap: 4px;
}
.tabs__btn {
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.tabs__btn.is-active {
  background: var(--navy);
  color: var(--white);
}
.tabs__btn:not(.is-active):hover {
  background: var(--bg);
}

.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* —— Status badge —— */
.badge {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--pill);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: color-mix(in srgb, var(--light-blue-1) 12%, var(--white));
  box-shadow: none;
}
.badge--sale { background: color-mix(in srgb, var(--blue-2) 12%, var(--white)); color: var(--blue-2); }
.badge--build { background: color-mix(in srgb, var(--sky) 12%, var(--white)); color: var(--sky); }
.badge--done { background: color-mix(in srgb, var(--light-blue-1) 14%, var(--white)); color: var(--muted); }
.badge--new { background: color-mix(in srgb, var(--sky) 12%, var(--white)); color: var(--sky); }
.badge--booked { background: color-mix(in srgb, var(--light-blue-2) 22%, var(--white)); color: var(--light-blue-1); }
.badge--sold { background: color-mix(in srgb, var(--blue-1) 8%, var(--white)); color: var(--muted); }
.badge--free { background: color-mix(in srgb, var(--blue-2) 12%, var(--white)); color: var(--blue-2); }
.badge--green { background: var(--blue-2); color: var(--white); }
.badge--sky { background: var(--sky); color: var(--white); }
.badge--amber { background: #1a8f5c; color: var(--white); }
.badge--orange { background: var(--light-blue-1); color: var(--white); }
.badge--news-project {
  background: color-mix(in srgb, var(--sky) 16%, #fff);
  color: var(--sky);
  border: 1px solid color-mix(in srgb, var(--sky) 28%, transparent);
}
.badge--news-company {
  background: color-mix(in srgb, var(--navy) 12%, #fff);
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--navy) 22%, transparent);
}
.badge--news-event {
  background: color-mix(in srgb, var(--light-blue-1) 14%, #fff);
  color: var(--light-blue-1);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 28%, transparent);
}
.badge--news-promo {
  background: color-mix(in srgb, var(--blue-2) 14%, #fff);
  color: var(--blue-2);
  border: 1px solid color-mix(in srgb, var(--blue-2) 28%, transparent);
}
.jk-card__media .badge--green,
.jk-card__media .badge--amber,
.jk-card__media .badge--sky,
.jk-card__media .badge--orange {
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* вЂ”вЂ” JK cards grid вЂ”вЂ” */
.jk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .jk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jk-grid { grid-template-columns: 1fr; }
}

.jk-card[hidden] { display: none !important; }
.jk-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.jk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.jk-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.jk-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease), filter 0.3s;
}
.jk-card:hover .jk-card__media img {
  transform: scale(1.04);
  filter: brightness(0.92);
}
.jk-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.jk-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
  flex: 1;
}
.jk-card__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
}
.jk-card__title a {
  color: inherit;
  text-decoration: none;
}
.jk-card__title a:hover {
  color: var(--blue);
}
.jk-card__addr {
  font-size: 14px;
  color: var(--muted);
}
.jk-card__meta {
  font-size: 14px;
  color: var(--text);
  margin-top: 4px;
}
.jk-card__actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* вЂ”вЂ” Empty state вЂ”вЂ” */
.empty {
  display: none;
  text-align: center;
  padding: 56px 24px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}
.empty.is-visible { display: block; }
.empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--muted);
}
.empty p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 20px;
}

/* вЂ”вЂ” Info tiles вЂ”вЂ” */
.info-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--r);
}
@media (max-width: 900px) {
  .info-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .info-tiles { grid-template-columns: 1fr; }
}
.info-tile {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
}
.info-tile__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-tile__value {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

/* вЂ”вЂ” Feature / infra grids вЂ”вЂ” */
.feature-grid,
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .feature-grid,
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid,
  .infra-grid { grid-template-columns: 1fr; }
}
.feature-item,
.infra-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.feature-item__icon,
.infra-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sky) 12%, var(--white));
  color: var(--sky);
  display: grid;
  place-items: center;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font);
}
.feature-item h3,
.infra-item h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-item p,
.infra-item p {
  font-size: 14px;
  color: var(--muted);
}

/* вЂ”вЂ” Gallery вЂ”вЂ” */
.gallery {
  display: grid;
  gap: 12px;
}
.gallery__main {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.gallery__nav button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery__nav button { display: none; }
}
.gallery__thumbs button {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.75;
}
.gallery__thumbs button.is-active {
  border-color: var(--sky);
  opacity: 1;
}
.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Entrance showcase (Leto) —— */
.entrance-showcase {
  padding-top: 28px;
  padding-bottom: 18px;
}
.entrance-showcase__head {
  max-width: none;
  margin-bottom: 22px;
}
.entrance-showcase__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-label, var(--font));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f39513;
}
.entrance-showcase__head .section-title {
  margin-bottom: 8px;
}
.entrance-showcase__head .section-lead {
  margin: 0;
}
.entrance-showcase__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
/* У ЖК без 3D-тура правая колонка не нужна. */
.entrance-showcase__layout--single {
  grid-template-columns: minmax(0, 1fr);
}
.entrance-showcase__stage {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
}
.entrance-showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entrance-showcase__tab {
  appearance: none;
  border: 1px solid color-mix(in srgb, #f39513 22%, var(--line));
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.entrance-showcase__tab:hover {
  border-color: #f39513;
  color: #c56d00;
}
.entrance-showcase__tab.is-active {
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(243, 149, 19, 0.28);
}
.entrance-showcase__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  background: #e8eef4;
  box-shadow: var(--shadow-sm);
}
.entrance-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.35s ease;
}
.entrance-showcase__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 43, 83, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}
.entrance-showcase__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.entrance-showcase__nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 43, 83, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}
.entrance-showcase__nav button:hover {
  background: #fff;
  transform: scale(1.05);
}

.entrance-tour {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, #f39513 7%, #fff) 0%, #fff 42%);
  box-shadow: var(--shadow-sm);
}
.entrance-tour__eyebrow {
  margin: 0;
  font-family: var(--font-label, var(--font));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f39513;
}
.entrance-tour h3 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.entrance-tour__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.entrance-tour__poster {
  position: relative;
  display: block;
  width: 100%;
  flex: 1 1 auto;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  background: #0b1220;
  text-align: left;
}
.entrance-tour__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease, ease);
}
.entrance-tour__poster:hover img {
  transform: scale(1.04);
}
.entrance-tour__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 43, 83, 0.55) 0%, rgba(0, 43, 83, 0.2) 45%, rgba(243, 149, 19, 0.35) 100%);
  pointer-events: none;
}
.entrance-tour__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: #fff;
}
.entrance-tour__play-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  box-shadow: 0 10px 28px rgba(243, 149, 19, 0.4);
  font-size: 18px;
  padding-left: 3px;
  transition: transform 0.2s ease;
}
.entrance-tour__poster:hover .entrance-tour__play-icon {
  transform: scale(1.06);
}
.entrance-tour__play-label {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.entrance-tour__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.entrance-tour__link:hover {
  color: #f39513;
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 16, 36, 0.78);
  backdrop-filter: blur(4px);
}
.tour-modal.is-open {
  display: grid;
}
.tour-modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  height: min(78vh, 720px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.tour-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0b1220;
}
.tour-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
.tour-modal__close:hover {
  background: #fff;
}

@media (max-width: 960px) {
  .entrance-showcase__layout {
    grid-template-columns: 1fr;
  }
  .entrance-showcase__media {
    min-height: 260px;
  }
  .entrance-tour__poster {
    min-height: 200px;
    aspect-ratio: 16 / 10;
    flex: none;
  }
}
@media (max-width: 720px) {
  .entrance-showcase__media {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }
  .entrance-showcase__nav {
    padding: 0 8px;
  }
  .entrance-showcase__nav button {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .entrance-showcase__tab {
    font-size: 12px;
    padding: 8px 12px;
  }
  .tour-modal {
    padding: 12px;
  }
  .tour-modal__dialog {
    height: min(72vh, 560px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .entrance-showcase__media img,
  .entrance-showcase__tab,
  .entrance-showcase__nav button,
  .entrance-tour__poster img,
  .entrance-tour__play-icon {
    transition: none;
  }
  .entrance-tour__poster:hover img,
  .entrance-tour__poster:hover .entrance-tour__play-icon {
    transform: none;
  }
}

/* Compact entrance carousel (legacy) */
.page-section--entrance {
  padding-top: 18px;
  padding-bottom: 10px;
}
.entrance-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px 32px;
  align-items: center;
  max-width: 920px;
}
.entrance-carousel__intro .section-title {
  margin-bottom: 8px;
}
.entrance-carousel__intro .section-lead {
  margin: 0;
  max-width: none;
}
.gallery--carousel {
  gap: 10px;
  max-width: 420px;
  width: 100%;
  justify-self: end;
}
.gallery--carousel .gallery__main {
  aspect-ratio: 4 / 3;
  max-height: 240px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery--carousel .gallery__nav {
  padding: 0 10px;
}
.gallery--carousel .gallery__nav button {
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.gallery__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 43, 83, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gallery__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--navy) 22%, var(--line));
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.gallery__dots button.is-active {
  background: #f39513;
  transform: scale(1.25);
}
.gallery__dots button:hover {
  background: color-mix(in srgb, #f39513 55%, var(--line));
}
@media (max-width: 900px) {
  .entrance-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 640px;
  }
  .gallery--carousel {
    justify-self: stretch;
    max-width: none;
  }
  .gallery--carousel .gallery__main {
    max-height: 280px;
  }
}
@media (max-width: 560px) {
  .gallery--carousel .gallery__main {
    aspect-ratio: 16 / 11;
    max-height: 220px;
  }
}

/* Compact strip gallery (JK pages) */
.page--jk .page-section--gallery {
  padding: 22px 0 12px;
}
.gallery-strip {
  display: grid;
  gap: 12px;
}
.gallery-strip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.gallery-strip__head .section-title {
  margin-bottom: 6px;
}
.gallery-strip__head .section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: none;
}
.gallery-strip__nav {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}
.gallery-strip__nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gallery-strip__nav button:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.gallery-strip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-strip__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 200px;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0b1e33;
  cursor: pointer;
  scroll-snap-align: start;
}
.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.gallery-strip__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 20, 40, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-strip__item:hover img,
.gallery-strip__item:focus-visible img {
  transform: scale(1.04);
}
.gallery-strip__item:hover::after,
.gallery-strip__item:focus-visible::after {
  opacity: 1;
}
.gallery-strip__item:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .gallery-strip__track {
    grid-auto-columns: minmax(200px, 62%);
  }
  .gallery-strip__item {
    max-height: 180px;
  }
}
@media (max-width: 560px) {
  .gallery-strip__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .gallery-strip__track {
    grid-auto-columns: minmax(180px, 78%);
    gap: 10px;
  }
  .gallery-strip__item {
    max-height: 160px;
  }
}

/* Mosaic gallery for JK pages (legacy) */
.gallery-mosaic__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 16px;
}
.gallery-mosaic__head .section-title {
  margin: 0;
}
.gallery-mosaic__head .section-sub {
  margin: 0;
  max-width: none;
  font-size: 14px;
  color: var(--muted);
}
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, 18vw);
  gap: 10px;
}
.gallery-mosaic__item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  background: #1a2a3a;
  isolation: isolate;
}
.gallery-mosaic__item--hero {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-mosaic__item--wide {
  grid-column: span 2;
}
.gallery-mosaic__item--span2 {
  grid-column: span 2;
}
.gallery-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease, ease);
}
.gallery-mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 20, 40, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery-mosaic__item:hover img,
.gallery-mosaic__item:focus-visible img {
  transform: scale(1.05);
}
.gallery-mosaic__item:hover::after,
.gallery-mosaic__item:focus-visible::after {
  opacity: 1;
}
.gallery-mosaic__item:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(140px, 28vw);
  }
  .gallery-mosaic__item--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-mosaic__item--wide,
  .gallery-mosaic__item--span2 {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .gallery-mosaic {
    grid-auto-rows: minmax(110px, 36vw);
    gap: 8px;
  }
  .gallery-mosaic__head {
    margin-bottom: 12px;
  }
}

/* Gallery lightbox */
.gallery-lb {
  position: fixed;
  inset: 0;
  /* Слой модалок: выше липкой шапки (100), иначе она остаётся поверх и не размывается */
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 20, 40, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.gallery-lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lb__frame {
  position: relative;
  /* Кадр занимает всю доступную область окна: увеличенное фото растёт
     до его границ, а не до размеров исходной картинки */
  width: min(100%, 1240px);
  height: min(88vh, 900px);
  /* Именно flex: в grid-строке max-height: 100% у картинки считается от неё
     самой, и высокое фото вылезает за кадр и обрезается */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.gallery-lb__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #0b1622;
  transform-origin: 50% 50%;
  transition: transform 0.2s var(--ease, ease);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

/* Кнопки масштаба: рисуются скриптом в любом просмотрщике картинок */
.img-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.img-zoom button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.gallery-lb.is-zoomed .gallery-lb__frame img,
.lightbox.is-zoomed img { cursor: grab; }
.gallery-lb.is-panning .gallery-lb__frame img,
.lightbox.is-panning img,
.lightbox.is-panning .lightbox__fit {
  cursor: grabbing;
  transition: none;
}
.gallery-lb__close,
.gallery-lb__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.gallery-lb__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
  z-index: 2;
}
.gallery-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
}
/* 620px — половина кадра, дальше кнопка и отступ: стрелки не лежат на фото */
.gallery-lb__nav--prev { left: max(12px, calc(50% - 680px)); }
.gallery-lb__nav--next { right: max(12px, calc(50% - 680px)); }
.gallery-lb__count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 20, 40, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .gallery-lb { padding: 12px; }
  .gallery-lb__nav--prev { left: 8px; }
  .gallery-lb__nav--next { right: 8px; }
  .gallery-lb__close { top: 10px; right: 10px; }
  /* Кнопки зума уводим из-под счётчика и стрелок */
  .img-zoom {
    right: 10px;
    bottom: 64px;
    flex-direction: column;
  }
}

/* вЂ”вЂ” Content split вЂ”вЂ” */
.prose {
  max-width: 48rem;
}
.prose p + p { margin-top: 14px; }
.prose h2 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 12px;
}
.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.035em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-lead {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: none;
}

/* вЂ”вЂ” CTA band вЂ”вЂ” */
.cta-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  overflow: hidden;
}
@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; }
}
.cta-band h2 {
  font-family: var(--font);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  margin-bottom: 8px;
}
.cta-band p { opacity: 0.85; margin-bottom: 18px; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta-band__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  font-size: 14px;
}
.cta-band__stats strong {
  display: block;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
}

/* —— Docs list —— */
.doc-group {
  margin-bottom: 28px;
}
.doc-group__title {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}
.doc-group__note {
  margin: -4px 0 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.doc-row__name {
  font-weight: 600;
  color: var(--navy);
}
.doc-row__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.doc-row__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.doc-row__actions .btn {
  min-height: 40px;
  padding-inline: 14px;
  white-space: nowrap;
}
.legal-full-doc {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(2, 73, 149, 0.06), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #fff 60%);
}
.legal-full-doc > p {
  margin: 0 0 14px;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.legal-full-doc .doc-row__actions {
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .doc-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-row__actions {
    width: 100%;
    justify-content: stretch;
  }
  .doc-row__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* вЂ”вЂ” Map вЂ”вЂ” */
.map-block {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
}
.map-block iframe {
  width: 100%;
  height: 360px;
  border: 0;
}
.map-block__actions {
  margin-top: 12px;
}

/* вЂ”вЂ” Forms вЂ”вЂ” */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
}
.form-card h2 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card > p {
  color: var(--muted);
  margin-bottom: 20px;
}
.form-card--lead {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  box-shadow: 0 12px 32px rgba(0, 43, 83, 0.08);
}
.form-card--lead .jk-lead__form-kicker {
  margin-bottom: 6px;
}
.form-card--lead .jk-lead__form-title {
  margin: 0 0 8px;
  font-size: 22px;
}
.form-card--lead .jk-lead__text {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
.form-card--lead .jk-lead__submit {
  width: 100%;
}
.form-card--lead .jk-lead__form > .field + .field {
  margin-top: 12px;
}
.comm-detail {
  scroll-margin-top: 96px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.comm-detail:first-of-type { border-top: 0; }
.comm-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.comm-detail__meta strong {
  color: var(--navy);
  font-weight: 600;
}
.comm-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 8px;
}
.comm-benefit {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.comm-benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}
.comm-benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 900px) {
  .comm-benefits { grid-template-columns: 1fr; }
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  color: var(--text);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  padding-right: 40px;
  cursor: pointer;
}
.field textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--sky) 35%, transparent);
  border-color: var(--sky);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
}
.consent input { margin-top: 3px; }
.consent a { color: var(--sky); text-decoration: underline; }
.form-success {
  padding: 14px 16px;
  background: color-mix(in srgb, var(--blue-2) 12%, var(--white));
  color: var(--blue-2);
  border-radius: 12px;
  margin-bottom: 14px;
  font-weight: 600;
}

/* вЂ”вЂ” Timeline / build вЂ”вЂ” */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.timeline-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.timeline-card__date {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
}
.progress {
  height: 8px;
  background: var(--bg);
  border-radius: var(--pill);
  overflow: hidden;
  margin: 10px 0 14px;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--sky);
  border-radius: inherit;
}
.photo-row {
  display: grid;
  /* Не больше четырёх в ряд, но 2–3 фото растягиваются на всю ширину:
     в отчётах их число разное, а пустой хвост ряда выглядит как сбой */
  grid-template-columns: repeat(auto-fit, minmax(calc(25% - 6px), 1fr));
  gap: 8px;
  margin-top: 14px;
}
@media (max-width: 640px) {
  .photo-row { grid-template-columns: repeat(2, 1fr); }
}
.photo-row img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}

/* вЂ”вЂ” Chessboard вЂ”вЂ” */
.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 16px;
}
@media (max-width: 1000px) {
  .filter-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .filter-panel { grid-template-columns: 1fr; }
}
.panel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-bar__count {
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
}
.panel-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chess-layout {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .chess-layout { grid-template-columns: 1fr; }
}
.floor-switch {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 700px) {
  .floor-switch {
    flex-direction: row;
    overflow-x: auto;
  }
}
.floor-switch button {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-family: var(--font);
  color: var(--navy);
}
.floor-switch button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.chessboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  overflow: auto;
}
.chess-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: 8px;
  min-width: 480px;
}
.chess-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.chess-cell:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.chess-cell--free { background: color-mix(in srgb, var(--blue-2) 16%, var(--white)); color: var(--blue-2); }
.chess-cell--booked { background: color-mix(in srgb, var(--light-blue-2) 28%, var(--white)); color: var(--light-blue-1); cursor: not-allowed; }
.chess-cell--sold { background: color-mix(in srgb, var(--blue-1) 8%, var(--white)); color: var(--muted); cursor: not-allowed; }
.chess-cell small { font-weight: 500; font-size: 10px; opacity: 0.85; }
.chess-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.chess-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.chess-dot--free { background: var(--blue-2); }
.chess-dot--booked { background: var(--light-blue-2); }
.chess-dot--sold { background: var(--blue-1); }

.apt-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.apt-drawer.is-open { display: block; }
.apt-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.45);
}
.apt-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--white);
  padding: 28px 24px;
  overflow: auto;
  box-shadow: var(--shadow);
}
.apt-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: var(--muted);
}

/* —— Flats list catalog (rks47-like) —— */
.flats-filter {
  display: grid;
  gap: 16px;
  padding: 20px;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.flats-filter__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.flats-filter__row--secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.flats-filter .field {
  margin-bottom: 0;
}
.flats-filter .field label {
  margin-bottom: 0;
  letter-spacing: normal;
  text-transform: none;
}
.flats-filter .field select {
  width: 100%;
  padding: 0 40px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--white);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  cursor: pointer;
}
.flats-filter__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.flats-filter__label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.flats-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  justify-content: flex-end;
  grid-column: 1 / -1;
}
.flats-rooms {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.flats-rooms__btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.flats-rooms__btn:hover { border-color: var(--blue); }
.flats-rooms__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.flats-rooms__btn:disabled:hover { border-color: var(--line); }
.flats-rooms__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 1100px) {
  .flats-filter__row,
  .flats-filter__row--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flats-filter__actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .flats-filter__row,
  .flats-filter__row--secondary {
    grid-template-columns: 1fr;
  }
}

.flats-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 16px;
}
.flats-controls__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flats-controls__sort label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.flats-controls__sort select {
  min-width: 220px;
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  appearance: none;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.flats-controls__sort select option {
  font-family: var(--font);
  font-weight: 500;
}
.flats-controls__booked {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
}
.flats-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
}
.flats-view__label {
  padding: 0 8px 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flats-view__btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.flats-view__btn.is-active {
  background: var(--navy);
  color: #fff;
}
.flats-filter__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.flats-catalog.is-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.flats-catalog.is-cards .flats-banner { grid-column: 1 / -1; }
.flats-catalog.is-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 1000px) {
  .flats-catalog.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .flats-catalog.is-cards { grid-template-columns: 1fr; }
}
.flat-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.flat-card:hover {
  border-color: rgba(2, 73, 149, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 43, 83, 0.1);
}
.flat-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.flat-card__media {
  position: relative;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: #fff;
}
.flat-card__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.flat-card:hover .flat-card__media img { transform: scale(1.03); }
.flat-card__deadline,
.flat-card__status {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(0, 43, 83, 0.14);
}
.flat-card__deadline {
  top: 10px;
  left: 10px;
}
.flat-card__status {
  top: 10px;
  right: 56px;
  left: auto;
}
.flat-card__media .badge--deadline-done {
  background: color-mix(in srgb, var(--blue-2) 12%, var(--white));
  color: var(--blue-2);
}
.flat-card__media .badge--deadline-soon {
  background: color-mix(in srgb, var(--sky) 12%, var(--white));
  color: var(--sky);
}
.flat-card__media .badge--deadline-plan {
  background: color-mix(in srgb, var(--light-blue-1) 14%, var(--white));
  color: var(--light-blue-1);
}

/* —— Favorites / подборка —— */
.fav-btn {
  position: absolute;
  z-index: 3;
  top: 10px;
  bottom: auto;
  right: 10px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(0, 43, 83, 0.14);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.fav-btn:hover {
  transform: scale(1.06);
  background: #fff;
}
.fav-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fav-btn.is-active {
  color: #c81e4a;
  background: #fff;
}
.fav-btn.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}
.fav-btn--inline {
  position: static;
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
}
.fav-btn--inline svg {
  width: 18px;
  height: 18px;
}
.fav-btn--inline.is-active {
  border-color: color-mix(in srgb, #c81e4a 35%, var(--line));
  background: color-mix(in srgb, #c81e4a 8%, #fff);
}
.apt-carousel__media {
  position: relative;
}
.apt-carousel__media .fav-btn {
  top: 8px;
  bottom: auto;
  right: 8px;
}
.flats-catalog.is-list .fav-btn {
  top: 6px;
  bottom: auto;
  right: 6px;
  width: 34px;
  height: 34px;
}
.flats-catalog.is-list .flat-card__status {
  right: 46px;
}
.selection-link-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.selection-link-count:empty,
.selection-link-count[data-empty="true"] {
  display: none;
}
.selection-empty {
  padding: 28px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: #fff;
  text-align: center;
}
.selection-empty p {
  margin: 0 0 16px;
  color: var(--muted);
}
.selection-card__remove {
  margin-top: 10px;
}

.flat-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}
.flat-card__views[hidden] {
  display: none !important;
}
.flat-card__views::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16);
  flex-shrink: 0;
  animation: flat-views-pulse 1.8s ease-in-out infinite;
}
.flat-card__views strong {
  font-weight: 700;
  color: var(--navy);
}
@keyframes flat-views-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16); }
  50% { box-shadow: 0 0 0 5px rgba(225, 29, 72, 0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .flat-card__views::before,
  .apt-views::before {
    animation: none;
  }
}

.flat-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  flex: 1;
}
.flat-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.flat-card__num {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.flat-card__rooms {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.flat-card__specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.flat-card__specs dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.flat-card__specs dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.flat-card__aside {
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.flat-card__price {
  margin: 8px 0 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--price);
}
.flat-card__price strong { font-weight: 600; }
.flat-card__price-old {
  display: block;
  margin: 0 0 2px;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.flat-card__mort {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.flat-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.flats-catalog.is-list .flat-card__link {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
}
.flats-catalog.is-list .flat-card__deadline,
.flats-catalog.is-list .flat-card__status {
  top: 6px;
  font-size: 11px;
  min-height: 24px;
  padding: 0 8px;
}
.flats-catalog.is-list .flat-card__deadline { left: 6px; }
.flats-catalog.is-list .flat-card__status { right: 46px; }
.flats-catalog.is-list .flat-card__media {
  width: 168px;
  height: 126px;
  padding: 8px;
  border-radius: var(--r-sm);
}
.flats-catalog.is-list .flat-card__body {
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 20px;
  align-items: center;
  border: 0;
}
.flats-catalog.is-list .flat-card__top { grid-column: 1; }
.flats-catalog.is-list .flat-card__specs {
  grid-column: 2;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 8px 22px;
}
.flats-catalog.is-list .flat-card__aside {
  grid-column: 3;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
}
.flats-catalog.is-list .flat-card__views {
  margin-top: 2px;
  grid-column: 1 / -1;
}
.flats-catalog.is-list .flat-card__price { margin-top: 0; font-size: 18px; }
.flats-catalog.is-list .flat-card__tags { justify-content: flex-end; }
@media (max-width: 900px) {
  .flats-catalog.is-list .flat-card__body {
    grid-template-columns: 1fr;
  }
  .flats-catalog.is-list .flat-card__top,
  .flats-catalog.is-list .flat-card__specs,
  .flats-catalog.is-list .flat-card__aside {
    grid-column: 1;
    text-align: left;
  }
  .flats-catalog.is-list .flat-card__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flats-catalog.is-list .flat-card__tags { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .flats-catalog.is-list .flat-card__link { grid-template-columns: 112px 1fr; }
  .flats-catalog.is-list .flat-card__media {
    width: 112px;
    height: 84px;
  }
}
@media (max-width: 640px) {
  .flat-card__media { height: 180px; }
}

.flats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flats-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.flats-row:hover {
  border-color: rgba(2, 73, 149, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 43, 83, 0.08);
}
.flats-row__main {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.flats-row__preview {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.flats-row__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
  transition: transform 0.35s ease;
}
.flats-row:hover .flats-row__preview img {
  transform: scale(1.04);
}
.flats-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.flats-row__num {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.flats-row__rooms {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.flats-row__specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 8px 28px;
}
.flats-row__specs dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.flats-row__specs dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.flats-row__aside {
  text-align: right;
  min-width: 200px;
}
.flats-row__price {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--price);
}
.flats-row__mort {
  margin: 4px 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.flats-row__aside .badge {
  display: inline-flex;
}
@media (max-width: 900px) {
  .flats-row {
    grid-template-columns: 1fr;
  }
  .flats-row__aside {
    text-align: left;
    min-width: 0;
    padding-top: 4px;
    border-top: 1px solid var(--line);
  }
  .flats-controls .flats-view { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .flats-row__main { grid-template-columns: 96px 1fr; gap: 12px; }
  .flats-row__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }
  .flats-row__num { font-size: 17px; }
}

.flats-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 16px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, #002b53 0%, #024995 100%);
}
.jk-promos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
}
.jk-promos__head .section-title {
  margin: 0;
}
.jk-promos__head .section-link {
  font-weight: 600;
}
.jk-promos .promos {
  margin: 0;
}
.jk-promos .promo {
  min-height: 240px;
  padding: 24px 22px 64px;
}
/* Чередование синих фонов в блоке акций ЖК / карточки квартиры */
.jk-promos .promo--navy { background: var(--blue-1); }
.jk-promos .promo--blue { background: var(--blue-2); }
.jk-promos .promo--sky  { background: var(--sky); }
@media (max-width: 900px) {
  .jk-promos .promos {
    grid-template-columns: 1fr;
  }
}
.flats-banner__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.flats-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
}
.flats-banner p { margin: 0; font-size: 14px; opacity: 0.9; max-width: 36rem; }
@media (max-width: 700px) {
  .flats-banner { grid-template-columns: 1fr; }
}

.flats-empty {
  padding: 36px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.flats-empty p { margin: 0 0 14px; color: var(--muted); }
.flats-empty .btn { margin: 0 4px; }

/* Пустая шахматка: тот же блок jk-lead, что на /waiting-list/ */
.chess-page__waitlist {
  padding-top: 0;
  padding-bottom: 0;
}

.flats-more {
  display: flex;
  justify-content: center;
  margin: 22px 0 8px;
}

/* —— Apartment list (legacy) —— */
.apt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apt-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.apt-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .apt-row {
    grid-template-columns: 88px 1fr;
  }
  .apt-row__actions {
    grid-column: 1 / -1;
  }
}
.apt-row__plan {
  aspect-ratio: var(--plan-ratio);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 8px;
  display: grid;
  place-items: center;
}
.apt-row__plan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.apt-row__title {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
}
.apt-row__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.apt-row__price {
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  color: var(--price);
  margin-top: 6px;
}
.apt-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* вЂ”вЂ” Promo / news cards вЂ”вЂ” */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
.content-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.content-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.content-card:hover .content-card__media img { transform: scale(1.04); }
.content-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.content-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.content-card__title {
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.content-card__text {
  font-size: 14px;
  color: var(--muted);
}
.content-card__link {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 700;
  color: var(--sky);
  font-size: 14px;
}

/* вЂ”вЂ” Stats вЂ”вЂ” */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--sky);
  line-height: 1.1;
}
.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* вЂ”вЂ” Accordion вЂ”вЂ” */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-left: 10px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 60%, var(--sky));
  background:
    color-mix(in srgb, var(--sky) 6%, var(--white));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23024995' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: transform 220ms var(--ease, ease), background-color 220ms;
}
.acc-item[open] summary::after {
  transform: rotate(180deg);
  background-color: color-mix(in srgb, var(--sky) 14%, var(--white));
}
.acc-item__body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 15px;
}

/* —— Buy flow scheme (Этапы покупки) —— */
.buy-flow-section {
  padding-top: 40px;
  padding-bottom: 48px;
}
.buy-flow {
  --buy-flow-node: 52px;
  position: relative;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
}
.buy-flow::before {
  content: "";
  position: absolute;
  top: calc(var(--buy-flow-node) / 2);
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--sky) 20%, var(--line)),
    color-mix(in srgb, var(--light-blue-1) 28%, var(--line))
  );
  transform: scaleX(0.08);
  transform-origin: left center;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.buy-flow.is-active::before {
  transform: scaleX(1);
}
.buy-flow__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.buy-flow__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.buy-flow__node {
  position: relative;
  width: var(--buy-flow-node);
  height: var(--buy-flow-node);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sky) 0%, var(--blue-2) 55%, var(--blue-1) 100%);
  color: var(--white);
  box-shadow:
    0 10px 24px rgba(25, 77, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: scale(0.72);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 80ms);
}
.buy-flow__step.is-visible .buy-flow__node {
  transform: scale(1);
}
.buy-flow__node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(25, 77, 255, 0.22);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--i, 0) * 90ms + 180ms);
  pointer-events: none;
}
.buy-flow__step.is-visible .buy-flow__node::after {
  opacity: 1;
  transform: scale(1);
}
.buy-flow__step:nth-child(even) .buy-flow__node {
  background: linear-gradient(145deg, var(--light-blue-2) 0%, var(--light-blue-1) 55%, var(--blue-2) 100%);
  color: var(--white);
  box-shadow:
    0 10px 24px rgba(57, 115, 185, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.buy-flow__step:nth-child(even) .buy-flow__node::after {
  border-color: rgba(57, 115, 185, 0.35);
}
.buy-flow__num {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.buy-flow__card {
  width: 100%;
  min-height: 132px;
  padding: 16px 14px 18px;
  border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--sky) 16%, var(--line));
  background:
    linear-gradient(180deg, rgba(25, 77, 255, 0.05) 0%, transparent 48%),
    var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.buy-flow__step:hover .buy-flow__card {
  border-color: color-mix(in srgb, var(--sky) 40%, var(--line));
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 43, 83, 0.1);
}
.buy-flow__card h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.buy-flow__card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.buy-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--buy-flow-node) / 2 - 5px);
  right: -10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid color-mix(in srgb, var(--sky) 55%, transparent);
  border-right: 2px solid color-mix(in srgb, var(--sky) 55%, transparent);
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 420ms);
  z-index: 2;
}
.buy-flow.is-active .buy-flow__step:not(:last-child)::after {
  transform: rotate(45deg) scale(1);
}

@media (max-width: 1100px) {
  .buy-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .buy-flow::before {
    display: none;
  }
  .buy-flow__step:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 720px) {
  .buy-flow {
    --buy-flow-node: 46px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
  }
  .buy-flow::before {
    display: block;
    top: 12px;
    bottom: 12px;
    left: calc(8px + var(--buy-flow-node) / 2);
    right: auto;
    width: 3px;
    height: auto;
    transform: scaleY(0.08);
    transform-origin: top center;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--sky) 30%, var(--line)),
      color-mix(in srgb, var(--light-blue-1) 30%, var(--line))
    );
  }
  .buy-flow.is-active::before {
    transform: scaleY(1);
  }
  .buy-flow__step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    padding: 0 0 22px;
  }
  .buy-flow__step:last-child {
    padding-bottom: 0;
  }
  .buy-flow__card {
    min-height: 0;
  }
  .buy-flow__step:hover .buy-flow__card {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .buy-flow::before,
  .buy-flow__step,
  .buy-flow__node,
  .buy-flow__node::after,
  .buy-flow__step:not(:last-child)::after,
  .buy-flow__card {
    transition: none !important;
  }
  .buy-flow::before {
    transform: scaleX(1);
  }
  .buy-flow__step {
    opacity: 1;
    transform: none;
  }
  .buy-flow__node {
    transform: none;
  }
  .buy-flow__node::after {
    opacity: 1;
    transform: none;
  }
  .buy-flow__step:not(:last-child)::after {
    transform: rotate(45deg);
  }
  @media (max-width: 720px) {
    .buy-flow::before {
      transform: scaleY(1);
    }
  }
}

/* —— Steps (legacy / other pages) —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.step__num {
  font-family: var(--font);
  font-weight: 600;
  color: var(--sky);
  font-size: 13px;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step p { font-size: 14px; color: var(--muted); }

/* вЂ”вЂ” Office cards вЂ”вЂ” */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .office-grid { grid-template-columns: 1fr; }
}
.office-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}
.office-card h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 4px;
}
.office-card p,
.office-card a {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin: 0;
  line-height: 1.45;
}
.office-card__phone,
.office-card__mail {
  color: var(--navy);
  font-weight: 600;
}
.office-card__hours {
  margin-top: 4px;
  font-size: 13px;
}
.office-card__link {
  margin-top: auto;
  padding-top: 10px;
  color: var(--blue);
  font-weight: 600;
}
.office-card a:hover { color: var(--sky); }

/* вЂ”вЂ” Pagination вЂ”вЂ” */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.pagination .is-current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* вЂ”вЂ” Calc вЂ”вЂ” */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 800px) {
  .calc-grid { grid-template-columns: 1fr; }
}
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.calc-card h3 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.calc-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg);
  border-radius: 14px;
}
.calc-result strong {
  display: block;
  font-family: var(--font);
  font-size: 28px;
  font-weight: 600;
  color: var(--sky);
}
.calc-result span {
  font-size: 13px;
  color: var(--muted);
}

/* —— Payment methods (Ипотека / способы оплаты) —— */
.pay-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.pay-tabs__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pay-tabs__btn:hover { border-color: var(--blue); }
.pay-tabs__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.pay-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 8px 0 8px;
}
.pay-panel[hidden] { display: none !important; }
.pay-panel__copy h2 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
}
.pay-panel__copy p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}
.pay-panel__points,
.pay-panel__steps {
  margin: 0 0 16px;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.pay-panel__badge {
  display: inline-block;
  margin: 0 0 12px !important;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--light-blue-2, #d9e8f5) 55%, #fff);
  border: 1px solid rgba(0, 43, 83, 0.1);
  color: var(--navy) !important;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.2 !important;
}
.pay-panel__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #e8eef4;
  box-shadow: var(--shadow-sm);
}
.pay-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pay-rates {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(2, 73, 149, 0.12), transparent 55%),
    linear-gradient(165deg, #f4f8fb 0%, #e8f0f6 48%, #dce7f0 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 43, 83, 0.06);
}
.pay-rates__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pay-rates__title {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.pay-rates__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pay-rates__table th,
.pay-rates__table td {
  padding: 9px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 43, 83, 0.08);
}
.pay-rates__table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pay-rates__table td {
  color: var(--navy);
  font-weight: 500;
}
.pay-rates__table tr.is-accent td {
  background: rgba(0, 43, 83, 0.06);
  font-weight: 700;
}
.pay-rates__table tr.is-accent td:nth-child(2) {
  color: var(--blue, #024995);
}
.pay-rates__note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.pay-visual__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 43, 83, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}
.pay-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 20px;
}
.pay-stats div {
  padding: 14px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.pay-stats strong {
  display: block;
  font-size: 18px;
  color: var(--navy);
}
.pay-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.mortgage-calc {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.mortgage-calc__result {
  margin-top: 18px;
}
.mortgage-offers {
  margin-top: 28px;
  border: 1px solid color-mix(in srgb, var(--sky) 22%, var(--line));
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(25, 77, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(57, 115, 185, 0.12), transparent 50%),
    var(--white);
  box-shadow: var(--shadow-sm);
}
.mortgage-offers__head,
.mortgage-offers__row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) 0.75fr 0.85fr 0.95fr;
  gap: 12px 16px;
  padding: 16px 20px;
  font-size: 14px;
  align-items: center;
}
.mortgage-offers__head {
  background: var(--navy);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.mortgage-offers__row {
  border-top: 1px solid color-mix(in srgb, var(--sky) 12%, var(--line));
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mortgage-offers__row:nth-child(even) {
  background: rgba(244, 247, 255, 0.85);
}
.mortgage-offers__row:hover {
  background: rgba(25, 77, 255, 0.08);
}
.mortgage-offers__row > span:first-child {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.mortgage-offers__rate,
.mortgage-offers__row > span:nth-child(2) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sky) 16%, var(--white)), color-mix(in srgb, var(--sky) 10%, var(--white)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky) 18%, transparent);
}
.mortgage-offers__term,
.mortgage-offers__row > span:nth-child(3) {
  font-weight: 600;
  color: var(--muted);
}
.mortgage-offers__pay,
.mortgage-offers__row > span:nth-child(4) {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.mortgage-offers__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.mortgage-offers__cta {
  margin-top: 18px;
}
.pay-consult {
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pay-panel { grid-template-columns: 1fr; }
  .pay-panel__media { order: -1; max-height: 280px; }
  .pay-panel__media.pay-rates { max-height: none; }
  .pay-stats { grid-template-columns: 1fr; }
  .mortgage-offers__head,
  .mortgage-offers__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 16px;
  }
  .mortgage-offers__head span:not(:first-child) { display: none; }
  .mortgage-offers__row > span:nth-child(2),
  .mortgage-offers__row > span:nth-child(3),
  .mortgage-offers__row > span:nth-child(4) {
    justify-self: start;
  }
}

/* вЂ”вЂ” Team вЂ”вЂ” */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.team-card img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  background: var(--bg);
}
.team-card__body { padding: 14px; }
.team-card__body strong {
  display: block;
  font-family: var(--font);
  color: var(--navy);
}
.team-card__body span {
  font-size: 13px;
  color: var(--muted);
}

/* вЂ”вЂ” Thanks / 404 вЂ”вЂ” */
.center-block {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}
.center-block h1 {
  font-family: var(--font);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: var(--navy);
}
.center-block p {
  margin: 12px auto 24px;
  color: var(--muted);
  max-width: 28rem;
}
.center-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.center-block--404 {
  gap: 0;
}
.center-block__brand {
  margin: 0 0 4px !important;
  font-family: var(--font);
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  max-width: none !important;
}
.center-block__code {
  margin: 0 0 8px !important;
  font-family: var(--font);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--sky);
  max-width: none !important;
}
.center-block--404 h1 {
  font-size: clamp(24px, 4vw, 36px);
  margin: 0;
}
.center-block--404 > p {
  margin: 14px auto 28px;
}
.center-block__help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin-top: 28px;
  font-size: 15px;
}
.center-block__help a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.center-block__help a:hover {
  color: var(--sky);
}

/* вЂ”вЂ” Header more menu density вЂ”вЂ” */
.header__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-size: 18px;
}
.header__filter:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.page-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-split { grid-template-columns: 1fr; }
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
}
.logo-strip img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.2s, opacity 0.2s, transform 0.2s;
}
.logo-strip img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.bank-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.bank-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 128px;
  padding: 16px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.bank-grid__item:hover {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  box-shadow: 0 10px 24px rgba(2, 73, 149, 0.08);
  transform: translateY(-2px);
}
.bank-grid__item img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.bank-grid__item span {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
/* Плитка-ссылка: сам .bank-grid__item становится <a>, а ячейкой сетки
   остаётся <li>, иначе колоночная раскладка карточки ломается. */
.bank-grid__cell {
  display: flex;
}
.bank-grid__cell .bank-grid__item {
  flex: 1;
  text-decoration: none;
}
.bank-grid__note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52rem;
}
@media (max-width: 1100px) {
  .bank-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .logo-strip {
    gap: 20px 28px;
  }
  .logo-strip img {
    width: 56px;
    height: 56px;
    max-width: 56px;
  }
  .bank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-grid__item {
    min-height: 112px;
    padding: 14px 10px;
  }
  .bank-grid__item img {
    width: 52px;
    height: 52px;
  }
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sitemap-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list li:hover { background: color-mix(in srgb, var(--sky) 5%, var(--white)); }
.sitemap-list__num {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sky);
  padding-top: 2px;
}
.sitemap-list a {
  display: block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.sitemap-list a:hover { color: var(--blue); }
.sitemap-list a[aria-current="page"] { color: var(--sky); }
.sitemap-list code {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}
.sitemap-list__note {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.sitemap-list--extra .sitemap-list__num {
  color: var(--muted);
}

.camera-block {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2) 55%, var(--light-blue-1));
  min-height: 280px;
  color: var(--white);
}
.camera-block__placeholder {
  min-height: 280px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
}
.camera-block__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.camera-block__placeholder p {
  margin: 0;
  opacity: 0.9;
  font-weight: 600;
}

.article-hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
  margin: 16px 0 24px;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— История: ВМУ-2 — 3 фото + фирменный фон —— */
.about-history-hero {
  position: relative;
  aspect-ratio: auto;
  min-height: 420px;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(120deg, rgba(2, 73, 149, 0.12) 0%, rgba(0, 43, 83, 0.04) 60%, rgba(2, 73, 149, 0.12) 100%);
  margin: 16px 0 24px;
}

.about-history-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 10% 20%, rgba(2, 73, 149, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(0, 43, 83, 0.18), transparent 55%);
  z-index: 0;
}

.about-history-hero__grid {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 18px;
}
.about-history-hero__featured {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(180px, 24vw, 260px);
  object-fit: cover;
  object-position: center 35%;
  border-radius: calc(var(--r) - 6px);
  display: block;
}
.about-history-hero__grid img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  border-radius: calc(var(--r) - 6px);
  display: block;
}

@media (max-width: 900px) {
  .about-history-hero {
    min-height: 0;
  }
  .about-history-hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    padding: 14px;
  }
  .about-history-hero__featured {
    height: clamp(180px, 52vw, 240px);
  }
}
@media (max-width: 700px) {
  .article-hero { aspect-ratio: 16 / 9; }
}

/* —— Promotions catalog + detail (TZ 6.6 / 6.7) —— */
.promo-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 20px 0 28px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.promo-filters__field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.promo-filters__field select {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--white);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  appearance: none;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
@media (max-width: 800px) {
  .promo-filters { grid-template-columns: 1fr; }
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1000px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .promo-grid { grid-template-columns: 1fr; }
}

.promo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.promo-card.is-hidden { display: none !important; }
.promo-card--archive {
  opacity: 0.88;
}
.promo-card--archive:hover { transform: none; box-shadow: none; }
.promo-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eef4;
}
.promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.promo-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}
.promo-card__meta {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.promo-card__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.promo-card__title a { color: inherit; }
.promo-card__text {
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  max-width: 42ch;
}
.promo-card__cta {
  margin-top: auto;
  padding-top: 8px;
}
.promo-card__cta .btn {
  min-height: 44px;
  padding: 0 20px;
}

.promo-empty {
  display: none;
  margin: 12px 0 36px;
  padding: 48px 28px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}
.promo-empty.is-visible { display: block; }
.promo-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(2, 73, 149, 0.08);
  color: var(--blue);
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
}
.promo-empty p {
  margin: 0 auto;
  max-width: 36ch;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  color: var(--navy);
}

.promo-archive {
  display: none;
}
.promo-archive__head {
  margin-bottom: 20px;
}
.promo-archive__head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.promo-archive__head p {
  margin: 8px 0 0;
  font-family: var(--body);
  font-size: 15px;
  color: var(--muted);
}

/* Detail hero */
.promo-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  margin: 16px 0 36px;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  background: var(--navy);
}
.promo-hero__media {
  position: relative;
  min-height: 420px;
}
.promo-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: 36px 32px;
  background:
    linear-gradient(160deg, #024995 0%, #002b53 100%);
  color: #fff;
}
.promo-hero__eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.promo-hero__copy h1 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.promo-hero__term {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  opacity: 0.92;
}
.promo-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.promo-timer__cell {
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}
.promo-timer__val {
  display: block;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1;
}
.promo-timer__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}
@media (max-width: 900px) {
  .promo-hero { grid-template-columns: 1fr; min-height: 0; }
  .promo-hero__media { min-height: 260px; aspect-ratio: 16 / 10; }
}

.promo-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 28px 0;
}
.promo-benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.promo-benefit__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(2, 73, 149, 0.08);
  color: var(--navy);
}
.promo-benefit__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.promo-benefit h3 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.promo-benefit p {
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
@media (max-width: 800px) {
  .promo-benefits { grid-template-columns: 1fr; }
}

.promo-steps {
  counter-reset: promo-step;
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.promo-steps li {
  position: relative;
  padding: 18px 18px 18px 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.promo-steps li::before {
  counter-increment: promo-step;
  content: counter(promo-step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}
.promo-steps h3 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}
.promo-steps p {
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  color: var(--muted);
  max-width: 60ch;
}

.promo-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .promo-layout { grid-template-columns: 1fr; }
}
.promo-side {
  display: grid;
  gap: 20px;
}
/* Promo page: flats in this offer */
.promo-flats {
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.promo-flats__head {
  margin-bottom: 4px;
}
.promo-flats .apt-carousel__media .badge--sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.promo-contacts {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.promo-contacts h2 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.promo-contacts dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.promo-contacts dt {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.promo-contacts dd {
  margin: 4px 0 0;
  font-family: var(--body);
  font-size: 15px;
  color: var(--navy);
}
.promo-contacts a { color: var(--navy); }
.promo-contacts a:hover { color: var(--blue); }

.promo-related {
  margin-top: 56px;
}
.promo-related__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}
.promo-related__head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.promo-related__head a {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* —— JK catalog (layout 6.2) —— */
.jk-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 28px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.jk-filters__field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-filters__field select {
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-soft);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}
.jk-filters__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.jk-filters__actions .btn {
  min-height: 44px;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .jk-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jk-filters__actions { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .jk-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .jk-filters { grid-template-columns: 1fr; }
  .jk-filters__actions { flex-direction: column; align-items: stretch; }
}
.jk-card__price {
  margin: 12px 0 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}
.jk-card__price--accent {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28em 0.35em;
  margin-top: 14px;
  color: var(--navy);
}
.jk-card__price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-card__price-value {
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--sky);
}
.jk-card__price-unit {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.jk-card__price--muted {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.jk-card--archive .jk-card__price { display: none; }
.jk-archive {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.jk-archive__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
}
.jk-archive__head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.jk-archive__head p {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

/* —— Podbor results (layout 05) —— */
.podbor-summary {
  margin: 8px 0 4px;
}
.podbor-summary .chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 36rem);
  overflow: visible;
  padding-bottom: 0;
}
.podbor-summary .chip {
  width: 100%;
  min-width: 0;
  cursor: default;
  pointer-events: none;
}
.podbor-summary__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 520px) {
  .podbor-summary .chips {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
.podbor-count {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* —— JK detail hero (layout 6.3) —— */
.jk-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 12px 0 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: min(68vh, 620px);
  background: var(--navy);
  box-shadow: var(--shadow);
}
.jk-hero__media {
  position: absolute;
  inset: 0;
  min-height: 100%;
}
.jk-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease, ease);
}
.jk-hero:hover .jk-hero__media img {
  transform: scale(1.07);
}
.jk-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(0, 43, 83, 0.92) 0%, rgba(0, 43, 83, 0.55) 48%, rgba(2, 73, 149, 0.4) 100%),
    linear-gradient(0deg, rgba(0, 20, 40, 0.45), transparent 42%);
}
.jk-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28) 0 1.5px, transparent 2px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
    repeating-linear-gradient(
      -18deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.06) 18px 19px
    );
  background-size: 48px 48px, 36px 36px, auto;
}
.jk-hero__mark {
  position: absolute;
  right: clamp(8px, 3vw, 28px);
  bottom: -0.12em;
  z-index: 2;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
}
.jk-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4vw, 52px);
  min-height: min(68vh, 620px);
  max-width: min(42rem, 92%);
  color: #fff;
  background: transparent;
}
.jk-hero__logo {
  display: block;
  width: auto;
  max-width: min(300px, 78%);
  height: auto;
  max-height: 68px;
  margin: 0 0 4px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}
.jk-hero__brand {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}
.jk-hero__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.jk-hero__copy h1 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  max-width: 15em;
  text-wrap: balance;
}
.jk-hero__meta {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 34rem;
}
.jk-hero__addr {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.jk-hero__price {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff;
}
.jk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.jk-hero__actions .btn--white {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.jk-hero__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.jk-hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Боровое — без паттерна, лёгкое затемнение слева для текста */
.jk-hero--borovoe .jk-hero__shade {
  background:
    linear-gradient(105deg, rgba(16, 18, 40, 0.78) 0%, rgba(28, 29, 61, 0.42) 38%, rgba(16, 18, 40, 0.12) 68%, transparent 100%),
    linear-gradient(0deg, rgba(16, 18, 40, 0.35), transparent 45%);
}
.jk-hero--borovoe .jk-hero__pattern {
  display: none;
}
.jk-hero--borovoe .jk-hero__eyebrow {
  color: #d8f0a8;
  border-color: rgba(163, 204, 0, 0.45);
  background: rgba(28, 29, 61, 0.4);
}
.jk-hero--borovoe .jk-hero__meta {
  border-top-color: rgba(163, 204, 0, 0.28);
}
.jk-hero--borovoe .jk-hero__price {
  color: #e8f5b8;
}
.jk-hero--borovoe .jk-hero__actions .btn--white {
  color: #1c1d3d;
}
.jk-hero--borovoe .jk-hero__actions .btn--chess {
  color: #14200a;
  background: linear-gradient(135deg, #d4ec7a 0%, #8db000 52%, #6f9200 100%);
  box-shadow:
    0 12px 28px rgba(109, 144, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.jk-hero--borovoe .jk-hero__actions .btn--chess:hover {
  background: linear-gradient(135deg, #e2f49a 0%, #a3cc00 48%, #8db000 100%);
  color: #0f1808;
  box-shadow:
    0 16px 36px rgba(109, 144, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.jk-hero--borovoe .jk-hero__mark {
  color: rgba(163, 204, 0, 0.16);
}

.jk-pick-bar--borovoe {
  border-color: color-mix(in srgb, #8db000 28%, var(--line));
  background:
    url("/local/templates/vmu/assets/css/../images/jk-borovoe/pattern/tile-light.svg") right center / 280px auto no-repeat,
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(141, 176, 0, 0.12), transparent 55%),
    linear-gradient(135deg, #f7faf2 0%, #fff 52%, #f3f7e8 100%);
}

.jk-lead--borovoe .jk-lead__visual-shade {
  background:
    linear-gradient(160deg, rgba(28, 29, 61, 0.9) 8%, rgba(57, 50, 118, 0.45) 48%, rgba(76, 128, 3, 0.5) 100%),
    linear-gradient(0deg, rgba(16, 18, 40, 0.5), transparent 42%);
}
.jk-contacts--borovoe .jk-contacts__invite-shade {
  background:
    linear-gradient(180deg, rgba(16, 18, 40, 0.42) 0%, rgba(28, 29, 61, 0.78) 45%, rgba(12, 14, 32, 0.95) 100%),
    linear-gradient(125deg, rgba(28, 29, 61, 0.88) 0%, rgba(57, 50, 118, 0.35) 55%, rgba(40, 70, 8, 0.45) 100%);
}
.jk-contacts--borovoe .jk-contacts__invite-visual > img {
  object-position: center 40%;
  filter: brightness(0.82) saturate(0.92);
}
.jk-contacts--borovoe .jk-contacts__invite-brand,
.jk-contacts--borovoe .jk-contacts__invite-hero h2,
.jk-contacts--borovoe .jk-contacts__invite-text,
.jk-contacts--borovoe .jk-contacts__invite-phone {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.jk-contacts--borovoe .jk-contacts__invite-phone {
  color: #fff;
}
.jk-contacts--borovoe .jk-contacts__invite-actions .btn--white {
  color: #1c1d3d;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.jk-contacts--borovoe .jk-contacts__invite-actions .btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(16, 18, 40, 0.42);
  backdrop-filter: blur(6px);
}
.jk-contacts--borovoe .jk-contacts__invite-actions .btn--outline-light:hover {
  background: rgba(16, 18, 40, 0.62);
  border-color: #fff;
  color: #fff;
}
.jk-contacts--borovoe .jk-contacts__invite-body {
  background:
    url("/local/templates/vmu/assets/css/../images/jk-borovoe/pattern/tile-light.svg") right -40px bottom -60px / 260px auto no-repeat,
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(141, 176, 0, 0.1), transparent 55%),
    linear-gradient(180deg, #f7faf2 0%, #ffffff 48%, #f1f6e6 100%);
}

/* Лето — затемнение слева для текста, без жёлтого фильтра на рендере */
.jk-hero--leto .jk-hero__shade {
  background:
    linear-gradient(105deg, rgba(12, 16, 28, 0.82) 0%, rgba(12, 16, 28, 0.45) 40%, rgba(12, 16, 28, 0.12) 68%, transparent 100%),
    linear-gradient(0deg, rgba(12, 16, 28, 0.32), transparent 48%);
}
.jk-hero--leto .jk-hero__pattern {
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image: url("/local/templates/vmu/assets/css/../images/jk-leto/pattern/rings-dark.svg");
  background-size: 420px 420px;
  background-repeat: no-repeat;
  background-position: right -40px bottom -60px;
}
.jk-hero--leto .jk-hero__eyebrow {
  color: #ffe3a8;
  border-color: rgba(255, 219, 89, 0.45);
  background: rgba(80, 36, 0, 0.35);
}
.jk-hero--leto .jk-hero__meta {
  border-top-color: rgba(255, 219, 89, 0.3);
  max-width: 42rem;
  gap: 14px;
}
.jk-hero--leto .jk-hero__price {
  color: #ffd789;
}
.jk-hero--leto .jk-hero__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 40rem;
}
.jk-hero--leto .jk-hero__perks li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 2px 14px 2px 0;
  min-width: 0;
  animation: jkHeroPerkIn 0.55s ease both;
}
.jk-hero--leto .jk-hero__perks li:nth-child(2) { animation-delay: 0.06s; }
.jk-hero--leto .jk-hero__perks li:nth-child(3) { animation-delay: 0.12s; }
.jk-hero--leto .jk-hero__perks li:nth-child(4) { animation-delay: 0.18s; }
.jk-hero--leto .jk-hero__perks li + li {
  padding-left: 14px;
}
.jk-hero--leto .jk-hero__perks li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 137, 0.55), transparent);
}
.jk-hero--leto .jk-hero__perks strong {
  font-family: var(--font);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #ffd789;
  text-wrap: balance;
}
.jk-hero--leto .jk-hero__perks span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
@keyframes jkHeroPerkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 720px) {
  .jk-hero--leto .jk-hero__perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 0;
  }
  .jk-hero--leto .jk-hero__perks li:nth-child(3) {
    padding-left: 0;
  }
  .jk-hero--leto .jk-hero__perks li:nth-child(3)::before {
    display: none;
  }
  .jk-hero--leto .jk-hero__perks li:nth-child(odd) {
    padding-right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jk-hero--leto .jk-hero__perks li {
    animation: none;
  }
}
.jk-hero--leto .jk-hero__actions .btn--white {
  color: #8a4f00;
}
.jk-hero--leto .jk-hero__mark {
  color: rgba(255, 215, 137, 0.16);
}
.jk-hero--leto .jk-hero__actions .btn--chess {
  color: #3b2400;
  background: linear-gradient(135deg, #ffd789 0%, #f39513 55%, #ff7103 100%);
  box-shadow:
    0 12px 28px rgba(255, 113, 3, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.jk-hero--leto .jk-hero__actions .btn--chess:hover {
  background: linear-gradient(135deg, #ffe2a8 0%, #fbb10b 50%, #f39513 100%);
  color: #2a1800;
}
.jk-hero--leto .jk-hero__video {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 3.5vw, 40px);
  bottom: clamp(22px, 4vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  appearance: none;
  font-family: var(--font);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 20, 40, 0.45);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.jk-hero--leto .jk-hero__video:hover {
  color: #ffd08a;
  transform: translateX(2px);
}
.jk-hero--leto .jk-hero__video:focus-visible {
  outline: 2px solid #fbb10b;
  outline-offset: 4px;
}
.jk-hero__video-arrow {
  display: inline-block;
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.2s ease;
}
.jk-hero--leto .jk-hero__video:hover .jk-hero__video-arrow {
  transform: translateX(3px);
}

.jk-pick-bar--leto {
  border-color: color-mix(in srgb, #f39513 30%, var(--line));
  background:
    url("/local/templates/vmu/assets/css/../images/jk-leto/pattern/shape-orange.svg") right -80px center / 220px auto no-repeat,
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(255, 113, 3, 0.1), transparent 55%),
    linear-gradient(135deg, #fff8ec 0%, #fff 52%, #fff3df 100%);
}

.jk-lead--leto .jk-lead__visual-shade {
  background:
    linear-gradient(160deg, rgba(28, 30, 34, 0.82) 6%, rgba(48, 52, 58, 0.58) 46%, rgba(72, 76, 82, 0.48) 100%),
    linear-gradient(0deg, rgba(20, 22, 26, 0.7) 0%, rgba(20, 22, 26, 0.28) 52%, transparent 100%);
}
.jk-contacts--leto .jk-contacts__invite-shade {
  background:
    linear-gradient(145deg, rgba(20, 12, 0, 0.9) 0%, rgba(80, 36, 0, 0.48) 45%, rgba(243, 149, 19, 0.55) 100%),
    linear-gradient(0deg, rgba(20, 10, 0, 0.45), transparent 50%);
}
.jk-contacts--leto .jk-contacts__invite-body {
  background:
    url("/local/templates/vmu/assets/css/../images/jk-leto/pattern/shape-orange.svg") right -60px bottom -80px / 240px auto no-repeat,
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(255, 113, 3, 0.1), transparent 55%),
    linear-gradient(180deg, #fff8ec 0%, #ffffff 48%, #fff3df 100%);
}

@media (max-width: 900px) {
  .jk-hero,
  .jk-hero__copy {
    min-height: 0;
  }
  .jk-hero__copy {
    min-height: 440px;
    max-width: none;
    padding: 28px 22px 30px;
    gap: 12px;
  }
  .jk-hero__media {
    min-height: 100%;
  }
  .jk-hero__logo {
    max-height: 56px;
  }
  .jk-hero__mark {
    font-size: clamp(64px, 22vw, 110px);
    opacity: 0.9;
  }
  .jk-hero--leto .jk-hero__copy {
    padding-bottom: 64px;
  }
  .jk-hero--leto .jk-hero__video {
    right: 22px;
    bottom: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jk-hero__media img,
  .jk-hero:hover .jk-hero__media img {
    transform: none;
    transition: none;
  }
}

.jk-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 40px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.jk-stats--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jk-stats__item {
  position: relative;
  padding: 20px 18px 18px;
  background:
    linear-gradient(180deg, rgba(25, 77, 255, 0.05) 0%, transparent 46%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.jk-stats__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
}
.jk-stats__item:hover {
  border-color: color-mix(in srgb, var(--sky) 35%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.jk-stats__item span {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-stats__item strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
@media (max-width: 760px) {
  .jk-stats,
  .jk-stats--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.page--jk .page-section {
  padding: 36px 0;
}
.page--jk .page-section + .page-section {
  border-top: 1px solid transparent;
}
.page--jk .section-title {
  position: relative;
  padding-bottom: 10px;
}
.page--jk .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), rgba(25, 77, 255, 0.15));
}
.page--jk .jk-split {
  gap: 28px 36px;
  align-items: center;
  padding: 8px 0 4px;
}
.page--jk .jk-split > img,
.page--jk .jk-about-gallery__main {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.jk-about-marquee {
  margin-top: 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.jk-about-marquee__track {
  display: flex;
  width: max-content;
  animation: jkAboutMarquee 42s linear infinite;
  will-change: transform;
}
.jk-about-marquee:hover .jk-about-marquee__track,
.jk-about-marquee:focus-within .jk-about-marquee__track {
  animation-play-state: paused;
}
.jk-about-marquee__group {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}
.jk-about-marquee__item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
  width: 148px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: #e8eef4;
  box-shadow: 0 6px 18px rgba(0, 43, 83, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.jk-about-marquee__item:hover,
.jk-about-marquee__item:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 43, 83, 0.14);
  outline: 2px solid color-mix(in srgb, #f39513 55%, transparent);
  outline-offset: 2px;
}
.jk-about-marquee__item img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}
@keyframes jkAboutMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .jk-about-marquee__item {
    width: 128px;
  }
  .jk-about-marquee__item img {
    height: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jk-about-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .jk-about-marquee__track {
    animation: none;
  }
}

.jk-pick-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin: 28px 0 0;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--sky) 22%, var(--line));
  background:
    radial-gradient(ellipse 80% 120% at 0% 50%, rgba(25, 77, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 120% at 100% 50%, rgba(57, 115, 185, 0.14), transparent 50%),
    linear-gradient(135deg, color-mix(in srgb, var(--sky) 6%, var(--white)) 0%, var(--white) 48%, color-mix(in srgb, var(--light-blue-2) 10%, var(--white)) 100%);
  box-shadow: var(--shadow-sm);
}
.jk-pick-bar__copy {
  display: grid;
  gap: 4px;
  min-width: min(100%, 280px);
  max-width: 28rem;
}
.jk-pick-bar__copy strong {
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.jk-pick-bar__copy span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.jk-pick-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 720px) {
  .jk-pick-bar {
    padding: 18px;
  }
  .jk-pick-bar__actions {
    width: 100%;
  }
  .jk-pick-bar__actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
  }
}

.jk-hero__actions .btn--pick,
.jk-hero__actions .btn--chess {
  min-height: 50px;
}
.jk-hero--borovoe .jk-hero__actions .btn--pick {
  box-shadow:
    0 12px 28px rgba(0, 43, 83, 0.28),
    0 12px 28px rgba(25, 77, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.jk-hero--leto .jk-hero__actions .btn--chess {
  box-shadow:
    0 12px 28px rgba(2, 73, 149, 0.28),
    0 12px 28px rgba(57, 115, 185, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.plan-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}
.plan-types__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(2, 73, 149, 0.04) 0%, transparent 42%),
    var(--white);
  border-radius: var(--r);
  overflow: hidden;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  transition: outline-color 0.2s ease, transform 0.25s var(--ease, ease), box-shadow 0.25s ease;
}
.plan-types__item:hover,
.plan-types__item:focus-visible {
  outline-color: var(--sky);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 43, 83, 0.1);
}
.plan-types__item:focus-visible {
  outline-width: 2px;
}
.plan-types__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--plan-ratio);
  padding: var(--plan-pad);
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
}
.plan-types__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease, ease);
}
.plan-types__item:hover .plan-types__media img,
.plan-types__item:focus-visible .plan-types__media img {
  transform: scale(1.04);
}
.plan-types__meta {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
  text-align: left;
}
.plan-types__count {
  font-family: var(--font);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.plan-types__label {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text, #1a1a1a);
}
.plan-types__hint {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}
.plan-types__meta::after {
  content: "Смотреть →";
  margin-top: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.plan-types__item:hover .plan-types__meta::after,
.plan-types__item:focus-visible .plan-types__meta::after {
  opacity: 1;
  transform: translateX(3px);
}
.plan-types__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .plan-types__item,
  .plan-types__media img,
  .jk-stats__item {
    transition: none;
  }
  .plan-types__item:hover,
  .plan-types__item:focus-visible,
  .jk-stats__item:hover {
    transform: none;
  }
  .plan-types__item:hover .plan-types__media img,
  .plan-types__item:focus-visible .plan-types__media img {
    transform: none;
  }
}

.jk-utp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 20px 0 8px;
}
.jk-utp__item h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.jk-utp__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.jk-utp__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
}
@media (max-width: 800px) {
  .jk-utp { grid-template-columns: 1fr; }
}

.jk-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 28px;
  align-items: center;
}
.jk-split > img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 5 / 4;
  min-height: 360px;
  object-fit: cover;
}
.jk-about-gallery {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.jk-about-gallery__main {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: #e8eef4;
  box-shadow: var(--shadow-sm);
}
.jk-about-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}
.jk-about-gallery__main:hover img,
.jk-about-gallery__main:focus-visible img {
  transform: scale(1.03);
}
.jk-about-gallery__main:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sky) 55%, transparent);
  outline-offset: 3px;
}
.jk-about-gallery__carousel {
  position: relative;
  min-width: 0;
}
.jk-about-gallery__carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}
.jk-about-gallery__carousel-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.jk-about-gallery__carousel-nav button:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.jk-about-gallery__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.jk-about-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.jk-about-gallery__thumb {
  appearance: none;
  border: 2px solid transparent;
  padding: 0;
  margin: 0;
  position: relative;
  flex: 0 0 clamp(88px, 22%, 120px);
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e8eef4;
  opacity: 0.72;
  scroll-snap-align: start;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.jk-about-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--sky);
}
.jk-about-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.3s ease;
}
.jk-about-gallery__thumb:hover img,
.jk-about-gallery__thumb:focus-visible img {
  transform: scale(1.04);
}
.jk-about-gallery__thumb:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sky) 55%, transparent);
  outline-offset: 2px;
}
.jk-about-gallery__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 43, 83, 0.52);
  color: #fff;
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.jk-about-gallery__rest {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .jk-split { grid-template-columns: 1fr; }
}

.genplan {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--blue-1);
}
.genplan img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}
.genplan__hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 13px;
}

.camera-box {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--blue-1);
  border: 1px solid var(--line);
}
.camera-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-1);
  isolation: isolate;
}
.camera-preview__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .7s ease, opacity .35s ease;
}
.camera-preview:hover .camera-preview__media {
  transform: scale(1.06);
}
.camera-preview__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 18, 38, .28) 0%, transparent 32%, transparent 48%, rgba(0, 18, 38, .78) 100%),
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 18, 38, .35) 100%);
  pointer-events: none;
  z-index: 1;
}
.camera-preview__hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  pointer-events: none;
}
.camera-preview__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.camera-preview__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 0 rgba(25, 77, 255, .55);
  animation: camera-pulse 1.8s ease-out infinite;
}
.camera-preview__hud strong {
  font-family: var(--font);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.camera-preview__hint {
  margin: 0;
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .86);
}
.camera-preview__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 20, 40, .35);
  transition: transform .25s ease, background .2s ease, box-shadow .25s ease;
}
.camera-preview__play:hover {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 16px 40px rgba(0, 20, 40, .42);
}
.camera-preview__play:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .75);
  outline-offset: 4px;
}
.camera-preview__play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.camera-preview.is-pending .camera-preview__play {
  pointer-events: none;
}
.camera-preview__toast {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  z-index: 4;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: var(--r);
  background: rgba(0, 22, 45, .88);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.camera-preview.is-toast .camera-preview__toast {
  opacity: 1;
}
@keyframes camera-pulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 77, 255, .55); }
  70% { box-shadow: 0 0 0 10px rgba(25, 77, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 77, 255, 0); }
}
.camera-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: var(--white);
}
.camera-switch[hidden] {
  display: none;
}
.camera-switch button.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Ссылка на полный раздел под лентой отчётов */
.timeline__more {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.timeline__more a {
  color: var(--blue);
}
.timeline__more a:hover {
  color: #f39513;
}

@media (max-width: 640px) {
  .camera-preview__play {
    width: 64px;
    height: 64px;
  }
  .camera-preview__play svg {
    width: 22px;
    height: 22px;
  }
  .camera-preview__hud {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .camera-preview__hint { display: none; }
}

.jk-contacts {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.jk-contacts h2 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.jk-contacts dl { margin: 0; display: grid; gap: 12px; }
.jk-contacts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-contacts dd { margin: 4px 0 0; color: var(--navy); font-size: 15px; }
.jk-contacts a:not(.btn):not(.jk-contacts__invite-phone) { color: var(--navy); }
.jk-contacts a:not(.btn):not(.jk-contacts__invite-phone):hover { color: var(--blue); }
.jk-contacts--media {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}
.jk-contacts__media {
  position: relative;
  min-height: 280px;
  background: var(--blue-1);
}
.jk-contacts__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jk-contacts__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 43, 83, 0.15) 0%, rgba(0, 43, 83, 0.72) 100%);
  pointer-events: none;
}
.jk-contacts__brand {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
}
.jk-contacts__brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
}
.jk-contacts__brand strong {
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}
.jk-contacts__body {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
}
.jk-contacts__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-contacts--media h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.jk-contacts__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34rem;
}
.jk-contacts__muted {
  font-size: 13px;
  color: var(--muted);
}
.jk-contacts__fact .jk-contacts__muted {
  display: block;
  margin-top: 4px;
  font-weight: 500;
}
.jk-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 860px) {
  .jk-contacts--media {
    grid-template-columns: 1fr;
  }
  .jk-contacts__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
}

/* —— Contacts invite (Leto) —— */
.jk-contacts--invite {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  border: none;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.jk-contacts__invite-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.jk-contacts__invite-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  transition: transform 1.1s var(--ease, ease);
}
.jk-contacts--invite:hover .jk-contacts__invite-visual > img {
  transform: scale(1.07);
}
.jk-contacts__invite-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(0, 43, 83, 0.88) 0%, rgba(0, 43, 83, 0.42) 45%, rgba(2, 73, 149, 0.62) 100%),
    linear-gradient(0deg, rgba(0, 16, 36, 0.55), transparent 50%);
  pointer-events: none;
}
.jk-contacts__invite-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 36px 32px 38px;
  color: var(--white);
}
.jk-contacts__invite-brand {
  margin: 0;
  animation: jkLeadIn 0.7s ease both;
}
.jk-contacts__invite-logo {
  display: block;
  width: auto;
  max-width: min(280px, 72%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.jk-contacts__invite-logo--light {
  max-height: 64px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}
.jk-contacts__invite-hero .jk-contacts__invite-logo--light[src*="logo-leto"] {
  max-height: 96px;
  max-width: min(220px, 58%);
}
.jk-contacts__invite-body > .jk-contacts__invite-logo {
  margin: 0 0 16px;
  max-width: 220px;
  max-height: 52px;
}
.jk-contacts__invite-body > .jk-contacts__invite-logo--leto {
  max-width: 160px;
  max-height: 78px;
}
.jk-contacts__invite-hero h2 {
  margin: 0;
  max-width: 14em;
  font-family: var(--font);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  text-transform: none;
  text-wrap: balance;
  animation: jkLeadIn 0.7s ease 0.06s both;
}
.jk-contacts__invite-text {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  animation: jkLeadIn 0.7s ease 0.12s both;
}
.jk-contacts .jk-contacts__invite-hero .jk-contacts__invite-phone {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  text-shadow:
    0 1px 2px rgba(0, 16, 36, 0.9),
    0 8px 28px rgba(0, 16, 36, 0.65);
  transition: color 0.2s, transform 0.2s;
  animation: jkLeadIn 0.7s ease 0.16s both;
}
.jk-contacts .jk-contacts__invite-hero .jk-contacts__invite-phone:hover {
  color: #fff;
  transform: translateY(-1px);
}
.jk-contacts__invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: jkLeadIn 0.7s ease 0.2s both;
}

/* Приёмная — офисный кадр + читаемый телефон и синяя кнопка */
.jk-contacts--priem .jk-contacts__invite-visual > img {
  object-position: center 62%;
}
.jk-contacts--priem .jk-contacts__invite-shade {
  background:
    linear-gradient(180deg, rgba(0, 43, 83, 0.55) 0%, rgba(0, 43, 83, 0.72) 42%, rgba(0, 26, 52, 0.92) 100%),
    linear-gradient(115deg, rgba(0, 43, 83, 0.78) 0%, rgba(2, 73, 149, 0.35) 55%, rgba(0, 43, 83, 0.55) 100%);
}
.jk-contacts--priem .jk-contacts__invite-brand,
.jk-contacts--priem .jk-contacts__invite-hero h2,
.jk-contacts--priem .jk-contacts__invite-text {
  text-shadow: 0 2px 18px rgba(0, 16, 36, 0.55);
}
.jk-contacts--priem .jk-contacts__invite-phone {
  color: var(--white);
  text-shadow:
    0 1px 2px rgba(0, 16, 36, 0.9),
    0 8px 28px rgba(0, 16, 36, 0.65);
}
.jk-contacts--priem .jk-contacts__invite-phone:hover {
  color: var(--light-blue-2);
}
.jk-contacts--priem .jk-contacts__invite-actions .btn--navy {
  background: var(--blue-2);
  color: var(--white);
  border: 1.5px solid transparent;
  box-shadow:
    0 10px 26px rgba(2, 73, 149, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.jk-contacts--priem .jk-contacts__invite-actions .btn--navy:hover {
  background: var(--sky);
  color: var(--white);
  box-shadow:
    0 14px 32px rgba(25, 77, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.jk-contacts--priem .jk-contacts__invite-actions .btn--outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
  backdrop-filter: blur(4px);
}

/* Контакты — фирменный паттерн окон ВМУ-2 */
.jk-contacts--brand .jk-contacts__invite-visual {
  background: var(--brand-windows-blue);
}
.jk-contacts--brand .jk-contacts__invite-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jk-contacts--brand .jk-contacts__invite-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-windows-scrim-band);
}
.jk-contacts--brand .jk-contacts__invite-shade {
  background:
    linear-gradient(160deg, rgba(0, 21, 38, 0.55) 0%, rgba(0, 43, 83, 0.22) 48%, rgba(2, 73, 149, 0.4) 100%),
    linear-gradient(0deg, rgba(0, 16, 36, 0.62), transparent 52%);
}
.jk-contacts--brand .jk-contacts__invite-logo--light {
  max-height: 68px;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}
.jk-contacts--brand .jk-contacts__invite-body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(2, 73, 149, 0.08), transparent 58%),
    linear-gradient(180deg, #f4f8fc 0%, #fff 48%, #eef4fa 100%);
}
.jk-contacts--brand .jk-contacts__invite-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-position: center, right -60px bottom -80px;
  background-size: auto, 320px auto;
  background-repeat: no-repeat, no-repeat;
}
.jk-contacts--brand .jk-contacts__invite-body > * {
  position: relative;
  z-index: 1;
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible,
.btn--outline-light:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}
.jk-contacts--invite .jk-contacts__invite-actions .btn--outline-light {
  background: rgba(255, 255, 255, 0.94);
  border-color: #fff;
  color: var(--navy);
  backdrop-filter: blur(6px);
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(0, 20, 40, 0.18);
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.jk-contacts--invite .jk-contacts__invite-actions .btn--outline-light:hover,
.jk-contacts--invite .jk-contacts__invite-actions .btn--outline-light:focus-visible,
.jk-contacts--invite .jk-contacts__invite-actions .btn--outline-light:active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.jk-contacts__invite-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 32px 32px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(2, 73, 149, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 48%, #eef4fa 100%);
}
.jk-contacts__invite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 18px;
}
.jk-contacts__fact {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--line) 80%, var(--sky));
  box-shadow: 0 6px 18px rgba(0, 43, 83, 0.04);
  transition: transform 0.2s var(--ease, ease), border-color 0.2s, box-shadow 0.2s;
}
.jk-contacts__fact:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sky) 45%, var(--line));
  box-shadow: 0 12px 28px rgba(0, 43, 83, 0.08);
}
.jk-contacts__fact dt {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.jk-contacts__fact dd {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.jk-contacts__map {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
  text-decoration: none;
}
.jk-contacts__map:hover {
  color: var(--blue);
  text-decoration: underline;
}
.jk-contacts__invite-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: var(--white);
}
.jk-contacts__invite-note strong {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
}
.jk-contacts__invite-note span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .jk-contacts--invite {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .jk-contacts__invite-visual {
    min-height: 380px;
  }
  .jk-contacts__invite-hero,
  .jk-contacts__invite-body {
    padding: 28px 22px 26px;
  }
}
@media (max-width: 640px) {
  .jk-contacts__invite-grid {
    grid-template-columns: 1fr;
  }
  .jk-contacts__invite-actions {
    flex-direction: column;
  }
  .jk-contacts__invite-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jk-contacts__invite-brand,
  .jk-contacts__invite-hero h2,
  .jk-contacts__invite-text,
  .jk-contacts__invite-phone,
  .jk-contacts__invite-actions {
    animation: none;
  }
  .jk-contacts__invite-visual > img,
  .jk-contacts--invite:hover .jk-contacts__invite-visual > img,
  .jk-contacts__fact:hover,
  .jk-contacts__invite-phone:hover {
    transform: none;
    transition: none;
  }
}

.related-jk {
  margin-top: 40px;
}
.related-jk__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.related-jk__head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.calc-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 14px;
}
.calc-tabs .btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 860px) {
  .calc-tabs { display: flex; }
  .calc-grid .calc-card[hidden] { display: none !important; }
}
@media (min-width: 861px) {
  .calc-grid .calc-card[hidden] { display: block !important; }
}

/* —— Chessboard focus (layout 6.4) —— */
body.page--chess .header .nav { display: none; }
body.page--chess .header__actions .btn--outline { display: none; }
@media (min-width: 1024px) {
  body.page--chess .menu-toggle { display: none; }
}
.chess-mini-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  color: var(--muted);
}
.chess-mini-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.chess-mini-footer a {
  color: var(--navy);
  text-decoration: none;
  margin-left: 16px;
}
.chess-mini-footer a:hover { color: var(--blue); }
.chess-page__head { margin-bottom: 20px; }
.chess-page__projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.chess-page__project {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--r);
  cursor: pointer;
}
.chess-page__project:hover { border-color: var(--blue); }
.chess-page__project.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chess-page__section { margin-top: 0; }
.visual-choice--standalone {
  background: #eef1f4;
  border-radius: var(--block-r);
}
.compare-tray {
  position: sticky;
  bottom: 72px;
  z-index: 40;
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.compare-tray.is-visible { display: flex; }
.compare-tray__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.compare-tray__list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.building-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.building-tabs button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}
.building-tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.lightbox {
  position: fixed;
  inset: 0;
  /* Тот же слой, что и у галерейного лайтбокса: поверх липкой шапки */
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(0,20,40,.82);
  backdrop-filter: blur(8px);
  padding: 24px;
  /* Увеличенная картинка не должна выходить за экран и тянуть прокрутку */
  overflow: hidden;
  touch-action: none;
}
.lightbox.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__fit {
  position: relative;
  line-height: 0;
  transform-origin: 50% 50%;
  transition: transform 0.2s var(--ease, ease);
}
.lightbox img {
  max-width: min(1100px, 100%);
  /* 100% от области окна за вычетом отступов: в grid этот процент считался
     от самой картинки, и высокий план обрезался */
  max-height: 100%;
  border-radius: 12px;
  /* Ручной масштаб: см. createImageZoom в pages.js */
  transform-origin: 50% 50%;
  transition: transform 0.2s var(--ease, ease);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__fit > img {
  display: block;
  width: auto;
  height: auto;
  /* Процент от кадра не сходится: у обёртки высота зависит от самой картинки. */
  max-width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 24px;
}
.lightbox__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.lightbox__shape[hidden] {
  display: none;
}

/* —— Apartment detail card —— */
.apt-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  margin: 4px 0 28px;
  min-height: 0;
}
@media (max-width: 960px) {
  .apt-detail { grid-template-columns: 1fr; align-items: stretch; }
  .apt-frame--floor .apt-floor-map > img,
  .apt-frame--genplan .apt-floor-map > img {
    max-height: min(
      calc(48vh - var(--floor-pad-top) - var(--floor-pad-bottom)),
      calc(400px - var(--floor-pad-top) - var(--floor-pad-bottom))
    );
  }
}
.apt-detail__plan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 16px 12px;
  max-height: calc(100vh - 180px);
  overflow: hidden;
}
.apt-detail__plan:has([data-apt-panel="genplan"]:not([hidden])) {
  max-height: none;
  overflow: visible;
}
.apt-detail__plan img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border-radius: 12px;
}
.apt-detail__plan-caption {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 960px) {
  .apt-detail__plan { max-height: none; }
  .apt-detail__plan img { max-height: min(48vh, 400px); }
}
.apt-media-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  width: 100%;
}
.apt-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  flex: 1 1 auto;
}
.apt-media-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.apt-media-tabs button:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}
.apt-media-tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.apt-media-print {
  margin-left: auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1.5px solid var(--navy);
  background: var(--white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.apt-media-print:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.apt-media-panel[hidden] { display: none !important; }
.apt-media-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: aptPanelIn 0.35s ease;
}
@keyframes aptPanelIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.apt-media-panel img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 480px);
  object-fit: contain;
  display: block;
}
.apt-frame {
  position: relative;
  margin: 0;
  width: 100%;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 43, 83, 0.06);
}
.apt-frame::before,
.apt-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 43, 83, 0.28);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.25s ease;
}
.apt-frame::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.apt-frame::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}
.apt-frame:hover::before,
.apt-frame:hover::after {
  border-color: var(--blue);
}
.apt-frame img {
  transition: transform 0.45s ease;
  padding: 18px 16px 36px;
}
.apt-frame:hover img {
  transform: scale(1.035);
}
.apt-frame--plan {
  background: #fff;
}
.apt-frame--plan img,
.apt-frame--floor img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 520px);
  object-fit: contain;
  object-position: center;
}
.apt-frame--genplan {
  overflow: visible;
  background: #fff;
}
.apt-detail__plan .apt-frame--genplan img,
.apt-frame--genplan img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 0;
}
.apt-frame--genplan .apt-floor-map {
  --floor-pad-top: 0px;
  --floor-pad-x: 0px;
  --floor-pad-bottom: 0px;
  display: block;
  width: 100%;
  padding: 0;
}
.apt-detail__plan .apt-frame--genplan .apt-floor-map > img,
.apt-frame--genplan .apt-floor-map > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 0;
}
.apt-frame--floor img {
  padding: 20px 16px 40px;
}
.apt-floor-map {
  --floor-pad-top: 20px;
  --floor-pad-x: 16px;
  --floor-pad-bottom: 40px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  padding: var(--floor-pad-top) var(--floor-pad-x) var(--floor-pad-bottom);
  line-height: 0;
  vertical-align: top;
  transition: transform 0.45s ease;
}
.apt-frame--floor .apt-floor-map > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 0;
  /* Отступы входят в прежний лимит высоты, иначе низ обрезает карточка. */
  max-height: min(
    calc(58vh - var(--floor-pad-top) - var(--floor-pad-bottom)),
    calc(520px - var(--floor-pad-top) - var(--floor-pad-bottom))
  );
}
.apt-frame--floor:hover .apt-floor-map,
.apt-frame--genplan:hover .apt-floor-map {
  transform: scale(1.035);
}
.apt-frame--floor:hover .apt-floor-map > img,
.apt-frame--genplan:hover .apt-floor-map > img {
  transform: none;
}
.apt-floor-map__shape {
  position: absolute;
  top: var(--floor-pad-top);
  right: var(--floor-pad-x);
  bottom: var(--floor-pad-bottom);
  left: var(--floor-pad-x);
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.apt-floor-map__shape polygon,
.lightbox__shape polygon {
  fill: color-mix(in srgb, var(--sky) 42%, transparent);
  stroke: var(--sky);
  stroke-width: 3px;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.apt-frame__chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 43, 83, 0.12);
}
.apt-frame--genplan .apt-frame__chip {
  background: rgba(0, 43, 83, 0.82);
  color: #fff;
}
.apt-frame__hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 43, 83, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.25s ease, translate 0.25s ease;
  pointer-events: none;
}
.apt-frame:hover .apt-frame__hint {
  opacity: 1;
  translate: 0 0;
}
.apt-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  pointer-events: none;
}
.apt-pin i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.apt-pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(194, 59, 42, 0.45);
  animation: aptPinPulse 1.8s ease-out infinite;
}
.apt-pin--floor i {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95);
}
.apt-pin--floor::after {
  border-color: rgba(2, 73, 149, 0.4);
}
@keyframes aptPinPulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}
.apt-tour-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #001a33;
  line-height: 0;
}
.apt-tour-frame__iframe {
  display: block;
  width: 100%;
  height: min(58vh, 480px);
  border: 0;
  background: #001a33;
}
.apt-tour {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  max-height: min(58vh, 480px);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(160deg, #024995, #002b53 70%);
  color: #fff;
  text-align: center;
  padding: 28px 24px;
}
.apt-tour__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.apt-tour__orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -40px;
  right: -30px;
  filter: blur(2px);
  animation: aptOrb 8s ease-in-out infinite;
}
.apt-tour__orb--2 {
  width: 120px;
  height: 120px;
  top: auto;
  right: auto;
  left: -30px;
  bottom: -20px;
  animation-delay: -3s;
}
.apt-tour__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  animation: aptRing 4.5s linear infinite;
}
.apt-tour__ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.apt-tour > strong,
.apt-tour > p,
.apt-tour > .btn {
  position: relative;
  z-index: 1;
}
.apt-tour p { margin: 8px 0 0; font-size: 14px; opacity: 0.85; max-width: 28rem; }
@keyframes aptOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, 12px, 0); }
}
@keyframes aptRing {
  to { transform: rotate(360deg); }
}
.apt-floors-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.apt-views {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--light-blue-2) 14%, #fff);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}
.apt-views[hidden] {
  display: none !important;
}
.apt-views::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.16);
  flex-shrink: 0;
  animation: flat-views-pulse 1.8s ease-in-out infinite;
}
.apt-views strong {
  font-weight: 700;
  color: var(--navy);
}
.apt-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  color: #fff;
  margin: 8px 0 28px;
  overflow: hidden;
  isolation: isolate;
  min-height: 180px;
}
.apt-promo__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.apt-promo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 4s ease;
}
.apt-promo:hover .apt-promo__bg img {
  transform: scale(1.1);
}
.apt-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(0, 43, 83, 0.92) 0%, rgba(2, 73, 149, 0.78) 55%, rgba(0, 43, 83, 0.55) 100%);
}
.apt-promo h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.apt-promo p { margin: 0; opacity: 0.92; font-size: 15px; max-width: 36rem; }
.apt-promo .btn--white { justify-self: end; }
@media (max-width: 800px) {
  .apt-promo { grid-template-columns: 1fr; }
  .apt-promo .btn--white { justify-self: start; }
}
.apt-finish-intro {
  max-width: 46rem;
  margin: 0 0 28px;
}
.apt-finish-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text, #1a2a3a);
}
.apt-finish-intro p + p { margin-top: 12px; }
.apt-finish-list {
  display: grid;
  gap: 28px;
}
.apt-finish-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(2, 73, 149, 0.04), transparent 42%),
    var(--white);
}
.apt-finish-row--reverse .apt-finish-row__media { order: 2; }
.apt-finish-row--reverse .apt-finish-row__copy { order: 1; }
@media (max-width: 900px) {
  .apt-finish-row,
  .apt-finish-row--reverse {
    grid-template-columns: 1fr;
  }
  .apt-finish-row--reverse .apt-finish-row__media,
  .apt-finish-row--reverse .apt-finish-row__copy { order: initial; }
}
.apt-finish-row__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: #eef2f7;
}
.apt-finish-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.apt-finish-row:hover .apt-finish-row__media img {
  transform: scale(1.04);
}
.apt-finish-row__copy h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--navy);
}
.apt-finish-row__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.apt-finish-row__copy > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text, #1a2a3a);
}
.apt-finish-row__points {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.apt-finish-row__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.apt-finish-row__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.apt-finish-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(0, 43, 83, 0.04);
  border: 1px solid var(--line);
}
.apt-finish-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* —— Finish preview (JK pages) —— */
.finish-preview .section-lead {
  max-width: 720px;
  margin-top: 8px;
}
.finish-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.finish-preview__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.2s ease;
}
.finish-preview__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: color-mix(in srgb, var(--sky) 22%, var(--line));
}
.finish-preview__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}
.finish-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.finish-preview__card:hover .finish-preview__media img {
  transform: scale(1.03);
}
.finish-preview__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px 20px 20px;
}
.finish-preview__label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.finish-preview__body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
}
.finish-preview__card:hover .finish-preview__body h3 {
  color: var(--sky);
}
.finish-preview__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.finish-preview__foot {
  margin-top: 24px;
}
@media (max-width: 720px) {
  .finish-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Отделка: форматы Базовый / Улучшенный —— */
.apt-finish-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.apt-finish-format {
  padding: 22px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sky) 8%, transparent), transparent 45%),
    var(--white);
}
.apt-finish-format h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.apt-finish-format__note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .apt-finish-formats { grid-template-columns: 1fr; }
}

.apt-finish-price {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--sky) 28%, var(--line));
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--sky) 12%, #fff) 0%, #fff 55%),
    var(--white);
}
.apt-finish-price__value {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
}
.apt-finish-price__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}
.apt-finish-bath {
  margin-top: 40px;
}
.apt-finish-bath__head {
  margin-bottom: 18px;
}
.apt-finish-bath__head .section-title {
  margin-bottom: 8px;
}
.apt-finish-bath__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.apt-finish-bath__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #eef2f6;
}
.apt-finish-bath__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.apt-finish-bath__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .apt-finish-price {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .apt-finish-bath__grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .apt-media-panel,
  .apt-frame img,
  .apt-floor-map,
  .apt-pin::after,
  .apt-tour__orb,
  .apt-tour__ring,
  .apt-promo__bg img,
  .apt-finish-row__media img,
  .apt-carousel__media img {
    animation: none !important;
    transition: none !important;
  }
}
.apt-similar__meta {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.apt-carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.apt-carousel__head .section-lead { margin-bottom: 0; }
.apt-carousel__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.apt-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.apt-carousel__btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.apt-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.apt-carousel__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 2px 18px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.apt-carousel__viewport:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.apt-carousel__card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.apt-carousel__card:hover {
  border-color: rgba(2, 73, 149, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 43, 83, 0.1);
}
.apt-carousel__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--plan-ratio);
  background: #fff;
}
.apt-carousel__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 43, 83, 0.08));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.apt-carousel__card:hover .apt-carousel__media::after { opacity: 1; }
.apt-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: var(--plan-pad);
  transition: transform 0.45s ease;
}
.apt-carousel__card:hover .apt-carousel__media img {
  transform: scale(1.06);
}
.apt-carousel__media .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.apt-carousel__area {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 43, 83, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.apt-carousel__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.apt-carousel__body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.apt-carousel__body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.apt-carousel__body .apt-similar__price {
  margin-top: 8px !important;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--price);
}
.apt-carousel__mort {
  font-size: 12px !important;
}
@media (max-width: 640px) {
  .apt-carousel__head { align-items: flex-start; }
  .apt-carousel__viewport { grid-auto-columns: minmax(220px, 78vw); }
}
.apt-buy {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.apt-buy__rooms {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.apt-buy h1 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.apt-buy__price {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--price);
}
.apt-buy__price strong { font-weight: 600; }
.apt-buy__price-old {
  display: block;
  margin: 0 0 4px;
  font-size: 0.62em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.apt-buy__discount {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--price);
}
.apt-buy__ppm {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.apt-buy__mortgage {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--navy);
}
.apt-buy__mortgage strong { font-weight: 600; }
.apt-buy__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.apt-buy__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apt-buy__actions .btn { width: 100%; justify-content: center; }
.apt-buy__actions .fav-btn--inline {
  width: 100%;
  justify-content: center;
}
.apt-buy__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.apt-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.apt-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.apt-specs li:nth-child(2n) { border-right: none; }
.apt-specs li:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 560px) {
  .apt-specs { grid-template-columns: 1fr; }
  .apt-specs li { border-right: none; }
  .apt-specs li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .apt-specs li:last-child { border-bottom: none; }
}
.apt-specs span { color: var(--muted); }
.apt-specs strong {
  font-family: var(--font);
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}
.apt-floors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.apt-floors > [data-apt-floors-rest] {
  display: contents;
}
.apt-floors > [hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .apt-floors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.apt-floor {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.apt-floor:hover { border-color: var(--blue); transform: translateY(-1px); }
.apt-floor.is-current {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.apt-floor strong {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
}
.apt-floor span {
  font-size: 12px;
  opacity: 0.8;
}
.apt-similar__price {
  margin-top: 10px !important;
  font-family: var(--font);
  font-weight: 600;
  color: var(--price) !important;
}
.apt-similar__price strong { font-weight: 600; }
.apt-similar__price-old {
  display: block;
  margin: 0 0 2px;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}


/* —— Build aggregator (layout 6.5) —— */
.build-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 960px) {
  .build-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .build-report-grid { grid-template-columns: 1fr; }
}
.build-report {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* Фильтр по ЖК ставит hidden — он должен побеждать display: flex */
.build-report[hidden] {
  display: none;
}
.build-report__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-1);
}
.build-report__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.build-report__tag {
  position: absolute;
  left: 12px;
  top: 12px;
}
.build-report__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  flex: 1;
}
.build-report__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.build-report__body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}
.build-report__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.corpus-progress {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.corpus-progress__row {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.corpus-progress__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.corpus-progress__head span:last-child {
  color: var(--blue);
}

.build-archive {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.build-archive details {
  border-bottom: 1px solid var(--line);
}
.build-archive details:last-child { border-bottom: none; }
.build-archive summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.build-archive summary::-webkit-details-marker { display: none; }
.build-archive__panel {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.build-archive__panel .photo-row { margin-top: 12px; }

.build-subscribe {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
.build-subscribe__copy h2 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.build-subscribe__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36rem;
}
@media (max-width: 800px) {
  .build-subscribe { grid-template-columns: 1fr; }
}

.build-cameras {
  display: grid;
  gap: 20px;
}
.build-cameras[data-layout="split"] {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) {
  .build-cameras[data-layout="split"] { grid-template-columns: 1fr; }
}
.build-camera-card h3 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}


/* —— Infra block (borovoe36-style) —— */
.infra-block,
.visual-choice {
  --block-r: var(--r); /* единое скругление кнопок и контейнеров: 24px */
}
.infra-block { margin-top: 8px; }
.infra-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 20px;
}
.infra-filters__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 22px;
  border-radius: var(--block-r);
  background: #f2f2f2;
  color: #2b2b2b;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.infra-filters__btn:hover { background: #e8e8e8; }
.infra-filters__btn.is-active {
  background: var(--navy);
  color: #fff;
}
.infra-filters__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.infra-map {
  --infra-zoom: 1;
  position: relative;
  border-radius: var(--block-r);
  overflow: hidden;
  background: #e9eef3;
  min-height: 420px;
  aspect-ratio: 16 / 9;
  touch-action: none;
  user-select: none;
}
.infra-map--yandex {
  touch-action: manipulation;
  user-select: auto;
  cursor: default;
}
.infra-map--yandex .infra-map__canvas {
  position: absolute;
  inset: 0;
}
.infra-map--yandex .infra-map__canvas > ymaps,
.infra-map--yandex .infra-map__canvas > .ymaps-2-1-79-map {
  width: 100%;
  height: 100%;
}
.infra-map--yandex .infra-pin {
  position: relative;
  left: auto;
  top: auto;
  /* Карта считает метку прямоугольником с центром в геоточке, поэтому плашку
     тоже центрируем — иначе наведение работает только на части метки. */
  transform: translate(-50%, -50%);
}
.infra-map--yandex .infra-pin:hover,
.infra-map--yandex .infra-pin.is-hover,
.infra-map--yandex .infra-pin.is-active {
  transform: translate(-50%, -50%) scale(1.08);
}
.infra-map--yandex .infra-pin.is-hidden {
  transform: translate(-50%, -50%) scale(0.8);
}
.infra-map--yandex .infra-pin__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 6px 10px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 43, 83, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
  z-index: 4;
}
.infra-map--yandex .infra-pin:hover .infra-pin__tip,
.infra-map--yandex .infra-pin.is-hover .infra-pin__tip,
.infra-map--yandex .infra-pin.is-active .infra-pin__tip {
  opacity: 1;
}
/* Размеры плашек с логотипом берём из вёрстки: квадрат 52×52 под знак,
   108×56 под горизонтальный логотип. Здесь только текстовый вариант,
   которому на карте нужна фиксированная ширина вместо auto. */
.infra-map--yandex .infra-pin--main:not(.infra-pin--logo) {
  width: 132px;
  height: 34px;
  padding: 6px 12px;
  border-radius: 12px;
}
.infra-map--yandex .infra-pin--main .infra-pin__label {
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}
.infra-map--yandex .infra-pin--logo .infra-pin__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.infra-map--yandex .infra-map__tools {
  bottom: 40px;
}
.infra-map.is-zoomed { cursor: grab; }
.infra-map.is-dragging { cursor: grabbing; }
.infra-map.is-dragging .infra-pin { pointer-events: none; }
.infra-map.is-zoomed-out .infra-map__world {
  box-shadow: 0 10px 28px rgba(0, 43, 83, 0.16);
}
.infra-map__world {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
}
.infra-map__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.infra-pin {
  position: absolute;
  transform: translate(-50%, -50%) scale(calc(1 / var(--infra-zoom, 1)));
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--block-r);
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 43, 83, .28);
  transition: background .2s ease, opacity .2s ease;
  z-index: 2;
  padding: 0;
}
.infra-pin:hover,
.infra-pin.is-hover,
.infra-pin.is-active {
  background: var(--blue);
  transform: translate(-50%, -50%) scale(calc(1.08 / var(--infra-zoom, 1)));
  z-index: 3;
}
.infra-pin.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(calc(0.8 / var(--infra-zoom, 1)));
}
.infra-pin__icon { display: grid; place-items: center; }
.infra-pin--main {
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: var(--block-r);
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--light-blue-1);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.infra-pin--main .infra-pin__label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.infra-pin--logo {
  width: 52px;
  height: 52px;
  padding: 7px;
  border-radius: 16px;
  background: #fff;
}
.infra-pin--logo .infra-pin__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.infra-pin--logo:hover,
.infra-pin--logo.is-hover,
.infra-pin--logo.is-active {
  background: #fff;
}
.infra-pin--logo-leto {
  width: 108px;
  height: 56px;
  padding: 6px 8px;
  border-radius: 14px;
  border-color: #f3c48a;
}
.infra-pin--logo-leto .infra-pin__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.infra-map__popup {
  position: absolute;
  left: 24px;
  bottom: 56px;
  width: min(320px, calc(100% - 48px));
  background: #fff;
  border-radius: var(--block-r);
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 43, 83, .18);
  z-index: 5;
  animation: infra-pop .25s ease;
}
.infra-map__popup[hidden] { display: none; }
@keyframes infra-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.infra-map__popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #888;
  cursor: pointer;
}
.infra-map__popup-meta {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
}
.infra-map__popup h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.infra-map__popup p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.infra-map__tools {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  z-index: 4;
}
.infra-map__tools a {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: rgba(255,255,255,.92);
  padding: 8px 12px;
  border-radius: var(--block-r);
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.infra-map__tools a:hover { color: var(--blue); }
.infra-map__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--block-r);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.infra-map__zoom-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.infra-map__zoom-btn + .infra-map__zoom-btn {
  border-top: 1px solid var(--line);
}
.infra-map__zoom-btn:hover:not(:disabled) {
  background: #fff;
  color: var(--blue);
}
.infra-map__zoom-btn:disabled {
  opacity: 0.38;
  cursor: default;
}
.infra-map__zoom-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.infra-life {
  margin-top: 28px;
  position: relative;
}
.infra-life__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.infra-life__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.infra-life__navs {
  display: flex;
  gap: 8px;
}
.infra-life__nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.infra-life__nav:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.infra-life__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.infra-life__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, calc((100% - 16px) / 2.35));
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 2px 6px;
}
.infra-life__track.is-autoplaying {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.infra-life__track.is-autoplaying .infra-life__card {
  transition: transform 0.55s var(--ease, ease), opacity 0.55s ease;
}
.infra-life.is-autoplaying .infra-life__title::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-radius: 50%;
  background: #8db000;
  box-shadow: 0 0 0 0 rgba(141, 176, 0, 0.45);
  animation: infraLifePulse 1.8s ease-out infinite;
  vertical-align: middle;
}
@keyframes infraLifePulse {
  0% { box-shadow: 0 0 0 0 rgba(141, 176, 0, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(141, 176, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 176, 0, 0); }
}
.infra-life__track::-webkit-scrollbar { display: none; }
.infra-life__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg, var(--block-r));
  scroll-snap-align: start;
  height: min(58vh, 520px);
  min-height: 420px;
  background: var(--blue-1);
  color: #fff;
  outline: none;
  cursor: default;
}
.infra-life__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease, ease);
}
.infra-life__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 56px 20px 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 28, 52, 0.2) 34%,
    rgba(0, 22, 45, 0.86) 100%
  );
  transform: translateY(10px);
  transition:
    transform 0.4s var(--ease, ease),
    background 0.4s ease,
    padding 0.4s ease;
  pointer-events: none;
}
.infra-life__caption h3 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.infra-life__caption p {
  margin: 0;
  max-width: 28em;
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 0.4s var(--ease, ease),
    opacity 0.3s ease,
    transform 0.4s var(--ease, ease),
    margin-top 0.35s ease;
}
.infra-life__card:hover .infra-life__img,
.infra-life__card:focus-visible .infra-life__img {
  transform: scale(1.08);
}
.infra-life__card:hover .infra-life__caption,
.infra-life__card:focus-visible .infra-life__caption {
  transform: translateY(0);
  padding-top: 72px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 28, 52, 0.35) 28%,
    rgba(0, 18, 40, 0.94) 100%
  );
}
.infra-life__card:hover .infra-life__caption p,
.infra-life__card:focus-visible .infra-life__caption p {
  max-height: 6em;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .infra-life__caption {
    transform: none;
    padding-top: 72px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 28, 52, 0.35) 28%,
      rgba(0, 18, 40, 0.94) 100%
    );
  }
  .infra-life__caption p {
    max-height: none;
    margin-top: 10px;
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .infra-life__img,
  .infra-life__caption,
  .infra-life__caption p {
    transition: none;
  }
  .infra-life__card:hover .infra-life__img,
  .infra-life__card:focus-visible .infra-life__img {
    transform: none;
  }
  .infra-life__caption {
    transform: none;
  }
  .infra-life__caption p {
    max-height: none;
    margin-top: 10px;
    opacity: 1;
    transform: none;
  }
}

/* —— JK life (compact editorial stack, Leto) —— */
.jk-life {
  padding-top: 28px;
  padding-bottom: 12px;
}
.jk-life__head {
  max-width: 38rem;
  margin-bottom: 22px;
}
.jk-life__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-label, var(--font));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c46a00;
}
.jk-life__head .section-title {
  margin-bottom: 8px;
}
.jk-life__head .section-lead {
  margin: 0;
}
.jk-life__stack {
  display: grid;
  gap: 14px;
}
.jk-life__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0 28px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.jk-life__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.jk-life__row--flip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
}
.jk-life__row--flip .jk-life__media { order: 2; }
.jk-life__row--flip .jk-life__copy { order: 1; }
.jk-life__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  background: #1c1208;
}
.jk-life__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.jk-life__row:hover .jk-life__media img {
  transform: scale(1.04);
}
.jk-life__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.jk-life__num {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f39513;
}
.jk-life__copy h3 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
.jk-life__copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42rem;
}
.jk-life__copy > p + p {
  margin-top: 10px;
}
.jk-life__facts {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.jk-life__facts li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
.jk-life__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f39513;
}
@media (max-width: 860px) {
  .jk-life__row,
  .jk-life__row--flip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .jk-life__row--flip .jk-life__media,
  .jk-life__row--flip .jk-life__copy {
    order: initial;
  }
  .jk-life__media {
    aspect-ratio: 16 / 10;
    max-height: none;
    min-height: 240px;
  }
}

/* —— JK highlights (editorial feature rows, Leto) —— */
.jk-highlights {
  margin-top: 36px;
  display: grid;
  gap: 28px;
}
.jk-highlights__head {
  max-width: 40rem;
}
.jk-highlights__head .section-title { margin-bottom: 8px; }
.jk-highlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
  min-height: 320px;
  border-radius: var(--r);
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sky) 8%, #fff) 0%, #fff 48%),
    #fff;
  border: 1px solid var(--line);
}
.jk-highlight--flip {
  grid-template-columns: 0.85fr 1.15fr;
}
.jk-highlight--flip .jk-highlight__media { order: 2; }
.jk-highlight--flip .jk-highlight__copy { order: 1; }
.jk-highlight__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.jk-highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.jk-highlight:hover .jk-highlight__media img {
  transform: scale(1.03);
}
.jk-highlight__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
  color: var(--text);
}
.jk-highlight__index {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 14px;
}
.jk-highlight__meta {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.jk-highlight__copy h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
.jk-highlight__copy > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
}
@media (max-width: 860px) {
  .jk-highlight,
  .jk-highlight--flip {
    grid-template-columns: 1fr;
  }
  .jk-highlight--flip .jk-highlight__media,
  .jk-highlight--flip .jk-highlight__copy { order: initial; }
  .jk-highlight__media { min-height: 220px; aspect-ratio: 16 / 10; }
  .jk-highlight__copy > p:last-child { max-width: none; }
}

.infra-poi {
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
}
.infra-poi__track {
  display: grid;
  grid-template-columns: repeat(var(--poi-cols, 5), minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  overflow: hidden;
}
.infra-poi__card {
  position: relative;
  border-radius: var(--block-r);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-width: 0;
  width: 100%;
  background: #1a2a3a;
  color: #fff;
}
.infra-poi__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.infra-poi__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,20,40,.45) 0%, transparent 38%, rgba(0,20,40,.82) 100%);
  pointer-events: none;
}
.infra-poi__time {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-shadow: 0 1px 8px rgba(0, 20, 40, 0.45);
}
.infra-poi__time strong {
  font-family: var(--font);
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 700;
  line-height: .9;
}
.infra-poi__time span {
  font-size: 13px;
  font-weight: 600;
}
.infra-poi__card h3 {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 20, 40, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .infra-map { aspect-ratio: 4 / 3; min-height: 360px; }
  .infra-life__track { grid-auto-columns: minmax(280px, 78%); }
  .infra-life__card { height: min(52vh, 460px); min-height: 380px; }
  .infra-poi__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {
  .infra-filters { gap: 8px; }
  .infra-filters__btn { padding: 10px 16px; font-size: 13px; }
  .infra-map { aspect-ratio: 3 / 4; }
  .infra-map__popup { left: 12px; right: 12px; width: auto; bottom: 64px; }
  .infra-life__track { grid-auto-columns: minmax(260px, 88%); }
  .infra-life__card { height: min(58vh, 440px); min-height: 360px; }
  .infra-life__caption { padding: 18px 16px 16px; }
  .infra-life__caption h3 { font-size: 17px; }
  .infra-life__caption p { font-size: 13px; }
  .infra-poi__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.infra-life__card[data-infra-card-open],
.infra-poi__card[data-infra-card-open] {
  cursor: pointer;
}

.infra-card-lb {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 20, 40, 0.82);
  backdrop-filter: blur(8px);
}
.infra-card-lb.is-open {
  display: flex;
}
.infra-card-lb__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.infra-card-lb__dialog {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 20, 40, 0.28);
}
.infra-card-lb__img {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: cover;
}
.infra-card-lb__caption {
  padding: 20px 24px 24px;
}
.infra-card-lb__caption h3 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  color: var(--navy);
}
.infra-card-lb__caption p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0, 43, 83, 0.78);
}
@media (max-width: 640px) {
  .infra-card-lb { padding: 12px; }
  .infra-card-lb__close { top: 10px; right: 10px; }
  .infra-card-lb__caption { padding: 16px 18px 20px; }
}

/* —— Visual choice / interactive genplan —— */
.visual-choice {
  border-radius: var(--block-r);
  overflow: hidden;
  background: #eef1f4;
}
.visual-choice .btn,
.infra-block .btn {
  border-radius: var(--block-r);
}
.visual-choice__view[hidden] { display: none !important; }
.visual-choice__stage {
  position: relative;
  isolation: isolate;
  background: #d9e0e6;
}
.visual-choice__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1089;
  object-fit: cover;
}
.visual-choice__pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: var(--block-r);
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.visual-choice__pin:hover,
.visual-choice__pin.is-active {
  background: var(--navy);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}
.visual-choice__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,20,40,.55) 55%, rgba(0,20,40,.78) 100%);
  pointer-events: none;
}
.visual-choice__footer > * { pointer-events: auto; }
.visual-choice__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.visual-choice__cta {
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,43,83,.35);
}
.page--jk .visual-choice__footer {
  gap: 14px 18px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(0, 20, 40, 0.72), rgba(0, 43, 83, 0.55));
  backdrop-filter: blur(10px);
}
.page--jk .visual-choice__cta.btn--pick {
  box-shadow:
    0 12px 28px rgba(25, 77, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.page--jk .apt-finish-format {
  border-color: color-mix(in srgb, var(--sky) 18%, var(--line));
  background:
    linear-gradient(165deg, rgba(25, 77, 255, 0.04), transparent 40%),
    var(--white);
  transition: border-color 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.page--jk .apt-finish-format:hover {
  border-color: color-mix(in srgb, var(--sky) 40%, var(--line));
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.visual-choice__hint {
  margin: 0;
  padding: 12px 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
}
.visual-choice__hint-ico {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--sky);
  background: color-mix(in srgb, var(--sky) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky) 22%, transparent);
}
.visual-choice__guide {
  position: absolute;
  left: var(--guide-x, 50%);
  top: var(--guide-y, 50%);
  z-index: 4;
  width: 0;
  height: 0;
  pointer-events: none;
}
.visual-choice__guide-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--sky) 70%, #fff);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--sky) 18%, transparent);
  transform: translate(-50%, -50%);
  animation: vc-guide-ring 1.7s ease-out infinite;
}
.visual-choice__guide-hand {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 52px;
  height: 52px;
  transform-origin: 18% 18%;
  filter: drop-shadow(0 6px 14px rgba(0, 20, 40, 0.4));
  animation: vc-guide-tap 1.7s ease-in-out infinite;
}
.visual-choice__guide-hand svg {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes vc-guide-tap {
  0%,
  100% {
    transform: translate(4px, 8px) rotate(-22deg);
  }
  35% {
    transform: translate(-8px, -6px) rotate(-22deg) scale(0.9);
  }
  48% {
    transform: translate(2px, 6px) rotate(-22deg);
  }
}
@keyframes vc-guide-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0.95;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.visual-choice.is-guided-done .visual-choice__guide,
.visual-choice:has([data-vc-view="chess"]:not([hidden])) .visual-choice__guide {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .visual-choice__guide-hand,
  .visual-choice__guide-ring {
    animation: none;
  }
  .visual-choice__guide-hand {
    transform: translate(2px, 6px) rotate(-22deg);
  }
}
.visual-choice:has([data-vc-view="chess"]:not([hidden])) {
  background: #f3f4f6;
}
.visual-choice:has([data-vc-view="chess"]:not([hidden])) .visual-choice__hint { display: none; }

.vc-chess {
  min-height: 520px;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}
.vc-chess__toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.vc-chess__back {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  padding: 6px 0;
  text-decoration: none;
}
.vc-chess__back:hover { color: var(--blue); }
.vc-chess__expand {
  margin-left: auto;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.vc-chess__expand:hover { text-decoration: underline; }
.vc-chess__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vc-chess__building { position: relative; }
.vc-chess__building-btn {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.vc-chess__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 5;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--block-r);
  box-shadow: 0 12px 30px rgba(0,43,83,.12);
  padding: 6px;
  display: grid;
  gap: 2px;
}
.vc-chess__menu[hidden] { display: none; }
.vc-chess__menu button {
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 12px;
  border-radius: calc(var(--block-r) - 6px);
  cursor: pointer;
}
.vc-chess__menu button:hover,
.vc-chess__menu button.is-active {
  background: #eef3f8;
}

.vc-chess__board {
  overflow: auto;
  padding: 8px 4px 12px;
}
.vc-chess__section {
  min-width: max-content;
}
.vc-chess__section-title {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.vc-chess__grid {
  display: grid;
  gap: 8px 10px;
  align-items: center;
  grid-template-columns: 36px repeat(var(--vc-cols, 4), 42px);
}
.vc-chess__floor-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  padding-right: 4px;
}
.vc-cell {
  width: 42px;
  height: 42px;
  border-radius: var(--block-r);
  border: 1.5px solid #d7dde5;
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  padding: 0;
}
.vc-cell:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0,43,83,.16);
}
.vc-cell--sale {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.vc-cell--booked {
  background: color-mix(in srgb, var(--light-blue-2) 32%, var(--white));
  border-color: var(--light-blue-2);
  color: var(--blue-1);
  cursor: default;
}
.vc-cell--sold {
  background: color-mix(in srgb, var(--blue-1) 8%, var(--white));
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}
/* Нет цены («Цена по запросу»): ячейка видна, но без перехода и приглушена. */
.vc-cell--noprice {
  opacity: 0.42;
  background: color-mix(in srgb, var(--muted) 10%, var(--white));
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
}
.vc-cell:disabled { opacity: 1; }
.vc-cell--noprice:disabled { opacity: 0.42; }
/* Пропуск в сетке: на этаже меньше квартир, чем в самом широком этаже секции. */
.vc-cell--empty {
  background: none;
  border-color: transparent;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.vc-chess__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.vc-chess__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-size: 13px;
  color: var(--muted);
}
.vc-chess__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vc-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--block-r);
  border: 1.5px solid var(--line);
  background: var(--white);
  display: inline-block;
}
.vc-dot--sale { background: var(--navy); border-color: var(--navy); }
.vc-dot--booked { background: var(--light-blue-2); border-color: var(--light-blue-1); }
.vc-dot--sold { background: color-mix(in srgb, var(--blue-1) 8%, var(--white)); border-color: var(--line); }

@media (max-width: 720px) {
  .visual-choice__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 16px 16px;
  }
  .visual-choice__pin { font-size: 11px; padding: 6px 8px; }
  .vc-chess { padding: 14px 12px; min-height: 440px; }
  .vc-cell { width: 36px; height: 36px; font-size: 12px; }
  .vc-chess__toolbar { flex-wrap: wrap; }
  .vc-chess__expand { margin-left: 0; width: 100%; }
}

/* —— About company —— */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.about-hero-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
}
.pay-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.pay-ways__item {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.pay-ways__item strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.pay-ways__item span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}
.jk-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.jk-features__item {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.jk-features__item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--navy);
}
.jk-features__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 900px) {
  .plan-types { grid-template-columns: repeat(2, 1fr); }
  .pay-ways { grid-template-columns: repeat(2, 1fr); }
  .jk-features { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pay-ways { grid-template-columns: 1fr; }
}
.about-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-checklist li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.about-checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23002b53' d='M9.2 17.4 4.5 12.7l1.4-1.4 3.3 3.3 8.9-8.9 1.4 1.4z'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    color-mix(in srgb, var(--sky) 18%, #fff);
}

/* Почему выбирают ВМУ-2 — витринные карточки */
.page-section--why {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: calc(var(--r-lg) + 4px);
  padding: 0;
  background: transparent;
}
.page-section--why::before {
  display: none;
}
/* —— Brand patterns (Dom-1 / Dom-2 from guideline) —— */
.brand-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.brand-pattern--dom1 {
  background: url("/local/templates/vmu/assets/css/../images/brand/pattern-dom-1.png") center / cover no-repeat;
}
.brand-pattern--dom2 {
  background: url("/local/templates/vmu/assets/css/../images/brand/pattern-dom-2.png") center / cover no-repeat;
}
.brand-pattern-strip {
  position: absolute;
  top: 18px;
  right: 18px;
  width: clamp(56px, 8vw, 92px);
  height: calc(100% - 36px);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.88;
  pointer-events: none;
  z-index: 0;
}
.brand-pattern-strip--left {
  right: auto;
  left: 18px;
}

.about-section-band {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 26px 28px;
  border-radius: var(--r);
  color: #fff;
  background: linear-gradient(125deg, var(--navy) 0%, var(--blue) 70%, var(--sky) 100%);
}
.about-section-band:has(.brand-pattern--windows):not(.about-section-band--soft),
.about-section-band:has(.brand-pattern--windows-bright):not(.about-section-band--soft) {
  background: var(--brand-windows-blue);
}
.about-section-band:has(.brand-pattern--windows):not(.about-section-band--soft) .brand-pattern--windows::after,
.about-section-band:has(.brand-pattern--windows-bright):not(.about-section-band--soft) .brand-pattern--windows-bright::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-windows-scrim-band);
  pointer-events: none;
}
.about-section-band--compact {
  padding: 22px 24px;
  margin-bottom: 18px;
}
.about-section-band--soft {
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 28%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--light-blue-2) 16%, #fff) 0%, #fff 48%, color-mix(in srgb, var(--bg) 80%, #fff) 100%);
  box-shadow: 0 10px 28px rgba(2, 73, 149, 0.05);
}
.about-section-band--soft .section-title {
  color: var(--navy);
}
.about-section-band--soft .section-lead {
  color: var(--muted);
}
.about-section-band--soft .brand-pattern {
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.about-section-band--soft.about-section-band--windows .brand-pattern,
.about-section-band--soft .brand-pattern--windows,
.about-section-band--soft .brand-pattern--windows-bright {
  opacity: 0.22;
  mix-blend-mode: multiply;
}
.about-section-band--dom1 .brand-pattern {
  opacity: 0.42;
}
.about-section-band--dom2 .brand-pattern {
  opacity: 0.48;
}
.about-section-band--soft.about-section-band--dom2 .brand-pattern {
  opacity: 0.14;
}
.about-section-band__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.about-section-band__inner:has(.section-lead--offices) {
  max-width: none;
}
.section-lead--offices {
  max-width: none;
  white-space: nowrap;
  margin-bottom: 0;
}
@media (max-width: 960px) {
  .section-lead--offices {
    white-space: normal;
  }
}
.about-section-band .section-title {
  margin: 0 0 8px;
  color: #fff;
}
.about-section-band .section-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* Highlighted phrases */
.about-mark {
  position: relative;
  display: inline;
  padding: 0.08em 0.18em;
  color: inherit;
  background: transparent;
  border-radius: 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.about-mark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.42em;
  z-index: -1;
  border-radius: 0.15em;
  background: color-mix(in srgb, var(--light-blue-2) 55%, #fff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-mark.is-on::before,
.about-mark.is-visible::before {
  transform: scaleX(1);
}

/* Scroll reveal */
.about-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}
.about-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .about-mark::before {
    transform: scaleX(1);
    transition: none;
  }
  .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.why-showcase {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 28px;
  border-radius: calc(var(--r-lg) + 4px);
  border: 1px solid color-mix(in srgb, var(--sky) 18%, var(--line));
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 18px 48px rgba(2, 73, 149, 0.08);
}
.why-showcase__pattern {
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-position: center, right top;
  background-size: auto, auto 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.why-showcase__head,
.why-showcase__grid {
  position: relative;
  z-index: 1;
}
.why-showcase__stat {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 220px;
  padding: 18px 22px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0, 43, 83, 0.22);
}
.why-showcase__stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-windows-scrim-band);
  pointer-events: none;
}
/* На тёмной плашке секции — без отдельной «карточки» под 100% */
.about-section-band .why-showcase__stat {
  padding: 0;
  min-width: 200px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
}
.about-section-band .why-showcase__stat::before {
  display: none;
}
.about-section-band .why-showcase__stat span {
  color: rgba(255, 255, 255, 0.9);
}
/* На светлой плашке why-showcase — тоже без своего фона */
.why-showcase .why-showcase__stat {
  padding: 0;
  min-width: 200px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--navy);
}
.why-showcase .why-showcase__stat::before {
  display: none;
}
.why-showcase .why-showcase__stat strong {
  color: var(--blue);
}
.why-showcase .why-showcase__stat span {
  color: var(--muted);
}
.why-showcase__stat strong,
.why-showcase__stat span {
  position: relative;
  z-index: 1;
}
.why-showcase__stat strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.why-showcase__stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.about-section-band--soft .why-showcase__stat {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 10%, #fff), #fff);
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 28%, var(--line));
  box-shadow: 0 8px 22px rgba(2, 73, 149, 0.08);
}
.about-section-band--soft .why-showcase__stat::before {
  display: none;
}
.about-section-band--soft .why-showcase__stat span {
  color: var(--muted);
}
.about-section-band--soft .why-showcase__stat strong {
  color: var(--blue);
}
.why-showcase__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.why-showcase__intro {
  max-width: none;
}
.why-showcase__intro .section-lead {
  margin-top: 10px;
}
.why-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--sky) 14%, var(--line));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(2, 73, 149, 0.06);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sky) 35%, var(--line));
  box-shadow: 0 16px 40px rgba(2, 73, 149, 0.12);
}
.why-card--wide {
  grid-column: 1 / -1;
}
.why-card__list--cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.why-card__icon {
  display: none;
}
.why-card__icon svg {
  width: 24px;
  height: 24px;
}
.why-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.why-card h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.why-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.why-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.why-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .why-showcase {
    padding: 24px 18px 20px;
  }
  .why-showcase__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .why-showcase__stat {
    width: 100%;
  }
  .why-showcase__grid {
    grid-template-columns: 1fr;
  }
  .why-card--wide {
    grid-column: auto;
  }
  .why-card__list--cols {
    grid-template-columns: 1fr;
  }
}

.about-social {
  max-width: 52rem;
}
.about-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.about-project {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.about-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.about-project__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.about-project__year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-project__body h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.about-project__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}
.about-project__body a {
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.about-project__body a:hover { text-decoration: underline; }
.about-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.about-history li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: start;
  margin: 0 0 0 14px;
  padding: 16px 18px;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--navy) 22%, var(--line));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translate3d(-16px, 10px, 0);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: calc(var(--history-i, 0) * 0.05s);
}
.about-history li.is-visible {
  opacity: 1;
  transform: none;
}
.about-history li:last-child { margin-bottom: 0; }
.about-history li::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 20%, #fff);
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease,
    box-shadow 0.5s ease;
  transition-delay: calc(var(--history-i, 0) * 0.05s + 0.1s);
}
.about-history li.is-visible::before {
  transform: scale(1);
  opacity: 1;
  animation: history-marker-pulse 0.8s calc(var(--history-i, 0) * 0.05s + 0.1s) ease-out both;
}
.about-history li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -15px;
  top: 30px;
  width: 2px;
  height: calc(100% - 30px + 14px + 16px + 30px);
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--navy) 18%, transparent);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.about-history.is-active li:not(:last-child)::after {
  opacity: 1;
}
@keyframes history-marker-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--sky) 45%, transparent);
  }
  55% {
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--sky) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 20%, #fff);
  }
}
.about-history time {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  min-width: 3.5rem;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
}
.about-history h3 {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.about-history p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.about-footnote {
  margin: 16px 0 0;
  font-size: 14px;
}
.about-footnote a {
  font-weight: 600;
  color: var(--blue);
}
.about-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.about-toc a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.about-toc a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.about-toc a[aria-current="page"],
.about-toc a.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.about-toc--top {
  position: sticky;
  top: 84px;
  z-index: 20;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 12px 4px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  -webkit-overflow-scrolling: touch;
}
.about-toc--top::-webkit-scrollbar {
  display: none;
}

.about-page-content {
  min-width: 0;
}

/* Legacy left-rail layout (kept for other pages if reused) */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.about-page-grid__aside {
  position: static;
}
.about-page-grid__content {
  min-width: 0;
}
.about-page-grid .about-toc {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0 0 8px;
}
.about-page-grid .about-toc a {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-toc--top {
    top: 68px;
    margin-bottom: 22px;
    padding-top: 8px;
  }
}
.about-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: stretch;
}
.about-social-card {
  display: grid;
  grid-template-rows: auto auto minmax(2.6em, auto) minmax(2.9em, auto);
  gap: 8px;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.about-social-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r);
  display: block;
  background: color-mix(in srgb, var(--light-blue-1) 12%, #fff);
  order: -1;
}
.about-social-card__year {
  display: block;
  margin: 0;
  min-height: 1.2em;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.about-social-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-social-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-lead {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
}
.about-lead__avatar {
  width: 80px;
  height: 80px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--sky));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.about-lead__photo {
  width: 80px;
  height: 80px;
  margin-bottom: 14px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg, #F3F4F6);
}
.about-lead h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--navy);
}
.about-lead__role {
  margin: 0 0 12px !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.about-lead p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.about-lead p:last-child { margin-bottom: 0; }

/* —— About page: brand blocks —— */
.about-brand-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 42%);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 36px;
  padding: 28px 28px 28px 32px;
  border-radius: var(--r);
  overflow: hidden;
  color: #fff;
  background: var(--brand-windows-blue);
}
.about-brand-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}
.about-brand-hero__pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-windows-scrim-text);
}
.about-brand-hero__logo {
  width: min(168px, 42vw);
  height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}
.about-brand-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.about-brand-hero__tag {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.about-brand-hero__slogan {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.about-brand-hero__lead {
  margin: 4px 0 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}
.about-brand-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: calc(var(--r) - 6px);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.about-brand-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.about-stats-band {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  padding: 40px 32px 36px;
  border-radius: var(--r-lg);
  color: #fff;
  background: var(--brand-windows-blue);
  box-shadow: 0 20px 48px rgba(0, 43, 83, 0.22);
}
.about-stats-band--navy {
  background: var(--brand-windows-blue);
}
.about-stats-band:not(.about-stats-band--soft) .about-stats-band__pattern {
  opacity: 0.16;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 8%, #000 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 8%, #000 78%);
}
.about-stats-band:not(.about-stats-band--soft) .about-stats-band__pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 32, 64, 0.62) 0%,
    rgba(8, 58, 120, 0.48) 42%,
    rgba(0, 32, 64, 0.58) 100%
  );
  pointer-events: none;
}
.about-stats-band--soft {
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 30%, var(--line));
  background:
    linear-gradient(145deg, #f3f7fc 0%, #fff 42%, #eef4fb 100%);
  box-shadow: 0 14px 36px rgba(2, 73, 149, 0.06);
}
.about-stats-band--soft .about-stats-band__pattern {
  opacity: 0.14;
  mix-blend-mode: multiply;
}
.about-stats-band--soft .about-stats-band__title,
.about-stats-band--soft .about-stats-band__lead {
  color: var(--navy);
}
.about-stats-band--soft .about-stats-band__lead {
  color: var(--muted);
}
.about-stats-band--soft .about-stats-band__logo {
  filter: none;
  opacity: 0.9;
}
.about-stats-band--soft .about-stat {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 22%, var(--line));
  color: var(--navy);
}
.about-stats-band--soft .about-stat strong {
  color: var(--blue);
}
.about-stats-band--soft .about-stat span {
  color: var(--muted);
}
.about-stats-band__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 100%);
}
.about-stats-band__head {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  text-align: center;
}
.about-stats-band__logo {
  display: block;
  width: 128px;
  height: auto;
  margin: 0 auto 14px;
  opacity: 0.95;
}
.about-stats-band__title {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.about-stats-band__lead {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}
.about-stats-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.about-stat {
  padding: 20px 12px;
  text-align: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.about-stat strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}
.about-stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.78);
}

.about-photo-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}
.about-photo-strip__item {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 180px;
}
.about-photo-strip__item--tall {
  grid-row: span 1;
}
.about-photo-strip__item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.about-photo-strip__item:hover img {
  transform: scale(1.03);
}
.about-photo-strip__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,43,83,.82));
}

.about-process {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  gap: 36px;
  align-items: start;
  padding: 28px;
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(247,250,255,.96) 100%);
  border: 1px solid var(--line);
}
.about-process__pattern {
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-size: auto, auto 100%;
  background-position: center, top left;
  mask-image: linear-gradient(100deg, transparent 20%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 100%);
}
.about-process__content,
.about-process__media,
.about-process__media-stack {
  position: relative;
  z-index: 1;
}
.about-process__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.about-process__steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: visible;
}
.about-process__steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  overflow: visible;
}
.about-process__icon {
  display: none;
}
.about-process__icon img {
  display: none;
}
.about-process__num-inline {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
  vertical-align: middle;
  line-height: 1;
  margin-right: 12px;
}
.about-process__steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--navy);
}
.about-process__steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about-process__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.about-process__media-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}
.about-process__media {
  margin: 0;
  border-radius: calc(var(--r) - 4px);
  overflow: hidden;
  align-self: stretch;
}
.about-process__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.about-process__media--second {
  display: none;
}

.about-social-section__head {
  margin-bottom: 20px;
  max-width: none;
}
.about-social-grid--mosaic {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-social-card--featured {
  grid-column: auto;
  grid-row: auto;
  padding: 0;
  overflow: visible;
  border: none;
  background: transparent;
  color: inherit;
}
.about-social-card--featured .about-social-card__img {
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
}
.about-social-card--featured .about-social-card__year,
.about-social-card--featured h3,
.about-social-card--featured p {
  padding-left: 0;
  padding-right: 0;
}
.about-social-card--featured .about-social-card__year {
  margin-top: 0;
  background: none;
  color: var(--blue);
}
.about-social-card--featured h3 {
  color: var(--navy);
}
.about-social-card--featured p {
  padding-bottom: 0;
  color: var(--muted);
}

.about-projects--bento {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.about-project--featured {
  grid-column: span 2;
  grid-row: auto;
  box-shadow: var(--shadow-sm);
}
.about-project--featured img {
  aspect-ratio: 16 / 10;
  min-height: 220px;
}
.about-project--featured .about-project__body {
  padding: 22px 22px 24px;
  gap: 10px;
}
.about-project--featured .about-project__body h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}
.about-project--featured .about-project__body p {
  font-size: 15px;
  line-height: 1.55;
}
.about-projects--bento .about-project:not(.about-project--featured) img {
  aspect-ratio: 16 / 11;
  min-height: 0;
}
.about-projects--bento .about-project:not(.about-project--featured) .about-project__body {
  padding: 14px 14px 16px;
  gap: 6px;
}
.about-projects--bento .about-project:not(.about-project--featured) .about-project__body h3 {
  font-size: 16px;
  font-weight: 600;
}
.about-projects--bento .about-project:not(.about-project--featured) .about-project__body p {
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-projects--bento .about-project:not(.about-project--featured) .about-project__year {
  font-size: 11px;
}

.about-lead-section__layout {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 34%);
  gap: 24px;
  align-items: stretch;
}
.about-lead--brand {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2,73,149,.04) 0%, transparent 42%),
    var(--white);
}
.about-lead--brand::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 88px;
  height: 100%;
  opacity: 0.14;
  background-position: center, right center;
  pointer-events: none;
}
.about-lead-section__photo {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 100%;
}
.about-lead-section__photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.about-lead-section__photo--brand img {
  object-position: center;
}
.about-lead-section__more {
  margin: 16px 0 0;
}

/* —— About: Leadership redesign —— */
.about-leaders {
  padding-top: 36px;
  padding-bottom: 40px;
}
.about-leaders__head {
  max-width: 36rem;
  margin-bottom: 22px;
}
.about-leaders__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-label, var(--font));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}
.about-leaders__head .section-title {
  margin-bottom: 8px;
}
.about-leaders__head .section-lead {
  margin: 0;
}
.about-leaders__board {
  display: grid;
  gap: 14px;
}
.about-leader {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--sky) 6%, #fff) 0%, #fff 42%);
  box-shadow: var(--shadow-sm);
}
.about-leader__media {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--navy) 88%, #000), var(--sky));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.about-leader__initials {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.about-leader__body {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.about-leader__num {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sky);
}
.about-leader__body h3 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.about-leader__role {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.about-leader__bio {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52rem;
}
.about-leader__tags {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-leader__tags li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sky) 22%, var(--line));
  background: color-mix(in srgb, var(--sky) 6%, #fff);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.about-leaders__team {
  position: relative;
  margin: 20px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow-sm);
}
.about-leaders__team-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 460px;
  overflow: hidden;
  isolation: isolate;
}
.about-leaders__team img,
.about-leaders__team-frame img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 128%;
  max-height: none;
  object-fit: cover;
  object-position: center 32%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.about-leaders__team figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 26, 51, 0.82) 100%);
  pointer-events: none;
}
.about-leaders__team figcaption strong {
  font-size: 15px;
  font-weight: 700;
}
.about-leaders__team figcaption span {
  font-size: 13px;
  opacity: 0.88;
}
.about-leaders__more {
  display: flex;
  justify-content: flex-start;
  margin: 22px 0 0;
  padding-top: 4px;
}
.about-leaders__more .btn {
  width: auto;
}

@media (max-width: 720px) {
  .about-leader {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px 16px;
    padding: 14px;
  }
  .about-leader__media {
    width: 88px;
    border-radius: 16px;
  }
  .about-leader__initials {
    font-size: 22px;
  }
  .about-leaders__team-frame {
    min-height: 220px;
    max-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-leaders__team-frame img {
    position: static;
    height: auto;
    max-height: 420px;
    transform: none !important;
    will-change: auto;
  }
}

/* —— Staff / leadership page —— */
.team-collective {
  position: relative;
  margin: 28px 0 36px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0b1220;
}
.team-collective img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  min-height: 320px;
  max-height: none;
  background: #0b1220;
}
.team-collective--wide img {
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
.team-collective figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 18px 22px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 26, 51, 0.82) 100%);
}
.team-collective figcaption strong {
  font-size: 16px;
  font-weight: 700;
}
.team-collective figcaption span {
  font-size: 13px;
  opacity: 0.85;
}

.staff-section-head {
  margin-bottom: 18px;
}
.staff-section-head .section-title {
  margin-bottom: 6px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.staff-grid--leaders {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.staff-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
}
.staff-card--leader {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sky) 8%, #fff) 0%, #fff 38%);
}
.staff-card--add {
  border-style: dashed;
  background: color-mix(in srgb, var(--sky) 4%, #fff);
}
.staff-card__photo {
  margin: 0;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--light-blue-2) 14%, var(--white)), color-mix(in srgb, var(--light-blue-1) 20%, var(--white)));
  flex-shrink: 0;
}
.staff-card--leader .staff-card__photo {
  aspect-ratio: 1;
}
.staff-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card__photo-ph {
  display: grid;
  place-items: center;
  gap: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  color: var(--navy);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--light-blue-2) 18%, #fff), color-mix(in srgb, var(--sky) 12%, #fff));
}
.staff-card__initials {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
}
.staff-card__photo-hint {
  display: none;
}
.staff-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.staff-card__body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.staff-card--leader .staff-card__body h3 {
  font-size: clamp(17px, 1.5vw, 20px);
}
.staff-card__role {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--sky);
}
.staff-card__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.staff-card__note {
  font-size: 12px;
  color: var(--muted);
}

/* Staff carousel */
.staff-carousel-section {
  margin-top: 8px;
  margin-bottom: 8px;
}
.staff-carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.staff-carousel__head .section-title {
  margin-bottom: 6px;
}
.staff-carousel__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.staff-carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.staff-carousel__btn:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.staff-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.staff-carousel__viewport {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 168px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.staff-carousel__card {
  scroll-snap-align: start;
  padding: 14px 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}
.staff-carousel__photo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--light-blue-2) 20%, #fff), color-mix(in srgb, var(--sky) 14%, #fff));
  color: var(--blue);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
}
.staff-carousel__card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.staff-carousel__role {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .staff-grid,
  .staff-grid--leaders {
    grid-template-columns: 1fr;
  }
  .staff-card {
    grid-template-columns: 80px minmax(0, 1fr);
    padding: 14px;
  }
  .staff-card__photo {
    width: 80px;
  }
  .team-collective--wide img {
    min-height: 0;
    max-height: none;
  }
  .staff-carousel__head {
    flex-wrap: wrap;
  }
}

.about-panel-section {
  margin-bottom: 36px;
}
.about-panel {
  padding: 28px 28px 24px;
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(2,73,149,.04) 0%, transparent 30%),
    var(--white);
  border: 1px solid var(--line);
}
.about-panel--pattern {
  position: relative;
  overflow: hidden;
}
.about-panel--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}

.about-panel--history {
  position: relative;
  overflow: hidden;
  padding: 36px 32px 34px;
  border: none;
  color: #fff;
  background:
    linear-gradient(155deg, #002b53 0%, #001526 48%, #024995 100%);
}
.about-panel--history .about-panel__bg {
  opacity: 1;
  background: none;
}
.about-panel--history .about-panel__bg::before {
  /* Делаем единый фон без полос в области заголовка */
  opacity: 0;
  mask-image: none;
  -webkit-mask-image: none;
  background: none;
}
.about-panel--history .about-panel__bg::after {
  display: none;
}
.about-panel--history .about-panel__head {
  padding: 0 0 22px;
  border-bottom: none;
  background: transparent;
}
.about-panel--history .about-history {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  gap: 0;
}
.about-panel--history .about-history li:not(:last-child)::after {
  top: 32px;
  height: calc(100% - 32px + 18px + 32px);
  background: rgba(255, 255, 255, 0.28);
}
.about-panel--history .about-history.is-active li:not(:last-child)::after {
  opacity: 1;
}
.about-panel--history .about-history li {
  margin: 0 0 0 14px;
  padding: 18px 4px 22px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: none;
  box-shadow: none;
}
.about-panel--history .about-history li:last-child {
  margin-bottom: 0;
  padding-bottom: 4px;
}
.about-panel--history .about-history li::before {
  left: -19px;
  top: 24px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 77, 255, 0.45);
}
.about-panel--history .about-history li.is-visible::before {
  animation: history-marker-pulse-on-dark 0.8s calc(var(--history-i, 0) * 0.05s + 0.1s) ease-out both;
}
@keyframes history-marker-pulse-on-dark {
  0% { box-shadow: 0 0 0 0 rgba(111, 158, 212, 0.55); }
  55% { box-shadow: 0 0 0 10px rgba(111, 158, 212, 0); }
  100% { box-shadow: 0 0 0 4px rgba(25, 77, 255, 0.45); }
}
.about-panel--history .about-history time {
  color: #fff;
  border: 0;
  background: none;
  backdrop-filter: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.about-panel--history .about-history h3 {
  color: #fff;
}
.about-panel--history .about-history p {
  color: rgba(255, 255, 255, 0.72);
}
.about-panel--history-soft {
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 28%, var(--line));
  background:
    linear-gradient(160deg, #f5f8fc 0%, #fff 46%, #eef3f9 100%);
  box-shadow: 0 14px 40px rgba(2, 73, 149, 0.06);
}
.about-panel--history-soft .about-panel__bg::before {
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-position: center, right center;
}
.about-panel--history-soft .about-panel__bg::after {
  opacity: 0.1;
  mix-blend-mode: multiply;
}
.about-panel--history-soft .about-panel__head {
  display: none;
}
.about-panel--history-soft .about-history li {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 22%, var(--line));
  backdrop-filter: none;
}
.about-panel--history-soft .about-panel__title,
.about-panel--history-soft .about-panel__lead {
  color: var(--navy);
}
.about-panel--history-soft .about-panel__lead {
  color: var(--muted);
}
.about-panel--history-soft .about-panel__badge {
  filter: none;
  opacity: 1;
}
.about-panel--history-soft .about-history time,
.about-panel--history-soft .about-history h3 {
  color: var(--navy);
}
.about-panel--history-soft .about-history time {
  border: 0;
  background: none;
}
.about-panel--history-soft .about-history p {
  color: var(--muted);
}
.about-panel--history-soft .about-history li::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--light-blue-2) 35%, #fff);
}
.about-panel__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 90% 8%, rgba(25, 77, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 90%, rgba(111, 158, 212, 0.18), transparent 50%);
}
.about-panel__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-position: center, right center;
}
.about-panel__bg::after {
  display: none;
}
.about-panel__head {
  position: relative;
  z-index: 1;
  padding: 28px 28px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.about-panel__head--history {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.about-panel__head-text {
  min-width: 0;
}
.about-panel__badge {
  flex: 0 0 auto;
  width: clamp(72px, 10vw, 104px);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
  opacity: 0.95;
}
.about-panel__title {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.about-panel__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.about-partners {
  margin-bottom: 8px;
}
.about-banks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.about-banks__item {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.about-banks__item:hover {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  box-shadow: 0 12px 28px rgba(2, 73, 149, 0.08);
  transform: translateY(-2px);
}
.about-banks__item img {
  display: block;
  width: 48px;
  height: 48px;
  max-width: 48px;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: filter 0.2s, opacity 0.2s;
}
.about-banks__item:hover img {
  filter: none;
  opacity: 1;
}
.about-banks__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px dashed color-mix(in srgb, var(--light-blue-1) 35%, var(--line));
  background: color-mix(in srgb, var(--bg) 55%, #fff);
}
.about-banks__more p {
  margin: 0;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.about-banks__more .btn {
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .about-banks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .about-banks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-banks__item {
    min-height: 80px;
    padding: 14px 12px;
  }
  .about-banks__item img {
    width: 40px;
    height: 40px;
    max-width: 40px;
  }
  .about-banks__more {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-banks__more .btn {
    width: auto;
    justify-content: center;
  }
}

/* legacy partners band kept for other pages if any */
.about-partners-band {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: var(--r);
  color: var(--navy);
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 26%, var(--line));
  background:
    linear-gradient(135deg, #f4f8fc 0%, #fff 50%, #eef4fa 100%);
}
.about-partners-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-position: center, right center;
  pointer-events: none;
}
.about-partners-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
}
.about-partners-band__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.about-partners-band__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
  color: var(--blue);
  filter: none;
}
.about-partners-band__text p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.about-partners-band .btn--white {
  background: var(--navy);
  color: #fff;
}
.about-partners-band__logos {
  filter: none;
  opacity: 1;
}
.about-partners-band__logos.bank-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.about-partners-band__logos .bank-grid__item {
  min-height: 104px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.94);
}
.about-partners-band__logos .bank-grid__item img {
  width: 48px;
  height: 48px;
}
.about-partners-band__logos .bank-grid__item span {
  font-size: 11px;
}
.about-partners-band__note {
  margin: 16px 0 0;
  color: var(--muted);
}
.about-partners-band__note a {
  color: var(--blue);
}

.about-cta-band {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  padding: 36px 28px;
  border-radius: var(--r);
  text-align: center;
  color: #fff;
  background: var(--brand-windows-blue);
}
.about-cta-band__pattern {
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}
.about-cta-band__pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-windows-scrim-center);
  pointer-events: none;
}
.about-cta-band__inner {
  position: relative;
  z-index: 1;
}
.about-cta-band__logo {
  display: block;
  width: 148px;
  height: auto;
  margin: 0 auto 14px;
}
.about-cta-band__slogan {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.about-cta-band__text {
  margin: 0 auto 20px;
  max-width: 32rem;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.about-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn--outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.72);
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

@media (max-width: 1100px) {
  .about-stats-band__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-social-grid--mosaic,
  .about-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-brand-tile,
  .about-social-card--featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .about-projects--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-project--featured {
    grid-column: span 1;
  }
  .about-projects--bento .about-project:not(.about-project--featured) {
    grid-column: span 1;
  }
}
@media (max-width: 900px) {
  .brand-pattern-strip {
    display: none;
  }
  .about-panel__head--history {
    flex-wrap: wrap;
  }
  .about-panel__badge {
    width: 72px;
  }
  .about-brand-hero,
  .about-process,
  .about-lead-section__layout,
  .about-partners-band__inner {
    grid-template-columns: 1fr;
  }
  .about-process__media-stack {
    grid-template-columns: 1fr;
  }
  .about-process__media img,
  .about-process__media--second img {
    min-height: 280px;
    max-height: 360px;
  }
  .about-photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-photo-strip__item:first-child {
    grid-column: span 2;
  }
  .about-brand-hero__media img {
    min-height: 200px;
  }
}
@media (max-width: 640px) {
  .about-stats-band__grid,
  .about-photo-strip {
    grid-template-columns: 1fr;
  }
  .about-photo-strip__item:first-child {
    grid-column: auto;
  }
  .about-social-grid,
  .about-social-grid--mosaic,
  .about-projects--bento {
    grid-template-columns: 1fr;
  }
  .about-brand-tile,
  .about-social-card--featured,
  .about-project--featured {
    grid-column: auto;
    grid-row: auto;
  }
  .about-brand-hero,
  .about-stats-band,
  .about-process,
  .about-panel,
  .about-partners-band,
  .about-cta-band {
    padding: 22px 18px;
  }
  .about-stats-band__grid {
    gap: 8px;
  }
  .about-stat {
    padding: 14px 10px;
  }
  .about-stat strong {
    font-size: clamp(20px, 7vw, 26px);
  }
}

.about-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.about-links__item {
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease;
}
.about-links__item:hover { border-color: var(--blue); }
.about-links__item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 16px;
}
.about-links__item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-projects { grid-template-columns: 1fr; }
  .about-lead-grid,
  .about-links { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-history li {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-left: 14px;
    padding: 14px 16px;
  }
  .about-history li::before {
    top: 20px;
  }
  .about-history li:not(:last-child)::after {
    top: 28px;
    height: calc(100% - 28px + 14px + 14px + 28px);
  }
  .about-panel--history .about-history li:not(:last-child)::after {
    top: 28px;
    height: calc(100% - 28px + 18px + 28px);
  }
  .about-checklist li { padding-left: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-history li:not(:last-child)::after {
    opacity: 1;
    transition: none;
  }
  .about-history li,
  .about-history li::before {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .about-history li.is-visible time,
  .about-history time {
    color: var(--navy);
  }
  .about-panel--history .about-history li.is-visible time,
  .about-panel--history .about-history time {
    color: var(--light-blue-2);
  }
}
/* —— JK lead / заявка —— */
.jk-lead {
  padding-top: 40px;
  padding-bottom: 48px;
}
.jk-lead__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.jk-lead__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.jk-lead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 10%, rgba(25,77,255,0.25), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(2,73,149,0.22), transparent 55%),
    linear-gradient(180deg, rgba(0,43,83,0.95) 0%, rgba(2,73,149,0.78) 55%, rgba(0,43,83,0.98) 100%);
  transform: scale(1.02);
  pointer-events: none;
}
.jk-lead__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease, ease);
}
.jk-lead__panel:hover .jk-lead__visual > img {
  transform: scale(1.08);
}
.jk-lead__visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 43, 83, 0.82) 8%, rgba(0, 43, 83, 0.35) 48%, rgba(2, 73, 149, 0.55) 100%),
    linear-gradient(0deg, rgba(0, 20, 40, 0.45), transparent 42%);
  pointer-events: none;
}
.jk-lead__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 36px 32px 40px;
  color: var(--white);
}
.jk-lead__logo {
  display: block;
  width: auto;
  max-width: min(240px, 70%);
  height: auto;
  max-height: 54px;
  margin: 0 0 2px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.3));
  animation: jkLeadIn 0.7s ease both;
}
.jk-lead__logo--leto {
  max-width: min(170px, 52%);
  max-height: 92px;
}
.jk-lead__brand {
  font-family: var(--font);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 2px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  animation: jkLeadIn 0.7s ease both;
}
.jk-lead__copy h2 {
  font-family: var(--font);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  max-width: 16em;
  margin: 0;
  text-wrap: balance;
  animation: jkLeadIn 0.7s ease 0.08s both;
}
.jk-lead--borovoe .jk-lead__visual-shade {
  background:
    linear-gradient(160deg, rgba(28, 29, 61, 0.9) 8%, rgba(57, 50, 118, 0.45) 48%, rgba(76, 128, 3, 0.5) 100%),
    linear-gradient(0deg, rgba(16, 18, 40, 0.5), transparent 42%);
}
.jk-lead--leto .jk-lead__visual-shade {
  background:
    linear-gradient(160deg, rgba(28, 30, 34, 0.82) 6%, rgba(48, 52, 58, 0.58) 46%, rgba(72, 76, 82, 0.48) 100%),
    linear-gradient(0deg, rgba(20, 22, 26, 0.7) 0%, rgba(20, 22, 26, 0.28) 52%, transparent 100%);
}
.jk-lead--build .jk-lead__visual > img {
  object-position: center 35%;
}
.jk-lead--build .jk-lead__visual-shade {
  background:
    linear-gradient(155deg, rgba(0, 43, 83, 0.88) 6%, rgba(0, 43, 83, 0.42) 46%, rgba(2, 73, 149, 0.58) 100%),
    linear-gradient(0deg, rgba(0, 20, 40, 0.55), transparent 48%);
}
.jk-contacts--borovoe .jk-contacts__invite-shade {
  background:
    linear-gradient(180deg, rgba(16, 18, 40, 0.42) 0%, rgba(28, 29, 61, 0.78) 45%, rgba(12, 14, 32, 0.95) 100%),
    linear-gradient(125deg, rgba(28, 29, 61, 0.88) 0%, rgba(57, 50, 118, 0.35) 55%, rgba(40, 70, 8, 0.45) 100%);
}
.jk-contacts--leto .jk-contacts__invite-shade {
  background:
    linear-gradient(145deg, rgba(20, 12, 0, 0.9) 0%, rgba(80, 36, 0, 0.48) 45%, rgba(243, 149, 19, 0.55) 100%),
    linear-gradient(0deg, rgba(20, 10, 0, 0.45), transparent 50%);
}
.jk-lead__text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34em;
  margin: 0 0 10px;
  animation: jkLeadIn 0.7s ease 0.14s both;
}
.jk-lead__perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: jkLeadIn 0.7s ease 0.2s both;
}
.jk-lead__perks li {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.jk-lead__perks strong {
  display: block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.jk-lead__perks span {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}
.jk-lead__form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px 34px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(2, 73, 149, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 42%, #eef4fa 100%);
}
.jk-lead__form-kicker {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.jk-lead__form-title {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.2;
}
.jk-lead__form .field label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 75%, var(--muted));
}
.jk-lead__form .field input,
.jk-lead__form .field select,
.jk-lead__form .field textarea {
  border-color: color-mix(in srgb, var(--line) 70%, var(--sky));
  background-color: var(--white);
  box-shadow: 0 1px 0 rgba(0, 43, 83, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.jk-lead__form .field select {
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 9px;
  padding-right: 40px;
}
.jk-lead__form .field input:hover,
.jk-lead__form .field select:hover,
.jk-lead__form .field textarea:hover {
  border-color: color-mix(in srgb, var(--sky) 55%, var(--line));
}
.jk-lead__form .field input:focus,
.jk-lead__form .field select:focus,
.jk-lead__form .field textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(2, 73, 149, 0.12);
}
.jk-lead__submit {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease, ease), box-shadow 0.2s;
}
.jk-lead__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 43, 83, 0.22);
}
.jk-lead__form-wrap > .form-success {
  margin-bottom: 14px;
}
.jk-lead__form-wrap:has(.form-success:not([hidden])) .jk-lead__form {
  display: none;
}

@keyframes jkLeadIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .jk-lead__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .jk-lead__visual {
    min-height: 340px;
  }
  .jk-lead__copy {
    padding: 28px 24px 30px;
  }
  .jk-lead__form-wrap {
    padding: 28px 22px 26px;
  }
}
@media (max-width: 640px) {
  .jk-lead__perks {
    grid-template-columns: 1fr;
  }
  .jk-lead__brand {
    font-size: 36px;
  }
  .jk-lead__copy h2 {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jk-lead__logo,
  .jk-lead__brand,
  .jk-lead__copy h2,
  .jk-lead__text,
  .jk-lead__perks {
    animation: none;
  }
  .jk-lead__visual > img,
  .jk-lead__panel:hover .jk-lead__visual > img {
    transform: none;
    transition: none;
  }
  .jk-lead__submit:hover,
  .jk-lead__form .field input:focus,
  .jk-lead__form .field select:focus,
  .jk-lead__form .field textarea:focus {
    transform: none;
  }
}

/* —— Selection shortlist mock —— */
.selection-head__kicker {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}
.selection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.selection-meta__expiry {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}
.selection-meta__note {
  margin: 0;
}
.selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.selection-share-note {
  margin: 14px 0 0;
  max-width: 40rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.field__optional {
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.selection-actions [data-open-mail-selection]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.selection-list {
  display: grid;
  gap: 18px;
}
.selection-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
}
.selection-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--plan-ratio);
  background: #fff;
  padding: var(--plan-pad);
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
}
.selection-card__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.selection-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  padding: 18px 20px;
  align-items: start;
}
.selection-card__jk {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky);
}
.selection-card__title {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.selection-card__title a {
  color: inherit;
  text-decoration: none;
}
.selection-card__title a:hover {
  color: var(--blue);
}
.selection-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 10px 0 0;
}
.selection-card__specs dt {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.selection-card__specs dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.selection-card__aside {
  text-align: right;
  min-width: 160px;
}
.selection-card__price {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  color: var(--price);
}
.selection-card__price strong { font-weight: 600; }
.selection-card__price-old {
  display: block;
  margin: 0 0 2px;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.selection-card__mort {
  margin: 6px 0 12px;
  font-size: 13px;
  color: var(--muted);
}
.selection-footer-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.selection-footer-note h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--navy);
}
.selection-footer-note > p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .selection-card {
    grid-template-columns: 1fr;
  }
  .selection-card__media {
    height: auto;
    max-height: none;
  }
  .selection-card__body {
    grid-template-columns: 1fr;
  }
  .selection-card__aside {
    text-align: left;
  }
}
.apt-sheets {
  display: none;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
  .header,
  .nav-mobile,
  .sticky-cta,
  .cookies,
  .modal,
  .lightbox,
  .no-print {
    display: none !important;
  }
  .selection-card {
    break-inside: avoid;
  }
  .page-main {
    padding-top: 0;
  }
  body:has(.apt-sheets .apt-sheet) {
    background: #fff !important;
  }
  body:has(.apt-sheets .apt-sheet) .header,
  body:has(.apt-sheets .apt-sheet) .nav-mobile,
  body:has(.apt-sheets .apt-sheet) .footer,
  body:has(.apt-sheets .apt-sheet) .sticky-cta,
  body:has(.apt-sheets .apt-sheet) .cookies,
  body:has(.apt-sheets .apt-sheet) .modal,
  body:has(.apt-sheets .apt-sheet) .lightbox,
  body:has(.apt-sheets .apt-sheet) .no-print,
  body:has(.apt-sheets .apt-sheet) .page-main {
    display: none !important;
  }
  .apt-sheets {
    display: block;
  }
  .apt-sheet {
    box-sizing: border-box;
    width: 190mm;
    height: 277mm;
    display: flex;
    flex-direction: column;
    color: #002b53;
    font-family: "Raleway", system-ui, sans-serif;
    break-after: page;
    page-break-after: always;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .apt-sheet:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  .apt-sheet__head {
    flex: 0 0 auto;
    padding-bottom: 6mm;
    border-bottom: 0.4mm solid #002b53;
    margin-bottom: 6mm;
  }
  .apt-sheet__brand {
    display: flex;
    align-items: center;
    gap: 4mm;
    margin-bottom: 4mm;
  }
  .apt-sheet__brand img {
    width: 38mm;
    height: auto;
  }
  .apt-sheet__brand span {
    font-size: 9pt;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #024995;
  }
  .apt-sheet__hello {
    margin: 0 0 2mm;
    font-size: 16pt;
    font-weight: 700;
    line-height: 1.25;
  }
  .apt-sheet__jk {
    margin: 0;
    font-size: 10pt;
    line-height: 1.4;
    color: #3973b9;
  }
  .apt-sheet__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6mm;
    flex: 0 0 48%;
    min-height: 0;
  }
  .apt-sheet__photo {
    box-sizing: border-box;
    height: 100%;
    border: 0.3mm solid #d7dde5;
    border-radius: 4mm;
    padding: 4mm;
    display: grid;
    place-items: center;
    background: #fff;
    overflow: hidden;
  }
  .apt-sheet__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .apt-sheet__info {
    box-sizing: border-box;
    height: 100%;
    border: 0.3mm solid #d7dde5;
    border-radius: 4mm;
    padding: 5mm;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
  }
  .apt-sheet__rooms {
    margin: 0 0 1mm;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3973b9;
  }
  .apt-sheet__info h2 {
    margin: 0 0 3mm;
    font-size: 16pt;
    font-weight: 700;
    line-height: 1.2;
  }
  .apt-sheet__price {
    margin: 0 0 1mm;
    font-size: 14pt;
    font-weight: 700;
  }
  .apt-sheet__mort {
    margin: 0 0 4mm;
    font-size: 9pt;
    color: #3973b9;
  }
  .apt-sheet__specs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 1.6mm;
    font-size: 9pt;
  }
  .apt-sheet__specs li {
    display: flex;
    justify-content: space-between;
    gap: 4mm;
    border-bottom: 0.2mm solid #e7ebf0;
    padding-bottom: 1.2mm;
  }
  .apt-sheet__specs span {
    color: #6f9ed4;
  }
  .apt-sheet__specs strong {
    font-weight: 700;
    text-align: right;
  }
  .apt-sheet__manager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6mm;
    margin-top: 6mm;
    padding: 4mm 5mm;
    border: 0.3mm solid #002b53;
    border-radius: 4mm;
  }
  .apt-sheet__manager span {
    display: block;
    margin-bottom: 1mm;
    font-size: 8pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3973b9;
  }
  .apt-sheet__manager strong {
    font-size: 12pt;
    font-weight: 700;
  }
  .apt-sheet__spacer {
    flex: 1 1 auto;
  }
  .apt-sheet__foot {
    flex: 0 0 auto;
    padding-top: 5mm;
    border-top: 0.4mm solid #002b53;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 5mm;
    font-size: 8.5pt;
    line-height: 1.4;
  }
  .apt-sheet__foot strong {
    display: block;
    margin-bottom: 1mm;
    font-size: 9pt;
  }
  .apt-sheet__foot p {
    margin: 0;
  }
  .apt-sheet__note {
    grid-column: 1 / -1;
    margin: 3mm 0 0;
    font-size: 7.5pt;
    color: #6f9ed4;
  }
}

/* —— Brand unification (tokens) —— */
.team-card,
.info-tile,
.infra-item,
.stat-card,
.step,
.acc-item,
.apt-card,
.office-card,
.calc-card,
.form-card,
.content-card,
.jk-card,
.promo-card,
.doc-row,
.mortgage-offers,
.pay-panel,
.jk-contacts:not(.jk-contacts--invite):not(.jk-contacts--media) {
  border-radius: var(--r);
}
.gallery__thumbs button,
.photo-row img,
.flats-catalog.is-list .flat-card__media {
  border-radius: var(--r-sm);
}
.build-card__media,
.trust__photo,
.article-hero,
.gallery__main,
.jk-highlight__media,
.map-block {
  border-radius: var(--r);
  overflow: hidden;
}
.build-card__media img,
.trust__photo img,
.article-hero img,
.jk-highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.note,
.text-muted {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.field input,
.field select,
.field textarea {
  border-radius: var(--r-sm);
}

/* —— JK office contacts (directory, not lead-form twin) —— */
/* —— JK visit / office contacts (photo + directory) —— */
.jk-visit {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  min-height: min(520px, 70vh);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.jk-visit__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #1c1d3d;
}
.jk-visit__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease, ease);
}
.jk-visit:hover .jk-visit__media > img {
  transform: scale(1.06);
}
.jk-visit__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 18, 40, 0.15) 0%, rgba(16, 18, 40, 0.55) 100%),
    linear-gradient(90deg, rgba(16, 18, 40, 0.25) 0%, transparent 60%);
}
.jk-visit__brand {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
  max-width: 22rem;
}
.jk-visit__logo {
  display: block;
  width: min(200px, 70%);
  height: auto;
  margin-bottom: 12px;
}
.jk-visit__brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.jk-visit__panel {
  order: -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(165deg, #f7faf2 0%, #fff 42%, #f3f7ea 100%);
}
.jk-visit__eyebrow {
  margin: 0;
  font-family: var(--font-label, var(--font));
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f8200;
}
.jk-visit__panel h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  color: #1c1d3d;
  line-height: 1.15;
}
.jk-visit__phone {
  margin-top: 4px;
  font-family: var(--font);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #1c1d3d;
  text-decoration: none;
  transition: color 0.2s ease;
}
.jk-visit__phone:hover {
  color: #5f8200;
}
.jk-visit__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.jk-visit__list {
  margin: 10px 0 4px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(141, 176, 0, 0.28);
  display: grid;
  gap: 14px;
}
.jk-visit__list > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.jk-visit__list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.jk-visit__list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c1d3d;
}
.jk-visit__list dd span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.jk-visit__list dd a {
  color: inherit;
  text-decoration: none;
}
.jk-visit__list dd a:hover {
  color: #5f8200;
}
.jk-visit__list dd > a[href*="maps"] {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5f8200;
}
.jk-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.jk-visit__actions .btn {
  justify-content: center;
}
.jk-visit--borovoe .jk-visit__actions .btn--navy {
  background: #1c1d3d;
  color: #fff;
}
.jk-visit--borovoe .jk-visit__actions .btn--navy:hover {
  background: #2a2b55;
}
.jk-visit--borovoe .jk-visit__actions .btn--outline {
  border-color: color-mix(in srgb, #8db000 42%, var(--line));
  color: #1c1d3d;
  background: #fff;
}
.jk-visit--borovoe .jk-visit__actions .btn--outline:hover {
  background: #1c1d3d;
  border-color: #1c1d3d;
  color: #fff;
}
.jk-visit--borovoe .jk-visit__shade {
  background:
    linear-gradient(180deg, rgba(16, 18, 40, 0.08) 0%, rgba(16, 18, 40, 0.62) 100%),
    linear-gradient(115deg, transparent 35%, rgba(76, 128, 3, 0.22) 100%);
}
.jk-visit--borovoe .jk-visit__brand {
  z-index: 2;
}
.jk-visit--borovoe .jk-visit__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(141, 176, 0, 0.12), transparent 58%),
    linear-gradient(165deg, #f7faf2 0%, #fff 42%, #f3f7ea 100%);
}
.jk-visit--borovoe .jk-visit__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background: url("/local/templates/vmu/assets/css/../images/jk-borovoe/pattern/tile-light.svg") right -80px bottom -90px / 340px auto no-repeat;
}
.jk-visit--borovoe .jk-visit__panel > * {
  position: relative;
  z-index: 1;
}
.jk-visit--leto .jk-visit__shade {
  background: linear-gradient(180deg, transparent 42%, rgba(16, 18, 22, 0.58) 100%);
}
.jk-visit--leto .jk-visit__brand {
  z-index: 2;
}
.jk-visit--leto .jk-visit__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(255, 113, 3, 0.1), transparent 58%),
    linear-gradient(165deg, #fff8ef 0%, #fff 42%, #fff3e4 100%);
}
.jk-visit--leto .jk-visit__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background: url("/local/templates/vmu/assets/css/../images/jk-leto/pattern/rings-dark.svg") right -90px bottom -110px / 380px auto no-repeat;
}
.jk-visit--leto .jk-visit__panel > * {
  position: relative;
  z-index: 1;
}
.jk-visit--leto .jk-visit__eyebrow {
  color: #c46a00;
}
.jk-visit--leto .jk-visit__phone {
  color: #c46a00;
}
.jk-visit--leto .jk-visit__phone:hover {
  color: #8a4f00;
}
.jk-visit--leto .jk-visit__list dd > a[href*="maps"] {
  color: #c46a00;
}
.jk-visit--leto .jk-visit__actions .btn--navy {
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  border: none;
  color: #fff;
}
.jk-visit--leto .jk-visit__actions .btn--navy:hover {
  filter: brightness(1.05);
}
.jk-visit--leto .jk-visit__actions .btn--outline {
  border-color: color-mix(in srgb, #f39513 45%, var(--line));
  color: #8a4f00;
  background: #fff;
}
.jk-visit--leto .jk-visit__actions .btn--outline:hover {
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 960px) {
  .jk-visit {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .jk-visit__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .jk-visit__list > div {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .jk-visit__list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .jk-visit__actions {
    flex-direction: column;
  }
  .jk-visit__actions .btn {
    width: 100%;
  }
}

.jk-office {
  display: grid;
  gap: 22px;
}
.jk-office__head {
  max-width: 40rem;
}
.jk-office__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.jk-office__head h2 {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  color: var(--navy);
  text-transform: none;
}
.jk-office__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.jk-office__board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 16px;
  align-items: stretch;
}
.jk-office__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.jk-office__fact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 18px 16px;
  background: var(--white);
}
.jk-office__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--blue);
  background: color-mix(in srgb, var(--light-blue-2) 22%, var(--white));
}
.jk-office__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-office__value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
.jk-office__value a {
  color: inherit;
  text-decoration: none;
}
.jk-office__value a:hover {
  color: var(--blue);
}
.jk-office__hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.jk-office__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.jk-office__link:hover {
  text-decoration: underline;
}
.jk-office__call {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 20px;
  border-radius: var(--r-md);
  border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--light-blue-2) 18%, var(--white)) 0%, var(--white) 55%, color-mix(in srgb, var(--bg) 70%, var(--white)) 100%);
}
.jk-office__call-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.jk-office__phone {
  font-family: var(--font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.jk-office__phone:hover {
  color: var(--blue);
}
.jk-office__call-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.jk-office__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.jk-office__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.jk-office--borovoe .jk-office__eyebrow,
.jk-office--borovoe .jk-office__link,
.jk-office--borovoe .jk-office__ico {
  color: #5f8200;
}
.jk-office--borovoe .jk-office__ico {
  background: rgba(141, 176, 0, 0.14);
}
.jk-office--borovoe .jk-office__call {
  border-color: rgba(141, 176, 0, 0.35);
  background:
    linear-gradient(160deg, #f4f8e8 0%, #fff 52%, #eef4df 100%);
}
.jk-office--borovoe .jk-office__actions .btn--navy {
  background: #1c1d3d;
  color: #fff;
}
.jk-office--borovoe .jk-office__actions .btn--navy:hover {
  background: #2a2b55;
}
.jk-office--borovoe .jk-office__actions .btn--outline {
  border-color: color-mix(in srgb, #8db000 40%, var(--line));
  color: #1c1d3d;
  background: #fff;
}
.jk-office--borovoe .jk-office__actions .btn--outline:hover {
  background: #1c1d3d;
  border-color: #1c1d3d;
  color: #fff;
}

.jk-office--leto .jk-office__eyebrow,
.jk-office--leto .jk-office__link,
.jk-office--leto .jk-office__ico {
  color: #c46a00;
}
.jk-office--leto .jk-office__ico {
  background: rgba(243, 149, 19, 0.14);
}
.jk-office--leto .jk-office__call {
  border-color: rgba(243, 149, 19, 0.4);
  background:
    linear-gradient(160deg, #fff6e8 0%, #fff 52%, #ffefd8 100%);
}
.jk-office--leto .jk-office__actions .btn--navy {
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  border: none;
  color: #fff;
}
.jk-office--leto .jk-office__actions .btn--navy:hover {
  filter: brightness(1.05);
}
.jk-office--leto .jk-office__actions .btn--outline {
  border-color: color-mix(in srgb, #f39513 45%, var(--line));
  color: #8a4f00;
  background: #fff;
}
.jk-office--leto .jk-office__actions .btn--outline:hover {
  background: linear-gradient(135deg, #f39513 0%, #ff7103 100%);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 900px) {
  .jk-office__board {
    grid-template-columns: 1fr;
  }
  .jk-office__call {
    order: -1;
  }
}
@media (max-width: 640px) {
  .jk-office__facts {
    grid-template-columns: 1fr;
  }
  .jk-office__actions {
    flex-direction: column;
  }
  .jk-office__actions .btn {
    width: 100%;
  }
}

/* —— About one-page: section heads with brand bg, content plain —— */
.page--about .about-block {
  padding: 12px 0 36px;
}
.page--about .about-block__content {
  background: transparent;
}
.page--about .about-inline-title {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--navy);
}
.about-section-band__inner--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}
.about-section-band__inner--row > div:first-child {
  max-width: 46rem;
}
@media (max-width: 760px) {
  .about-section-band__inner--row {
    flex-direction: column;
    align-items: stretch;
  }
}

.why-showcase--plain {
  padding: 8px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.why-showcase--plain .why-showcase__grid {
  gap: 20px 28px;
}

/* Читаемый вариант преимуществ: сетка 2×2, номера, контрастный текст */
.why-showcase__grid--pros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.why-pro {
  display: block;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--navy) 10%, #e6ebf2);
  box-shadow: 0 10px 28px rgba(0, 43, 83, 0.06);
}
.why-pro__num {
  display: none;
}
.why-pro__body h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.why-pro__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.why-pro__body li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--navy) 78%, #4b5563);
}
.why-pro__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  transform: translateY(-50%);
}
@media (max-width: 760px) {
  .why-showcase__grid--pros {
    grid-template-columns: 1fr;
  }
  .why-pro {
    padding: 18px 16px;
  }
}

.page--about .why-card {
  padding: 8px 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.page--about .why-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.page--about .why-card__icon,
.page--about .about-process__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--blue) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 22%, transparent);
}
.page--about .why-card__icon img,
.page--about .about-process__icon img {
  width: 44px;
  height: 44px;
  filter: none;
}

.about-process--plain {
  padding: 8px 8px 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.about-process--plain .about-process__content {
  overflow: visible;
  padding-left: 6px;
}
.about-process--plain .about-process__steps {
  gap: 52px;
  margin-top: 8px;
  overflow: visible;
}
.about-process--plain .about-process__steps li {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 20px;
  overflow: visible;
}
.about-process--plain .about-process__num {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--blue);
  background: none;
  box-shadow: none;
  padding-top: 2px;
}
.page--about .about-social-card {
  background: transparent;
  border: none;
  padding: 0;
  gap: 8px;
}
.page--about .about-social-card__img {
  border-radius: var(--r);
}
.page--about .about-project {
  background: transparent;
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: none;
}
.page--about .about-project__body {
  padding-left: 0;
  padding-right: 0;
}
.page--about .about-links__item {
  background: transparent;
}
.page--about .about-page-head {
  margin-bottom: 18px;
}
.page--about .about-page-head .section-title {
  margin: 0 0 8px;
  color: var(--navy);
}
.page--about .about-page-head .section-lead {
  margin: 0;
  color: var(--muted);
}
.page--about .about-page-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page--about .about-page-head--row > div:first-child {
  max-width: 46rem;
}
.page--about .about-page-head .why-showcase__stat {
  padding: 0;
  min-width: 200px;
  border-radius: 0;
  background: none;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--navy);
}
.page--about .about-page-head .why-showcase__stat::before {
  display: none;
}
.page--about .about-page-head .why-showcase__stat strong {
  color: var(--blue);
}
.page--about .about-page-head .why-showcase__stat span {
  color: var(--muted);
}
@media (max-width: 760px) {
  .page--about .about-page-head--row {
    flex-direction: column;
    align-items: stretch;
  }
}
.page--about .about-section-band:has(.brand-pattern--windows):not(.about-section-band--soft),
.page--about .about-section-band:has(.brand-pattern--windows-bright):not(.about-section-band--soft) {
  background: transparent;
  color: var(--navy);
}
.page--about .about-section-band:has(.brand-pattern--windows):not(.about-section-band--soft) .brand-pattern--windows::after,
.page--about .about-section-band:has(.brand-pattern--windows-bright):not(.about-section-band--soft) .brand-pattern--windows-bright::after {
  display: none;
}
.page--about .about-section-band {
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.page--about .about-section-band .brand-pattern,
.page--about .about-section-band .brand-pattern::after {
  display: none;
}
.page--about .about-section-band .section-title {
  color: var(--navy);
}
.page--about .about-section-band .section-lead {
  color: var(--muted);
}
.page--about .about-section-band .why-showcase__stat {
  padding: 0;
  min-width: 200px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--navy);
}
.page--about .about-section-band .why-showcase__stat::before {
  display: none;
}
.page--about .about-section-band .why-showcase__stat strong {
  color: var(--blue);
}
.page--about .about-section-band .why-showcase__stat span {
  color: var(--muted);
}
.page--about .about-cta-band {
  margin-bottom: 36px;
  padding: 0;
  border-radius: 0;
  text-align: left;
  color: var(--navy);
  background: transparent;
  overflow: visible;
}
.page--about .about-cta-band__pattern,
.page--about .about-cta-band__pattern::after {
  display: none;
}
.page--about .about-cta-band__logo,
.page--about .about-cta-band__slogan {
  display: none;
}
.page--about .about-cta-band__text {
  margin: 0 0 20px;
  max-width: 36rem;
  color: var(--muted);
}
.page--about .about-partners-band__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-right: 10px;
  vertical-align: middle;
  color: #fff;
  object-fit: contain;
}
.page--about .about-partners-band__icon svg {
  display: block;
}
.page--about .about-panel__badge {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Единое выравнивание кнопок: слева в секциях, по центру — только в промо-полосе */
.page--about .about-process__actions,
.page--about .about-leaders__more,
.page--about .about-actions,
.page--about .map-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}
.page--about .map-block__actions {
  margin-top: 16px;
}
.page--about .about-banks__more {
  align-items: center;
}
.page--about .about-cta-band__actions {
  justify-content: flex-start;
}

/* —— Новости компании — фирменный стиль как у о компании —— */
.page--news .news-brand-intro,
.page--otdelka .news-brand-intro {
  margin: 8px 0 8px;
  box-shadow: 0 14px 36px rgba(0, 43, 83, 0.16);
}
.page--news .news-brand-intro .brand-pattern,
.page--otdelka .news-brand-intro .brand-pattern {
  opacity: 0.5;
}
.page--news .news-brand-intro__inner,
.page--otdelka .news-brand-intro__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: none;
}
.page--news .news-brand-intro__logo,
.page--otdelka .news-brand-intro__logo {
  display: block;
  width: 148px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}
.page--news .news-brand-intro__text,
.page--otdelka .news-brand-intro__text {
  margin: 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.page--news .content-card {
  border-color: color-mix(in srgb, var(--light-blue-1) 22%, var(--line));
  box-shadow: 0 8px 24px rgba(2, 73, 149, 0.04);
}
.page--news .content-card:hover {
  border-color: color-mix(in srgb, var(--sky) 35%, var(--line));
  box-shadow: 0 14px 32px rgba(2, 73, 149, 0.1);
}
.page--news .content-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.page--news .content-card__title a:hover {
  color: var(--sky);
}
.page--news .content-card__link {
  color: var(--navy);
}
.page--news .content-card__link:hover {
  color: var(--blue);
}
.page--news .article-hero {
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 43, 83, 0.12);
}
.page--news .article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0, 21, 38, 0.28) 100%),
    linear-gradient(115deg, rgba(0, 43, 83, 0.12) 0%, transparent 45%);
}
.page--news .about-cta-band {
  margin-top: 36px;
}
.page--otdelka .about-cta-band {
  margin-top: 12px;
  margin-bottom: 36px;
}
.page--otdelka .content-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.page--otdelka .content-card__title a:hover {
  color: var(--sky);
}
.page--otdelka .content-card__link {
  color: var(--blue);
}
.page--news .form-card--lead {
  border-color: color-mix(in srgb, var(--light-blue-1) 28%, var(--line));
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(2, 73, 149, 0.07), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #fff 55%);
}
@media (max-width: 640px) {
  .page--news .news-brand-intro__inner,
  .page--otdelka .news-brand-intro__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Ход строительства: фотоотчёты и онлайн-трансляции —— */
.build-report__shot,
.photo-row__shot {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: inherit;
}
.build-report__shot {
  position: absolute;
  inset: 0;
  height: 100%;
}
.build-report__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.build-report__shot--rest { display: none; }
.build-report__tag { pointer-events: none; }
.build-report__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 18, 38, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.corpus-progress__note {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Стоп-кадр камеры уступает место iframe только после нажатия play */
.camera-preview__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  background: #001226;
}
.camera-preview__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.camera-preview.is-live .camera-preview__frame { display: block; }
/* Ссылка плеера подписывается на сервере — на время запроса гасим кнопку */
.camera-preview.is-loading .camera-preview__play {
  pointer-events: none;
  opacity: .55;
}
.camera-preview.is-live .camera-preview__play,
.camera-preview.is-live .camera-preview__hud,
.camera-preview.is-live .camera-preview__scrim {
  opacity: 0;
  visibility: hidden;
}

/* ===== Articles (stati) from concept 2026-10-11 ===== */
.page--articles {
  --seo-ink: #0e2744;
}
.page--articles .page-head {
  margin-bottom: 22px;
}
.page--articles .page-head h1 {
  max-width: none;
  width: 100%;
  letter-spacing: -0.02em;
}
.page--articles .page-head__lead {
  max-width: none;
  width: 100%;
}
.page--articles .seo-article__body.prose h2,
.page--articles .seo-article__body.prose h3 {
  max-width: none;
  width: 100%;
}
.page--articles .seo-article__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
}
.page--articles .seo-article__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.page--articles .seo-article__date {
  font-variant-numeric: tabular-nums;
}
.page--articles .seo-article__date-sep {
  opacity: 0.55;
}
.page--articles .badge--muted {
  background: color-mix(in srgb, var(--navy) 8%, #fff);
  color: var(--navy);
}

.page--articles .seo-index-head {
  margin-bottom: 28px;
}
.page--articles .seo-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 28%, var(--line));
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(14, 39, 68, 0.08);
  margin-bottom: 28px;
}
.page--articles .seo-featured__media {
  display: block;
  min-height: 280px;
}
.page--articles .seo-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page--articles .seo-featured__body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(2, 73, 149, 0.08), transparent 55%),
    linear-gradient(180deg, #f6f9fc 0%, #fff 70%);
}
.page--articles .seo-featured__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}
.page--articles .seo-featured h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
}
.page--articles .seo-featured h2 a {
  color: var(--navy);
  text-decoration: none;
}
.page--articles .seo-featured h2 a:hover {
  color: var(--sky);
}
.page--articles .seo-featured p {
  margin: 0;
  color: var(--gray-700);
  max-width: 38rem;
}
.page--articles .seo-featured .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.page--articles .toolbar {
  margin: 0 0 20px;
}
.page--articles .seo-index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.page--articles .seo-featured[hidden],
.page--articles .content-card[hidden] {
  display: none !important;
}
.page--articles .seo-index-grid .content-card {
  display: flex;
  flex-direction: column;
}
.page--articles .seo-index-grid .content-card__media {
  aspect-ratio: 16 / 10;
}
.page--articles .seo-index-grid .content-card__title {
  font-size: 18px;
  line-height: 1.3;
}
.page--articles .seo-index-grid .content-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.page--articles .seo-index-grid .content-card__title a:hover {
  color: var(--sky);
}
.page--articles .seo-index-grid .content-card__link {
  color: var(--blue);
}

.page--articles .seo-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin: 8px 0 36px;
  min-height: 280px;
  box-shadow: 0 22px 48px rgba(14, 39, 68, 0.14);
}
.page--articles .seo-hero .seo-zoom--hero {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.page--articles .seo-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.page--articles .seo-hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 24, 42, 0.78));
}
.page--articles .seo-hero__cap {
  position: absolute;
  left: 22px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.page--articles .seo-article {
  max-width: none;
  width: 100%;
  margin: 0;
}
.page--articles .seo-article__body.prose {
  max-width: none;
  font-size: 18px;
  line-height: 1.75;
  color: var(--seo-ink);
}
.page--articles .seo-article__body.prose > p {
  margin: 0 0 1.15em;
}
.page--articles .seo-article__body.prose h2 {
  margin: 2.4em 0 0.7em;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--sky);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.page--articles .seo-article__body.prose h3 {
  margin: 1.6em 0 0.55em;
  font-size: 19px;
  color: var(--navy);
}
.page--articles .seo-article__body.prose a.seo-link,
.page--articles .seo-article__body.prose a:not(.btn) {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, transparent 72%, color-mix(in srgb, #f2c14e 18%, transparent) 72%);
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 22%, transparent);
  padding: 0 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.page--articles .seo-article__body.prose a.seo-link:hover,
.page--articles .seo-article__body.prose a:not(.btn):hover {
  color: var(--blue);
  border-bottom-color: color-mix(in srgb, var(--sky) 45%, transparent);
  background: linear-gradient(180deg, transparent 72%, color-mix(in srgb, var(--sky) 14%, transparent) 72%);
}
/* Тёмные кнопки в тексте статьи — всегда белый текст */
.page--articles .seo-article__body.prose a.btn--navy,
.page--articles .seo-article__body.prose a.btn--navy:link,
.page--articles .seo-article__body.prose a.btn--navy:visited,
.page--articles .seo-article__body.prose a.btn--navy:hover,
.page--articles .seo-article__body.prose a.btn--pick,
.page--articles .seo-article__body.prose a.btn--call {
  color: #fff;
  background: var(--navy);
  border-bottom: 0;
  box-shadow: 0 10px 24px rgba(2, 73, 149, 0.18);
}
.page--articles .seo-article__body.prose a.btn--navy:hover,
.page--articles .seo-article__body.prose a.btn--pick:hover,
.page--articles .seo-article__body.prose a.btn--call:hover {
  color: #fff;
  background: var(--blue);
}
.page--articles .seo-accent {
  color: var(--navy);
  background: linear-gradient(180deg, transparent 74%, color-mix(in srgb, var(--sky) 14%, transparent) 74%);
  font-weight: 700;
  padding: 0 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.page--articles .seo-article__body a.seo-phone,
.page--articles .seo-article__body .seo-accent a.seo-phone,
.page--articles .seo-article__body a.seo-phone .seo-accent {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 24%, transparent);
  background: linear-gradient(180deg, transparent 72%, color-mix(in srgb, #f2c14e 16%, transparent) 72%);
  white-space: nowrap;
}
.page--articles .seo-article__body a.seo-phone:hover,
.page--articles .seo-article__body .seo-accent a.seo-phone:hover {
  color: var(--blue);
  border-bottom-color: var(--sky);
}
.page--articles .seo-outro a.seo-phone,
.page--articles .seo-outro a.seo-phone:hover {
  color: #fff !important;
  border-bottom-color: rgba(255, 210, 90, 0.75);
}
.page--articles .seo-table a.seo-link {
  background: linear-gradient(180deg, transparent 72%, color-mix(in srgb, #f2c14e 16%, transparent) 72%);
}

.page--articles .seo-callout {
  margin: 28px 0 32px;
  padding: 22px 24px 22px 28px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--sky) 35%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sky) 12%, #fff) 0%, #fff 55%),
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(2, 73, 149, 0.1), transparent 60%);
  box-shadow: 0 14px 36px rgba(14, 39, 68, 0.07);
}
.page--articles .seo-callout__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.page--articles .seo-callout p:last-child {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.6;
}
.page--articles .seo-callout--promo {
  border-color: color-mix(in srgb, #f2c14e 45%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, #f2c14e 18%, #fff) 0%, #fff 60%),
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(242, 193, 78, 0.16), transparent 60%);
}
.page--articles .seo-callout--promo .seo-callout__label {
  color: #9a6b00;
}

.page--articles .seo-cta {
  margin: 28px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page--articles .seo-cta .btn {
  min-height: 48px;
  padding-inline: 22px;
  box-shadow: 0 10px 24px rgba(2, 73, 149, 0.18);
}

.page--articles .seo-list {
  list-style: none;
  margin: 18px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page--articles .seo-list li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 30%, var(--line));
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 70%);
}
.page--articles .seo-list--ul li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 8px 13px 0;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky) 22%, transparent);
}
.page--articles .seo-list--ol {
  counter-reset: seo-step;
}
.page--articles .seo-list--ol li {
  counter-increment: seo-step;
}
.page--articles .seo-list--ol li::before {
  content: counter(seo-step);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 18px rgba(14, 39, 68, 0.18);
}
.page--articles .seo-list__text {
  padding-top: 2px;
}

.page--articles .seo-table-wrap {
  margin: 22px 0 30px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--navy) 12%, var(--line));
  background: #fff;
  box-shadow: 0 16px 40px rgba(14, 39, 68, 0.07);
  overflow: hidden;
}
.page--articles .seo-table-wrap__scroll {
  overflow-x: auto;
}
.page--articles .seo-table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.page--articles .seo-table thead th {
  background: linear-gradient(180deg, #0e2744 0%, #163a5f 100%);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}
.page--articles .seo-table tbody td {
  padding: 13px 16px;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  vertical-align: top;
}
.page--articles .seo-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--light-blue-1) 10%, #fff);
}
.page--articles .seo-table tbody tr:hover td {
  background: color-mix(in srgb, var(--sky) 10%, #fff);
}
.page--articles .seo-table a {
  font-weight: 700;
}

.page--articles .seo-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 32px;
}
.page--articles .seo-media__item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3f7;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(14, 39, 68, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page--articles .seo-media__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(14, 39, 68, 0.12);
}
.page--articles .seo-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.page--articles .seo-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.page--articles .seo-media__item:hover img {
  transform: scale(1.04);
}
.page--articles .seo-zoom__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 24, 42, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.page--articles .seo-zoom:hover .seo-zoom__hint,
.page--articles .seo-zoom:focus-visible .seo-zoom__hint {
  opacity: 1;
  transform: none;
}
.page--articles .seo-media figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: var(--gray-700);
}

.page--articles .seo-faq {
  margin: 36px 0 28px;
  padding: 8px 0 0;
}
.page--articles .seo-faq > h2 {
  margin-top: 0 !important;
}
.page--articles .seo-faq__list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.page--articles .seo-faq__item {
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 30%, var(--line));
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(14, 39, 68, 0.04);
}
.page--articles .seo-faq__item[open] {
  border-color: color-mix(in srgb, var(--sky) 40%, var(--line));
  box-shadow: 0 14px 32px rgba(2, 73, 149, 0.1);
}
.page--articles .seo-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 16.5px;
  line-height: 1.35;
}
.page--articles .seo-faq__item summary::-webkit-details-marker {
  display: none;
}
.page--articles .seo-faq__item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--navy) 8%, #fff);
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.page--articles .seo-faq__item[open] summary::after {
  content: "−";
  background: var(--navy);
  color: #fff;
}
.page--articles .seo-faq__body {
  padding: 0 18px 16px;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.65;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.page--articles .seo-faq__body p {
  margin: 12px 0 0;
}

.page--articles .seo-outro {
  margin: 40px 0 12px;
  padding: 28px 28px 24px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(88, 166, 230, 0.35), transparent 55%),
    linear-gradient(145deg, #0b2a4d 0%, #024995 55%, #0e3d6e 100%);
  box-shadow: 0 24px 50px rgba(8, 40, 80, 0.28);
}
.page--articles .seo-outro::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.page--articles .seo-outro__label {
  position: relative;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.page--articles .seo-outro h2 {
  position: relative;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: clamp(22px, 2.8vw, 30px) !important;
}
.page--articles .seo-article__body.prose .seo-outro,
.page--articles .seo-article__body.prose .seo-outro p,
.page--articles .seo-article__body.prose .seo-outro li,
.page--articles .seo-article__body.prose .seo-outro td,
.page--articles .seo-article__body.prose .seo-outro th,
.page--articles .seo-outro p,
.page--articles .seo-outro li,
.page--articles .seo-outro td,
.page--articles .seo-outro th {
  color: rgba(255, 255, 255, 0.94);
}
.page--articles .seo-article__body.prose .seo-outro a,
.page--articles .seo-article__body.prose .seo-outro a.seo-link,
.page--articles .seo-article__body.prose .seo-outro a:not(.btn),
.page--articles .seo-outro a,
.page--articles .seo-outro a.seo-link {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 210, 90, 0.75);
  background: linear-gradient(180deg, transparent 58%, rgba(255, 210, 90, 0.4) 58%);
}
.page--articles .seo-article__body.prose .seo-outro a:hover,
.page--articles .seo-article__body.prose .seo-outro a.seo-link:hover,
.page--articles .seo-article__body.prose .seo-outro a:not(.btn):hover,
.page--articles .seo-outro a:hover,
.page--articles .seo-outro a.seo-link:hover {
  color: #fff !important;
  border-bottom-color: #ffd25a;
  background: linear-gradient(180deg, transparent 58%, rgba(255, 210, 90, 0.55) 58%);
}
.page--articles .seo-outro .seo-table-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.page--articles .seo-outro .seo-table thead th {
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}
.page--articles .seo-outro .seo-table tbody td {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.page--articles .seo-outro .seo-table tbody tr:nth-child(even) td,
.page--articles .seo-outro .seo-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.06);
}
.page--articles .seo-article__body.prose .seo-outro .seo-accent,
.page--articles .seo-outro .seo-accent {
  color: #fff !important;
  background: linear-gradient(180deg, transparent 74%, rgba(255, 210, 90, 0.18) 74%);
}

.page--articles .seo-lead {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 8px;
  padding-bottom: 8px;
}
.page--articles .seo-lead .jk-lead__panel {
  min-height: 520px;
}
.page--articles .seo-lead .jk-lead__form-title {
  margin-bottom: 14px;
}
.page--articles .seo-lead .jk-lead__form .consent {
  margin-top: 14px;
}
.page--articles .seo-lead .jk-lead__submit {
  margin-top: 8px;
}
.page--articles .seo-lead .jk-lead__form input[readonly] {
  color: var(--navy);
  background: color-mix(in srgb, var(--light-blue-1) 10%, #fff);
  cursor: default;
}
.page--articles .seo-lead .jk-lead__form textarea {
  min-height: 96px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}
.page--articles .seo-related {
  max-width: none;
  width: 100%;
  margin: 48px 0 8px;
  padding-left: 0;
  padding-right: 0;
}
.page--articles .seo-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 0 4px;
}
.page--articles .seo-related__head .section-lead {
  margin-bottom: 0;
}
.page--articles .seo-related__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.page--articles .seo-related__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--light-blue-1) 40%, var(--line));
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.page--articles .seo-related__btn:hover {
  border-color: var(--sky);
  background: color-mix(in srgb, var(--light-blue-1) 12%, #fff);
  transform: translateY(-1px);
}
.page--articles .seo-related-marquee {
  overflow: hidden;
  margin: 0 -4px;
  padding: 8px 0 16px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.page--articles .seo-related-marquee__track {
  display: flex;
  width: max-content;
  animation: seoRelatedMarquee 70s linear infinite;
  will-change: transform;
}
.page--articles .seo-related-marquee.is-js .seo-related-marquee__track {
  animation: none;
}
.page--articles .seo-related-marquee.is-paused .seo-related-marquee__track,
.page--articles .seo-related-marquee:hover .seo-related-marquee__track,
.page--articles .seo-related-marquee:focus-within .seo-related-marquee__track {
  animation-play-state: paused;
}
.page--articles .seo-related-marquee__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.page--articles .seo-related-card {
  flex: 0 0 auto;
  width: min(280px, 72vw);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--light-blue-1) 22%, var(--line));
  box-shadow: 0 10px 28px rgba(14, 39, 68, 0.06);
  transition: transform 0.25s var(--ease, ease), box-shadow 0.25s ease, border-color 0.2s;
}
.page--articles .seo-related-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sky) 45%, var(--line));
  box-shadow: 0 16px 36px rgba(14, 39, 68, 0.12);
}
.page--articles .seo-related-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef4;
}
.page--articles .seo-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease, ease);
}
.page--articles .seo-related-card:hover .seo-related-card__media img {
  transform: scale(1.04);
}
.page--articles .seo-related-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  min-height: 132px;
}
.page--articles .seo-related-card__title {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page--articles .seo-related-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
@keyframes seoRelatedMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .page--articles .seo-related-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .page--articles .seo-related-marquee__track {
    animation: none;
  }
  .page--articles .seo-related-card {
    scroll-snap-align: start;
  }
}
.page--articles .about-cta-band {
  margin-top: 40px;
}
.page--articles .about-cta-band .btn--white {
  color: var(--navy);
  background: #fff;
}
.page--articles .about-cta-band .btn--outline-white,
.page--articles .about-cta-band .btn--outline-white:link,
.page--articles .about-cta-band .btn--outline-white:visited,
.page--articles .about-cta-band .btn--outline-white:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.page--articles .seo-cta .btn--navy,
.page--articles .seo-cta .btn--navy:link,
.page--articles .seo-cta .btn--navy:visited,
.page--articles .seo-cta .btn--navy:hover,
.page--articles .seo-featured .btn--navy,
.page--articles .seo-featured .btn--navy:link,
.page--articles .seo-featured .btn--navy:visited,
.page--articles .seo-lead .btn--navy,
.page--articles .seo-lead .jk-lead__submit,
.page--articles .seo-lead .btn--navy:link,
.page--articles .seo-lead .btn--navy:visited,
.page--articles .seo-lead .btn--navy:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .page--articles .seo-featured {
    grid-template-columns: 1fr;
  }
  .page--articles .seo-featured__media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  .page--articles .seo-index-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .page--articles .seo-index-grid,
  .page--articles .seo-media {
    grid-template-columns: 1fr;
  }
  .page--articles .seo-related__head {
    flex-wrap: wrap;
    align-items: center;
  }
  .page--articles .seo-related-card {
    width: min(240px, 78vw);
  }
  .page--articles .seo-related-marquee__track {
    animation-duration: 55s;
  }
  .page--articles .seo-outro,
  .page--articles .seo-callout {
    padding: 20px 16px;
  }
  .page--articles .seo-lead .jk-lead__panel {
    min-height: 0;
  }
  .page--articles .seo-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 12px 12px;
  }
}

/* End */


/* Start:/local/templates/vmu/assets/css/fonts.css?1790721113956*/
@charset "UTF-8";
/* Site font — Raleway (TZ §4.3, Google Fonts OFL)
   Weights: Regular 400 · Medium 500 · SemiBold 600 · Bold 700 */

/* Accent font (for digits / counters) — Geologica */
@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700;800&display=swap");

@font-face {
  font-family: "Raleway";
  src: url("/local/templates/vmu/assets/fonts/raleway-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Raleway";
  src: url("/local/templates/vmu/assets/fonts/raleway-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* End */


/* Start:/local/templates/vmu/styles.css?1790721113102*/
.badge:empty {
    display: none !important;
}
.content-card[hidden] {
    display: none !important;
}
/* End */
/* /local/templates/vmu/assets/css/landing.css?179250292461160 */
/* /local/templates/vmu/assets/css/pages.css?1792516125328300 */
/* /local/templates/vmu/assets/css/fonts.css?1790721113956 */
/* /local/templates/vmu/styles.css?1790721113102 */
