/* =========================================================
   Pashchenko Digital — агенція таргетованої реклами
   Палітра: Instagram-градієнт з акцентом на фіолетовий
   ========================================================= */

:root {
  --violet-950: #0e0518;
  --violet-900: #150823;
  --violet-850: #1c0c30;
  --violet-800: #24103d;
  --violet: #7b2ff7;
  --violet-2: #9b4dff;
  --violet-soft: #b98cff;
  --purple: #833ab4;
  --magenta: #c13584;
  --pink: #e1306c;
  --red: #fd1d1d;
  --orange: #f77737;
  --yellow: #fcaf45;

  --lav-50: #faf7ff;
  --lav-100: #f3ecff;
  --lav-200: #e7dbff;
  --ink: #1a0f2e;
  --ink-2: #3a2c55;
  --muted: #6e6388;
  --muted-dark: rgba(236, 226, 255, .66);
  --line: rgba(123, 47, 247, .14);
  --line-dark: rgba(255, 255, 255, .1);

  --grad: linear-gradient(120deg, #6a1bf0 0%, #9b3fe6 28%, #d1307f 58%, #f95b3c 80%, #fcaf45 100%);
  --grad-violet: linear-gradient(120deg, #6a1bf0 0%, #9b3fe6 50%, #d63384 100%);
  --grad-text: linear-gradient(100deg, #b98cff 0%, #e86bb4 45%, #ff8a5c 75%, #fcc66d 100%);
  --grad-text-light: linear-gradient(100deg, #6a1bf0 0%, #a63ae0 45%, #e1306c 80%, #f77737 100%);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --shadow: 0 24px 60px -24px rgba(76, 22, 150, .35);
  --shadow-lg: 0 40px 90px -30px rgba(76, 22, 150, .5);

  --font-head: "Unbounded", "Manrope", Arial, sans-serif;
  --font: "Manrope", Arial, sans-serif;
  --container: 1340px;
  --header-h: 78px;
}

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

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--lav-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #12924a;
  background: #ecfdf3;
  border: 1px solid rgba(34, 197, 94, .3);
  box-shadow: 0 8px 24px -14px rgba(34, 197, 94, .55);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .2);
  animation: pulseDot 2s ease-in-out infinite;
}
.eyebrow--dark {
  color: #6ff0a4; background: rgba(34, 197, 94, .1); border-color: rgba(74, 222, 128, .3); box-shadow: none;
}

.h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 18px;
}
.grad-text {
  background: var(--grad-text-light);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--dark .grad-text,
.hero .grad-text { background-image: var(--grad-text); }

.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.section--dark { background: var(--violet-900); color: #fff; overflow: hidden; }
.section--white { background: #fff; }

.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { font-size: 18px; color: var(--muted); max-width: 470px; justify-self: end; }
.section--dark .section-head p { color: var(--muted-dark); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center p { justify-self: center; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--grad {
  color: #fff;
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0 0;
  box-shadow: 0 14px 34px -12px rgba(193, 53, 132, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s ease, box-shadow .25s ease, background-position .5s ease;
}
.btn--grad:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 40px -12px rgba(193, 53, 132, .8); }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn--outline { color: var(--violet); border: 1.5px solid rgba(123, 47, 247, .35); background: #fff; }
.btn--outline:hover { border-color: var(--violet); background: var(--lav-100); transform: translateY(-2px); }
.btn--white { color: var(--violet); background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
.btn--white:hover { transform: translateY(-2px); }
.btn--sm { --h: 46px; padding: 0 22px; font-size: 15px; }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 0;
  transition: padding .3s ease;
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { padding: 10px 0; }
.header.is-scrolled .header__inner {
  background: rgba(21, 8, 35, .72);
  border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
}

.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; flex-shrink: 0; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px -8px rgba(193, 53, 132, .8);
}
.logo__mark img { width: 66%; height: 66%; object-fit: contain; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1; }
.logo__text small { display: block; font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(233, 220, 255, .6); margin-top: 4px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 15px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 15px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__phone:hover { color: var(--violet-soft); }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  position: relative;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s ease, top .3s ease;
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger.is-active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding: 100px 20px 30px;
  background: rgba(14, 5, 24, .96);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: grid; gap: 4px; }
.mobile-menu__nav a {
  font-family: var(--font-head); font-size: 26px; font-weight: 600; color: #fff;
  padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu__nav a::after { content: "→"; color: var(--violet-soft); font-family: var(--font); }
.mobile-menu__foot { margin-top: 30px; display: grid; gap: 12px; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 80px) 0 110px;
  background: var(--violet-950);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .75; will-change: transform; }
.orb--1 { width: 640px; height: 640px; left: -160px; top: -200px; background: #6a1bf0; animation: float1 18s ease-in-out infinite; }
.orb--2 { width: 520px; height: 520px; right: -120px; top: 60px; background: #c13584; opacity: .55 !important; animation: float2 22s ease-in-out infinite; }
.orb--3 { width: 380px; height: 380px; right: 22%; bottom: -180px; background: #f77737; opacity: .38 !important; animation: float3 20s ease-in-out infinite; }
.orb--4 { width: 300px; height: 300px; left: 30%; bottom: -60px; background: #8a3cff; opacity: .45 !important; animation: float2 26s ease-in-out infinite reverse; }
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(120px, 80px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-100px, 90px); } }
@keyframes float3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80px, -60px) scale(1.15); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 3.9vw, 62px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 24px 0 26px;
}
.hero__title .grad-text { display: inline; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(236, 226, 255, .76); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--violet-2)); box-shadow: 0 0 12px var(--c, var(--violet-2)); }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 48px; max-width: 560px;
  border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero__stat { padding: 18px 20px; background: rgba(21, 8, 35, .7); }
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 600; line-height: 1.1; }
.hero__stat span { display: block; margin-top: 6px; font-size: 13px; color: rgba(236, 226, 255, .62); line-height: 1.35; }

/* Phone mockup */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(185, 140, 255, .18);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.ring--1 { width: 460px; height: 460px; }
.ring--2 { width: 600px; height: 600px; border-style: dashed; border-color: rgba(185, 140, 255, .12); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.phone {
  position: relative; z-index: 2;
  width: 300px; padding: 12px;
  border-radius: 48px;
  background: linear-gradient(160deg, #3a2160, #1a0c2c);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 120px -20px rgba(155, 63, 230, .55);
  transform: rotate(-4deg);
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
.phone__screen { border-radius: 38px; overflow: hidden; background: #fff; color: var(--ink); position: relative; }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #0b0512; z-index: 3; }
.phone__status { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: 12px; font-weight: 800; }
.phone__status span:last-child { letter-spacing: 2px; }
.feed-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 8px; }
.feed-top b { font-family: var(--font-head); font-size: 16px; letter-spacing: -.02em; }
.feed-top div { display: flex; gap: 12px; }
.feed-top svg { width: 20px; height: 20px; }
.stories { display: flex; gap: 10px; padding: 4px 14px 12px; border-bottom: 1px solid #f0eaf8; }
.story { width: 50px; flex-shrink: 0; text-align: center; font-size: 9.5px; color: var(--muted); }
.story i {
  display: block; width: 50px; height: 50px; border-radius: 50%; padding: 2.5px; background: var(--grad); margin-bottom: 4px;
}
.story i::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid #fff; background: var(--s, #e6dcf7); }
.post__head { display: flex; align-items: center; gap: 9px; padding: 10px 14px; }
.post__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.post__avatar svg { width: 16px; height: 16px; }
.post__name { font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.post__name small { display: block; font-weight: 600; font-size: 10.5px; color: var(--muted); }
.post__more { margin-left: auto; font-weight: 900; letter-spacing: 1px; color: var(--ink-2); }
.post__img {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, rgba(252, 175, 69, .9), transparent 40%),
    radial-gradient(circle at 15% 90%, rgba(225, 48, 108, .9), transparent 45%),
    linear-gradient(140deg, #5a12e0, #9b3fe6 55%, #d1307f);
  color: #fff; padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.post__img::before {
  content: ""; position: absolute; width: 190px; height: 190px; right: -50px; bottom: -40px;
  border-radius: 50%; border: 22px solid rgba(255, 255, 255, .14);
}
.post__img small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; position: relative; }
.post__img strong { font-family: var(--font-head); font-size: 25px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; position: relative; }
.post__img em { font-style: normal; font-size: 12px; font-weight: 700; display: inline-flex; padding: 6px 10px; background: rgba(255, 255, 255, .2); border-radius: 999px; backdrop-filter: blur(6px); width: max-content; position: relative; }
.post__cta { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #f5efff; font-size: 12.5px; font-weight: 800; color: var(--violet); }
.post__actions { display: flex; gap: 14px; padding: 10px 14px 4px; }
.post__actions svg { width: 21px; height: 21px; }
.post__actions svg:first-child { color: var(--pink); fill: var(--pink); }
.post__likes { padding: 0 14px 16px; font-size: 11.5px; color: var(--muted); }
.post__likes b { color: var(--ink); }

.float-card {
  position: absolute; z-index: 3;
  padding: 14px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  backdrop-filter: blur(10px);
}
.float-card--lead { left: -8px; top: 110px; display: flex; gap: 12px; align-items: center; width: 240px; animation: bob 6s ease-in-out infinite; }
.float-card--lead .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-violet); display: grid; place-items: center; flex-shrink: 0; }
.float-card--lead .ic svg { width: 20px; height: 20px; color: #fff; }
.float-card--lead b { display: block; font-size: 14px; line-height: 1.2; }
.float-card--lead span { font-size: 12px; color: var(--muted); }
.float-card--chart { right: -14px; bottom: 120px; width: 210px; animation: bob 7s ease-in-out infinite 1s; }
.float-card--chart .t { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); font-weight: 700; }
.float-card--chart .t b { color: #12a150; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 12px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--lav-200); height: var(--h); transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.bars i:nth-child(n+4) { background: var(--grad-violet); }
.bars i:nth-child(1) { animation-delay: .1s; } .bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .3s; }
.bars i:nth-child(4) { animation-delay: .4s; } .bars i:nth-child(5) { animation-delay: .5s; } .bars i:nth-child(6) { animation-delay: .6s; } .bars i:nth-child(7) { animation-delay: .7s; }
@keyframes grow { from { transform: scaleY(0); } }
.float-card--tag { right: 30px; top: 70px; padding: 10px 14px; display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 13px; animation: bob 8s ease-in-out infinite .5s; }
.float-card--tag i { width: 10px; height: 10px; border-radius: 50%; background: #20c766; box-shadow: 0 0 0 4px rgba(32, 199, 102, .2); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 3;
  width: calc(100% + 80px); left: -40px;
  background: var(--grad);
  padding: 20px 0;
  overflow: hidden;
  transform: rotate(-1.4deg);
  margin: -34px 0 0;
  box-shadow: 0 20px 50px -20px rgba(123, 47, 247, .6);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: #fff; white-space: nowrap;
}
.marquee__track span::after { content: "✦"; font-size: .8em; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { background: var(--lav-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(123, 47, 247, .03);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--lav-100);
  color: var(--violet);
  margin-bottom: 26px;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--grad-violet); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service__num { position: absolute; top: 30px; right: 32px; font-family: var(--font-head); font-size: 14px; color: rgba(123, 47, 247, .35); font-weight: 600; }
.service h3 { font-family: var(--font-head); font-size: 21px; font-weight: 600; line-height: 1.22; letter-spacing: -.01em; }
.service p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.service__list { margin-top: 18px; display: grid; gap: 8px; }
.service__list li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 6px;
  background: var(--lav-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b2ff7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.service__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--violet); font-size: 15px; }
.service__link svg { width: 18px; height: 18px; transition: transform .25s ease; }
.service__link:hover svg { transform: translateX(4px); }
.service__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.service__tags span { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }

.service--wide { grid-column: span 2; }
.service--feature {
  color: #fff; border: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(252, 175, 69, .55), transparent 32%),
    radial-gradient(circle at 70% 110%, rgba(225, 48, 108, .7), transparent 45%),
    linear-gradient(130deg, #4d0fc4, #7b2ff7 45%, #a43ee8);
  box-shadow: var(--shadow-lg);
}
.service--feature p, .service--feature .service__list li { color: rgba(255, 255, 255, .85); }
.service--feature .service__num { color: rgba(255, 255, 255, .5); }
.service--feature .service__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.service--feature .service__list li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.service--feature .service__link { color: #fff; }
.service--feature::before { display: none; }
.service--feature .service__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.service--feature h3 { font-size: clamp(24px, 2.4vw, 32px); max-width: 560px; }
.service--feature p { max-width: 560px; font-size: 16.5px; }
.service--feature .badge-hot {
  position: absolute; top: 28px; right: 28px;
  padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--magenta);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}

.service--dark { background: var(--violet-900); color: #fff; border-color: transparent; }
.service--dark p, .service--dark .service__list li { color: rgba(236, 226, 255, .74); }
.service--dark .service__icon { background: rgba(155, 77, 255, .18); color: var(--violet-soft); }
.service--dark .service__num { color: rgba(185, 140, 255, .45); }
.service--dark .service__link { color: var(--violet-soft); }
.service--dark .service__list li::before { background-color: rgba(155, 77, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98cff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.service--dark .service__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* ---------- Why us ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.why-card {
  padding: 30px; border-radius: var(--radius);
  background: var(--lav-50); border: 1px solid var(--line);
}
.why-card__ic { width: 50px; height: 50px; border-radius: 15px; background: #fff; display: grid; place-items: center; color: var(--violet); box-shadow: 0 10px 24px -14px rgba(123, 47, 247, .6); margin-bottom: 20px; }
.why-card__ic svg { width: 24px; height: 24px; }
.why-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.25; }
.why-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.why-card--big {
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; border: 0;
  background:
    radial-gradient(circle at 10% 100%, rgba(247, 119, 55, .55), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(193, 53, 132, .6), transparent 45%),
    var(--violet-900);
  min-height: 420px; position: relative; overflow: hidden;
}
.why-card--big h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.why-card--big p { color: rgba(236, 226, 255, .76); font-size: 17px; max-width: 380px; }
.why-card--big .big-num {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(80px, 9vw, 130px); line-height: .9; letter-spacing: -.05em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Portfolio ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.case:hover { transform: translateY(-6px); border-color: rgba(185, 140, 255, .4); background: rgba(255, 255, 255, .07); }
.case.is-hidden { display: none; }
.case__media {
  position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(252, 175, 69, .5), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(225, 48, 108, .55), transparent 50%),
    linear-gradient(135deg, #3c0e94, #7b2ff7);
}
.case__media::before {
  content: attr(data-letter);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 88px; color: rgba(255, 255, 255, .22); letter-spacing: -.04em;
}
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s ease; }
.case:hover .case__media img { transform: scale(1.05); }
.case__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(14, 5, 24, .72); backdrop-filter: blur(8px);
  font-size: 12.5px; color: rgba(255, 255, 255, .8); font-weight: 600;
}
.case__badge b { color: #fff; font-weight: 800; }
.case__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case__type { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet-soft); }
.case h3 { margin-top: 8px; font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.case h3 a { display: inline-flex; align-items: center; gap: 8px; }
.case h3 svg { width: 18px; height: 18px; color: var(--violet-soft); transition: transform .25s ease; }
.case h3 a:hover svg { transform: translate(3px, -3px); }
.case p { margin-top: 10px; color: rgba(236, 226, 255, .66); font-size: 15px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.case__tags span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(155, 77, 255, .14); color: #dcc8ff; }
.cases-more { display: flex; justify-content: center; margin-top: 44px; }

.section--dark .orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.section--dark .orb--a { width: 520px; height: 520px; background: #6a1bf0; opacity: .35; left: -200px; top: -100px; }
.section--dark .orb--b { width: 420px; height: 420px; background: #c13584; opacity: .25; right: -160px; bottom: 10%; }
.section--dark .container { position: relative; z-index: 2; }

/* ---------- Process ---------- */
.process { background: var(--lav-50); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 36px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(123, 47, 247, .35) 0 8px, transparent 8px 16px);
}
.steps__line {
  position: absolute; left: 10%; top: 36px; height: 2px; width: 0; max-width: 80%;
  background: var(--grad); border-radius: 2px;
  transition: width 1.8s cubic-bezier(.3, .7, .2, 1);
}
.steps.is-visible .steps__line { width: 80%; }
.step { position: relative; text-align: center; }
.step__dot {
  position: relative; z-index: 2;
  width: 72px; height: 72px; margin: 0 auto 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1.5px solid var(--lav-200);
  box-shadow: 0 14px 30px -16px rgba(123, 47, 247, .6);
  color: var(--violet);
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.step__dot svg { width: 30px; height: 30px; }
.steps.is-visible .step__dot { background: var(--grad-violet); color: #fff; border-color: transparent; }
.steps.is-visible .step:nth-child(2) .step__dot { transition-delay: .1s; }
.steps.is-visible .step:nth-child(3) .step__dot { transition-delay: .45s; }
.steps.is-visible .step:nth-child(4) .step__dot { transition-delay: .8s; }
.steps.is-visible .step:nth-child(5) .step__dot { transition-delay: 1.15s; }
.steps.is-visible .step:nth-child(6) .step__dot { transition-delay: 1.5s; }
.step__card {
  padding: 26px 22px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  min-height: 210px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--magenta); letter-spacing: .08em; }
.step h3 { margin-top: 8px; font-family: var(--font-head); font-size: 17.5px; font-weight: 600; line-height: 1.25; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.process__cta { display: flex; justify-content: center; margin-top: 50px; }

/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--lav-50);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price__label { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #fff; color: var(--violet); border: 1px solid var(--line); }
.price h3 { margin-top: 20px; font-family: var(--font-head); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.price__desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 46px; }
.price__val { margin: 22px 0 22px; padding: 18px 0; border-block: 1px solid var(--line); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__val small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price__val strong { font-family: var(--font-head); font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price ul { display: grid; gap: 11px; margin-bottom: 28px; }
.price li { position: relative; padding-left: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); line-height: 1.45; }
.price li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat, var(--grad-violet);
}
.price .btn { margin-top: auto; width: 100%; }

.price--hot {
  color: #fff; border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(252, 175, 69, .45), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(225, 48, 108, .55), transparent 45%),
    linear-gradient(160deg, #5512d6, #7b2ff7 60%, #9b3fe6);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.price--hot:hover { transform: translateY(-20px); }
.price--hot .price__label { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .25); }
.price--hot .price__desc, .price--hot .price__val small { color: rgba(255, 255, 255, .75); }
.price--hot .price__val { border-color: rgba(255, 255, 255, .2); }
.price--hot li { color: rgba(255, 255, 255, .92); }
.price--hot li::before { background: #fff center / 11px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b2ff7' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.prices__note { margin-top: 34px; text-align: center; color: var(--muted); font-size: 14.5px; }
.prices__note b { color: var(--ink); }

/* ---------- Quiz ---------- */
.quiz-section { background: var(--violet-900); color: #fff; overflow: hidden; }
.quiz-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.quiz-aside {
  position: relative; overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  background:
    radial-gradient(circle at 0% 0%, rgba(155, 63, 230, .9), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(247, 119, 55, .65), transparent 50%),
    linear-gradient(160deg, #4a10b8, #8a2ad0 60%, #c13584);
  display: flex; flex-direction: column;
}
.quiz-aside .eyebrow { align-self: flex-start; }
.quiz-aside .h2 { font-size: clamp(28px, 3vw, 40px); }
.quiz-aside > p { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 17px; }
.quiz-gift {
  margin-top: auto; padding: 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  display: flex; gap: 14px; align-items: flex-start;
}
.quiz-gift__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: #fff; color: var(--magenta); display: grid; place-items: center; }
.quiz-gift__ic svg { width: 24px; height: 24px; }
.quiz-gift b { display: block; font-size: 16px; }
.quiz-gift div span { font-size: 14px; color: rgba(255, 255, 255, .8); line-height: 1.45; }
.quiz-aside__list { margin: 28px 0 32px; display: grid; gap: 10px; }
.quiz-aside__list li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.quiz-aside__list li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.quiz { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; min-height: 600px; }
.quiz__progress { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: rgba(236, 226, 255, .7); }
.quiz__progress b { color: #fff; }
.quiz__bar { margin-top: 12px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: inherit; transition: width .5s cubic-bezier(.3, .7, .2, 1); }
.quiz__form { display: flex; flex-direction: column; flex: 1; margin-top: 34px; }
.quiz-step { display: none; animation: stepIn .45s ease both; }
.quiz-step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.quiz-step h3 { font-family: var(--font-head); font-size: clamp(21px, 2.2vw, 27px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.quiz-step__hint { margin-top: 8px; font-size: 14.5px; color: rgba(236, 226, 255, .6); }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__box {
  display: flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .1);
  font-weight: 700; font-size: 15px; line-height: 1.3;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.option:hover .option__box { border-color: rgba(185, 140, 255, .5); background: rgba(155, 77, 255, .1); }
.option__check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; transition: all .2s ease;
}
.option input[type="radio"] + .option__box .option__check { border-radius: 50%; }
.option__check svg { width: 13px; height: 13px; opacity: 0; transform: scale(.4); transition: all .2s ease; color: #fff; }
.option input:checked + .option__box { border-color: transparent; background: linear-gradient(rgba(36, 16, 61, .92), rgba(36, 16, 61, .92)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.option input:checked + .option__box .option__check { background: var(--grad-violet); border-color: transparent; }
.option input:checked + .option__box .option__check svg { opacity: 1; transform: scale(1); }
.option input:focus-visible + .option__box { outline: 2px solid var(--violet-soft); outline-offset: 2px; }
.option__emoji { font-size: 13px; color: rgba(236, 226, 255, .55); font-weight: 600; margin-left: auto; white-space: nowrap; }

.quiz__fields { display: grid; gap: 12px; margin-top: 24px; }
.quiz__fields .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field {
  width: 100%; height: 56px; padding: 0 20px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #fff; font-size: 16px; font-weight: 600;
  outline: none; transition: border-color .2s ease, background .2s ease;
}
.field::placeholder { color: rgba(236, 226, 255, .45); font-weight: 500; }
.field:focus { border-color: var(--violet-soft); background: rgba(155, 77, 255, .08); }
textarea.field { height: 96px; padding: 16px 20px; resize: vertical; }
.field-label { font-size: 14px; font-weight: 700; color: rgba(236, 226, 255, .7); margin: 8px 0 -2px; }

.messengers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.msg { position: relative; cursor: pointer; }
.msg input { position: absolute; opacity: 0; pointer-events: none; }
.msg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 78px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; font-weight: 700;
  transition: all .2s ease;
}
.msg svg { width: 24px; height: 24px; color: var(--mc, #fff); }
.msg:hover span { border-color: rgba(185, 140, 255, .5); }
.msg input:checked + span { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 18%, transparent); box-shadow: 0 10px 24px -14px var(--mc); }
.msg input:focus-visible + span { outline: 2px solid var(--violet-soft); outline-offset: 2px; }
.msg--tg { --mc: #2aabee; }
.msg--viber { --mc: #8f5db7; }
.msg--wa { --mc: #25d366; }
.msg--phone { --mc: #f77737; }

.quiz__nav { margin-top: auto; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quiz__nav .btn--ghost[disabled] { opacity: .35; pointer-events: none; }
.quiz__error { margin-top: 14px; color: #ff8fb1; font-size: 14px; font-weight: 600; min-height: 20px; }

.form__status { display: none; margin-top: 4px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; background: rgba(32, 199, 102, .14); color: #7ff0ae; }
.form__status.is-show { display: block; }
.form__status.is-error { background: rgba(253, 29, 29, .14); color: #ff9a9a; }
.form-agree { font-size: 12.5px; color: rgba(236, 226, 255, .5); }

/* ---------- Contact (simple) ---------- */
.contact { background: var(--lav-50); padding: clamp(70px, 8vw, 110px) 0; }
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 200px 1fr 1.05fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(252, 175, 69, .6), transparent 35%),
    radial-gradient(circle at 70% 120%, rgba(225, 48, 108, .75), transparent 45%),
    linear-gradient(120deg, #4a10b8, #7b2ff7 50%, #a43ee8);
  box-shadow: var(--shadow-lg);
}
.contact-card::before {
  pointer-events: none;
  content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -200px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .07);
}
.contact-card h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; position: relative; }
.contact-card p { margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 16.5px; position: relative; }
.contact-form { position: relative; display: grid; gap: 12px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .field { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); }
.contact-form .field::placeholder { color: rgba(255, 255, 255, .72); }
.contact-form .field:focus { background: rgba(255, 255, 255, .2); border-color: #fff; }
.contact-form .btn { height: 58px; }
.contact-form .form-agree { color: rgba(255, 255, 255, .7); }
.contact-form .form__status { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--violet-950); color: rgba(236, 226, 255, .72); padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: #6a1bf0; filter: blur(140px); opacity: .25; left: 50%; top: -400px; transform: translateX(-50%); }
.footer .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin-top: 20px; max-width: 320px; font-size: 15px; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff;
  transition: background .25s ease, transform .25s ease;
}
.footer__social a:hover { background: var(--grad-violet); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__title { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; font-size: 15px; }
.footer__list a:hover { color: #fff; }
.footer__contact a { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #fff; }
.footer__contact a + a { font-family: var(--font); font-size: 15px; font-weight: 600; color: rgba(236, 226, 255, .72); margin-top: 6px; }
.footer__contact .btn { margin-top: 22px; }
.footer__big {
  margin-top: 64px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(35px, 12vw, 155px); line-height: .85; letter-spacing: -.06em; text-align: center;
  background: linear-gradient(180deg, rgba(185, 140, 255, .35), rgba(185, 140, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { margin-top: 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.popup.is-open { opacity: 1; visibility: visible; }
.popup__overlay { position: absolute; inset: 0; background: rgba(10, 3, 18, .72); backdrop-filter: blur(6px); }
.popup__dialog {
  position: relative; width: min(480px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 40px 34px 34px; border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(193, 53, 132, .45), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(106, 27, 240, .5), transparent 50%),
    var(--violet-900);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.3, .7, .2, 1);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8);
}
.popup.is-open .popup__dialog { transform: none; }
.popup__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s ease, transform .3s ease; }
.popup__close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.popup__close svg { width: 18px; height: 18px; }
.popup h2 { font-family: var(--font-head); font-size: 27px; font-weight: 600; line-height: 1.15; margin-top: 16px; letter-spacing: -.01em; }
.popup p { margin-top: 10px; color: rgba(236, 226, 255, .72); font-size: 15.5px; }
.popup form { display: grid; gap: 12px; margin-top: 24px; }
.popup .messengers { gap: 8px; }
.popup .msg span { height: 70px; font-size: 12.5px; }

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-violet); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(123, 47, 247, .8);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all .3s ease;
}
.scroll-top.is-show { opacity: 1; visibility: visible; transform: none; }
.scroll-top svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .steps__line { width: 80%; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 11px; font-size: 14.5px; }
  .header__phone { display: none; }
  .prices { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .price--hot { transform: none; }
  .price--hot:hover { transform: translateY(-6px); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .steps::before, .steps__line { display: none; }
}

@media (max-width: 1024px) {
  .nav, .header__actions .btn { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero__visual { min-height: 600px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head p { justify-self: start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service--wide { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card--big { grid-row: auto; grid-column: span 2; min-height: 300px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .quiz-wrap { grid-template-columns: 1fr; }
  .quiz-aside__list { display: none; }
  .quiz-gift { margin-top: 26px; }
  .contact-card { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .header { padding: 10px 0; }
  .header__inner { height: 58px; padding: 0 6px 0 14px; }
  .logo__mark { width: 36px; height: 36px; border-radius: 11px; }
  .logo__text { font-size: 17px; }
  .hero { padding-bottom: 90px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero__stat { padding: 14px 12px; }
  .hero__stat strong { font-size: 20px; }
  .hero__stat span { font-size: 12px; }
  .hero__visual { min-height: 660px; scale: .88; margin: -30px -16px -60px; }
  .ring--2 { width: 480px; height: 480px; }
  .ring--1 { width: 380px; height: 380px; }
  .float-card--lead { left: 6px; top: 70px; width: 220px; }
  .float-card--chart { right: 6px; bottom: 80px; width: 180px; }
  .float-card--tag { right: 10px; top: 24px; }
  .services-grid, .cases, .prices, .why-grid { grid-template-columns: 1fr; }
  .service--wide, .why-card--big { grid-column: auto; }
  .service { padding: 26px 22px; }
  .service--feature .service__list, .service--dark .service__list { grid-template-columns: 1fr; }
  .service--feature .badge-hot { position: static; align-self: flex-start; margin-bottom: 16px; order: -1; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 14px; text-align: left; align-items: start; }
  .step__dot { width: 60px; height: 60px; margin: 0; }
  .step__dot svg { width: 26px; height: 26px; }
  .step__card { min-height: 0; padding: 20px; }
  .options { grid-template-columns: 1fr; }
  .quiz { min-height: 0; }
  .quiz__fields .row, .contact-form .row { grid-template-columns: 1fr; }
  .messengers { grid-template-columns: repeat(2, 1fr); }
  .quiz__nav .btn { flex: 1; padding: 0 18px; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .popup__dialog { padding: 34px 20px 24px; }
  .popup .messengers { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .popup .msg span { height: 64px; font-size: 11.5px; }
  .marquee { margin-top: -26px; padding: 15px 0; }
}

@media (max-width: 400px) {
  .hero__visual { scale: .8; margin: -60px -30px -90px; }
}

/* =========================================================
   v2: фото, логотип, приклади реклами
   ========================================================= */
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .05); } }
.logo__mark { box-shadow: 0 0 0 3px rgba(155, 77, 255, .35), 0 10px 26px -8px rgba(155, 77, 255, .9); }
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* hero ad photo */
.post__img .bg-img { object-position: 60% 25%; }
.post__img::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(90, 18, 224, .55) 0%, rgba(90, 18, 224, .1) 40%, rgba(209, 48, 127, .85) 100%); }
.post__img > *:not(.bg-img) { z-index: 1; }
.post__img::before { z-index: 1; }

.float-card--person { left: 10px; bottom: 40px; display: flex; gap: 10px; align-items: center; padding: 10px 16px 10px 10px; animation: bob 6.5s ease-in-out infinite 1.5s; }
.float-card--person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px #9b4dff; }
.float-card--person b { display: block; font-size: 13.5px; line-height: 1.2; }
.float-card--person span { font-size: 12px; color: #12924a; font-weight: 700; }

/* about */
.about { background: #fff; }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 30px -24px -24px 30px; border-radius: 36px;
  background: var(--grad); opacity: .9; z-index: 0;
}
.about__photo { position: relative; z-index: 1; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.about__badge {
  position: absolute; z-index: 2; padding: 14px 18px; border-radius: 18px; background: #fff;
  box-shadow: 0 20px 40px -18px rgba(76, 22, 150, .55);
}
.about__badge b { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 600; }
.about__badge span { font-size: 12.5px; color: var(--muted); }
.about__badge--top { top: 34px; left: -26px; animation: bob 7s ease-in-out infinite; }
.about__badge--bottom { bottom: 44px; right: -34px; display: flex; gap: 12px; align-items: center; animation: bob 8s ease-in-out infinite 1s; }
.about__badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, .2); flex-shrink: 0; }
.about__lead { margin-top: 22px; font-size: 18px; color: var(--muted); }
.about__list { margin-top: 30px; display: grid; gap: 14px; }
.about__list li { padding: 18px 20px 18px 62px; border-radius: 20px; background: var(--lav-50); border: 1px solid var(--line); position: relative; }
.about__list li::before {
  content: ""; position: absolute; left: 18px; top: 20px; width: 28px; height: 28px; border-radius: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat, var(--grad-violet);
}
.about__list b { display: block; font-size: 16.5px; }
.about__list span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.about__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.about__sign { display: flex; gap: 12px; align-items: center; }
.about__sign img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #9b4dff; }
.about__sign b { display: block; font-size: 15px; line-height: 1.2; }
.about__sign span { font-size: 13.5px; color: var(--muted); }

/* ad examples */
.ads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ad-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 18px; border-radius: 30px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.ad-card:hover { transform: translateY(-6px); border-color: rgba(185, 140, 255, .4); background: rgba(255, 255, 255, .07); }
.ad-card__frame { border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); aspect-ratio: 4 / 5.3; position: relative; }
.ad { position: relative; height: 100%; display: flex; flex-direction: column; }
.ad__ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-weight: 800; font-size: 13px; background: var(--grad); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #c13584; }
.ad--feed .ad__head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.ad__head b { display: block; font-size: 13px; line-height: 1.2; }
.ad__head small { font-size: 11px; color: var(--muted); }
.ad__dots { margin-left: auto; font-weight: 900; color: var(--ink-2); }
.ad__img { position: relative; flex: 1; overflow: hidden; }
.ad__img img, .ad--story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transition: transform .7s ease; }
.ad-card:hover .ad__img img, .ad-card:hover .ad--story > img { transform: scale(1.05); }
.ad__overlay { position: absolute; inset: auto 0 0 0; padding: 50px 16px 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(40, 8, 80, .55) 35%, rgba(106, 27, 240, .92)); }
.ad__overlay em, .ad__story-text em { font-style: normal; display: inline-block; padding: 5px 10px; border-radius: 999px; background: #fcaf45; color: #2a0e3d; font-size: 11.5px; font-weight: 800; margin-bottom: 8px; }
.ad__overlay strong { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.ad__cta { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13.5px; font-weight: 800; color: var(--violet); background: #f5efff; }
.ad--story { color: #fff; background: #1c0c30; }
.ad--story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 5, 24, .55) 0%, transparent 25%, transparent 45%, rgba(193, 53, 132, .75) 80%, rgba(106, 27, 240, .95) 100%); }
.ad--story > *:not(img) { position: relative; z-index: 1; }
.ad__bars { display: flex; gap: 4px; padding: 12px 12px 0; }
.ad__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .4); }
.ad__bars i:first-child { background: #fff; }
.ad__top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; }
.ad__top small { opacity: .75; font-size: 11px; }
.ad__story-text { margin-top: auto; padding: 0 18px; }
.ad__story-text strong { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.ad__swipe { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 0 18px; font-weight: 800; font-size: 13px; }
.ad__swipe span { padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--violet); }
.ad-card__meta { padding: 0 6px 6px; }
.ad-card__platform { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-soft); }
.ad-card__meta h3 { margin-top: 6px; font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.ad-card__meta p { margin-top: 6px; color: rgba(236, 226, 255, .66); font-size: 14.5px; }
.ad-card__meta p b { color: #fff; }

/* why big card photo */
.why-card--big .bg-img { object-position: 60% 25%; }
.why-card--big::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(21, 8, 35, .35) 0%, rgba(21, 8, 35, .55) 45%, rgba(48, 10, 90, .95) 100%), radial-gradient(circle at 0% 100%, rgba(247, 119, 55, .45), transparent 45%); }
.why-card--big > *:not(.bg-img) { position: relative; z-index: 1; }

/* contact photo */
.contact-card__photo { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; padding: 6px; background: rgba(255, 255, 255, .25); }
.contact-card__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 60% 25%; }
.contact-card__photo .online { position: absolute; right: 6px; bottom: 14px; padding: 6px 12px 6px 24px; border-radius: 999px; background: #fff; color: #12924a; font-size: 12px; font-weight: 800; }
.contact-card__photo .online::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #22c55e; }

/* popup person */
.popup__person { margin-top: 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 700; color: #d9c8ff; }
.popup__person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #22c55e; }

@media (max-width: 1280px) {
  .nav a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 1180px) {
  .ads-grid { gap: 18px; }
  .contact-card { grid-template-columns: 160px 1fr; }
  .contact-card .contact-form { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto 20px; width: 100%; }
  .ads-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .ads-grid { grid-template-columns: 1fr; }
  .ad-card__frame { aspect-ratio: 4 / 5; }
  .about__badge--top { left: -6px; top: 16px; }
  .about__badge--bottom { right: -6px; bottom: 20px; }
  .about__media::before { inset: 20px -10px -12px 20px; }
  .contact-card { grid-template-columns: 1fr; text-align: left; }
  .contact-card__photo { width: 120px; }
  .float-card--person { left: 14px; bottom: 30px; }
  .logo__mark { width: 40px; height: 40px; }
}
.nav a { white-space: nowrap; }
@media (max-width: 1440px) { .header__phone { display: none; } }
@media (max-width: 1240px) { .nav a[href="#quiz"] { display: none; } }
@media (max-width: 720px) { .why-card--big { min-height: 400px; gap: 24px; } }

/* ---------- v3: заглушки, бейдж «онлайн», фото форми на мобільному ---------- */
.contact-card__photo .online {
  right: auto; left: 50%; bottom: -12px; transform: translateX(-50%);
  padding: 7px 14px 7px 26px; white-space: nowrap; overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(18, 146, 74, .7);
}
.contact-card__photo .online::before { left: 11px; animation: onlineBlink 1.4s ease-in-out infinite; }
.contact-card__photo .online::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(34, 197, 94, .28), transparent);
  transform: skewX(-20deg); animation: onlineShine 2.6s ease-in-out infinite;
}
@keyframes onlineBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); }
  50% { opacity: .45; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}
@keyframes onlineShine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

@media (max-width: 720px) {
  .contact { padding-top: 110px; }
  .contact-card { overflow: visible; padding-top: 90px; text-align: center; }
  .contact-card::before { display: none; }
  .contact-card__photo {
    position: absolute; top: -72px; left: 50%; transform: translateX(-50%);
    width: 140px; padding: 5px;
    background: linear-gradient(135deg, #fff, #e7dbff);
    box-shadow: 0 20px 40px -14px rgba(76, 22, 150, .6);
  }
  .contact-form .form-agree { text-align: center; }
}

@media (max-width: 720px) {
  .contact-card__photo { width: 140px; height: 140px; aspect-ratio: 1 / 1; border-radius: 50%; overflow: visible; }
  .contact-card__photo img { display: block; width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: 60% 25%; }
}

/* ---------- v4: кейси-картинки, lightbox, мобільний градієнт hero ---------- */
.ads-grid { gap: 22px; }
a.ad-card {
  display: block; padding: 0; gap: 0; overflow: hidden;
  border-radius: 26px; aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  position: relative; cursor: zoom-in;
}
a.ad-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
a.ad-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(185, 140, 255, 0); transition: box-shadow .35s ease;
}
a.ad-card:hover { transform: translateY(-6px); border-color: transparent; }
a.ad-card:hover img { transform: scale(1.04); }
a.ad-card:hover::after { box-shadow: inset 0 0 0 2px rgba(185, 140, 255, .8); }

.lightbox {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px;
  background: rgba(10, 3, 18, .88); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(1080px, 100%); max-height: calc(100vh - 48px); width: auto; border-radius: 18px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8); transform: scale(.96); transition: transform .35s ease; }
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 20px; height: 20px; }

/* Мобільний hero: багатоколірний переливний градієнт (кілька кольорів одночасно) */
@media (max-width: 720px) {
  .hero__bg .orb { display: none; }
  .hero__bg {
    background-color: #2a0a63;
    background-image:
      radial-gradient(closest-side, #f77737, rgba(247, 119, 55, 0)),
      radial-gradient(closest-side, #e1306c, rgba(225, 48, 108, 0)),
      radial-gradient(closest-side, #7b2ff7, rgba(123, 47, 247, 0)),
      radial-gradient(closest-side, #fcaf45, rgba(252, 175, 69, 0)),
      radial-gradient(closest-side, #c13584, rgba(193, 53, 132, 0)),
      radial-gradient(closest-side, #5a12e0, rgba(90, 18, 224, 0));
    background-size: 85% 38%, 90% 40%, 95% 42%, 70% 32%, 90% 40%, 100% 45%;
    background-repeat: no-repeat;
    background-position: 100% 0%, 0% 15%, 80% 45%, 10% 55%, 90% 80%, 0% 100%;
    animation: heroMesh 7s ease-in-out infinite alternate;
  }
  .hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14, 5, 24, .12) 0%, rgba(14, 5, 24, .3) 45%, rgba(14, 5, 24, .6) 100%);
  }
  .hero__grid-bg { z-index: 1; opacity: .45; }

  /* Карусель кейсів */
  .ads-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 4px 16px 10px; margin: 0 -16px; scroll-padding: 0 16px;
  }
  .ads-grid::-webkit-scrollbar { display: none; }
  .ads-grid .ad-card { scroll-snap-align: start; }
  .js .ads-grid .ad-card.reveal { opacity: 1; transform: none; }
  a.ad-card:hover { transform: none; }
  .ads-nav { display: flex; }
}
@keyframes heroMesh {
  0%   { background-position: 100% 0%, 0% 18%, 90% 40%, 0% 58%, 100% 78%, 0% 100%; }
  25%  { background-position: 0% 8%, 100% 25%, 10% 48%, 100% 50%, 0% 70%, 100% 95%; }
  50%  { background-position: 60% 20%, 20% 0%, 100% 60%, 30% 80%, 60% 55%, 30% 85%; }
  75%  { background-position: 20% 0%, 80% 40%, 40% 30%, 80% 70%, 10% 95%, 90% 75%; }
  100% { background-position: 90% 15%, 0% 35%, 60% 55%, 10% 40%, 100% 100%, 50% 90%; }
}

.ads-nav { display: none; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; }
.ads-nav__count { margin-right: auto; font-size: 14px; color: rgba(236, 226, 255, .6); font-weight: 600; }
.ads-nav__count b { color: #fff; font-family: var(--font-head); font-size: 18px; }
.ads-nav__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--grad-violet); box-shadow: 0 12px 26px -12px rgba(155, 63, 230, .9);
  transition: opacity .2s ease, transform .2s ease;
}
.ads-nav__btn:active { transform: scale(.92); }
.ads-nav__btn[disabled] { opacity: .35; box-shadow: none; }
.ads-nav__btn svg { width: 20px; height: 20px; }

@media (max-width: 720px) { .ads-nav { display: flex; } }

/* v5: динамічний hero-градієнт на телефоні — обертовий кольоровий шар + рухомі плями */
@media (max-width: 720px) {
  .hero__bg { overflow: hidden; }
  .hero__bg::before {
    content: ""; position: absolute; z-index: 0;
    width: 220vmax; height: 220vmax; left: 50%; top: 35%;
    margin: -110vmax 0 0 -110vmax;
    background: conic-gradient(from 0deg,
      #6a1bf0 0deg, #c13584 50deg, #fd1d1d 85deg, #f77737 120deg, #fcaf45 150deg,
      #e1306c 195deg, #833ab4 240deg, #5a12e0 285deg, #e1306c 320deg, #6a1bf0 360deg);
    filter: blur(40px) saturate(1.25);
    opacity: .6; mix-blend-mode: screen;
    animation: heroSpin 9s linear infinite, heroHue 12s ease-in-out infinite alternate;
    will-change: transform;
  }
  .hero__bg::after { z-index: 0; }
}
@keyframes heroSpin { to { transform: rotate(360deg); } }
@keyframes heroHue { 0% { opacity: .45; } 50% { opacity: .7; } 100% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .hero__bg::before { animation: none; } }

/* v6: мишень + стріла на фоні hero (ненав'язливо) */
.hero-target {
  position: absolute; z-index: 1; pointer-events: none;
  width: 420px; height: 420px; left: calc(50% - 230px); top: 90px;
  opacity: .55; overflow: visible;
}
.hero-target__rings circle { fill: none; stroke: rgba(236, 226, 255, .14); stroke-width: 1.2; }
.hero-target__rings circle:nth-child(2) { stroke-dasharray: 3 9; }
.hero-target__rings circle:nth-child(4) { stroke-dasharray: 2 6; }
.hero-target__rings { transform-box: view-box; transform-origin: 0 0; animation: tgRotate 60s linear infinite; }
.hero-target__core { stroke: rgba(225, 48, 108, .35) !important; stroke-width: 1.5 !important; }
.hero-target__dot { fill: url(#tgGrad) !important; stroke: none !important; animation: tgDot 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-target__wave { fill: none; stroke: url(#tgGrad); stroke-width: 2; opacity: 0; transform-box: view-box; transform-origin: 0 0; animation: tgWave 6s ease-out infinite; }
.hero-target__wave--2 { animation-delay: .25s; }
.hero-target__arrow { animation: tgFly 6s cubic-bezier(.55, 0, .9, .45) infinite; }
.hero-target__shake { animation: tgShake 6s ease-out infinite; transform-box: view-box; transform-origin: 0 0; }

@keyframes tgRotate { to { transform: rotate(360deg); } }
@keyframes tgFly {
  0%   { transform: translate(260px, -260px); opacity: 0; }
  4%   { opacity: 1; }
  14%  { transform: translate(0, 0); opacity: 1; }
  72%  { transform: translate(0, 0); opacity: 1; }
  84%  { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(260px, -260px); opacity: 0; }
}
@keyframes tgShake {
  0%, 14% { transform: rotate(0); }
  16% { transform: rotate(2.4deg); }
  18% { transform: rotate(-1.8deg); }
  20% { transform: rotate(1deg); }
  23%, 100% { transform: rotate(0); }
}
@keyframes tgWave {
  0%, 13.9% { transform: scale(1); opacity: 0; }
  14% { transform: scale(1); opacity: .9; }
  45% { transform: scale(5.6); opacity: 0; }
  100% { transform: scale(5.6); opacity: 0; }
}
@keyframes tgDot {
  0%, 13% { transform: scale(1); }
  15% { transform: scale(1.9); }
  24%, 100% { transform: scale(1); }
}

@media (max-width: 1024px) {
  .hero-target { width: 480px; height: 480px; left: auto; right: -180px; bottom: auto; top: 360px; }
}
@media (max-width: 720px) {
  .hero-target { width: 340px; height: 340px; right: -60px; top: 60px; opacity: .5; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-target * { animation: none !important; }
  .hero-target__arrow { opacity: 1; }
}

/* v7: детальна стріла */
.hero-target__shaft { stroke: rgba(255, 255, 255, .85); stroke-width: 2.6; stroke-linecap: round; }
.hero-target__band { fill: #fcaf45; }
.hero-target__band--2 { fill: #e1306c; }
.hero-target__fletch { fill: url(#tgFeather); opacity: .95; }
.hero-target__fletch--mid { fill: #ffffff; opacity: .55; }
.hero-target__rib { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: .9; stroke-linecap: round; }
.hero-target__nock { fill: #f77737; }
.hero-target__head { fill: url(#tgHead); }
.hero-target__head-shine { fill: rgba(255, 255, 255, .9); }
.hero-target__arrow { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }

/* v8: стрілки каруселі — легкий бордер */
.ads-nav__btn {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
  color: rgba(255, 255, 255, .9);
  transition: border-color .2s ease, background .2s ease, opacity .2s ease, transform .2s ease;
}
.ads-nav__btn:hover, .ads-nav__btn:active { border-color: rgba(185, 140, 255, .7); background: rgba(155, 77, 255, .12); }
.ads-nav__btn[disabled] { opacity: .3; }

/* v9: стани поля телефону */
.field.is-invalid { border-color: #ff6b8b !important; box-shadow: 0 0 0 3px rgba(255, 107, 139, .18); }
input[type="tel"].field { letter-spacing: .02em; font-variant-numeric: tabular-nums; }

.ads-nav--light .ads-nav__count { color: var(--muted); }
.ads-nav--light .ads-nav__count b { color: var(--ink); }
.ads-nav--light .ads-nav__btn { color: var(--violet); background: #fff; border-color: rgba(123, 47, 247, .22); }
.ads-nav--light .ads-nav__btn:hover, .ads-nav--light .ads-nav__btn:active { border-color: var(--violet); background: var(--lav-100); }

/* v11: тариф «Навчання» на всю ширину */
.price--wide {
  margin-top: 18px;
  display: grid; grid-template-columns: 1.15fr 1fr auto; gap: 36px; align-items: center;
  padding: 30px 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(252, 175, 69, .18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(123, 47, 247, .12), transparent 45%),
    var(--lav-50);
}
.price--wide h3 { margin-top: 14px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
.price--wide .price__desc { min-height: 0; margin-top: 10px; font-size: 15.5px; }
.price--wide ul { margin: 0; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.price--wide__side { display: grid; gap: 16px; justify-items: stretch; min-width: 240px; }
.price--wide .price__val { margin: 0; padding: 0; border: 0; justify-content: center; }
.price--wide .btn { margin-top: 0; }
@media (max-width: 1180px) {
  .price--wide { grid-template-columns: 1fr 1fr; }
  .price--wide__side { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
}
@media (max-width: 720px) {
  .price--wide { grid-template-columns: 1fr; gap: 22px; padding: 28px 22px; }
  .price--wide ul { grid-template-columns: 1fr; }
  .price--wide__side { grid-template-columns: 1fr; }
  .price--wide .price__val { justify-content: flex-start; padding-top: 18px; border-top: 1px solid var(--line); }


}

/* v12: фото у why-card */
.why-card--big .bg-img { object-position: 52% 35%; }

/* v13: SMM на всю ширину, соцмережі в мобільному меню, іконки месенджерів */
.service--full { grid-column: 1 / -1; }
@media (max-width: 1024px) { .service--full { grid-column: span 2; } }
@media (max-width: 720px) { .service--full { grid-column: auto; } }
.mobile-menu__social { justify-content: center; margin-top: 10px; }
.mobile-menu__social a { width: 52px; height: 52px; border-radius: 16px; }
.msg svg { width: 26px; height: 26px; }

/* v14: SMM на телефоні — світла картка */
@media (max-width: 720px) {
  .service--dark { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .service--dark p { color: var(--muted); }
  .service--dark .service__list li { color: var(--ink-2); }
  .service--dark .service__icon { background: var(--lav-100); color: var(--violet); }
  .service--dark .service__num { color: rgba(123, 47, 247, .35); }
  .service--dark .service__link { color: var(--violet); }
  .service--dark .service__list li::before {
    background-color: var(--lav-100);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b2ff7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
  .service--dark:hover .service__icon { background: var(--grad-violet); color: #fff; }
}

/* v15: окрема сторінка бонус-квізу */
.bonus-page { min-height: 100vh; padding-top: calc(var(--header-h) + 70px); display: flex; align-items: center; }
.bonus-page .container { width: min(var(--container), 100% - 40px); }
.bonus-page .quiz { min-height: 520px; }
.bonus-page .quiz-step .field { height: 60px; font-size: 17px; }
.page-bonus .header { background: transparent; }
@media (max-width: 720px) {
  .bonus-page { padding-top: calc(var(--header-h) + 30px); align-items: flex-start; }
  .bonus-page .container { width: calc(100% - 32px); }
  .bonus-page .quiz-aside__list { display: none; }
}

/* v16: кнопка-посилання у футері, авто-висота квізу на телефоні */
.footer__contact .btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 15px; font-weight: 700; color: #fff; text-align: center;
}
@media (max-width: 720px) {
  .bonus-page .quiz { min-height: 0; height: auto; }
}

/* v17: юридичні сторінки + підпис у футері */
.footer__bottom { align-items: center; }
.footer__legal a { color: inherit; transition: color .2s ease; }
.footer__legal a:hover { color: #fff; }
.footer__made { font-size: 12px; color: rgba(236, 226, 255, .32); letter-spacing: .02em; }

.legal-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--violet-950);
  padding: calc(var(--header-h) + 80px) 0 70px;
}
.legal-hero .orb { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.legal-hero .orb--a { width: 520px; height: 520px; background: #6a1bf0; opacity: .45; left: -180px; top: -200px; }
.legal-hero .orb--b { width: 420px; height: 420px; background: #c13584; opacity: .3; right: -140px; top: 0; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero p { margin-top: 16px; max-width: 640px; color: rgba(236, 226, 255, .72); font-size: 18px; }
.legal-hero__date { display: inline-block; margin-top: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(236, 226, 255, .7); }

.legal { background: var(--lav-50); padding: 60px 0 100px; }
.legal__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.legal__toc { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.legal__toc-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .2s ease, color .2s ease; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--violet-soft); font-size: 12.5px; font-weight: 800; padding-top: 1px; }
.legal__toc a:hover { background: var(--lav-100); color: var(--violet); }
.legal__content { display: grid; gap: 18px; }
.legal__block { padding: 30px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__block h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-head); font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.legal__block h2 span { font-size: 14px; color: var(--magenta); letter-spacing: .06em; }
.legal__block p, .legal__block li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal__block p + p, .legal__block p + ul, .legal__block ul + p, .legal__block p + ol { margin-top: 12px; }
.legal__block ul, .legal__block ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal__block ul { list-style: none; padding-left: 0; }
.legal__block ul li { position: relative; padding-left: 22px; }
.legal__block ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-violet); }
.legal__block ol li::marker { color: var(--violet); font-weight: 800; }
.legal__block a { color: var(--violet); font-weight: 700; }
.legal__block b { color: var(--ink); }
.legal__contacts li::before { display: none; }
.legal__contacts li { padding-left: 0 !important; }

@media (max-width: 1024px) {
  .legal__inner { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 720px) {
  .legal-hero { padding: calc(var(--header-h) + 40px) 0 50px; }
  .legal { padding: 30px 0 70px; }
  .legal__block { padding: 24px 20px; }
  .legal__toc { padding: 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.form-agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
