/* ==========================================================================
   404 Solution — стили
   ========================================================================== */

/* Шрифты (self-hosted, subsets: latin, latin-ext, cyrillic) */
@font-face{font-family:'Dela Gothic One';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dela-gothic-one-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Dela Gothic One';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dela-gothic-one-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Dela Gothic One';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/dela-gothic-one-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/golos-text-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/golos-text-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/golos-text-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/golos-text-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sedgwick Ave Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/sedgwick-ave-display-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sedgwick Ave Display';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/sedgwick-ave-display-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Токены */
:root {
  --acc: #c6ff3d;           /* акцентный цвет — меняется в одном месте */
  --bg: #0b0b0b;
  --fg: #ecebe7;
  --muted: #b9b8b3;
  --muted-2: #9d9c97;
  --muted-3: #8a8984;
  --dim: #6d6c68;
  --line: #2a2a28;
  --line-2: #222220;
  --line-3: #3a3a37;
  --tg: #2aabee;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: 32px;
  --font-display: 'Dela Gothic One', Impact, 'Arial Black', sans-serif;
  --font-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-graffiti: 'Sedgwick Ave Display', 'Permanent Marker', cursive;
}

/* База */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-loading, body.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration: none; transition: color .3s; }
a:hover { color: var(--acc); }
button, input, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #5e5d59; }
::selection { background: var(--acc); color: var(--bg); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
h1, h2, h3 { font-weight: 400; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300; padding: 10px 16px;
  background: var(--acc); color: var(--bg); border-radius: 999px; font-weight: 600;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; color: var(--bg); }

.hide-cursor, .hide-cursor * { cursor: none !important; }

/* Прелоадер */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; background: #141413;
  display: flex; justify-content: center; align-items: center; padding: 32px;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}
.js.no-loader .loader { display: none; }
.loader.is-done { transform: translateY(-100%); }
.loader__inner { display: flex; flex-direction: column; align-items: center; padding-top: min(175px, 20vh); }
.loader__frog {
  position: relative; height: min(230px, 30vh); aspect-ratio: 420 / 380;
  animation: frogJump .9s cubic-bezier(.45, 0, .55, 1) infinite; transform-origin: 50% 100%;
}
.loader__frog img { width: 100%; height: 100%; object-fit: contain; }
.loader__shadow {
  width: min(130px, 17vh); height: 14px; margin-top: 10px; border-radius: 50%; background: #000;
  animation: frogShadow .9s cubic-bezier(.45, 0, .55, 1) infinite;
}

/* Прогресс скролла */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--acc); transform-origin: 0 50%; transform: scaleX(0);
}

/* Кастомный курсор */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor.is-on { display: block; }
.cursor__dot {
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease);
}
.cursor__label { font-size: 13px; font-weight: 600; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }

/* Плавающая кнопка Telegram */
.tg-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 90; width: 128px; height: 128px; display: block;
  transition: transform .35s var(--ease);
}
.tg-float__bounce { position: relative; width: 100%; height: 100%; animation: tgBounce 2.6s cubic-bezier(.3, 0, .3, 1) infinite; }
.tg-float:hover .tg-float__bounce { animation-play-state: paused; }
body.is-locked .tg-float { opacity: 0; pointer-events: none; }
.tg-float__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite; }
.tg-float__ring text { font: 600 10px var(--font-text); fill: var(--fg); text-transform: uppercase; }
.tg-float__pulse, .tg-float__icon {
  position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; border-radius: 50%; background: var(--tg);
}
.tg-float__pulse { animation: tgPulse 2s ease-out infinite; }
.tg-float__icon {
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(42, 171, 238, .35); transition: transform .3s;
}
.tg-float:hover .tg-float__icon { transform: scale(1.12); }
.tg-float__icon svg { width: 44%; height: 44%; margin-left: -2px; animation: plane 1.6s ease-in-out infinite; }

/* Шапка */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad); mix-blend-mode: difference;
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
.logo { font-family: var(--font-display); font-size: 24px; color: #fff; }
.header__right { display: flex; align-items: center; gap: 40px; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; align-items: center; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.lang a { color: #fff; opacity: .45; padding: 6px 5px; transition: opacity .3s, color .3s; }
.lang a[aria-current] { opacity: 1; }
.lang a:hover { opacity: 1; color: var(--acc); }
.nav a { color: #fff; }
.nav a:hover, .logo:hover { color: var(--acc); }

.burger {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: #fff;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor;
  transition: transform .4s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Мобильное меню */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 104px var(--pad) 32px;
  visibility: hidden; opacity: 0;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.menu__nav a {
  display: block; padding: 4px 0;
  font-family: var(--font-display); font-size: clamp(40px, 12vw, 64px); line-height: 1.1; letter-spacing: -.03em;
}
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.menu__mail { color: var(--muted-3); }

/* Кнопка-пилюля Telegram */
.tg-pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 28px 8px 8px;
  border-radius: 999px; background: var(--tg); color: #fff;
  transition: transform .35s var(--ease), background .3s;
}
.tg-pill:hover { color: #fff; background: #1d97d6; }
.tg-pill__icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.tg-pill__icon svg { width: 22px; height: 22px; margin-left: -2px; }
.tg-pill__text { display: flex; flex-direction: column; line-height: 1.2; }
.tg-pill__title { font-weight: 600; font-size: 17px; }
.tg-pill__user { font-size: 14px; opacity: .8; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 30px;
  border-radius: 999px; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: transform .35s var(--ease), border-color .3s, background .3s, color .3s;
}
.btn--ghost { border: 1px solid var(--line-3); background: none; color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn--acc { border: 0; background: var(--acc); color: var(--bg); font-weight: 600; }
.btn--acc:hover { background: var(--fg); color: var(--bg); }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(14px, 2.6vh, 32px);
  padding: 84px var(--pad) 24px; position: relative; overflow: hidden;
}
.hero__bg, .hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .85) 0%, rgba(11, 11, 11, .35) 45%, rgba(11, 11, 11, 0) 70%),
    linear-gradient(0deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 35%);
}
.tag404 {
  position: relative; align-self: flex-start; margin: 0 0 auto clamp(0px, 3vw, 60px); padding: 10px 0;
  transform: rotate(-7deg); transform-origin: 0 50%; pointer-events: none; user-select: none;
  font-family: var(--font-graffiti); font-size: clamp(44px, min(8vw, 10.5vh), 170px); line-height: .85;
  color: var(--acc);
  text-shadow: 0 0 18px rgba(198, 255, 61, .55), 0 0 60px rgba(198, 255, 61, .25), 4px 5px 0 #0b0b0b;
}
.tag404 span { display: block; animation: neon 5s infinite; }
.tag404 span + span { animation-delay: .3s; margin-left: .5em; margin-top: .02em; }

.hero__title {
  margin: 0; position: relative; max-width: 62%; min-width: min(100%, 520px);
  font-family: var(--font-display); font-size: clamp(34px, min(5.4vw, 8.4vh), 104px);
  line-height: .98; letter-spacing: -.03em;
}
.hero__title .l { display: block; padding-bottom: .06em; }
.hero__title em { font-style: normal; color: var(--acc); }
.caret { animation: blink 1s steps(1) infinite; }

.ticker {
  position: relative; display: flex; align-items: center; gap: .4em; flex-wrap: wrap;
  font-family: var(--font-display); font-size: clamp(20px, min(2.6vw, 4.2vh), 42px);
  line-height: 1.15; letter-spacing: -.02em;
}
.ticker__window { display: inline-block; height: 1.15em; overflow: hidden; color: var(--acc); }
.ticker__list { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.76, 0, .24, 1); }
.ticker__list > span { height: 1.15em; white-space: nowrap; }

.hero__row {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px; align-items: end;
}
.hero__lead { margin: 0; max-width: 440px; font-size: clamp(15px, 2vh, 18px); line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.hero__cta { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; padding-right: 150px; }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px;
  padding: clamp(12px, 2vh, 22px) 150px 0 0; border-top: 1px solid rgba(236, 235, 231, .18);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__v { font-family: var(--font-display); font-size: clamp(26px, min(3vw, 5vh), 48px); line-height: 1; letter-spacing: -.03em; }
.stat__l { font-size: 15px; color: var(--muted-2); }

/* Бегущие строки */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.marquee--first { border-top: 1px solid var(--line-2); }
.marquee--thin { padding: 18px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; }
.marquee__item { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee--thin .marquee__item { gap: 32px; padding-right: 32px; }
.marquee__word { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 60px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--acc); }
.marquee__outline {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--dim);
}
.marquee__star { font-size: 22px; color: var(--acc); }

/* About */
.about { padding: 180px var(--pad) 140px; max-width: 1600px; margin: 0 auto; }
.about__text {
  margin: 0; max-width: 1300px; font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 60px);
  line-height: 1.12; letter-spacing: -.02em; text-wrap: pretty;
}
.js [data-words] .wd { opacity: .14; transition: opacity .4s; }
.js [data-words] .wd.is-lit { opacity: 1; }

/* Секции */
.section { padding: 0 var(--pad) 180px; max-width: 1600px; margin: 0 auto; }
.h2 {
  margin: 0 0 56px; font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 108px);
  line-height: .95; letter-spacing: -.035em;
}

/* Появление при скролле */
.js [data-reveal] {
  opacity: 0; transform: translateY(48px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; white-space: nowrap; }
.js [data-split] .ch { display: inline-block; transform: translateY(110%) rotate(10deg); transition: transform .9s var(--ease); }
.js [data-split].is-in .ch { transform: none; }

/* Услуги */
.services { border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); }
.svc__h { margin: 0; font-size: inherit; }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 24px; align-items: center;
  padding: 34px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--fg);
  transition: color .3s, padding .4s var(--ease);
}
.svc__head:hover, .svc.is-open .svc__head { color: var(--acc); }
.svc__head:hover { padding-left: 16px; }
.svc__head:focus-visible { outline-offset: -2px; }
.svc__n { font-size: 15px; color: var(--dim); }
.svc__t { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 50px); letter-spacing: -.025em; line-height: 1.05; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1;
  transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.svc.is-open .svc__icon { transform: rotate(45deg); background: var(--acc); border-color: var(--acc); color: var(--bg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; min-height: 0; }
.svc__content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px;
  padding: 0 0 40px 88px;
}
.svc__d { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 8px 14px; border: 1px solid var(--line-3); border-radius: 999px; font-size: 14px; color: #d5d4cf; }

/* Кейсы */
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.work__head .h2 { margin: 0; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px 24px; }
.case { display: flex; flex-direction: column; gap: 18px; color: var(--fg); }
.case:hover { color: var(--fg); }
.case:nth-child(even) { transition-delay: .1s; }
.case__clip { border-radius: 8px; }
.js .case__clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); }
.js .case.is-in .case__clip { clip-path: inset(0 0 0 0); }
.case__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #151514 0 14px, #1b1b19 14px 28px);
  transition: transform .5s var(--ease); will-change: transform;
}
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.js .case__media img { opacity: 0; transition: opacity .6s; }
.js .case__media img.is-ready { opacity: 1; }
.case__domain { padding: 0 24px; font-size: 14px; color: var(--dim); text-align: center; }
.case__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 7px 12px; border-radius: 999px; background: var(--bg);
  font-size: 13px; font-weight: 500; color: #d5d4cf;
}
.case__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.case__t { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; }
.case__d { margin-top: -8px; font-size: 16px; line-height: 1.45; color: var(--muted-2); transition: color .3s; }
.case:hover .case__d { color: var(--acc); }

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step:nth-child(4) { transition-delay: .3s; }
.step__card {
  height: 100%; min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: 8px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.step__card:hover { background: var(--acc); border-color: var(--acc); color: var(--bg); transform: translateY(-10px); }
.step__n { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.step__body { display: flex; flex-direction: column; gap: 12px; }
.step__t { margin: 0; font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; }
.step__d { margin: 0; font-size: 16px; line-height: 1.45; opacity: .8; }

/* Контакты */
.contact { position: relative; overflow: hidden; padding: 140px var(--pad) 0; }
.contact__bg { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.contact__bg img { width: 100%; height: auto; }
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 22%, rgba(11, 11, 11, 0) 72%, #0b0b0b 100%);
}
.contact__inner { position: relative; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.contact__title {
  margin: 0; text-align: center; text-shadow: 0 4px 30px #0b0b0b;
  font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 96px); line-height: .95; letter-spacing: -.035em;
}
.contact__direct { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: -16px; }
.contact__or { margin: 0; max-width: 360px; text-align: center; font-size: 15px; line-height: 1.45; color: var(--muted-3); text-shadow: 0 2px 16px #0b0b0b; }

.form { display: flex; flex-direction: column; gap: 36px; }
.group { display: flex; flex-direction: column; gap: 14px; }
.group__label { font-size: 15px; color: var(--muted-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-3);
  background: transparent; color: var(--fg); font: 500 15px var(--font-text); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.field { display: block; }
.input {
  width: 100%; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line-3); border-radius: 0;
  font-size: 20px; outline: none; transition: border-color .3s;
}
.input:focus { border-bottom-color: var(--acc); }
.input:focus-visible { outline: none; }
.input[aria-invalid="true"] { border-bottom-color: #ff5a4a; }
textarea.input { resize: none; }
.form__error { margin: -12px 0 0; font-size: 15px; color: #ff8a7d; }
.submit {
  width: 168px; height: 168px; padding: 0 28px; border: 0; border-radius: 50%;
  background: var(--acc); color: var(--bg); font: 600 18px/1.2 var(--font-text); cursor: pointer;
  transition: transform .35s var(--ease), background .3s;
}
.submit:hover { background: var(--fg); }

.sent { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.sent__title { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; outline: none; }
.sent__check { font-family: var(--font-text); color: var(--acc); }
.sent__text { margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); }
.sent__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Подвал */
.footer { padding: 0 var(--pad) 32px; }
.contacts {
  max-width: 1600px; margin: 120px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  font-size: 16px; line-height: 1.6;
}
.contacts__item { display: flex; flex-direction: column; gap: 4px; }
.contacts__label { font-size: 14px; color: var(--muted-3); }
.contacts__links { display: flex; gap: 18px; flex-wrap: wrap; }
.bignum {
  max-width: 1600px; margin: 80px auto 0; display: flex; justify-content: center;
  font-family: var(--font-display); font-size: clamp(90px, 26vw, 460px); line-height: .78; letter-spacing: -.04em;
  color: #1c1c1a; user-select: none;
}
.bignum__wave { display: inline-block; animation: wave 3s ease-in-out infinite; }
.bignum__wave:nth-child(2) { animation-delay: .2s; }
.bignum__wave:nth-child(3) { animation-delay: .4s; }
.bignum__ch { display: inline-block; transition: transform .5s cubic-bezier(.34, 1.8, .5, 1), color .3s; }
.bignum__ch:hover { color: var(--acc); }
.bignum__wave:nth-child(1) .bignum__ch:hover { transform: translateY(-14%) rotate(-6deg); }
.bignum__wave:nth-child(2) .bignum__ch:hover { transform: translateY(-14%) scale(1.08); }
.bignum__wave:nth-child(3) .bignum__ch:hover { transform: translateY(-14%) rotate(6deg); }
.bottom {
  max-width: 1600px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-3);
  padding-right: 160px; /* место под плавающую кнопку Telegram */
}
.bottom a { color: var(--muted-3); }
.bottom a:hover { color: var(--acc); }

/* Анимации */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tgBounce {
  0%, 100% { transform: translateY(0); }
  10% { transform: translateY(-22px) scale(1.04, .96); }
  20% { transform: translateY(0) scale(1.06, .94); }
  28% { transform: translateY(-10px); }
  36% { transform: translateY(0); }
}
@keyframes tgPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes plane { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(2px, -2px) rotate(-8deg); } }
@keyframes wave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6%); } }
@keyframes frogJump {
  0% { transform: translateY(0) scale(1.18, .82); }
  12% { transform: translateY(-8px) scale(.88, 1.14); }
  45% { transform: translateY(-170px) scale(1, 1) rotate(-10deg); }
  55% { transform: translateY(-175px) rotate(8deg); }
  85% { transform: translateY(-6px) scale(.94, 1.06) rotate(0); }
  100% { transform: translateY(0) scale(1.18, .82); }
}
@keyframes frogShadow { 0%, 100% { transform: scale(1.1); opacity: .6; } 50% { transform: scale(.45); opacity: .18; } }
@keyframes neon { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .4; } 94% { opacity: 1; } 96% { opacity: .6; } 97% { opacity: 1; } }

/* Адаптив */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .nav { display: none; }
  .header__right { gap: 12px; }
  .burger { display: block; }
  .hero__title { max-width: 100%; }
  .hero__cta { justify-content: flex-start; padding-right: 0; }
  .stats { padding-right: 0; }
  .about { padding: 120px var(--pad) 100px; }
  .section { padding-bottom: 120px; }
  .h2 { margin-bottom: 36px; }
  .work__head { margin-bottom: 36px; }
  .svc__head { grid-template-columns: 36px minmax(0, 1fr) 44px; gap: 12px; padding: 26px 0; }
  .svc__head:hover { padding-left: 0; }
  .svc__icon { width: 44px; height: 44px; font-size: 22px; }
  .svc__content { padding: 0 0 32px 48px; gap: 20px; }
  .contact { padding-top: 100px; }
  .contacts { margin-top: 96px; }
}

@media (max-width: 600px) {
  .hero { padding-bottom: 100px; }
  .hero__row { gap: 20px; }
  .btn { height: 54px; padding: 0 24px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat__l { font-size: 13px; line-height: 1.3; }
  .tg-float { right: 16px; bottom: 16px; width: 64px; height: 64px; }
  .tg-float__ring { display: none; }
  .tg-float__pulse, .tg-float__icon { left: 0; top: 0; width: 100%; height: 100%; }
  .tg-float__icon svg { width: 30px; height: 30px; }
  .svc__content { padding-left: 0; }
  .svc__d { font-size: 16px; }
  .step__card { min-height: 220px; }
  .input { font-size: 18px; }
  .submit { width: 140px; height: 140px; font-size: 16px; padding: 0 20px; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 24px 16px; }
  .footer { padding-bottom: 100px; }
  .bottom { padding-right: 0; }
  .contacts__item--wide { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .js [data-reveal], .js [data-split] .ch { opacity: 1; transform: none; }
  .js .case__clip { clip-path: none; }
  .js [data-words] .wd { opacity: 1; }
}
