/* ==========================================================================
   LANKO — общие стили сайта (главная + внутренние страницы).
   Шрифты: Gotham Pro (текст) + Gotham SSm Medium (заголовки, акценты).
   Палитра: белый / фиолетовый #ad87ff / чёрный.
   ========================================================================== */

@font-face { font-family: "Gotham Pro"; src: url("../fonts/gotham-pro.woff2") format("woff2"), url("../fonts/gotham-pro.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham SSm"; src: url("../fonts/gotham-ssm-medium.woff2") format("woff2"), url("../fonts/gotham-ssm-medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --white: #fff;
  --ink: #0f0f12;
  --dark: #121214;
  --muted: #64646e;
  --muted-dark: #a9a9b4;
  --line: #e9e6f0;
  --surface: #f6f4fb;
  --violet: #ad87ff;
  --violet-hover: #9d70ff;
  --violet-soft: #efe7ff;
  --glow: rgba(173, 135, 255, .55);

  --f-text: "Gotham Pro", "Helvetica Neue", Arial, sans-serif;
  --f-head: "Gotham SSm", "Gotham Pro", "Helvetica Neue", Arial, sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;

  --edge: clamp(8px, 1.2vw, 18px);          /* поля у блоков «на всю ширину» */
  --gutter: clamp(16px, 3.4vw, 40px);
  --section: clamp(80px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(48px, 5.5vw, 80px); }

/* блок на всю ширину экрана с небольшими полями по краям */
.full { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--edge); border-radius: var(--r-xl); }
.full--dark { background: var(--dark); color: #fff; }
.full--violet { background: var(--violet); color: var(--ink); }

/* ---------- Типографика ---------- */
.h1, .h2 { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: -.01em; }
.h1 { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
.h3 { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.22; }
.hl { color: var(--violet); }
/* строки заголовков и подзаголовков примерно одной длины — без «хвоста» из одного слова */
.h1, .h2, .h3, .head__lead, .hero__lead, .phero__lead, .cta__lead, .banner__body p, .audit p, .help p, .help__title, .lead-form__descr, .acta__text p, .anote p { text-wrap: balance; }

.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.head__main { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.head__lead { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: 999px; background: var(--white);
  font-size: 13px; line-height: 1.2; color: var(--muted); white-space: nowrap;
}
.pill--dark { white-space: normal; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #d4d4dc; }
.pill--dark::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.pill--glass { background: rgba(18,18,20,.55); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px;
  background: transparent; font-family: var(--f-head); font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--violet); color: var(--ink); }
.btn--primary:hover { background: var(--violet-hover); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70px; width: 46px; z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
  transform: skewX(-25deg); animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { left: -70px; } 88%, 100% { left: calc(100% + 70px); } }
.btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a31; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico, .more:hover .ico { transform: translateX(3px); }
.more { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; font-family: var(--f-head); font-size: 15px; white-space: nowrap; }
.more:hover { color: var(--violet-hover); }

/* ---------- Шапка: плавающая стеклянная панель ---------- */
.hdr { position: sticky; top: 0; z-index: 100; padding: 10px var(--edge) 0; }
.hdr__bar {
  display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 12px 0 22px;
  border-radius: 20px; border: 1px solid rgba(15,15,18,.06);
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.hdr.is-scrolled .hdr__bar { background: rgba(255,255,255,.9); box-shadow: 0 12px 32px -16px rgba(15,15,18,.18); }
.hdr__logo { flex: none; }
.hdr__logo img { width: 128px; height: auto; }
.hdr__nav { position: relative; display: flex; margin: 0 auto; }
.hdr__nav a { position: relative; z-index: 1; padding: 10px 15px; font-size: 15px; color: #4a4a53; transition: color .25s var(--ease); }
.hdr__nav a:hover, .hdr__nav a.is-hover { color: var(--ink); }
/* «плавающая» подложка под пунктом меню (двигается за курсором) */
.hdr__ind {
  position: absolute; top: 50%; left: var(--ind-x, 0); width: var(--ind-w, 0); height: 40px; margin-top: -20px;
  border-radius: 999px; background: var(--violet-soft); opacity: var(--ind-o, 0);
  transition: left .35s var(--ease), width .35s var(--ease), opacity .25s;
}
.hdr__right { display: flex; align-items: center; gap: 10px; flex: none; }
@media (min-width: 1101px) {
  /* логотип и правый блок разной ширины — сетка 1fr / auto / 1fr держит меню ровно по центру */
  .hdr__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 0 14px; }
  .hdr__logo { padding-left: 6px; }
  .hdr__logo { justify-self: start; }
  .hdr__nav { margin: 0; }
  .hdr__right { justify-self: end; }
}
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-family: var(--f-head); font-size: 15px; white-space: nowrap; }
.hdr__phone svg { width: 16px; height: 16px; color: var(--violet-hover); }
.hdr__phone:hover { color: var(--violet-hover); }
.hdr__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); transition: background-color .2s, color .2s; }
.hdr__icon svg { width: 20px; height: 20px; }
.hdr__icon:hover { background: var(--violet); }
.burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--ink); }
.burger span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* мобильное меню: тёмный экран с крупными пунктами */
.menu {
  position: fixed; inset: 0; z-index: 99; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 104px var(--gutter) 28px; background: var(--dark); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu::before { content: ""; position: absolute; z-index: -1; right: -30%; top: 10%; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.35), transparent); pointer-events: none; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__nav a {
  display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--f-head); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.1; text-transform: uppercase;
  opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
.menu__nav a i { width: 28px; font-style: normal; font-size: 13px; color: var(--violet); }
.menu__nav a svg { width: 22px; height: 22px; margin-left: auto; color: var(--violet); opacity: .7; }
.menu__nav a:hover { color: var(--violet); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .menu__nav a:nth-child(6) { transition-delay: .2s; }
.menu__bottom { display: flex; flex-direction: column; gap: 18px; }
.menu__phone { font-family: var(--f-head); font-size: 20px; text-align: center; }
.menu__bottom .socials { justify-content: center; }

.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .2s, color .2s; }
.social:hover { background: var(--violet); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.socials--dark .social { background: rgba(255,255,255,.08); }

/* ---------- Первый экран ---------- */
.hero { padding-top: 10px; }
.hero__card { min-height: clamp(560px, calc(100svh - 98px), 840px); display: flex; align-items: center; }
.hero__card::before {
  content: ""; position: absolute; z-index: -1; right: 4%; top: 50%; width: min(760px, 56%); aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(closest-side, var(--glow), rgba(173,135,255,.12) 60%, transparent);
}
.hero__card::after {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -40%; width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(173,135,255,.16), transparent);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__lead { max-width: 540px; font-size: clamp(16px, 1.35vw, 20px); color: var(--muted-dark); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero__img { width: auto; max-height: min(560px, 62svh); filter: drop-shadow(0 34px 60px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.chip {
  position: absolute; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: float 8s ease-in-out infinite;
}
.chip b { font-family: var(--f-head); font-weight: 500; font-size: 28px; line-height: 1; color: var(--violet); }
.chip span { font-size: 12px; line-height: 1.35; color: #d0d0d8; }
.chip--a { left: 2%; top: 14%; animation-delay: -2s; }
.chip--b { right: 0; bottom: 14%; animation-delay: -5s; }

/* ---------- Бегущая строка каналов ---------- */
.ticker {
  margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__list li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-head); font-size: clamp(16px, 1.6vw, 22px); text-transform: uppercase; white-space: nowrap; color: #2b2b31; }
.ticker__list li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Проблемы ---------- */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); }
.problem__num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 50%; background: #fff; font-family: var(--f-head); font-size: 15px; }
.problem p { color: var(--muted); font-size: 16px; }

.banner {
  margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 3vw, 48px); text-align: center;
}
.banner::before { content: ""; position: absolute; z-index: -1; left: 20%; right: 20%; bottom: -80%; height: 140%; background: radial-gradient(closest-side, rgba(173,135,255,.45), transparent); }
.banner__body { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.banner__body p { max-width: 540px; color: var(--muted-dark); }
.banner__img { width: 100%; justify-self: center; filter: drop-shadow(0 24px 44px rgba(0,0,0,.55)); animation: float 8s ease-in-out infinite; }
.banner__img--l { max-width: 330px; }
.banner__img--r { max-width: 280px; animation-delay: -4s; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.svc {
  --img-h: 210px;
  position: relative; overflow: hidden; isolation: isolate; grid-column: span 5;
  display: flex; flex-direction: column; gap: 22px; min-height: 460px; padding: 32px;
  border-radius: var(--r-xl); background: var(--surface);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc--wide { grid-column: span 7; }
.svc::before { content: ""; position: absolute; z-index: -1; right: -10%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.4), transparent); }
.svc--img-top::before { top: -30%; }
.svc--img-bottom::before { bottom: -30%; }
.svc__body { display: flex; flex-direction: column; gap: 12px; }
.svc__body p { max-width: 440px; color: var(--muted); font-size: 16px; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(15,15,18,.08); }
.price { font-family: var(--f-head); font-size: 20px; white-space: nowrap; }
.price small { font-size: 14px; color: var(--muted); }
.arrow-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.arrow-btn svg { width: 20px; height: 20px; }

/* картинки прикладываются к краю карточки той стороной, где они срезаны; «плавают», не открывая срез */
.svc__img { position: absolute; z-index: -1; height: var(--img-h); width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 18px 26px rgba(15,15,18,.16)); transition: scale .6s var(--ease); }
.svc--img-top { padding-top: calc(var(--img-h) + 8px); }
.svc--img-top .svc__img { top: -16px; right: 28px; transform-origin: top center; animation: bob-down 6s ease-in-out infinite; }
.svc--img-bottom { padding-bottom: calc(var(--img-h) + 8px); }
.svc--img-bottom .svc__img { bottom: -16px; right: 28px; transform-origin: bottom center; animation: bob-up 6s ease-in-out infinite; }
.svc--img-corner .svc__img { right: -16px; }
@keyframes bob-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes bob-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15,15,18,.22); }
.svc:hover .svc__img { scale: 1.05; }
.svc:hover .arrow-btn { background: var(--violet); color: var(--ink); transform: rotate(-45deg); }

/* десктоп: картинки снизу стоят справа от текста, а не под ним, — поэтому в ряду текст и цены на одной высоте */
@media (min-width: 1025px) {
  .svc--img-bottom { --img-h: clamp(140px, 13.5vw, 200px); padding-bottom: 32px; }
  .svc--wide.svc--img-bottom .svc__img { right: 16px; }
  .svc--wide.svc--img-bottom .svc__body, .svc--wide.svc--img-bottom .svc__foot { max-width: 44%; }
  .svc--img-corner .svc__foot { max-width: calc(100% - var(--img-h) + 20px); }
}

/* ---------- Кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.case__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case__media .pill { position: absolute; left: 20px; top: 20px; }
.case__body { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 30px; flex: 1; }
.case__body p { color: var(--muted); font-size: 16px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { padding: 5px 11px; border-radius: 999px; background: var(--surface); font-size: 13px; color: #4a4a53; }
.case__metrics { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: end; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric b { font-family: var(--f-head); font-weight: 500; font-size: 22px; line-height: 1; white-space: nowrap; }
.metric span { font-size: 14px; line-height: 1.35; color: var(--muted); }
.metric--main b { position: relative; padding-left: 16px; font-size: clamp(30px, 3vw, 40px); }
.metric--main b::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--violet); }
.metric--main span { padding-left: 16px; }
.case:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(15,15,18,.25); }
.case:hover .case__media img { transform: scale(1.05); }

/* ---------- Как работаем: шаги вразброс, связанные пунктирной нитью ---------- */
.flow { position: relative; }
.flow__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; opacity: 0; transform: translateZ(0); transition: opacity .9s var(--ease) .3s; }
.flow:has(.is-in) .flow__line { opacity: 1; }
.flow__path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 7 9; stroke-linecap: round; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.flow__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; padding-top: 22px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 40px 26px 28px; border-radius: var(--r-lg); background: var(--surface); }
.step:nth-child(2) { margin-top: 150px; }
.step:nth-child(3) { margin-top: 40px; }
.step:nth-child(4) { margin-top: 190px; }
.step__num {
  position: absolute; top: -22px; left: 26px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 14px;
  box-shadow: 0 0 0 6px #fff, 0 0 24px rgba(173,135,255,.6);
}
.step__img { align-self: flex-end; width: auto; height: 120px; margin: -8px -4px 6px 0; filter: drop-shadow(0 16px 22px rgba(15,15,18,.18)); }
.step p { color: var(--muted); font-size: 15px; }

.audit { margin-top: clamp(40px, 5vw, 72px); }
.audit::before { content: ""; position: absolute; z-index: -1; left: -5%; top: -60%; width: 40%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,255,255,.4), transparent); }
.audit__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 48px); padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.audit__img { width: clamp(80px, 9vw, 128px); animation: float 6s ease-in-out infinite; }
.audit__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; text-transform: uppercase; }
.audit p { margin-top: 10px; max-width: 640px; color: rgba(15,15,18,.74); }

/* ---------- Команда: без рамок, свечение за фото ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.member { display: flex; flex-direction: column; gap: 12px; }
.member__photo { position: relative; isolation: isolate; height: 430px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 8px; }
.member__photo::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 4%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(173,135,255,.55), rgba(173,135,255,.14) 62%, transparent); transition: transform .6s var(--ease); }
.member__photo::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.member__photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: translateY(-6px); }
.member:hover .member__photo::before { transform: translateX(-50%) scale(1.06); }
.member__name { font-family: var(--f-head); font-weight: 500; font-size: 28px; line-height: 1.1; }
.member p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--violet-soft); font-size: 13px; line-height: 1.3; }
.tag--dark { background: var(--ink); color: #fff; }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 32px; }
.help { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.help::before { content: ""; position: absolute; z-index: -1; right: -25%; top: -35%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.5), transparent); }
.help__img { position: absolute; z-index: -1; right: 20px; top: 18px; width: clamp(80px, 8vw, 112px); animation: float 7s ease-in-out infinite; }
.help__title { max-width: calc(100% - 110px); font-family: var(--f-head); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; text-transform: uppercase; }
.help p { max-width: calc(100% - 100px); color: var(--muted-dark); font-size: 16px; }
.help__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.help__btns .ico { width: 18px; height: 18px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0;
  font-family: var(--f-head); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); transition: background-color .3s, transform .3s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); }
.qa__icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.qa[open] .qa__icon { background: var(--violet); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa p { max-width: 640px; padding: 0 56px 26px 0; color: var(--muted); font-size: 16px; }
.qa summary:hover { color: #3b3b44; }

/* ---------- Заявка: заголовок и форма слева, рукопожатие справа ---------- */
.cta::before { content: ""; position: absolute; z-index: -1; right: 2%; top: 50%; width: 48%; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, var(--glow), rgba(173,135,255,.12) 60%, transparent); }
.cta::after { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.16), transparent); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 5.5vw, 88px); padding-bottom: clamp(40px, 5.5vw, 88px); }
.cta__main { display: flex; flex-direction: column; gap: 20px; }
.cta .h2 { font-size: clamp(28px, 3.2vw, 46px); }
.cta__lead { max-width: 520px; color: var(--muted-dark); font-size: clamp(16px, 1.3vw, 19px); }
.cta__form { margin-top: 12px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.cta__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cta__send { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.cta__send .btn { width: 100%; }
.cta__send .check { order: -1; margin: 0; }
.cta__visual { display: grid; place-items: center; }
.cta__img { width: 100%; max-width: 520px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); animation: float 8s ease-in-out infinite; }

/* ---------- Формы ---------- */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form__title { margin-bottom: 4px; font-family: var(--f-head); font-weight: 500; font-size: 26px; line-height: 1.2; text-transform: uppercase; }
.lead-form__title--lg { font-size: clamp(24px, 2.6vw, 30px); padding-right: 44px; }
.lead-form__descr { margin: -4px 0 6px; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.input {
  width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s, background-color .2s;
}
.input::placeholder, .input input::placeholder { color: #9a9aa4; }
.input:focus, .input:focus-within { border-color: var(--violet); background: #fff; }
.input[aria-invalid="true"] { border-color: #e5484d; }
.input--phone { display: flex; align-items: center; gap: 10px; }
.input__code { font-family: var(--f-head); font-size: 16px; }
.input--phone input { flex: 1; min-width: 0; height: 54px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 2px 0 4px; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { flex: none; position: relative; width: 22px; height: 22px; border: 1.5px solid #c9c6d3; border-radius: 7px; background: #fff; transition: background-color .2s, border-color .2s; }
.check input:checked + .check__box { background: var(--violet); border-color: var(--violet); }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--violet); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #e5484d; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.lead-form__status { font-size: 14px; color: #e5484d; }
.lead-form__status:empty { display: none; }
.lead-form__done { display: none; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: var(--violet-soft); }
.lead-form__done b { font-family: var(--f-head); font-weight: 500; font-size: 18px; }
.lead-form__done span { color: var(--muted); font-size: 15px; }
.lead-form.is-sent > :not(.lead-form__done):not(.lead-form__title) { display: none; }
.lead-form.is-sent .lead-form__done { display: flex; }
/* форма на тёмном фоне */
.lead-form--dark .field label { color: var(--muted-dark); }
.lead-form--dark .input { min-height: 60px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.lead-form--dark .input--phone input { height: 58px; color: #fff; }
.lead-form--dark .input::placeholder, .lead-form--dark .input input::placeholder { color: #7d7d88; }
.lead-form--dark .input:focus, .lead-form--dark .input:focus-within { background: rgba(255,255,255,.1); border-color: var(--violet); }
.lead-form--dark .check { color: var(--muted-dark); }
.lead-form--dark .check a { color: #fff; }
.lead-form--dark .check__box { background: transparent; border-color: rgba(255,255,255,.35); }
.lead-form--dark .lead-form__status { color: #ff8a8e; }
.lead-form--dark .lead-form__done { background: rgba(173,135,255,.16); }
.lead-form--dark .lead-form__done span { color: var(--muted-dark); }

/* ---------- Подвал ---------- */
.ftr { margin-top: var(--section); padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 32px; }
.ftr__logo img { width: 150px; }
.ftr__about { display: flex; flex-direction: column; gap: 18px; }
.ftr__about p { max-width: 300px; color: var(--muted); font-size: 15px; }
.ftr__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.ftr__col a:hover { color: var(--violet-hover); }
.ftr__title { margin-bottom: 4px; font-family: var(--f-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ftr__cta { margin-top: 6px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ftr__bottom a:hover { color: var(--ink); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Окно с формой ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(10,10,12,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__box {
  position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto;
  padding: clamp(28px, 4vw, 40px); border-radius: 28px; background: #fff;
  transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); }
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Cookie: маленькая плашка по центру ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 16px; z-index: 150; display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100% - 24px); padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(15,15,18,.92); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(15,15,18,.25); font-size: 13px; line-height: 1.35;
  transform: translate(-50%, calc(100% + 32px)); transition: transform .5s var(--ease);
}
.cookie.is-visible { transform: translate(-50%, 0); }
.cookie a { text-decoration: underline; text-underline-offset: 2px; }
.cookie__btn { flex: none; min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--violet); color: var(--ink); font-family: var(--f-head); font-size: 13px; }
.cookie__btn:hover { background: var(--violet-hover); }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.problems .reveal:nth-child(2), .team .reveal:nth-child(2), .cases .reveal:nth-child(2) { transition-delay: .08s; }
.problems .reveal:nth-child(3), .team .reveal:nth-child(3) { transition-delay: .16s; }
.flow__list .reveal:nth-child(2) { transition-delay: .12s; } .flow__list .reveal:nth-child(3) { transition-delay: .24s; } .flow__list .reveal:nth-child(4) { transition-delay: .36s; }

/* 3D-картинки всегда вписываются в свою рамку без искажений (у img есть width/height для стабильной вёрстки) */
.hero__img, .phero__img, .incl__img, .place__img, .price-card__img, .channel__img, .help__img, .step__img, .audit__img, .cta__img, .banner__img, .svc__img, .imgtext__media img, .post__media img { object-fit: contain; }
.incl__img { object-position: left center; }

.is-editing .reveal { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1280px) {
  .hdr__phone { display: none; }
}

@media (max-width: 1100px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__right { margin-left: auto; }
  .burger { display: block; }
}
@media (min-width: 1101px) {
  .menu { display: none; }
}

@media (max-width: 1024px) {
  .hero__visual { min-height: 380px; }
  .services .svc, .services .svc--wide { grid-column: span 6; }
  .svc { --img-h: 180px; }
  /* шаги: вертикально, нить слева */
  .flow__line { display: none; }
  .flow__list { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 0 0 64px; }
  .flow__list::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; border-left: 2px dashed var(--violet); }
  .step:nth-child(n) { margin-top: 0; }
  .step { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 20px; padding: 26px 28px; }
  .step__num { top: 26px; left: -64px; }
  .step__img { grid-column: 2; grid-row: 1 / 3; align-self: center; height: 100px; margin: 0; }
  .step .h3 { grid-column: 1; }
  .step p { grid-column: 1; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
  .help { max-width: 560px; }
}

@media (max-width: 900px) {
  .hero__card { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero__visual { order: -1; min-height: 0; height: 320px; }
  .hero__img { max-height: 300px; }
  .chip--a { left: 0; top: 6%; }
  .chip--b { right: 0; bottom: 6%; }
  .problems { grid-template-columns: minmax(0, 1fr); }
  .problem__num { margin-bottom: 18px; }
  .banner { grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: 0; text-align: left; }
  .banner__body { grid-column: 1 / -1; grid-row: 1; align-self: start; align-items: flex-start; }
  .banner__img--l { max-width: 200px; justify-self: start; margin-bottom: 24px; }
  .banner__img--r { max-width: 220px; justify-self: end; margin-right: calc(-1 * clamp(20px, 3vw, 48px)); animation: none; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .services .svc, .services .svc--wide { grid-column: auto; min-height: 0; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .member__photo { height: 320px; }
  .cta__in { grid-template-columns: minmax(0, 1fr); }
  .cta__visual { display: none; }
  .cta::before { right: -30%; top: 0; width: 80%; }
  .audit__in { grid-template-columns: auto minmax(0, 1fr); }
  .audit__in .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 720px) {
  .cases { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin: 0 auto; gap: 40px; }
  .member__photo { height: 380px; }
  .head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --r-xl: 24px; }
  .hdr { padding-top: 8px; }
  .hdr__bar { height: 60px; padding: 0 8px 0 16px; border-radius: 16px; }
  .hdr__logo img { width: 108px; }
  .menu { padding-top: 92px; }
  .hero { padding-top: 8px; }
  .hero__visual { height: 260px; }
  .hero__img { max-height: 240px; }
  .chip { padding: 10px 12px; border-radius: 14px; }
  .chip b { font-size: 20px; }
  .chip span { font-size: 11px; }
  .h1 { font-size: clamp(28px, 8.6vw, 34px); }
  .hero__btns { width: 100%; }
  .hero__btns .btn { width: 100%; white-space: normal; text-align: center; }
  .banner__img--l { max-width: 140px; margin-bottom: 18px; }
  .banner__img--r { max-width: 165px; }
  .banner .btn { width: 100%; white-space: normal; }
  .svc { --img-h: 150px; padding-left: 24px; padding-right: 24px; gap: 18px; }
  .svc:not(.svc--img-top) { padding-top: 24px; }
  .svc:not(.svc--img-bottom) { padding-bottom: 24px; }
  .svc--img-top .svc__img, .svc--img-bottom .svc__img { right: 20px; }
  .svc--img-corner .svc__img { right: -16px; }
  .case__body { padding: 22px 22px 24px; }
  .case__metrics { gap: 16px; }
  .flow__list { padding-left: 56px; }
  .flow__list::before { left: 19px; }
  .step { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .step__num { left: -56px; width: 40px; height: 40px; top: 22px; }
  .step__img { grid-column: 1; grid-row: auto; justify-self: end; height: 84px; margin: -6px 0 0; order: -1; }
  .audit__in { grid-template-columns: minmax(0, 1fr); }
  .audit__img { width: 72px; }
  .audit__in .btn { width: 100%; white-space: normal; }
  .help { padding: 24px; }
  .help__title { max-width: calc(100% - 70px); min-height: 66px; display: flex; align-items: center; }
  .help p { max-width: none; }
  .help__img { width: 54px; top: 20px; }
  .help__btns { width: 100%; }
  .help__btns .btn { flex: 1 1 auto; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .ftr { border-radius: 24px 24px 0 0; }
  .qa p { padding-right: 0; }
  .cta__fields { grid-template-columns: minmax(0, 1fr); }
  .cookie { bottom: 10px; }
}

/* ==========================================================================
   Внутренние страницы
   ========================================================================== */

/* активный пункт меню */
.hdr__nav a.is-current { color: var(--ink); }
.hdr__nav a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--violet); }
.menu__nav a.is-current { color: var(--violet); }

/* ---------- Обложка страницы ---------- */
.phero { padding-top: 10px; }
.phero__card { min-height: clamp(460px, 62svh, 640px); display: flex; align-items: center; }
.phero__card::before { content: ""; position: absolute; z-index: -1; right: 6%; top: 50%; width: min(620px, 50%); aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, var(--glow), rgba(173,135,255,.1) 60%, transparent); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.phero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.phero .h1 { font-size: clamp(30px, 3.6vw, 56px); }
.phero__lead { max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted-dark); }
.phero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.phero__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.phero__img { width: auto; max-height: min(420px, 52svh); max-width: 100%; filter: drop-shadow(0 30px 56px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.phero__photo { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero__visual .chip { background: rgba(18,18,20,.62); border-color: rgba(255,255,255,.16); }
.phero__visual .chip--a { left: -4%; top: 8%; }
.phero__visual .chip--b { right: -4%; bottom: 8%; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-dark); }
.crumbs a { color: #d4d4dc; transition: color .2s; }
.crumbs a:hover { color: var(--violet); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Проблемы: сетка 2×2 ---------- */
.problems--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Что входит в услугу (тёмный блок со списком) ---------- */
.incl { margin-top: var(--section); }
.incl::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 50%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.35), transparent); }
.incl__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.incl__aside { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 110px; }
.incl__aside .head__lead { color: var(--muted-dark); }
.incl__img { width: auto; max-width: clamp(120px, 14vw, 200px); max-height: 240px; margin-top: 12px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.incl__list { counter-reset: inc; display: flex; flex-direction: column; }
.incl__item { counter-increment: inc; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 16px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.incl__item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.incl__item::before { content: counter(inc, decimal-leading-zero); grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(173,135,255,.14); color: var(--violet); font-family: var(--f-head); font-size: 14px; }
.incl__item h3 { font-family: var(--f-head); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }
.incl__item p { color: var(--muted-dark); font-size: 16px; }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-xl); background: var(--surface); }
.price-card__img { position: absolute; z-index: -1; right: 20px; top: 20px; width: 96px; opacity: .95; animation: float 7s ease-in-out infinite; }
.price-card__name { max-width: calc(100% - 100px); font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; }
.price-card__sum { margin-top: 6px; font-family: var(--f-head); font-weight: 500; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; white-space: nowrap; }
.price-card__sum small { font-size: .45em; color: var(--muted); }
.price-card p { color: var(--muted); font-size: 16px; }
.price-card__list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.price-card__list li { position: relative; padding-left: 26px; font-size: 15px; }
.price-card__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--violet); }
.price-card__list li::after { content: ""; position: absolute; left: 5.5px; top: 7px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.price-card .btn { margin-top: auto; }
.price-card--featured { background: var(--dark); color: #fff; }
.price-card--featured::before { content: ""; position: absolute; z-index: -2; right: -20%; top: -30%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.5), transparent); }
.price-card--featured p, .price-card--featured .price-card__sum small { color: var(--muted-dark); }
.price-card--featured .price-card__badge { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--violet); color: var(--ink); font-size: 12px; }
.price-card--help { background: var(--violet); }
.price-card--help p { color: rgba(15,15,18,.74); max-width: calc(100% - 96px); }

/* ---------- Список услуг (страница «Услуги») ---------- */
.srows { display: flex; flex-direction: column; gap: 16px; }
.srow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: var(--r-xl); background: var(--surface); transition: box-shadow .4s var(--ease); }
.srow:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.srow:nth-child(even) .srow__media { order: 2; }
.srow__media { position: relative; overflow: hidden; isolation: isolate; min-height: 340px; background: #efeaf9; }
.srow__media::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(173,135,255,.55), transparent); }
.srow__media img { position: absolute; left: 50%; width: auto; max-width: 86%; height: 72%; translate: -50% 0; filter: drop-shadow(0 22px 30px rgba(15,15,18,.2)); }
.srow__media--top img { top: -16px; animation: bob-down 6s ease-in-out infinite; }
.srow__media--bottom img { bottom: -16px; animation: bob-up 6s ease-in-out infinite; }
.srow__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3.5vw, 48px); }
.srow__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; text-transform: uppercase; }
.srow__body > p { max-width: 560px; color: var(--muted); }
.srow__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(15,15,18,.08); }
.srow__foot .price { margin-right: auto; }
.srow:hover { box-shadow: 0 24px 48px -24px rgba(15,15,18,.22); }

/* ---------- Кейс: факты, этапы, площадки, результаты ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--r-lg); background: var(--surface); }
.fact__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.fact p { font-size: 17px; }

.tl { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-top: 26px; }
.tl::before { content: ""; position: absolute; left: 22px; right: 22px; top: 48px; border-top: 2px dashed var(--violet); }
.tl__item { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 46px 28px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.tl__num { position: absolute; top: -22px; left: 26px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 14px; box-shadow: 0 0 0 6px #fff, 0 0 24px rgba(173,135,255,.6); }
.tl__item p { color: var(--muted); font-size: 16px; }

.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.place { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 150px 32px 32px; border-radius: var(--r-xl); background: var(--surface); }
.place::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.35), transparent); }
.place__img { position: absolute; z-index: -1; right: 24px; top: 24px; width: 104px; animation: float 7s ease-in-out infinite; }
.place .h3 { max-width: none; }
.place p { max-width: 520px; color: var(--muted); font-size: 16px; }

.results { margin-top: var(--section); }
.results::before { content: ""; position: absolute; z-index: -1; left: 30%; right: 30%; bottom: -90%; height: 160%; background: radial-gradient(closest-side, rgba(173,135,255,.45), transparent); }
.results__in { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.results__in .head__lead { color: var(--muted-dark); }
.results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.result { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.result b { font-family: var(--f-head); font-weight: 500; font-size: clamp(34px, 4vw, 60px); line-height: 1; color: var(--violet); white-space: nowrap; }
.result span { color: var(--muted-dark); font-size: 16px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; gap: 2px 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; transition: background-color .3s, color .3s; }
.contact__ico svg { width: 24px; height: 24px; }
.contact__label { align-self: end; font-size: 14px; color: var(--muted); }
.contact__value { align-self: start; font-family: var(--f-head); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.25; overflow-wrap: anywhere; }
a.contact:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15,15,18,.22); }
a.contact:hover .contact__ico { background: var(--violet); color: var(--ink); }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.channel { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 230px; padding: 32px; border-radius: var(--r-xl); background: var(--dark); color: #fff; }
.channel::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -25%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.5), transparent); }
.channel__img { position: absolute; z-index: -1; right: 32px; top: 50%; width: clamp(110px, 12vw, 170px); translate: 0 -50%; filter: drop-shadow(0 20px 36px rgba(0,0,0,.5)); animation: float 7s ease-in-out infinite; }
.channel .h3 { max-width: 60%; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; }
.channel p { max-width: 55%; color: var(--muted-dark); font-size: 16px; }
.channel .btn { margin-top: auto; }

/* ---------- Текст (политика) ---------- */
.prose { max-width: 820px; color: #2b2b31; font-size: 17px; line-height: 1.7; }
.prose h2 { margin: 48px 0 14px; font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 0; }
.prose li { position: relative; margin-bottom: 8px; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.prose a { color: var(--violet-hover); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-family: var(--f-head); font-weight: 500; }

/* ---------- Блог ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post__media { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--dark); }
.post__media::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow), transparent); }
.post__media img { position: absolute; left: 50%; top: 50%; width: auto; height: 66%; translate: -50% -50%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); transition: scale .6s var(--ease); }
.post__media .pill { position: absolute; left: 20px; top: 20px; }
.post__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: 26px 28px 28px; }
.post__meta { font-size: 13px; color: var(--muted); }
.post__body p { color: var(--muted); font-size: 15px; }
.post__body .more { margin-top: auto; padding-bottom: 0; }
a.post:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(15,15,18,.25); }
a.post:hover .post__media img { scale: 1.06; }
a.post:hover .more { color: var(--violet-hover); }
.post--channel { position: relative; isolation: isolate; align-items: flex-start; gap: 14px; padding: 32px; border: 0; background: var(--dark); color: #fff; }
.post--channel::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -20%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.5), transparent); }
.post__ch-img { width: 96px; margin-bottom: auto; animation: float 7s ease-in-out infinite; }
.post--channel .h3 { margin-top: 40px; text-transform: uppercase; }
.post--channel p { color: var(--muted-dark); font-size: 15px; }
.post--channel .btn { margin-top: 8px; }

/* статья */
.h1--post { font-size: clamp(26px, 3vw, 46px) !important; max-width: 980px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted-dark); }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.prose--post { margin: 0 auto; max-width: 760px; }
.prose figure { margin: 28px 0; }
.prose figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Блоки из админки ---------- */
.banner--plain { grid-template-columns: minmax(0, 720px); justify-content: center; }
.imgtext { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.imgtext__media { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 320px; border-radius: var(--r-xl); background: var(--dark); overflow: hidden; }
.imgtext__media::before { content: ""; position: absolute; z-index: -1; inset: 10%; background: radial-gradient(closest-side, var(--glow), transparent); }
.imgtext__media img { width: auto; max-width: 70%; max-height: 260px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.imgtext__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.imgtext__body p { color: var(--muted); }
.review { position: relative; margin: 0 auto; max-width: 900px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); }
.review::before { content: "“"; position: absolute; right: 32px; top: 6px; font-family: var(--f-head); font-size: 140px; line-height: 1; color: var(--violet); opacity: .5; }
.review blockquote { margin: 0; padding-right: clamp(36px, 8vw, 96px); }
.review blockquote p { font-family: var(--f-head); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
.review figcaption b { font-family: var(--f-head); font-weight: 500; }
.review figcaption span { font-size: 14px; color: var(--muted); }
.faq__list:only-child, .wrap > .faq__list { max-width: 900px; }

/* ---------- Статья ---------- */
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 120; height: 3px; pointer-events: none; }
.read-progress i { display: block; width: 0; height: 100%; background: var(--violet); box-shadow: 0 0 12px var(--violet); transition: width .1s linear; }
.ahero__card { min-height: clamp(460px, 60svh, 600px); }
.ahero__title { font-size: clamp(28px, 3.3vw, 52px) !important; }
.ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: var(--muted-dark); }
.ahero__meta > span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 22px; border-radius: 50%; background: var(--violet); vertical-align: 3px; }
.ahero__author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--f-head); }
.ahero__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: #2a2a31; border: 2px solid rgba(173,135,255,.6); }

.article { display: grid; grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article--notoc { grid-template-columns: minmax(0, 720px); }
.article__aside { position: sticky; top: 110px; }
.atoc { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.atoc__title { display: block; margin-bottom: 12px; font-family: var(--f-head); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.atoc ol { counter-reset: t; display: flex; flex-direction: column; gap: 4px; }
.atoc li { counter-increment: t; }
.atoc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 6px 8px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: #4a4a53; transition: background-color .2s, color .2s; }
.atoc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-head); font-size: 11px; line-height: 1.8; color: var(--violet-hover); }
.atoc a:hover, .atoc a.is-active { background: #fff; color: var(--ink); }

.article__body { max-width: none; font-size: 18px; line-height: 1.75; }
.article__body > p:first-of-type { font-size: 20px; line-height: 1.65; color: var(--ink); }
.article__body h2 { margin: 56px 0 18px; font-size: clamp(24px, 2.3vw, 32px); scroll-margin-top: 100px; }
.article__body h3 { margin: 36px 0 12px; font-family: var(--f-head); font-weight: 500; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--ink); }
.article__body > :first-child { margin-top: 0; }
.prose ol { counter-reset: o; margin: 0 0 14px; padding: 0; }
.prose ol > li { counter-increment: o; position: relative; margin-bottom: 10px; padding-left: 38px; }
.prose ol > li::before { content: counter(o); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--violet-soft); color: var(--ink); font-family: var(--f-head); font-size: 13px; line-height: 1; }
.prose hr { margin: 44px 0; border: 0; border-top: 1px solid var(--line); }
.article__body figure { margin: 34px 0; }
.article__body figure img { border-radius: 20px; box-shadow: 0 24px 48px -32px rgba(15,15,18,.35); }

.takeaways { margin: 0 0 36px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.takeaways::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(173,135,255,.45), transparent); }
.takeaways__title { display: block; margin-bottom: 12px; font-family: var(--f-head); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.takeaways ul { margin: 0; }
.takeaways li { font-size: 17px; line-height: 1.55; color: #e6e6ec; }
.takeaways li + li { margin-top: 10px; }
.takeaways strong, .takeaways b { color: #fff; }

.aquote { position: relative; margin: 36px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--violet); }
.aquote p { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.4; color: var(--ink); }
.aquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }

.anote { margin: 30px 0; padding: 24px 26px; border-radius: var(--r-lg); }
.anote--violet { background: var(--violet-soft); }
.anote--dark { background: var(--dark); color: #fff; }
.anote__title { display: block; margin-bottom: 8px; font-family: var(--f-head); font-weight: 500; font-size: 18px; line-height: 1.3; }
.anote p { margin: 0; font-size: 16px; line-height: 1.65; }
.anote--dark p { color: #d4d4dc; }

.astats { display: grid; gap: 12px; margin: 30px 0; }
.astats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.astats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.astats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.astat { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); }
.astat b { font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; color: var(--ink); white-space: nowrap; }
.astat span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.astat:first-child b { color: var(--violet-hover); }

.acta { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; margin: 40px 0; padding: 24px 26px; border-radius: var(--r-lg); background: var(--violet); flex-wrap: wrap; }
.acta__text { flex: 1 1 300px; }
.acta__text b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 20px; line-height: 1.3; }
.acta__text p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: rgba(15,15,18,.74); }
.acta .btn { background: var(--ink); color: #fff; }
.acta .btn:hover { background: #2a2a31; }
.acta .btn::after { display: none; }

.author-card { display: flex; align-items: center; gap: 20px; margin-top: 52px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.author-card img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: var(--violet-soft); }
.author-card b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 18px; }
.author-card span { display: block; margin: 4px 0 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* 404 */
.nf { min-height: clamp(460px, 70svh, 680px); }
.nf__code { position: absolute; z-index: -1; font-family: var(--f-head); font-weight: 500; font-size: clamp(120px, 18vw, 260px); line-height: 1; color: rgba(173,135,255,.14); }

/* ---------- Адаптив внутренних страниц ---------- */
@media (max-width: 1024px) {
  .incl__in { grid-template-columns: minmax(0, 1fr); }
  .incl__aside { position: static; }
  .incl__img { position: absolute; right: var(--gutter); top: clamp(40px, 6vw, 88px); max-width: 110px; max-height: 120px; margin: 0; }
  .incl__aside .head__main { padding-right: 120px; }
  .incl__img { object-position: right center; }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card--help { grid-column: 1 / -1; }
  .price-card--help .btn { align-self: flex-start; width: auto; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr); }
  .article__aside { position: static; }
}
@media (max-width: 900px) {
  .phero__card { min-height: 0; }
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .phero__visual { order: -1; min-height: 0; height: 280px; }
  .phero__img { max-height: 260px; }
  .phero__photo { max-width: none; height: 100%; aspect-ratio: auto; }
  .phero__visual .chip--a { left: 8px; top: 8px; }
  .phero__visual .chip--b { right: 8px; bottom: 8px; }
  .problems--4 { grid-template-columns: minmax(0, 1fr); }
  .srow, .srow:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .srow:nth-child(even) .srow__media { order: 0; }
  .srow__media { min-height: 240px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .places { grid-template-columns: minmax(0, 1fr); }
  .results__grid { grid-template-columns: minmax(0, 1fr); }
  .channels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tl { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 64px; }
  .tl::before { left: 21px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed var(--violet); }
  .tl__item { padding: 26px; }
  .tl__num { top: 22px; left: -64px; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price-card--help .btn { align-self: stretch; width: 100%; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .imgtext { grid-template-columns: minmax(0, 1fr); }
  .imgtext__media { min-height: 240px; }
  .astats--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .phero { padding-top: 8px; }
  .phero .h1 { font-size: clamp(24px, 7.6vw, 32px); }
  .h1, .h2 { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
  .phero__visual { height: 230px; }
  .phero__img { max-height: 210px; }
  .phero__btns { width: 100%; }
  .phero__btns .btn { width: 100%; white-space: normal; }
  .incl__img { max-width: 80px; max-height: 96px; }
  .incl__aside .head__main { padding-right: 84px; }
  .incl__item { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; }
  .incl__item::before { width: 38px; height: 38px; font-size: 13px; }
  .price-card, .place, .channel { padding: 24px; }
  .price-card__img, .place__img { width: 76px; }
  .price-card__name { max-width: calc(100% - 84px); }
  .place { padding-top: 116px; }
  .channel { min-height: 210px; }
  .channel .h3, .channel p { max-width: 62%; }
  .channel__img { right: 16px; width: 96px; }
  .contacts { grid-template-columns: minmax(0, 1fr); }
  .fact, .result { padding: 24px; }
  .tl { padding-left: 56px; }
  .tl::before { left: 19px; }
  .tl__num { left: -56px; width: 40px; height: 40px; }
  .srow__foot .btn { flex: 1 1 auto; }
  .prose { font-size: 16px; }
  .article__body { font-size: 16.5px; }
  .article__body > p:first-of-type { font-size: 18px; }
  .astats--2, .astats--4 { grid-template-columns: minmax(0, 1fr); }
  .takeaways, .anote, .acta { padding: 20px; }
  .acta .btn { width: 100%; white-space: normal; }
  .author-card { flex-direction: column; align-items: flex-start; }
  .ahero__meta > span + span::before { margin-right: 10px; }
}
