/* ============================================
   ДИЗАЙН-СИСТЕМА — переменные
   ============================================ */
:root {
  /* Цветовая палитра — строго функционально */
  --color-black: #111111;          /* Основной чёрный (текст, кнопки) */
  --color-white: #ffffff;          /* Белый фон */
  --color-photo-bg: #f5f5f5;       /* Серый фон для фотографий */
  --color-text-dark: #39393b;      /* Тёмный приглушённый текст */
  --color-text-mid: #4b4b4d;       /* Средний серый */
  --color-text-muted: #707072;     /* Приглушённый серый */
  --color-text-light: #9e9ea0;     /* Светло-серый */
  --color-line: #cacacb;           /* Линии */
  --color-line-soft: #e5e5e5;      /* Мягкие линии */
  --color-red: #d30005;            /* Красный — ТОЛЬКО для предупреждений */
  --color-green: #007d48;          /* Зелёный — для подтверждений */
  --color-blue: #1151ff;           /* Синий — для информации (редко) */

  /* Отступы */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 18px;
  --space-xl: 24px;
  --space-xxl: 30px;

  /* Между секциями */
  --section-space-desktop: 96px;
  --section-space-tablet: 64px;
  --section-space-mobile: 48px;

  /* Высоты */
  --header-height: 64px;
  --button-height: 48px;

  /* Скругления */
  --radius-pill: 30px;
  --radius-circle: 50%;

  /* Контейнер */
  --container-max: 1440px;
  --container-padding-desktop: 48px;
  --container-padding-tablet: 32px;
  --container-padding-mobile: 20px;

  /* Анимации */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ============================================
   СБРОС И БАЗА
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */
.display {
  font-family: 'Jost', sans-serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-family: 'Jost', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.heading-md {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.body-strong {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.caption {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* ============================================
   КОНТЕЙНЕР
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding-desktop);
  padding-right: var(--container-padding-desktop);
}

.container-wide {
  max-width: 100%;
  margin: 0 auto;
}

/* ============================================
   КНОПКИ — только PILL и CIRCULAR
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--button-height);
  padding: 0 32px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--transition-base);
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-photo-bg);
  color: var(--color-black);
}

.btn-secondary:hover {
  background: #ebebeb;
  transform: translateY(-1px);
}

.btn-on-photo {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-on-photo:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-large {
  height: 56px;
  padding: 0 40px;
  font-size: 17px;
}

/* Круглая кнопка для иконок */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--color-photo-bg);
  color: var(--color-black);
  transition: all var(--transition-base);
}

.btn-icon:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-icon-on-photo {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.btn-icon-on-photo:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ============================================
   ШАПКА (HEADER)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line-soft);
  z-index: 100;
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding-desktop);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

.site-logo svg {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-black);
  transition: opacity var(--transition-fast);
}

.site-nav__link:hover {
  opacity: 0.65;
}

.site-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-black);
}

.site-header__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.site-header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  color: var(--color-black);
  transition: background var(--transition-fast);
}

.site-header__search:hover {
  background: var(--color-photo-bg);
}

/* Гамбургер — скрыт на десктопе */
.site-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.burger-icon {
  position: relative;
  width: 22px;
  height: 14px;
}

.burger-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.burger-icon span:nth-child(1) { top: 0; }
.burger-icon span:nth-child(2) { top: 6px; }
.burger-icon span:nth-child(3) { top: 12px; }

/* Мобильное меню — оверлей */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height) + 24px) var(--container-padding-mobile) 32px;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  height: 60px;
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-line-soft);
}

/* Отступ под фиксированную шапку */
main {
  padding-top: var(--header-height);
}

main.no-pad {
  padding-top: 0;
}

/* ============================================
   ГЕРО-БЛОК
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: calc(var(--header-height) * -1);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  padding: 0 var(--container-padding-desktop);
  color: var(--color-white);
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero__lead {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  color: var(--color-white);
  animation: bounce 2.4s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================
   СЕКЦИИ — общие отступы
   ============================================ */
.section {
  padding-top: var(--section-space-desktop);
  padding-bottom: var(--section-space-desktop);
}

.section--tight {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section__head {
  margin-bottom: 48px;
  max-width: 720px;
}

.section__title {
  margin-bottom: 12px;
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* ============================================
   СЕТКА КАРТОЧЕК
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   КАРТОЧКА (плоская, без теней)
   ============================================ */
.card {
  position: relative;
  display: block;
  background: var(--color-white);
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-photo-bg);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
  pointer-events: none;
}

.card:hover .card__media::after {
  background: rgba(0, 0, 0, 0.1);
}

.card__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-circle);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.card:hover .card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.card__body {
  padding-top: 8px;
}

.card__title {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 4px;
}

.card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.card--small .card__title {
  font-size: 18px;
}

/* ============================================
   ВИКТОРИНА — ПРОМО
   ============================================ */
.quiz-promo {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-promo__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.quiz-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-promo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.quiz-promo__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--container-padding-desktop);
  max-width: 720px;
}

.quiz-promo__title {
  color: var(--color-white);
  font-size: 80px;
  margin-bottom: 16px;
}

.quiz-promo__lead {
  color: var(--color-white);
  opacity: 0.92;
  font-size: 18px;
  margin-bottom: 28px;
}

/* ============================================
   ФУТЕР
   ============================================ */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-line-soft);
  padding: 64px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-black);
}

.site-footer__col ul li {
  margin-bottom: 12px;
}

.site-footer__col a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-text-mid);
  transition: color var(--transition-fast);
}

.site-footer__col a:hover {
  color: var(--color-black);
}

.site-footer__bottom {
  border-top: 1px solid var(--color-line-soft);
  padding-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--color-text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   ХЛЕБНЫЕ КРОШКИ
   ============================================ */
.breadcrumbs {
  padding: 24px 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-black);
}

.breadcrumbs__sep {
  margin: 0 8px;
  color: var(--color-line);
}

.breadcrumbs__current {
  color: var(--color-black);
}

/* ============================================
   ОБЛОЖКА СТРАНИЦЫ (50vh)
   ============================================ */
.page-cover {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}

.page-cover__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-cover__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 2;
}

.page-cover__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding-desktop) 56px;
  color: var(--color-white);
}

.page-cover__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.page-cover__title {
  font-family: 'Jost', sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--color-white);
  max-width: 800px;
}

/* ============================================
   КОНТЕНТНЫЕ БЛОКИ СТАТЬИ
   ============================================ */
.article-block {
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--color-line-soft);
}

.article-block:first-of-type {
  border-top: none;
}

.article-block__head {
  margin-bottom: 32px;
  max-width: 760px;
}

.article-block__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.article-block__title {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.article-block--main .article-block__title {
  font-size: 48px;
}

.article-block__title-md {
  font-size: 32px;
}

.article-block__lead {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-mid);
  max-width: 720px;
}

.article-block__text p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-dark);
  max-width: 760px;
  margin-bottom: 16px;
}

.article-block__text p:last-child {
  margin-bottom: 0;
}

/* Маркированный список */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-dark);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--color-black);
  border-radius: 50%;
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

/* Предупреждающий блок (красная полоса слева) */
.warning-block {
  border-left: 3px solid var(--color-red);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  background: transparent;
}

.warning-block__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 8px;
}

.warning-block__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-dark);
}

.warning-block__text strong {
  font-weight: 600;
  color: var(--color-black);
}

/* Запреты — список с красным крестиком */
.dont-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dont-list li {
  position: relative;
  padding-left: 32px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-line-soft);
}

.dont-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-red);
}

.dont-list li:last-child {
  border-bottom: none;
}

/* Раздел «правила ухода» — таблица */
.care-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line-soft);
  margin-top: 16px;
}

.care-rules__item {
  background: var(--color-white);
  padding: 32px 24px;
}

.care-rules__freq {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.care-rules__title {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
}

.care-rules__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-mid);
}

/* ============================================
   БЛОК ТРЁХ РЕШЕНИЙ — СЕРДЦЕ САЙТА
   ============================================ */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--color-photo-bg);
  padding: 36px 32px;
  min-height: 100%;
}

.solution-card__num {
  font-family: 'Jost', sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.solution-card__name {
  font-family: 'Jost', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-black);
  margin-bottom: 24px;
}

.solution-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.solution-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.solution-meta svg {
  width: 14px;
  height: 14px;
}

.solution-meta--price {
  background: var(--color-black);
  color: var(--color-white);
}

.solution-card__section {
  margin-bottom: 24px;
}

.solution-card__section-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.solution-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-dark);
}

.solution-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1px;
  background: var(--color-black);
}

.solution-card__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.solution-card__steps li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-dark);
  counter-increment: step;
}

.solution-card__steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.solution-card__effect {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-line-soft);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.solution-card__effect strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

/* ============================================
   ФАКТЫ
   ============================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fact {
  padding: 32px;
  background: var(--color-photo-bg);
  display: flex;
  flex-direction: column;
}

.fact__num {
  font-family: 'Jost', sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
  margin-bottom: 24px;
}

.fact__text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-dark);
}

/* ============================================
   ТЕКСТУРНАЯ СЕТКА (определение материала)
   ============================================ */
.texture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.texture-grid__item {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-photo-bg);
  overflow: hidden;
}

.texture-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.texture-grid__item:hover img {
  transform: scale(1.04);
}

.texture-grid__item-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

/* ============================================
   FADE-IN АНИМАЦИЯ ПРИ ПРОКРУТКЕ
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ВИКТОРИНА — СТРАНИЦА
   ============================================ */
.quiz-page {
  padding: 96px 0 96px;
}

.quiz-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.quiz-intro__title {
  font-family: 'Jost', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.quiz-intro__desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.quiz-intro__progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-photo-bg);
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-mid);
}

.quiz-themes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.quiz-theme {
  display: flex;
  flex-direction: column;
  background: var(--color-photo-bg);
  padding: 40px 32px;
  cursor: pointer;
  transition: background var(--transition-base);
  position: relative;
  text-align: left;
  min-height: 200px;
}

.quiz-theme:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.quiz-theme:hover .quiz-theme__name,
.quiz-theme:hover .quiz-theme__count {
  color: var(--color-white);
}

.quiz-theme:hover .quiz-theme__count {
  opacity: 0.7;
}

.quiz-theme__name {
  font-family: 'Jost', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-black);
  margin-bottom: 12px;
  transition: color var(--transition-base);
}

.quiz-theme__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: auto;
  transition: color var(--transition-base);
}

.quiz-theme:hover .quiz-theme__desc {
  color: rgba(255, 255, 255, 0.75);
}

.quiz-theme__count {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition-base), opacity var(--transition-base);
}

/* Прохождение */
.quiz-runner {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.quiz-progress__counter {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.quiz-progress__bar {
  flex: 1;
  height: 2px;
  background: var(--color-line-soft);
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.quiz-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--color-black);
  transition: width var(--transition-base);
}

.quiz-question {
  font-family: 'Jost', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  min-height: 56px;
  padding: 14px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-line-soft);
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  cursor: pointer;
  transition: all var(--transition-base);
}

.quiz-option:hover:not(:disabled) {
  border-color: var(--color-black);
}

.quiz-option:disabled {
  cursor: default;
}

.quiz-option.is-correct {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
}

.quiz-option.is-wrong {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.quiz-option.is-dimmed {
  opacity: 0.5;
}

.quiz-explanation {
  background: var(--color-photo-bg);
  padding: 20px 24px;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-dark);
}

.quiz-explanation__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.quiz-actions {
  display: flex;
  justify-content: flex-end;
}

.hidden {
  display: none !important;
}

/* Результат */
.quiz-result {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0;
}

.quiz-result__score {
  font-family: 'Jost', sans-serif;
  font-size: 144px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.quiz-result__total {
  color: var(--color-text-light);
}

.quiz-result__title {
  font-family: 'Jost', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}

.quiz-result__desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.quiz-result__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   СТРАНИЦА «О САЙТЕ»
   ============================================ */
.about-page {
  padding: 96px 0;
}

.about-hero {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}

.about-hero__title {
  font-family: 'Jost', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about-hero__lead {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-card {
  background: var(--color-photo-bg);
  padding: 32px;
}

.about-card h3 {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-mid);
}

/* ============================================
   ЗАГЛУШКА «В РАЗРАБОТКЕ»
   ============================================ */
.stub-page {
  padding: 120px 0;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.stub-page__icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.stub-page__title {
  font-family: 'Jost', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 16px;
}

.stub-page__desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ============================================
   АДАПТАЦИЯ — ПЛАНШЕТ (768-1023px)
   ============================================ */
@media (max-width: 1023px) {
  :root {
    --container-padding-desktop: 32px;
  }

  .display { font-size: 64px; }
  .heading-xl { font-size: 28px; }
  .quiz-intro__title { font-size: 56px; }
  .about-hero__title { font-size: 56px; }

  .section {
    padding-top: var(--section-space-tablet);
    padding-bottom: var(--section-space-tablet);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .care-rules {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions {
    grid-template-columns: 1fr 1fr;
  }

  .solutions > .solution-card:last-child {
    grid-column: span 2;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quiz-themes {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-cover__title {
    font-size: 56px;
  }

  .quiz-result__score {
    font-size: 120px;
  }

  .site-nav {
    gap: 24px;
  }

  .site-nav__link {
    font-size: 14px;
  }

  .texture-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   АДАПТАЦИЯ — МОБИЛЬНЫЙ (до 767px)
   ============================================ */
@media (max-width: 767px) {
  :root {
    --container-padding-desktop: 20px;
  }

  .display { font-size: 48px; }
  .heading-xl { font-size: 24px; }
  .heading-lg { font-size: 20px; }
  .quiz-intro__title { font-size: 44px; }
  .about-hero__title { font-size: 44px; }
  .quiz-promo__title { font-size: 48px; }
  .quiz-question { font-size: 24px; }

  .section {
    padding-top: var(--section-space-mobile);
    padding-bottom: var(--section-space-mobile);
  }

  /* Шапка — гамбургер */
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .site-header__burger {
    display: inline-flex;
  }

  .site-header__inner {
    padding: 0 16px;
  }

  /* Geро */
  .hero {
    min-height: 560px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Сетки — одна колонка */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .care-rules {
    grid-template-columns: 1fr;
  }

  .solutions {
    grid-template-columns: 1fr;
  }

  .solutions > .solution-card:last-child {
    grid-column: auto;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .quiz-themes {
    grid-template-columns: 1fr;
  }

  .texture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  /* Обложка страницы */
  .page-cover {
    height: 50vh;
    min-height: 320px;
  }

  .page-cover__title {
    font-size: 40px;
  }

  .page-cover__inner {
    padding: 0 20px 32px;
  }

  /* Статья */
  .article-block {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .article-block--main .article-block__title {
    font-size: 36px;
  }

  .article-block__title-md {
    font-size: 26px;
  }

  .article-block__lead,
  .article-block__text p,
  .bullet-list li,
  .dont-list li {
    font-size: 16px;
  }

  /* Викторина */
  .quiz-result__score {
    font-size: 96px;
  }

  .quiz-result__title {
    font-size: 28px;
  }

  /* Карточки решений */
  .solution-card {
    padding: 28px 24px;
  }

  .solution-card__num {
    font-size: 48px;
  }

  .solution-card__name {
    font-size: 24px;
  }

  /* Минимальная высота кнопок на мобильном */
  .btn {
    min-height: 48px;
  }

  /* Промо викторины */
  .quiz-promo {
    height: 60vh;
    min-height: 420px;
  }

  /* Хлебные крошки */
  .breadcrumbs {
    font-size: 12px;
  }
}

/* ============================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ (до 380px)
   ============================================ */
@media (max-width: 380px) {
  .display { font-size: 40px; }
  .page-cover__title { font-size: 32px; }
  .quiz-intro__title { font-size: 36px; }
}

/* ============================================
   ВСПОМОГАТЕЛЬНЫЕ
   ============================================ */
.text-muted { color: var(--color-text-muted); }
.text-dark { color: var(--color-text-dark); }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mt-xxl { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.mb-xxl { margin-bottom: 48px; }
