@charset "UTF-8";
/* eGile.kz Solutions — стили сайта по утверждённому макету.
   Тёмная тема, Onest, зелёный акцент. Без фреймворков. */

:root {
  /* Чёрная подложка, на ней графитовые панели-секции, в панелях — карточки на тон светлее. */
  --bg: #000;
  --bg-raise: #0f1110;
  --panel: #0f1110;
  --card: #171a18;
  --card-2: #1d211e;
  --line: #232825;
  --line-2: #2e3430;
  --panel-gap: clamp(10px, 1.4vw, 20px);
  --text: #f5f7f6;
  --muted: #a3aaa6;
  --dim: #6f7772;
  --accent: #4ade80;
  --accent-strong: #22c55e;
  --accent-ink: #052e16;
  --stage-a: #6aa985;
  --stage-b: #2f7550;
  --stage-c: #1a5235;
  --kaspi: #f14635;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
  --container: 1336px;
  --container-narrow: 1196px;
  --gutter: clamp(16px, 4vw, 52px);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
figure, blockquote { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.container--faq { max-width: calc(820px + var(--gutter) * 2); }

/* ── Типографика ── */
.h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; }
.h3 { font-size: 22px; line-height: 1.25; margin: 28px 0 10px; }
.accent { color: var(--accent); }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--pill); border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light:hover { background: #e7ece9; }
.btn--dark { background: #1c1f1d; color: var(--text); }
.btn--dark:hover { background: #262a27; }
.btn--accent { background: var(--accent-strong); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 56px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-accent { color: var(--accent); font-weight: 600; text-decoration: none; }
.link-accent:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Шапка ── */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 24px; min-height: 80px; }
/* На широких экранах меню — ровно по центру шапки, а не между логотипом и
   более широким правым блоком. Уже 1440px места не хватает — меню в потоке. */
@media (min-width: 1440px) {
  .site-nav__list { position: absolute; left: 50%; transform: translateX(-50%); }
  .site-nav__actions { margin-left: auto; }
}
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-weight: 800; letter-spacing: -0.03em; font-size: 22px; flex: none; }
.logo__tld { color: var(--accent-strong); }
.logo__suffix { font-weight: 500; color: var(--muted); letter-spacing: -0.01em; font-size: .86em; }
.logo--lg { font-size: 26px; }
.site-nav { display: flex; align-items: center; flex: 1; }
.site-nav__list { display: flex; gap: 34px; margin: 0 auto; }
.site-nav__list a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text); opacity: .9; }
.site-nav__list a:hover { opacity: 1; color: var(--accent); }
.site-nav__actions { display: flex; align-items: center; gap: 10px; }
/* Телефон в шапке: номер звонит, строка под ним открывает WhatsApp. */
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-right: 8px; line-height: 1.2; white-space: nowrap; }
.header-contact__phone { font-size: 15px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.header-contact__phone:hover { color: var(--accent); }
.header-contact__wa { font-size: 12.5px; font-weight: 500; color: var(--accent); text-decoration: none; }
.header-contact__wa:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Переключатель языка: «Қаз» на русской версии, «Рус» на казахской. */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 14px;
  border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: #1c1f1d; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle__bar { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ── Первый экран: зелёная панель на всю ширину ── */
.hero { padding: 4px var(--panel-gap) 12px; }
.hero__panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(55% 70% at 18% 22%, rgba(120, 190, 150, .55) 0%, transparent 70%),
    radial-gradient(60% 80% at 92% 100%, rgba(18, 70, 44, .9) 0%, transparent 70%),
    linear-gradient(135deg, #3f8560 0%, #2c6c4a 45%, #24603f 100%);
}
.hero__grid {
  max-width: var(--container); margin: 0 auto;
  /* Первый экран целиком в окне: за вычетом шапки и отступа под панелью. */
  min-height: min(680px, calc(100svh - 120px));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 4.4vw, 64px);
}
.hero__title { font-size: clamp(42px, min(5vw, 8.4svh), 72px); line-height: 1.02; letter-spacing: -0.035em; color: #fff; }
.hero__title-accent { color: #b4f0c8; }
.hero__lead { margin: 24px 0 28px; max-width: 500px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.btn--ghost { background: rgba(10, 40, 24, .45); color: #fff; }
.btn--ghost:hover { background: rgba(10, 40, 24, .65); }
.hero .btn { min-height: 56px; padding: 0 28px; font-size: 17px; }

/* «Лава-лампа»: мягкие пятна света медленно плывут и перетекают под содержимым. */
.hero__grid { position: static; }
.hero__text { position: relative; z-index: 1; }
.lava { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.lava span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75;
  will-change: transform; animation: lava-a 22s ease-in-out infinite alternate;
}
.lava span:nth-child(1) { width: 46%; aspect-ratio: 1; left: -8%; top: -18%; background: #7fd3a0; }
.lava span:nth-child(2) { width: 38%; aspect-ratio: 1; left: 38%; top: 40%; background: #1f8f5a; animation-name: lava-b; animation-duration: 26s; }
.lava span:nth-child(3) { width: 34%; aspect-ratio: 1; right: -6%; top: -10%; background: #a6e9c2; opacity: .45; animation-name: lava-c; animation-duration: 19s; }
.lava span:nth-child(4) { width: 42%; aspect-ratio: 1; right: 10%; bottom: -30%; background: #0f5233; opacity: .9; animation-name: lava-d; animation-duration: 17s; }
/* Фон плывёт очень медленно и с «уменьшением движения» в системе: это мягкий
   свет, а не движение по экрану. Общее правило выше гасит все анимации. */
@media (prefers-reduced-motion: reduce) {
  .lava span:nth-child(1) { animation: lava-a 60s ease-in-out infinite alternate !important; }
  .lava span:nth-child(2) { animation: lava-b 70s ease-in-out infinite alternate !important; }
  .lava span:nth-child(3) { animation: lava-c 55s ease-in-out infinite alternate !important; }
  .lava span:nth-child(4) { animation: lava-d 50s ease-in-out infinite alternate !important; }
}
@keyframes lava-a {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22%, 18%) scale(1.18); }
  100% { transform: translate(8%, 34%) scale(.92); }
}
@keyframes lava-b {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-28%, -22%) scale(1.25); }
  100% { transform: translate(18%, -8%) scale(.9); }
}
@keyframes lava-c {
  0% { transform: translate(0, 0) scale(.9); }
  50% { transform: translate(-30%, 30%) scale(1.15); }
  100% { transform: translate(-12%, 52%) scale(1); }
}
@keyframes lava-d {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-24%, -30%) scale(.88); }
  100% { transform: translate(-46%, -10%) scale(1.2); }
}

/* Анимированный конвейер eGile позади текста. Размер и место — как на ~1100px:
   не шире 1040px и привязан к центру страницы (как и текст), а не к краю панели,
   иначе на больших мониторах он раздувается вместе с полноширинной панелью. */
.hero__art {
  position: absolute; top: 60%; left: max(27%, calc(50% - 236px)); width: min(88%, 1040px); margin: 0;
  transform: translateY(-50%); pointer-events: none;
  /* Оба конца ленты растворяются: нижний — к низу, верхний — к правому краю
   рисунка (на широких экранах он виден внутри панели, а не уходит за неё). */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 86%), linear-gradient(to right, #000 78%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 86%), linear-gradient(to right, #000 78%, transparent 97%);
  mask-composite: intersect;
}
.conveyor { display: block; width: 100%; height: auto; }
/* ── Зелёная сцена для иллюстраций ── */
.stage {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 30% 0%, var(--stage-a) 0%, transparent 60%),
    radial-gradient(120% 120% at 100% 100%, var(--stage-c) 0%, transparent 70%),
    var(--stage-b);
}
.stage__inner { position: relative; padding: clamp(18px, 3.5vw, 40px) clamp(14px, 3vw, 36px); }
.stage__inner--center { display: flex; justify-content: center; align-items: center; min-height: 100%; }

/* iPhone по размерам 15/16 Pro: экран 1179×2556 (скриншот с телефона входит
   целиком), рамка ~2.6% ширины, скругления в процентах — пропорции те же
   при любой ширине. Высоту задаёт экран, а не рамка. */
.iphone {
  /* Ширину задаёт --w: рамка считается от ширины самого телефона (padding в %
     брался бы от родителя — в широкой карточке рамка раздувалась). */
  --w: 236px;
  position: relative; width: var(--w); padding: calc(var(--w) * .027); border-radius: 15.5% / 7.4%;
  background: linear-gradient(145deg, #4a4d50 0%, #232527 30%, #36393b 65%, #17181a 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0b0b0c, 0 0 0 1px rgba(0, 0, 0, .55), 0 40px 80px rgba(0, 0, 0, .5), 0 12px 24px rgba(0, 0, 0, .3);
}
.iphone::before, .iphone::after { content: ''; position: absolute; width: 1.4%; border-radius: 2px; background: #3a3d40; }
/* Слева три кнопки: Action и громкость — одной полосой с прорезями. */
.iphone::before { left: -1.2%; top: 17%; height: 21%; background: linear-gradient(#3a3d40 0 18%, transparent 18% 32%, #3a3d40 32% 62%, transparent 62% 70%, #3a3d40 70%); }
.iphone::after { right: -1.2%; top: 26%; height: 10%; }
.iphone__screen {
  position: relative; aspect-ratio: 1179 / 2556; border-radius: 13% / 6%; overflow: hidden; background: #0e100f; color: var(--text);
  display: flex; flex-direction: column;
}
.iphone__screen--light { background: #f6f3ef; color: #1c1917; }
.iphone__status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 24px 0 30px; font-size: 13px; font-weight: 600; flex: none; }
.iphone__island { position: absolute; left: 50%; top: 10px; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; }
.iphone__icons { display: inline-flex; align-items: center; gap: 5px; }
.iphone__icons svg { fill: currentColor; color: currentColor; }
.iphone__home { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 3px; background: currentColor; opacity: .85; }

/* Общие детали карточек заказа (приложение доставки) */
.order { padding: 10px; border-radius: 12px; background: #1a1e1b; display: flex; flex-direction: column; gap: 7px; }
.order__row { display: flex; justify-content: space-between; gap: 8px; }
.order__eta { font-size: 10px; color: var(--muted); }
.ok { color: var(--accent); }
.progress { height: 4px; border-radius: 4px; background: #2a302c; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent-strong); }
.mock-phone__greet { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.avatar-dot { width: 24px; height: 24px; border-radius: 50%; background: #2a302c; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; font-weight: 700; color: var(--text); }
.mock-phone__h { margin: 14px 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.dapp { padding: 6px 14px 0; font-size: 11.5px; }

/* Чат WhatsApp */
.mock-chat { border-radius: 18px; background: #101311; border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); color: var(--text); font-size: 12px; }
.bubble { max-width: 82%; padding: 9px 12px; border-radius: 14px; line-height: 1.4; }
.bubble--out { align-self: flex-end; background: #1e6b3d; border-bottom-right-radius: 5px; }
.bubble--in { align-self: flex-start; background: #1c201d; border-bottom-left-radius: 5px; }
.bubble__note { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 10px; color: var(--dim); }
.mock-chat--salon { width: min(100%, 420px); overflow: hidden; }
.mock-chat__contact { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-chat__contact b { display: block; font-size: 13px; }
.mock-chat__contact small { color: var(--accent); font-size: 10.5px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #e9d5ff; color: #6b21a8; font-weight: 700; font-size: 12px; flex: none; }
.mock-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }

/* ── Секции ── */
.section { padding-block: clamp(56px, 7vw, 96px); }

/* Панели: каждая секция — скруглённый остров на чёрном фоне, между ними узкий зазор. */
.panel {
  position: relative; overflow: hidden; margin: 0 var(--panel-gap) 12px;
  padding-block: clamp(48px, 6vw, 88px); border-radius: var(--radius-lg); background: var(--panel);
}
.panel .section-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.panel--green {
  background:
    radial-gradient(55% 70% at 18% 22%, rgba(120, 190, 150, .55) 0%, transparent 70%),
    radial-gradient(60% 80% at 92% 100%, rgba(18, 70, 44, .9) 0%, transparent 70%),
    linear-gradient(135deg, #3f8560 0%, #2c6c4a 45%, #24603f 100%);
}
.panel--green > .container { position: relative; z-index: 1; }
.panel--green .feature__text p { color: rgba(255, 255, 255, .86); }
/* Светлая панель — как белые блоки на ziz.kz, ломает ритм тёмной страницы. */
.panel--light { background: #f1f3f2; color: #0b0d0c; }
.panel--light .section-head p { color: #59615c; }

/* Цифры */
.panel--stats { padding: 0; background: none; overflow: visible; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-lg); background: var(--panel); }
.stat__value { font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.stat__label { color: var(--muted); font-size: 14.5px; max-width: 240px; }

/* Услуги: 2×2, номер и цена сверху, чипы-состав, срок и кнопка снизу. */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: #2f5a41; transform: translateY(-3px); }
.service__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.service__num { font-size: 14px; font-weight: 600; color: var(--dim); }
.service__price { padding: 7px 14px; border-radius: var(--pill); background: rgba(74, 222, 128, .1); color: var(--accent); font-size: 14px; font-weight: 600; }
.service__title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.service__text { color: var(--muted); font-size: 15.5px; max-width: 480px; }
.service__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.service__term { font-size: 14px; color: var(--muted); }
.service__link { font-weight: 600; text-decoration: none; color: var(--text); }
.service__link span { display: inline-block; transition: transform .2s; }
.service:hover .service__link { color: var(--accent); }
.service:hover .service__link span { transform: translateX(4px); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list li { padding: 6px 12px; border-radius: var(--pill); background: var(--card-2); border: 1px solid var(--line); font-size: 13px; color: #cfd5d1; }
.chip-list--accent li { background: transparent; border-color: var(--line-2); color: var(--text); }
.integrations { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.integrations__label { font-size: 14px; color: var(--muted); }

/* Знакомо? */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pain { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pain p { display: flex; gap: 12px; align-items: flex-start; }
.pain__problem { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.pain__answer { color: #4a524d; font-size: 15px; padding-top: 16px; border-top: 1px solid #e6e9e7; }
.pain__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.pain__icon--no { background: #fde4e4; color: #d93636; }
.pain__icon--yes { background: #dcf7e6; color: #15803d; }

/* ИИ-агент */
.eyebrow-pill { align-self: flex-start; padding: 7px 14px; border-radius: var(--pill); background: rgba(10, 40, 24, .45); color: #d6f5e1; font-size: 14px; font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; color: #fff; }
.checks li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #1f6b44; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* Большой телефон «вырастает» из нижнего края панели: панель обрезает его низ,
   поэтому переписка крупная, а блок не растягивается по высоте. */
.ai-phone { position: relative; display: flex; justify-content: center; align-self: end; margin-bottom: calc(-1 * clamp(48px, 6vw, 88px)); }
.ai-phone__device { --w: clamp(300px, 29vw, 400px); margin-bottom: -22%; transform: rotate(-3deg); transform-origin: 50% 100%; }
.ai-phone__notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ai-note {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  border-radius: var(--pill); background: #fff; color: #0b0d0c; font-size: 15px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 18px 40px rgba(5, 30, 18, .35); animation: ai-float 6s ease-in-out infinite;
}
.ai-note__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #dcf7e6; color: #15803d; font-size: 15px; }
.ai-note--1 { top: 22%; left: -4%; }
.ai-note--2 { top: 42%; right: -2%; animation-delay: -2s; }
.ai-note--3 { top: 70%; left: 4%; animation-delay: -4s; }
@keyframes ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Процесс: таймлайн с крупными номерами и линией между шагами. */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.timeline__step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 2px solid var(--line-2); }
.timeline__step::before { content: ''; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 5px rgba(34, 197, 94, .18); }
.timeline__num { font-size: clamp(40px, 4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #2a302c; }
.timeline__title { font-size: 19px; line-height: 1.2; }
.timeline__step p { color: var(--muted); font-size: 14.5px; }
.panel-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); background: var(--card); }
.panel-cta p { font-size: 17px; font-weight: 600; max-width: 560px; }

/* ── Проверка сайта ── */
/* Цвета оценок — как у Google Lighthouse, их узнают те, кто видел PageSpeed. */
:root { --score-good: #0cce6b; --score-average: #ffa400; --score-poor: #ff4e42; }
.check-hero .hero__panel { min-height: 0; }
.check-hero__inner {
  position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px);
}
.check-hero__inner .eyebrow-pill { align-self: center; margin-bottom: 22px; }
.check-hero__title { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; color: #fff; }
.check-hero .hero__lead { margin: 20px auto 30px; max-width: 620px; }
.check-form { display: flex; gap: 8px; width: 100%; max-width: 620px; padding: 6px; border-radius: var(--pill); background: #fff; box-shadow: 0 24px 60px rgba(5, 30, 18, .35); }
.check-form__input {
  flex: 1; min-width: 0; padding: 0 20px; border: 0; border-radius: var(--pill); background: transparent;
  color: #0b0d0c; font: 500 17px/1 var(--font);
}
.check-form__input:focus { outline: none; }
.check-form__input::placeholder { color: #8a918d; }
.check-form__btn { flex: none; min-height: 52px; }
.check-hero .check-form__btn { background: #0b0d0c; color: #fff; }
.check-hero .check-form__btn:hover { background: #24603f; }
.check-form:focus-within { box-shadow: 0 0 0 3px rgba(180, 240, 200, .6), 0 24px 60px rgba(5, 30, 18, .35); }
.check-form__error { margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 78, 66, .16); color: #ffd2cf; font-weight: 500; }

/* Окно проверки — по образцу модалки qaryzjoq (узкая карточка, размытое пятно
   сверху, одна колонка), но в палитре блока «Бесплатный инструмент»: графит,
   зелёное свечение и тонкая зелёная обводка. */
.check-dialog {
  width: min(520px, calc(100vw - 24px)); max-width: none; max-height: none; margin: auto; padding: 0;
  border: 0; background: transparent; overflow: visible;
}
.check-dialog[open] { animation: dialog-in .32s cubic-bezier(.22, .8, .3, 1) both; }
.check-dialog::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(8px); animation: dialog-fade .25s ease both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dialog-fade { from { opacity: 0; } to { opacity: 1; } }
html:has(.check-dialog[open]) { overflow: hidden; }

.check-sheet {
  --ink: var(--text); --body: var(--muted); --soft: rgba(34, 197, 94, .09); --hair: var(--line-2);
  --good: var(--score-good); --average: var(--score-average); --poor: var(--score-poor);
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--ink);
  background: radial-gradient(90% 60% at 100% 0%, rgba(34, 197, 94, .16), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 1px #24503a, 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.check-dialog .check-sheet { max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
/* Размытое пятно в цветах eGile — вместо жёлто-зелёной «молнии» qaryzjoq. */
.check-sheet__blob {
  position: absolute; top: -150px; left: 50%; width: 460px; height: 300px; transform: translateX(-50%) rotate(-12deg);
  background: radial-gradient(closest-side at 35% 55%, #4ade80, transparent), radial-gradient(closest-side at 68% 40%, #b4f0c8, transparent);
  filter: blur(40px); opacity: .22; pointer-events: none;
}
.check-sheet__close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--hair); border-radius: 50%; background: var(--card-2); color: var(--body); font-size: 22px; line-height: 1; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.check-sheet__close:hover { color: var(--ink); border-color: var(--accent); }
.check-sheet__body { position: relative; z-index: 2; padding: 38px 34px 30px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.check-sheet__body:focus { outline: none; }
.check-sheet__body::-webkit-scrollbar { width: 0; }
.check-sheet a { color: var(--ink); }

/* Ожидание: спиннер и шаги, которые по очереди становятся галочками. */
.check-loading { padding: 12px 0 6px; text-align: center; }
.check-loading__spinner {
  display: block; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  border: 4px solid var(--soft); border-top-color: var(--good); animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.check-loading__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.check-loading__title b { display: block; color: var(--good); word-break: break-all; }
.check-steps { display: grid; gap: 10px; max-width: 320px; margin: 24px auto 20px; text-align: left; }
.check-steps li { position: relative; padding-left: 32px; color: var(--dim); font-weight: 500; transition: color .3s; }
.check-steps li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--hair); box-sizing: border-box; display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.check-steps li.is-current { color: var(--ink); }
.check-steps li.is-current::before { border-color: var(--good); border-top-color: transparent; animation: spin .9s linear infinite; }
.check-steps li.is-done { color: var(--body); }
.check-steps li.is-done::before { content: '\2713'; border-color: var(--good); background: var(--good); color: var(--accent-ink); }
.check-loading__note { font-size: 13px; color: var(--body); }

/* Отчёт */
.check-report { text-align: left; }
.check-report__for { padding-right: 44px; font-size: 13.5px; color: var(--body); word-break: break-all; }
.check-report__for a { font-weight: 700; }
.ring--good { --ring: var(--good, var(--score-good)); }
.ring--average { --ring: var(--average, var(--score-average)); }
.ring--poor { --ring: var(--poor, var(--score-poor)); }
.ring--na { --ring: var(--dim); }
.check-summary { display: flex; align-items: center; gap: 22px; margin: 18px 0 20px; text-align: left; }
.check-summary__text { flex: 1; min-width: 0; }
.check-main__ring { position: relative; flex: none; width: 112px; }
.check-main__ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.ring__track, .ring__value { fill: none; stroke-width: 8; }
.ring__track { stroke: var(--soft); }
.ring__value { stroke: var(--ring); stroke-linecap: round; stroke-dasharray: var(--score) 100; animation: ring-fill 1.2s cubic-bezier(.2, .8, .2, 1) .2s backwards; }
/* Итоговая дуга задана сразу — анимация только «дорисовывает» её от нуля. */
@keyframes ring-fill { from { stroke-dasharray: 0 100; } }
.check-main__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 38px; font-weight: 800; letter-spacing: -0.04em; color: var(--ring); }
.check-report__verdict { margin: 0 0 12px; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.check-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.check-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--body); }
.check-chip__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ring); }
.check-chip b { color: var(--ring); font-weight: 800; }
.check-insights { padding: 18px 20px; border-radius: 16px; background: var(--soft); border: 1px solid rgba(34, 197, 94, .18); text-align: left; }
.check-insights__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px; }
.check-insights ul { display: grid; gap: 10px; }
.check-insights li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: #d5dbd7; }
.check-insights li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ring, var(--average)); }
.check-details { margin-top: 10px; text-align: left; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); }
.check-details summary { padding: 16px 20px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.check-details summary::-webkit-details-marker { display: none; }
.check-details summary::after { content: '+'; color: var(--body); font-weight: 400; font-size: 18px; line-height: 1; }
.check-details[open] summary::after { content: '\2212'; }
/* Содержимое раскрытых деталей — с теми же боковыми отступами, что у заголовка. */
.check-details .metrics { margin: 0 20px; padding-top: 4px; border-top: 1px solid var(--hair); }
.check-details .opportunities { margin: 0 20px; }
.check-details__title { margin: 22px 20px 8px; font-size: 13px; font-weight: 700; }
.check-details__source { margin: 14px 20px 18px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--body); }
.check-sheet .metrics { display: flex; flex-direction: column; }
.check-sheet .metric { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.check-sheet .metric:last-child { border-bottom: 0; }
.check-sheet .metric dt { display: flex; align-items: center; gap: 9px; color: var(--body); }
.check-sheet .metric dt::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.check-sheet .metric dd { margin: 0; font-weight: 700; }
.check-sheet .metric--good dt::before { background: var(--good); }
.check-sheet .metric--average dt::before { background: var(--average); }
.check-sheet .metric--poor dt::before { background: var(--poor); }
.check-sheet .metric--poor dd { color: var(--poor); }
.check-sheet .opportunities { counter-reset: opp; }
.check-sheet .opportunities li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 13.5px; counter-increment: opp; color: #d5dbd7; }
.check-sheet .opportunities li span::before { content: counter(opp) '. '; color: var(--body); }
.check-sheet .opportunities li:last-child { border-bottom: 0; }
.check-sheet .opportunities b { flex: none; color: var(--average); font-size: 13px; white-space: nowrap; }
.check-report--error { padding: 18px 0 4px; text-align: center; }
.check-report__error-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 78, 66, .14); color: var(--poor); font-size: 28px; font-weight: 800; }
.check-report__error { margin: 16px auto 22px; max-width: 380px; font-size: 16px; font-weight: 500; }

/* Форма разбора */
.check-cta { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--hair); text-align: left; }
.check-cta__title { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }
.check-cta__text { color: var(--body); font-size: 14.5px; margin-bottom: 18px; }
.check-cta__form { display: flex; flex-direction: column; gap: 14px; }
.check-sheet .label { color: var(--ink); }
.check-sheet .field input { background: #151816; border-color: var(--hair); color: var(--ink); }
.check-sheet .field input::placeholder { color: var(--dim); }
.check-sheet .field input:focus { border-color: var(--accent-strong); }
.check-sheet .form-consent { color: var(--body); }
.check-sheet .form-consent a { color: var(--ink); }
.check-sheet .field-error { color: var(--poor); }
.check-done { text-align: center; padding: 6px 0; }
.check-done__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent-strong); color: var(--accent-ink); }
.check-done__icon svg { width: 26px; height: 26px; }
.check-done p { color: var(--body); }
.check-done__close { margin-top: 20px; }

/* Отчёт по ссылке ?id= — та же карточка по центру страницы. */
.check-page-report { padding: 12px var(--panel-gap) 40px; }
.check-page-report .check-sheet { max-width: 560px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) {
  .check-dialog[open], .check-dialog::backdrop { animation: none; }
}

/* Приглашение на главной: тёмная панель с зелёной обводкой. */
.check-teaser { background: radial-gradient(60% 120% at 100% 0%, rgba(34, 197, 94, .16), transparent 60%), var(--panel); box-shadow: inset 0 0 0 1px #24503a; padding-block: clamp(40px, 5vw, 64px); }
.check-teaser__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.check-teaser__grid p { margin-top: 14px; color: var(--muted); max-width: 480px; }
.check-teaser__eyebrow { display: inline-block; margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 600; }
.check-form--teaser { box-shadow: none; }

/* Вопросы: заголовок слева, ответы справа. */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq-grid__head p { color: var(--muted); max-width: 360px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); max-width: 560px; font-size: 16.5px; }
.section-head--center { text-align: center; align-items: center; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head--split p { max-width: 400px; }
h2.section-head--center { margin-bottom: clamp(28px, 4vw, 44px); }

/* Команда */
.team__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 48px); align-items: center; }
.team__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.team__text p { color: var(--muted); font-size: 16.5px; max-width: 440px; }
.team__text .team__product { color: var(--text); padding-left: 16px; border-left: 2px solid var(--accent-strong); }
.team__text .btn { margin-top: 6px; min-height: 46px; font-size: 15px; }
.team__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card-2); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e9ecea, #cfd5d1); }
.badge-pill { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: rgba(16, 19, 17, .88); font-size: 13px; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Карточки */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card__title { font-size: 19px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Блоки «текст + иллюстрация» */
.feature__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__text { display: flex; flex-direction: column; gap: 22px; }
.feature__text p { color: var(--muted); font-size: 16.5px; max-width: 470px; }
.order--track { border: 1px solid #23503a; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tile { padding: 10px; border-radius: 12px; background: #1a1e1b; display: flex; flex-direction: column; gap: 4px; }
.tile small { color: var(--muted); font-size: 10px; }
.tile b { font-size: 16px; }
.tile--wide { margin-top: 8px; }
.tile--wide b { font-size: 12px; }
.kaspi { color: var(--kaspi); }

/* Работы */
.work { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work--wide { margin-bottom: 14px; }
/* Витрина eGile.kz: CRM в окне браузера и ИИ-ассистент на iPhone поверх угла. */
.work__showcase { position: relative; display: block; height: clamp(300px, 34vw, 470px); overflow: hidden; background: radial-gradient(70% 120% at 30% 0%, #4c9a6c 0%, transparent 70%), linear-gradient(160deg, #23603f, #10301f); }
.browser--hero { left: 6%; right: 24%; top: 9%; }
.work__showcase .iphone--showcase { --w: clamp(150px, 15vw, 220px); position: absolute; right: 6%; top: 12%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.work__showcase:hover .browser { transform: translateY(-6px); }
.work__showcase:hover .iphone--showcase { transform: translateY(-12px); }
.work__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 22px 24px 24px; }
.work__body--stack { flex-direction: column; align-items: flex-start; height: 100%; min-height: 200px; }
.work__body--center { justify-content: center; }
.work__title { font-size: 22px; margin-bottom: 10px; }
.work__title a { text-decoration: none; }
.work__title a:hover { color: var(--accent); }
.work__body p { color: var(--muted); font-size: 14.5px; max-width: 560px; }
/* Кейсы: сайт — окно браузера с десктопом + iPhone с мобильной версией;
   приложение — скриншот в iPhone. Фон карточки — в цвете проекта. */
.cases { display: grid; gap: 14px; margin-top: 14px; }
.cases--sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cases--apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case__visual { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; text-decoration: none; }
.case__visual--sky { background: radial-gradient(90% 90% at 20% 0%, #4f8fc4 0%, transparent 70%), linear-gradient(160deg, #24557f, #102a42); }
.case__visual--blue { background: radial-gradient(90% 90% at 20% 0%, #5579d6 0%, transparent 70%), linear-gradient(160deg, #27458f, #111f45); }
.case__visual--lime { background: radial-gradient(90% 90% at 20% 0%, #78b85a 0%, transparent 70%), linear-gradient(160deg, #346b27, #142a10); }
.case__visual--stone { background: radial-gradient(90% 90% at 20% 0%, #a8907a 0%, transparent 70%), linear-gradient(160deg, #5c4d40, #241d18); }

.browser {
  position: absolute; left: 7%; right: 7%; top: 9%; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 24px 50px rgba(0, 0, 0, .4);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.browser__bar { display: flex; align-items: center; gap: 10px; height: 24px; padding: 0 10px; background: linear-gradient(#f3f3f3, #e6e6e6); border-bottom: 1px solid #d6d6d6; }
.browser__dots { display: inline-flex; gap: 5px; }
.browser__dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; max-width: 46%; margin: 0 auto; padding: 2px 10px; border-radius: 6px; background: #fff; color: #555; font-size: 10px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.iphone__shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__visual:hover .browser, .case__visual:focus-visible .browser { transform: translateY(-6px); }

.case--app .case__visual { aspect-ratio: auto; height: clamp(380px, 32vw, 460px); display: flex; justify-content: center; align-items: flex-start; padding-top: 34px; }
.case .iphone--shot { --w: clamp(180px, 15vw, 220px); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.case--app:hover .iphone--shot { transform: translateY(-8px); }

.case__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.case__body p { color: var(--muted); font-size: 14.5px; }
.case__body .tags { margin-top: auto; padding-top: 4px; }
.case__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 20px; }
.case__title a { text-decoration: none; }
.case__title a:hover { color: var(--accent); }
.case__domain { font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.case--cta { display: flex; }
.case--cta .work__body { flex: 1; min-height: 0; }
.work--cta { background: transparent; border-style: dashed; border-color: var(--line-2); }
.work--cta .link-accent { margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
.tags li { padding: 5px 10px; border-radius: 8px; background: var(--card-2); font-size: 12px; color: var(--muted); }


/* Цены */
/* Строки карточек общие (subgrid): заголовок, описание, цена, кнопка и
   примечание стоят на одном уровне, даже если текст в одной длиннее. */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.price { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 26px 22px; }
.price--featured { border-color: #2f7550; background: linear-gradient(180deg, #13261b, var(--card)); }
.price__title { font-size: 22px; line-height: 1.2; }
.price__subtitle { margin-top: 10px; }
.price .price__value { align-self: end; margin: 22px 0 18px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; color: var(--text) !important; }
.price .btn { min-height: 48px; }
.price .price__note { margin-top: 18px; font-size: 13px; }
.guarantees { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; color: var(--muted); font-size: 14px; }

/* Вопросы */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; flex: none; width: 24px; text-align: center; font-weight: 400; font-size: 22px; color: var(--muted); }
.faq__item[open] .faq__q::after { content: '\2212'; }
.faq__q:hover { color: var(--accent); }
.faq__a { padding: 0 40px 24px 0; color: var(--muted); max-width: 680px; }

/* Заявка */
.contact {
  background:
    radial-gradient(60% 80% at 22% 55%, rgba(110, 175, 135, .55) 0%, transparent 70%),
    linear-gradient(135deg, #2c6c4a 0%, #24603f 60%, #1d5236 100%);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__lead { margin: 22px 0 26px; font-size: 17px; color: rgba(255, 255, 255, .86); max-width: 440px; }
.founder { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--radius); background: rgba(10, 30, 19, .42); max-width: 460px; }
.founder__photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; background: #d9dfdb; }
.founder__quote p { font-size: 15px; font-weight: 500; }
.founder__quote footer { margin-top: 6px; font-size: 13px; color: var(--accent); }
.contact__links { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; font-weight: 600; }
.contact__links a { text-decoration: none; }
.contact__links a:hover { color: var(--accent); }
.contact__city { font-weight: 500; color: rgba(255, 255, 255, .8); }
.contact__form { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--radius); background: #0c0e0d; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--dim); }
.chip input:checked + span { background: #fff; color: #0a0a0a; border-color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #151816;
  color: var(--text); font: 400 15px/1.4 var(--font); transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-strong); }
.field input[aria-invalid="true"] { border-color: #ef4444; }
.field-error { margin-top: 6px; font-size: 13px; color: #f87171; }
.form-consent { text-align: center; font-size: 12px; color: var(--dim); }
.form-consent a { color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 28px 8px; text-align: center; }
.form-success__title { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.form-success p:last-child { color: var(--muted); }

/* Подвал */
.site-footer { background: #161817; padding-block: 64px 32px; overflow: hidden; }
.site-footer .container { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer__about p { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 300px; }
.site-footer__title { font-size: 12.5px; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-bottom: 14px; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { text-decoration: none; font-size: 15px; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__city { font-size: 14px; color: var(--muted); }
.site-footer__wordmark { margin: 40px 0 8px; text-align: center; font-weight: 800; letter-spacing: -0.05em; line-height: .9; font-size: clamp(72px, 17vw, 210px); color: #202322; user-select: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.site-footer__legal { display: flex; gap: 8px; }
.site-footer__legal a { text-decoration: none; color: var(--muted); }
.site-footer__legal a:hover { color: var(--text); }

/* ── Плавающая связь ── */
.fab { position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.fab__toggle {
  width: 60px; height: 60px; border-radius: 50%; list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-strong); color: #fff;
  box-shadow: 0 10px 28px rgba(34, 197, 94, .35), 0 4px 10px rgba(0, 0, 0, .3);
  transition: transform .2s, background-color .2s;
}
.fab__toggle::-webkit-details-marker { display: none; }
.fab__toggle:hover { transform: scale(1.05); }
.fab__icon-close { display: none; }
.fab[open] .fab__toggle { background: #fff; color: #0a0a0a; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.fab[open] .fab__icon-open { display: none; }
.fab[open] .fab__icon-close { display: block; }
.fab__list { position: absolute; right: 2px; bottom: 100%; display: flex; flex-direction: column-reverse; gap: 12px; padding-bottom: 14px; }
.fab__item {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .15s;
}
.fab__item:hover { transform: scale(1.06); }
.fab__item svg { display: block; }
.fab__item--wa { background: #25d366; }
/* Звонок — зелёный, но темнее WhatsApp, чтобы кнопки не сливались. */
.fab__item--call { background: #15803d; }
.fab__item--tg { background: #2aabee; }
.fab[open] .fab__list li { animation: fab-in .22s cubic-bezier(.2, .9, .3, 1.2) both; }
.fab[open] .fab__list li:nth-child(2) { animation-delay: .04s; }
.fab[open] .fab__list li:nth-child(3) { animation-delay: .08s; }
@keyframes fab-in { from { opacity: 0; transform: translateY(12px) scale(.8); } to { opacity: 1; transform: none; } }
/* Юридические страницы */
.legal .h1 { margin-bottom: 16px; }
.legal p { color: var(--muted); }
.legal__meta { margin-bottom: 12px; }
.legal__note { margin-top: 28px; padding: 16px; border-radius: var(--radius-sm); background: var(--card); font-size: 14px; }

/* ── Адаптив ── */
@media (max-width: 1180px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav__list { gap: 24px; }
  /* Между десктопом и мобильным меню места на номер нет — он остаётся в подвале и кнопке связи. */
  .header-contact { display: none; }
}

@media (max-width: 980px) {
  .hero__grid, .team__grid, .feature__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__art {
    position: relative; top: auto; left: auto; justify-self: center;
    width: calc(100% + 160px); max-width: none; margin: 0 -80px -28px;
    transform: none; -webkit-mask-image: none; mask-image: none;
  }
  .faq-grid { grid-template-columns: 1fr; }
  .check-teaser__grid { grid-template-columns: 1fr; }
  .faq-grid__head { position: static; }
  .ai-phone { margin-top: 12px; }
  .ai-phone__device { --w: min(78vw, 340px); }
  .cases--apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--cta { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }

  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 80px 0 auto 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px; background: rgba(10, 10, 10, .97); border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 4px; margin: 0; }
  .site-nav__list a { display: block; padding: 12px 0; font-size: 18px; }
  .site-nav__actions .btn { flex: 1; min-height: 48px; }
  .site-nav__actions { flex-wrap: wrap; }
  .header-contact { display: flex; flex-basis: 100%; align-items: flex-start; gap: 4px; margin: 0 0 6px; }
  .header-contact__phone { font-size: 20px; }
  .header-contact__wa { font-size: 15px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .site-header__inner { min-height: 68px; }
  .site-nav { inset: 68px 0 auto 0; }
  /* На телефоне плашки не налезают на переписку: встают строкой над ним. */
  .ai-phone { flex-direction: column; align-items: center; gap: 22px; }
  .ai-phone__notes { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .ai-note { position: static; font-size: 13px; padding: 6px 12px 6px 6px; animation: none; box-shadow: none; }
  .ai-note__icon { width: 24px; height: 24px; font-size: 12px; }
  .ai-phone__device { transform: none; }
  .services, .pains, .cases--sites, .cases--apps, .prices, .form-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 32px; }
  .check-form { flex-direction: column; border-radius: var(--radius); }
  .check-form__input { min-height: 52px; }
  .opportunities li { flex-direction: column; gap: 4px; }
  .check-sheet__body { padding: 34px 20px 24px; }
  .check-summary { gap: 16px; }
  .check-main__ring { width: 88px; }
  .check-main__num { font-size: 30px; }
  .check-report__verdict { font-size: 19px; }
  .check-sheet__close { top: 12px; right: 12px; }
  .panel { border-radius: var(--radius); }
  .case--cta { grid-column: auto; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .work__body { flex-direction: column; align-items: flex-start; }
  .work__body--stack { min-height: 0; }
  .founder { flex-direction: column; align-items: flex-start; }
  .faq__a { padding-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
