/* «Рванём» — дизайн-система v1 (21.10.2026). Описание — docs/DESIGN_SYSTEM.md.
   Порядок: шрифты → токены → база → типографика → раскладка → компоненты → модули страниц → утилиты. */

/* ------------------------------------------------------------------ шрифты (OFL, локально) */
@font-face { font-family: 'Geologica'; src: url('fonts/geologica-var.woff') format('woff'); font-weight: 500 800; font-display: swap; }
@font-face { font-family: 'Golos Text'; src: url('fonts/golos-var.woff') format('woff'); font-weight: 400 700; font-display: swap; }

/* ------------------------------------------------------------------ токены */
:root {
  /* бренд: «Хвоя» — основной, «Уголёк» — акцент только для знака и маркеров */
  --pine-900: #0F2A20;
  --pine-800: #143A2C;
  --pine-700: #1D4E3B;   /* основной фирменный: кнопки, ссылки, выбранное */
  --pine-600: #276249;   /* наведение на светлом фоне для ссылок */
  --pine-200: #C9DDD1;
  --pine-100: #E3EEE7;
  --pine-50:  #F0F6F2;
  --ember-500: #F0782F;  /* точки над Ё и маркеры разделов */
  --ember-600: #D9611A;

  /* нейтральные, тёплые */
  --ink:   #15201B;
  --ink-2: #4D5A53;
  --ink-3: #7C8781;
  --line:  #DEDAD1;
  --line-soft: #ECE8E0;
  --bg:    #F6F4EF;
  --surface: #FFFFFF;
  --sand:  #EFEBE3;

  /* состояния */
  --success: #1E7A4C; --success-bg: #E5F3EA;
  --warning: #9A5B00; --warning-bg: #FFF3DC;
  --error:   #B4322A; --error-bg:   #FCEBE9;
  --info:    #285C8C; --info-bg:    #E8F0F8;

  /* интерактив */
  --btn-bg: var(--pine-700); --btn-bg-hover: #163E2F; --btn-bg-active: #10301F;
  --focus: 0 0 0 3px rgba(39, 98, 73, .28);

  /* типографика */
  --font-head: 'Geologica', 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --fs-h1: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.1vw, 2.125rem);
  --fs-h3: 1.375rem;
  --fs-h4: 1.125rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-caption: .8125rem;
  --fs-overline: .75rem;

  /* отступы (шаг 4) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --section: clamp(48px, 3vw + 36px, 80px);

  /* формы */
  --r-xs: 6px; --r-sm: 10px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(21, 32, 27, .06), 0 8px 24px rgba(21, 32, 27, .08);
  --shadow-2: 0 24px 64px rgba(15, 42, 32, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 150ms; --t-med: 220ms;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 68px;
}
@media (max-width: 767px) { :root { --gutter: 16px; --header-h: 60px; } }

/* ------------------------------------------------------------------ база */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55;
  font-feature-settings: 'kern', 'lnum'; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-600); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--pine-600); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--pine-200); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }

/* иконки: <svg class="i"><use href="#i-name"/></svg> */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.i-sm { width: 16px; height: 16px; vertical-align: -3px; }
.i-lg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ типографика */
h1, h2, h3, h4, .t-display, .t-h1, .t-h2, .t-h3, .t-h4 {
  font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance;
}
.t-display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.032em; }
h1, .t-h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.026em; }
h2, .t-h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.02em; }
h3, .t-h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -.014em; font-weight: 650; }
h4, .t-h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -.008em; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.small, small { font-size: var(--fs-small); line-height: 1.45; }
.caption { font-size: var(--fs-caption); line-height: 1.4; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.overline {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--s-3);
  font-size: var(--fs-overline); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}
.overline::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember-500); }
.num { font-variant-numeric: tabular-nums; }
.pre { white-space: pre-line; }

/* ------------------------------------------------------------------ раскладка */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--pine-900); color: #E8EFEA; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-8); }
.section-head p { margin: var(--s-2) 0 0; color: var(--ink-2); max-width: 620px; }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); } }
@media (max-width: 479px) { .grid-4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ кнопки */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: var(--btn-bg); color: #fff; font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; transition: background var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover { background: var(--btn-bg-hover); color: #fff; }
.btn:active { background: var(--btn-bg-active); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-sm, .btn-small { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-secondary, .btn-ghost-dark { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover, .btn-ghost-dark:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--line-soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--pine-800); }
.btn-light:hover { background: var(--pine-50); color: var(--pine-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .i { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); transition: background var(--t-fast);
}
.icon-btn:hover { background: var(--line-soft); }

/* ------------------------------------------------------------------ поля */
.field, .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-5); min-width: 0; }
.field > label, .form-group > label, .label { font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.hint { font-size: var(--fs-caption); color: var(--ink-3); }
.input, .form-group input:not([type=checkbox]):not([type=radio]), .form-group select, .form-group textarea, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.35;
  transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
select, .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237C8781' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px !important;
}
.input:hover, .form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--ink-3); }
.input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine-700); box-shadow: var(--focus);
}
::placeholder { color: var(--ink-3); opacity: 1; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--error) !important; }
.has-error .radio-grid, .has-error .checkbox-grid { outline: 1px solid var(--error); outline-offset: 4px; border-radius: var(--r-sm); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-caption); color: var(--error); line-height: 1.35; }
.field-error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; margin-top: 1px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-4); }
.form-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 599px) { .form-row, .form-row.three { grid-template-columns: 1fr; } }

/* выбор: карточки-радио и чекбоксы */
.radio-grid, .checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-2); }
.radio-card, .checkbox-card { position: relative; display: block; cursor: pointer; }
.radio-card input, .checkbox-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio-card span, .checkbox-card span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 15px; font-weight: 500; transition: border-color var(--t-fast), background var(--t-fast);
}
.radio-card span .i, .checkbox-card span .i { color: var(--ink-3); }
.radio-card:hover span, .checkbox-card:hover span { border-color: var(--ink-3); }
.radio-card input:checked + span, .checkbox-card input:checked + span { border-color: var(--pine-700); background: var(--pine-50); box-shadow: inset 0 0 0 1px var(--pine-700); }
.radio-card input:checked + span .i, .checkbox-card input:checked + span .i { color: var(--pine-700); }
.radio-card input:focus-visible + span, .checkbox-card input:focus-visible + span { box-shadow: var(--focus); }
.checkbox-inline, .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0 0 var(--s-5); cursor: pointer; }
.consent { font-size: var(--fs-small); }
.checkbox-inline input, .consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ink-3); border-radius: 5px; background: var(--surface); display: grid; place-items: center; cursor: pointer;
}
.checkbox-inline input:checked, .consent input:checked { background: var(--pine-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--pine-700); }
.checkbox-inline input:focus-visible, .consent input:focus-visible { box-shadow: var(--focus); outline: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ------------------------------------------------------------------ чипы-фильтры */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip, .filter-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap;
  text-decoration: none; transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.chip .i, .filter-btn .i { width: 18px; height: 18px; color: var(--ink-2); }
.chip:hover, .filter-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.active, .filter-btn.active { background: var(--pine-700); border-color: var(--pine-700); color: #fff; }
.chip.active .i, .filter-btn.active .i { color: #fff; }
.filter-btn.reset-filter { border-style: dashed; color: var(--ink-2); }
@media (max-width: 767px) {
  .chips-scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .chips-scroll::-webkit-scrollbar { display: none; }
}

/* ------------------------------------------------------------------ бейджи, теги */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.badge .i { width: 14px; height: 14px; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-pine { background: var(--pine-100); color: var(--pine-800); }
.badge-sand { background: var(--sand); color: var(--ink-2); }
.tag { font-size: var(--fs-caption); font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }

/* ------------------------------------------------------------------ уведомления */
.alert, .form-alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--info-bg); color: var(--info); font-size: 15px; line-height: 1.45; margin-bottom: var(--s-5);
}
.form-alert, .alert-error { background: var(--error-bg); color: var(--error); }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-warning { background: var(--warning-bg); color: var(--warning); }
.alert .i { margin-top: 1px; }
.notice { padding: 16px 18px; border-radius: var(--r-md); background: var(--sand); color: var(--ink-2); font-size: var(--fs-small); }
.notice p { margin: 0; }

/* ------------------------------------------------------------------ пустые состояния, загрузка */
.empty-state {
  grid-column: 1 / -1; display: grid; justify-items: start; gap: var(--s-3); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft);
}
.empty-state h3 { font-size: 1.5rem; }
.empty-state p { color: var(--ink-2); max-width: 560px; margin: 0; }
.empty-state .actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--pine-50); color: var(--pine-700); }
.empty-icon .i { width: 24px; height: 24px; }
.loading { color: var(--ink-3); }
.skeleton { position: relative; overflow: hidden; background: var(--line-soft); border-radius: var(--r-md); }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-card .sk-ph { aspect-ratio: 4 / 3; }
.sk-card .sk-line { height: 14px; margin-top: 12px; border-radius: 6px; }
.sk-card .sk-line.w60 { width: 60%; } .sk-card .sk-line.w40 { width: 40%; }

/* ------------------------------------------------------------------ шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line-soft); }
.site-header .container { display: flex; align-items: center; gap: var(--s-8); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.brand img, .brand svg { height: 22px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--s-1); flex: 1; }
.main-nav > a, .nav-drop > summary {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.main-nav > a:hover, .nav-drop > summary:hover, .nav-drop[open] > summary { background: var(--line-soft); color: var(--ink); }
.main-nav > a[aria-current="page"] { color: var(--pine-700); }
.nav-drop { position: relative; }
.nav-drop .i { width: 16px; height: 16px; transition: transform var(--t-fast); }
.nav-drop[open] > summary .i { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 8px; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-1); z-index: 60;
}
.nav-menu a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.nav-menu a:hover { background: var(--bg); color: var(--ink); }
.nav-menu img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.nav-menu strong { display: block; font-weight: 600; font-size: 15px; }
.nav-menu span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.menu-toggle { display: none; }
.mobile-only, .main-nav > .mobile-only { display: none; }
@media (max-width: 1023px) {
  .site-header .container { gap: var(--s-4); }
  .menu-toggle { display: inline-grid; margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; background: var(--surface); overflow-y: auto; border-top: 1px solid var(--line-soft);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-drop > summary { height: 56px; padding: 0 4px; font-size: 18px; font-weight: 600; border-radius: 0; border-bottom: 1px solid var(--line-soft); justify-content: space-between; }
  .main-nav > a:hover, .nav-drop > summary:hover, .nav-drop[open] > summary { background: transparent; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 8px 0; min-width: 0; }
  .mobile-only, .main-nav > .mobile-only { display: inline-flex; }
  .main-nav > a.btn { margin-top: var(--s-6); height: 52px; padding: 0 20px; justify-content: center; color: #fff; border-bottom: 0; border-radius: var(--r-sm); font-size: 16px; }
  .main-nav > a.btn:hover { background: var(--btn-bg-hover); color: #fff; }
  .nav-drop { width: 100%; }
  .nav-drop > summary { display: flex; width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ подвал */
.site-footer { background: var(--pine-900); color: #B9C7BF; padding: var(--s-16) 0 var(--s-8); font-size: 15px; }
.site-footer a { color: #E4ECE7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-8); }
.footer-brand img { height: 22px; width: auto; margin-bottom: var(--s-4); }
.footer-brand p { max-width: 300px; margin: 0; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8FA399; margin: 0 0 var(--s-4); }
.footer-col a, .footer-col .footer-contacts a { display: block; padding: 4px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8FA399; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-top { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ хлебные крошки */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--ink-3); margin: var(--s-6) 0 var(--s-4); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs .i { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ поиск */
.searchbar {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: stretch; background: var(--surface);
  border-radius: var(--r-lg); padding: 6px; box-shadow: var(--shadow-1); max-width: 880px;
}
.searchbar .sb-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: var(--r-md); min-width: 0; }
.searchbar .sb-field + .sb-field::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.searchbar .sb-field:hover { background: var(--bg); }
.searchbar .sb-field:hover::before, .searchbar .sb-field:hover + .sb-field::before { opacity: 0; }
.searchbar label { font-size: 12px; font-weight: 500; color: var(--ink-3); line-height: 1.2; }
.searchbar select { border: 0; padding: 2px 28px 0 0 !important; background-color: transparent; background-position: right 0 center; font-size: 16px; font-weight: 600; color: var(--ink); min-height: 0; cursor: pointer; appearance: none; -webkit-appearance: none; outline: none; }
.searchbar .btn { height: auto; min-height: 56px; padding: 0 28px; border-radius: var(--r-md); }
@media (max-width: 767px) {
  .searchbar { grid-template-columns: 1fr; padding: 8px; gap: 0; }
  .searchbar .sb-field { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .searchbar .sb-field + .sb-field::before { display: none; }
  .searchbar .btn { margin-top: 8px; min-height: 52px; }
}

/* ------------------------------------------------------------------ карточка объекта */
.object-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: var(--s-8) var(--s-6); }
.object-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-width: 0; }
.object-card:hover { color: var(--ink); }
.object-image { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.object-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.object-card:hover .object-image img { transform: scale(1.03); }
.object-image .badge { position: absolute; left: 10px; bottom: 10px; }
.photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); background: var(--sand); }
.photo-placeholder .i { width: 36px; height: 36px; stroke-width: 1.4; }
.favorite {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.94); color: var(--ink); transition: transform var(--t-fast), color var(--t-fast);
}
.favorite .i { width: 20px; height: 20px; }
.favorite:hover { transform: scale(1.06); }
.favorite.is-active { color: #D6453D; }
.favorite.is-active .i { fill: currentColor; }
.object-info { padding-top: var(--s-3); display: flex; flex-direction: column; gap: 4px; }
.object-info h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.object-card:hover .object-info h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.object-info .kicker { font-size: 13px; color: var(--ink-3); margin: 0; }
.object-info .location, .object-info .facts { font-size: var(--fs-small); color: var(--ink-2); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.object-info .facts { color: var(--ink-3); }
.object-info .price { margin-top: 6px; font-size: var(--fs-small); color: var(--ink-2); }
.object-info .price strong { font-size: 1.125rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ главная: обложка */
.hero { padding: var(--s-4) 0 0; }
.hero-frame { position: relative; min-height: clamp(520px, 62vh, 640px); border-radius: var(--r-xl); overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--pine-800); }
.hero-frame > picture, .hero-frame > img { position: absolute; inset: 0; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 18, .62) 0%, rgba(10, 24, 18, .38) 45%, rgba(10, 24, 18, 0) 75%), linear-gradient(180deg, rgba(10, 24, 18, 0) 45%, rgba(10, 24, 18, .45) 100%); }
.hero-body { position: relative; z-index: 1; width: 100%; padding: clamp(24px, 4vw, 56px); }
.hero-body h1 { color: #fff; max-width: 760px; margin-bottom: var(--s-4); }
.hero-body .lead { color: #fff; max-width: 540px; margin-bottom: var(--s-8); text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero-credit { position: absolute; z-index: 1; right: 16px; top: 14px; font-size: 11.5px; color: rgba(255,255,255,.8); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.hero-credit a { color: inherit; }
@media (max-width: 767px) {
  .hero { padding-top: 0; }
  .hero > .container { padding: 0; }
  .hero .quick-links { padding: var(--s-5) var(--gutter) 0; }
  .hero-frame { border-radius: 0; min-height: 0; padding-top: 220px; }
  .hero-body { padding: 24px var(--gutter) var(--gutter); }
  .hero-frame::after { background: linear-gradient(180deg, rgba(10,24,18,0) 0%, rgba(10,24,18,.55) 35%, rgba(10,24,18,.82) 100%); }
}

/* категории */
.quick-links { padding: var(--s-6) 0 0; }

/* как это работает */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); counter-reset: step; }
.step-item { padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.step-item::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink-3); margin-bottom: var(--s-3); font-variant-numeric: tabular-nums; }
.step-item h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.step-item p { color: var(--ink-2); margin: 0; }
@media (max-width: 767px) { .steps-row { grid-template-columns: 1fr; gap: var(--s-8); } }

/* сплит-блок «Подбор для компании» */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .caption { position: absolute; left: 12px; bottom: 10px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.45); font-size: 11.5px; }
.split-media .caption a { color: inherit; }
@media (max-width: 1023px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 16 / 10; } }
.checklist { list-style: none; padding: 0; margin: 0 0 var(--s-8); display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i { color: var(--pine-700); margin-top: 2px; }

/* пример подборки */
.sample { background: var(--surface); border-radius: var(--r-xl); padding: var(--s-6); box-shadow: var(--shadow-1); max-width: 520px; justify-self: center; width: 100%; }
.sample-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line-soft); }
.sample-head strong { font-family: var(--font-head); font-size: 1.125rem; font-weight: 650; }
.sample-head span { font-size: 13px; color: var(--ink-3); }
.sample-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft); }
.sample-row:last-of-type { border-bottom: 0; }
.sample-thumb { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--ink-3); }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sample-row b { display: block; font-weight: 600; font-size: 15px; }
.sample-row small { display: block; color: var(--ink-3); font-size: 13px; }
.sample-row .num { font-weight: 650; white-space: nowrap; }
.sample-note { margin: var(--s-3) 0 0; font-size: 12.5px; color: var(--ink-3); }

/* направления */
.dir-card { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; background: var(--pine-800); }
.dir-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.dir-card:hover img { transform: scale(1.03); }
.dir-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,24,18,0) 35%, rgba(10,24,18,.5) 62%, rgba(10,24,18,.85) 100%); }
.dir-card .dir-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 32px); }
.dir-card h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.02em; margin-bottom: 6px; }
.dir-card p { margin: 0; color: rgba(255,255,255,.88); max-width: 460px; }
.dir-card .dir-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: var(--s-3); font-size: 14px; color: rgba(255,255,255,.85); }
.dir-card .dir-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dir-card:hover { color: #fff; }
.dir-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 767px) { .dir-card { aspect-ratio: 4 / 4.2; } }

/* принципы */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: var(--s-6) var(--s-6) 0 0; }
.principle + .principle { padding-left: var(--s-6); border-left: 1px solid var(--line); }
.principle .i { color: var(--pine-700); margin-bottom: var(--s-4); width: 24px; height: 24px; }
.principle h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: var(--s-2); }
.principle p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 1023px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: var(--s-6); }
}
@media (max-width: 599px) { .principles { grid-template-columns: 1fr; } .principle + .principle { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: var(--s-6); } }

/* поводы */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.occasion { display: flex; flex-direction: column; justify-content: space-between; min-height: 148px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; transition: border-color var(--t-fast); }
.occasion:hover { border-color: var(--ink-3); color: var(--ink); }
.occasion strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 650; letter-spacing: -.012em; }
.occasion span { font-size: 14px; color: var(--ink-2); }
.occasion .i { color: var(--pine-700); align-self: flex-end; }
@media (max-width: 1023px) { .occasions { grid-template-columns: 1fr 1fr; } }

/* полоса для владельцев */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: var(--s-8); align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { margin: 0; color: #C9D6CF; max-width: 640px; }
.cta-band .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 767px) { .cta-band { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ каталог */
.page-head { padding: var(--s-8) 0 var(--s-6); }
.page-head h1 { margin-bottom: var(--s-2); }
.page-head p { color: var(--ink-2); margin: 0; max-width: 680px; }
.toolbar { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-4); }
.search-input { position: relative; }
.search-input .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-input input { padding-left: 44px !important; }
.toolbar input, .toolbar select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background-color: var(--surface); font-size: 15px; appearance: none; -webkit-appearance: none; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--pine-700); box-shadow: var(--focus); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin: var(--s-6) 0 var(--s-5); }
.catalog-count { margin: 0; font-weight: 600; }
@media (max-width: 1023px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .search-input { grid-column: 1 / -1; } }
@media (max-width: 479px) { .toolbar { grid-template-columns: 1fr; } }
.help-panel { display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: center; margin-top: var(--s-16); padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--sand); }
.help-panel h2 { margin-bottom: var(--s-2); }
.help-panel p { margin: 0; color: var(--ink-2); }
@media (max-width: 767px) { .help-panel { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ страница объекта */
.object-gallery { display: grid; gap: 8px; border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--s-8); }
.object-gallery.g-1 { grid-template-columns: 1fr; aspect-ratio: 21 / 9; }
.object-gallery.g-many { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 9; }
.object-gallery.g-many .g-item:first-child { grid-row: 1 / 3; }
.object-gallery.g-few { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 21 / 9; }
.object-gallery.g-few .g-item:first-child { grid-row: 1 / 3; }
.g-item { position: relative; border: 0; padding: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; min-height: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--t-fast); }
.g-item:hover img { filter: brightness(.92); }
.g-more { position: absolute; right: 12px; bottom: 12px; }
.object-gallery .photo-placeholder { aspect-ratio: auto; min-height: 280px; }
@media (max-width: 767px) {
  .object-gallery { border-radius: 0; margin: 0 calc(-1 * var(--gutter)) var(--s-6); }
  .object-gallery.g-many, .object-gallery.g-few, .object-gallery.g-1 { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: 4 / 3; }
  .object-gallery .g-item:not(:first-child) { display: none; }
}
.object-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 1023px) { .object-layout { grid-template-columns: 1fr; } }
.object-heading h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: var(--s-3); }
.object-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--ink-2); font-size: 15px; margin-bottom: var(--s-6); }
.object-meta span { display: inline-flex; align-items: center; gap: 6px; }
.object-short-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s-10); }
.object-short-info.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.object-short-info.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 600px) and (max-width: 1199px) {
  .object-short-info.n-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .object-short-info.n-5 > div { grid-column: span 2; }
  .object-short-info.n-5 > div:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 1200px) { .object-short-info.n-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .object-short-info.n-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .object-short-info, .object-short-info.n-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .object-short-info.n-3 > div:last-child, .object-short-info.n-5 > div:last-child { grid-column: 1 / -1; }
}
.object-short-info > div { padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 0 0 .5px var(--line-soft); min-width: 0; }
.object-short-info .i { color: var(--pine-700); }
.object-short-info strong { font-family: var(--font-head); font-size: 1.125rem; font-weight: 650; line-height: 1.2; }
.object-short-info span { font-size: 13px; color: var(--ink-3); }
.object-section { padding: var(--s-8) 0; border-top: 1px solid var(--line); }
.object-section h2 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.object-section p { color: var(--ink); max-width: 720px; }
.object-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.object-features span { display: flex; align-items: center; gap: 10px; }
.object-features .i { color: var(--pine-700); }
.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.facts-list div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.facts-list dt { color: var(--ink-3); }
.facts-list dd { margin: 0; white-space: pre-line; }
@media (max-width: 767px) { .facts-list { grid-template-columns: 1fr; } .facts-list div { grid-template-columns: 130px 1fr; } }
.booking-box { position: sticky; top: calc(var(--header-h) + 20px); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1); }
.booking-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: var(--s-3); }
.booking-price strong { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.booking-price span { color: var(--ink-2); }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: var(--s-5); font-size: 15px; }
.price-table td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.price-table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-form h3 { font-size: 1.125rem; margin-bottom: 4px; }
.booking-form .form-group { margin-bottom: var(--s-3); }
.booking-note { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: var(--s-3); }
.verified { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.nearby { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-5); align-items: center; padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; max-width: 720px; }
.nearby img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-md); }
.nearby:hover { border-color: var(--ink-3); color: var(--ink); }
.nearby strong { display: block; font-family: var(--font-head); font-size: 1.125rem; margin-bottom: 4px; }
.nearby span { color: var(--ink-2); font-size: 15px; }
.similar-section { padding: var(--s-12) 0 0; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(9, 18, 14, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox-top .icon-btn { color: #fff; }
.lightbox-top .icon-btn:hover { background: rgba(255,255,255,.1); }
.lightbox-stage { display: grid; place-items: center; padding: 0 56px; min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; background: rgba(255,255,255,.12) !important; }
.lightbox-nav.prev { left: 12px; } .lightbox-nav.next { right: 12px; }
.lightbox-nav.prev .i { transform: rotate(180deg); }

/* ------------------------------------------------------------------ формы-страницы */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; padding-bottom: var(--section); }
@media (max-width: 1023px) { .form-layout { grid-template-columns: 1fr; } .form-aside { order: -1; } }
.form-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line-soft); padding: clamp(20px, 3.5vw, 40px); }
.form-section { padding-bottom: var(--s-8); margin-bottom: var(--s-8); border-bottom: 1px solid var(--line-soft); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.form-section > h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: var(--s-5); }
.form-section > h3 .step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pine-100); color: var(--pine-800); font-size: 14px; font-family: var(--font-body); font-weight: 700; }
.publish-section { margin-top: var(--s-6); }
.publish-section .btn { width: 100%; }
.form-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: var(--s-4); }
.aside-card { padding: var(--s-6); border-radius: var(--r-lg); background: var(--sand); }
.aside-card h3 { font-size: 1.125rem; margin-bottom: var(--s-3); }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
.aside-card p { color: var(--ink-2); margin: 0; }
.success-panel { display: grid; justify-items: start; gap: var(--s-3); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-soft); }
.success-panel.inline { padding: var(--s-5); border-radius: var(--r-md); background: var(--success-bg); border: 0; }
.success-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 22px; }
.success-panel.inline .success-icon { background: var(--surface); width: 40px; height: 40px; font-size: 18px; }
.success-panel p { color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ текстовые страницы */
.prose { max-width: 720px; padding-bottom: var(--section); }
.prose h1 { margin: var(--s-8) 0 var(--s-6); }
.prose h2 { font-size: 1.5rem; margin: var(--s-10) 0 var(--s-3); }
.prose h3 { font-size: 1.1875rem; margin: var(--s-8) 0 var(--s-3); }
.prose p, .prose li { color: var(--ink); font-size: 16.5px; line-height: 1.65; }
.prose ol, .prose ul { padding-left: 22px; }
.prose .lead { font-size: var(--fs-lead); color: var(--ink-2); }
.doc-meta { color: var(--ink-3); font-size: var(--fs-small); }

/* ------------------------------------------------------------------ владельцам */
.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.term { padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); }
.term .i { color: var(--pine-700); margin-bottom: var(--s-3); width: 24px; height: 24px; }
.term h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.term p { color: var(--ink-2); margin: 0; }
@media (max-width: 767px) { .terms-grid { grid-template-columns: 1fr; } }
.big-number { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 3rem + 5vw, 7.5rem); line-height: .9; letter-spacing: -.05em; color: var(--pine-700); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform var(--t-fast); color: var(--ink-3); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 20px; max-width: 760px; }

/* ------------------------------------------------------------------ направление */
.dir-hero { position: relative; min-height: clamp(380px, 52vh, 520px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--pine-800); }
.dir-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dir-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,24,18,.1) 20%, rgba(10,24,18,.7) 100%); }
.dir-hero .container { position: relative; z-index: 1; padding-bottom: clamp(28px, 4vw, 56px); }
.dir-hero h1 { color: #fff; font-size: var(--fs-display); letter-spacing: -.032em; line-height: 1.02; margin-bottom: var(--s-3); }
.dir-hero .lead { color: rgba(255,255,255,.9); max-width: 640px; margin: 0; }
.dir-hero .breadcrumbs, .dir-hero .breadcrumbs a { color: rgba(255,255,255,.8); }
.dir-hero .hero-credit { top: 14px; bottom: auto; }
.facts-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line-soft); margin-top: calc(-1 * var(--s-8)); position: relative; z-index: 2; }
.facts-strip > div { padding: var(--s-5) var(--s-6); display: flex; gap: 14px; align-items: flex-start; }
.facts-strip > div + div { border-left: 1px solid var(--line-soft); }
.facts-strip .i { color: var(--pine-700); margin-top: 2px; width: 24px; height: 24px; }
.facts-strip strong { display: block; font-weight: 600; margin-bottom: 2px; }
.facts-strip span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 1023px) { .facts-strip { grid-template-columns: 1fr; margin-top: var(--s-6); } .facts-strip > div + div { border-left: 0; border-top: 1px solid var(--line-soft); } }
.sight-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.sight-media { position: relative; aspect-ratio: 3 / 2; background: var(--sand); }
.sight-media img { width: 100%; height: 100%; object-fit: cover; }
.sight-media.is-empty { aspect-ratio: 3 / 1.1; }
.sight-media .no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); }
.sight-media .no-photo .i { width: 40px; height: 40px; stroke-width: 1.3; }
.sight-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.sight-body h3 { font-size: 1.1875rem; font-weight: 650; }
.sight-place { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); }
.sight-body p { color: var(--ink-2); font-size: 15px; margin: 0; }
.sight-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: var(--s-3); }
.sight-foot a { font-size: 14px; }
.sight-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; }
.sight-card.featured .sight-media { aspect-ratio: auto; min-height: 100%; }
.sight-text { display: flex; flex-direction: column; flex: 1; }
@media (max-width: 1023px) { .sight-card.featured { grid-column: auto; display: flex; } .sight-card.featured .sight-media { aspect-ratio: 3 / 2; } }
.photo-credit { font-size: 11.5px; color: var(--ink-3); padding: 0 var(--s-5) var(--s-3); }
.photo-credit a { color: inherit; }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.season { padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-soft); }
.season .i { color: var(--pine-700); width: 24px; height: 24px; margin-bottom: var(--s-3); }
.season h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.season p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 1023px) { .seasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .seasons { grid-template-columns: 1fr; } }
.credits { font-size: 13px; color: var(--ink-3); }
.credits ul { padding-left: 18px; margin: var(--s-2) 0 0; }
.credits a { color: var(--ink-2); }

/* ------------------------------------------------------------------ cookie-баннер */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); font-size: 14px; color: var(--ink-2);
}
.cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 599px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }

/* ------------------------------------------------------------------ 404 */
.not-found { padding: var(--section) 0; }
.not-found .big-number { margin-bottom: var(--s-4); }

/* ------------------------------------------------------------------ утилиты */
.sprite { display: none; }
.footer-hours { display: block; margin-top: 8px; font-size: 13px; color: #8FA399; }
.page-head-flush { padding-top: 0; }
.spacer-bottom { height: var(--s-24); }
.sk-crumbs { height: 20px; width: 260px; margin: 24px 0 16px; border-radius: 6px; }
.sk-gallery { aspect-ratio: 21 / 9; border-radius: var(--r-xl); }
.owners-hero { padding: var(--s-4) 0 var(--s-16); align-items: end; }
.split-top { align-items: start; }
.self-center { align-self: center; } .self-end { align-self: end; }
.measure { max-width: 720px; }
.mt-3 { margin-top: var(--s-3); } .mt-16 { margin-top: var(--s-16); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mb-6 { margin-bottom: var(--s-6); } .mb-8 { margin-bottom: var(--s-8); }
.stack-2 > * + * { margin-top: var(--s-2); }
.actions-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* мобильные уточнения */
@media (max-width: 599px) {
  .sample { padding: var(--s-5); }
  .sample-row { grid-template-columns: 1fr auto; }
  .sample-thumb { display: none; }
  .sample-head { align-items: flex-start; }
  .occasions { grid-template-columns: 1fr; }
  .occasion { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: var(--s-4) var(--s-5); }
  .occasion .i { align-self: center; flex: none; }
}
.object-notice { margin-top: var(--s-6); }

/* мобильная панель брони на странице объекта */
.mobile-cta { display: none; }
@media (max-width: 1023px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line-soft);
  }
  .mobile-cta .mc-price { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
  .mobile-cta .mc-price strong { display: block; font-family: var(--font-head); font-size: 1.125rem; color: var(--ink); font-variant-numeric: tabular-nums; }
  .page-object .site-footer { padding-bottom: 96px; }
}

/* предпросмотр карточки для владельца */
.preview-banner { margin: var(--s-6) 0 0; }
.preview-banner strong { font-weight: 650; }

/* 24.10: быстрые фильтры на главной — одной полосой с прокруткой на любой ширине */
.hero .quick-links .chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.hero .quick-links .chips-scroll::-webkit-scrollbar { display: none; }
.hero .quick-links .chips-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
.hero .quick-links .chip { flex: none; }

/* 24.10: короткая форма подбора — детали свёрнуты, перед отправкой мягко предлагаем их добавить */
.form-more { margin: 0 0 var(--s-6); border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--bg); }
.form-more > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary .i { color: var(--pine-700); transition: transform var(--t-fast); }
.form-more[open] > summary .i { transform: rotate(45deg); }
.form-more > summary .muted { font-weight: 400; }
.form-more-body { padding: 4px 16px 8px; }
@media (max-width: 599px) { .form-more > summary { flex-wrap: wrap; } .form-more > summary .muted { flex-basis: 100%; padding-left: 30px; font-size: 14px; } }
.details-nudge { margin: 0 0 var(--s-6); padding: var(--s-5); border-radius: var(--r-md); background: var(--pine-100); border: 1px solid rgba(29, 78, 59, .18); }
.details-nudge p { margin: 0 0 var(--s-4); color: var(--ink-2); }
.details-nudge b { color: var(--ink); font-weight: 650; }
.details-nudge-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
