/* АНО «Изменяя мир» — бухгалтерия, гранты и продвижение для НКО
   Оформление по дизайн-системе Wise: глубокий лесной зелёный несёт вес,
   лайм работает точечно — заливка главных кнопок, галочки, выделения;
   текст на тёмно-зелёном фоне всегда белый, зелёным по зелёному не пишем.
   Крупные заголовки — Inter 900 с плотным трекингом (замена Wise Sans).
   Порядок: переменные → база → утилиты → шапка → секции → подвал */

:root {
  /* Палитра дизайн-системы */
  --forest-ink: #163300;     /* фирменный тёмный: текст, тёмные секции, иконки */
  --lime-voltage: #9fe870;   /* заливка главной кнопки, активное состояние */
  --spruce: #054d28;         /* карточки внутри тёмных секций */
  --linen-mist: #e2f6d5;     /* бледно-зелёные полосы и подложки */
  --charcoal: #454745;       /* основной текст */
  --obsidian: #0e0f0c;       /* крупные заголовки */
  --pebble: #868685;         /* рамки полей, подсказки */
  --slate: #6a6c6a;          /* второстепенный текст */
  --fog: #e8ebe6;            /* карточки на белом фоне */
  --paper: #ffffff;

  /* Совместимость: страницы услуг и заглушек обращаются к этим именам */
  --green: var(--forest-ink);
  --green-deep: var(--forest-ink);
  --lime: var(--lime-voltage);
  --lime-soft: var(--linen-mist);
  --bg-soft: var(--linen-mist);
  --bg-soft-2: var(--fog);
  --ink: var(--obsidian);
  --text: var(--charcoal);
  --text-muted: var(--slate);

  --bg: var(--paper);
  --card-bg: var(--fog);     /* в бледно-зелёных секциях карточки становятся белыми */

  --line: rgba(14, 15, 12, .12);
  --line-light: rgba(255, 255, 255, .16);
  --ring: 0 0 0 1px rgba(14, 15, 12, .12);

  --font-text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font-text);

  --radius: 10px;          /* карточки и поля */
  --radius-sm: 10px;
  --radius-lg: 28px;       /* крупные тёмные карточки */
  --radius-pill: 9999px;   /* кнопки, плашки, пункты меню */

  --section-gap: 80px;
  --header-height: 64px;

  --header-fs: 16px;
  --header-fs-sm: 15px;
}

/* База */

*,
*::before,
*::after { box-sizing: border-box; }

body,
h1, h2, h3, h4,
p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }

ul, ol { list-style: none; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--charcoal);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.007em;
  font-feature-settings: "calt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--obsidian);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.011em;
}

/* Крупный заголовок — «голос» системы: сверхжирный и плотный */
.hero__title,
.section__title,
.call-to-action h2 {
  font-weight: 900;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Утилиты */

.visually-hidden {
  position: absolute !important;
  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: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  background: var(--lime-voltage);
  color: var(--forest-ink);
}
.skip-link:focus { left: 0; }

/* Выделение в заголовке: тёмно-зелёные слова с толстой лаймовой чертой.
   Лаймовый текст на светлом фоне не читается, а сплошная заливка при плотной
   высоте строки закрывает хвосты букв строкой выше */
.text-accent {
  color: var(--forest-ink);
  text-decoration-line: underline;
  text-decoration-color: var(--lime-voltage);
  text-decoration-thickness: .16em;
  text-underline-offset: .06em;
  text-decoration-skip-ink: none;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

mark {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--linen-mist);
  color: var(--forest-ink);
  font-weight: 500;
}

/* Звезда рейтинга — в цвете Яндекса */
.star { color: #ffcc00; }

/* Подпись над заголовком — плашка-«таблетка» */
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--linen-mist);
  color: var(--forest-ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -.005em;
}
/* На бледно-зелёной полосе плашка белая, иначе сливается с фоном */
.section--soft .eyebrow,
.section--rings .eyebrow { background: var(--paper); }
.eyebrow--light {
  background: var(--spruce);
  color: var(--paper);
}

/* Кнопки — всегда «таблетки», без теней */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.006em;
  text-align: center;
  cursor: pointer;
}
.button:focus-visible {
  outline: 2px solid var(--forest-ink);
  outline-offset: 3px;
}

/* Главное действие — лаймовая заливка, тёмно-зелёный текст */
.button--primary,
.button--lime,
.button--gold {
  background: var(--lime-voltage);
  color: var(--forest-ink);
}
.button--primary:hover,
.button--lime:hover,
.button--gold:hover { background: #8fdc5e; }

.button--outline {
  background: var(--paper);
  color: var(--forest-ink);
  border-color: var(--forest-ink);
}
.button--outline:hover { background: var(--linen-mist); }

.button--light-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, .5);
}
.button--light-outline:hover { border-color: var(--paper); }

.button--lg {
  min-height: 56px;
  padding: 14px 32px;
  font-size: 18px;
}
.button--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 15px;
}

/* Верхняя строка */

.topbar {
  background: var(--forest-ink);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  letter-spacing: -.005em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}
.topbar__item { white-space: nowrap; }
.topbar__contacts {
  display: flex;
  gap: 24px;
}
.topbar__link {
  color: var(--paper);
  font-weight: 500;
  white-space: nowrap;
}
.topbar__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Шапка */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-height);
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

/* Навигация — ряд «таблеток» */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: var(--radius-pill);
  font-size: var(--header-fs);
}
.main-nav__list > li > a,
.main-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: none;
  font-family: var(--font-text);
  font-size: var(--header-fs);
  font-weight: 500;
  letter-spacing: -.006em;
  color: var(--forest-ink);
  cursor: pointer;
}
.main-nav__list > li > a:hover,
.main-nav__toggle:hover,
.main-nav__item--has-submenu.is-open .main-nav__toggle { background: var(--linen-mist); }

.main-nav__chevron {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.main-nav__item--has-submenu.is-open .main-nav__chevron { transform: rotate(180deg); }

.main-nav__item--has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  padding: 8px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--ring), 0 6px 20px rgba(0, 0, 0, .08);
  visibility: hidden;
}
/* Мостик над выпадающим списком, чтобы он не закрывался по пути курсора */
.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.main-nav__item--has-submenu:hover .submenu,
.main-nav__item--has-submenu.is-open .submenu { visibility: visible; }
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--header-fs-sm);
  font-weight: 500;
  color: var(--forest-ink);
}
.submenu a:hover { background: var(--linen-mist); }

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

/* «Вход» — «таблетка» с тёмной обводкой, как «Sign up» в образце */
.site-header__login {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--forest-ink);
  border-radius: var(--radius-pill);
  font-size: var(--header-fs-sm);
  font-weight: 600;
  color: var(--forest-ink);
  white-space: nowrap;
}
.site-header__login:hover { background: var(--linen-mist); }

.site-header__actions .button,
.mobile-nav .button {
  font-size: var(--header-fs-sm);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest-ink);
  border-radius: 2px;
}
body.is-menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.is-menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.is-menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

@media (max-width: 1120px) {
  /* Слоган из шапки виден и на узких экранах — просто переносится на свою строку */
  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 8px 0;
    text-align: center;
  }
  .topbar__item { white-space: normal; }
  .topbar__contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 18px;
  }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header__inner {
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 8px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  body.is-menu-open .mobile-nav { display: block; }
  .mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--forest-ink);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav .button {
    display: flex;
    margin-top: 12px;
  }
  .mobile-nav .button--outline { border-color: var(--forest-ink); }
}

@media (max-width: 620px) {
  .site-header__actions .button { display: none; }
  .site-header__logo img { height: 38px; }
}

/* Секции */

.section { padding: var(--section-gap) 0; }
.section--soft {
  --card-bg: var(--paper);
  background: var(--linen-mist);
}

/* Чтобы липкая шапка не перекрывала заголовок при переходе по якорю */
section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

/* Заголовок секции — по центру; длинный текст ниже остаётся слева */
.section__head {
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__title {
  font-size: clamp(36px, 5.4vw, 61px);
  line-height: .95;
  letter-spacing: -.022em;  /* кириллица в 900 слипается при -0.03 */
  color: var(--obsidian);
}
.section__intro {
  max-width: 60ch;
  margin: 20px auto 0;
  font-size: 20px;
  line-height: 1.4;
  color: var(--charcoal);
  text-wrap: pretty;
}

/* Первый экран: огромный заголовок по центру на белом,
   под ним — тёмная карточка «что берём на себя» */

.hero {
  position: relative;
  padding: 72px 0 0;  /* низ отбивает следующая белая секция своим отступом */
  background: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 56px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  text-align: center;
}

.hero__title {
  font-size: clamp(44px, 8.4vw, 105px);
  line-height: .92;
  color: var(--obsidian);
}
.hero__lead {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.4;
}

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

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 56px;
  margin-top: 44px;
}
.hero__stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;  /* цифры в ряд по верху, даже если подписи разной длины */
  align-items: center;
}
.hero__stat dd {
  margin: 0;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--forest-ink);
}
.hero__stat dt {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

/* «Что мы берём на себя» — тёмная карточка с белым заголовком */
.scope-card {
  position: relative;
  width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--forest-ink);
  color: var(--paper);
}

.scope-card__caption {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.011em;
  color: var(--paper);
}

.scope-card__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.scope-card__list li {
  position: relative;
  padding: 18px 18px 18px 54px;
  border-radius: var(--radius);
  background: var(--spruce);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.4;
}
.scope-card__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime-voltage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.scope-card__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 15px;
  color: rgba(255, 255, 255, .72);
}
.scope-card__lock {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--paper);
}

/* Шесть направлений */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.pillar {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.pillar__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
/* Иконка — в круге, как флаги-кружки в образце */
.pillar__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  align-self: flex-start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-ink);
  box-shadow: var(--ring);
}

.pillar__title {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}
.pillar p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
}
.pillar__note {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--forest-ink);
}
.pillar__note--link {
  align-self: flex-start;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.pillar__note--link:hover { text-decoration-thickness: 2px; }

.service-card__icon,
.audience-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-ink);
  box-shadow: var(--ring);
}

/* Метки-«таблетки» */
.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.audience-chips li {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--linen-mist);
  font-weight: 500;
  font-size: 15px;
  color: var(--forest-ink);
}

@media (max-width: 940px) {
  .scope-card__list,
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero__grid { gap: 40px; }
  .hero__lead { font-size: 18px; }
  .hero__actions { width: 100%; }
  .hero__actions .button { width: 100%; }
  /* Три цифры — в один ряд, подписи переносятся под ними */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }
  .hero__stat dd { font-size: 34px; }
  .hero__stat dt { font-size: 13px; }
  .scope-card {
    padding: 24px;
    border-radius: 20px;
  }
  .scope-card__list,
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* Услуги */

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.service-card,
.monthly-item {
  position: relative;
  border-radius: var(--radius);
  background: var(--card-bg);
}

.service-card { padding: 32px 28px; }

.service-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}
.service-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
}

/* Списки с галочками */

.check-list {
  display: grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
}
.check-list li {
  position: relative;
  padding-left: 32px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime-voltage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.presentation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--linen-mist);
}
.presentation .contacts-details__icon { background: var(--paper); }
.presentation__text {
  flex: 1;
  min-width: min(240px, 100%);
}
.presentation__text b {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: var(--obsidian);
}
.presentation__text span {
  font-size: 16px;
  color: var(--charcoal);
}

/* Тарифы */

.tariff-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.tariff-card:hover {
  border-color: var(--forest-ink);
  cursor: pointer;
}
.tariff-card--featured { border-color: var(--forest-ink); }

/* Тариф, который посетитель выбрал кнопкой */
.tariff-card.is-selected {
  border-color: var(--forest-ink);
  background: var(--lime-voltage);
}
.tariff-card.is-selected .tariff-card__name::after {
  content: "выбран";
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--forest-ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  vertical-align: middle;
}
.tariff-card.is-selected .tariff-card__limits,
.tariff-card.is-selected .tariff-card__period,
.tariff-card.is-selected .option-list { color: var(--forest-ink); }
.tariff-card.is-selected .check-list li::before { background-color: var(--paper); }
.tariff-card.is-selected .button--primary {
  background: var(--forest-ink);
  color: var(--paper);
}
.tariff-card__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--forest-ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 12px;
}
.tariff-card__name {
  font-size: 22px;
  letter-spacing: -.009em;
}
.tariff-card__price {
  margin-top: 16px;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--forest-ink);
  font-variant-numeric: tabular-nums;
}
.tariff-card__period {
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
}
.tariff-card__limits {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}
.tariff-card__caption {
  margin: 20px 0 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--obsidian);
}
.tariff-card .check-list { margin-bottom: 24px; }
.tariff-card .button { margin-top: auto; }

/* Список платных опций в карточке тарифа */

.option-list {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}
.option-list li {
  position: relative;
  padding-left: 32px;
}
.option-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--pebble);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: var(--forest-ink);
}

/* Одинаковые для всех тарифов услуги */

.tariff-common {
  margin-top: 12px;
  padding: 28px 28px 16px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.tariff-common__title {
  margin-bottom: 8px;
  font-size: 25px;
}
.tariff-common .price-board__list { padding: 0; }

/* Тёмная карточка с призывом — крупное скругление, белый заголовок */
.tariff-help {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--forest-ink);
  overflow: hidden;
}
.tariff-help__text h3 {
  color: var(--paper);
  font-size: clamp(26px, 3vw, 36px);
}
.tariff-help__text p {
  max-width: 60ch;
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
}
.tariff-help__image {
  width: 240px;
  height: auto;
}

@media (max-width: 1080px) {
  .tariff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .tariff-help { grid-template-columns: minmax(0, 1fr); }
  .tariff-help__image {
    width: 220px;
    justify-self: center;
  }
}

/* Разовые услуги и быстрая заявка */

/* Прайс: один общий список, внизу — форма обратного звонка */
.price-board {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  overflow: hidden;
}
/* Две колонки: список заполняется сверху вниз, сначала левая */
.price-board__list {
  columns: 2;
  column-gap: 48px;
  padding: 24px 32px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 -12px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  break-inside: avoid;
}
.price-line:hover { background: var(--paper); }
.section--soft .price-line:hover { background: var(--linen-mist); }
.price-line dt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--charcoal);
}
/* Отточие между названием и ценой */
.price-line dt::after {
  content: "";
  flex: 1;
  min-width: 24px;
  transform: translateY(-4px);
  border-bottom: 1px dotted var(--pebble);
}
.price-line dd {
  font-weight: 700;
  font-size: 16px;
  color: var(--forest-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .price-board__list { columns: 1; }
}

@media (max-width: 620px) {
  .price-board__list { padding: 12px 20px; }
  .price-line {
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  .price-line dt::after { display: none; }
}

/* Форма вместо двух десятков кнопок «Заказать» */
.callback-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--forest-ink);
  color: var(--paper);
}
.callback-card__title {
  color: var(--paper);
  font-size: 25px;
}
.callback-card__text p {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, .86);
}
/* Строка ввода — белая «таблетка», как выбор валюты в образце */
.callback-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--paper);
}
.callback-form input[type="tel"] {
  width: 100%;
  min-width: 0;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--obsidian);
}
.callback-form input[type="tel"]:focus-visible {
  outline: 2px solid var(--forest-ink);
  outline-offset: 0;
}

@media (max-width: 860px) {
  .callback-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
}
.checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--lime-voltage);
}

.callback-card.is-sent .callback-form__row,
.callback-card.is-sent .checkbox { display: none; }

@media (max-width: 480px) {
  .callback-form__row {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
  }
}

/* Цифры — тёмная секция, белые числа */

.counters {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--forest-ink);
}
.counter-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.counter {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--spruce);
}
.counter__value {
  display: block;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--paper);
}
.counter__label {
  display: block;
  max-width: 24ch;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
}

/* Процесс */

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.step__number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest-ink);
  color: var(--paper);
  font-weight: 900;
  font-size: 18px;
}
.step h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}
.step p {
  font-size: 16px;
  color: var(--slate);
}

.process-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--linen-mist);
}
.process-note p {
  flex: 1;
  min-width: 280px;
  font-size: 18px;
  color: var(--forest-ink);
}

/* Что входит */

.section--rings {
  --card-bg: var(--paper);
  background: var(--linen-mist);
}

.included-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
/* Четыре блока состава услуги ложатся в 2×2, а не 3+1 */
.included-columns--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.included-column {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.included-column h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

/* Ежемесячный результат */

.monthly-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.monthly-item { padding: 24px 20px; }
.monthly-item b {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--obsidian);
}
.monthly-item span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--slate);
}

/* Отзывы */

.reviews-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 12px;
  align-items: start;
}
.rating-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
  text-align: center;
}
.rating-card__value {
  font-weight: 900;
  font-size: 80px;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--forest-ink);
}
.rating-card__stars {
  margin-top: 10px;
  color: #ffcc00;
  font-size: 18px;
  letter-spacing: 3px;
}
.rating-card__source {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

.rating-bars {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}
.rating-bars li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-bars__track {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--fog);
  overflow: hidden;
}
.rating-bars__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--forest-ink);
}
.rating-bars__fill--full { width: 100%; }

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-card__head b {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--obsidian);
}
.review-card__head small {
  font-size: 13px;
  color: var(--slate);
}
.review-card__head small .star { color: #ffcc00; }
.review-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--linen-mist);
  font-size: 22px;
}
.review-card p {
  font-size: 16px;
  line-height: 1.55;
}
.review-card .review-card__date {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate);
}

.review-featured {
  margin-top: 12px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--forest-ink);
  color: rgba(255, 255, 255, .9);
}
.review-featured .review-card__head b { color: var(--paper); }
.review-featured .review-card__head small { color: rgba(255, 255, 255, .7); }
.review-featured .review-card__avatar { background: var(--spruce); }
.review-featured p {
  font-size: 20px;
  line-height: 1.45;
}
.review-featured .review-card__date { color: rgba(255, 255, 255, .7); }
.review-featured .rating-card__stars { margin: 0 0 12px; }

@media (max-width: 860px) {
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Кому помогаем */

.audience-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.audience-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
  text-align: center;
}
.audience-card__icon { margin: 0 auto 16px; }
.audience-card b {
  font-weight: 700;
  font-size: 17px;
  color: var(--forest-ink);
}

/* Вопросы */

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}
.faq-item {
  border-radius: var(--radius);
  background: var(--card-bg);
}
.faq-item summary {
  position: relative;
  padding: 22px 76px 22px 28px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  color: var(--obsidian);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Плюс в круге, который превращается в минус */
.faq-item summary::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--lime-voltage);
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 33px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--forest-ink), var(--forest-ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--forest-ink), var(--forest-ink)) center / 2px 14px no-repeat;
}
.faq-item[open] summary::after {
  background: linear-gradient(var(--forest-ink), var(--forest-ink)) center / 14px 2px no-repeat;
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--forest-ink);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.faq-item__wrap { overflow: hidden; }
.faq-item__answer {
  padding: 0 76px 24px 28px;
  font-size: 17px;
}
.faq-item__answer ul {
  margin: 10px 0;
  padding-left: 22px;
  list-style: disc;
}
.faq-item__answer li { margin-bottom: 6px; }
.faq-item__answer p + p { margin-top: 10px; }

/* Призыв к действию — тёмная секция, белый заголовок */

.call-to-action {
  padding: var(--section-gap) 0;
  background: var(--forest-ink);
  color: var(--paper);
  text-align: center;
}
.call-to-action .eyebrow {
  background: var(--spruce);
  color: var(--paper);
}
.call-to-action h2 {
  max-width: 16ch;
  margin: 0 auto;
  color: var(--paper);
  font-size: clamp(40px, 6.6vw, 89px);
  line-height: .92;
}
.call-to-action__text {
  max-width: 56ch;
  margin: 24px auto 0;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .86);
}
.call-to-action__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.call-to-action .button--outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, .5);
}
.call-to-action .button--outline:hover {
  border-color: var(--paper);
  color: var(--paper);
}

/* Контакты и форма */

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contacts-layout { grid-template-columns: minmax(0, 1fr); }
}

/* В контактах заголовок стоит рядом с формой — его оставляем слева */
.contacts-layout .section__head {
  margin: 0 0 24px;
  text-align: left;
}
.contacts-layout .section__intro { margin-left: 0; }

.contacts-promises {
  margin-top: 24px;
  font-size: 17px;
}
.contacts-details {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contacts-details__link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -.02em;
  color: var(--forest-ink);
}
/* Адрес почты на самых узких экранах переносится, а не вылезает за край */
.contacts-details__link > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contacts-details__link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contacts-details__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime-voltage);
  color: var(--forest-ink);
}

.lead-form {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--fog);
}
.lead-form__title {
  font-size: 30px;
  letter-spacing: -.011em;
}
.lead-form__hint {
  margin: 8px 0 24px;
  font-size: 16px;
  color: var(--slate);
}
.lead-form__tariff {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--forest-ink);
  color: var(--paper);
  font-size: 15px;
}
.lead-form__tariff b { color: var(--paper); }
.lead-form__tariff-reset {
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: none;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.lead-form__tariff-reset:hover { background: var(--lime-voltage); color: var(--forest-ink); }

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lead-form__submit {
  width: 100%;
  margin-top: 8px;
}
.lead-form__consent {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}
.lead-form__consent a {
  color: var(--forest-ink);
  text-decoration: underline;
}
.checkbox a {
  color: var(--paper);
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer__legal a { text-decoration: underline; }

/* Поля: скругление 10px, серая рамка, при фокусе — тёмная рамка без свечения */
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--pebble);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--font-text);
  font-size: 16px;
  color: var(--obsidian);
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-ink);
  box-shadow: inset 0 0 0 1px var(--forest-ink);
}
.field--invalid input,
.field--invalid select,
.field--invalid textarea { border-color: #cb272f; }

/* Слайдер-подтверждение «я не робот» */
.slider-check { margin: 6px 0 18px; }
.slider-check__track {
  position: relative;
  height: 52px;
  border: 1px solid var(--pebble);
  border-radius: var(--radius-pill);
  background: var(--paper);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}
.slider-check__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-left: 40px;
  font-size: 15px;
  color: var(--slate);
  pointer-events: none;
}
.slider-check__handle {
  position: absolute;
  top: 4px;
  left: 4px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 42px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--forest-ink);
  color: var(--paper);
  cursor: grab;
  touch-action: none;
}
.slider-check__handle:active { cursor: grabbing; }
.slider-check__handle .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}
.slider-check.is-verified .slider-check__track {
  background: var(--linen-mist);
  border-color: var(--forest-ink);
}
.slider-check.is-verified .slider-check__label {
  padding-left: 0;
  color: var(--forest-ink);
  font-weight: 600;
}
.slider-check.is-verified .slider-check__handle {
  background: var(--lime-voltage);
  color: var(--forest-ink);
  cursor: default;
}
.slider-check.is-invalid .slider-check__track { border-color: #cb272f; }

.form-status {
  display: none;
  margin-top: 14px;
  font-size: 15px;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--linen-mist);
  color: var(--forest-ink);
}
.form-status.is-error {
  padding: 12px 18px;
  border-radius: var(--radius);
  background: #fbe4e5;
  color: #8f1c22;
}
.callback-form .form-status.is-success {
  background: var(--spruce);
  color: var(--paper);
}
.callback-form .form-status.is-error {
  background: rgba(0, 0, 0, .25);
  color: #ffe0dc;
}

/* Текстовые страницы (политика, согласие) */

.legal-page { padding: 64px 0 var(--section-gap); }
.legal-page__inner { max-width: 780px; }
.legal-page h1 {
  font-weight: 900;
  font-size: clamp(36px, 5vw, 61px);
  line-height: .95;
  letter-spacing: -.03em;
}
.legal-page h2 {
  margin: 40px 0 12px;
  font-size: 25px;
}
.legal-page p { margin-bottom: 14px; }
.legal-page ul {
  margin: 0 0 16px 22px;
  list-style: disc;
}
.legal-page li { margin-bottom: 8px; }
.legal-page a {
  color: var(--forest-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page__date {
  margin: 16px 0 32px;
  color: var(--slate);
  font-size: 15px;
}
.legal-page__todo {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--linen-mist);
  font-size: 15px;
  color: var(--forest-ink);
}
.legal-page__back { margin-top: 40px; }

/* Подвал */

.site-footer {
  padding: 64px 0 32px;
  background: var(--forest-ink);
  color: rgba(255, 255, 255, .78);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-weight: 700;
  font-size: 16px;
}
.site-footer ul {
  display: grid;
  gap: 10px;
  font-size: 16px;
}
.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}
.site-footer__about {
  max-width: 42ch;
  font-size: 16px;
}
.site-footer__site {
  margin-top: 16px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--paper);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 14px;
}

/* Адаптив общих сеток */

@media (max-width: 1000px) {
  .service-list,
  .included-columns,
  .counter-list,
  .step-list,
  .monthly-list,
  .audience-list,
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-gap: 56px; }
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .section__head { margin-bottom: 32px; }
  .section__intro { font-size: 18px; }
  .service-list,
  .counter-list,
  .step-list,
  .monthly-list,
  .audience-list,
  .review-list,
  .lead-form__row,
  .included-columns,
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .lead-form,
  .tariff-help,
  .review-featured {
    padding: 24px;
    border-radius: 20px;
  }
  .price-board { border-radius: 20px; }
  .tariff-list { grid-template-columns: minmax(0, 1fr); }
  .counter__value { font-size: 48px; }
  .contacts-details__link { font-size: 22px; }
  .faq-item summary {
    padding: 18px 64px 18px 20px;
    font-size: 17px;
  }
  .faq-item summary::before { right: 16px; }
  .faq-item summary::after { right: 27px; }
  .faq-item__answer { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
