/* Friends in Science — стили сайта. Палитра — как во Framer-версии. */

:root {
  --bg: #f7f3fd;
  --bg-soft: #eee7fa;
  --ink: #2a1652;
  --muted: #5d5078;
  --primary: #7c4dd6;
  --primary-2: #8b5cd6;
  --primary-deep: #5b34b0;
  --dark: #2f1c5c;
  --line: rgba(42, 22, 82, .1);
  --line-2: rgba(42, 22, 82, .16);

  --lime: #ddf1bc;
  --lime-strong: #78ae2e;
  --lime-ink: #9ed64a;
  --pink: #f4ddf6;
  --pink-strong: #b06fc4;
  --blue: #dfe0fc;
  --blue-strong: #6c63d9;
  --lavender: #ece2fd;
  --lavender-strong: #9a83d4;

  --radius: 24px;
  --shadow: 0 24px 60px -24px rgba(42, 22, 82, .28);
  --shadow-s: 0 10px 30px -14px rgba(42, 22, 82, .25);

  --wrap: 1240px;
  --gutter: 30px;
  --section: 120px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Lobster: в отличие от Pacifico, строчные «т» и «ч» читаются как кириллица, а не «m» и «r» */
  --hand: "Lobster", "Montserrat", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
main { display: block; overflow: clip; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); }
.section--lime { background: var(--lime); }
.section--pink { background: var(--pink); }
.section--lavender { background: var(--lavender); }
.center { text-align: center; }

/* ---------- Типографика ---------- */
.h1, .h2 { color: var(--ink); letter-spacing: -.035em; }
.h1 { font-size: clamp(44px, 6.1vw, 80px); line-height: 1.04; font-weight: 800; }
.h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.1; font-weight: 700; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 560px; }
.center .lead { margin-left: auto; margin-right: auto; }

.accent {
  position: relative;
  display: inline-block;
  font-family: var(--hand);
  font-weight: 400;
  font-size: 1.08em;
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--primary);
  padding: 0 .14em .16em .02em;
  transform: rotate(-3deg);
  white-space: nowrap;
}
.accent .ink { display: inline-block; position: relative; z-index: 1; }
.accent .ul {
  position: absolute; left: -.08em; bottom: -.04em;
  width: calc(100% + .16em); height: .34em; max-width: none;
  z-index: 0; pointer-events: none;
}
.accent .sp {
  position: absolute; right: -.34em; top: .02em;
  width: .42em; height: .44em; pointer-events: none;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--pink); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1.3;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  --b-bg: var(--primary-2); --b-fg: #fff; --b-edge: var(--primary-deep); --b-border: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px;
  border-radius: 999px; border: 1.5px solid var(--b-border);
  background: var(--b-bg); color: var(--b-fg);
  font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 5px 0 var(--b-edge);
  transition: transform .35s var(--spring), box-shadow .35s var(--spring), background-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--b-edge); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--b-edge); transition-duration: .1s; }
.btn--dark { --b-bg: var(--dark); --b-edge: var(--primary-2); }
.btn--ghost { --b-bg: var(--bg); --b-fg: var(--ink); --b-edge: var(--ink); --b-border: var(--ink); }
.btn--ghost::after { background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 214, .16), transparent 70%); }
.btn--lime { --b-bg: var(--lime); --b-fg: var(--ink); --b-edge: var(--lime-strong); --b-border: var(--lime-strong); }
.btn--sink { --b-edge: #170c33; }
.btn img { width: 22px; height: 22px; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .btns { justify-content: center; }

/* Плитка-иконка с цветной «тенью» */
.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--t-bg, var(--blue)); border: 1.5px solid var(--t-edge, var(--blue-strong));
  box-shadow: 3px 4px 0 var(--t-edge, var(--blue-strong));
  color: var(--ink); font-size: 15px; font-weight: 500;
}
.tile img { width: 62%; height: 62%; object-fit: contain; }
.p-lime { --t-bg: var(--lime); --t-edge: var(--lime-strong); --c-bg: var(--lime); --c-edge: var(--lime-strong); }
.p-pink { --t-bg: var(--pink); --t-edge: var(--pink-strong); --c-bg: var(--pink); --c-edge: var(--pink-strong); }
.p-blue { --t-bg: var(--blue); --t-edge: var(--blue-strong); --c-bg: var(--blue); --c-edge: var(--blue-strong); }
.p-lavender { --t-bg: var(--lavender); --t-edge: var(--lavender-strong); --c-bg: var(--lavender); --c-edge: var(--lavender-strong); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .4s var(--ease-out); }
.header.is-scrolled { background: rgba(247, 243, 253, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__in { height: 74px; }
.header.is-hidden { transform: translateY(-100%); }
.menu-open .header { transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { display: block; flex: none; position: relative; z-index: 2; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 36px; }
.nav a { position: relative; font-size: 16px; font-weight: 500; color: var(--ink); padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--primary); }
.header .btn { min-height: 46px; padding: 11px 24px; font-size: 15px; }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark); box-shadow: 0 4px 0 var(--primary-2);
  place-items: center; position: relative; z-index: 2;
  transition: transform .3s var(--spring);
}
.burger:active { transform: translateY(2px); }
.burger span { position: absolute; left: 14px; right: 14px; top: 23px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--ease-out); }
.burger span:nth-child(1) { transform: translateY(-5px); }
.burger span:nth-child(2) { transform: translateY(5px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--bg);
  padding: 110px var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 32px;
  clip-path: circle(0 at calc(100% - 46px) 40px);
  transition: clip-path .7s var(--ease-out), visibility 0s .7s;
  visibility: hidden; overflow-y: auto;
}
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; transition: clip-path .7s var(--ease-out); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 30px; font-weight: 700; letter-spacing: -.03em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.mmenu nav a.is-active { color: var(--primary); }
.mmenu nav a::after { content: "→"; font-size: 22px; color: var(--primary); }
.menu-open .mmenu nav a { opacity: 1; transform: none; }
.menu-open .mmenu nav a:nth-child(1) { transition-delay: .12s; }
.menu-open .mmenu nav a:nth-child(2) { transition-delay: .17s; }
.menu-open .mmenu nav a:nth-child(3) { transition-delay: .22s; }
.menu-open .mmenu nav a:nth-child(4) { transition-delay: .27s; }
.menu-open .mmenu nav a:nth-child(5) { transition-delay: .32s; }
.mmenu__foot { display: grid; gap: 14px; opacity: 0; transition: opacity .5s .35s; }
.menu-open .mmenu__foot { opacity: 1; }
.mmenu__foot p { color: var(--muted); font-size: 15px; }
.mmenu__foot p a { color: var(--primary); font-weight: 600; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Переход между страницами ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  display: grid; place-items: center;
  background: var(--dark);
  transform: translateY(101%);
}
.curtain img { width: 140px; opacity: 0; transform: translateY(14px) scale(.94); }
html.js .curtain { transform: translateY(0); }
html.js.is-ready .curtain { transform: translateY(-101%); transition: transform .85s cubic-bezier(.76, 0, .24, 1) .05s; }
html.js.is-leaving .curtain { transform: translateY(0); transition: transform .55s cubic-bezier(.76, 0, .24, 1); pointer-events: auto; }
html.js.is-leaving .curtain img { opacity: 1; transform: none; transition: opacity .3s .25s, transform .5s var(--ease-out) .2s; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--primary), var(--lime-ink)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- Появление при прокрутке ---------- */
/* Появление двигает элемент через translate/scale, а наведение — через transform, чтобы они не мешали друг другу */
html.js [data-reveal] {
  opacity: 0; translate: 0 42px;
  transition-property: opacity, translate, scale, transform, box-shadow, rotate;
  transition-duration: 1s, 1.1s, 1.1s, .5s, .5s, .6s;
  transition-timing-function: var(--ease), var(--ease-out), var(--ease-out), var(--ease-out), var(--ease-out), var(--ease-out);
  transition-delay: var(--d, 0s), var(--d, 0s), var(--d, 0s), 0s, 0s, 0s;
}
html.js [data-reveal="left"] { translate: -56px 0; }
html.js [data-reveal="right"] { translate: 56px 0; }
html.js [data-reveal="scale"] { translate: none; scale: .9; }
html.js [data-reveal].in { opacity: 1; translate: none; scale: none; }
.pop { animation: pop 1.1s var(--spring) both; animation-delay: var(--d, .4s); }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.lenis.lenis-stopped { overflow: clip; }

html.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.45em); transition: opacity .8s var(--ease), filter .8s var(--ease), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
html.js [data-split].in .w { opacity: 1; filter: blur(0); transform: none; }
html.js .accent .ink { clip-path: inset(-40% 100% -40% -10%); transition: clip-path 1.1s cubic-bezier(.65, .05, .36, 1); transition-delay: var(--ad, .3s); }
html.js .accent .ul { clip-path: inset(-10% 100% -10% 0); transition: clip-path .9s cubic-bezier(.65, .05, .36, 1); transition-delay: calc(var(--ad, .3s) + .55s); }
html.js .accent .sp { opacity: 0; transform: scale(.2) rotate(-40deg); transform-origin: 0 100%; transition: opacity .3s, transform .7s var(--spring); transition-delay: calc(var(--ad, .3s) + .95s); }
html.js .in .accent .ink, html.js .accent.in .ink { clip-path: inset(-40% -10% -40% -10%); }
html.js .in .accent .ul, html.js .accent.in .ul { clip-path: inset(-10% -2% -10% 0); }
html.js .in .accent .sp, html.js .accent.in .sp { opacity: 1; transform: none; }

/* ---------- Облачный разделитель ---------- */
.clouds { position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: 110px; overflow: hidden; pointer-events: none; color: var(--bg-soft); }
.clouds svg { position: absolute; bottom: 0; left: 50%; width: 2400px; max-width: none; height: 130px; }
.clouds .back { opacity: .5; animation: drift 24s ease-in-out infinite alternate; }
.clouds .front { animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-52%); } to { transform: translateX(-48%); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; }
.hero .pill { margin-bottom: 22px; }
.hero h1 { max-width: 960px; margin: 0 auto; }
.hero .btns { margin-top: 34px; }
.stage { position: relative; height: 560px; margin-top: 46px; }
.ribbon { position: absolute; left: 50%; top: 50px; width: 1700px; max-width: none; height: 460px; transform: translateX(-50%); overflow: visible; }
.ribbon text { font-family: var(--font); font-size: 21px; font-weight: 600; fill: #fff; letter-spacing: .01em; }
.hcard { position: absolute; }
.hcard__in { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.hcard img { width: 100%; height: auto; }
.hcard--center { left: 50%; top: 0; width: 330px; margin-left: -165px; z-index: 3; }
.hcard--left { left: 0; top: 220px; width: 158px; z-index: 2; }
.hcard--right { right: 0; top: 70px; width: 160px; z-index: 2; }
.float { animation: float 7s ease-in-out infinite; }
.float--2 { animation-duration: 8.5s; animation-delay: -2s; }
.float--3 { animation-duration: 6s; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.tilt-l { rotate: -6deg; }
.tilt-c { rotate: -2deg; }
.tilt-r { rotate: 4deg; }
.deco { position: absolute; pointer-events: none; z-index: 2; height: auto; }
.deco--flower { left: 100px; top: 160px; width: 66px; }
.deco--clover { right: 150px; top: 30px; width: 60px; }
.wobble { animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { rotate: -10deg; scale: 1; } 50% { rotate: 10deg; scale: 1.08; } }
.star { position: absolute; width: 18px; height: 18px; color: var(--lime-strong); pointer-events: none; z-index: 2; animation: twinkle 3.2s ease-in-out infinite; }
.star svg { width: 100%; height: 100%; }
.star--purple { color: var(--primary-2); animation-delay: -1.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .6; } }

/* ---------- Заголовок секции ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.sec-head .lead { text-align: right; max-width: 430px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.sec-head--center .lead { text-align: center; }
.sec-head .pill { margin-bottom: 18px; }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--radius);
  background: var(--c-bg, var(--lavender));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.svc:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow); }
.svc .tile { width: 42px; height: 42px; background: rgba(255, 255, 255, .55); }
.svc h3 { margin-top: 4px; font-size: 21px; line-height: 1.22; font-weight: 600; letter-spacing: -.02em; }
.svc p { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc__img { margin-top: auto; border-radius: 14px; overflow: hidden; aspect-ratio: 8 / 5; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.06); }

/* Большие карточки на странице «Услуги» */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-big {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center;
  padding: 16px; border-radius: var(--radius); background: var(--c-bg, var(--lavender));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.svc-big:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-big__img { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / .9; background: #fff; }
.svc-big__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-big:hover .svc-big__img img { transform: scale(1.06); }
.svc-big__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 10px 8px 0; }
.svc-big__body .tile { background: rgba(255, 255, 255, .55); }
.svc-big__body h3 { margin-top: 14px; font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.svc-big__body p { color: var(--muted); font-size: 16px; }
.svc-big__price { font-weight: 700; font-size: 17px; color: var(--ink); }
.svc-big__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--ink); }
.svc-big__more i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; font-style: normal; transition: transform .4s var(--spring); }
.svc-big:hover .svc-big__more i { transform: translateX(5px); }
.svc-big.flip .svc-big__img { order: 2; }
.svc-big.flip .svc-big__body { padding: 8px 0 8px 10px; }

/* ---------- Миссия + статистика ---------- */
.mission { text-align: center; }
.mission h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.24; font-weight: 600; letter-spacing: -.03em; max-width: 780px; margin: 0 auto; }
.mission h3 em { font-style: normal; color: var(--primary); }
.mission .btn { margin-top: 30px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 90px; }
.stats__card { position: relative; z-index: 1; background: var(--dark); color: #f7f3fd; border-radius: var(--radius); padding: 36px 34px 34px; margin-left: 50px; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(247, 243, 253, .14); }
.stat:first-child { padding-top: 6px; }
.stat:nth-child(2) { flex-direction: row-reverse; }
.stat b { font-size: 46px; font-weight: 700; letter-spacing: -.035em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat > span { color: rgba(247, 243, 253, .82); font-size: 16px; }
.stats__note { display: flex; gap: 10px; margin-top: 32px; padding: 14px 22px; border-radius: 22px; background: rgba(0, 0, 0, .18); font-size: 15px; color: rgba(247, 243, 253, .9); }
.stats__note::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--primary-2); flex: none; }
.stats__img { max-width: 450px; margin-left: -40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); rotate: 3deg; }

/* ---------- Как это работает ---------- */
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.how__left .lead { margin-top: 20px; max-width: 420px; }
.how__img { margin-top: 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); max-width: 440px; }
.steps { display: grid; gap: 22px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px 30px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.steps .step:nth-child(odd) { rotate: 1.2deg; }
.steps .step:nth-child(even) { rotate: -1deg; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.step h3 small { font-size: 15px; font-weight: 500; font-style: italic; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.step p { color: var(--muted); font-size: 16px; margin-top: 8px; }
.step .tile { margin-top: 2px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 90px; padding: 32px 44px; border-radius: 22px; background: var(--pink); }
.feature { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; }
.feature img { width: 20px; height: 20px; margin-top: 2px; }
.feature h4 { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.feature p { grid-column: 2; color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- С чего начнём ---------- */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.choice:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.choice h3 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.choice p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: #fff; transition: transform .45s var(--spring), background-color .3s; flex: none; }
.arrow svg { width: 16px; height: 16px; }
.choice:hover .arrow { transform: rotate(-45deg) scale(1.1); background: var(--primary-2); }

/* ---------- Бот ---------- */
.bot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.bot__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); width: 100%; max-width: 460px; justify-self: center; }
.bot__img img { width: 100%; height: auto; }
.bot .lead { margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.chip { padding: 10px 18px; border-radius: 999px; background: var(--bg); font-size: 15px; color: var(--ink); transition: transform .4s var(--spring), background-color .3s; }
.chip:hover { transform: translateY(-3px) rotate(-2deg); background: #fff; }

/* ---------- Канал ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 940px; margin: 60px auto 50px; }
.post { display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .6s var(--ease-out), box-shadow .6s, rotate .6s var(--ease-out); }
.post img { width: 100%; height: auto; }
.post:nth-child(1) { rotate: -4deg; }
.post:nth-child(2) { margin-top: 20px; }
.post:nth-child(3) { rotate: 4deg; }
.post:hover { rotate: 0deg; transform: translateY(-14px) scale(1.03); box-shadow: 0 34px 70px -26px rgba(42, 22, 82, .45); }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: center; }
.price {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 26px 26px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; min-height: 50px; }
.price--hot h3 { padding-right: 130px; }
.price__val { margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.price__desc { color: var(--muted); margin-top: 14px; font-size: 16px; }
.price ul { display: grid; gap: 12px; margin: 26px 0 34px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.price li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 16px; }
.price li img { width: 16px; height: 16px; flex: none; }
.price .btn { margin-top: auto; }
.price .badge { position: absolute; top: 30px; right: 24px; padding: 7px 16px; border-radius: 999px; background: var(--primary-2); color: #fff; font-size: 15px; }
.price--hot { background: var(--dark); border-color: var(--dark); color: #fff; padding-top: 40px; padding-bottom: 32px; }
.price--hot h3, .price--hot .price__val { color: #fff; }
.price--hot .price__desc, .price--hot li { color: rgba(255, 255, 255, .85); }
.price--hot ul { border-top-color: rgba(255, 255, 255, .16); }
.other-prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.other-prices a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; transition: transform .4s var(--spring), border-color .3s; }
.other-prices a b { font-weight: 700; }
.other-prices a:hover { transform: translateY(-3px); border-color: var(--primary-2); }

.promise .lead { margin: 24px auto 32px; max-width: 540px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .4s; }
.faq__item.is-open { box-shadow: var(--shadow-s); }
.faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; text-align: left; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); border-radius: 20px; }
.faq__t {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue); border: 1.5px solid var(--blue-strong); box-shadow: 2px 3px 0 var(--blue-strong);
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .5s var(--spring);
}
.faq__t::before, .faq__t::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out); }
.faq__t::after { transform: rotate(90deg); }
.faq__q:hover .faq__t { transform: scale(1.08); }
.faq__item.is-open .faq__t { background: var(--lime); border-color: var(--lime-strong); box-shadow: 2px 3px 0 var(--lime-strong); transform: rotate(180deg); }
.faq__item.is-open .faq__t::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 80px 24px 24px; color: var(--muted); font-size: 16px; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease-out); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--bg-soft); padding: 170px 0 250px; text-align: center; }
.cta .btns { justify-content: center; }
.cta__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cta__in { position: relative; z-index: 2; }
.cta .pill { background: #fff; margin-bottom: 22px; box-shadow: 0 6px 18px -10px rgba(42, 22, 82, .3); }
.cta h2 { max-width: 700px; margin: 0 auto; }
.cta .lead { margin: 26px auto 34px; max-width: 470px; font-size: 16.5px; }
/* мягкие цветные пятна и точечная сетка на фоне */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: glow 14s ease-in-out infinite alternate; }
.glow--purple { width: 520px; height: 520px; left: -140px; top: -60px; background: radial-gradient(circle, #cdb6f7 0%, rgba(205, 182, 247, 0) 70%); }
.glow--lime { width: 460px; height: 460px; right: -120px; bottom: 40px; background: radial-gradient(circle, #d4f0a6 0%, rgba(212, 240, 166, 0) 70%); animation-delay: -5s; }
.glow--pink { width: 420px; height: 420px; left: 40%; top: 30%; background: radial-gradient(circle, #f6d3f2 0%, rgba(246, 211, 242, 0) 70%); opacity: .6; animation-delay: -9s; }
@keyframes glow { from { translate: 0 0; scale: 1; } to { translate: 40px -30px; scale: 1.15; } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(42, 22, 82, .16) 1.2px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 0%, transparent 75%); opacity: .5; }
.cta .deco { z-index: 1; }
.cta__note { left: 9%; top: 110px; width: 96px; }
.cta__bubble { left: 3.5%; top: 330px; width: 92px; }
.cta__doc { left: 4%; bottom: 150px; width: 190px; }
.cta__cap { right: 3%; bottom: 140px; width: 210px; }
.cta__check { right: 9%; top: 110px; width: 120px; }

/* «Крутилки»: декор непрерывно покачивается и вращается (поверх параллакса, через rotate/translate) */
.swing { animation: swing 6s ease-in-out infinite; transform-origin: 50% 60%; }
.swing--b { animation-duration: 7.5s; animation-delay: -2.5s; animation-direction: reverse; }
.swing--c { animation-duration: 5s; animation-delay: -1s; }
@keyframes swing {
  0%, 100% { rotate: -14deg; translate: 0 0; }
  25% { rotate: 4deg; translate: 6px -10px; }
  50% { rotate: 12deg; translate: 0 -18px; }
  75% { rotate: -2deg; translate: -6px -8px; }
}
.spin { animation: spin 16s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.cta-panel {
  display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center;
  max-width: 700px; margin: 44px auto 0; padding: 18px 18px 18px 34px;
  border-radius: 24px; background: var(--dark); color: #fff; text-align: left;
  box-shadow: 0 28px 60px -32px rgba(42, 22, 82, .55);
}
.cta-panel p { font-size: 16px; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.cta-panel .sep { width: 1px; align-self: stretch; margin: 6px 0; background: rgba(255, 255, 255, .16); }

/* ---------- Футер ---------- */
.footer {
  position: relative; z-index: 1; margin-top: -56px; padding: 90px 0 0; overflow: hidden;
  background: radial-gradient(900px 260px at 50% 0%, rgba(139, 92, 214, .35), transparent 70%), var(--dark);
  color: #f7f3fd; border-radius: 56px 56px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.footer-wrap { position: relative; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr 1.1fr; gap: 48px; align-items: start; }
.footer__logo img { height: 48px; width: auto; }
.footer__about { margin-top: 26px; display: grid; gap: 10px; font-size: 15.5px; color: rgba(247, 243, 253, .62); }
.footer__about a { color: #f7f3fd; transition: color .3s; }
.footer__about a:hover { color: var(--lime-ink); }
.footer h4 { font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.footer__links { display: grid; grid-template-columns: auto auto; gap: 12px 48px; justify-content: start; font-size: 15.5px; }
.footer__links a { position: relative; color: rgba(247, 243, 253, .9); transition: color .3s, padding .4s var(--ease-out); }
.footer__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 2px; border-radius: 2px; background: var(--lime-ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.footer__links a:hover { color: #fff; padding-left: 14px; }
.footer__links a:hover::before { transform: scaleX(1); }
.footer__links a.is-active { color: #b39cf0; }
.footer__card { position: relative; padding: 26px 26px 28px; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.footer__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(158, 214, 74, .28), transparent 70%); }
.footer__card .tile { margin-bottom: 18px; }
.footer__card h4 { font-size: 19px; line-height: 1.32; margin-bottom: 22px; max-width: 300px; }
/* самолётик летит по пунктирной траектории */
.footer__sky { position: relative; height: 130px; margin: 6px 0 -10px; pointer-events: none; }
.footer__sky svg { width: 100%; height: 100%; overflow: visible; }
.footer__sky .trail { stroke-dasharray: 6 10; animation: trail 3s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -64; } }
.footer__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px 14px 26px; border-radius: 22px; background: rgba(0, 0, 0, .22); font-size: 15px; color: rgba(247, 243, 253, .78); }
.footer__bar nav { display: flex; gap: 10px; }
.footer__bar a.tg { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; color: #fff; transition: background-color .3s, transform .4s var(--spring); }
.footer__bar a.tg:hover { background: var(--primary-2); transform: translateY(-3px); }
.footer__bar a.tg img { width: 18px; height: 18px; }
.footer__mark {
  position: relative; margin: 44px 0 0; padding-bottom: 26px; text-align: center; white-space: nowrap; overflow: hidden;
  font-size: clamp(28px, 8.3vw, 112px); font-weight: 800; letter-spacing: -.05em; line-height: .9;
  background: linear-gradient(180deg, rgba(247, 243, 253, .2) 0%, rgba(247, 243, 253, .02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}
.footer__mark b { font-weight: 800; background: linear-gradient(180deg, rgba(158, 214, 74, .45), rgba(158, 214, 74, .02) 85%); -webkit-background-clip: text; background-clip: text; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: 160px 0 90px; text-align: center; position: relative; }
.page-hero .pill { margin-bottom: 22px; }
.page-hero h1 { max-width: 900px; margin: 0 auto; }
.page-hero .lead { margin: 26px auto 0; }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.crumbs a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.detail-hero { padding: 140px 0 130px; }
.detail { display: grid; grid-template-columns: 1fr 1.08fr; gap: 70px; align-items: center; }
.detail__media { position: relative; }
.detail__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail__tag { position: absolute; right: -12px; top: -30px; z-index: 2; padding: 10px 22px; border-radius: 999px; background: var(--lime); border: 1.5px solid var(--lime-strong); box-shadow: 3px 4px 0 var(--lime-strong); font-weight: 600; font-size: 16px; rotate: 8deg; }
.detail h1 { font-size: clamp(42px, 5.6vw, 76px); }
.detail .lead { margin-top: 16px; }
.detail .btns { margin-top: 32px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.fact { padding: 20px 14px; border-radius: 18px; text-align: center; background: var(--c-bg, var(--blue)); border: 1.5px solid var(--c-edge, var(--blue-strong)); box-shadow: 4px 5px 0 var(--c-edge, var(--blue-strong)); transition: transform .4s var(--spring), box-shadow .4s var(--spring); }
.fact:hover { transform: translate(-2px, -3px); box-shadow: 6px 8px 0 var(--c-edge, var(--blue-strong)); }
.fact b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.fact span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; align-items: start; }
.part { padding: 0 24px 26px; border-radius: 22px; background: var(--bg); transition: transform .5s var(--ease-out), box-shadow .5s; }
.part:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); }
.part:nth-child(even) { margin-top: 20px; }
.part .tag { display: inline-block; transform: translateY(-50%); padding: 8px 28px; border-radius: 10px; background: var(--c-bg); border: 1.5px solid var(--c-edge); box-shadow: 3px 4px 0 var(--c-edge); font-size: 15px; }
.part h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.part ul { display: grid; gap: 10px; margin-top: 16px; }
.part li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.part li img { width: 16px; height: 16px; flex: none; }
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.mini-step { padding: 26px; border-radius: 22px; background: var(--bg); transition: transform .5s var(--ease-out), box-shadow .5s; }
.mini-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); }
.mini-step h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-top: 26px; }
.mini-step p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; padding-top: 150px; padding-bottom: 130px; }
.contact h1 { font-size: clamp(46px, 5.6vw, 76px); }
.contact .lead { margin-top: 22px; max-width: 420px; }
.contact .pill { margin-bottom: 20px; }
.clist { margin-top: 50px; border-top: 1px solid var(--line-2); }
.crow { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.crow small { display: block; color: var(--muted); font-size: 14.5px; }
.crow b { font-size: 17px; font-weight: 700; }
.crow b a { transition: color .3s; }
.crow b a:hover { color: var(--primary); }
.contact__panel { padding: 42px 42px 38px; border-radius: var(--radius); background: var(--blue); }
.contact__panel h2 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.contact__panel p { color: var(--muted); margin-top: 16px; font-size: 16px; }
.contact__panel .shot { margin: 28px 0 32px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-s); }

.after { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }

.e404 { position: relative; padding: 170px 0 150px; text-align: center; }
.e404__num { display: flex; justify-content: center; font-size: clamp(140px, 26vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .9; color: var(--ink); }
.e404__num span { display: inline-block; animation: bob 4s ease-in-out infinite; }
.e404__num span:nth-child(2) { color: var(--primary-2); animation-delay: -1.3s; }
.e404__num span:nth-child(3) { animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.e404 h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; margin-top: 30px; }
.e404 .lead { margin: 18px auto 34px; }
.e404__doc { left: 6%; top: 190px; width: 150px; }
.e404__check { right: 8%; top: 170px; width: 120px; }
.e404__cap { right: 12%; bottom: 40px; width: 170px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  :root { --section: 100px; }
  .nav { gap: 24px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .part:nth-child(even) { margin-top: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .how { gap: 50px; }
  .stats__card { margin-left: 0; }
  .price--hot h3 { padding-right: 0; padding-top: 34px; }
  .price .badge { top: 22px; left: 26px; right: auto; }
}

@media (max-width: 900px) {
  :root { --section: 84px; --gutter: 22px; }
  .nav, .header .btn { display: none; }
  .burger { display: grid; }
  .header__in { height: 76px; }
  .header.is-scrolled .header__in { height: 66px; }
  .logo img { height: 38px; }

  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; gap: 18px; }
  .sec-head .lead { text-align: left; }
  .sec-head--center { align-items: center; }
  .sec-head--center .lead { text-align: center; }

  .stats, .how, .bot, .detail, .contact { grid-template-columns: 1fr; }
  .stats { margin-top: 60px; }
  .stats__img { margin: -30px auto 0; rotate: 2deg; width: calc(100% - 32px); }
  .how__img { max-width: none; }
  .bot { gap: 44px; }
  .bot__text { order: -1; }
  .svc-list { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 22px; }
  .price--hot h3 { padding-right: 130px; padding-top: 0; }
  .price .badge { top: 30px; right: 24px; left: auto; }
  .choices { grid-template-columns: 1fr; }
  .posts { gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__card { grid-column: 1 / -1; }
  .footer { border-radius: 40px 40px 0 0; margin-top: -40px; padding-top: 70px; }
  .detail { gap: 60px; }
  .detail__media { max-width: 520px; }
  .contact { gap: 50px; padding-top: 120px; padding-bottom: 100px; }
  .after { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr; }
  .cta__check { display: none; }
  .cta__doc { bottom: 40px; width: 130px; }
  .cta__cap { bottom: 40px; width: 140px; }
}

@media (max-width: 640px) {
  :root { --section: 72px; --gutter: 18px; --radius: 20px; }
  body { font-size: 16px; }
  .lead { font-size: 16px; }
  .h1 { font-size: clamp(38px, 11vw, 52px); }
  .h2 { font-size: clamp(32px, 9.4vw, 44px); }
  .btn { min-height: 50px; padding: 12px 22px; font-size: 15.5px; }
  .btns { gap: 14px; }
  .btns .btn { flex: 1 1 auto; }
  .hide-sm { display: none; }

  .hero { padding-top: 112px; padding-bottom: 0; }
  .hero h1 br { display: none; }
  .stage { height: 380px; margin-top: 40px; }
  .ribbon { top: 40px; width: 1000px; height: 272px; }
  .ribbon text { font-size: 26px; }
  .hcard--center { width: 200px; margin-left: -100px; }
  .hcard--left { width: 104px; left: -2px; top: 190px; z-index: 4; }
  .hcard--right { width: 104px; right: -2px; top: 36px; z-index: 4; }
  .hcard__in { border-radius: 14px; }
  .deco--flower { left: 14px; top: 132px; width: 44px; }
  .deco--clover { right: 22px; top: -10px; width: 38px; }

  .svc-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc { display: grid; grid-template-columns: 1fr 112px; grid-template-rows: auto auto 1fr; gap: 8px 16px; padding: 16px; }
  .svc .tile, .svc h3, .svc p { grid-column: 1; }
  .svc h3 { font-size: 19px; margin-top: 6px; }
  .svc__img { grid-column: 2; grid-row: 1 / 4; margin: 0; aspect-ratio: auto; align-self: stretch; }
  .svc:hover { transform: translateY(-4px); }

  .svc-big { grid-template-columns: 1fr; gap: 6px; padding: 12px; }
  .svc-big.flip .svc-big__img { order: 0; }
  .svc-big__img { aspect-ratio: 16 / 10; }
  .svc-big__body, .svc-big.flip .svc-big__body { padding: 12px 8px 10px; }
  .svc-big__body h3 { margin-top: 6px; }

  .stats__card { padding: 26px 22px 24px; }
  .stat { padding: 20px 0; }
  .stat b { font-size: 38px; }
  .stat > span { font-size: 15px; text-align: right; }
  .stat:nth-child(2) > span { text-align: left; }
  .stats__img { margin-top: -20px; width: calc(100% - 16px); }

  .step { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .steps .step:nth-child(odd), .steps .step:nth-child(even) { rotate: 0deg; }
  .step h3 { font-size: 21px; }
  .step h3 small { display: block; margin-top: 2px; white-space: normal; }
  .features { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; margin-top: 60px; }

  .choice { grid-template-columns: auto 1fr; padding: 20px; gap: 16px; }
  .choice .arrow { display: none; }
  .choice h3 { font-size: 20px; }

  .chips { margin: 24px 0 30px; gap: 10px; }
  .chip { padding: 9px 15px; font-size: 14.5px; }

  /* посты канала — лента, которую листают пальцем */
  .posts {
    display: flex; gap: 16px; max-width: none; margin: 36px calc(var(--gutter) * -1) 26px; padding: 14px var(--gutter) 30px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .posts::-webkit-scrollbar { display: none; }
  .post { flex: 0 0 72%; scroll-snap-align: center; }
  .post:nth-child(1) { rotate: -2deg; }
  .post:nth-child(2) { margin-top: 0; }
  .post:nth-child(3) { rotate: 2deg; }

  .price { padding: 28px 22px 22px; }
  .price h3 { min-height: 0; }

  .faq__q { font-size: 16.5px; padding: 20px 18px; }
  .faq__a p { padding: 0 18px 20px; font-size: 15.5px; }

  .cta { padding: 120px 0 250px; }
  .cta .btns { flex-direction: column; align-items: stretch; max-width: 340px; margin: 0 auto; }
  .blob--purple { width: 170px; height: 230px; left: -100px; top: 30px; }
  .blob--lime-r { width: 120px; height: 300px; right: -70px; top: auto; bottom: 40px; }
  .blob--lime-l { width: 200px; height: 200px; left: -80px; }
  .cta__note { left: 4%; top: 30px; width: 60px; }
  .cta__bubble { display: none; }
  .cta__doc { left: 3%; bottom: 80px; width: 112px; }
  .cta__cap { right: 2%; bottom: 76px; width: 126px; }

  .cta-panel { grid-template-columns: 1fr; gap: 16px; padding: 22px; text-align: center; }
  .cta-panel .sep { display: none; }
  .cta-panel p { white-space: normal; }
  .cta-panel .btn { width: 100%; }
  .glow { filter: blur(50px); }

  .footer { padding: 56px 0 0; border-radius: 32px 32px 0 0; margin-top: -32px; }
  .footer__sky { height: 70px; }
  .footer__mark { margin-top: 30px; padding-bottom: 18px; }
  .clouds { height: 64px; }
  .clouds svg { height: 80px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bar { flex-direction: column; align-items: flex-start; padding: 16px 16px 16px 18px; font-size: 14px; }

  .page-hero { padding: 120px 0 64px; }
  .detail-hero { padding: 110px 0 100px; }
  .crumbs { margin-bottom: 30px; }
  .detail__tag { right: 8px; top: -22px; font-size: 15px; padding: 8px 18px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
  .fact:first-child { grid-column: 1 / -1; }
  .fact b { white-space: nowrap; }
  .fact { padding: 16px 6px; border-radius: 14px; }
  .fact b { font-size: 18px; }
  .fact span { font-size: 12.5px; }
  .parts { grid-template-columns: 1fr; gap: 30px; margin-top: 44px; }
  .contact { padding-top: 110px; padding-bottom: 80px; }
  .contact__panel { padding: 26px 20px 24px; }
  .e404 { padding: 120px 0 130px; }
  .e404__doc { left: -10px; top: 90px; width: 80px; }
  .e404__check { right: 0; top: 80px; width: 70px; }
  .e404__cap { right: 4%; bottom: 20px; width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html.js .curtain { display: none; }
}
