/* Марина Артемчук — сайт. Палитра без чёрного. */
:root {
  --white: #ffffff;
  --pink: #F9E4EA;       /* фоны секций */
  --rose: #E8899F;       /* кнопки, акценты */
  --sage: #A9C4A1;       /* иконки, теги */
  --mint: #EAF3E6;       /* карточки */
  --text: #3E4F3A;
  --text-2: #7A4E5C;
  --line: #EBD9DF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;

  --pad-x: clamp(20px, 8.4vw, 120px);
  --pad-y: clamp(56px, 7.8vw, 112px);
  --gap: clamp(28px, 3.4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
section[id], [id="wait"] { scroll-margin-top: 90px; }
a { color: var(--text-2); }
a:hover { color: var(--text); }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; color: var(--text-2); }
b { color: var(--text); }

/* ---------- Типографика ---------- */
.serif { font-family: var(--serif); font-weight: 500; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.01em; }
.h1--page { font-size: clamp(44px, 5.8vw, 84px); line-height: 1.02; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.05; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 520px; }
.text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; text-decoration: none;
  color: var(--text); border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { color: var(--text); transform: translateY(-1px); }
.btn--sm { min-height: 48px; padding: 0 24px; }
.btn--client { background: var(--rose); box-shadow: 0 12px 28px rgba(232,137,159,0.35); }
.btn--marathon { background: var(--sage); box-shadow: 0 12px 28px rgba(169,196,161,0.4); }
.btn--outline { background: var(--white); color: var(--text-2); border: 1.5px solid var(--rose); }
.btn--outline:hover { color: var(--text-2); background: var(--pink); }
.btn--flat { box-shadow: none; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--tight { gap: 10px; }

/* ---------- Плашки ---------- */
.bad {
  display: inline-flex; align-self: flex-start;
  padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--rose); background: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em; color: var(--text);
}
.bad--lg { font-size: 15px; padding: 14px 20px; }
.note { align-self: flex-start; background: var(--mint); border-radius: 16px; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--text); }
.pill { background: var(--white); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--text); }
.pill--start { background: var(--pink); font-weight: 700; color: var(--text-2); padding: 10px 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--mint); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--text); }
.ph.ph--fill { width: 100%; height: 100%; border-radius: inherit; font-size: 12px; }
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-size: 13px; line-height: 1.4; color: var(--text-2);
  background: var(--mint); border: 1.5px dashed rgba(122,78,92,0.35);
}

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px var(--pad-x); background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: padding .25s ease, box-shadow .25s ease;
}
.header.is-scrolled { padding-top: 14px; padding-bottom: 14px; box-shadow: 0 8px 24px rgba(122,78,92,0.08); }
.logo { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--text); white-space: nowrap; text-decoration: none; }
.logo:hover { color: var(--text); }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a { color: var(--text); text-decoration: none; padding-bottom: 4px; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-2); border-bottom-color: var(--rose); }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--pink);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.burger span { width: 18px; height: 1.5px; background: var(--text); transition: transform .25s ease; }
.menu-open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 80px 0 0; z-index: 39; background: var(--white);
  padding: 24px 20px 40px; flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-menu a:not(.btn) {
  font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--text); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--pink);
}
.mobile-menu .btn-row { margin-top: 20px; flex-direction: column; }
.menu-open .mobile-menu { display: flex; }
.menu-open { overflow: hidden; }

/* ---------- Секции ---------- */
.section { position: relative; overflow: hidden; padding: var(--pad-y) var(--pad-x); display: flex; flex-direction: column; gap: var(--gap); }
.section--pink { background: var(--pink); }
.section--mint { background: var(--mint); }
.section--tight { padding-top: clamp(24px, 3.4vw, 48px); }
.section-head { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.section-head--row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; }
.sprig { position: absolute; pointer-events: none; width: 60px; height: 120px; opacity: 0.7; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, var(--pink) 0%, rgba(249,228,234,0) 70%),
    radial-gradient(ellipse 50% 60% at 70% 90%, var(--mint) 0%, rgba(234,243,230,0) 70%),
    var(--white);
  padding: 32px var(--pad-x) 112px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(48px, 6.7vw, 96px); align-items: center;
  position: relative; overflow: hidden;
}
.hero__text { display: flex; flex-direction: column; gap: 32px; }
.hero__roles { font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 470px; }
.hero__roles a { font-weight: 700; }

/* Арка с фото и бейдж −12 кг */
.arch-wrap { position: relative; height: 640px; }
.arch {
  position: absolute; inset: 0; overflow: hidden; background: var(--pink);
  border-radius: 999px 999px 32px 32px; box-shadow: 0 30px 60px rgba(232,137,159,0.25);
}
.arch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s ease, transform 7s ease-out;
}
.arch img.is-active { opacity: 1; transform: scale(1); }
.kg-badge {
  position: absolute; left: -40px; bottom: 80px; width: 156px; height: 156px; border-radius: 50%;
  background: var(--rose); color: var(--text); border: 4px solid var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 16px 36px rgba(232,137,159,0.4);
}
.kg-badge__num { font-family: var(--serif); font-weight: 600; font-size: 58px; line-height: 1; }
.kg-badge__unit { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.kg-badge--sm { width: 136px; height: 136px; left: -36px; bottom: 56px; }
.kg-badge--sm .kg-badge__num { font-size: 44px; font-weight: 500; }
.kg-badge--sm .kg-badge__unit { font-size: 12px; letter-spacing: 0; }
.kg-badge--right { left: auto; right: -30px; bottom: 40px; width: 120px; height: 120px; }
.kg-badge--right .kg-badge__num { font-size: 38px; font-weight: 500; }
.kg-badge--right .kg-badge__unit { font-size: 14px; letter-spacing: 0; }

/* ---------- Моя история ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5.6vw, 80px); align-items: center; }
.compare {
  position: relative; height: 580px; border-radius: 32px; overflow: hidden; background: var(--white);
  box-shadow: 0 24px 50px rgba(232,137,159,0.2); user-select: none; --pos: 50%;
}
.compare__layer { position: absolute; inset: 0; }
.compare__layer > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.compare__before .ph { background: #F4ECEF; border: 0; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__after .ph { border: 0; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  box-shadow: 0 8px 20px rgba(122,78,92,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--text-2);
  pointer-events: none;
}
.compare__label { position: absolute; top: 16px; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; pointer-events: none; }
.compare__label--before { left: 16px; background: var(--white); color: var(--text-2); }
.compare__label--after { right: 16px; background: var(--rose); color: var(--text); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.steps { display: flex; flex-direction: column; gap: 36px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sage); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 24px;
}
.step__body { display: flex; flex-direction: column; gap: 6px; }
.step__title { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; }
.roles-box { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; border-top: 1px solid var(--pink); }
.section--pink .roles-box { border-top-color: rgba(232,137,159,0.35); }

/* ---------- Карточки направлений ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.area { background: var(--mint); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.area__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; flex: none; }
.area__title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.area__text { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* ---------- Марафон-тизер ---------- */
.teaser { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.start-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Результаты ---------- */
.res-card {
  background: var(--white); border: 1px solid var(--pink); border-radius: 28px; padding: 14px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 40px rgba(232,137,159,0.14);
}
.res-card__media { position: relative; height: 220px; border-radius: 20px; overflow: hidden; background: var(--mint); }
.res-card__media img { width: 100%; height: 100%; object-fit: cover; }
.res-card__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.res-card__ph { height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.res-card__ph div { display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-2); background: var(--mint); }
.res-card__ph div:first-child { background: var(--pink); }
.res-card__blur {
  position: absolute; left: 0; right: 0; top: 0; height: 38%;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(249,228,234,0.35);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.chip { position: absolute; bottom: 10px; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.chip--before { left: 10px; background: var(--white); color: var(--text-2); }
.chip--after { right: 10px; background: var(--rose); color: var(--text); }
.res-card__pair .chip--after { left: 10px; right: auto; }
.res-card__body { padding: 0 6px 6px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.res-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.res-card__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.res-card__quote { font-size: 14px; line-height: 1.55; color: var(--text-2); font-style: italic; }
.res-card__name { margin-top: auto; font-size: 13px; font-weight: 700; }
.res-card--cta { background: var(--pink); border: 0; box-shadow: none; padding: 32px; justify-content: flex-end; gap: 16px; }
.res-card--cta .serif { font-size: 32px; line-height: 1.1; }
.res-card--cta .btn { align-self: flex-start; }

.mini-res { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.mini-card { background: var(--white); border-radius: 28px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mini-card__media { height: 240px; border-radius: 20px; overflow: hidden; background: var(--mint); }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-card__body { padding: 0 6px 6px; display: flex; flex-direction: column; gap: 4px; }
.mini-card__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.mini-card__name { font-size: 13px; font-weight: 700; color: var(--text-2); }
.link-more { font-size: 15px; font-weight: 700; color: var(--text-2); align-self: flex-start; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  min-height: 48px; display: flex; align-items: center; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--pink); background: var(--white);
  font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--text); cursor: pointer;
  transition: background-color .2s ease;
}
.filter:hover { background: var(--pink); }
.filter[aria-pressed="true"] { background: var(--pink); border-color: var(--rose); }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.res-grid .res-card__media { height: 240px; }

/* ---------- Продукты ---------- */
.product { background: var(--mint); border-radius: 28px; padding: 28px; display: flex; gap: 18px; align-items: center; }
.product__photo { width: 96px; height: 96px; border-radius: 50%; flex: none; background: var(--white); font-size: 11px; padding: 6px; }
.product__body { display: flex; flex-direction: column; gap: 6px; }
.product__kind { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.product__name { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.product__why { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* ---------- Сертификаты ---------- */
.cert-strip {
  display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--pad-x) * -1); padding: 4px var(--pad-x) 12px;
  cursor: grab;
}
.cert-strip::-webkit-scrollbar { display: none; }
.cert-strip.is-dragging { cursor: grabbing; }
.cert-card { flex: none; width: 240px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; font: inherit; }
.cert-card__img {
  height: 320px; border-radius: 20px; background: var(--white); padding: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(122,78,92,0.1); transition: transform .25s ease;
}
.cert-card:hover .cert-card__img { transform: translateY(-4px); }
.cert-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.cert-card__title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text); }
.cert-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-2); }
.pdf { background: var(--pink); border-radius: 999px; padding: 2px 8px; font-weight: 700; color: var(--text); }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.cert-grid .cert-card { width: auto; }
.cert-grid .cert-card__img { height: 300px; background: var(--mint); box-shadow: none; }
.cert-grid .cert-card__img img { box-shadow: 0 10px 24px rgba(122,78,92,0.12); }
.cert-grid .cert-card__title { font-size: 15px; font-weight: 700; }

.cert-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-thumb { width: 84px; height: 116px; border-radius: 10px; background: var(--mint); padding: 6px; display: flex; align-items: center; justify-content: center; }
.cert-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }

/* Модалка сертификата */
.modal {
  position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(62,79,58,0.45);
}
.modal.is-open { display: flex; }
.modal__box {
  background: var(--white); border-radius: 28px; max-width: 920px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; position: relative;
  box-shadow: 0 30px 80px rgba(62,79,58,0.25);
}
.modal__img { background: var(--mint); border-radius: 20px; padding: 16px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.modal__img img { max-height: 70vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 24px rgba(122,78,92,0.12); }
.modal__body { display: flex; flex-direction: column; gap: 16px; padding-right: 24px; }
.modal__title { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--pink); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer;
}

/* ---------- Марафон ---------- */
.mhero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.mhero__text { display: flex; flex-direction: column; gap: 22px; }
.mhero__sub { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; }
.chips span + span { background: var(--mint); }
.mhero .arch-wrap { height: 540px; }
.daily { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.daily__item { background: var(--white); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.daily__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.daily__title { font-size: 17px; font-weight: 700; }
.leader { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.leader .arch-wrap { height: 460px; }
.leader__text { display: flex; flex-direction: column; gap: 20px; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat__num { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 3.9vw, 56px); line-height: 1; }
.stat__label { font-size: 14px; color: var(--text-2); }
.wait { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 100px; }
.wait__text { display: flex; flex-direction: column; gap: 20px; }
.join { background: var(--white); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(232,137,159,0.18); }
.join__title { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; }
.join__link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 18px 22px;
  border-radius: 22px; text-decoration: none; color: var(--text); background: var(--rose);
  transition: transform .2s ease;
}
.join__link:hover { color: var(--text); transform: translateY(-2px); }
.join__link--outline { background: var(--white); border: 1.5px solid var(--rose); }
.join__link b { display: block; font-size: 17px; font-weight: 800; }
.join__link span { font-size: 14px; line-height: 1.45; }
.join__arrow { font-size: 22px; flex: none; }

/* ---------- Подвал ---------- */
.footer { background: var(--white); border-top: 1px solid var(--pink); padding: 64px var(--pad-x); display: flex; flex-direction: column; gap: 28px; }
.footer__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__brand .logo { font-size: 28px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__legal { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--text-2); max-width: 900px; }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 50; max-width: 420px;
  background: var(--white); border-radius: 24px; border: 1px solid var(--pink);
  box-shadow: 0 18px 40px rgba(232,137,159,0.22); padding: 20px;
  display: none; flex-direction: column; gap: 14px;
}
.cookie.is-visible { display: flex; }
.cookie p { font-size: 14px; line-height: 1.5; }
.cookie .btn { min-height: 48px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .grid-4, .cert-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .daily { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .res-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .header { padding: 16px 20px; }
  .header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 24px; }
  .nav, .header > .btn { display: none; }
  .burger { display: flex; }
  .mobile-menu { inset: 80px 0 0; }

  .hero { grid-template-columns: 1fr; padding: 8px 20px 48px; gap: 20px;
    background:
      radial-gradient(ellipse 90% 50% at 80% 45%, var(--pink) 0%, rgba(249,228,234,0) 70%),
      radial-gradient(ellipse 80% 40% at 20% 70%, var(--mint) 0%, rgba(234,243,230,0) 70%),
      var(--white); }
  .hero__text { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero .h1 { order: 2; }
  .hero__media { order: 3; }
  .hero .lead { order: 4; }
  .hero .btn-row { order: 5; }
  .hero__roles { order: 6; }
  .hero .sprig { display: none; }
  .hero .btn-row .btn { flex: 1 1 auto; }

  .arch-wrap, .mhero .arch-wrap { height: 400px; margin: 0 12px; }
  .leader .arch-wrap { height: 380px; }
  .kg-badge { width: 112px; height: 112px; left: -12px; bottom: 40px; }
  .kg-badge__num { font-size: 40px; }
  .kg-badge__unit { font-size: 12px; }
  .kg-badge--right { left: auto; right: -12px; }

  .story, .mhero, .leader, .wait, .modal__box { grid-template-columns: 1fr; }
  .compare { height: 440px; }
  .steps { gap: 24px; }
  .step__title { font-size: 26px; }
  .grid-3, .grid-4, .mini-res, .res-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .cert-grid .cert-card__img { height: 220px; }
  .cert-card { width: 200px; }
  .cert-card__img { height: 270px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .area { padding: 28px; }
  .product { padding: 20px; }
  .mhero, .leader, .wait { gap: 40px; }
  .leader .arch-wrap { order: 2; }
  .modal__box { padding: 20px; gap: 20px; }
  .modal__body { padding-right: 0; }
  .modal__img { min-height: 0; }
  .footer { padding: 48px 20px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }

  /* Горизонтальные ленты на мобильном */
  .scroll-x-m {
    display: flex; overflow-x: auto; gap: 12px; scrollbar-width: none;
    margin: 0 -20px; padding: 0 20px 8px; scroll-snap-type: x mandatory;
  }
  .scroll-x-m::-webkit-scrollbar { display: none; }
  .scroll-x-m > * { flex: none; width: 280px; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arch img, .btn, .cert-card__img, .join__link { transition: none; }
}

/* ---------- Юридические страницы ---------- */
.legal-doc { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; margin-top: 20px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.legal-doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc__date { font-size: 14px; color: var(--text-2); }
.legal-doc code { font-size: 14px; background: var(--mint); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.legal-table { border: 1px solid var(--pink); border-radius: 20px; overflow: hidden; }
.legal-table__row { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 16px; padding: 14px 18px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.legal-table__row + .legal-table__row { border-top: 1px solid var(--pink); }
.legal-table__row--head { background: var(--pink); font-weight: 700; color: var(--text); }
@media (max-width: 900px) { .legal-table__row { grid-template-columns: 1fr; gap: 4px; } .legal-table__row--head { display: none; } }
