/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-md)/1.55 var(--font-body);
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container {
  max-width: calc(var(--container) + 2 * var(--pad));
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}
body.is-locked { overflow: hidden; }
.section { padding-block: 48px; }
@media (min-width: 768px) { .section { padding-block: 72px; } }
.section.section--flush-top { padding-top: 0; }
.section.section--flush { padding-block: 0; }

.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__title { font: 600 var(--fs-2xl)/1.15 var(--font-display); letter-spacing: -0.01em; }
.section__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--forest); }
.section__link .icon { width: 18px; height: 18px; }
.eyebrow { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-md); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: var(--on-forest); }
.btn--primary:hover { background: var(--forest-deep); }
.btn--ghost { border: 1.5px solid var(--forest); color: var(--forest); }
.btn--ghost:hover { background: var(--leaf); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: #e7a524; }
.btn--light { background: var(--on-forest); color: var(--forest-deep); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn-caption { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Плашка владельца (R1, R5) ---------- */
.ownerbar { background: var(--forest-deep); color: var(--on-forest); font-size: var(--fs-xs); }
.ownerbar__inner { display: flex; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 34px; padding-block: 6px; }
.ownerbar__inner p { min-width: 0; }
.ownerbar strong { font-weight: 600; }
.ownerbar__extra { display: none; opacity: .8; }
@media (min-width: 768px) { .ownerbar__extra { display: block; } }

/* ---------- Шапка ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.header__burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: var(--r-sm); }
@media (min-width: 1024px) { .header__burger { display: none; } }

/* Лого NSP + подпись Independent Partner (R4): подпись 12px при высоте логотипа 34px — не меньше 1/3 */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--nsp-teal); }
.brand__logo { flex: none; height: 34px; width: auto; aspect-ratio: 150 / 43; }
.brand__logo--mark { display: none; aspect-ratio: 1; }
/* Полный логотип в шапке — с 1280 px, уже — только знак (иначе не помещается меню) */
@media (max-width: 1279px) {
  .header .brand__logo, .drawer .brand__logo { display: none; }
  .header .brand__logo--mark, .drawer .brand__logo--mark { display: block; }
}
@media (max-width: 479px) {
  .brand { gap: 8px; }
  .brand__logo { height: 30px; }
  .brand__text { padding-left: 8px; }
  .brand__ip { font-size: 11px; letter-spacing: .02em; } /* 11px ≥ 1/3 от 30px — R4 соблюдён */
}
.brand__text { display: grid; width: min-content; line-height: 1.15; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); color: var(--ink); }
.brand__ip { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--forest); }
/* Длинное имя («Денис и Анна Тарасенко») переносится по ширине подписи Independent Partner, а не обрезается (R5) */
.brand__name { font-size: var(--fs-sm); font-weight: 500; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; gap: 2px; margin-left: 12px; }
  .nav a { padding: 8px 10px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; }
  .nav a:hover { background: var(--leaf); }
  .nav a[aria-current="page"] { background: var(--leaf); color: var(--forest); }
}
/* 1024–1279: меню ужимается, чтобы поместились знак NSP, подпись и кнопки */
@media (min-width: 1024px) and (max-width: 1279px) { .nav { margin-left: 4px; } .nav a { padding: 8px 8px; } }
/* Имя партнёра в логотипе не обрезаем (R5). До 1280 px прячем «Отложенные»: страницы для них пока нет, а места мало */
.brand { flex-shrink: 0; }
@media (max-width: 1279px) { .header__actions .hide-mobile { display: none; } }

.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header__phone { display: none; }
@media (min-width: 1440px) {
  .header__phone { display: grid; line-height: 1.2; margin-right: 12px; text-align: right; }
  .header__phone b { font-weight: 600; }
  .header__phone b { white-space: nowrap; }
  .header__phone span { display: none; } /* подпись «звонок, Telegram…» есть в меню и футере */
}
.country { display: none; }
@media (min-width: 768px) {
  .country {
    display: block; height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235a685f' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; font-size: var(--fs-sm); margin-right: 6px;
  }
}
.iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.iconbtn:hover { background: var(--leaf); }
.iconbtn__badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--honey); color: var(--ink);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums;
}
.iconbtn__badge[data-count="0"] { display: none; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: grid; } }

/* ---------- Мобильное меню ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(19 51 37 / .45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--surface);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav { display: grid; }
.drawer__nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-lg); font-weight: 500; }
.drawer__label { display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }
.drawer__label select { height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; background: var(--surface); }
.drawer__contacts { display: grid; gap: 8px; font-size: var(--fs-sm); }
.drawer__contacts b { font-size: var(--fs-lg); }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 48px; }
@media (min-width: 768px) { .hero { padding-block: 48px 72px; } }
.hero__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; } }
.hero__copy { display: grid; gap: 20px; min-width: 0; }
.hero__title { font: 600 var(--fs-hero)/1.06 var(--font-display); letter-spacing: -0.02em; }
.hero__title em { font-style: normal; color: var(--forest); background: linear-gradient(transparent 62%, var(--honey-soft) 62%); }
.hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero__facts b { display: block; font: 600 var(--fs-xl)/1.2 var(--font-display); color: var(--forest); }
.hero__facts span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; margin-top: 4px; }

/* Мини-тест в hero */
.quiz {
  position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 22px; display: grid; gap: 16px; overflow: hidden;
}
@media (min-width: 768px) { .quiz { padding: 28px; } }
.quiz::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, var(--honey-soft) 0 55%, transparent 56%);
}
.quiz > * { position: relative; }
.quiz__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.quiz__title { font: 600 var(--fs-xl)/1.25 var(--font-display); }
.quiz__meta { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.quiz__step { flex: none; font-size: var(--fs-xs); font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); background: var(--leaf); color: var(--forest); font-variant-numeric: tabular-nums; }
.quiz__list { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.check {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background-color .2s; font-size: var(--fs-sm);
}
.check:hover { border-color: var(--forest); }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--muted); border-radius: 6px; display: grid; place-items: center; transition: background-color .15s; }
.check input:checked { background: var(--forest); border-color: var(--forest); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: solid var(--on-forest); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.check:has(input:checked) { background: var(--leaf); border-color: var(--forest); }
.quiz__progress { height: 6px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--honey); transition: width .3s; }
.quiz__foot { display: grid; gap: 10px; }
.quiz__note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Задачи ---------- */
.goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .goals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.goal {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 132px; padding: 16px; border-radius: var(--r-md); background: var(--tint, var(--leaf)); overflow: hidden;
  transition: transform .2s;
}
@media (min-width: 1024px) { .goal { min-height: 168px; padding: 22px; } }
.goal:hover { transform: translateY(-3px); }
.goal::after {
  content: ""; position: absolute; right: -26px; bottom: -26px; width: 96px; height: 96px;
  border-radius: 60% 0 60% 0; background: var(--surface); opacity: .55; transform: rotate(var(--rot, 0deg));
}
.goal__name { position: relative; z-index: 1; font-weight: 600; font-size: var(--fs-md); line-height: 1.25; }
@media (min-width: 1024px) { .goal__name { font-size: var(--fs-lg); } }
.goal__count { position: relative; z-index: 1; font-size: var(--fs-xs); color: var(--muted); }
.goal:nth-child(4n+1) { --tint: var(--leaf); --rot: 0deg; }
.goal:nth-child(4n+2) { --tint: var(--honey-soft); --rot: 90deg; }
.goal:nth-child(4n+3) { --tint: var(--mist); --rot: 45deg; }
.goal:nth-child(4n+4) { --tint: var(--sand); --rot: -30deg; }

/* ---------- Товары ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.tabs button { padding: 8px 16px; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--forest); color: var(--on-forest); }

.products {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
  margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
@media (min-width: 768px) { .products { grid-auto-columns: minmax(250px, 38%); gap: 16px; } }
@media (min-width: 1024px) {
  .products { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
.products[hidden] { display: none !important; }

.card {
  position: relative; container-type: inline-size;
  scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; background: var(--tint, var(--leaf)); display: grid; place-items: center; max-width: 100%; }
.card__media svg { width: 42%; height: auto; filter: drop-shadow(0 10px 12px rgb(23 37 29 / .15)); }
/* Фото товаров из импорта: белый фон фото сливается с фоном карточки; фото не растягивает ячейку */
.pack-img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.card__media .pack-img { position: absolute; inset: 11%; width: 78%; height: 78%; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge { padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: var(--surface); }
.badge--new { background: var(--honey); }
.card__fav { position: absolute; top: 8px; right: 8px; background: rgb(255 255 255 / .8); }
.card__fav[aria-pressed="true"] { color: var(--danger); }
.card__fav[aria-pressed="true"] .icon { fill: currentColor; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.card__cat { font-size: var(--fs-xs); color: var(--muted); }
.card__name { font-weight: 600; font-size: var(--fs-md); line-height: 1.3; }
.card__name small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.card__form { font-size: var(--fs-sm); color: var(--muted); }
.card__buy { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { display: grid; line-height: 1.15; }
.price b { font: 600 var(--fs-xl)/1.1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price span { font-size: 11px; color: var(--muted); }
.price--request b { font: 600 var(--fs-md)/1.2 var(--font-body); color: var(--forest); }
.card__note { font-size: 11px; color: var(--muted); line-height: 1.35; padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 10px; }
.card__note--empty { visibility: hidden; }
/* Узкая карточка (2 колонки на телефоне): цена и кнопка в столбик */
@container (max-width: 230px) {
  .card__body { padding: 12px; gap: 4px; }
  .card__name { font-size: var(--fs-sm); }
  .card__name small { display: none; }
  .card__form { font-size: var(--fs-xs); }
  .card__buy { flex-direction: column; align-items: stretch; gap: 10px; }
  .card__buy .btn { width: 100%; }
  .price b { font-size: var(--fs-lg); }
  .card__note { font-size: 10px; }
  .badge { font-size: 10px; padding: 3px 8px; }
}
.demo-note { margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Как купить ---------- */
.howto { background: var(--sand); }
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.step { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--surface); border-radius: var(--r-lg); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--forest); color: var(--on-forest); font: 600 var(--fs-md)/1 var(--font-display);
}
.step h3 { font-size: var(--fs-lg); font-weight: 600; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.howto__note {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-lg); border: 1.5px dashed var(--forest);
}
.howto__note p { font-weight: 600; min-width: 0; flex: 1 1 280px; }
.howto__actions { display: grid; gap: 6px; justify-items: start; }

/* ---------- О партнёре ---------- */
.about { display: grid; gap: 28px; }
@media (min-width: 768px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; } }
@media (min-width: 1024px) { .about { gap: 64px; } }
.portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 48% 48% var(--r-lg) var(--r-lg);
  background: linear-gradient(170deg, var(--leaf), var(--mist)); display: grid; place-items: center; overflow: hidden;
}
@media (max-width: 767px) { .portrait { aspect-ratio: 1 / 1; max-width: 320px; } }
.portrait__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait__initials { font: 600 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--font-display); color: var(--forest); opacity: .8; }
.portrait__tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 10px 14px; border-radius: var(--r-md);
  background: var(--surface); font-size: var(--fs-xs); line-height: 1.35; box-shadow: var(--shadow);
}
.portrait__tag b { display: block; font-size: var(--fs-sm); }
.about__copy { display: grid; gap: 16px; min-width: 0; }
.about__copy > p { color: var(--muted); max-width: 60ch; }
.contacts { display: grid; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line); }
@media (min-width: 480px) { .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contacts li { display: grid; gap: 2px; min-width: 0; }
.contacts span { font-size: var(--fs-xs); color: var(--muted); }
.contacts b { font-weight: 600; overflow-wrap: anywhere; }
.about__ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: start; }
.cta-stack { display: grid; gap: 6px; }

/* ---------- Блог ---------- */
.posts { display: grid; gap: 16px; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { display: grid; gap: 12px; align-content: start; }
.post__cover { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-lg); background: var(--tint); position: relative; overflow: hidden; }
.post__cover::before, .post__cover::after { content: ""; position: absolute; border-radius: 50%; }
.post__cover::before { width: 60%; aspect-ratio: 1; right: -10%; top: -20%; background: var(--surface); opacity: .5; }
.post__cover::after { width: 28%; aspect-ratio: 1; left: 12%; bottom: 14%; background: var(--forest); opacity: .9; }
.post:nth-child(1) { --tint: var(--leaf); }
.post:nth-child(2) { --tint: var(--honey-soft); }
.post:nth-child(3) { --tint: var(--mist); }
.post__meta { font-size: var(--fs-xs); color: var(--muted); }
.post h3 { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; }
.post:hover h3 { color: var(--forest); }

/* ---------- Бизнес ---------- */
.business { background: var(--forest); color: var(--on-forest); border-radius: var(--r-lg); padding: 32px 22px; display: grid; gap: 24px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .business { padding: 48px; grid-template-columns: 1.3fr 1fr; align-items: center; } }
.business::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -180px; border-radius: 50%; border: 48px solid var(--honey); opacity: .9; }
.business > * { position: relative; z-index: 1; }
.business .section__title { color: var(--on-forest); }
.business p { opacity: .85; max-width: 56ch; margin-top: 12px; }
.business__list { display: grid; gap: 8px; margin-top: 18px; }
.business__list li { display: flex; gap: 10px; align-items: start; }
.business__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--honey); }
.business__cta { display: grid; gap: 8px; justify-items: start; }
.business__cta .btn-caption { color: var(--on-forest); opacity: .8; }

/* ---------- Telegram ---------- */
.tg { display: grid; gap: 16px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 768px) { .tg { grid-template-columns: auto 1fr auto; gap: 24px; padding: 28px 32px; } }
.tg__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mist); color: var(--forest); }
.tg__icon .icon { width: 26px; height: 26px; }
.tg h3 { font: 600 var(--fs-xl)/1.25 var(--font-display); }
.tg p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }

/* ---------- Футер ---------- */
.footer { margin-top: 48px; background: var(--forest-deep); color: var(--on-forest); padding-block: 48px 28px; font-size: var(--fs-sm); }
.footer a:hover { color: var(--honey); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer .brand { color: #fff; } /* одноцветная белая версия логотипа на тёмном фоне */
.footer .brand__text { border-color: rgb(255 255 255 / .25); color: inherit; }
.footer .brand__ip { color: var(--honey); }
.footer__owner { display: grid; gap: 14px; }
.footer__owner dl { display: grid; gap: 6px; margin: 0; }
.footer__owner dt { font-size: var(--fs-xs); opacity: .65; }
.footer__owner dd { margin: 0 0 6px; font-weight: 500; }
.footer h4 { margin: 0 0 12px; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .65; font-weight: 600; }
.footer__links { display: grid; gap: 8px; }
@media (min-width: 768px) and (max-width: 1023px) { .footer__col--docs { grid-column: 2 / 4; } }
.messengers { display: flex; gap: 8px; flex-wrap: wrap; }
.messengers a { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid rgb(243 246 238 / .3); font-weight: 500; }
/* Юридический текст слева, ссылка разработчика справа; на узких экранах ссылка под текстом, у правого края */
.footer__bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(243 246 238 / .18); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.footer__dev { margin: 0 0 0 auto; font-size: var(--fs-xs); opacity: .75; white-space: nowrap; }
.footer__legal { display: grid; gap: 8px; font-size: var(--fs-xs); opacity: .75; max-width: 90ch; }

/* ---------- Нижняя панель (мобильные и планшеты) ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
@media (min-width: 1024px) { .bottombar { display: none; } }
.bottombar a, .bottombar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; height: var(--bottombar-h); font-size: 11px; font-weight: 500; color: var(--muted); }
.bottombar .is-accent { color: var(--forest); }
.bottombar .iconbtn__badge { top: 6px; right: calc(50% - 22px); }

/* ---------- Cookie и toast ---------- */
.cookie {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(var(--bottombar-h) + 12px + env(safe-area-inset-bottom, 0px));
  max-width: 460px; padding: 16px; border-radius: var(--r-md); background: var(--ink); color: var(--on-forest);
  display: grid; gap: 12px; font-size: var(--fs-xs); box-shadow: var(--shadow);
  margin-left: env(safe-area-inset-left, 0px);
}
@media (min-width: 1024px) { .cookie { left: 24px; bottom: 24px; } }
.cookie a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; }
.cookie .btn--ghost { border-color: rgb(243 246 238 / .4); color: var(--on-forest); }
.cookie .btn--ghost:hover { background: rgb(243 246 238 / .1); }

.toast {
  position: fixed; z-index: 90; left: 50%; top: calc(var(--header-h) + 48px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: var(--r-pill); background: var(--forest); color: var(--on-forest);
  font-size: var(--fs-sm); font-weight: 500; transition: opacity .25s, transform .25s; white-space: nowrap;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
