:root {
  --bg: #0a0c2a;
  --bg-2: #0e1033;
  --card: #141647;
  --card-2: #191c52;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --text: #ffffff;
  --text-muted: #a3a6cf;
  --text-dim: #6f73a3;

  --coral: #ff5e57;
  --coral-hover: #ff7670;
  --cyan: #2ee6ff;
  --pink: #ff3df2;
  --violet: #8b5cff;
  --blue: #4d6bff;
  --orange: #ff9a3c;
  --success: #3ddc97;
  --error: #ff6b6b;

  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--pink) 100%);
  --gradient-warm: linear-gradient(135deg, var(--pink), var(--orange));

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --pill: 999px;

  --container: 1240px;
  --section-y: 128px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: #fff; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--coral); color: #fff; }

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

/* Background glows */
.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  pointer-events: none;
}
.bg-glow--1 { top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, var(--blue), transparent 70%); }
.bg-glow--2 { bottom: -300px; left: -250px; width: 700px; height: 700px; background: radial-gradient(circle, var(--violet), transparent 70%); opacity: .25; }

/* Neon streaks */
.streak {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--l, 200px);
  height: 3px;
  border-radius: 3px;
  transform: rotate(var(--r, -32deg));
  pointer-events: none;
  opacity: .9;
}
.streak::after {
  content: "";
  position: absolute;
  inset: -6px 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(10px);
  opacity: .8;
}
.streak--cyan { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.streak--pink { background: linear-gradient(90deg, transparent, var(--pink), transparent); }
.streak--orange { background: linear-gradient(90deg, transparent, var(--orange), transparent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  color: #fff;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--coral);
  box-shadow: 0 10px 30px -8px rgba(255, 94, 87, .6);
}
.btn--primary:hover { background: var(--coral-hover); box-shadow: 0 16px 40px -8px rgba(255, 94, 87, .75); transform: translateY(-2px); }

.btn--outline { border-color: var(--border-strong); background: transparent; }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn--ghost { background: rgba(255, 255, 255, .06); border-color: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn:disabled { opacity: .35; pointer-events: none; }

.link-arrow { display: inline-flex; gap: 6px; font-weight: 700; font-size: 15px; color: var(--cyan); }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(3px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--gradient); }

.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 42, .7);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.is-scrolled { border-color: var(--border); background: rgba(10, 12, 42, .88); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.logo__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px -6px rgba(139, 92, 255, .7);
}

.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text-muted); transition: color .2s; }
.nav a:hover { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-weight: 700; font-size: 15px; color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Sections */
.section { position: relative; padding: var(--section-y) 0; }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(30px, 4vw, 48px); }
.section__lead { margin-top: 20px; font-size: 18px; color: var(--text-muted); }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero__art {
  position: absolute;
  top: -30px;
  right: -2%;
  width: 70%;
  max-width: 1100px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 75% at 60% 50%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 60% 50%, #000 55%, transparent 100%);
}
.hero__art img { width: 100%; height: auto; animation: float 9s ease-in-out infinite; }
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 600px; }
.hero__title { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
.hero__subtitle { margin-top: 28px; max-width: 520px; font-size: 18px; color: var(--text-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.badge__icon { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.badge:nth-child(2) .badge__icon { background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.badge:nth-child(3) .badge__icon { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Logos */
.logos { padding: 32px 0 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .015); }
.logos__title { margin-bottom: 24px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); text-align: center; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 72px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-dim); white-space: nowrap; transition: color .2s; }
.marquee__track span:hover { color: #fff; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Panel (services) */
.panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 107, 255, .35), transparent 70%);
  pointer-events: none;
}
.panel__aside .btn { margin-top: 32px; }

.services { display: grid; gap: 16px; }
.service {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.service:hover { background: rgba(255, 255, 255, .06); border-color: var(--border); transform: translateX(6px); }
.service__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 18px;
  color: #fff;
}
.service__icon svg { width: 28px; height: 28px; }
.service__icon--blue { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 28px -8px var(--blue); }
.service__icon--violet { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 10px 28px -8px var(--violet); }
.service__icon--orange { background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 10px 28px -8px var(--orange); }
.service__task { margin-bottom: 8px; font-size: 13px; font-style: italic; color: var(--text-dim); }
.service__title { margin-bottom: 8px; font-size: 22px; }
.service__text { font-size: 15px; color: var(--text-muted); }
.service__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.service__price { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }

/* About */
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about__art { position: relative; margin-left: -10%; }
.about__art img { width: 110%; max-width: none; height: auto; animation: float 11s ease-in-out infinite; mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 55%, transparent 100%); }

.features { display: grid; gap: 28px; margin-top: 40px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.feature__icon svg { width: 22px; height: 22px; }
.feature__icon--cyan { color: var(--cyan); }
.feature__icon--pink { color: var(--pink); }
.feature__icon--orange { color: var(--orange); }
.feature__icon--blue { color: #7f95ff; }
.feature h3 { margin-bottom: 6px; font-size: 18px; }
.feature p { font-size: 15px; color: var(--text-muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 112px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-size: clamp(44px, 5.5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat:nth-child(even) .stat__num { background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; }
.stat__label { font-size: 15px; color: var(--text-muted); }

.team-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-top: 56px; }
.team { display: flex; gap: 40px; flex-wrap: wrap; }
.member { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; align-items: center; }
.member__photo {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 15px; font-weight: 800; color: #fff;
}
.member__photo--1 { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.member__photo--2 { background: linear-gradient(135deg, var(--violet), var(--pink)); }
.member__photo--3 { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.member b { font-size: 16px; }
.member__role { font-size: 13px; color: var(--text-muted); }

.stack { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.stack__label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.stack__list { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__list li { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-muted); transition: border-color .2s, color .2s; }
.stack__list li:hover { border-color: var(--cyan); color: #fff; }

/* Cases */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}
.filter:hover { color: #fff; border-color: #fff; }
.filter.is-active { background: var(--coral); color: #fff; border-color: var(--coral); box-shadow: 0 8px 20px -6px rgba(255, 94, 87, .6); }

.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cases--portfolio { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case--compact .case__preview { height: 200px; padding: 20px 20px 0; }
.case--compact .case__body { padding: 22px 24px 26px; }
.case--compact .case__title { margin-bottom: 14px; font-size: 18px; line-height: 1.25; }
.case--compact .case__meta { margin-bottom: 14px; }
.case--compact .case__meta--short div { grid-template-columns: 1fr; gap: 4px; }
.case--compact .case__meta dt { font-size: 12px; }
.case--compact .case__meta dd { font-size: 14px; }
.case--compact .case__result { margin-bottom: 16px; padding: 14px 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.case--compact .case__num { font-size: 26px; }
.case--compact .case__note { font-size: 13px; }
.portfolio-load { margin-top: 40px; text-align: center; }
.portfolio-load .btn { min-width: 280px; }
.case {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.case:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 40px 80px -40px rgba(77, 107, 255, .6); }
.case.is-hidden { display: none; }

.case__preview { position: relative; height: 300px; padding: 32px 32px 0; overflow: hidden; }
.case__preview--1 { background: linear-gradient(140deg, #2b3cff, #2ee6ff); }
.case__preview--2 { background: linear-gradient(140deg, #6a2bff, #ff3df2); }
.case__preview--3 { background: linear-gradient(140deg, #ff3d8a, #ff9a3c); }
.case__preview--4 { background: linear-gradient(140deg, #1fb6ff, #8b5cff); }
.case__preview::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .25), transparent 50%); pointer-events: none; }
.case__shot { position: relative; z-index: 1; height: 100%; border-radius: 14px 14px 0 0; background: #0f1140; overflow: hidden; box-shadow: 0 -10px 50px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .15); }
.case__page { height: 260%; transition: transform 3.5s var(--ease); background-repeat: no-repeat; }
.case:hover .case__page { transform: translateY(-60%); }

.case .case__page { background-repeat: no-repeat; }
.case__page--1 {
  background:
    linear-gradient(#fff 0 0) 24px 24px / 40% 14px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 24px 50px / 30% 8px,
    linear-gradient(#ff5e57 0 0) 24px 72px / 90px 24px,
    linear-gradient(135deg, #2ee6ff, #4d6bff) right 24px top 24px / 38% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 160px / calc(100% - 48px) 120px,
    linear-gradient(#fff 0 0) 24px 310px / 30% 12px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 340px / 30% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 50% 340px / 30% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 340px / 30% 100px,
    linear-gradient(135deg, #4d6bff, #8b5cff) 24px 470px / calc(100% - 48px) 140px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 24px 640px / 60% 8px;
  background-color: #0f1140;
}
.case__page--2 {
  background:
    linear-gradient(135deg, #6a2bff, #ff3df2) 0 0 / 100% 150px,
    linear-gradient(#fff 0 0) 24px 40px / 45% 14px,
    linear-gradient(#ff5e57 0 0) 24px 80px / 100px 26px,
    linear-gradient(#fff 0 0) 24px 180px / 35% 12px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 210px / 46% 90px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 210px / 46% 90px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 310px / 46% 90px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 310px / 46% 90px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 24px 440px / 70% 8px,
    linear-gradient(135deg, #ff3df2, #ff9a3c) 24px 500px / calc(100% - 48px) 120px;
  background-color: #0f1140;
}
.case__page--3 {
  background:
    linear-gradient(#fff 0 0) 24px 24px / 25% 10px,
    linear-gradient(140deg, #ff3d8a, #ff9a3c) 24px 54px / calc(100% - 48px) 130px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 210px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 36% 210px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 64% 210px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 210px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 350px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 36% 350px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 64% 350px / 22% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 350px / 22% 120px,
    linear-gradient(#ff5e57 0 0) 24px 500px / calc(100% - 48px) 100px;
  background-color: #0f1140;
}
.case__page--4 {
  background:
    linear-gradient(#fff 0 0) 50% 40px / 50% 14px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 50% 66px / 36% 8px,
    linear-gradient(#ff5e57 0 0) 50% 90px / 120px 26px,
    linear-gradient(140deg, #1fb6ff, #8b5cff) 24px 150px / calc(100% - 48px) 140px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 320px / calc(100% - 48px) 50px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 380px / calc(100% - 48px) 50px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 440px / calc(100% - 48px) 50px,
    linear-gradient(135deg, #8b5cff, #ff3df2) 24px 520px / calc(100% - 48px) 110px;
  background-color: #0f1140;
}

.case__body { padding: 32px 36px 36px; }
.case__tag { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.case__title { margin-bottom: 24px; font-size: 23px; }
.case__meta { display: grid; gap: 10px; margin: 0 0 24px; }
.case__meta div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.case__meta dt { font-size: 14px; color: var(--text-dim); }
.case__meta dd { margin: 0; font-size: 15px; color: var(--text-muted); }
.case__result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 24px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case__num {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case__note { font-size: 14px; color: var(--text-muted); }
.cases__cta { margin-top: 56px; text-align: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Portfolio page */
.portfolio-hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}
.portfolio-hero__inner { max-width: 820px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.breadcrumbs a { color: var(--text-muted); transition: color .2s; }
.breadcrumbs a:hover { color: #fff; }
.portfolio-hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.portfolio-hero__lead {
  margin-top: 24px;
  max-width: 620px;
  font-size: 19px;
  color: var(--text-muted);
}
.portfolio-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  margin-top: 48px;
}
.portfolio-hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.portfolio-hero__stats b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.portfolio-hero__stats span { font-size: 14px; color: var(--text-muted); }

.portfolio-section { padding-top: 40px; }
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.portfolio-toolbar__count { font-size: 15px; color: var(--text-muted); }
.portfolio-toolbar__count b { color: #fff; }
.portfolio-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.portfolio-cta-section { padding-top: 40px; }

.nav a[aria-current="page"] { color: #fff; }

.case__preview--5 { background: linear-gradient(140deg, #ff5e57, #8b5cff); }
.case__preview--6 { background: linear-gradient(140deg, #1a8f5c, #2ee6ff); }
.case__preview--7 { background: linear-gradient(140deg, #ff9a3c, #ff3df2); }
.case__preview--8 { background: linear-gradient(140deg, #3d7a2e, #c6f432); }
.case__preview--9 { background: linear-gradient(140deg, #1e3a8a, #60a5fa); }

.case__page--5 {
  background:
    linear-gradient(#fff 0 0) 24px 28px / 40% 12px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 24px 52px / 28% 8px,
    linear-gradient(#ff5e57 0 0) 24px 78px / 100px 26px,
    linear-gradient(135deg, #ff5e57, #8b5cff) right 24px top 24px / 40% 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 180px / calc(100% - 48px) 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 300px / 46% 90px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 300px / 46% 90px,
    linear-gradient(135deg, #8b5cff, #ff3df2) 24px 430px / calc(100% - 48px) 130px;
  background-color: #0f1140;
}
.case__page--6 {
  background:
    linear-gradient(#fff 0 0) 24px 24px / 30% 10px,
    linear-gradient(140deg, #1a8f5c, #2ee6ff) 24px 50px / calc(100% - 48px) 120px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 200px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 36% 200px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 64% 200px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 200px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 340px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 36% 340px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 64% 340px / 22% 110px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 340px / 22% 110px,
    linear-gradient(#ff5e57 0 0) 24px 490px / calc(100% - 48px) 90px;
  background-color: #0f1140;
}
.case__page--7 {
  background:
    linear-gradient(#fff 0 0) 50% 36px / 55% 14px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 50% 62px / 40% 8px,
    linear-gradient(140deg, #ff9a3c, #ff3df2) 50% 110px / 70% 160px,
    linear-gradient(#ff5e57 0 0) 50% 300px / 140px 28px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 360px / calc(100% - 48px) 70px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 450px / calc(100% - 48px) 70px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 540px / calc(100% - 48px) 70px;
  background-color: #0f1140;
}
.case__page--8 {
  background:
    linear-gradient(135deg, #3d7a2e, #c6f432) 0 0 / 100% 140px,
    linear-gradient(#fff 0 0) 24px 36px / 45% 12px,
    linear-gradient(#ff5e57 0 0) 24px 70px / 110px 26px,
    linear-gradient(#fff 0 0) 24px 170px / 35% 12px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 200px / 46% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 200px / 46% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 320px / 46% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 320px / 46% 100px,
    linear-gradient(135deg, #c6f432, #1a8f5c) 24px 460px / calc(100% - 48px) 120px;
  background-color: #0f1140;
}
.case__page--9 {
  background:
    linear-gradient(#fff 0 0) 24px 28px / 38% 12px,
    linear-gradient(rgba(255,255,255,.3) 0 0) 24px 52px / 26% 8px,
    linear-gradient(140deg, #1e3a8a, #60a5fa) 24px 80px / calc(100% - 48px) 150px,
    linear-gradient(#ff5e57 0 0) 24px 250px / 120px 28px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 24px 310px / 30% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) 50% 310px / 30% 100px,
    linear-gradient(rgba(255,255,255,.06) 0 0) right 24px top 310px / 30% 100px,
    linear-gradient(135deg, #60a5fa, #8b5cff) 24px 450px / calc(100% - 48px) 140px;
  background-color: #0f1140;
}

/* Reviews */
.reviews-section__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.reviews__ratings { margin-top: 20px; font-size: 15px; color: var(--text-muted); }
.reviews__ratings b { color: #fff; }
.slider-nav { display: flex; gap: 10px; margin-top: 32px; }
.slider-btn {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  transition: border-color .2s, background .2s;
}
.slider-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  scroll-snap-align: start;
  overflow: hidden;
}
.review::before {
  content: "“";
  position: absolute;
  left: 40px; top: -30px;
  font-size: 200px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .25;
  pointer-events: none;
}
.review blockquote { position: relative; flex: 1; margin: 0 0 32px; font-size: 22px; line-height: 1.5; font-weight: 500; color: #fff; }
.review__author { display: flex; align-items: center; gap: 16px; }
.review__author b { display: block; font-size: 16px; color: #fff; }
.review__author small { display: block; font-size: 14px; color: var(--text-muted); }
.avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; font-size: 15px; font-weight: 800; color: #fff; }
.avatar--1 { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.avatar--2 { background: linear-gradient(135deg, var(--violet), var(--pink)); }
.avatar--3 { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.avatar--4 { background: linear-gradient(135deg, var(--cyan), var(--violet)); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--orange));
  opacity: .5;
}
.step { position: relative; display: flex; flex-direction: column; text-align: center; align-items: center; }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  font-size: 15px; font-weight: 800;
  color: #fff;
  transition: all .3s var(--ease);
}
.step:nth-child(1) .step__num { border-color: var(--cyan); box-shadow: 0 0 24px -4px var(--cyan); }
.step:nth-child(2) .step__num { border-color: var(--blue); box-shadow: 0 0 24px -4px var(--blue); }
.step:nth-child(3) .step__num { border-color: var(--violet); box-shadow: 0 0 24px -4px var(--violet); }
.step:nth-child(4) .step__num { border-color: var(--pink); box-shadow: 0 0 24px -4px var(--pink); }
.step:nth-child(5) .step__num { border-color: var(--orange); box-shadow: 0 0 24px -4px var(--orange); }
.step:hover .step__num { transform: scale(1.1); background: var(--card-2); }
.step h3 { margin-bottom: 8px; font-size: 18px; }
.step p { font-size: 14px; color: var(--text-muted); }
.step__time { margin-top: 16px; padding: 5px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); border: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.step__result { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--cyan); }
.steps__pay {
  margin: 56px auto 0;
  max-width: 640px;
  padding: 20px 28px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
}
.steps__pay b { color: #fff; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s;
}
.price:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price--featured {
  background: linear-gradient(var(--card-2), var(--card-2)) padding-box, var(--gradient) border-box;
  border-color: transparent;
  box-shadow: 0 30px 80px -40px rgba(139, 92, 255, .8);
}
.price--support { background: transparent; border-style: dashed; }
.price__badge { position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: var(--pill); background: var(--gradient); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.price__name { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.price__value { margin-top: 16px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; color: #fff; }
.price__value small { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.price__time { margin: 4px 0 24px; font-size: 14px; color: var(--text-muted); }
.price__list { display: grid; gap: 10px; flex: 1; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.price__list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-muted); }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.price__excluded { margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--text-dim); }
.pricing__note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--text-muted); }

/* Quiz */
.quiz {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  margin-top: 96px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  left: -150px; bottom: -150px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 242, .25), transparent 70%);
  pointer-events: none;
}
.quiz__title { font-size: clamp(26px, 3vw, 34px); }
.quiz__gift { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.quiz__gift-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gradient-warm); color: #fff; font-size: 13px; }
.quiz__progress { height: 6px; margin-top: 40px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.quiz__progress i { display: block; width: 16.66%; height: 100%; background: var(--gradient); transition: width .4s var(--ease); }
.quiz__counter { margin-top: 12px; font-size: 14px; color: var(--text-muted); }

.quiz__form { position: relative; display: flex; flex-direction: column; min-height: 380px; }
.quiz__step { display: none; margin: 0; padding: 0; border: 0; animation: stepIn .35s var(--ease); }
.quiz__step.is-active { display: block; }
.quiz__step legend { margin-bottom: 24px; padding: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 20px 16px 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03);
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s, background .2s, color .2s;
}
.option span::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  transition: all .2s;
}
.option input[type="checkbox"] + span::before { border-radius: 6px; }
.option:hover span { border-color: var(--border-strong); color: #fff; }
.option input:checked + span { border-color: var(--coral); background: rgba(255, 94, 87, .1); color: #fff; }
.option input:checked + span::before { border-color: var(--coral); background: var(--coral); box-shadow: inset 0 0 0 4px var(--card); }
.option input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 32px; }
.quiz.is-done .quiz__nav { display: none; }

.quiz__done, .lead-form__done { text-align: center; padding: 40px 0; animation: stepIn .35s var(--ease); }
.done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(61, 220, 151, .15); color: var(--success); font-size: 28px; font-weight: 800; }
.quiz__done h4, .lead-form__done h4 { margin-bottom: 10px; font-size: 24px; }
.quiz__done p, .lead-form__done p { color: var(--text-muted); }
.quiz__done a { color: var(--cyan); font-weight: 600; }

/* Fields */
.fields { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  font: inherit;
  font-size: 16px;
  color: #fff;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(255, 255, 255, .06); }
.field__error { display: none; font-size: 13px; color: var(--error); }
.field.has-error input { border-color: var(--error); }
.field.has-error .field__error { display: block; }

.consent { display: flex; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--coral); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error { color: var(--error); }

/* CTA banner */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .8);
}
.cta__art {
  position: absolute;
  right: -4%;
  top: 50%;
  width: 56%;
  transform: translateY(-50%);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
}
.cta__art img { width: 100%; height: auto; animation: float 10s ease-in-out infinite; }
.cta__content { position: relative; z-index: 1; }
.cta .section__lead { max-width: 520px; }

.lead-form { display: grid; gap: 18px; margin-top: 36px; max-width: 540px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.lead-form__or { font-size: 14px; color: var(--text-dim); }
.lead-form.is-done > :not(.lead-form__done) { display: none; }

.messenger { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px; border: 1.5px solid var(--border-strong); color: #fff; transition: transform .2s, border-color .2s, background .2s; }
.messenger:hover { transform: translateY(-2px); }
.messenger--tg:hover { border-color: #2aabee; background: rgba(42, 171, 238, .12); }
.messenger--wa:hover { border-color: #25d366; background: rgba(37, 211, 102, .12); }

.contacts { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-top: 40px; padding: 0 24px; }
.contacts li { display: grid; gap: 4px; font-size: 17px; font-weight: 600; }
.contacts span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.contacts a:hover { color: var(--cyan); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item--wide { grid-column: span 2; }
.faq__item summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--cyan); }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--coral); border-color: var(--coral); color: #fff; }
.faq__item[open] summary { color: #fff; }
.faq__item p { padding: 0 48px 24px 0; font-size: 15px; color: var(--text-muted); animation: stepIn .3s var(--ease); }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 14px; }
.footer__links a { color: var(--text-muted); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__legal { font-size: 13px; color: var(--text-dim); }

/* Floating chat, mobile CTA, cookie */
.chat-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(139, 92, 255, .9);
  transition: transform .2s var(--ease);
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 28px; height: 28px; margin-left: -2px; }
.chat-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(46, 230, 255, .5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.mobile-cta { display: none; }

.cookie {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 460px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  color: var(--text-muted);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .6);
}
.cookie[hidden] { display: none; }
.cookie a { color: #fff; text-decoration: underline; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Responsive */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .steps::before { display: none; }
  .hero__art { width: 80%; right: -20%; opacity: .7; }
  .cases--portfolio { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --section-y: 96px; }
  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; color: #fff; }
  .burger { display: block; }

  .hero { min-height: 0; padding: 48px 0 80px; }
  .hero__art { position: relative; top: 0; right: 0; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin: 0 auto 8px; opacity: 1; overflow: hidden; mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 50%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 50%, transparent 100%); }
  .hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 76% 50%; }
  .hero__content { max-width: none; }

  .panel { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .about__inner { grid-template-columns: 1fr; gap: 24px; }
  .about__art { margin: 0; }
  .about__art img { width: 100%; }
  .cases { grid-template-columns: 1fr; }
  .cases--portfolio { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .reviews-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .quiz { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
  .cta__art { position: relative; right: 0; top: 0; width: 100%; transform: none; margin-bottom: -40px; mask-image: none; -webkit-mask-image: none; order: -1; }
  .faq { grid-template-columns: 1fr; }
  .faq__item--wide { grid-column: auto; }
}

@media (max-width: 640px) {
  .portfolio-hero { padding: 40px 0 24px; }
  .portfolio-hero__stats { gap: 24px 32px; }
  .portfolio-hero__stats b { font-size: 32px; }
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio-cta__actions .btn { width: 100%; }
}
  :root { --section-y: 72px; }
  body { font-size: 16px; padding-bottom: 80px; }
  .container { padding: 0 20px; }
  .header__inner { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .header__actions .btn { display: none; }

  .hero__title { font-size: 34px; }
  .hero__subtitle, .section__lead { font-size: 16px; }
  .hero__cta .btn { width: 100%; }

  .section__head { margin-bottom: 40px; }
  .panel, .quiz, .cta { padding: 28px 20px; border-radius: var(--radius); }
  .service { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .service:hover { transform: none; }
  .service__icon { width: 52px; height: 52px; }

  .case__preview { height: 220px; padding: 20px 20px 0; }
  .case__body { padding: 24px; }
  .case__meta div { grid-template-columns: 1fr; gap: 2px; }

  .review { padding: 32px 24px; }
  .review blockquote { font-size: 18px; }
  .review::before { left: 20px; font-size: 140px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { text-align: left; align-items: flex-start; }
  .team-row { gap: 32px; }
  .team { gap: 24px; }

  .pricing { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .quiz__step legend { font-size: 21px; }
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__actions .btn { width: 100%; }
  .contacts { gap: 20px 40px; padding: 0; }

  .faq__item summary { font-size: 16px; padding-right: 44px; }
  .faq__item p { padding-right: 0; }

  .streak { display: none; }
  .chat-fab { right: 16px; bottom: 92px; width: 54px; height: 54px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 12, 42, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
  .cookie { left: 12px; right: 12px; bottom: 88px; max-width: none; }
}
