/* ===== Variables ===== */
:root {
  --bg: #0a0a0a;
  --bg-muted: #101010;
  --panel: #151515;
  --text: #f0f0f0;        /* почти белый — заголовки */
  --text-soft: #9b9b9b;   /* приглушённый текст */
  --line: #262626;        /* тонкие границы */
  --accent: #e6e6e6;
  --accent-2: #a5a5a5;
  --accent-ink: #ffffff;  /* акцентный текст на тёмном */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 22px 55px -22px rgba(0, 0, 0, .8);
  --shadow-soft: 0 14px 34px -18px rgba(0, 0, 0, .7);
  --glow: 0 14px 40px -12px rgba(255, 255, 255, .18);
  --maxw: 1140px;
  --grad: linear-gradient(120deg, #ffffff, #b9b9b9);
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Manrope", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  overscroll-behavior-y: none;
}
body {
  font-family: var(--font-sans);
  color: var(--text-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

/* Дисплейный шрифт для заголовков */
.hero__title, .section__title, .cta__title,
.feature__title, .card__title, .step__title,
.about__quote, .quote__text, .logo__text,
.stat__num, .brand-lockup__name {
  font-family: var(--font-display);
}

/* Моно-шрифт для служебных подписей и тегов */
.hero__eyebrow, .section__eyebrow, .feature__tag,
.feature__badge, .stat__label, .form__note, .footer__copy {
  font-family: var(--font-mono);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: rgba(255, 255, 255, .22); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #0a0a0a; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -12px rgba(255, 255, 255, .28); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn--full { width: 100%; white-space: normal; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  background: rgba(10, 10, 10, .92);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, backdrop-filter .3s ease;
}
.header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * env(safe-area-inset-top, 0px) - 120px);
  height: calc(env(safe-area-inset-top, 0px) + 120px);
  background: #0a0a0a;
  pointer-events: none;
  z-index: -1;
}
.header.scrolled {
  background: rgba(10, 10, 10, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; color: var(--text); }
.logo__img {
  width: 42px; height: 42px; display: block; background: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55));
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.logo:hover .logo__img { transform: rotate(-6deg) scale(1.06); }
.logo__text { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.logo__text b { color: var(--accent-ink); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-weight: 500; color: var(--text-soft);
  padding: 10px 12px; border-radius: 999px; white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--text); background: var(--panel); }
.nav__link--btn {
  color: #0a0a0a; background: var(--grad); margin-left: 6px; font-weight: 700;
}
.nav__link--btn:hover { color: #0a0a0a; background: var(--grad); box-shadow: var(--glow); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .3s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -25% -10% auto -10%; height: 720px; z-index: -1;
  overflow: hidden; filter: blur(10px);
}
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%;
  mix-blend-mode: screen; will-change: transform;
}
.hero__bg::before {
  width: 620px; height: 620px; top: -8%; left: 8%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent 70%);
  animation: aurora1 18s ease-in-out infinite;
}
.hero__bg::after {
  width: 560px; height: 560px; top: 4%; right: 6%;
  background: radial-gradient(closest-side, rgba(190, 210, 255, .12), transparent 70%);
  animation: aurora2 22s ease-in-out infinite;
}
@keyframes aurora1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(90px, 50px, 0) scale(1.15); }
}
@keyframes aurora2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.1); }
  50% { transform: translate3d(-80px, 40px, 0) scale(.9); }
}

/* Заголовок героя: построчное появление с blur */
.hero__title .line { display: block; }
.hero__title .line { opacity: 0; transform: translateY(28px); filter: blur(10px); }
.no-anim .hero__title .line { opacity: 1; transform: none; filter: none; }
.hero__title .line { animation: heroLine .95s cubic-bezier(.2, .75, .25, 1) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .12s; }
.hero__title .line:nth-child(2) { animation-delay: .32s; }
@keyframes heroLine { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  font-size: 12.5px; color: var(--accent-ink);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 15px 7px 12px; border-radius: 999px;
}
.hero__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
  animation: livePulse 2.4s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero__col { max-width: 760px; }
.hero__title { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; margin: 22px 0; color: var(--text); }
.grad {
  background: linear-gradient(100deg, #9a9a9a 0%, #ffffff 25%, #9a9a9a 50%, #ffffff 75%, #9a9a9a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: background-position;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: -200% 0; } }
.hero__lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-soft); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 52px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--text-soft); font-size: 15px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section--muted { background: var(--bg-muted); }
.section__head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  font-size: 12px; color: var(--accent-ink);
}
.section__head .section__eyebrow { justify-content: center; }
.section__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent-2);
}
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 16px; line-height: 1.12; color: var(--text); }
.section__lead { color: var(--text-soft); font-size: 18px; }

/* ===== Fold sections (услуги / проекты) ===== */
.fold__toggle {
  width: 100%; max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fold__toggle:hover {
  border-color: rgba(255, 255, 255, .32);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.fold.is-open .fold__toggle {
  border-color: rgba(255, 255, 255, .28);
  margin-bottom: 36px;
}
.fold__copy { display: grid; gap: 6px; min-width: 0; }
.fold__toggle .section__eyebrow { justify-content: flex-start; }
.fold__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 36px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15; color: var(--text);
}
.fold__hint {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-soft);
}
.fold.is-open .fold__hint { color: var(--accent-ink); }
.fold__chevron {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); position: relative;
}
.fold__chevron::before,
.fold__chevron::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; background: #0a0a0a; border-radius: 2px;
  transition: transform .25s ease;
}
.fold__chevron::before { transform: translate(-50%, -50%) rotate(90deg); }
.fold__chevron::after { transform: translate(-50%, -50%); }
.fold.is-open .fold__chevron::before { transform: translate(-50%, -50%) rotate(0deg); }
.fold__panel[hidden] { display: none !important; }
.fold__lead { text-align: center; max-width: 680px; margin: 0 auto 40px; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about .section__lead { margin-bottom: 16px; }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--grad); color: #0a0a0a; border-radius: 8px; font-size: 13px; font-weight: 800;
}
.about__card {
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about__card::before {
  content: ""; position: absolute; inset: auto -30% -40% auto; width: 320px; height: 320px;
  background: var(--grad); filter: blur(70px); opacity: .12;
}
.about__cardInner { position: relative; }
.about__quoteMark { font-size: 72px; line-height: .6; color: var(--accent); font-weight: 800; }
.about__quote { font-size: 20px; font-weight: 600; margin: 14px 0 28px; color: var(--text); }
.about__author { display: flex; align-items: center; gap: 14px; }
.about__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); flex: none; }
.about__author b { display: block; color: var(--text); }
.about__author span { color: var(--text-soft); font-size: 14px; }

/* ===== Cards (services) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 15px; row-gap: 5px; align-items: start;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 255, 255, .32); }
.card__icon {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; color: #0a0a0a; background: var(--grad); margin: 0;
  box-shadow: 0 10px 24px -10px rgba(255, 255, 255, .22);
}
.card__title { font-size: 18px; font-weight: 700; margin: 0; color: var(--text); align-self: center; }
.card__text { grid-column: 2; color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }

/* ===== Steps (process) ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; position: relative;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 5px; align-items: start;
}
.step__num {
  grid-row: 1 / span 2; font-size: 14px; font-weight: 800; color: #0a0a0a; background: var(--grad);
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin: 0;
}
.step__title { font-size: 17px; font-weight: 700; margin: 0; color: var(--text); align-self: center; }
.step__text { grid-column: 2; color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }

/* ===== Support / pricing ===== */
.support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.support__card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.support__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255, 255, 255, .32); }
.support__tag {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; color: var(--text-soft);
}
.support__price {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(34px, 5vw, 46px); line-height: 1.05; color: var(--text);
  margin: 10px 0 14px;
}
.support__price small { font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--text-soft); }
.support__hint {
  display: block; margin: -6px 0 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-soft);
}
.support__text { color: var(--text-soft); font-size: 15px; line-height: 1.55; }

.support__card--accent { border-color: rgba(255, 255, 255, .28); }
.support__card--accent::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 240px;
  background: var(--grad); filter: blur(80px); opacity: .12; pointer-events: none;
}
.support__card--accent .support__price { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.support__note { text-align: center; color: var(--text-soft); font-size: 14px; margin-top: 22px; }

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.news-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.news-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #111; }
.news-card__body { padding: 22px 22px 24px; display: grid; gap: 8px; }
.news-card__title { font-family: var(--font-display); font-size: 20px; color: var(--text); letter-spacing: -.01em; }
.news-card__text { color: var(--text-soft); font-size: 14.5px; line-height: 1.5; }

/* ===== Works ===== */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__thumb { height: 240px; background: var(--g, var(--grad)); position: relative; }
.work__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 45%);
}
.work__meta { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.work__meta h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.work__meta span { color: var(--text-soft); font-size: 14px; }
.works__note { text-align: center; color: var(--text-soft); font-size: 14px; margin-top: 28px; }

/* ===== Feature (projects) ===== */
.features { display: grid; gap: 20px; }
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: inherit;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(255, 255, 255, .32); }
@media (min-width: 901px) {
  .feature--reverse { grid-template-columns: 1fr 1.05fr; }
  .feature--reverse .feature__visual { order: 2; }
}
.feature__visual {
  position: relative; min-height: 320px;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(135deg, #4a4a4a, #2a2a2a 55%, #171717);
  display: grid; place-items: center;
}
.feature__logo {
  font-size: 56px; font-weight: 800; color: #fff; letter-spacing: .02em;
  text-shadow: 0 6px 30px rgba(0,0,0,.4);
}
.feature__badge {
  position: absolute; z-index: 2; top: 20px; left: 20px;
  background: rgba(255,255,255,.95); color: #111; font-weight: 700;
  font-size: 13px; padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.feature__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.feature__img--logo { object-fit: contain; object-position: center; background: #e6dfd7; }
.feature:hover .feature__img { transform: scale(1.04); }

/* Брендовая плашка проекта (лого + название на чёрном) */
.feature__visual--brand { background: #000; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand-lockup__mark { width: 88px; height: 88px; border-radius: 20px; display: block; }
.brand-lockup__name { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.feature__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feature__tag { color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.feature__title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 14px; color: var(--text); }
.feature__text { color: var(--text-soft); margin-bottom: 22px; }
.feature__link { font-weight: 700; color: var(--accent-ink); }
.feature:hover .feature__link { text-decoration: underline; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact__list { margin-top: 30px; display: grid; gap: 16px; }
.contact__list li { display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--text-soft); font-size: 14px; }
.contact__list a { font-weight: 600; font-size: 18px; color: var(--text); }
.contact__list a:hover { color: var(--accent-ink); }
.contact__wa {
  font-size: 14px !important; font-weight: 600; color: var(--accent-ink) !important;
  margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; width: fit-content;
}
.contact__wa:hover { text-decoration: underline; }

.form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-soft); min-width: 0;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #0e0e0e; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #6b6b6b; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #101010;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.field__hint {
  margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--text-soft);
}
.field__optional {
  font-weight: 500; font-size: 12px; color: var(--text-soft); margin-left: 4px;
}

.channel { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.channel legend {
  font-weight: 600; font-size: 14px; margin-bottom: 10px; color: var(--text);
}
.channel__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0e0e0e;
}
.channel__option {
  display: flex; align-items: center; justify-content: center;
  margin: 0; cursor: pointer; user-select: none; min-width: 0;
  position: relative;
}
.channel__option + .channel__option {
  border-left: 1px solid var(--line);
}
.channel__option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.channel__option span {
  width: 100%; text-align: center;
  padding: 12px 6px; font-size: 13px; font-weight: 600; color: var(--text-soft);
  line-height: 1.2; transition: color .2s ease, background .2s ease;
}
.channel__option:hover span { color: var(--text); background: rgba(255,255,255,.03); }
.channel__option input:checked + span {
  color: #0a0a0a; background: #fff;
}
.channel__option input:focus-visible + span {
  outline: 2px solid rgba(255,255,255,.55); outline-offset: -2px;
}
.form__status { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--accent-ink); min-height: 22px; }

/* ===== Footer ===== */
.footer { background: #000; color: #fff; padding: 56px 0 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__logo img { width: 168px; height: 168px; display: block; }
.footer__tagline { color: #cfcfcf; margin-top: -8px; }
.footer__copy { color: #777; font-size: 14px; }

/* ===== Hero trust chips ===== */
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__trust li {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 500; color: var(--text-soft); background: rgba(255,255,255,.02);
}

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 26px; }
.faq__q {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--text);
  font-size: 18px; padding: 20px 34px 20px 0; position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; line-height: 1; color: var(--accent-ink); font-weight: 400;
}
.faq__item[open] .faq__q::after { content: "\2013"; }
.faq__a { color: var(--text-soft); padding: 0 0 22px; margin: 0; }

/* ===== CTA band ===== */
.cta { padding: 44px 0 12px; }
.cta__inner {
  background: linear-gradient(180deg, #151515, #0e0e0e);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 52px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; inset: auto 25% -60% 25%; height: 220px;
  background: var(--grad); filter: blur(80px); opacity: .1;
}
.cta__title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--text); letter-spacing: -.02em; position: relative; }
.cta__text { color: var(--text-soft); max-width: 560px; margin: 12px auto 0; position: relative; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; position: relative; }

/* ===== Form note ===== */
.form__note { margin-top: 12px; font-size: 13px; color: var(--text-soft); text-align: center; }
.form__note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Consent checkbox ===== */
.check {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 6px 0 20px; cursor: pointer;
  font-size: 13.5px; line-height: 1.45; color: var(--text-soft);
}
.check input {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  accent-color: #fff; cursor: pointer;
}
.check a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { opacity: .85; }

/* ===== Legal pages ===== */
.legal-page .header { position: sticky; }
.legal { padding: 48px 0 80px; }
.legal__inner { max-width: 760px; }
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -.02em; color: var(--text); margin: 12px 0 10px; line-height: 1.15;
}
.legal__meta { color: var(--text-soft); font-size: 14px; margin-bottom: 36px; }
.legal__body { color: var(--text-soft); font-size: 16px; line-height: 1.65; }
.legal__body h2 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 32px 0 12px; letter-spacing: -.01em;
}
.legal__body p { margin-bottom: 14px; }
.legal__body ul, .legal__body ol { margin: 0 0 16px 1.2em; display: grid; gap: 8px; }
.legal__body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__body strong { color: var(--text); font-weight: 700; }
.legal__note {
  margin-top: 28px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); font-size: 14px;
}
.legal__quote {
  margin: 16px 0 24px; padding: 18px 20px;
  border-left: 2px solid rgba(255,255,255,.35);
  background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text); font-size: 15px;
}
.legal__form { margin: 24px 0 32px; }

.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px;
  margin: 18px 0 8px;
}
.footer__legal a {
  font-size: 13px; color: #9b9b9b;
  text-decoration: underline; text-underline-offset: 2px;
}
.footer__legal a:hover { color: #fff; }

/* ===== Floating messenger speed-dial ===== */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 46; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.fab__item {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(24px) scale(.4); pointer-events: none;
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), opacity .2s ease, box-shadow .2s ease;
}
.fab__item svg { width: 30px; height: 30px; fill: #fff; }
.fab.open .fab__item { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab.open .wa-fab { transition-delay: .04s; }
.fab.open .tg-fab { transition-delay: .1s; }
.fab__item:hover { transform: translateY(-3px) scale(1.06); }

.wa-fab { background: #25d366; }
.wa-fab:hover { box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 7px rgba(37, 211, 102, .2); }
.tg-fab { background: #29a9eb; }
.tg-fab:hover { box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 7px rgba(41, 169, 235, .2); }
.tg-fab svg { position: relative; left: -1px; }

.fab__toggle {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #0a0a0a; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7), var(--glow);
  transition: transform .25s ease, box-shadow .2s ease;
}
.fab__toggle:hover { transform: translateY(-2px) scale(1.04); }
.fab__ico { grid-area: 1 / 1; width: 28px; height: 28px; fill: #0a0a0a; transition: opacity .2s ease, transform .3s ease; }
.fab__ico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.open .fab__toggle { transform: rotate(0deg); }
.fab.open .fab__ico--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab.open .fab__ico--close { opacity: 1; transform: rotate(0deg) scale(1); }

/* ===== Sticky mobile CTA ===== */
.cta-sticky {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45;
  display: none; text-align: center; padding: 15px 20px; border-radius: 999px;
  background: var(--grad); color: #0a0a0a; font-weight: 700; font-size: 16px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7);
  transition: transform .3s ease, opacity .3s ease;
}
.cta-sticky.hide { transform: translateY(140%); opacity: 0; }

/* ===== Guest quote ===== */
.quote {
  max-width: 760px; margin: 34px auto 0; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; position: relative; overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; inset: -40% 30% auto 30%; height: 220px;
  background: var(--grad); filter: blur(80px); opacity: .08;
}
.quote__stars { position: relative; color: #fff; letter-spacing: 4px; font-size: 18px; margin-bottom: 14px; }
.quote__text {
  position: relative; font-size: clamp(19px, 2.4vw, 24px); font-weight: 600;
  color: var(--text); line-height: 1.5; font-style: normal;
}
.quote__meta { position: relative; margin-top: 18px; color: var(--text-soft); font-size: 14px; }
.quote__meta span { color: var(--accent-ink); font-weight: 600; }

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-muted); padding: 16px 0; }
.marquee__track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -.01em; white-space: nowrap; }
.marquee__track i { color: var(--text-soft); font-size: 13px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ===== Grain overlay ===== */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Button shine ===== */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn--primary:hover::after { left: 130%; }

/* ===== Card cursor spotlight ===== */
.card, .step, .feature { position: relative; }
.card::after, .step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .10), transparent 60%);
}
.card:hover::after, .step:hover::after { opacity: 1; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 70;
  background: linear-gradient(90deg, #fff, #9aa0ff 55%, #fff);
  box-shadow: 0 0 12px rgba(255, 255, 255, .35);
  margin-top: env(safe-area-inset-top, 0px);
}

/* ===== Magnetic buttons & tilt ===== */
.magnetic { will-change: transform; }
.feature { will-change: transform; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title .line { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .support { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__visual { min-height: 260px; }
}
@media (max-width: 940px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px;
    background: #0c0c0c; border-left: 1px solid var(--line); padding: 96px 24px 32px;
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .6);
    transform: translateX(100%); transition: transform .32s ease; z-index: 40;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 14px 16px; font-size: 17px; }
  .nav__link--btn { margin-left: 0; margin-top: 8px; text-align: center; }
}
@media (max-width: 760px) {
  .cta-sticky { display: block; }
  .fab { bottom: 88px; right: 16px; gap: 10px; }
  .fab__item { width: 48px; height: 48px; }
  .fab__item svg { width: 27px; height: 27px; }
  .fab__toggle { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero { padding: 128px 0 60px; }
  .works { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .stat__num { font-size: 32px; }
  .form { padding: 22px 18px; }
  .quote { padding: 30px 24px; }
  .marquee__track span { font-size: 17px; }
  .channel__option span {
    padding: 11px 4px;
    font-size: 12px;
    letter-spacing: -.01em;
  }
  .header {
    background: #0a0a0a;
  }
  .header.scrolled {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

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