/* ============================================================
   Welkoma - лендинг. Палитра «вечерняя цветочная витрина»:
   еловый тёмно-зелёный, тёплый фарфор, пионовый акцент.
   ============================================================ */

:root {
  --spruce: #0e2921;        /* тёмно-еловый фон */
  --spruce-2: #16362c;      /* карточки на тёмном */
  --ink: #12271f;           /* основной текст */
  --muted: #5d6b62;         /* вторичный текст */
  --porcelain: #f6f4ef;     /* тёплый светлый фон */
  --white: #ffffff;
  --peony: #d6486b;         /* пионовый акцент, CTA */
  --peony-deep: #b63353;
  --peony-soft: #fbe7ee;
  --leaf: #2e7d5b;          /* лист, success */
  --leaf-soft: #e3efe7;
  --gold: #c9a227;
  --line: #e4e0d6;
  --line-dark: #24473b;

  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-body: "Golos Text", "Segoe UI", system-ui, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(14, 41, 33, 0.10);
  --shadow-lg: 0 30px 80px rgba(14, 41, 33, 0.22);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--peony); color: var(--white); }

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

/* ---------- Типографика ---------- */

h1, h2, h3 { font-weight: 400; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}
h1 em { font-style: italic; color: #ef7d9c; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  max-width: 21em;
  margin-bottom: 0.6em;
}

h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light { color: #8fc7ab; }

.section__lead {
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #e0587a, var(--peony-deep));
  color: var(--white);
  box-shadow: 0 6px 22px rgba(214, 72, 107, 0.4);
}
.btn--primary:hover { box-shadow: 0 10px 28px rgba(214, 72, 107, 0.5); }

.btn--ghost {
  background: transparent;
  color: var(--porcelain);
  border: 1.5px solid rgba(246, 244, 239, 0.45);
}
.btn--ghost:hover { border-color: var(--porcelain); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 18px 44px; font-size: 1.1rem; }
.btn--wide { width: 100%; }

/* ---------- Навигация ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 41, 33, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--porcelain);
  color: var(--spruce);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.nav__word {
  color: var(--porcelain);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav__links { display: flex; gap: 20px; }
.nav__links a {
  color: rgba(246, 244, 239, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav__links a:hover { color: var(--porcelain); }

/* --- Переключатель языка --- */

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid rgba(246, 244, 239, 0.35);
  color: var(--porcelain);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 0.85rem var(--font-body);
  cursor: pointer;
}
.lang__btn:hover { border-color: var(--porcelain); }
.lang__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  list-style: none;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 160px;
  z-index: 60;
}
.lang__list button, .lang__list a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  border: none;
  border-radius: 9px;
  background: none;
  font: 500 0.92rem var(--font-body);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.lang__list button:hover, .lang__list a:hover { background: var(--porcelain); }
.lang__list button.is-active, .lang__list a.is-active { color: var(--peony-deep); font-weight: 700; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(46, 125, 91, 0.4), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(214, 72, 107, 0.15), transparent 65%),
    var(--spruce);
  color: var(--porcelain);
  overflow: hidden;
}
.hero__flora {
  position: absolute;
  right: -30px;
  top: 10px;
  width: 430px;
  height: auto;
  color: rgba(143, 199, 171, 0.18);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero__sub {
  margin-top: 22px;
  max-width: 520px;
  color: rgba(246, 244, 239, 0.85);
  font-size: 1.1rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__trust {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 8px;
}
.hero__trust li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: rgba(246, 244, 239, 0.75);
}
.hero__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8fc7ab;
  font-weight: 700;
}

/* --- Телефон с ботом + плавающие карточки --- */

.hero__demo { position: relative; justify-self: center; text-align: center; }
.hero__demo-note {
  margin: 16px auto 0;
  max-width: 420px;
  font-size: 0.9rem;
  color: rgba(246, 244, 239, 0.65);
}

.demo-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fc7ab;
  margin-bottom: 10px;
}

.phone {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 600px;
  margin-left: auto;
  margin-right: auto;
  background: var(--porcelain);
  border-radius: 40px;
  border: 8px solid #071712;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}
/* ---- Mini App внутри телефона (шаблон реального приложения) ---- */

.phone--app {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff;
}

.ma-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #ececf0;
}
.ma-top__close, .ma-top__menu {
  color: #007aff;
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
}
.ma-top__title { flex: 1; text-align: center; line-height: 1.15; }
.ma-top__title b { display: block; font-size: 0.9rem; font-weight: 600; color: #1a1a1a; }
.ma-top__title small { font-size: 0.64rem; color: #8e8e93; }

.ma-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #fff;
  transition: opacity 0.4s ease;
}
.ma-body.is-reset { opacity: 0; }

.ma-screen {
  position: absolute;
  inset: 0;
  padding: 0 12px;
  background: #fff;
}
.ma-screen--sub {
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.3, 1);
  z-index: 3;
}
.ma-screen--sub.is-in { transform: translateX(0); }

.ma-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px 8px;
}
.ma-head > span:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.ma-head__search {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f2f2f7;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ma-chips { display: flex; gap: 6px; padding-bottom: 10px; overflow: hidden; }
.ma-chips span {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #1a1a1a;
  background: #f2f2f7;
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
.ma-chips .is-on { background: #007aff; color: #fff; }

.ma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 10px;
}
.ma-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.09);
}
.ma-card__img {
  position: relative;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
}
.ma-card__img--1 { background: linear-gradient(135deg, #f9dce8, #eef3e4); }
.ma-card__img--2 { background: linear-gradient(135deg, #fde8e0, #f0e6f5); }
.ma-card__img--3 { background: linear-gradient(135deg, #e5f0e2, #fdf3d9); }
.ma-card__img--4 { background: linear-gradient(135deg, #fbdad5, #f6e3ee); }
.ma-card__rate {
  position: absolute;
  top: 7px; left: 7px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 7px;
}
.ma-card__add {
  position: absolute;
  right: 7px; bottom: 7px;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: #007aff;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}
.ma-card__add.is-press { transform: scale(0.85); }
.ma-card__add.is-done { background: #34c759; font-size: 0.8rem; font-weight: 600; }
.ma-card__body { padding: 8px 10px 10px; }
.ma-card__body span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ma-card__body b { font-size: 0.8rem; font-weight: 600; color: #1a1a1a; }
.ma-card__body b u {
  text-decoration: none;
  font-weight: 400;
  font-size: 0.66rem;
  color: #8e8e93;
}
.ma-card { transition: transform 0.15s ease, box-shadow 0.2s ease; }
.ma-card.is-press { transform: scale(0.95); }
.ma-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Страница букета --- */

.ma-prod__photo {
  position: relative;
  height: 200px;
  margin: 0 -12px;
  overflow: hidden;
}
.ma-prod__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ma-prod__back {
  position: absolute;
  top: 10px; left: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #007aff;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ma-prod__rate {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
}
.ma-prod__body { padding: 12px 2px 0; }
.ma-prod__body > b { display: block; font-size: 1.02rem; font-weight: 700; color: #1a1a1a; }
.ma-prod__body > p { font-size: 0.74rem; color: #8e8e93; line-height: 1.4; margin-top: 3px; }

.ma-sizes { display: flex; gap: 6px; }
.ma-sizes span {
  min-width: 44px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f2f2f7;
  color: #1a1a1a;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.ma-sizes span.is-on { background: #007aff; color: #fff; }
.ma-sizes span.is-press { transform: scale(0.92); }
.ma-comp {
  margin-top: 10px;
  font-size: 0.7rem;
  color: #8e8e93;
  background: #f7f7fa;
  border-radius: 9px;
  padding: 7px 11px;
  display: inline-block;
}
.ma-prod__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 10px;
}

/* --- Пошаговый мастер чекаута --- */

.ma-stepbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 2px 8px;
}
.ma-stepbar > b { font-size: 0.8rem; font-weight: 700; color: #1a1a1a; }
.ma-dots { display: flex; gap: 5px; }
.ma-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e3e3e8;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ma-dots i.is-on { background: #007aff; transform: scale(1.25); }
.ma-dots i.is-done { background: #34c759; }

.ma-step { display: none; }
.ma-step.is-on { display: block; animation: maStepIn 0.3s ease both; }

@keyframes maStepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.ma-slots--dates { margin-bottom: 8px; }
.ma-slots--pay { margin-top: 12px; }

.ma-calc {
  display: none;
  align-items: center;
  gap: 3px;
  padding: 11px 2px;
  font-size: 0.72rem;
  color: #8e8e93;
}
.ma-calc.is-on { display: flex; }
.ma-calc i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #b5b0a6;
  animation: typingDot 1.15s ease-in-out infinite;
}
.ma-calc i:nth-child(2) { animation-delay: 0.15s; }
.ma-calc i:nth-child(3) { animation-delay: 0.3s; }
.ma-calc span { margin-left: 5px; }

.ma-field--result { display: none; }
.ma-field--result.is-on { display: flex; }

.ma-voice {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #007aff;
  background: #f2f2f7;
  border-radius: 10px;
  padding: 9px 14px;
  margin: 6px 0 4px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.ma-voice.is-press { transform: scale(0.94); }
.ma-voice.is-done { background: #e6f7eb; color: #34c759; }

.ma-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px;
  font-size: 0.74rem;
  color: #8e8e93;
}
.ma-total b { font-weight: 500; color: #1a1a1a; }
.ma-total--sum {
  border-top: 1px solid #f0f0f3;
  margin-top: 2px;
  font-weight: 700;
  color: #1a1a1a;
}
.ma-total--sum b { font-weight: 800; }

/* --- Пошаговые поля чекаута --- */

.ma-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 2px;
  border-bottom: 1px solid #f0f0f3;
  font-size: 0.74rem;
}
.ma-field > span { flex-shrink: 0; color: #8e8e93; }
.ma-field > b {
  flex: 1;
  text-align: right;
  font-weight: 500;
  color: #1a1a1a;
  min-height: 1.05em;
  white-space: nowrap;
  overflow: hidden;
}
.ma-field > u {
  flex-shrink: 0;
  width: 14px;
  text-decoration: none;
  color: #34c759;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.ma-field.is-ok > u { opacity: 1; transform: scale(1); }
.ma-field--slots { flex-wrap: wrap; }
.ma-field--slots .ma-slots { flex: 1; justify-content: flex-end; }
.ma-order__pic { overflow: hidden; }
.ma-order__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ma-sub__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 2px 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
}
.ma-sub__head i { font-style: normal; color: #007aff; font-size: 1.35rem; line-height: 1; }

.ma-order {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f7fa;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  color: #1a1a1a;
}
.ma-order__pic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f9dce8, #eef3e4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.ma-order__name { flex: 1; font-weight: 500; }
.ma-order b { font-weight: 600; }

.ma-label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8e8e93;
  margin: 12px 2px 6px;
}
.ma-slots { display: flex; gap: 6px; }
.ma-slots span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 10px;
  background: #f2f2f7;
  color: #1a1a1a;
}
.ma-slots .is-on { background: #007aff; color: #fff; }
.ma-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid #f0f0f3;
  font-size: 0.75rem;
}
.ma-row span { color: #8e8e93; }
.ma-row b { font-weight: 500; color: #1a1a1a; text-align: right; }

.ma-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0 22px;
  z-index: 4;
}
.ma-success__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.ma-success.is-in .ma-success__check {
  animation: maPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.ma-success b { font-size: 0.95rem; color: #1a1a1a; }
.ma-success__row { font-size: 0.75rem; color: #8e8e93; }
.ma-success__row--bonus { color: #2e7d5b; font-weight: 600; }

@keyframes maPop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ma-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -14px);
  background: rgba(20, 20, 24, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 6;
}
.ma-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* Главная кнопка Telegram (MainButton) */
.ma-main {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  background: #007aff;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px 10px;
  transform: translateY(110%);
  transition: transform 0.3s ease, filter 0.15s ease;
}
.ma-main.is-in { transform: translateY(0); }
.ma-main.is-press { filter: brightness(0.85); }

.ma-tabs {
  display: flex;
  background: #fff;
  border-top: 1px solid #ececf0;
  padding: 7px 2px 11px;
}
.ma-tabs > span {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8e8e93;
}
.ma-tabs > span.is-on { color: #007aff; }
.ma-tabs small { font-size: 0.55rem; font-weight: 500; }
.ma-tabs__cart i {
  position: absolute;
  top: -3px;
  right: 50%;
  margin-right: -17px;
  min-width: 15px; height: 15px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.ma-tabs__cart i.is-in { transform: scale(1); }

/* ---- Переключатель вариантов демо ---- */

.demo-tabs {
  display: inline-flex;
  gap: 4px;
  background: rgba(246, 244, 239, 0.12);
  border: 1px solid rgba(246, 244, 239, 0.25);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 18px;
}
.demo-tabs button {
  border: none;
  background: transparent;
  color: rgba(246, 244, 239, 0.75);
  font: 600 0.82rem var(--font-body);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.demo-tabs button.is-on {
  background: var(--porcelain);
  color: var(--spruce);
}

.tg-app, .web-app {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.tg-app[hidden], .web-app[hidden] { display: none; }

/* ---- Вариант «сайт»: мобильный веб в дизайне my-angel.cz ---- */

.web-app {
  --wb-accent: #a599c9;       /* фирменный лавандовый my-angel */
  --wb-accent-soft: #f1eef8;
  --wb-ink: #212529;
  --wb-hint: #8e8e93;
  background: #fff;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--wb-ink);
}
.wb-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f2f2f4;
  color: #6b6b70;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 9px 12px;
  border-bottom: 1px solid #e7e7ea;
}
.wb-bar em { font-style: normal; position: absolute; right: 22px; color: #9a9aa0; }
.wb-bar { position: relative; }

.wb-body {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #fff;
  transition: opacity 0.4s ease;
}
.wb-body.is-reset { opacity: 0; }

.wb-screen { position: absolute; inset: 0; background: #fff; padding: 0 14px; }
.wb-screen--sub {
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.3, 1);
  z-index: 3;
}
.wb-screen--sub.is-in { transform: translateX(0); }

.wb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}
.wb-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.wb-icons { display: inline-flex; align-items: center; gap: 14px; color: var(--wb-ink); }
.wb-cart { position: relative; display: inline-flex; }
.wb-cart i {
  position: absolute;
  top: -6px; right: -8px;
  min-width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--wb-accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.wb-cart i.is-in { transform: scale(1); }

.wb-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 6px 0 10px;
}
.wb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wb-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.wb-card.is-press { transform: scale(0.96); }
.wb-card img { width: 100%; height: 104px; object-fit: cover; display: block; }
.wb-card span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 7px 9px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-card b { display: block; font-size: 0.76rem; font-weight: 700; padding: 0 9px 9px; }
.wb-card b u, .wb-item b u {
  text-decoration: none;
  font-weight: 400;
  font-size: 0.64rem;
  color: var(--wb-hint);
}

.wb-backlink {
  padding: 10px 0 8px;
  font-size: 0.78rem;
  color: var(--wb-accent);
  font-weight: 500;
}
.wb-photo { position: relative; margin: 0 -14px; height: 185px; overflow: hidden; }
.wb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-dots {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 5px;
}
.wb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); }
.wb-dots i.is-on { background: #fff; }

.wb-name { display: block; font-size: 1rem; font-weight: 700; margin-top: 10px; }
.wb-hint { font-size: 0.68rem; color: var(--wb-accent); font-weight: 500; }
.wb-price { font-size: 1.3rem; font-weight: 800; margin-top: 6px; }
.wb-bonus {
  margin-top: 8px;
  background: var(--wb-accent-soft);
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 0.7rem;
  color: #5c5470;
}
.wb-bonus b { color: var(--wb-ink); font-weight: 700; }
.wb-size-label { font-size: 0.8rem; font-weight: 700; margin: 12px 0 7px; }
.wb-radios { display: flex; gap: 16px; }
.wb-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.15s ease;
}
.wb-radios label.is-press { transform: scale(0.94); }
.wb-radios i {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid #b9b9c0;
  position: relative;
  transition: border-color 0.2s ease;
}
.wb-radios label.is-on i { border-color: var(--wb-accent); }
.wb-radios label.is-on i::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--wb-accent);
}
.wb-comp {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--wb-hint);
  background: #f7f7fa;
  border-radius: 9px;
  padding: 7px 11px;
  display: inline-block;
}

.wb-title--sm { font-size: 0.95rem; padding: 0 0 8px; }

.wb-input {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px 34px 5px 11px;
  margin-bottom: 6px;
  transition: border-color 0.25s ease;
}
.wb-input.is-ok { border-color: var(--wb-accent); }
.wb-input small {
  display: block;
  font-size: 0.62rem;
  color: var(--wb-hint);
}
.wb-input b {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  min-height: 1.1em;
  white-space: nowrap;
  overflow: hidden;
}
.wb-input u {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%) scale(0.4);
  text-decoration: none;
  color: #34c759;
  font-weight: 700;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.wb-input.is-ok u { opacity: 1; transform: translateY(-50%) scale(1); }

.wb-slots { display: flex; gap: 6px; }
.wb-slots--dates { margin-bottom: 6px; }
.wb-slots span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  background: #f2f2f4;
  color: var(--wb-ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.wb-slots span.is-on { background: var(--wb-accent); color: #fff; }
.wb-slots span.is-press { transform: scale(0.94); }

.wb-totals {
  margin-top: 8px;
  border-top: 1px solid #f0f0f3;
}
.wb-totals .ma-total { padding: 5px 2px; }
#wbCheckout .wb-backlink { padding: 8px 0 5px; }
#wbCheckout .wb-size-label { margin: 8px 0 6px; }
#wbCheckout .wb-btn { margin-top: 8px; padding: 11px 16px; }

.wb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f7fa;
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 8px;
  font-size: 0.74rem;
}
.wb-item img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.wb-item > span { flex: 1; font-weight: 500; }
.wb-item > b { font-weight: 700; }

.wb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--wb-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9px;
  padding: 13px 16px;
  margin-top: 12px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.wb-btn.is-press { transform: scale(0.97); filter: brightness(0.9); }

.wb-sticky {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid #ececef;
  background: #fff;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.wb-sticky.is-in { transform: translateY(0); }
.wb-sticky b { font-size: 0.95rem; font-weight: 800; }
.wb-sticky .wb-btn { margin-top: 0; flex: 0 0 auto; padding: 11px 22px; }

.wb-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0 22px;
  z-index: 4;
}
.wb-check {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--wb-accent);
  color: #fff;
  font-size: 1.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.wb-success.is-in .wb-check {
  animation: maPop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.wb-success > b { font-size: 0.92rem; }
.wb-success__row { font-size: 0.74rem; color: var(--wb-hint); }
.wb-success__row--bonus { color: #2e7d5b; font-weight: 600; }

/* ---------- Лента модулей ---------- */

.modband {
  background: linear-gradient(100deg, var(--peony-deep), var(--peony) 55%, #e0587a);
  color: var(--white);
  padding: 20px 0;
}
.modband__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.modband__label {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.modband__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modband__list li {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

/* ---------- Секции ---------- */

.section { padding: 96px 0; }
.section--porcelain { background: var(--porcelain); }
.section--dark {
  background: var(--spruce);
  color: var(--porcelain);
}
.section--dark .section__lead { color: rgba(246, 244, 239, 0.75); }
.section--analytics {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(46, 125, 91, 0.35), transparent 60%),
    var(--spruce);
}
.section--final {
  text-align: center;
  padding: 110px 0;
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(214, 72, 107, 0.14), transparent 70%),
    var(--white);
}
.section--final h2 { margin-left: auto; margin-right: auto; }
.section--final .section__lead { margin-left: auto; margin-right: auto; }

/* ---------- Проблема: два пути ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
  position: relative;
}
.split__vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--peony-deep);
}
.split__col {
  border-radius: var(--radius-lg);
  padding: 36px;
}
.split__col--pain {
  background: var(--white);
  border: 1px solid var(--line);
}
.split__col--gain {
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(46, 125, 91, 0.45), transparent 70%),
    var(--spruce);
  color: var(--porcelain);
}
.split__col h3 { margin-bottom: 20px; font-size: 1.25rem; }
.split__note {
  margin: 20px 0 24px;
  font-size: 0.92rem;
  color: var(--muted);
}
.split__col--gain .split__note { color: rgba(246, 244, 239, 0.7); }

.pain-list, .gain-list { list-style: none; display: grid; gap: 12px; }
.pain-list li, .gain-list li { position: relative; padding-left: 30px; }
.pain-list li::before {
  content: "✕";
  position: absolute; left: 0;
  color: #c0554f;
  font-weight: 700;
}
.gain-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #8fc7ab;
  font-weight: 700;
}

/* ---------- Возможности ---------- */

.grid--features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--peony), var(--leaf));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--leaf-soft), var(--white));
  border: 1px solid var(--line);
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { font-size: 0.9rem; color: var(--muted); }

.card--dark {
  background:
    radial-gradient(240px 180px at 100% 0%, rgba(46, 125, 91, 0.5), transparent 70%),
    var(--spruce);
  border-color: var(--spruce);
  color: var(--porcelain);
}
.card--dark p { color: rgba(246, 244, 239, 0.75); }
.card--dark .card__icon {
  background: var(--spruce-2);
  border-color: var(--line-dark);
}

.strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.strip {
  padding: 22px 26px;
  border-radius: var(--radius);
  font-size: 0.97rem;
}
.strip--flowers { background: var(--peony-soft); }
.strip--langs { background: var(--leaf-soft); }

/* ---------- Аналитика ---------- */

.an-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}
.an-head .section__lead { margin-bottom: 0; }
.an-soon {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1.5px dashed rgba(214, 72, 107, 0.55);
  background: rgba(214, 72, 107, 0.13);
  border-radius: 12px;
  font-size: 0.92rem;
  color: rgba(246, 244, 239, 0.9);
}
.an-soon b { color: #ef7d9c; }

/* --- Макет дашборда --- */

.dash {
  background: var(--porcelain);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding-bottom: 16px;
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
}
.dash:hover { transform: rotate(0deg); }
.dash__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; }
.dash__bar i:nth-child(1) { background: #e8695a; }
.dash__bar i:nth-child(2) { background: #e8c35a; }
.dash__bar i:nth-child(3) { background: #7cc08b; }
.dash__title {
  margin-left: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 16px 4px;
}
.dash__kpi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
}
.dash__kpi small { display: block; color: var(--muted); font-size: 0.7rem; line-height: 1.3; }
.dash__kpi strong { font-size: 1.08rem; font-weight: 800; }
.dash__kpi em { font-style: normal; color: var(--leaf); font-size: 0.72rem; font-weight: 700; margin-left: 5px; }
.dash__row {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 10px;
  padding: 10px 16px 0;
}
.dash__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.dash__panel > small { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.dash__bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 108px;
  margin-top: 10px;
}
.dash__bars span {
  flex: 1;
  height: var(--h);
  min-height: 8px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3f9a72, var(--leaf));
  transform-origin: bottom;
}
.dash.is-visible .dash__bars span { animation: grow 0.7s ease both; }
.dash__bars span:nth-child(2) { animation-delay: 0.07s; }
.dash__bars span:nth-child(3) { animation-delay: 0.14s; }
.dash__bars span:nth-child(4) { animation-delay: 0.21s; }
.dash__bars span:nth-child(5) { animation-delay: 0.28s; }
.dash__bars span:nth-child(6) { animation-delay: 0.35s; background: linear-gradient(180deg, #e0587a, var(--peony-deep)); }
.dash__bars span:nth-child(7) { animation-delay: 0.42s; }

@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.dash__days { display: flex; gap: 8px; margin-top: 6px; }
.dash__days b { flex: 1; text-align: center; font-size: 0.62rem; font-weight: 500; color: var(--muted); }

.dash__stack {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}
.dash__stack span:nth-child(1) { background: var(--leaf); }
.dash__stack span:nth-child(2) { background: var(--peony); }
.dash__stack span:nth-child(3) { background: var(--gold); }
.dash__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--muted);
}
.dash__legend b { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.dash__legend i { width: 8px; height: 8px; border-radius: 50%; }
.dash__legend .l1 { background: var(--leaf); }
.dash__legend .l2 { background: var(--peony); }
.dash__legend .l3 { background: var(--gold); }

.dash__topLabel { display: block; margin-top: 14px; }
.dash__top b {
  display: grid;
  grid-template-columns: minmax(90px, auto) 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 8px;
}
.dash__top i {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--leaf-soft);
  overflow: hidden;
}
.dash__top i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  background: var(--leaf);
  border-radius: 999px;
}
.dash__top u { text-decoration: none; color: var(--muted); font-weight: 600; }

.an-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.an-item {
  background: var(--spruce-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.an-item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.an-item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--peony);
}
.an-item p { font-size: 0.9rem; color: rgba(246, 244, 239, 0.72); }

/* ---------- Сотрудничество с блогерами ---------- */

.bl {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 52px;
}
.bl .section__lead { margin-bottom: 24px; }
.bl__proof {
  border-left: 3px solid var(--leaf);
  background: var(--leaf-soft);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.bl__badge {
  display: inline-block;
  background: var(--spruce);
  color: var(--porcelain);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 999px;
}

.coupon {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.coupon:hover { transform: rotate(0deg); }
.coupon__main {
  position: relative;
  padding: 30px 28px;
  border-right: 2px dashed var(--line);
}
.coupon__main::before,
.coupon__main::after {
  content: "";
  position: absolute;
  right: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--porcelain);
  border: 1px solid var(--line);
}
.coupon__main::before { top: -14px; }
.coupon__main::after { bottom: -14px; }
.coupon__main small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.coupon__main strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: 0.06em;
  margin: 6px 0 4px;
}
.coupon__main > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--leaf);
}
.coupon__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, #e0587a, var(--peony-deep));
  color: var(--white);
}
.coupon__side strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 6px;
}
.coupon__side span { font-size: 0.8rem; opacity: 0.92; line-height: 1.4; }

.bl__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.bl__stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
}
.bl__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--peony-deep);
  margin-bottom: 4px;
}
.bl__stats span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

.bl__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bl__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.bl__item h3 {
  position: relative;
  font-size: 1rem;
  margin-bottom: 8px;
  padding-left: 16px;
}
.bl__item h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}
.bl__item p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Шаги ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 14%;
  right: 14%;
  border-top: 2px dashed #cfc9bb;
}
.steps__item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--porcelain);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 5px var(--leaf-soft);
}
.steps__item h3 { margin-bottom: 10px; }
.steps__item p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Кейс ---------- */

.case {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 12px;
}
.case__story p { margin-bottom: 18px; color: rgba(246, 244, 239, 0.85); }
.case__story a { color: #8fc7ab; }
.case__facts {
  list-style: none;
  display: grid;
  gap: 16px;
}
.case__facts li {
  background: var(--spruce-2);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--leaf);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.case__facts strong { display: block; font-size: 1.05rem; }
.case__facts span { font-size: 0.88rem; color: rgba(246, 244, 239, 0.65); }

/* ---------- Калькулятор ---------- */

.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc__options {
  padding: 28px;
  background: var(--white);
  display: grid;
  gap: 6px;
  align-content: start;
}
.calc__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.calc__row:hover { background: var(--porcelain); }
.calc__row input {
  width: 18px; height: 18px;
  accent-color: var(--leaf);
  flex-shrink: 0;
}
.calc__row span { flex: 1; }
.calc__row b { font-weight: 600; color: var(--muted); font-size: 0.92rem; }
.calc__row u { text-decoration: none; }

.calc__result {
  background:
    radial-gradient(400px 300px at 100% 100%, rgba(46, 125, 91, 0.4), transparent 70%),
    var(--spruce);
  color: var(--porcelain);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.calc__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
}
.calc__line strong { font-size: 1.5rem; font-family: var(--font-display); }
.calc__line--vd { color: #8fc7ab; }
.calc__saving {
  margin: 6px 0 12px;
  padding: 12px 16px;
  background: rgba(214, 72, 107, 0.16);
  border: 1px solid rgba(214, 72, 107, 0.4);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.calc__disclaimer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Тарифы ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 2px solid var(--peony);
  box-shadow: 0 24px 60px rgba(214, 72, 107, 0.2);
  transform: translateY(-8px);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(135deg, #e0587a, var(--peony-deep));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
}
.plan h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.plan__price {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 8px 0 2px;
  color: var(--peony-deep);
}
.plan__mo { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.plan__for { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
  align-content: start;
}
.plan ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
}
.plan ul li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--leaf);
  font-weight: 700;
}
.plans__guarantees {
  list-style: none;
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Формы лидов ---------- */

.lead-form { max-width: 640px; }
.lead-form__row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.lead-form input,
.lead-form select,
.magnet__form input,
.modal input {
  flex: 1;
  min-width: 0;
  font: inherit;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--white);
  color: var(--ink);
}
.lead-form input:focus,
.lead-form select:focus,
.magnet__form input:focus,
.modal input:focus {
  outline: none;
  border-color: var(--peony);
}
.lead-form__note {
  font-size: 0.8rem;
  color: rgba(246, 244, 239, 0.55);
  margin-top: 10px;
}
.lead-form__ok {
  margin-top: 12px;
  font-weight: 600;
  color: var(--leaf);
}
.section--dark .lead-form__ok { color: #8fc7ab; }

/* ---------- Лид-магнит ---------- */

.magnet {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.magnet__copy p { color: var(--muted); }
.magnet__form { display: grid; gap: 12px; }
.magnet__form input { border-color: var(--line); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--leaf); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--leaf);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Футер ---------- */

.footer {
  background: var(--spruce);
  color: rgba(246, 244, 239, 0.75);
  padding: 48px 0;
  font-size: 0.92rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 60px;
  align-items: start;
}
.footer__inner p { margin-top: 12px; }
.footer__links {
  display: grid;
  gap: 8px;
}
.footer__links a { color: rgba(246, 244, 239, 0.75); text-decoration: none; }
.footer__links a:hover { color: var(--porcelain); }
.footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(246, 244, 239, 0.45);
}

/* ---------- Липкая CTA (мобайл) ---------- */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(14, 41, 33, 0.96);
  color: var(--porcelain);
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* ---------- Модал exit-intent ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 23, 18, 0.6);
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__box {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.modal__box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
}
.modal__box p { color: var(--muted); margin-bottom: 20px; }
.modal form { display: grid; gap: 12px; }
.modal input { border-color: var(--line); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--porcelain);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}
.modal__close:hover { background: var(--line); }

/* ---------- Появление при скролле ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.dash.reveal.is-visible { transform: rotate(-1.2deg); }
.dash.reveal.is-visible:hover { transform: rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ma-screen--sub, .ma-main, .ma-toast, .ma-tabs__cart i { transition: none; }
  .ma-success.is-in .ma-success__check { animation: none; }
  .wb-screen--sub, .wb-sticky, .wb-cart i { transition: none; }
  .wb-success.is-in .wb-check { animation: none; }
  .btn, .card { transition: none; }
  .dash, .dash.reveal.is-visible { transform: none; }
  .dash.is-visible .dash__bars span { animation: none; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1020px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .bl { grid-template-columns: 1fr; gap: 40px; }
  .bl__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; justify-items: center; }
  .hero__copy { text-align: center; }
  .hero__copy .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__trust { justify-items: start; width: fit-content; margin-left: auto; margin-right: auto; }
  .hero__demo { justify-self: center; margin-left: 0; }
  .hero__flora { display: none; }
  .case { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .an-head { grid-template-columns: 1fr; gap: 40px; }
  .an-grid { grid-template-columns: repeat(2, 1fr); }
  .strips { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .hero__demo { margin-left: 0; justify-self: center; }
  .split, .steps, .plans, .calc, .magnet, .an-grid, .bl__grid, .bl__stats { grid-template-columns: 1fr; }
  .split__vs { display: none; }
  .steps::before { display: none; }
  .plan--featured { order: -1; transform: none; }
  .lead-form__row { flex-direction: column; }
  .modband__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .modband__label { border-right: none; padding-right: 0; }
  .phone { width: 290px; height: 560px; }
  .dash__row { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .sticky-cta[hidden] { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
}
