:root {
  --bg: #0a0c10;
  --bg-2: #10131a;
  --card: #141821;
  --card-2: #191e29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef1f6;
  --muted: #9aa3b2;
  --dim: #6b7383;
  --accent: #7df2c2;
  --accent-2: #8b7cff;
  --accent-ink: #06231a;
  --radius: 20px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ── background ── */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
}
.bg-glow {
  position: absolute; max-width: 100vw; z-index: -1; pointer-events: none;
  top: -260px; left: 50%; width: 1400px; height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 30% 45%, rgba(125, 242, 194, .16), transparent),
    radial-gradient(closest-side at 72% 40%, rgba(139, 124, 255, .18), transparent);
  filter: blur(20px);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: 700 16px/1 var(--font);
  box-shadow: 0 10px 30px -10px rgba(125, 242, 194, .55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(125, 242, 194, .7); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--small { padding: 11px 18px; font-size: 14px; }
.btn--wide { min-width: 240px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 12, 16, .6);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10, 12, 16, .82); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 var(--display); letter-spacing: -.01em; }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg); font: 700 14px/1 var(--display); letter-spacing: -.04em;
}

/* ── hero ── */
.hero { padding: 72px 0 96px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(125, 242, 194, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(125, 242, 194, 0); } }
.hero__title {
  margin: 26px 0 22px;
  font: 600 clamp(38px, 5.6vw, 70px)/1.04 var(--display);
  letter-spacing: -.035em;
}
.accent {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 560px; font-size: 19px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; max-width: 580px; }
.stats div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.stats dt { font: 600 30px/1 var(--display); letter-spacing: -.03em; }
.stats dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--dim); }

.hero__visual { position: relative; height: 600px; }
.hero__visual .phone { position: absolute; width: 230px; }
.phone--a { left: 0; top: 50px; transform: rotate(-7deg); z-index: 1; }
.phone--b { left: 34%; top: 0; z-index: 3; width: 250px !important; }
.phone--c { right: -2%; top: 90px; transform: rotate(7deg); z-index: 2; }
.hero__visual .phone { animation: float 7s ease-in-out infinite; }
.hero__visual .phone--b { animation-delay: -2.3s; }
.hero__visual .phone--c { animation-delay: -4.6s; }
@keyframes float { 50% { translate: 0 -12px; } }
.chip {
  position: absolute; z-index: 5;
  padding: 9px 14px; border-radius: 12px;
  background: rgba(20, 24, 33, .85); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 13px/1 var(--mono); color: var(--text);
  box-shadow: 0 20px 40px -20px #000;
}
.chip::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.chip--1 { left: -2%; top: 400px; }
.chip--2 { right: -2%; top: 30px; }
.chip--2::before { background: var(--accent-2); }
.chip--3 { right: 8%; bottom: 20px; }
.chip--3::before { background: #ffb86b; }

/* ── phone & browser frames ── */
.phone {
  position: relative; padding: 7px; border-radius: 34px;
  background: linear-gradient(160deg, #2a3040, #12151c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.phone img { width: 100%; border-radius: 27px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff; }
.phone--tg img { aspect-ratio: auto; object-fit: contain; background: #e7eef6; }
[data-zoom] { cursor: zoom-in; transition: transform .35s var(--ease), translate .35s var(--ease); }

.browser {
  margin: 0; overflow: hidden; border-radius: 14px;
  background: #1b202b; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #1b202b; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4150; }
.browser__bar i:nth-child(1) { background: #ff6b6b; } .browser__bar i:nth-child(2) { background: #ffc15e; } .browser__bar i:nth-child(3) { background: #5fd38d; }
.browser__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 6px; background: rgba(255, 255, 255, .05); font: 12px/1.4 var(--mono); color: var(--dim); transform: translateX(-24px); }
.browser img { width: 100%; }

/* ── sections ── */
.section { padding: 110px 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font: 600 clamp(28px, 3.6vw, 44px)/1.12 var(--display); letter-spacing: -.03em; }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* about */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.about__text { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; color: var(--muted); font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.principles li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.principles__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(125, 242, 194, .1); color: var(--accent); font-size: 18px; }
.principles b { display: block; font-size: 16px; margin-bottom: 6px; }
.principles p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; overflow: hidden;
  padding: 28px 24px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s;
}
.service::after {
  content: ""; position: absolute; inset: auto -40% -60% -40%; height: 180px;
  background: radial-gradient(closest-side, rgba(125, 242, 194, .14), transparent);
  opacity: 0; transition: opacity .4s;
}
.service:hover { transform: translateY(-4px); border-color: var(--line-2); }
.service:hover::after { opacity: 1; }
.service__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); margin-bottom: 22px; }
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.service p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 48px; }
.filter {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line-2);
  font: 600 14px/1 var(--font); transition: all .2s;
}
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* projects */
.project {
  display: grid; grid-template-columns: .9fr 1.25fr; gap: 48px; align-items: center;
  padding: 48px; margin-bottom: 28px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(25, 30, 41, .9), rgba(16, 19, 26, .9));
  border: 1px solid var(--line);
  transition: opacity .35s, transform .35s var(--ease);
}
.project.is-hidden { display: none; }
.project--flip .project__info { order: 2; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.project__num { font: 500 13px/1 var(--mono); color: var(--dim); margin-right: 6px; }
.badge { padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1; background: rgba(139, 124, 255, .12); color: #c1b8ff; border: 1px solid rgba(139, 124, 255, .22); }
.badge:nth-of-type(2) { background: rgba(125, 242, 194, .08); color: #a9f5d6; border-color: rgba(125, 242, 194, .2); }
.project__title { font: 600 clamp(22px, 2.2vw, 29px)/1.18 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.project__lead { margin-top: 16px; color: var(--muted); font-size: 17px; }
.features { margin-top: 22px; display: grid; gap: 9px; }
.features li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: #cfd5df; }
.features li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.features--compact li { font-size: 15px; }
.metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.metrics div { flex: 1 1 130px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.metrics b { display: block; font: 600 21px/1.1 var(--display); letter-spacing: -.02em; color: var(--accent); }
.metrics span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--dim); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags li { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); font: 500 12.5px/1.3 var(--mono); color: var(--muted); }
.project__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.link { font-weight: 700; font-size: 15.5px; color: var(--accent); border-bottom: 1px solid rgba(125, 242, 194, .35); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--accent); }

.project__media { position: relative; min-width: 0; }
.media--phones { display: flex; justify-content: center; align-items: flex-start; padding: 10px 0 30px; }
.media--phones .phone { flex: 0 0 29%; padding: 5px; border-radius: 24px; }
.media--phones .phone + .phone { margin-left: -5.5%; }
.media--phones .phone img { border-radius: 19px; }
.media--phones .phone:nth-child(1) { transform: rotate(-4deg) translateY(30px); z-index: 1; }
.media--phones .phone:nth-child(2) { transform: translateY(0); z-index: 3; }
.media--phones .phone:nth-child(3) { transform: translateY(40px); z-index: 2; }
.media--phones .phone:nth-child(4) { transform: rotate(4deg) translateY(12px); z-index: 1; }
.media--phones [data-zoom]:hover { z-index: 5; translate: 0 -10px; }
.media--tg .phone { flex-basis: 37%; }
.media--tg .phone + .phone { margin-left: -6%; }
.media--tg .phone:nth-child(3) { transform: rotate(4deg) translateY(30px); }
.media--desktop { padding: 0 40px 40px 0; }
.media--desktop .phone--float { position: absolute; right: 0; bottom: 0; width: 26%; padding: 5px; border-radius: 22px; }
.media--desktop .phone--float img { border-radius: 17px; aspect-ratio: 390 / 760; }
.media--desktop [data-zoom]:hover, .media--stack [data-zoom]:hover { transform: translateY(-4px); }
.media--stack { display: grid; }
.media--stack .browser { grid-area: 1 / 1; }
.media--stack .browser:first-child { z-index: 2; margin: 0 48px 70px 0; }
.media--stack .browser--back { margin: 70px 0 0 48px; opacity: .75; }
.media--stack .browser--back:hover { opacity: 1; z-index: 3; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project--compact { grid-template-columns: 200px 1fr; gap: 32px; align-items: start; padding: 36px; margin-bottom: 0; }
.media--single .phone { padding: 5px; border-radius: 26px; }
.media--single .phone img { border-radius: 21px; }

/* telegram chat mock */
.tgchat { overflow: hidden; border-radius: 22px; background: #0e1621; border: 1px solid var(--line-2); box-shadow: 0 40px 70px -30px #000; font-size: 12.5px; line-height: 1.4; }
.tgchat__head { display: flex; align-items: center; gap: 9px; padding: 11px 12px; background: #17212b; }
.tgchat__head b { display: block; font-size: 13px; }
.tgchat__head small { color: #7f91a4; font-size: 11px; }
.tgchat__ava { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #f5a86b, #b86bf5); font: 700 13px/1 var(--display); color: #fff; }
.tgchat__body { display: grid; gap: 6px; padding: 12px 10px 14px; background: radial-gradient(circle at 30% 20%, #16263a, #0e1621 70%); }
.msg { max-width: 88%; padding: 7px 10px; border-radius: 12px 12px 12px 4px; background: #182533; color: #e8eef4; }
.msg--out { justify-self: end; border-radius: 12px 12px 4px 12px; background: #2b5278; }
.kb { display: grid; gap: 4px; }
.kb--two { grid-template-columns: 1fr 1fr; }
.kb span { padding: 7px; border-radius: 8px; background: rgba(90, 120, 150, .35); text-align: center; font-weight: 600; font-size: 11.5px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -15px; width: 16px; height: 1px; background: var(--line-2); }
.step__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 20px; border: 1px solid rgba(125, 242, 194, .4); color: var(--accent); font: 600 15px/1 var(--display); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.stack { margin-top: 80px; }
.stack__title { text-align: center; color: var(--dim); font-size: 15px; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font: 500 15px/1 var(--mono); color: #cfd5df; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* contact */
.section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(139, 124, 255, .12), transparent 70%),
              radial-gradient(ellipse 50% 40% at 85% 40%, rgba(125, 242, 194, .08), transparent 70%);
}
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__text { margin-top: 20px; color: var(--muted); font-size: 18px; }
.contact__list { display: grid; gap: 12px; margin-top: 36px; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.contact__list small { display: block; font-size: 13px; color: var(--dim); }
.contact__list a { font-weight: 700; font-size: 17px; }
.contact__list a:hover { color: var(--accent); }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(125, 242, 194, .1); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

.form { display: grid; gap: 20px; padding: 36px; border-radius: 28px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px #000; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); color: var(--text);
  font: 400 16px/1.5 var(--font); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(125, 242, 194, .6); box-shadow: 0 0 0 4px rgba(125, 242, 194, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7a7a; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--muted); transition: all .2s; }
.pills label:hover span { color: var(--text); }
.pills input:checked + span { background: rgba(125, 242, 194, .12); border-color: rgba(125, 242, 194, .6); color: var(--accent); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__note { flex: 1 1 220px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.form__status { min-height: 1.5em; font-weight: 600; font-size: 15px; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: #ff8f8f; }
.form.is-sent .field, .form.is-sent .form__foot, .form.is-sent .form__row { display: none; }
.form.is-sent .form__status { padding: 40px 0; text-align: center; font: 600 22px/1.4 var(--display); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--dim); font-size: 14px; }
.footer__up:hover { color: var(--text); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5, 6, 9, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: zoom-out; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 1600px); max-height: calc(100vh - 48px); width: auto; border-radius: 14px; box-shadow: 0 30px 80px #000; }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 520px; max-width: 620px; width: 100%; margin: 0 auto; }
  .services, .principles { grid-template-columns: repeat(2, 1fr); }
  .project, .project--flip { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .project--flip .project__info { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .hero { padding: 40px 0 64px; }
  .hero__lead { font-size: 17px; }
  .hero__visual { height: 400px; }
  .hero__visual .phone { width: 160px; }
  .phone--b { width: 175px !important; left: 30%; }
  .chip { font-size: 11.5px; padding: 7px 10px; }
  .chip--1 { top: 300px; left: 0; }
  .chip--2 { right: 0; top: 0; }
  .chip--3 { bottom: 0; right: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 40px; }
  .stats dt { font-size: 22px; }
  .stats dd { font-size: 12.5px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .about { grid-template-columns: 1fr; gap: 0; }
  .about__text { grid-template-columns: 1fr; gap: 16px; font-size: 16.5px; }
  .services, .principles { grid-template-columns: 1fr; }
  .filters { margin-top: -12px; }
  .project, .project--flip, .project--compact { padding: 22px; border-radius: 22px; }
  .media--phones { padding-bottom: 36px; }
  .media--phones .phone { padding: 3px; border-radius: 15px; }
  .media--phones .phone img { border-radius: 12px; }
  .media--desktop { padding: 0 20px 30px 0; }
  .media--stack .browser:first-child { margin: 0 20px 40px 0; }
  .media--stack .browser--back { margin: 40px 0 0 20px; }
  .browser__bar span { display: none; }
  .project--compact { grid-template-columns: 1fr; }
  .media--single { max-width: 240px; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 22px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .btn--wide { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
