/* ==========================================================================
   IMINERA «Лаборатория», вариант 0.0 (фирменный светлый)
   ОБЩИЙ файл: подключается и хабом, и подстраницами (digital-avatar/, physical-mannequin/).
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.

   Оглавление
   1. Токены            6. Секции и заголовки      11. Шаги .steps
   2. Reset             7. Базовая карточка        12. FAQ .faq
   3. Типографика       8. Шапка + переключатель   13. Цена .price-card
   4. Контейнер         9. Форма                   14. Подвал
   5. Кнопки            10. Сетка карточек         15. Заглушки, reduced-motion

   Скругления (одна система): 12px органы управления (кнопки, поля),
   24px карточки и панели, 999px только бейджи и переключатель вариантов.
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  /* цвет */
  --color-bg: #FFFFFF;
  --color-warm: #F6F3F1;          /* тёплый светло-серый фон секций */
  --color-warm-2: #EDE7E3;        /* фон иллюстраций, плашек */
  --color-graphite: #2A2A2A;      /* основной текст */
  --color-grey: #5C5C5C;          /* вторичный текст, 6.7:1 на белом */
  --color-line: #E6E0DC;          /* тонкие разделители */
  --color-line-strong: #8C8581;   /* рамка полей, 3.6:1 на белом */
  --color-accent: #E91E63;        /* графика: линии, кольца, фокус */
  --color-accent-dark: #C2185B;   /* текст и фон кнопок на светлом, 5.9:1 */
  --color-accent-deep: #A3154B;   /* hover кнопок */
  --color-accent-tint: #FDEBF1;

  /* типографика */
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 60px;

  /* отступы: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96 / 128 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* формы */
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* тени: тёплые, с оттенком фона, пять уровней */
  --shadow-1: 0 1px 2px rgba(74, 40, 52, 0.06);
  --shadow-2: 0 2px 6px rgba(74, 40, 52, 0.08), 0 1px 2px rgba(74, 40, 52, 0.05);
  --shadow-3: 0 8px 20px rgba(74, 40, 52, 0.09), 0 2px 4px rgba(74, 40, 52, 0.05);
  --shadow-4: 0 18px 40px rgba(74, 40, 52, 0.12), 0 4px 8px rgba(74, 40, 52, 0.05);
  --shadow-5: 0 32px 64px rgba(74, 40, 52, 0.16), 0 8px 16px rgba(74, 40, 52, 0.06);

  /* движение (кривые из emil-design-eng) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container-max: 1200px;
  --header-height: 72px;
  --gutter: 24px;

  /* переключатель вариантов (shared-assets/proto-switch-k.css) */
  --sw-bg: #F6F3F1;
  --sw-line: #E6E0DC;
  --sw-fg: #5C5C5C;
  --sw-fg-hover: #2A2A2A;
  --sw-active-bg: #C2185B;
  --sw-active-fg: #FFFFFF;
  --sw-font: 'Montserrat', system-ui, sans-serif;
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

body {
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -80px;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  background: var(--color-graphite);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

/* ---------- 3. Типографика ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 2.4vw + 14px, 46px); line-height: 1.12; }
h2 { font-size: clamp(var(--text-2xl), 1.6vw + 18px, var(--text-4xl)); }
h3 { font-size: var(--text-xl); letter-spacing: -0.015em; }
h4 { font-size: var(--text-md); letter-spacing: -0.01em; }

p { text-wrap: pretty; }

.lead {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-grey);
  max-width: 60ch;
}
@media (min-width: 768px) {
  .lead { font-size: var(--text-lg); }
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.text-accent { color: var(--color-accent-dark); }

/* список с галочками (hero хаба, hero подстраниц) */
.checklist { display: grid; gap: var(--space-3); }
.checklist li {
  position: relative;
  padding-left: 36px;
  font-size: var(--text-base);
  line-height: 1.5;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.32em;
  width: 7px;
  height: 13px;
  border-right: 2.5px solid var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
  transform: rotate(45deg);
}
@media (min-width: 768px) {
  .checklist li { font-size: var(--text-md); }
}

/* ---------- 4. Контейнер ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container-max));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); }

/* ---------- 5. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease,
              color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.btn-secondary {
  background: #fff;
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--color-graphite);
  border-color: var(--color-line-strong);
}
@media (hover: hover) {
  .btn-primary:hover { background: var(--color-accent-deep); box-shadow: var(--shadow-3); }
  .btn-secondary:hover { background: var(--color-accent-tint); }
  .btn-ghost:hover { border-color: var(--color-graphite); }
}

.btn-sm { min-height: 44px; padding: 0 var(--space-5); font-size: var(--text-sm); }
.btn-block { display: flex; width: 100%; }

.btn__arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) {
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

/* ---------- 6. Секции и заголовки ---------- */
.section { padding-block: var(--space-8); }
.section--light { background: var(--color-bg); }
.section--warm { background: var(--color-warm); }
@media (min-width: 768px) {
  .section { padding-block: var(--space-9); }
}
@media (min-width: 1280px) {
  .section { padding-block: var(--space-10); }
}

/* заголовок секции: eyebrow (необязателен) + H2 + абзац, всё вертикально */
.section__head {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  margin-bottom: var(--space-7);
  max-width: 780px;
}
.section__head h2 { max-width: 20ch; }
.section__head .lead { margin-top: var(--space-1); }
@media (min-width: 768px) {
  .section__head { margin-bottom: var(--space-8); }
}

/* ---------- 7. Базовая карточка ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card--warm { background: var(--color-warm); border-color: transparent; box-shadow: none; }
.card--accent {
  background: var(--color-accent-dark);
  border-color: transparent;
  color: #fff;
}
.card--accent .card__title,
.card--accent .card__text { color: #fff; }
.card__title { font-size: var(--text-lg); line-height: 1.25; letter-spacing: -0.01em; }
.card__text { color: var(--color-grey); line-height: 1.6; }

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
}

/* ---------- 8. Шапка + переключатель вариантов ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-height);
}
.logo { display: inline-flex; flex: none; border-radius: 4px; }
.logo img { width: 132px; height: auto; }

/* бургер */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-graphite);
  transition: transform 220ms var(--ease-out), opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* меню: на мобильном выпадающая панель */
.header-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: var(--space-5);
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  padding: var(--space-5) var(--gutter) var(--space-6);
  background: #fff;
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-4);
}
.header-menu.is-open {
  display: flex;
  animation: menu-in 220ms var(--ease-out);
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.main-nav ul { display: grid; gap: var(--space-1); padding: 0; margin: 0; list-style: none; }
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--space-2);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.main-nav a[aria-current="page"] { color: var(--color-accent-dark); }
.main-nav__back { color: var(--color-grey); }

.header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.header-tools .proto-switch__btn { min-width: 40px; height: 40px; font-size: var(--text-sm); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone__icon { color: var(--color-accent-dark); }

/* полная шапка с 1280: бургер уходит */
@media (min-width: 1280px) {
  .nav-toggle { display: none; }
  .header-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    gap: var(--space-4);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .main-nav { margin-left: var(--space-4); }
  .main-nav ul { display: flex; gap: var(--space-1); }
  .main-nav a {
    position: relative;
    min-height: 44px;
    padding: 0 var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: var(--space-3);
    right: var(--space-3);
    bottom: 8px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms var(--ease-out);
  }
  .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-tools { flex-direction: row; align-items: center; gap: var(--space-4); }
  .header-tools .proto-switch__btn { min-width: 28px; height: 28px; font-size: 12px; }
  .header-phone { font-size: var(--text-sm); }
}
@media (min-width: 1280px) and (hover: hover) {
  .main-nav a:hover::after { transform: scaleX(1); }
}

/* ---------- 9. Форма ---------- */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label,
.field__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-graphite);
}
.req { color: var(--color-accent-dark); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  line-height: 1.4;
  color: var(--color-graphite);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6B6663; opacity: 1; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.22);
}
@media (hover: hover) {
  .field input:hover:not(:focus),
  .field textarea:hover:not(:focus) { border-color: var(--color-graphite); }
}

.field-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* чекбокс согласия (подстраницы) */
.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: var(--space-3);
  min-height: 44px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-grey);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.consent input:checked {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.consent input:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-accent-tint);
  border: 1px solid #F4B9CE;
  color: var(--color-graphite);
  font-weight: 500;
}
.form-status[hidden] { display: none; }
.form-hint { font-size: var(--text-sm); color: var(--color-grey); }

/* виджет Bitrix24 (форма заявки), перенесено из for_client/…/css/site.css */
.b24-slot { min-width: 0; width: 100%; color-scheme: light; }
/* галочка согласия: обычный размер, слева от текста, светлая рамка вместо тёмного квадрата */
.b24-slot label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
  cursor: pointer;
}
.b24-slot label input[type=checkbox] {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #857A6B !important;
  border-radius: 2px !important;
  accent-color: #C2185B;
  cursor: pointer;
}
.b24-slot .b24-form-control-desc {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #5E564C !important;
}
.b24-slot .b24-form-control-required { color: #C2185B !important; }
.b24-slot .b24-form-wrapper,
.b24-slot .b24-form {
  width: 100% !important;
  max-width: none !important;
}
.b24-slot .b24-form-control {
  width: 100% !important;
  box-sizing: border-box !important;
}
.form-consent-note { margin-top: 16px; }
.form-consent-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* панель формы */
.form-panel {
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}
@media (min-width: 768px) {
  .form-panel { padding: var(--space-7); }
}

/* ---------- 10. Сетка карточек ---------- */
.cards-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
@media (min-width: 768px) {
  .cards-grid { gap: var(--space-5); }
  .cards-grid--2,
  .cards-grid--3,
  .cards-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cards-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* 3 карточки в 2 колонках: последняя на всю ширину, пустой клетки нет */
@media (min-width: 768px) and (max-width: 1023px) {
  .cards-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 11. Шаги .steps (4 шага) ----------
   <ol class="steps"><li class="step"><h3 class="step__title"></h3><p class="step__text"></p>
   <p class="step__meta">срок</p></li>...</ol>  Номера рисует CSS-счётчик. */
.steps {
  --steps-gap: var(--space-6);
  position: relative;
  display: grid;
  gap: var(--steps-gap);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding-left: 72px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent-dark);
  z-index: 1;
}
.step__title { font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.01em; padding-top: var(--space-2); }
.step__text { color: var(--color-grey); }
.step__meta {
  align-self: start;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* линия: дорожка (::before) и заливка (::after, оживает в effects.css) */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  background: var(--color-line);
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
}
.steps::after {
  background: var(--color-accent);
  transform-origin: top;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--steps-gap);
  }
  .step { padding-left: 0; padding-top: 72px; }
  .steps::before,
  .steps::after {
    left: 24px;
    right: auto;
    top: 23px;
    bottom: auto;
    width: calc(75% + 0.75 * var(--steps-gap));
    height: 2px;
  }
  .steps::after { transform-origin: left; }
  .step__title { padding-top: 0; }
}

/* ---------- 12. FAQ .faq ----------
   <div class="faq"><details class="faq__item"><summary>Вопрос</summary><div class="faq__body"><p>Ответ</p></div></details>... */
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4) 0;
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--color-accent-dark), var(--color-accent-dark)) center / 14px 2px no-repeat,
    linear-gradient(var(--color-accent-dark), var(--color-accent-dark)) center / 2px 14px no-repeat;
  transition: transform 240ms var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) {
  .faq__item summary:hover { color: var(--color-accent-dark); }
}
.faq__body { padding: 0 var(--space-7) var(--space-5) 0; color: var(--color-grey); }

/* ---------- 13. Цена .price-card ----------
   <article class="price-card"><h3 class="price-card__name"></h3><p class="price-card__price"></p>
   <p class="price-card__note"></p>[<ul class="price-card__list">]<a class="btn">..</a></article> */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.price-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-3); }
.price-card__name { font-size: var(--text-lg); line-height: 1.3; }
.price-card__price {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-graphite);
}
.price-card__note { color: var(--color-grey); font-size: var(--text-sm); }
.price-card__list { display: grid; gap: var(--space-2); padding: 0; margin: 0; list-style: none; color: var(--color-grey); }
.price-card .btn { margin-top: auto; }
.price-card__list + .btn { margin-top: var(--space-3); }

/* ---------- 14. Подвал ---------- */
.site-footer {
  padding-block: var(--space-8) var(--space-6);
  background: #fff;
  border-top: 1px solid var(--color-line);
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-6); }
}
.footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.footer__logo { display: inline-flex; width: fit-content; border-radius: 4px; }
.footer__logo img { width: 132px; height: auto; }
.footer__tagline { color: var(--color-grey); max-width: 30ch; }

.footer__col { display: grid; gap: var(--space-3); align-content: start; }
.footer__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-graphite);
}
.footer__list { display: grid; gap: var(--space-1); padding: 0; margin: 0; list-style: none; }
.footer__list a,
.footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--color-grey);
  text-decoration: none;
  transition: color 160ms ease;
}
@media (hover: hover) {
  .footer__list a:hover,
  .footer__bottom a:hover { color: var(--color-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  color: var(--color-grey);
}

/* ---------- 15. Заглушки и reduced-motion ---------- */
/* ссылка-заглушка: ведёт на # и подписана title="Заглушка: ссылка будет добавлена" */
.stub { text-decoration: underline dotted; text-underline-offset: 4px; text-decoration-color: var(--color-line-strong); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.001ms;
  }
  .btn:active { transform: none; }
}
