
  :root {
    /* Base palette — ATAMŪRA Brandbook 2024 */
    --bg:        #F7F5EE;                  /* warm off-white, brandbook-tinted */
    --card:      #FBFBFB;                  /* brandbook white */
    --ink:       #1E1E1E;                  /* brandbook black (NOT pure black) */
    --ink-soft:  #4A4A4A;
    --ink-mute:  #6E6E6E;
    --line:      #E0DDD3;
    --line-soft: #ECEAE2;
    --black:     #1E1E1E;
    --navy:      #284157;                  /* brandbook dark navy — было НЕ определено → выбранные чипы становились невидимыми */
    --teal:      #007484;                  /* = brand teal — тоже было НЕ определено (цвет «Консультация» при скролле) */
    --grey:      #BCBCBC;                  /* brandbook grey */
    --green:     oklch(62% 0.16 145);
    --tg:        oklch(62% 0.13 230);

    /* Spacing */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
    --s-9: 80px;
    --sect-py: clamp(40px, 4.5vw, 56px); /* вертикальные отступы секций — компактнее и адаптивно (было фикс. 80px) */

    /* Radii */
    --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
    --r-pill: 999px;

    /* Type */
    --t-display: clamp(72px, 8.5vw, 132px);
    --t-h1: clamp(36px, 3.6vw, 56px);
    --t-h2: clamp(28px, 2.6vw, 40px);
    --t-h3: clamp(20px, 1.6vw, 26px);
    --t-body: 15px;

    --container: 1320px; /* ширина «хрома»: верхняя полоса, шапка, sticky-бар — вмещает логотип + меню + утилиты */
    --content: 980px;    /* ширина контента секций: совпадает с колонкой героя (~920px), не уезжает к краю */
    --shadow-card: 0 1px 2px oklch(0% 0 0 / 0.04);
    --shadow-pop: 0 16px 40px oklch(0% 0 0 / 0.12), 0 4px 12px oklch(0% 0 0 / 0.04);
  }

  /* ============ THEME A: Бирюза + Золото (Brandbook combination 2: teal-led) ============ */
  [data-theme="teal"] {
    --brand:        #007484;               /* brandbook dark teal */
    --brand-deep:   #005763;
    --brand-soft:   #E0EEF0;
    --brand-on:     #FBFBFB;
    --accent:       #CFB372;               /* brandbook gold */
    --accent-soft:  #EFE6CD;
    --accent-deep:  #A88E48;
    --accent-on:    #1E1E1E;
    --cta-orange:   #D86700;               /* brandbook contrast orange (paired with teal) */
    --dark-cta:     #284157;               /* brandbook dark navy */
    --pop-eyebrow-bg: var(--accent-soft);
    --pop-eyebrow-fg: var(--accent-on);
    --ai-grad-1:    #007484;
    --ai-grad-2:    #CFB372;
  }

  /* ============ THEME B: Навы + Золото (Brandbook combination 3: navy-led) ============ */
  [data-theme="blue"] {
    --brand:        #284157;               /* brandbook dark navy */
    --brand-deep:   #1A2B3A;
    --brand-soft:   #E5EAF0;
    --brand-on:     #FBFBFB;
    --accent:       #CFB372;               /* brandbook gold (constant accent) */
    --accent-soft:  #EFE6CD;
    --accent-deep:  #A88E48;
    --accent-on:    #1E1E1E;
    --cta-orange:   #866638;               /* brandbook brown-gold paired with navy */
    --dark-cta:     #1A2B3A;
    --pop-eyebrow-bg: var(--accent-soft);
    --pop-eyebrow-fg: var(--accent-on);
    --ai-grad-1:    #284157;
    --ai-grad-2:    #CFB372;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0; padding-bottom: 80px;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Jost', 'Futura PT', 'Futura', -apple-system, system-ui, sans-serif;
    font-size: var(--t-body); line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss03", "cv11";
    transition: background 200ms;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  .wrap { max-width: var(--content); margin: 0 auto; padding-inline: clamp(16px, 2vw, 32px); }

  /* ============ THEME SWITCHER (hidden — final theme = teal) ============ */
  .theme-switcher {
    display: none !important;
    position: fixed; top: 12px; right: 12px;
    z-index: 200;
    background: var(--ink); color: oklch(98% 0 0);
    padding: 4px;
    border-radius: var(--r-pill);
    display: flex; gap: 2px;
    box-shadow: var(--shadow-pop);
    font-size: 12px; font-weight: 600;
  }
  .theme-switcher::before {
    content: 'Тема:';
    padding: 8px 4px 8px 12px;
    color: oklch(70% 0.005 230);
    align-self: center;
    font-weight: 500;
  }
  .theme-btn {
    background: transparent; border: 0;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    color: oklch(75% 0.005 230);
    display: inline-flex; align-items: center; gap: 6px;
    transition: 180ms;
  }
  .theme-btn::before {
    content: ''; width: 10px; height: 10px;
    border-radius: 50%;
  }
  .theme-btn[data-theme="teal"]::before { background: #007484; }
  .theme-btn[data-theme="blue"]::before { background: #284157; }
  .theme-btn.is-on {
    background: oklch(98% 0 0); color: var(--ink);
  }

  /* ============ TOP UTILITY STRIP ============ */
  .util { background: var(--bg); border-bottom: 1px solid var(--line); }
  .util-row {
    max-width: var(--container); margin: 0 auto;
    padding: 14px clamp(16px, 2vw, 32px);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-5); font-size: 13px; font-weight: 600;
  }
  .util-tabs { display: flex; gap: var(--s-6); }
  .util-tabs a { color: var(--ink); padding-block: 4px; position: relative; }
  .util-tabs a.is-on::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -14px;
    height: 2px; background: var(--ink);
  }
  .util-tabs a:not(.is-on) { color: var(--ink-mute); }
  .city {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ink); font-weight: 600;
  }
  .city svg { color: var(--accent-deep); }

  /* ============ HEADER ============ */
  .head {
    background: var(--bg);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
  }
  .head-row {
    max-width: var(--container); margin: 0 auto;
    padding: 18px clamp(16px, 2vw, 32px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: clamp(16px, 2vw, var(--s-6)); align-items: center;
  }

  /* ============ ATAMŪRA LOGO (approved — 4 dots + Atamura Group wordmark) ============ */
  .logo {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ink);
  }
  /* Логотип ATAMURA GROUP — оригинал из брендбука (прозрачный PNG) */
  .logo-img { height: 46px; width: auto; min-width: 70px; display: block; flex-shrink: 0; }
  .logo-text { display: none; }
  /* small variant for footer */
  .logo.is-sm .logo-img { height: 40px; min-width: 0; } /* футер: снять min-width, иначе узкое лого растягивается (сплющивается) */
  /* В drawer (мобильное меню) логотип без рамки/outline и без min-width-ghost-box */
  .drawer .logo { border: 0; outline: 0; }
  .drawer .logo-img { border: 0; outline: 0; min-width: 0; height: 44px; }

  /* nav */
  .nav-main { display: flex; gap: clamp(8px, 1vw, 16px); align-items: center; font-size: 13px; font-weight: 500; }
  .nav-main a { color: var(--ink); padding-block: var(--s-2); transition: color 120ms; white-space: nowrap; }
  .nav-main a:hover { color: var(--brand-deep); }
  .nav-main .nav-consult {
    color: var(--brand-deep); font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .nav-main .nav-consult::before {
    content: ''; display: inline-block; width: 14px; height: 12px;
    background: currentColor; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'><path fill='black' d='M2 0a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2v2l3-2h5a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/></svg>") center/contain no-repeat;
  }
  .head-utils { display: flex; align-items: center; gap: var(--s-4); }
  .lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; }
  .lang-opt { font: 600 12.5px/1 inherit; color: inherit; background: transparent; border: 0; cursor: pointer; padding: 5px 10px; border-radius: 999px; letter-spacing: 0.01em; transition: background 0.15s, color 0.15s, opacity 0.15s; }
  .lang-opt[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .lang-opt:not([aria-pressed="true"]) { opacity: 0.62; }
  .lang-opt:not([aria-pressed="true"]):hover { opacity: 1; }
  .toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 14px); background: var(--dark-cta); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4; padding: 12px 18px; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.22); z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; max-width: min(92vw, 440px); text-align: center; }
  .toast.is-on { opacity: 1; transform: translate(-50%, 0); }
  .phone-block { text-align: right; line-height: 1.2; }
  .phone-block strong { font-size: 16px; font-weight: 700; white-space: nowrap; }
  .phone-block small { font-size: 11px; color: var(--ink-mute); display: block; margin-top: 2px; }
  .icon-btn {
    width: 44px; height: 44px;
    background: transparent; border: 0; border-radius: 50%;
    display: grid; place-items: center;
    transition: 120ms;
  }
  .icon-btn:hover { background: oklch(92% 0.005 230); }
  .login-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: var(--r-pill);
    border: 1px solid var(--line); background: transparent;
    font-size: 14px; font-weight: 600;
    transition: 120ms;
  }
  .login-btn:hover { border-color: var(--ink); }
  /* Топ-CTA в шапке → WhatsApp (заменяет «Войти») */
  .head-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font: 600 14px/1 inherit; white-space: nowrap; text-decoration: none; transition: background 160ms, transform 160ms, box-shadow 160ms; }
  .head-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
  .head-cta:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,116,132,.28); }
  .head.over.is-stuck .head-cta { background: var(--brand); color: #fff; }

  /* ============ HERO ============ */
  .hero { padding-top: var(--s-5); padding-bottom: var(--s-9); }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s-3);
    height: clamp(480px, 60vw, 700px);
  }
  .hero-block {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    background: var(--card);
  }
  .hero-block.is-main { grid-column: 1; grid-row: 1 / span 2; }

  .promo {
    height: 100%;
    position: relative;
    background:
      linear-gradient(155deg,
        color-mix(in oklch, var(--brand-deep) 65%, transparent) 0%,
        color-mix(in oklch, var(--accent-deep) 50%, transparent) 100%),
      url('https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=1600&q=80');
    background-size: cover; background-position: center;
    color: oklch(98% 0 0);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: var(--s-7);
    transition: background 280ms;
  }
  .promo-eyebrow { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
  .promo-numbers {
    font-size: var(--t-display); font-weight: 700;
    line-height: 0.92; letter-spacing: -0.05em;
    margin: var(--s-5) 0;
    display: flex; align-items: baseline; gap: 4px;
  }
  .promo-numbers .pct { font-size: 0.42em; font-weight: 600; vertical-align: top; align-self: flex-start; margin-top: 0.3em; }
  .promo-numbers .plus { margin: 0 8px; opacity: 0.85; }
  .promo-bottom { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
  .promo-counter { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); font-size: 13px; opacity: 0.9; }
  .promo-counter span { background: oklch(20% 0 0 / 0.35); padding: 6px 12px; border-radius: var(--r-pill); font-weight: 600; backdrop-filter: blur(6px); }
  .promo-arrows { display: flex; gap: 4px; }
  .promo-arrows button {
    width: 36px; height: 36px;
    border-radius: 50%; border: 0;
    background: oklch(20% 0 0 / 0.35);
    color: oklch(98% 0 0);
    display: grid; place-items: center;
    backdrop-filter: blur(6px);
  }

  .teaser {
    height: 100%;
    overflow: hidden;
    position: relative;
    color: oklch(98% 0 0);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: var(--s-5);
  }
  .teaser-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    transition: transform 600ms cubic-bezier(.2,.9,.25,1);
  }
  .teaser:hover .teaser-bg { transform: scale(1.04); }
  .teaser::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, oklch(0% 0 0 / 0.05) 30%, oklch(0% 0 0 / 0.55) 100%);
    z-index: 1;
  }
  .teaser > * { position: relative; z-index: 2; }
  .teaser-title { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; margin: 0; max-width: 14ch; }
  .teaser-foot { display: flex; align-items: end; justify-content: space-between; gap: var(--s-3); }
  .teaser-meta { font-size: 13px; line-height: 1.3; opacity: 0.95; max-width: 18ch; }
  .teaser-arrow { width: 38px; height: 38px; border-radius: 50%; background: oklch(98% 0 0); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: 200ms; }
  .teaser:hover .teaser-arrow { background: var(--brand); color: oklch(98% 0 0); }

  .teaser.is-1 .teaser-bg { background-image: url('https://images.unsplash.com/photo-1518806118471-f28b20a1d79d?auto=format&fit=crop&w=1200&q=80'); }
  .teaser.is-2 .teaser-bg { background-image: url('https://images.unsplash.com/photo-1531835551805-16d864c8d311?auto=format&fit=crop&w=1200&q=80'); }
  .teaser.is-3 .teaser-bg { background-image: url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80'); }
  .teaser.is-4 .teaser-bg { background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1200&q=80'); }

  /* ============ BUTTONS ============ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; min-height: 48px;
    font-family: inherit; font-size: 14px; font-weight: 600;
    border-radius: var(--r-pill); border: 1px solid transparent;
    transition: 180ms cubic-bezier(.2, .9, .25, 1);
    white-space: nowrap;
  }
  .btn-light { background: oklch(98% 0 0); color: var(--ink); }
  .btn-light:hover { background: var(--ink); color: oklch(98% 0 0); }
  .btn-dark { background: var(--ink); color: oklch(98% 0 0); }
  .btn-dark:hover { background: var(--brand-deep); }
  .btn-brand { background: var(--brand); color: var(--brand-on); }
  .btn-brand:hover { background: var(--brand-deep); }
  .btn-accent { background: var(--accent); color: var(--accent-on); }
  .btn-accent:hover { background: var(--accent-deep); color: oklch(98% 0 0); }
  .btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-outline:hover { border-color: var(--ink); }

  /* ============ SECTION TITLES ============ */
  .sect-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-6); flex-wrap: wrap; }
  .sect-title { font-size: var(--t-h1); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
  .sect-title-mute { color: oklch(74% 0.005 230); font-weight: 500; }
  .sect-title-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 0.66em; font-weight: 500; color: var(--ink); }
  /* Бренд внутри заголовка секции — тот же шрифт и кегль, акцент цветом (а не уменьшением) */
  .sect-title-txt { text-wrap: balance; }
  .sect-title-brand { color: var(--brand); letter-spacing: 0.02em; }

  .toggle { width: 48px; height: 28px; background: var(--ink); border: 0; border-radius: var(--r-pill); position: relative; padding: 0; cursor: pointer; flex-shrink: 0; }
  .toggle::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: oklch(98% 0 0); transition: transform 200ms cubic-bezier(.2,.9,.25,1); }
  .toggle.is-right::after { transform: translateX(20px); }

  /* ============ PROJECTS ============ */
  .sect-projects { padding-block: var(--sect-py); }
  .sect-projects-row1 { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; justify-content: space-between; }
  .filters-row { display: flex; gap: var(--s-2); flex-wrap: wrap; background: var(--card); padding: var(--s-3); border-radius: var(--r-pill); border: 1px solid var(--line); }
  .filter-btn { padding: 10px 18px; min-height: 40px; background: transparent; border: 0; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; transition: 120ms; }
  .filter-btn:hover { background: oklch(94% 0.005 230); }
  .filter-btn.is-on { background: var(--ink); color: oklch(98% 0 0); }
  .filter-btn.has-arrow::after { content: ''; width: 8px; height: 8px; border-bottom: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; }
  .actions-row { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }

  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .ai-helper {
    background: oklch(96% 0.005 230);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    display: flex; flex-direction: column; gap: var(--s-4);
    position: relative;
    overflow: hidden;
  }
  .ai-helper::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--ai-grad-1) 0%, var(--ai-grad-2) 70%, transparent 100%);
    opacity: 0.22; filter: blur(20px);
    border-radius: 50%;
    transition: background 280ms;
  }
  .ai-helper > * { position: relative; }
  .ai-helper h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
  .ai-helper p { font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
  .ai-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ai-prompt { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; font-size: 12px; line-height: 1.35; cursor: pointer; transition: 120ms; text-align: left; color: var(--ink); }
  .ai-prompt:hover { border-color: var(--ink-mute); }
  .ai-input-wrap { display: flex; align-items: center; gap: var(--s-2); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 4px 4px 16px; margin-top: auto; }
  .ai-input { flex: 1; min-height: 40px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; }
  .ai-input::placeholder { color: var(--ink-mute); }
  .ai-send { width: 38px; height: 38px; min-width: 38px; flex-shrink: 0; background: var(--ink); color: oklch(98% 0 0); border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
  .ai-send svg { display: block; width: 18px; height: 18px; }

  .pcard { background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid transparent; transition: 220ms; position: relative; display: flex; flex-direction: column; }
  .pcard:hover { border-color: var(--line); transform: translateY(-2px); box-shadow: var(--shadow-card); }
  .pcard-photo { aspect-ratio: 4 / 3.2; position: relative; overflow: hidden; background: var(--brand-soft); }
  .pcard-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 18px/1 inherit; letter-spacing: 0.06em; text-transform: uppercase; }
  .pcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.9,.25,1); }
  .pcard:hover .pcard-photo img { transform: scale(1.04); }
  .pcard-badges { position: absolute; top: var(--s-3); left: var(--s-3); display: flex; flex-wrap: wrap; gap: 6px; }
  .badge { padding: 6px 10px; background: oklch(20% 0 0 / 0.85); color: oklch(98% 0 0); font-size: 11px; font-weight: 600; letter-spacing: 0.01em; border-radius: var(--r-pill); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 5px; }
  .badge.is-light { background: oklch(98% 0 0 / 0.92); color: var(--ink); }
  .badge.is-accent { background: var(--accent); color: var(--accent-on); }
  .badge.is-soft { background: var(--accent-soft); color: var(--accent-on); }
  .badge.is-status::before {
    content: ''; width: 14px; height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='7' cy='7' r='6' fill='none' stroke='black' stroke-width='1.4'/><path d='M4 7l2 2 4-4' fill='none' stroke='black' stroke-width='1.4'/></svg>") center/contain no-repeat;
  }

  .pcard-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; align-items: end; justify-content: space-between; gap: var(--s-3); }
  .pcard-info { min-width: 0; }
  .pcard-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
  .pcard-loc { font-size: 12px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
  .pcard-loc .dot::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: middle; }
  .pcard-loc .dot.is-coral::before { background: var(--accent-deep); }
  .pcard-loc .walk::before { content: ''; display: inline-block; width: 12px; height: 12px; background: currentColor; margin-right: 4px; vertical-align: middle; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='6' cy='2' r='1.4' fill='black'/><path d='M6 4l-2 3 2 1v3M6 4l2 3' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round'/></svg>") center/contain no-repeat; }
  .pcard-price { font-size: 13px; color: var(--ink-soft); text-align: right; flex-shrink: 0; }
  .pcard-price strong { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

  /* ============ "Поможем с выбором" CTA ============ */
  .help-cta {
    background: var(--dark-cta);
    color: oklch(98% 0 0);
    border-radius: var(--r-lg);
    padding: var(--s-7);
    margin-top: calc(var(--sect-py) * 2); /* отступ сверху = межсекционному (2×), чтобы блок дышал симметрично: сверху = снизу */
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--s-6);
    align-items: end;
    transition: background 280ms;
  }
  .help-cta h3 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--s-3); }
  .help-cta p { font-size: 16px; color: oklch(80% 0.005 230); margin: 0; max-width: 50ch; }

  /* «Поможем с выбором» + ИИ-помощник в одном блоке (объединение по запросу PM 2026-06-06) */
  .help-cta.is-with-ai { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .help-cta-text { display: flex; flex-direction: column; gap: var(--s-3); }
  .help-cta-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: auto; padding-top: var(--s-3); }
  .help-cta.is-with-ai .ai-helper {
    /* светлая «приклеенная» карточка ИИ-помощника внутри тёмного контейнера */
    background: oklch(96% 0.005 230);
    color: var(--ink);
    border: 0;
    border-radius: var(--r-md);
    padding: var(--s-5);
  }
  .help-cta.is-with-ai .ai-helper p { color: var(--ink-soft); }

  /* ============ PREMIUM 2-CARD ============ */
  .premium-row { padding-block: var(--sect-py); }
  .premium-row h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; margin: 0 0 var(--s-5); }
  .premium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .premium-card { border-radius: var(--r-lg); overflow: hidden; position: relative; color: oklch(98% 0 0); padding: var(--s-6); display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; }
  .premium-card::before { content: ''; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
  .premium-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, oklch(0% 0 0 / 0.1) 0%, oklch(0% 0 0 / 0.55) 100%); }
  .premium-card > * { position: relative; z-index: 2; }
  .premium-card.is-prem::before { background-image: url('https://images.unsplash.com/photo-1493809842364-78817add7ffb?auto=format&fit=crop&w=1400&q=80'); }
  .premium-card.is-last::before { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1400&q=80'); }
  .premium-card.is-discount { background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 100%); }
  .premium-card.is-discount::before, .premium-card.is-discount::after { display: none; }
  .premium-card.is-finish::before { background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1400&q=80'); }
  .premium-card.is-master::before { background-image: url('assets/img/zhk/keruen-02.jpg'); }
  .premium-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; opacity: 0.95; }
  .premium-sub { font-size: 13px; line-height: 1.45; color: oklch(98% 0 0 / 0.86); margin: 12px 0 0; max-width: 30ch; }
  .premium-body { display: flex; flex-direction: column; }
  .premium-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
  .premium-arrow { align-self: end; width: 44px; height: 44px; border-radius: 50%; background: oklch(98% 0 0); color: var(--ink); display: grid; place-items: center; }

  /* ============ MORTGAGE ============ */
  .mortgage { padding-block: var(--sect-py); }
  .mortgage-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .mortgage-info h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 var(--s-4); }
  .mortgage-info p { font-size: 16px; color: var(--ink-soft); max-width: 42ch; margin: 0 0 var(--s-5); }
  .mort-bullets { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
  .mort-bullet { font-size: 14px; color: var(--ink); display: flex; gap: var(--s-3); align-items: flex-start; }
  .mort-bullet svg { color: var(--brand); margin-top: 2px; flex-shrink: 0; }
  .mort-alt { font-size: 14px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 var(--s-5); }
  .mort-alt strong { color: var(--ink); font-weight: 600; }

  .mort-card { background: var(--card); border-radius: var(--r-lg); padding: var(--s-7); display: grid; gap: var(--s-5); box-shadow: var(--shadow-card); border: 1px solid var(--line); }
  .mort-card h3 { font-size: 20px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
  .mort-field { display: grid; gap: 10px; }
  .mort-field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
  .mort-field-label strong { font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
  .slider { width: 100%; height: 4px; background: var(--line); border-radius: 2px; appearance: none; accent-color: var(--brand); }
  .slider::-webkit-slider-thumb { appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); cursor: pointer; border: 3px solid var(--card); box-shadow: 0 1px 4px oklch(0% 0 0 / 0.15); }
  .mort-result { background: var(--brand-soft); padding: var(--s-5); border-radius: var(--r-md); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); }
  .mort-result-label { font-size: 13px; color: var(--ink-soft); }
  .mort-result-value { font-size: 28px; font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
  .mort-result-value sub { font-size: 12px; font-weight: 500; color: var(--ink-mute); margin-left: 4px; }
  /* Калькулятор «Наурыз» — двухэтапный вывод */
  .nz-phases { display: grid; gap: 10px; }
  .nz-phase { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); }
  .nz-phase > span { font-size: 13px; font-weight: 600; color: var(--ink); }
  .nz-phase > span small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-mute); margin-top: 2px; }
  .nz-phase strong { font-size: 20px; font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
  .nz-phase strong sub { font-size: 11px; font-weight: 500; color: var(--ink-mute); margin-left: 3px; }
  .nz-warn { font-size: 12px; line-height: 1.4; color: #b4232a; margin: 0; }

  /* ============ REVIEWS ============ */
  .reviews { padding-block: var(--sect-py); border-top: 1px solid var(--line); }
  .reviews-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-6); flex-wrap: wrap; }
  .reviews h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
  .reviews-rating { display: inline-flex; align-items: center; gap: var(--s-3); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; }
  .reviews-rating strong { font-size: 18px; font-weight: 700; }
  .stars { color: #7A6328; letter-spacing: 1px; }

  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
  .review-stars { color: #7A6328; font-size: 13px; letter-spacing: 1.5px; }
  .review p { font-size: 14px; line-height: 1.55; color: var(--ink); margin: 0; }
  .review-author { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); margin-top: auto; }
  .review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--brand-deep); }
  .review-name { font-size: 13px; font-weight: 600; }
  .review-zk { font-size: 11px; color: var(--ink-mute); margin-top: 2px; }

  /* ============ NEWS ============ */
  .news { padding-block: var(--sect-py); }
  .news-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-6); }
  .news h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
  .news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
  .news-card { background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: 180ms; }
  .news-card:hover { transform: translateY(-2px); }
  .news-photo { aspect-ratio: 4/3; background: var(--brand-soft); }
  .news-photo img { width: 100%; height: 100%; object-fit: cover; }
  .news-body { padding: var(--s-5); display: grid; gap: var(--s-2); }
  .news-date { font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }
  .news-title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0; }

  /* ============ FEATURES-STRIP (Качество в деталях — 1 компактная полоса, без фото) ============ */
  .features-strip { background: var(--bg); padding: clamp(40px, 5vw, 72px) 0 clamp(96px, 10vw, 140px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .features-strip-inner { text-align: center; max-width: 1100px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }
  .features-strip-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 var(--s-6); }

  /* Таблица планировок на странице ЖК (данные из Profitbase, PM 2026-06-06). */
  .zk-layouts-wrap { overflow-x: auto; margin-top: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-md); }
  .zk-layouts { width: 100%; border-collapse: collapse; font-size: 14px; }
  .zk-layouts thead th { background: var(--bg); padding: 12px 14px; text-align: left; font-weight: 600; color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--line); }
  .zk-layouts tbody td { padding: 12px 14px; border-bottom: 1px solid oklch(94% 0.005 230); }
  .zk-layouts tbody tr:last-child td { border-bottom: 0; }
  .zk-layouts tbody tr:hover { background: oklch(98% 0.005 230); }
  .zk-layouts td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: 13px; }
  .zk-layouts td:nth-child(3) { font-variant-numeric: tabular-nums; }
  .zk-layouts td:nth-child(4) { font-weight: 600; color: var(--ink); }
  @media (max-width: 640px) {
    .zk-layouts thead th, .zk-layouts tbody td { padding: 10px 8px; font-size: 12px; }
  }

  /* Hero-фото-слайдер на /о-компании и /контакты (PM 2026-06-06): по 1 фото из каждого ЖК с плавной ротацией. */
  .pagehero.pagehero-multi { position: relative; overflow: hidden; background: var(--dark-cta); }
  .pagehero-slides { position: absolute; inset: 0; z-index: 0; }
  .pagehero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1400ms ease-in-out; }
  .pagehero-slide.is-on { opacity: 1; }
  .pagehero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, oklch(0% 0 0 /.34) 0%, oklch(0% 0 0 /.66) 100%); pointer-events: none; }
  .pagehero-multi .pagehero-inner { position: relative; z-index: 2; }
  .features-strip h3 { font-family: "Cormorant", Georgia, serif; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 var(--s-6); color: var(--ink); }
  .features-strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-5) var(--s-6); align-items: start; }
  .features-strip-item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; flex: 0 0 calc(25% - var(--s-6)); max-width: 200px; min-width: 130px; }
  .features-strip-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); }
  .features-strip-icon svg { width: 26px; height: 26px; }
  .features-strip-item .features-strip-label { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); max-width: 18ch; }
  @media (max-width: 768px) {
    .features-strip-item { flex: 0 0 calc(50% - var(--s-5)); }
  }
  @media (max-width: 440px) {
    .features-strip-row { flex-direction: column; align-items: stretch; gap: var(--s-4); }
    .features-strip-item { flex: 1; max-width: none; flex-direction: row; align-items: center; text-align: left; gap: 14px; }
    .features-strip-icon { width: 44px; height: 44px; flex-shrink: 0; }
    .features-strip-icon svg { width: 22px; height: 22px; }
    .features-strip-item .features-strip-label { max-width: none; }
  }

  /* ============ CATALOG-SHOWCASE (whitewill-luxe в компактной 2-col карточке) ============ */
  .catalog-section { background: var(--bg); padding-block: clamp(28px, 4vw, 56px); }
  .catalog-showcase { background: #0F1A26; color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px) clamp(28px, 3.5vw, 52px); position: relative; overflow: hidden; box-shadow: 0 20px 50px oklch(0% 0 0 / 0.12); }
  .catalog-showcase::before { content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(207,179,114,0.22) 0%, rgba(207,179,114,0.06) 35%, transparent 65%); pointer-events: none; z-index: 0; }
  .catalog-showcase-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); position: relative; z-index: 1; }
  .catalog-showcase-content { color: #fff; max-width: 56ch; }
  .catalog-showcase .catalog-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s-2); }
  .catalog-showcase-title { font-family: "Cormorant", Georgia, serif; font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.05; letter-spacing: 0.005em; margin: 0 0 var(--s-3); color: #fff; }
  .catalog-showcase-sub { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0 0 var(--s-4); }
  .catalog-cover { display: block; width: clamp(160px, 18vw, 220px); aspect-ratio: 0.75 / 1; position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 12px 30px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(207,179,114,0.45); transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotateZ(-1.2deg); transition: transform 500ms cubic-bezier(.2,.8,.25,1); flex-shrink: 0; }
  .catalog-cover:hover { transform: perspective(1000px) rotateY(0) rotateX(0) rotateZ(0); }
  .catalog-cover picture, .catalog-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .catalog-cover-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(16px, 2.5vw, 24px) clamp(12px, 2vw, 20px); background: linear-gradient(180deg, rgba(15,26,38,0.86) 0%, rgba(15,26,38,0.4) 35%, rgba(15,26,38,0.5) 65%, rgba(15,26,38,0.92) 100%); color: #fff; text-align: center; pointer-events: none; }
  .catalog-cover-eyebrow { font-size: 8px; font-weight: 700; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; }
  .catalog-cover-brand { font-family: "Cormorant", Georgia, serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: 0.06em; line-height: 1; margin: auto 0; color: #fff; }
  .catalog-cover-logo-frame { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 100%; }
  .catalog-cover-logo { display: block; width: 62%; max-width: 130px; height: auto; object-fit: contain; opacity: 0.96; }
  .catalog-cover-tag { font-size: 8px; font-weight: 600; letter-spacing: 0.2em; color: rgba(255,255,255,0.78); text-transform: uppercase; }
  .catalog-showcase .catalog-band-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; min-height: 52px; background: var(--accent); color: var(--accent-on); border: 0; border-radius: var(--r-pill); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: 200ms; box-shadow: 0 14px 32px rgba(0,0,0,0.35); white-space: nowrap; }
  .catalog-showcase .catalog-band-cta:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0,0,0,0.45); }
  .catalog-showcase .catalog-band-cta svg { width: 16px; height: 16px; }
  @media (max-width: 720px) {
    .catalog-showcase { padding: clamp(24px, 5vw, 36px); }
    .catalog-showcase-inner { grid-template-columns: 1fr; gap: var(--s-5); text-align: center; justify-items: center; }
    .catalog-cover { margin: 0 auto; width: min(54vw, 200px); transform: perspective(1000px) rotateY(-6deg) rotateX(2deg); }
    .catalog-showcase-content { text-align: center; max-width: 100%; }
    .catalog-showcase-title br { display: none; }
    .catalog-showcase .catalog-band-cta { width: 100%; justify-content: center; padding: 16px 24px; font-size: 13px; }
  }
  /* Компактный вариант для странички ЖК — карточка внутри потока */
  .catalog-card { background: var(--brand); color: var(--brand-on); border-radius: var(--r-lg); padding: var(--s-6) var(--s-7); margin: var(--s-7) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
  .catalog-card-text { flex: 1 1 280px; min-width: 0; }
  .catalog-card h3 { font-family: "Cormorant", Georgia, serif; font-size: clamp(20px, 2vw, 26px); font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; color: var(--brand-on); }
  .catalog-card p { font-size: 13px; color: oklch(90% 0.01 230); margin: 0; line-height: 1.5; }
  .catalog-card .btn { min-height: 48px; flex-shrink: 0; }
  @media (max-width: 768px) {
    .catalog-card { padding: var(--s-5); }
    .catalog-card .btn { width: 100%; }
  }
  /* ============ CATALOG POPUP (форма + success-стадия) ============ */
  .catalog-popup .popup { max-width: 480px; }
  .catalog-popup .popup-stage[hidden] { display: none; }
  .catalog-popup .catalog-success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); margin: 0 auto var(--s-4); }
  .catalog-popup .catalog-success-icon svg { width: 28px; height: 28px; }
  .catalog-popup .catalog-success-actions { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-4); }
  .catalog-popup .catalog-success-actions .btn { width: 100%; min-height: 48px; }
  .catalog-popup .field-err { font-size: 12px; color: #c0392b; margin: 4px 4px 0; line-height: 1.3; }
  .catalog-popup input[aria-invalid="true"] { border-color: #c0392b; background: #fef2f2; }
  .catalog-popup .popup-form { display: grid; gap: var(--s-3); }
  .catalog-popup .popup-form .input-pill { background: var(--bg); border: 1px solid var(--line); }
  .catalog-popup .popup-form .btn-block { width: 100%; min-height: 50px; font-size: 14px; }
  .catalog-popup .popup-form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
  /* ============ FOOTER ============ */
  .foot { background: var(--bg); border-top: 1px solid var(--line); padding-block: var(--sect-py); }
  .foot-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-6) var(--s-7); margin-bottom: var(--s-8); background: var(--brand); color: var(--brand-on); border-radius: var(--r-lg); flex-wrap: wrap; }
  .foot-cta-text { flex: 1 1 320px; min-width: 0; }
  .foot-cta h3 { font-family: "Cormorant", Georgia, serif; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.15; color: var(--brand-on); }
  .foot-cta p { font-size: 14px; color: oklch(88% 0.01 230); margin: 0; max-width: 56ch; line-height: 1.5; }
  .foot-cta .foot-cta-btns { display: flex; gap: var(--s-2); flex-wrap: wrap; }
  .foot-cta .btn { min-height: 48px; padding: 14px 26px; font-size: 14px; flex-shrink: 0; }
  @media (max-width: 768px) {
    .foot-cta { padding: var(--s-5); gap: var(--s-3); border-radius: var(--r-md); }
    .foot-cta .foot-cta-btns { width: 100%; }
    .foot-cta .btn { width: 100%; }
  }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: var(--s-7); margin-bottom: var(--s-7); }
  .foot-phone { font-size: 13px; color: var(--ink-mute); }
  .foot-phone strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); margin: 8px 0 var(--s-4); letter-spacing: -0.01em; }
  .foot-hours { font-size: 13px; color: var(--ink-mute); margin: 0 0 var(--s-2); }
  .foot-hours strong { display: block; font-size: 15px; color: var(--ink); margin-top: 4px; }
  .foot-search { margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-2); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 4px 4px 16px; max-width: 280px; }
  .foot-search input { flex: 1; min-height: 36px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; }
  .foot-search input::placeholder { color: var(--ink-mute); }
  .foot-search-btn { width: 32px; height: 32px; background: var(--ink); color: oklch(98% 0 0); border: 0; border-radius: 50%; display: grid; place-items: center; }
  .foot-col h4 { font-size: 14px; font-weight: 600; margin: 0 0 var(--s-4); color: var(--ink); }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
  .foot-col-projects ul { grid-template-columns: 1fr 1fr; gap: 8px var(--s-4); }
  .foot-col a { font-size: 13px; color: var(--ink-soft); transition: color 120ms; }
  .foot-col a:hover { color: var(--ink); }
  .foot-col .new { display: inline-block; padding: 2px 6px; margin-left: 6px; background: var(--accent); color: var(--accent-on); font-size: 9px; font-weight: 700; letter-spacing: 0.04em; border-radius: 4px; vertical-align: middle; }

  .foot-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-5); align-items: center; padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-mute); }
  .foot-bottom-disclaimer { max-width: 60ch; line-height: 1.5; }

  /* ============ STICKY CTA ============ */
  .sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: oklch(98% 0 0); z-index: 40; transform: translateY(100%); transition: transform 320ms cubic-bezier(.2,.9,.25,1); }
  .sticky-bar.is-on { transform: translateY(0); }
  .sticky-row { max-width: var(--container); margin: 0 auto; padding: var(--s-3) clamp(16px, 2vw, 32px); display: grid; grid-template-columns: auto 1fr auto auto; gap: var(--s-4); align-items: center; }
  .sticky-counter { font-size: 12px; color: oklch(70% 0.005 230); display: inline-flex; align-items: center; gap: var(--s-2); }
  .sticky-counter::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
  .sticky-text { font-size: 14px; font-weight: 500; color: oklch(98% 0 0); }
  .sticky-text strong { color: var(--accent); font-weight: 600; }
  .sticky-bar .btn-light { padding: 10px 18px; min-height: 40px; font-size: 13px; }
  .sticky-close { background: transparent; border: 0; color: oklch(60% 0.005 230); padding: 6px; }

  /* ============ FLOATING BUBBLES ============ */
  .floater { position: fixed; right: clamp(16px, 2vw, 24px); bottom: 96px; z-index: 35; display: flex; flex-direction: column-reverse; gap: var(--s-3); }
  .float-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; box-shadow: 0 6px 20px oklch(0% 0 0 / 0.15); transition: 200ms cubic-bezier(.2,.9,.25,1); color: oklch(98% 0 0); position: relative; }
  .float-btn:hover { transform: scale(1.08); }
  /* ===== Мобильная нижняя навигация (level.ru-style) ===== */
  .botnav { display: none; }
  .hh-cta-m { display: none; }
  /* Промо-плашка в герое (на десктопе + мобиле): белая пилюля с золотым tag */
  .hh-promo { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 16px 7px 7px; background: oklch(100% 0 0 / 0.94); color: var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px oklch(0% 0 0 / 0.22); }
  .hh-promo b { color: var(--brand-deep); font-weight: 800; }
  .hh-promo-tag { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--accent); color: var(--accent-on); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; }
  /* Tag-чип в углу промо-карточек */
  .premium-tag { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 6px 12px; background: var(--accent); color: var(--accent-on); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-radius: 999px; }
  @media (max-width: 768px) {
    .botnav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); border-top: 1px solid var(--line); padding: 6px 2px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 18px oklch(0% 0 0 / 0.08); }
    .botnav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 500; line-height: 1; color: var(--ink-soft); text-decoration: none; background: none; border: 0; padding: 7px 2px 3px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .botnav-item svg { width: 23px; height: 23px; stroke-width: 1.8; }
    .botnav-item.is-active { color: var(--brand); }
    .botnav-fab { color: var(--brand); }
    .botnav-fab .botnav-fab-circle { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -30px; margin-bottom: 2px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 6px 16px oklch(0% 0 0 / 0.24); border: 3px solid var(--card); }
    .botnav-fab .botnav-fab-circle svg { width: 26px; height: 26px; }
    .floater, .sticky-bar { display: none !important; }
    .burger { display: none !important; }
    .head:not(.over) { position: static !important; box-shadow: none !important; backdrop-filter: none !important; }
    .head.over.is-stuck { position: absolute !important; top: 48px !important; background: transparent !important; border-bottom: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
    /* На мобайле в шапке остался только лого (бургер скрыт, телефон/lang/icon тоже) — центрируем его */
    .head-row { display: flex !important; justify-content: center !important; align-items: center !important; }
    .head-row .head-utils { display: none !important; }
    body { padding-bottom: 66px; }
    /* Чище мобильный герой (по level.ru): прячем форму поиска, оставляем одну кнопку */
    .home-hero .herosearch { display: none; }
    .home-hero .hh-offer, .home-hero .hh-meta { display: none; }
    .home-hero .hh-brand { display: none; }
    .home-hero .hh-sliderui { display: none; }
    .trust { display: none; }
    .hh-promo { font-size: 13px; padding: 6px 14px 6px 6px; }
    .hh-cta-m { display: inline-flex; justify-content: center; width: 100%; max-width: 340px; padding: 15px 24px; font-size: 15px; margin-top: 20px; }
    /* Промо — горизонтальная карусель */
    .premium-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
    .premium-card { flex: 0 0 80%; scroll-snap-align: start; }
    /* Трастбар — компактная прокрутка */
    .trustbar-row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 16px; -webkit-overflow-scrolling: touch; }
    .trustbar .tb-item { flex: 0 0 auto; white-space: nowrap; }
    /* На мобайле скрываем segment-nav (.util «Жилая недвижимость / Алматы») — освобождаем место
       под трастбар без скролла. Hero оставляем стандартного порядка, уменьшаем min-height. */
    .util { display: none !important; } /* PM: убрать segment-nav на ВСЕХ страницах */
    /* О компании и др.: h2 по центру, body-текст по ширине (justify) на мобайле */
    .content .content-grid > div > h2 { text-align: center; }
    .content .content-grid > div > p { text-align: justify; hyphens: auto; word-spacing: -0.02em; }
    .content .content-grid > div > .pagehero-cta { justify-content: center; }
    .home .head.over { top: max(16px, env(safe-area-inset-top)) !important; }
    /* Hero на мобайле — полноэкранный, но с местом под трастбар внизу.
       calc(100vh - 66px bottom-nav - 80px trustbar - safe-area) ≈ заполняет всё кроме нижнего таб-бара и трастбара.
       Контент (h1 + акция + кнопка) — внизу через flex/justify-end, чтобы фото было видно сверху. */
    .home .home-hero { min-height: 0 !important; }
    .home .home-hero-inner { min-height: calc(100vh - 180px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--s-5) var(--s-5); gap: var(--s-3); }
    /* === Жилые комплексы — горизонтальная snap-карусель (level.ru-style) === */
    .sect-projects .grid-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding-bottom: 8px; scroll-padding-left: 4px; }
    .sect-projects .grid-3 > * { flex: 0 0 86%; scroll-snap-align: start; }
    .sect-projects .pcard-photo img { aspect-ratio: 4/3; object-fit: cover; }
    .sect-projects-row1 { flex-direction: column; align-items: stretch; gap: var(--s-3); margin-bottom: var(--s-4); }
    .sect-projects .actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
    .sect-projects .actions-row .btn { flex: 1; min-width: 0; font-size: 13px; padding: 10px 12px; }
    .sect-title { text-align: left; }
    /* === Ипотека — только калькулятор; описание скрыто (по запросу PM) === */
    .mortgage-grid { display: flex; flex-direction: column; gap: var(--s-5); }
    .mortgage .mortgage-info { display: none; }
    .mortgage h2 { font-size: 26px; }
    /* === Центрирование текстов и заголовков на мобиле (PM-фидбэк, run 5) === */
    .sect-title { justify-content: center !important; text-align: center !important; }
    .reviews-head h2, .sect-head h2, .faq h2 { text-align: center !important; }
    .sect-head { text-align: center; justify-content: center !important; }
    .buy .sect-head, .buy .sect-title { text-align: center !important; justify-content: center !important; }
    .sect-title-brand { color: var(--brand); }
    .sect-projects-row1 { align-items: center; text-align: center; }
    .sect-projects-row1 .actions-row { justify-content: center; }
    .premium-row h2 { text-align: center; }
    .premium-card { text-align: center; }
    .premium-card .premium-body { align-items: center; }
    .premium-card .premium-sub { margin-left: auto; margin-right: auto; }
    .premium-tag { position: static; transform: none; align-self: center; margin: 0 0 var(--s-3); }
    .premium-arrow { margin: 12px auto 0; }
    /* Mortgage h2 уже скрыт (mortgage-info display:none), но если показывается — центру */
    .mortgage h2 { text-align: center; }
    /* Способы покупки — карточки центрируем */
    .buy-card { text-align: center; }
    .buy-card .buy-ic { margin-left: auto; margin-right: auto; }
    /* Отзывы */
    .reviews-head { flex-direction: column; align-items: center; gap: 8px; }
    .review { text-align: center; }
    .review-author { justify-content: center; }
    /* ЖК-страницы — заголовки и леды центру */
    .zk-h2, .zk-lead { text-align: center; }
    .zk-h2 { margin-left: auto; margin-right: auto; }
    .zk-section .feat-grid { justify-items: stretch; }
    /* Контакты / pagehero */
    .pagehero-title { text-align: center; }
    .pagehero-lead { text-align: center; margin-left: auto; margin-right: auto; }
    .crumbs { justify-content: center; }
    /* Футер */
    .foot .foot-grid { text-align: center; }
    .foot .foot-col h4 { text-align: center; }
    .foot .foot-col ul { display: flex; flex-direction: column; align-items: center; }
    .foot .foot-col-projects ul,
    .foot .foot-col-purchase ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px var(--s-5); justify-items: center; max-width: 320px; margin: 0 auto; }
    .foot .foot-grid > div:first-child > a.logo { justify-content: center; }
    .foot .foot-grid > div:first-child .foot-phone,
    .foot .foot-grid > div:first-child .foot-hours { text-align: center; }
    .foot-bottom { justify-content: center; text-align: center; }
    /* === Промо — 3 карточки → горизонтальная карусель, бренд-цвет на is-discount === */
    .premium-grid { grid-template-columns: none !important; }
    .premium-card { min-height: 220px; }
    .premium-title { font-size: 24px; }
    .premium-sub { font-size: 12px; }
    /* === Футер — компактно: только лого, телефон, контакты, соцсети === */
    .foot .foot-grid > div:first-child > p,
    .foot .foot-search,
    /* убран старый hide для проектов 5-8 — теперь они идут во 2 колонку */
    .foot-bottom-disclaimer,
    .foot-bottom > span:first-child { display: none !important; }
    .foot .foot-grid { gap: var(--s-5); }
    .foot .foot-col h4 { font-size: 13px; margin-bottom: var(--s-3); }
    .foot .foot-col ul { gap: 6px; }
    .foot .foot-col a { font-size: 12px; }
    /* === Способы покупки — компактнее === */
    .buy-card { padding: var(--s-4); }
    .buy-card h3 { font-size: 15px; }
    .buy-card p { font-size: 13px; }
    /* === Отзывы — горизонтальная карусель === */
    .reviews-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px; padding-bottom: 8px; }
    .reviews-grid > * { flex: 0 0 86%; scroll-snap-align: start; }
  }
  .float-btn.is-tg { background: var(--tg); }
  /* WhatsApp-пузырь: показываем только ≤980px, где скрыт .head-cta (на десктопе WhatsApp есть в шапке) */
  .float-btn.is-wa { background: #25D366; display: none; }
  .float-btn.is-wa svg { width: 26px; height: 26px; }
  .float-btn.is-ai { background: linear-gradient(135deg, var(--ai-grad-1), var(--ai-grad-2)); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; transition: background 280ms; }
  .float-btn.is-ai::before { content: ''; width: 14px; height: 14px; background: oklch(98% 0 0); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path fill='black' d='M7 0L8 4L12 5L8 6L7 10L6 6L2 5L6 4Z'/><circle cx='12' cy='2' r='1' fill='black'/><circle cx='2' cy='12' r='1.5' fill='black'/></svg>") center/contain no-repeat; margin-right: 2px; }

  /* ============ POPUPS ============ */
  .popup-overlay { position: fixed; inset: 0; z-index: 100; background: oklch(20% 0.02 230 / 0.6); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: var(--s-5); animation: fade 220ms; }
  .popup-overlay.is-on { display: flex; }
  @keyframes fade { from { opacity: 0; } }
  .popup { background: var(--card); border-radius: var(--r-lg); max-width: 460px; width: 100%; padding: var(--s-7); position: relative; box-shadow: var(--shadow-pop); animation: slide 320ms cubic-bezier(.2,.9,.25,1); }
  @keyframes slide { from { transform: translateY(20px); opacity: 0; } }
  .popup-close { position: absolute; top: var(--s-3); right: var(--s-3); background: oklch(96% 0.005 230); border: 0; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); }
  .popup-eyebrow { display: inline-block; background: var(--pop-eyebrow-bg); color: var(--pop-eyebrow-fg); padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
  .popup h3 { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: var(--s-4) 0; }
  .popup p { color: var(--ink-soft); margin: 0 0 var(--s-5); font-size: 14px; }
  .popup-form { display: grid; gap: var(--s-3); }
  .input-pill { width: 100%; padding: 14px 18px; min-height: 48px; background: oklch(96% 0.005 230); border: 1px solid transparent; border-radius: var(--r-pill); font: inherit; font-size: 14px; outline: none; color: var(--ink); transition: 180ms; }
  .input-pill:focus { border-color: var(--brand); background: var(--card); }
  .popup-fineprint { font-size: 11px; color: var(--ink-mute); margin-top: var(--s-2); }

  /* ============ MOBILE BURGER MENU ============ */
  .burger {
    display: none;
    min-width: 88px; height: 44px;
    background: var(--brand); border: 0; border-radius: var(--r-pill);
    align-items: center; justify-content: center;
    gap: 8px; padding: 0 16px;
    cursor: pointer;
    color: var(--brand-on);
    font-family: inherit; font-size: 13px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .burger:active { transform: scale(0.97); }
  .burger .burger-icon {
    display: inline-flex; flex-direction: column; gap: 4px;
    width: 16px;
  }
  .burger .burger-icon span {
    display: block; width: 16px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: 200ms;
  }
  .burger.is-on .burger-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.is-on .burger-icon span:nth-child(2) { opacity: 0; }
  .burger.is-on .burger-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .drawer-overlay {
    position: fixed; inset: 0; z-index: 95;
    background: oklch(20% 0.02 230 / 0.5);
    backdrop-filter: blur(8px);
    display: none; opacity: 0; transition: opacity 250ms;
  }
  .drawer-overlay.is-on { display: block; opacity: 1; }
  .drawer {
    position: fixed; right: 0; top: 0; bottom: 0; width: min(360px, 90vw);
    background: var(--bg); z-index: 96;
    transform: translateX(100%); transition: transform 320ms cubic-bezier(.2,.9,.25,1);
    display: flex; flex-direction: column;
    overflow-y: auto;
    padding: var(--s-5) var(--s-6) var(--s-7);
    gap: var(--s-5);
  }
  .drawer-overlay.is-on .drawer { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
  .drawer-close {
    background: transparent; border: 0; width: 40px; height: 40px;
    border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    color: var(--ink);
  }
  .drawer-close:hover { background: var(--card); }
  .drawer-nav { display: flex; flex-direction: column; gap: var(--s-2); padding-block: var(--s-3); }
  .drawer-nav a {
    font-size: 18px; font-weight: 600; padding: var(--s-3) 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink); display: flex; justify-content: space-between; align-items: center;
  }
  .drawer-nav a::after { content: '→'; color: var(--ink-mute); transition: 200ms; }
  .drawer-nav a:hover { color: var(--brand); }
  .drawer-nav a:hover::after { transform: translateX(3px); color: var(--brand); }
  .drawer-nav a.is-current { color: var(--brand); }
  .drawer-section { padding-top: var(--s-5); border-top: 1px solid var(--line); }
  .drawer-section h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 var(--s-3); }
  .drawer-phone { font-size: 22px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
  .drawer-phone-sub { font-size: 13px; color: var(--ink-soft); }
  .drawer-actions { display: grid; gap: var(--s-2); margin-top: var(--s-3); }
  .drawer-actions .btn { width: 100%; min-height: 48px; }

  body.drawer-open { overflow: hidden; }

  /* Плотное desktop-меню (8 пунктов + контакты) умещается в одну строку только на широких экранах. Ниже 1240px — бургер, чтобы меню не давило логотип. */
  @media (max-width: 1240px) {
    .nav-main { display: none; }
    .burger { display: inline-flex; }
  }
  @media (max-width: 980px) {
    .head-cta { display: none; }
    .float-btn.is-wa { display: grid; }
    .head-utils .icon-btn { display: none; }
    .head-utils .lang-switch { display: none; }
    .phone-block { display: none; }
  }

  /* ============ MOBILE ============ */
  @media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; height: auto; }
    .hero-block.is-main { grid-column: 1 / span 2; grid-row: 1; aspect-ratio: 16/9; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .premium-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .mortgage-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .util-tabs { gap: var(--s-3); font-size: 12px; }
    .nav-main { display: none; }
    .head-row { display: flex; align-items: center; justify-content: space-between; }
    .head-utils .lang-switch, .head-utils .icon-btn { display: none; }
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: var(--s-3); }
    .hero-block.is-main { grid-column: 1; aspect-ratio: 16/13; }
    .promo { padding: var(--s-5); }
    .promo-numbers { font-size: clamp(56px, 14vw, 88px); }
    .grid-3 { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { grid-template-columns: 1fr; }
    .sticky-row { grid-template-columns: 1fr auto; }
    .sticky-counter, .sticky-close { display: none; }
    .help-cta { grid-template-columns: 1fr; }
    .help-cta.is-with-ai { grid-template-columns: 1fr; gap: var(--s-5); }
    .help-cta.is-with-ai .ai-helper { padding: var(--s-4); }
    .help-cta-actions { gap: var(--s-2); }
    .help-cta-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
    .floater { bottom: 88px; }
    .float-btn { width: 52px; height: 52px; }
    .theme-switcher { top: auto; bottom: 90px; right: 12px; }
    .theme-switcher::before { display: none; }
    .theme-btn { padding: 6px 10px; font-size: 11px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }
  .skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: oklch(98% 0 0); padding: 12px 16px; z-index: 100; }
  .skip:focus { left: 0; }

  /* ============ INNER / DETAIL PAGES (ATAMURA, same design system) ============ */
  .pagehero { position: relative; background-size: cover; background-position: center; color: oklch(98% 0 0);
    padding: clamp(48px,8vw,104px) 0 clamp(40px,5vw,72px); background-color: var(--dark-cta); }
  .pagehero-inner { position: relative; z-index: 2; }
  .crumbs { font-size: 13px; color: oklch(98% 0 0 / .8); display: flex; gap: 8px; align-items: center; margin-bottom: var(--s-5); flex-wrap: wrap; }
  .crumbs a { color: oklch(98% 0 0 / .8); } .crumbs a:hover { color: var(--accent); }
  .crumbs span { opacity: .5; }
  .pagehero-badges { display: flex; gap: 8px; margin-bottom: var(--s-4); flex-wrap: wrap; }
  .pagehero-title { font-size: var(--t-h1); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
  .pagehero-sub { font-size: clamp(15px,1.4vw,18px); color: oklch(98% 0 0 / .88); margin: var(--s-3) 0 0; max-width: 60ch; }
  .pagehero-cta { display: flex; gap: var(--s-3); margin-top: var(--s-6); flex-wrap: wrap; }
  .pagehero-lead { font-size: clamp(15px,1.4vw,18px); color: oklch(98% 0 0 / .88); max-width: 64ch; margin: var(--s-4) 0 0; }

  .zk-section { padding-block: clamp(40px,6vw,80px); }
  .zk-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-4); margin-bottom: var(--s-8); }
  .zk-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); }
  .zk-stat strong { display: block; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; word-wrap: break-word; }
  .zk-stat span { font-size: 13px; color: var(--ink-mute); margin-top: 6px; display: block; }

  .zk-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
  .zk-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: var(--s-3); margin-bottom: var(--s-7); }
  .zk-gallery .zk-gtile:first-child { grid-column: span 2; grid-row: span 2; }
  .zk-gtile { border-radius: var(--r-md); overflow: hidden; background: var(--brand-soft); position: relative; }
  .zk-gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.9,.25,1); }
  .zk-gtile:hover img { transform: scale(1.05); }
  .zk-gtile.is-ph { background: linear-gradient(135deg, var(--brand-soft), var(--line-soft)); }
  .zk-h2 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 var(--s-4); }
  .zk-h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: var(--s-5) 0 var(--s-3); }
  /* ===== Карта-страница (все ЖК) ===== */
  .map-page { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-5); align-items: stretch; min-height: 560px; }
  .map-page-list { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; padding-right: 6px; }
  .map-card { display: block; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: border-color 160ms, transform 160ms; }
  .map-card:hover { border-color: var(--brand); transform: translateY(-1px); }
  .map-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .map-card-head strong { font-size: 15px; font-weight: 700; }
  .map-card-status { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-soft); white-space: nowrap; }
  .map-card-status.is-live { background: oklch(76% 0.16 145 / 0.18); color: oklch(36% 0.13 145); }
  .map-card-status.is-done { background: var(--bg); color: var(--ink-soft); }
  .map-card-status.is-soon { background: var(--accent-soft); color: var(--accent-deep); }
  .map-card-meta { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
  .map-card-price { font-size: 14px; font-weight: 700; color: var(--brand-deep); margin-top: 8px; }
  .map-page-map { min-height: 560px; }
  .map-page-map #zkMap { border: 1px solid var(--line); }
  @media (max-width: 980px) {
    .map-page { grid-template-columns: 1fr; }
    .map-page-list { max-height: none; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
    .map-card { flex: 0 0 78%; scroll-snap-align: start; }
    .map-page-map #zkMap { min-height: 420px !important; }
  }
  /* ===== Сравнение ЖК ===== */
  .cmp-pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-5); }
  .cmp-pick-title { font-weight: 600; margin-bottom: var(--s-3); }
  .cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-4); }
  .cmp-chip { display: inline-flex; align-items: center; padding: 8px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; transition: 160ms; user-select: none; }
  .cmp-chip:has(input:checked) { background: var(--brand); color: #fff; border-color: var(--brand); }
  .cmp-chip input { position: absolute; opacity: 0; pointer-events: none; }
  .cmp-pick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .cmp-table-wrap { overflow-x: auto; }
  .cmp-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-md); overflow: hidden; }
  .cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
  .cmp-table thead th { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
  .cmp-table .cmp-row-label { font-weight: 600; color: var(--ink-soft); width: 180px; background: var(--bg); }
  .cmp-th-link a { font-size: 12px; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
  /* ===== Мульти-шаг форма ===== */
  .ms-form { display: flex; flex-direction: column; gap: var(--s-4); }
  .ms-progress { width: 100%; height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
  .ms-progress-bar { height: 100%; background: var(--brand); border-radius: 99px; transition: width 280ms cubic-bezier(.2, .9, .25, 1); }
  .ms-progress-label { font-size: 12px; color: var(--ink-soft); margin-top: -8px; }
  .ms-step { display: none; flex-direction: column; gap: var(--s-3); }
  .ms-step.is-active { display: flex; animation: msFade 280ms ease; }
  @keyframes msFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .ms-q { font-size: 17px; font-weight: 600; margin: 0; color: var(--ink); }
  .ms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .ms-chip { padding: 11px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; transition: 160ms; color: var(--ink); }
  .ms-chip:hover { border-color: var(--brand); }
  .ms-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
  .ms-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--s-2); }
  .ms-actions .btn { flex: 1; min-width: 0; }
  .ms-next:disabled { opacity: 0.5; cursor: not-allowed; }
  .zk-share { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; margin-top: 10px; font-size: 14px; color: #25D366 !important; border-color: #25D366 !important; }
  .zk-share:hover { background: #25D366; color: #fff !important; }
  .zk-map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-top: var(--s-3); width: 100%; height: 360px; background: var(--bg); }
  .zk-map iframe { display: block; width: 100%; height: 280px; border: 0; }
  .zk-pin { background: var(--accent); color: var(--accent-on); border-radius: 50%; box-shadow: 0 2px 8px oklch(0% 0 0 / 0.3); border: 3px solid #fff; display: grid; place-items: center; }
  .zk-pin-inner { font-size: 18px; font-weight: 700; line-height: 1; }
  .zk-map-legend { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 12px; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 12px; color: var(--ink-soft); }
  .legend-item { display: inline-flex; align-items: center; gap: 6px; }
  .legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .legend-dot.is-navy { background: #284157; }
  .legend-dot.is-teal { background: #007484; }
  .legend-dot.is-violet { background: #7c3aed; }
  .legend-dot.is-green { background: #16a34a; }
  .legend-dot.is-red { background: #dc2626; }
  .zk-maplinks { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: var(--s-3); padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 14px; }
  .zk-maplinks svg { color: var(--brand); flex-shrink: 0; }
  .zk-maplinks-label { color: var(--ink-soft); }
  .zk-maplinks a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
  .zk-lead { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
  .feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .feat { display: flex; gap: var(--s-3); align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); font-size: 14px; line-height: 1.4; }
  .feat svg { color: var(--brand); flex-shrink: 0; margin-top: 1px; }
  .note { background: var(--accent-soft); color: var(--accent-on); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); font-size: 14px; line-height: 1.5; margin-top: var(--s-5); }

  .zk-aside { position: sticky; top: 96px; }
  .zk-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); }
  .zk-card-price { font-size: 26px; font-weight: 700; color: var(--brand-deep); letter-spacing: -0.02em; }
  .zk-card-note { font-size: 13px; color: var(--ink-soft); margin: var(--s-3) 0 var(--s-5); line-height: 1.5; }
  .zk-card .lead-form { display: grid; gap: var(--s-3); }
  .zk-card .btn { width: 100%; }
  .zk-similar { margin-top: clamp(40px,6vw,80px); }

  /* simple content page (about / contacts) */
  .content { padding-block: clamp(40px,6vw,80px); }
  .content-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
  .content h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.025em; margin: 0 0 var(--s-4); }
  .content p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 64ch; }
  .stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-3); margin: var(--s-7) 0; }
  .stat-big { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
  .stat-big b { display: block; font-size: 40px; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; line-height: 1; }
  .stat-big span { display: block; font-size: 14px; color: var(--ink-mute); margin-top: var(--s-3); }
  .contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); margin-bottom: var(--s-3); }
  .contact-card .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: var(--s-2); }
  .contact-card strong { font-size: 20px; font-weight: 700; color: var(--ink); }
  .lead-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
  .lead-form-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 var(--s-4); }
  .lead-form-card .lead-form { display: grid; gap: var(--s-3); }
  .ty-wrap { text-align: center; max-width: 560px; margin: 0 auto; padding: clamp(48px,8vw,96px) 0; }
  .ty-check { width: 84px; height: 84px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto var(--s-5); }

  @media (max-width: 980px) {
    .zk-layout, .content-grid { grid-template-columns: 1fr; }
    .zk-aside { position: static; }
    .zk-stats, .stat-row { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
  }
  @media (max-width: 600px) {
    .zk-gallery { grid-template-columns: 1fr 1fr; }
    .zk-gallery .zk-gtile:first-child { grid-column: span 2; grid-row: span 1; }
    .feat-grid { grid-template-columns: 1fr; }
    .zk-stats, .stat-row { grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
  }

  /* ============ КАТАЛОГ КВАРТИР (/flats) ============ */
  .cat-bar { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: var(--s-4); align-items: end;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4); box-shadow: var(--shadow-card); position: sticky; top: 84px; z-index: 30; }
  .cat-chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .cat-chip { min-height: 38px; padding: 0 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); font: 600 13px/1 inherit; color: var(--ink); transition: 140ms; }
  .cat-chip:hover { border-color: var(--ink-mute); }
  .cat-chip.is-on { background: var(--brand); color: var(--brand-on); border-color: var(--brand); }
  .cat-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .cat-field label { font: 600 11px/1 inherit; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
  .cat-field select { min-height: 38px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 10px; font: 500 13px inherit; background: var(--bg); color: var(--ink); }
  .cat-field input[type=range] { width: 100%; min-width: 160px; accent-color: var(--brand); margin: 8px 0 2px; }
  .cat-field output { font: 700 14px inherit; color: var(--ink); font-variant-numeric: tabular-nums; }
  .cat-reset { min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font: 600 13px inherit; color: var(--ink-soft); transition: 140ms; }
  .cat-reset:hover { border-color: var(--ink); color: var(--ink); }

  .cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin: var(--s-7) 0 var(--s-5); flex-wrap: wrap; }
  .cat-count { font-size: var(--t-h1); font-weight: 600; letter-spacing: -0.03em; margin: 0; font-variant-numeric: tabular-nums; }
  .cat-favtoggle { font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
  .cat-favtoggle input { width: 18px; height: 18px; accent-color: var(--brand); }

  .cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .flat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: 200ms cubic-bezier(.2,.9,.25,1); }
  .flat:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: transparent; }
  .flat-photo { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--brand-soft); }
  .flat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.9,.25,1); }
  .flat:hover .flat-photo img { transform: scale(1.05); }
  .flat-fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: oklch(98% 0 0 / 0.9); backdrop-filter: blur(6px); color: var(--ink-mute); display: grid; place-items: center; transition: 160ms; }
  .flat-fav:hover { color: var(--brand); transform: scale(1.08); }
  .flat-fav.is-on { color: #e23744; }
  .flat-status { position: absolute; left: 10px; bottom: 10px; background: oklch(20% 0 0 / 0.78); color: oklch(98% 0 0); font: 600 11px/1 inherit; padding: 6px 10px; border-radius: var(--r-pill); backdrop-filter: blur(6px); }
  .flat-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .flat-head { display: flex; align-items: baseline; justify-content: space-between; }
  .flat-rooms { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
  .flat-area { font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
  .flat-price strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .flat-price span { font-size: 12px; color: var(--ink-mute); margin-left: 8px; }
  .flat-meta { font-size: 12px; color: var(--ink-mute); display: flex; gap: 6px; flex-wrap: wrap; }
  .flat-actions { margin-top: auto; padding-top: var(--s-3); display: grid; grid-template-columns: 1fr auto; gap: 8px; }

  /* ---------- Избранное (localStorage) ---------- */
  .flat { position: relative; }
  .flat-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: oklch(20% 0 0 / 0.42); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; transition: 160ms cubic-bezier(.2,.9,.25,1); }
  .flat-fav:hover { background: oklch(20% 0 0 / 0.62); transform: scale(1.08); }
  .flat-fav svg { fill: none; stroke: #fff; stroke-width: 2; }
  .flat-fav.is-on { background: #fff; }
  .flat-fav.is-on svg { fill: #e0245e; stroke: #e0245e; }
  .cat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); flex-wrap: wrap; }
  .cat-fav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); font: 600 13px/1 inherit; color: var(--ink); cursor: pointer; transition: 140ms; flex-shrink: 0; }
  .cat-fav-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; }
  .cat-fav-toggle:hover { border-color: var(--ink-mute); }
  .cat-fav-toggle.is-on { background: var(--brand); color: var(--brand-on); border-color: var(--brand); }
  .cat-fav-toggle.is-on svg { fill: currentColor; }
  a.icon-btn { position: relative; }
  .fav-count { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--brand); color: #fff; font: 700 10px/16px inherit; text-align: center; pointer-events: none; }
  .fav-count:empty { display: none; }

  /* ---------- Калькулятор-конвертер ---------- */
  .mort-cta { width: 100%; margin-top: 18px; justify-content: center; }
  .mort-note { font-size: 12px; line-height: 1.4; color: var(--ink-mute); margin-top: 10px; text-align: center; }

  /* ---------- Бар доверия под героем ---------- */
  .trustbar { background: var(--brand-soft); border-bottom: 1px solid var(--line); }
  .trustbar-row { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 16px 0; align-items: center; justify-content: center; }
  .tb-item { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); white-space: nowrap; }
  .tb-item svg { color: var(--brand); flex-shrink: 0; }
  .tb-item b { font-weight: 700; }
  @media (max-width: 760px){ .trustbar-row { gap: 10px 18px; } .tb-item { font-size: 12.5px; } }
  .btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
  .cat-empty { text-align: center; padding: var(--s-9) 0; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }

  @media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } .cat-bar { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 760px) {
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .cat-bar { grid-template-columns: 1fr; position: static; }
    .cat-count { font-size: var(--t-h2); }
  }
  @media (max-width: 460px) { .cat-grid { grid-template-columns: 1fr; } }

  /* ============ TRUST COUNTERS ============ */
  .trust { padding-top: calc(var(--sect-py) * 2); padding-bottom: var(--sect-py); } /* счётчики: отступ сверху = межсекционному (как снизу), симметрично */
  .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .trust-cell { text-align: center; padding: var(--s-5); position: relative; }
  .trust-cell b { display: block; font-size: clamp(32px, 4vw, 52px); font-weight: 700; color: var(--brand); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
  .trust-cell span { display: block; margin-top: var(--s-3); font-size: 14px; color: var(--ink-soft); }
  /* тонкий вертикальный разделитель между счётчиками — ровный визуальный ритм */
  .trust-cell + .trust-cell::before { content: ""; position: absolute; top: 50%; left: calc(var(--s-4) / -2); transform: translateY(-50%); width: 1px; height: 56%; background: var(--line); }
  @media (max-width: 760px) {
    .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
    .trust-cell + .trust-cell::before { left: calc(var(--s-5) / -2); }
    .trust-cell:nth-child(odd)::before { display: none; }
  }

  /* ============ WAYS TO BUY ============ */
  .buy { padding-block: var(--sect-py); }
  .buy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
  .buy-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); transition: 200ms; }
  .buy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
  .buy-card .buy-ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: var(--s-4); }
  .buy-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 var(--s-2); }
  .buy-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
  .buy-card .buy-rate { font-size: 13px; font-weight: 700; color: var(--brand-deep); margin-top: var(--s-3); }
  @media (max-width: 980px) { .buy-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .buy-grid { grid-template-columns: 1fr; } }

  /* ============ INLINE HERO SEARCH ============ */
  .herosearch { background: oklch(98% 0 0 / 0.96); backdrop-filter: blur(8px); border-radius: var(--r-lg); padding: var(--s-4); display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; box-shadow: var(--shadow-pop); margin-top: var(--s-4); }
  .herosearch .hs-chips { display: flex; gap: 4px; }
  .herosearch .hs-chip { min-height: 40px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); font: 600 13px inherit; color: var(--ink); }
  .herosearch .hs-chip.is-on { background: var(--brand); color: var(--brand-on); border-color: var(--brand); }
  .herosearch select { min-height: 40px; max-width: 150px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 12px; font: 500 14px inherit; background: var(--bg); }
  .herosearch .btn { margin-left: auto; }
  @media (max-width: 760px) { .herosearch .btn { margin-left: 0; width: 100%; } }

  /* ============ A11Y (WCAG 2.2) ============ */
  /* Видимый фокус для клавиатуры (2.4.7). currentColor наследует цвет текста → контраст уже выверен. */
  :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 3px; }
  :focus:not(:focus-visible) { outline: none; }
  /* Фокус не должен прятаться под sticky-хедер (2.4.11) */
  :target { scroll-margin-top: 96px; }
  /* Уважать prefers-reduced-motion: гасим transition/animation/scroll-behavior */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  }

  /* ============ ДОРАБОТКИ ПО UX-АУДИТУ ============ */
  /* «Готовится» — не выглядит как рабочая ссылка/кнопка */
  [data-soon] { opacity: .5; pointer-events: none; cursor: default; }
  a[data-soon] { text-decoration: none; }
  a.icon-btn { text-decoration: none; }

  /* Inline-ошибка поля формы */
  .field-err { color: #b3261e; font-size: 12px; margin: 4px 2px 0; font-weight: 500; }
  .input-pill[aria-invalid="true"] { border-color: #b3261e; }

  /* Подсказка-тултип на калькуляторе */
  .hint { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
    background: var(--line); color: var(--ink-soft); font-size: 11px; font-weight: 700; cursor: help;
    text-decoration: none; vertical-align: middle; margin-left: 2px; }

  /* FAQ (нативный details/summary — доступно с клавиатуры) */
  .faq { padding-block: var(--sect-py); }
  .faq-list { display: grid; gap: 10px; margin-top: var(--s-5); max-width: 820px; }
  .faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 16px; color: var(--ink);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--brand); flex-shrink: 0; transition: transform 200ms; }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-a { padding: 0 20px 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; max-width: 70ch; }

  /* Активный пункт меню («вы здесь») */
  .nav-main a.is-active { color: var(--brand); font-weight: 600; }
  .nav-main a.is-active::after { content: ""; display: block; height: 2px; background: var(--brand); border-radius: 2px; margin-top: 3px; }

  /* ============ ГЕРОЙ «ПОИСК-ПЕРВЫЙ» (фото ЖК + панель подбора) ============ */
  .home-hero { position: relative; min-height: min(88vh, 860px); overflow: hidden; display: flex; align-items: flex-end; }
  /* верхний скрим — чтобы белое меню читалось над светлой частью фото */
  .home-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(18,30,42,.55), rgba(18,30,42,0)); }
  .home-hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--navy); }
  .hh-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1000ms ease; }
  .hh-slide.is-on { opacity: 1; }
  .hh-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(102deg, rgba(18,30,42,.92) 0%, rgba(18,30,42,.55) 48%, rgba(18,30,42,.28) 100%); }
  .hh-sliderui { position: absolute; right: 30px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 14px; }
  .hh-name { font-size: 13px; color: rgba(255,255,255,.85); font-weight: 500; }
  .hh-dots { display: flex; gap: 8px; }
  .hh-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width 200ms, background 200ms; }
  .hh-dots button.on { background: var(--accent); width: 24px; border-radius: 5px; }
  .home-hero-inner { position: relative; z-index: 2; padding: 134px 0 54px; color: #fff; }
  .hh-brand { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
  .hh-title { font-size: clamp(34px, 4.8vw, 56px); font-weight: 600; line-height: 1.02; letter-spacing: -.015em; margin: 10px 0 8px; color: #fff; }
  .hh-offer { font-size: 16px; color: #e7f0f2; margin-bottom: 24px; max-width: 48ch; }
  .hh-offer b { color: #fff; }
  .hh-meta { margin-top: 16px; font-size: 13px; color: #cfe0e3; } .hh-meta b { color: #fff; }
  .hs-panel { background: #fff; border-radius: 18px; box-shadow: 0 26px 60px rgba(0,0,0,.35); padding: 20px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; max-width: 920px; margin-top: 0; }
  .hs-group { display: flex; flex-direction: column; gap: 7px; }
  .hs-label { font-size: 12px; color: var(--ink-mute); font-weight: 600; }
  .hs-panel .hs-chips { display: flex; gap: 4px; }
  .hs-panel .hs-chip { min-width: 40px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 600 14px inherit; color: var(--ink); padding: 0 9px; cursor: pointer; }
  .hs-panel .hs-chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
  .hs-panel select { height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: 500 14px inherit; background: var(--bg); color: var(--ink); }
  /* Кнопка поиска — компактная, прижата вправо под фильтрами (не на всю ширину, без пустого «бруска») */
  .hs-panel .hs-go { margin-left: auto; height: 48px; display: inline-flex; align-items: center; }
  @media (max-width: 820px) { .home-hero-inner { padding-top: 100px; } .hs-panel { flex-direction: column; align-items: stretch; } .hs-panel select { max-width: none; } .hs-panel .hs-go { flex: 0 0 auto; max-width: none; margin: var(--s-2) 0 0; width: 100%; justify-content: center; } }

  /* Прозрачная шапка поверх фото-героя (только главная, body.home) */
  .home .util.over { position: absolute; top: 0; left: 0; right: 0; z-index: 40; background: transparent; border-color: rgba(255,255,255,.10); }
  .home .util.over .util-tabs a, .home .util.over .city { color: rgba(255,255,255,.92); }
  .home .util.over .util-tabs a[data-soon] { color: rgba(255,255,255,.5); }
  .home .head.over { position: absolute; top: 48px; left: 0; right: 0; z-index: 40; background: transparent; backdrop-filter: none; }
  .home .head.over .nav-main a { color: #fff; }
  .home .head.over .nav-main a.nav-consult { color: #bfe9ef; }
  .home .head.over .phone-block strong a { color: #fff; }
  .home .head.over .phone-block small { color: rgba(255,255,255,.7); }
  .home .head.over .lang-switch, .home .head.over .icon-btn, .home .head.over .burger { color: #fff; }
  .home .head.over .login-btn { color: #fff; border-color: rgba(255,255,255,.4); }
  /* Логотип: белый над фото, тёмный при скролле */
  .head.over .logo-n { display: none; } .head.over .logo-w { display: block; }
  /* Липкая плотная шапка при скролле */
  .head.over.is-stuck { position: fixed; top: 0; background: var(--bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(40,65,87,.08); }
  .head.over.is-stuck .logo-w { display: none; } .head.over.is-stuck .logo-n { display: block; }
  .head.over.is-stuck .nav-main a { color: var(--ink); }
  .head.over.is-stuck .nav-main a.nav-consult { color: var(--teal); }
  .head.over.is-stuck .phone-block strong a, .head.over.is-stuck .lang-switch, .head.over.is-stuck .icon-btn, .head.over.is-stuck .burger { color: var(--ink); }
  .head.over.is-stuck .phone-block small { color: var(--ink-mute); }
  .head.over.is-stuck .login-btn { color: var(--ink); border-color: var(--line); }

  /* Каталог-конвертер (type-level): фильтр-бар на flex, переносится; без избранного */
  .cat-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; }
  .cat-bar .cat-field { flex: 0 0 auto; }
  .cat-field-rooms { flex: 0 0 auto; }
  .cat-field-wide { flex: 1 1 220px; min-width: 200px; }
  .cat-field-wide label { display: flex; gap: 8px; align-items: baseline; }
  .cat-note { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin: 0; max-width: 56ch; }
  a.flat-photo { display: block; color: inherit; }
  .flat-status { background: oklch(28% 0.02 250 / 0.82); }
  @media (max-width: 560px) {
    .cat-bar { flex-direction: column; align-items: stretch; }
    .cat-bar .cat-field, .cat-field-wide, .cat-field-rooms { flex: 1 1 auto; width: 100%; }
  }

  /* Мобильный фикс героя: высота по контенту (не 88vh), плавающие кнопки — в угол, не на панель подбора */
  @media (max-width: 760px) {
    .home-hero { min-height: 100svh; align-items: flex-end; }
    .home-hero::before { height: 120px; }
    .home-hero-inner { padding: 0 20px 92px; text-align: center; }
    .home-hero .hh-scrim { background: linear-gradient(180deg, oklch(0% 0 0 / 0.42) 0%, oklch(0% 0 0 / 0.1) 42%, oklch(0% 0 0 / 0.78) 100%); }
    .hh-title { font-size: clamp(36px, 9.5vw, 50px); }
    .hh-meta { font-size: 12px; line-height: 1.45; }
    .floater { bottom: 18px; right: 14px; }
    .float-btn { width: 48px; height: 48px; }
    .sticky-bar.is-on ~ .floater { bottom: 80px; }
  }

  /* Засечные заголовки — Cormorant (премиум / «наследие»). Текст, интерфейс и числа остаются Jost. */
  .hh-title, .sect-title, .pagehero-title, .zk-h2,
  .content h2, .reviews h2, .news h2, .premium-row h2, .mortgage-info h2, .help-cta h3 {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    letter-spacing: 0;
    font-weight: 600;
  }
  .hh-title { font-weight: 600; }
