:root {
  --bg: #0a0a0b;
  --fg: #f4f4f2;
  --muted: #8b8b90;
  --line: rgba(255,255,255,.09);
  --lime: #d8ef0d;
  --blue: #3a3cff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); }
body { font-family: 'Manrope', system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- grid backdrop ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 33.333%;
  background-position: -1px -1px;
  overflow: hidden;
}
.hero::after { /* soft vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0,0,0,.55) 100%);
}

/* ---------- header ---------- */
/* pinned to the top; turns into frosted glass once the page scrolls */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(16px, 8vw, 160px);
  border-bottom: 1px solid transparent;
  transition: padding .35s cubic-bezier(.2,.7,.2,1), background-color .35s, border-color .35s;
}
.hero { padding-top: 108px; }
header.stuck {
  padding-top: 14px; padding-bottom: 14px;
  background-color: rgba(10,10,11,.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255,255,255,.08);
}
header.stuck .logo img { height: 44px; }
/* backdrop-filter would trap the fixed mobile menu inside the header bar */
header:has(nav.open) { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: transparent; }
.logo { display: flex; align-items: center; gap: 16px; }
.logo img { display: block; height: 52px; width: auto; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.logo:hover img { transform: translateY(-2px) rotate(-3deg); }
.logo-cap {
  padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18);
  font-size: 12px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

nav ul { display: flex; gap: clamp(22px, 2.3vw, 44px); list-style: none; font-size: 17px; font-weight: 500; }
nav a { transition: color .2s; white-space: nowrap; }
header .btn { white-space: nowrap; }
@media (max-width: 1366px) { .logo-cap { display: none; } }
nav a:hover, nav a.active { color: var(--lime); }

.head-actions { display: flex; align-items: center; gap: 18px; }
/* RU / KG switch: a small pill, the current language filled */
.lang { display: flex; padding: 3px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; }
.lang a { padding: 7px 11px; border-radius: 30px; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1; color: var(--muted); transition: color .2s, background-color .2s; }
.lang a:hover { color: var(--fg); }
.lang a[aria-current] { background: var(--fg); color: #0a0a0b; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--lime); color: #0a0a0b;
  font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: 6px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(216,239,13,.55); }
.btn svg { width: 18px; height: 18px; }
.btn .t-short { display: none; }
.burger { width: 52px; height: 52px; border-radius: 8px; background: var(--fg); display: grid; place-items: center; border: 0; cursor: pointer; }
@media (min-width: 1181px) { .burger { display: none; } }
.burger span { display: block; width: 20px; height: 2px; background: #0a0a0b; box-shadow: 0 -6px 0 #0a0a0b, 0 6px 0 #0a0a0b; }

/* ---------- main composition ---------- */
.stage {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(16px, 10vw, 200px) 36px clamp(16px, 8vw, 160px);
}
.comp { position: relative; width: min(1320px, 100%); }

.asterisk {
  position: absolute; left: 1%; top: -4%;
  width: clamp(120px, 15vw, 250px); height: auto;
  animation: glass-sway 9s ease-in-out infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* a gentle sway: a full spin would make the baked-in light look fake */
@keyframes glass-sway {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .asterisk { animation: none; } }

.waves {
  position: absolute; right: 9%; top: 3%;
  width: clamp(220px, 30vw, 470px); aspect-ratio: 1 / 1;
  z-index: 0; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 72%);
          mask-image: radial-gradient(ellipse at center, #000 45%, transparent 72%);
}
.waves path { fill: none; stroke: #fff; stroke-width: .6; }


h1 { position: relative; z-index: 1; font-weight: 900; line-height: .98; }
.l1, .l2 {
  display: block; font-family: 'Unbounded', 'Montserrat'; text-transform: uppercase;
  font-size: clamp(34px, 4.9vw, 84px); letter-spacing: -.02em;
  transform: skewX(-10deg); transform-origin: left bottom;
  white-space: nowrap;
}
.l1 { padding-left: 17%; }
.l2 { padding-left: 9%; margin-top: .12em; }
/* decorative marks live in CSS so the H1 text stays clean for search engines */
.l1::before { content: "— "; }
.l2::after { content: "//"; color: var(--lime); }
.l3, .l4 {
  display: block; text-align: right; font-family: 'Unbounded', 'Montserrat'; font-weight: 500;
  font-size: clamp(30px, 5vw, 86px); letter-spacing: -.03em;
  white-space: nowrap;
}
.l3 { margin-top: .32em; }
.l4 { margin-top: .12em; }
.l4::before { content: "*"; color: var(--lime); font-size: .7em; vertical-align: .45em; margin-right: .06em; }

/* the selling part of the first screen: offer with price, two ways to act, proof */
.offer { position: relative; z-index: 2; max-width: 780px; margin-top: clamp(20px, 2.4vw, 34px); padding-left: 7%; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.offer-wa svg { width: 20px; height: 20px; }
.offer-pick { display: inline-flex; align-items: center; padding: 15px 24px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; font-weight: 700; font-size: 16px; transition: border-color .2s, color .2s; }
.offer-pick:hover { border-color: var(--lime); color: var(--lime); }
.offer-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.offer-trust li { display: flex; align-items: center; gap: 8px; }
.offer-trust li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.offer-trust b { color: var(--lime); }
/* stories sit beside the offer on wide screens and drop under it on smaller ones */
.offer-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.offer-row .stories { margin: 18px 3% 0 0; }
@media (max-width: 1200px) {
  .offer-row { flex-direction: column; align-items: stretch; gap: 0; }
  .offer-row .stories { margin: 28px 0 0 7%; }
}
@media (max-width: 900px) { .offer-row .stories { margin-left: 0; } }
.bottom-row { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-top: clamp(22px, 2.6vw, 38px); padding-left: 7%; }
.badge {
  position: relative; flex: none;
  width: clamp(120px, 11vw, 180px); aspect-ratio: 1;
}
.badge .ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { fill: var(--fg); font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: 13.5px; letter-spacing: 3px; }
.badge a {
  position: absolute; inset: 25%; border-radius: 50%;
  background: var(--lime); display: grid; place-items: center;
  transition: transform .25s;
}
.badge a:hover { transform: scale(1.08) rotate(-45deg); }
.badge a svg { width: 42%; height: 42%; }

/* "с 2017 года": big lime year, two calm lines next to it */
.lead { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 20px); }
/* typewriter: services typed out one after another; the ghost holds the width of the longest */
.tw { display: inline-grid; margin-top: 2px; font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: clamp(14px, 1vw, 16px); color: var(--lime); white-space: nowrap; }
.tw > * { grid-area: 1 / 1; }
.tw-ghost { visibility: hidden; }
.tw-text::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -.15em; background: currentColor; animation: tw-blink 1s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
.lead b { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(36px, 3.6vw, 56px); line-height: .95; letter-spacing: -.04em; color: var(--lime); white-space: nowrap; }
.lead > span { padding-left: clamp(14px, 1.4vw, 20px); border-left: 1px solid rgba(255,255,255,.2); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.4; font-weight: 500; }

/* ---------- side socials ---------- */
.social {
  position: absolute; right: clamp(16px, 4.5vw, 90px); top: 50%; transform: translateY(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.social .label { writing-mode: vertical-rl; font-size: 12px; letter-spacing: .4em; color: var(--muted); text-transform: uppercase; }
.social .arrow { width: 1px; height: 26px; background: var(--muted); position: relative; margin-top: -10px; }
.social .arrow::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 6px; height: 6px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(45deg); }
.social a { width: 22px; height: 22px; color: var(--fg); transition: color .2s, transform .2s; }
.social a:hover { color: var(--lime); transform: scale(1.15); }
.social svg { width: 100%; height: 100%; }

/* ---------- marquee ---------- */
.ticker { position: relative; z-index: 3; border-top: 1px solid var(--line); background: var(--lime); color: #0a0a0b; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: run 28s linear infinite; }
.ticker p { display: flex; }
.ticker span { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 18px; text-transform: uppercase; padding: 16px 0; white-space: nowrap; }
.ticker span::after { content: "✦"; margin: 0 28px; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- entrance ---------- */
.reveal { opacity: 0; transform: translateY(24px); animation: in .9s cubic-bezier(.2,.7,.2,1) forwards; }@keyframes in { to { opacity: 1; transform: none; } }
.d5 { animation-delay: .3s }

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

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  nav { display: none; }
  nav.open {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(10,10,11,.97); padding: 130px 24px 40px;
  }
  nav.open ul { flex-direction: column; gap: 26px; font-family: 'Unbounded', 'Montserrat'; font-size: 28px; }
  .logo, .head-actions { position: relative; z-index: 2; }
}
@media (max-width: 900px) {
  .logo-cap { display: none; }
  .hero { background-size: 25% 25%; }
  .social { display: none; }
  .stage { padding-top: 20px; }
  h1 { line-height: 1.08; }
  .l1 { padding-left: 0; } .l2 { padding-left: 0; }
  .l3, .l4 { text-align: left; }
  .asterisk { left: auto; right: -6%; top: -8%; opacity: .9; }
  .waves { right: -10%; top: 30%; }
  .bottom-row { padding-left: 0; margin-top: 32px; }
  .offer { padding-left: 0; }
  .lead { max-width: none; }
}
@media (max-width: 560px) {
  header { padding: 18px 16px; }
  .hero { padding-top: 80px; }
  .tw { white-space: normal; font-size: 13px; line-height: 1.35; }
  header.stuck { padding-top: 10px; padding-bottom: 10px; }
  header.stuck .logo img { height: 34px; }
  .btn { padding: 12px 16px; font-size: 14px; gap: 8px; }
  .btn .t-long { display: none; }
  .btn .t-short { display: inline; }
  .burger { width: 44px; height: 44px; }
  .logo img { height: 38px; }
  .head-actions { gap: 8px; }
  .lang a { padding: 7px 8px; font-size: 12px; }
  /* badge on the left, «с 2017» and the typed services stacked beside it; stories drop below */
  .bottom-row { flex-direction: row; align-items: center; gap: 18px 20px; }
  .badge { width: 116px; }
  .lead { flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .lead b { font-size: 40px; }
  .lead > span { padding-left: 0; border-left: 0; font-size: 14px; }
  .ticker span { font-size: 14px; padding: 12px 0; }
  .offer { margin-top: 18px; }
  .offer-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .offer-cta .offer-wa { justify-content: center; padding: 15px 20px; font-size: 16px; gap: 10px; }
  .offer-pick { justify-content: center; padding: 14px 20px; font-size: 15px; }
  .offer-trust { gap: 6px 14px; margin-top: 16px; font-size: 13px; }
  /* the H1 lines never wrap: scale them with the screen so 320–375px phones get no sideways scroll */
  .l1, .l2 { font-size: min(34px, 9.6vw); }
  .l3, .l4 { font-size: min(30px, 8.6vw); }
  html[lang="ky"] .l1, html[lang="ky"] .l2 { font-size: min(34px, 8.6vw); }
  html[lang="ky"] .l3, html[lang="ky"] .l4 { font-size: min(30px, 7.8vw); }
}
@media (max-width: 374px) {
  header { padding-left: 12px; padding-right: 12px; }
  .head-actions { gap: 6px; }
  .btn { padding: 11px 12px; }
  header .btn svg { display: none; }
  .lang a { padding: 6px 7px; }
}

/* ---------- heading reveal: letters come out of a blur, left to right ---------- */
.js [data-rv]:not(.rv-ready) { opacity: 0; }
.rv .w { display: inline-block; white-space: nowrap; }
.rv .c, .rv .l1::before, .rv .l2::after, .rv .l4::before {
  display: inline-block; opacity: 0; filter: blur(12px); transform: translateX(-.12em);
  transition: opacity .7s ease, filter .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
h1.rv .c, h1.rv .l1::before, h1.rv .l2::after, h1.rv .l4::before { transition-duration: .5s; }
.rv.rv-reset .c, .rv.rv-reset .l1::before, .rv.rv-reset .l2::after, .rv.rv-reset .l4::before { transition: none !important; }
.rv .l1::before { content: "—\00a0"; transition-delay: var(--ds, 0ms); }
.rv .l4::before { transition-delay: var(--ds, 0ms); }
.rv .l2::after { transition-delay: var(--de, 0ms); }
.rv.rv-in .c, .rv.rv-in .l1::before, .rv.rv-in .l2::after, .rv.rv-in .l4::before { opacity: 1; filter: blur(0); transform: none; }

/* ---------- stories (circles) ---------- */
.bottom-row { flex-wrap: wrap; }
.stories { list-style: none; display: flex; gap: clamp(12px, 1.4vw, 22px); margin-left: auto; }.st { background: none; border: 0; padding: 0; cursor: pointer; color: var(--fg); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: inherit; }
/* Instagram look: gradient ring + gap while unseen, thin grey ring once watched */
.st-ring {
  position: relative; display: block; width: clamp(66px, 5.4vw, 84px); height: clamp(66px, 5.4vw, 84px); border-radius: 50%; padding: 3px;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  transition: transform .2s;
}
.st.seen .st-ring { padding: 1.5px; background: #3a3a3e; }
.st:active .st-ring { transform: scale(.94); }
.st:focus-visible { outline: none; }
.st:focus-visible .st-name { text-decoration: underline; text-underline-offset: 3px; }
.st-ring img, .st-ico { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; }
.st.seen .st-ring img, .st.seen .st-ico { border-width: 4.5px; }
.st-ring img.st-shot { object-position: 50% 30%; }
.st-ico { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2a2a2f, #121214 70%); color: #fff; }
.st-ico svg { width: 44%; height: 44%; }
.st-ico-txt { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(13px, 1vw, 16px); letter-spacing: -.02em; }
/* «Важно!» circle: lime with a bold exclamation mark so it stands out from the rest */
.st-alert .st-ico { background: var(--lime); color: #0a0a0b; }
.st-alert .st-ico-txt { font-size: clamp(24px, 2vw, 32px); font-weight: 900; }
.st-name { max-width: 84px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 400; white-space: nowrap; color: #f5f5f5; }

/* ---------- portfolio ---------- */
.work { padding: clamp(72px, 10vw, 140px) clamp(16px, 8vw, 160px) 0; }
.work-wrap { max-width: 1200px; margin: 0 auto; }
.work h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.work h2 em { font-style: normal; color: var(--lime); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* desktop shows 9, the rest open with "Показать ещё" */
.work-grid:not(.all) .case-more { display: none; }
.case { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #121214; border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: border-color .3s; }
/* the title link stretches over the whole card, so any tap opens the site */
.case-link { color: inherit; transition: color .25s; }
.case-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.case-link::before { content: "↗"; float: right; margin-left: 8px; font-size: .8em; color: var(--muted); transition: color .25s, transform .25s; }
.case:hover .case-link, .case:hover .case-link::before { color: var(--lime); }
.case:hover .case-link::before { transform: translate(2px, -2px); }
.case-link:focus-visible { outline: none; }
.case:has(.case-link:focus-visible) { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime); }
.case:hover { border-color: rgba(216,239,13,.45); }
.case-shot { position: relative; display: block; overflow: hidden; background: #0d0d0f; }
.case-bar { position: absolute; z-index: 1; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(18,18,20,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.case-bar b { margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--muted); }
.case-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 567; object-fit: cover; object-position: top; padding-top: 30px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.case:hover .case-shot img { transform: scale(1.04); }
.case-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.case-meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.case h3 { margin-top: 6px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.case-body > p:not(.case-meta):not(.case-tags) { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.case-tags span { padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.case-tags span:first-child { border-color: rgba(216,239,13,.5); color: var(--lime); }

.work-ctrl { display: flex; justify-content: center; margin-top: 28px; }
.work-showall { min-height: 52px; padding: 0 28px; border-radius: 30px; border: 1px solid rgba(255,255,255,.2); background: none; color: var(--fg); font: 700 15px 'Manrope', sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.work-showall:hover { background: var(--lime); border-color: var(--lime); color: #0a0a0b; }
.work-count, .work-progress { display: none; }

.work-more { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 32px; }
.work-more-t { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.work-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.work-chips a { padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); font-size: 14px; transition: border-color .2s, color .2s; }
.work-chips a:hover { border-color: var(--lime); color: var(--lime); }

@media (max-width: 1100px) { .work-grid { grid-template-columns: 1fr 1fr; } }
/* phones and small tablets: one swipeable row with all projects */
@media (max-width: 760px) {
  .work { padding-left: 0; padding-right: 0; }
  .work .sv-headrow, .work-more { padding: 0 16px; }
  .work-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 16px 4px; scroll-padding: 0 16px; scrollbar-width: none;
  }
  .work-grid::-webkit-scrollbar { display: none; }
  .work-grid .case, .work-grid:not(.all) .case-more { display: flex; flex: none; width: 84%; scroll-snap-align: start; border-radius: 20px; }
  .work-ctrl { align-items: center; gap: 14px; margin-top: 18px; padding: 0 16px; }
  .work-showall { display: none; }
  .work-count { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .work-count b { color: var(--fg); }
  .work-progress { display: block; flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
  .work-progress i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: inherit; transition: width .25s; }
  .work-more { margin-top: 24px; }
}

/* ---------- reviews ---------- */
.rev { padding: clamp(72px, 10vw, 140px) 0; overflow: hidden; }
.rev-wrap { max-width: calc(1200px + 2 * clamp(16px, 8vw, 160px)); margin: 0 auto; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 0 clamp(16px, 8vw, 160px); margin-bottom: clamp(32px, 4vw, 52px); }
.rev h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; max-width: 640px; }
.rev h2 em { font-style: normal; color: var(--lime); }
/* three outline hearts that pop in, float up and fade, one after another */
.rev-hearts { position: relative; display: inline-block; width: 0; height: 1em; vertical-align: top; }
.rev-hearts svg { position: absolute; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linejoin: round; opacity: 0; animation: rev-heart 3.6s ease-in-out infinite; }
.rev-hearts svg:nth-child(1) { width: .62em; left: .22em; top: -.55em; --r: -14deg; }
.rev-hearts svg:nth-child(2) { width: .42em; left: .95em; top: .05em; --r: 10deg; animation-delay: 1.2s; }
.rev-hearts svg:nth-child(3) { width: .78em; left: 1.45em; top: -1.15em; --r: 16deg; animation-delay: 2.4s; fill: var(--lime); stroke: none; }
@keyframes rev-heart {
  0% { opacity: 0; transform: translateY(8px) rotate(var(--r)) scale(.4); }
  18% { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1.08); }
  28% { transform: translateY(-2px) rotate(var(--r)) scale(1); }
  60% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(-14px) rotate(var(--r)) scale(.9); }
}
@media (prefers-reduced-motion: reduce) { .rev-hearts svg { opacity: 1; } }
.rev-score { display: flex; align-items: center; gap: 18px; }
.rev-g { flex: none; width: clamp(60px, 6vw, 84px); height: clamp(60px, 6vw, 84px); border-radius: 50%; background: #fff; display: grid; place-items: center; margin-right: clamp(4px, 1vw, 14px); box-shadow: 0 12px 40px -12px rgba(66,133,244,.45); }
.rev-g svg { width: 52%; height: 52%; }
.rev-score b { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(56px, 6vw, 88px); line-height: .9; letter-spacing: -.04em; }
.rev-score a { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); transition: color .2s; }
.rev-score a:hover { color: var(--fg); }
.rev-stars { color: #fbbc04; letter-spacing: 2px; font-size: 18px; }

.rev-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px clamp(16px, 8vw, 160px) 8px; scroll-padding: 0 clamp(16px, 8vw, 160px);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.rev-card {
  flex: none; width: min(400px, 82vw); scroll-snap-align: start;
  display: flex; flex-direction: column; margin: 0; padding: 28px; border-radius: 24px;
  background: #121214; border: 1px solid rgba(255,255,255,.08); transition: border-color .25s;
}
.rev-card:hover { border-color: rgba(255,255,255,.2); }
.rev-card .rev-stars { font-size: 15px; }
.rev-card blockquote { margin: 16px 0 24px; font-size: 16px; line-height: 1.6; color: rgba(244,244,242,.88); }
.rev-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.rev-ava { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0a0a0b; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 15px; }
.rev-card:nth-child(3n+2) .rev-ava { background: var(--blue); color: #fff; }
.rev-card:nth-child(3n) .rev-ava { background: var(--fg); }
.rev-card figcaption b { display: block; font-size: 15px; }
.rev-card figcaption small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.rev-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(16px, 8vw, 160px) 0; }
.rev-foot .srv-cta { margin-top: 0; }
.rev-arrows { display: flex; gap: 10px; }
.rev-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.rev-arrow:hover:not(:disabled) { background: var(--lime); border-color: var(--lime); color: #0a0a0b; }
.rev-arrow:disabled { opacity: .3; cursor: default; }
.rev .rev-ctrl { display: none; }
@media (max-width: 560px) {
  .rev-card { padding: 22px; border-radius: 20px; }
  .rev-card blockquote { font-size: 15px; }
  .rev-arrow { width: 44px; height: 44px; }
  .rev-arrows { display: none; } /* phones swipe: counter + progress instead */
  .rev .rev-ctrl { display: flex; margin-top: 18px; padding: 0 16px; }
  .rev-foot { padding-top: 22px; }
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(72px, 10vw, 140px) clamp(16px, 8vw, 160px); border-top: 1px solid var(--line); }
.faq-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 40px; }
.faq h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.faq h2 em { font-style: normal; color: var(--lime); }
.faq-card { margin-top: 36px; padding: 24px; border-radius: 20px; background: #121214; border: 1px solid rgba(255,255,255,.08); }
.faq-card-t { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 18px; }
.faq-card p:not(.faq-card-t) { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.faq-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.faq-tel { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); transition: color .2s; }
.faq-tel:hover { color: var(--fg); }

.faq-list { border-top: 1px solid rgba(255,255,255,.12); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq-item h3 { font: inherit; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; background: none; border: 0; color: var(--fg); text-align: left; cursor: pointer;
  font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.35; transition: color .25s;
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--lime); }
.faq-q:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.faq-plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: var(--fg); transition: transform .4s, background .3s, border-color .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); color: #0a0a0b; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-item:not(.open) .faq-a > div { visibility: hidden; transition: visibility 0s .45s; }
.faq-a p { padding: 0 56px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) {
  /* phones: heading, then the questions, then the "Не нашли ответ?" card */
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-side { position: static; display: contents; }
  .faq-side > .eyebrow { justify-self: start; }
  .faq-list { margin-top: 28px; }
  .faq-card { order: 3; margin-top: 28px; }
}
@media (max-width: 560px) {
  .faq-q { padding: 14px 0; gap: 12px; font-size: 14px; line-height: 1.35; }
  .faq-plus { width: 28px; height: 28px; }
  .faq-plus::before, .faq-plus::after { width: 10px; margin-left: -5px; }
  .faq-a p { padding: 0 0 16px; font-size: 14px; line-height: 1.55; }
}

/* ---------- contacts ---------- */
.ct { padding: clamp(72px, 10vw, 140px) clamp(16px, 8vw, 160px); border-top: 1px solid var(--line); }
.ct-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.ct h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.ct h2 em { font-style: normal; color: var(--lime); }
.ct-phone { display: inline-block; margin-top: 28px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.02em; transition: color .2s; }
.ct-phone:hover { color: var(--lime); }
.ct-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ct-ghost { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 16px; transition: border-color .2s, color .2s; }
.ct-ghost:hover { border-color: var(--lime); color: var(--lime); }
.ct-list { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.ct-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ct-list dt { font-size: 14px; color: var(--muted); }
.ct-list dd { font-size: 16px; font-weight: 500; }
.ct-map { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #121214; }
/* dark map to match the site */
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) grayscale(.35) brightness(.78) contrast(1.1); }
.ct-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(10,10,11,.55) 100%); }
.ct-pin { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(10,10,11,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); }
.ct-pin span { font-size: 14px; color: var(--muted); }
.ct-pin b { display: block; color: var(--fg); font-family: 'Unbounded', 'Montserrat'; font-size: 15px; margin-bottom: 2px; }
.ct-pin a { flex: none; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: #0a0a0b; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) {
  .ct-wrap { grid-template-columns: 1fr; }
  .ct-map { min-height: 320px; }
}
@media (max-width: 560px) {
  .ct-list div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .ct-btns > * { flex: 1; justify-content: center; }
  .ct-map { border-radius: 20px; }
  .ct-pin { top: 12px; bottom: auto; left: 12px; right: 12px; } /* keep clear of the chat button */
}

/* ---------- lime CTA band before the footer: the crystal breaks out over the top edge ---------- */
.go { padding: clamp(110px, 11vw, 170px) clamp(16px, 8vw, 160px) clamp(56px, 6vw, 90px); }
.go-band {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 clamp(24px, 4vw, 60px); border-radius: 22px; background: var(--lime); color: #0a0a0b;
}
.go-text { padding: 34px 0; }
.go-kicker { font-size: 15px; font-weight: 500; }
.go h2 { margin-top: 10px; max-width: 420px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(20px, 1.75vw, 26px); line-height: 1.2; letter-spacing: -.01em; }
/* narrow middle column; the crystal itself is wider and taller, so it spills over the band */
.go-art-wrap { position: relative; align-self: stretch; width: clamp(220px, 21vw, 300px); }
.go-art { position: absolute; bottom: 0; left: 50%; translate: -50% 0; display: block; width: clamp(250px, 25vw, 360px); height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); animation: go-float 6s ease-in-out infinite; transform-origin: bottom center; }
@keyframes go-float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.go-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 2.5vw, 40px); }
.go-call { display: flex; flex-direction: column; padding-right: clamp(20px, 2.5vw, 40px); border-right: 1px solid rgba(10,10,11,.25); }
.go-call span { font-size: 13px; font-weight: 500; opacity: .7; white-space: nowrap; }
.go-call b { margin-top: 4px; font-family: 'Unbounded', 'Montserrat'; font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; white-space: nowrap; }
.go-call:hover b { text-decoration: underline; }
.go-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 40px; background: #0a0a0b; color: var(--lime); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.go-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) { .go-art { animation: none; } }
@media (max-width: 1100px) {
  .go-band { grid-template-columns: 1fr auto; }
  .go-actions { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 32px; }
  .go-text { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .go { padding-top: 120px; }
  .go-band { grid-template-columns: 1fr; gap: 0; padding: 0 20px 22px; text-align: left; }
  .go-art-wrap { order: -1; width: 100%; height: 130px; }
  .go-art { width: 280px; }
  .go-text { padding: 8px 0 22px; }
  .go-actions { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 0; }
  .go-call { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid rgba(10,10,11,.2); }
  .go-btn { width: 100%; }
}

/* ---------- footer ---------- */
.site-foot { padding: clamp(48px, 6vw, 80px) clamp(16px, 8vw, 160px) 28px; border-top: 1px solid var(--line); background: #070708; }
.sf-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.4fr; gap: clamp(28px, 4vw, 56px); }
.sf-logo img { display: block; height: 48px; width: auto; }
.sf-brand p:not(.sf-soc) { margin-top: 16px; max-width: 260px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sf-soc { display: flex; gap: 10px; margin-top: 20px; }
.sf-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.sf-soc a:hover { background: var(--lime); border-color: var(--lime); color: #0a0a0b; }
.sf-soc svg { width: 18px; height: 18px; }
.sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sf-t { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sf-col a { font-size: 15px; line-height: 1.35; white-space: normal; transition: color .2s; }
.sf-col a:hover { color: var(--lime); }
.sf-bottom { max-width: 1200px; margin: clamp(36px, 5vw, 56px) auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.sf-bottom a:hover { color: var(--fg); }
@media (max-width: 1000px) { .sf-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .sf-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .sf-brand, .sf-col:last-child { grid-column: 1 / -1; }
  .sf-bottom { flex-direction: column; padding-bottom: 72px; } /* room for the chat button */
}

/* ---------- stories (viewer) ---------- */
.sv { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5,5,6,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: sv-in .25s ease; }
@keyframes sv-in { from { opacity: 0; } }
.sv-frame {
  position: relative; height: min(92vh, 820px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: #0a0a0b; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.6); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.sv-bars { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.sv-bars i { display: block; height: 100%; width: 0; background: var(--lime); }
.sv-head { position: absolute; z-index: 4; top: 24px; left: 12px; right: 8px; display: flex; align-items: center; gap: 10px; }
.sv-ava { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--lime); }
.sv-ava img { width: 100%; height: 100%; object-fit: cover; }
.sv-head b { font-size: 14px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.sv-head small { color: rgba(255,255,255,.65); font-size: 13px; }
.sv-close {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s;
}
.sv-close:hover { background: var(--lime); border-color: var(--lime); color: #0a0a0b; }
.sv-close:focus { outline: none; }
.sv-close:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sv-close svg { width: 18px; height: 18px; }
.sv-tap { position: absolute; z-index: 2; top: 0; bottom: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.sv-tap.prev { left: 0; width: 32%; } .sv-tap.next { right: 0; width: 68%; }
.sv-arrow { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.sv-arrow:hover { background: rgba(255,255,255,.22); }
.sv-arrow.prev { left: calc(50% - min(92vh, 820px) * 9 / 32 - 64px); }
.sv-arrow.next { right: calc(50% - min(92vh, 820px) * 9 / 32 - 64px); }

.sv-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 90px 24px 28px; animation: sv-slide .35s ease; }
@keyframes sv-slide { from { opacity: 0; transform: scale(1.02); } }
/* text slides: the hero's grid backdrop and spinning asterisk, copy set low and left like the site's sections */
.sv-slide.text {
  padding-bottom: 36px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.75), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #0a0a0b;
  background-size: auto, calc(100% / 3) 25%, calc(100% / 3) 25%, auto;
  background-position: 0 0, -1px -1px, -1px -1px, 0 0;
}
.sv-slide.text.mid { justify-content: center; padding-top: 140px; }
/* opening slide of a story: just a large statement */
.sv-slide.big .sv-title { font-size: clamp(32px, 4.8vh, 44px); line-height: 1.05; }
.sv-slide.big .sv-text { font-size: 18px; color: var(--lime); }
/* real price vs padded price */
.sv-rows { position: relative; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.sv-rows div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sv-rows dt { font-size: 15px; color: rgba(255,255,255,.7); }
.sv-rows dd { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(22px, 3.2vh, 28px); white-space: nowrap; }
.sv-rows div:last-child dd { color: var(--lime); }
.sv-text + .sv-text { margin-top: 10px; }
.sv-waves {
  position: absolute; left: -15%; top: 18%; width: 130%; opacity: .3; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 40%, transparent 70%);
}
.sv-waves path { fill: none; stroke: #fff; stroke-width: .6; }
.sv-slide .ast { position: absolute; right: -44px; top: 96px; width: 170px; color: var(--blue); animation: spin 22s linear infinite; }
.sv-kicker { position: relative; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.sv-kicker::before { content: ""; width: 24px; height: 1px; background: var(--lime); }
.sv-title { position: relative; margin-top: 14px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(26px, 3.6vh, 34px); line-height: 1.08; letter-spacing: -.02em; }
.sv-text { position: relative; margin-top: 14px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.75); }
.sv-list { position: relative; list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.sv-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.sv-list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.sv-price { position: relative; margin-top: 16px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4.6vh, 42px); color: var(--lime); line-height: 1; }
.sv-price small { display: block; margin-top: 8px; font-family: 'Manrope'; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.7); }
/* portfolio slide: the site sits as a card on the brand background, caption below */
.sv-slide.img { justify-content: flex-start; padding-top: 78px; background: radial-gradient(circle at 50% 30%, rgba(216,239,13,.16), transparent 60%), #0d0d0f; }
.sv-slide.img img {
  flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9);
  margin-bottom: 20px;
}
.sv-slide.img .sv-title { margin-top: 6px; }
/* mockup slides: the whole photo, centred, over a blurred copy of itself */
.sv-slide.mock { justify-content: flex-start; padding-top: 70px; overflow: hidden; }
.sv-slide.mock .sv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(32px) brightness(.45); transform: scale(1.2); }
.sv-slide.mock .sv-mock { position: relative; flex: 1; min-height: 0; width: 100%; object-fit: contain; margin-bottom: 18px; }
.sv-slide.mock .sv-title { margin-top: 6px; }
.sv-slide.mock .sv-cta { margin-top: 16px; }
.sv-slide.img .sv-cta { margin-top: 16px; }
.sv-cta { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; height: 54px; border-radius: 8px; background: var(--lime); color: #0a0a0b; font-weight: 700; font-size: 16px; }
.sv-cta.ghost { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

@media (max-width: 900px) {
  .stories { margin-left: 0; width: 100%; justify-content: space-between; max-width: 400px; }
}
/* phones: five circles have to fit one row */
@media (max-width: 560px) {
  /* fixed breathing room between circles; the circles take what's left, up to 56px */
  .stories { gap: 12px; }
  .stories li { flex: 1; min-width: 0; display: flex; justify-content: center; }
  .st { width: 100%; max-width: 100%; }
  /* explicit equal width/height per screen size: iOS Safari stretches aspect-ratio rings inside buttons into ovals */
  .st-ring { width: 50px; height: 50px; }
}
@media (max-width: 379px) { .st-ring { width: 46px; height: 46px; } }
@media (max-width: 349px) { .st-ring { width: 40px; height: 40px; } }
@media (min-width: 420px) and (max-width: 560px) { .st-ring { width: 56px; height: 56px; } }
@media (max-width: 560px) {
  /* a long one-word name may spill into the 12px gap instead of being cut */
  .st-name { max-width: calc(100% + 12px); overflow: visible; font-size: 11px; line-height: 1.2; white-space: normal; text-align: center; }
}
@media (max-width: 600px) {
  .sv { background: #000; }
  .sv-frame { width: 100%; height: 100%; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
  .sv-arrow { display: none; }
  .sv-bars { top: max(10px, env(safe-area-inset-top)); }
  .sv-head { top: calc(max(10px, env(safe-area-inset-top)) + 12px); }
  .sv-slide { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}

/* ---------- task picker (right after the hero): 3 short steps, then WhatsApp ---------- */
.task { padding: clamp(64px, 8vw, 110px) clamp(16px, 8vw, 160px) 0; }
.task-wrap { max-width: 1200px; margin: 0 auto; }
.task-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.task h2 { margin-top: 18px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.task h2 em { font-style: normal; color: var(--lime); }
.task-lead { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 440px; }
.task-card { padding: clamp(18px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.02); }
.task-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.task-count { flex: none; font-size: 13px; color: var(--muted); }
.task-count b { color: var(--fg); }
.task-back { flex: none; order: 2; padding: 6px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: color .2s; }
.task-back:hover { color: var(--fg); }
.task-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.task-bar i { display: block; width: 33.4%; height: 100%; border-radius: inherit; background: var(--lime); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.task-step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.task-step.active { display: block; animation: task-in .4s cubic-bezier(.2,.7,.2,1); }
@keyframes task-in { from { opacity: 0; transform: translateY(10px); } }
.task-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 16px; padding: 0; font-weight: 700; font-size: 18px; }
/* says out loud that the cards are answers to tap */
.task-hint { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 30px; background: rgba(216,239,13,.12); color: var(--lime); font-size: 13px; font-weight: 600; }
.task-hint svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.task-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.task-list-s { grid-template-columns: repeat(2, 1fr); }
.task-opt { position: relative; display: grid; grid-template-columns: 44px 1fr 22px; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.045); cursor: pointer; transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.task-opt-s { grid-template-columns: 22px 1fr; padding: 14px 18px; }
.task-opt input { position: absolute; opacity: 0; pointer-events: none; }
.task-opt:hover { border-color: rgba(216,239,13,.6); background: rgba(216,239,13,.07); transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(216,239,13,.35); }
.task-opt:active { transform: scale(.98); }
.task-opt:has(input:checked) { border-color: var(--lime); background: rgba(216,239,13,.08); }
.task-opt:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.task-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(216,239,13,.1); color: var(--lime); }
.task-ico svg, .task-done-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.task-txt b { display: block; font-weight: 700; font-size: 16px; line-height: 1.3; }
.task-txt small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.task-opt-s .task-txt b { font-weight: 500; }
.task-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(216,239,13,.55); transition: border-color .2s, box-shadow .2s, background .2s; }
.task-opt:hover .task-dot { border-color: var(--lime); background: rgba(216,239,13,.35); box-shadow: inset 0 0 0 4px #0a0a0b; }
/* first look at a step: the answer circles pulse one after another, once */
.task-step.nudge .task-dot { animation: task-nudge 1.4s ease-out 2; }
.task-step.nudge .task-opt:nth-child(2) .task-dot { animation-delay: .12s; }
.task-step.nudge .task-opt:nth-child(3) .task-dot { animation-delay: .24s; }
.task-step.nudge .task-opt:nth-child(4) .task-dot { animation-delay: .36s; }
.task-step.nudge .task-opt:nth-child(5) .task-dot { animation-delay: .48s; }
.task-step.nudge .task-opt:nth-child(6) .task-dot { animation-delay: .6s; }
@keyframes task-nudge { 0% { box-shadow: 0 0 0 0 rgba(216,239,13,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(216,239,13,0); } }
@media (prefers-reduced-motion: reduce) { .task-step.nudge .task-dot { animation: none; } }
.task-opt input:checked ~ .task-dot { border-color: var(--lime); background: var(--lime); box-shadow: inset 0 0 0 5px #0a0a0b; }
.task-done { text-align: center; padding: 6px 0 4px; outline: none; }
.task-done-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #0a0a0b; }
.task-done-ico svg { width: 26px; height: 26px; stroke-width: 2.4; }
.task-done-t { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
.task-done p { max-width: 560px; margin: 12px auto 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.task-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }
.task-cta .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.task-again { padding: 6px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.task-again:hover { color: var(--fg); }
@media (max-width: 1100px) { .task-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .task-head { grid-template-columns: 1fr; gap: 12px; }
  .task-lead { font-size: 15px; }
  .task-card { padding: 0; border: 0; background: none; }
  .task-top { margin-bottom: 16px; }
  .task-q { font-size: 16px; margin-bottom: 12px; }
  .task-list, .task-list-s { grid-template-columns: 1fr; gap: 8px; }
  .task-opt { grid-template-columns: 22px 1fr 20px; gap: 12px; padding: 13px 14px; border-radius: 14px; }
  .task-opt-s { grid-template-columns: 20px 1fr; padding: 14px; }
  .task-ico { width: 22px; height: 22px; border-radius: 0; background: none; }
  .task-ico svg { width: 21px; height: 21px; }
  .task-dot { width: 20px; height: 20px; }
  .task-txt b { font-size: 15px; }
  .task-txt small { margin-top: 2px; font-size: 13px; }
  .task-done { padding: 22px 16px; border: 1px solid rgba(216,239,13,.35); border-radius: 18px; background: linear-gradient(160deg, rgba(216,239,13,.08), rgba(255,255,255,.02) 55%); }
  .task-done p { font-size: 15px; }
  .task-cta { flex-direction: column; align-items: stretch; }
  .task-cta .btn { justify-content: center; }
}
/* the quiz card as dark smoky glass: lime and blue light shapes glow through the blur behind it */
.task { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 40px; margin-bottom: -40px; }
.task-wrap { position: relative; }
.task-glow { position: absolute; z-index: -1; inset: 30% -4% -6% -4%; pointer-events: none; }
.task-glow i { position: absolute; display: block; border-radius: 50%; filter: blur(46px); }
/* soft arcs of light, like light bending through a lens */
.task-glow i:nth-child(1) { left: 6%; top: 8%; width: 46%; height: 70%; border: 26px solid rgba(216,239,13,.28); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(-18deg); }
.task-glow i:nth-child(2) { right: 4%; top: 0; width: 38%; height: 90%; border: 22px solid rgba(216,239,13,.4); border-right-color: transparent; border-top-color: transparent; transform: rotate(12deg); }
.task-glow i:nth-child(4) { right: 22%; bottom: 0; width: 30%; height: 50%; background: rgba(58,60,255,.35); filter: blur(70px); }
.task-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 45%, rgba(255,255,255,.06)); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.18); }
/* a faint sheen along the top edge of the glass */
.task-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(180deg, rgba(255,255,255,.07), transparent); pointer-events: none; }
.task-card .task-opt { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.task-card .task-opt:hover { border-color: rgba(216,239,13,.6); background: rgba(255,255,255,.09); }
.task-card .task-opt:has(input:checked) { border-color: var(--lime); background: rgba(216,239,13,.12); }
/* progress: a thicker lime bar with moving stripes, like something is loading */
.task-card .task-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); }
.task-card .task-bar i { position: relative; background-color: var(--lime); background-image: repeating-linear-gradient(-45deg, rgba(10,10,11,.2) 0 7px, transparent 7px 14px); background-size: 19.8px 19.8px; box-shadow: 0 0 14px rgba(216,239,13,.7); animation: task-load .9s linear infinite; }
@keyframes task-load { to { background-position: 19.8px 0; } }
@media (prefers-reduced-motion: reduce) { .task-card .task-bar i { animation: none; } }
@media (max-width: 760px) {
  .task-card { padding: 16px 14px; border-radius: 20px; }
  .task-card .task-done { border: 0; background: none; }
  .task-glow { inset: 10% -10% -4% -10%; }
}

/* ---------- services ---------- */
.services { padding: clamp(72px, 10vw, 140px) clamp(16px, 8vw, 160px) 0; overflow: hidden; }
/* promotion cards: the same dark smoky glass as the quiz, light shapes glowing behind */
.srv-zone { position: relative; isolation: isolate; }
.srv-glow { inset: 10% -4% -6% -4%; }
.srv-glass .srv { border-color: rgba(255,255,255,.14); background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 45%, rgba(255,255,255,.06)); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: 0 30px 70px -32px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.srv-glass .srv::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.07), transparent); pointer-events: none; }
.srv-glass .srv:hover { border-color: rgba(216,239,13,.5); background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.05) 45%, rgba(216,239,13,.06)); }
@media (max-width: 760px) { .srv-glow { inset: 6% -6% 0 -6%; } }
.sv-wrap { max-width: 1200px; margin: 0 auto; }
.sv-headrow { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.services h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.services h2 em { font-style: normal; color: var(--lime); }
.sv-intro { color: var(--muted); font-size: 17px; line-height: 1.55; }
/* service cards: 3 + 2 grid on desktop, swipeable row on phones */
.srv-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.srv { grid-column: span 2; position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.025); transition: border-color .3s, background .3s, transform .3s; }
.srv:hover { border-color: rgba(216,239,13,.45); background: linear-gradient(170deg, rgba(216,239,13,.07), rgba(255,255,255,.02) 50%); transform: translateY(-3px); }
.srv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.srv-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(216,239,13,.1); color: var(--lime); transition: background .3s, color .3s; }
.srv:hover .srv-ico { background: var(--lime); color: #0a0a0b; }
.srv-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.srv-num { font-family: 'Unbounded', 'Montserrat'; font-size: 13px; color: var(--muted); }
.srv-h { font: inherit; }
.srv-name { display: block; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.02em; }
.srv-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.srv-price { font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: 17px; color: var(--lime); white-space: nowrap; }
.srv-time { font-size: 14px; color: var(--muted); white-space: nowrap; }
.srv-desc { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.srv-inc { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--fg); }
.srv-incl { list-style: none; display: grid; gap: 9px; margin-top: 18px; }
.srv-incl li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.srv-incl li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(216,239,13,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8ef0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.srv-list .srv-cta { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.srv-list .srv-cta:hover { gap: 16px; }
.srv-dots { display: none; }
/* «Реклама в Google»: just a search bar, so "ads in search" reads at a glance */
.gad { margin-top: 18px; }
.gad-search { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 18px; border: 1px solid #dfe1e5; border-radius: 30px; background: #fff; color: #202124; font-family: Arial, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: left; box-shadow: 0 1px 6px rgba(32,33,36,.28), 0 14px 30px -16px rgba(0,0,0,.8); }
.gad-lupa { flex: none; width: 19px; height: 19px; fill: none; stroke: #5f6368; stroke-width: 2.4; stroke-linecap: round; }
.gad-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
/* mic and lens on the right, as in the Google search box */
.gad-icons { flex: none; display: flex; align-items: center; gap: 12px; }
.gad-icons svg { width: 21px; height: 21px; }
.gad-q::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: #202124; animation: tw-blink 1s steps(1) infinite; }
/* site packages as price tiers: light, lime (most chosen), graphite */
.srv-tiers { gap: 18px; padding-top: 30px; }
.srv-tiers .srv { padding-top: 46px; text-align: center; overflow: visible; }
.srv-tiers .srv:hover { transform: translateY(-4px); }
.srv-tiers .srv-top { position: absolute; top: -28px; left: 50%; margin: 0; transform: translateX(-50%); }
.srv-tiers .srv-num { display: none; }
.srv-tiers .srv-ico { width: 56px; height: 56px; border-radius: 16px; background: #1b1c1f; color: var(--lime); box-shadow: 0 0 0 5px var(--bg); }
.srv-tiers .srv:hover .srv-ico { background: #1b1c1f; color: var(--lime); }
.srv-tiers .srv-name { font-size: clamp(22px, 2vw, 28px); }
.srv-tiers .srv-meta { flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; }
.srv-tiers .srv-price { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; }
.srv-tiers .srv-desc { font-size: 14px; }
.srv-tiers .srv-incl { margin-bottom: 26px; text-align: left; }
.srv-tiers .srv-cta { align-self: stretch; justify-content: center; margin-top: auto; padding: 15px 20px; border: 0; border-radius: 10px; }
.srv-tiers .srv-cta:hover { gap: 16px; }
.srv-tiers .srv:nth-child(1) { background: #f4f4f2; border-color: #f4f4f2; color: #0a0a0b; }
.srv-tiers .srv:nth-child(1) .srv-price { color: #0a0a0b; }
.srv-tiers .srv:nth-child(1) .srv-time, .srv-tiers .srv:nth-child(1) .srv-desc { color: #5b5d63; }
.srv-tiers .srv:nth-child(1) .srv-meta { border-color: rgba(0,0,0,.14); }
.srv-tiers .srv:nth-child(1) .srv-incl li::before, .srv-tiers .srv:nth-child(2) .srv-incl li::before { background-color: #0a0a0b; }
.srv-tiers .srv:nth-child(2) { background: var(--lime); border-color: var(--lime); color: #0a0a0b; box-shadow: 0 24px 60px -24px rgba(216,239,13,.55); }
.srv-tiers .srv:nth-child(2) .srv-price { color: #0a0a0b; }
.srv-tiers .srv:nth-child(2) .srv-time, .srv-tiers .srv:nth-child(2) .srv-desc { color: rgba(10,10,11,.68); }
.srv-tiers .srv:nth-child(2) .srv-meta { border-color: rgba(0,0,0,.2); }
.srv-tiers .srv:nth-child(-n+2) .srv-cta { background: #0a0a0b; color: var(--lime); }
.srv-tiers .srv:nth-child(2)::after { content: "Чаще всего выбирают"; position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 30px; background: #0a0a0b; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
html[lang="ky"] .srv-tiers .srv:nth-child(2)::after { content: "Көбүнчө тандашат"; }
.srv-tiers .srv:nth-child(3) { background: #1b1c1f; border-color: rgba(255,255,255,.12); }
.srv-tiers .srv:nth-child(3) .srv-cta { background: var(--lime); color: #0a0a0b; }
@media (max-width: 640px) {
  /* the swipe row scrolls, so it must leave room above for the icon badges */
  .srv-list.srv-tiers { padding-top: 34px; }
}
/* «Подробнее» under a clamped description: phones only */
.srv-more { display: none; }
@media (max-width: 640px) {
  /* compact cards on phones: smaller type and spacing, description clamped to 4 lines */
  .srv { padding: 18px 16px; border-radius: 18px; }
  .srv-top { margin-bottom: 14px; }
  .srv-ico { width: 40px; height: 40px; border-radius: 12px; }
  .srv-ico svg { width: 20px; height: 20px; }
  .srv-name { font-size: 19px; }
  .srv-meta { margin-top: 8px; padding-bottom: 12px; }
  .srv-price { font-size: 15px; }
  .srv-time { font-size: 13px; }
  .srv-desc { margin-top: 12px; font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .srv-desc.open { display: block; }
  .srv-more { display: inline-block; margin-top: 4px; padding: 4px 0; border: 0; background: none; color: var(--lime); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; align-self: flex-start; }
  .srv-incl { gap: 6px; margin-top: 12px; }
  .srv-incl li { font-size: 13px; }
  .srv-list .srv-cta { padding-top: 16px; font-size: 14.5px; }
  .gad { margin-top: 12px; }
  .gad-search { gap: 10px; padding: 10px 12px 10px 14px; font-size: 13.5px; }
  .gad-icons { gap: 9px; }
  .gad-icons svg { width: 18px; height: 18px; }
  .srv-tiers .srv { padding-top: 38px; }
  .srv-tiers .srv-name { font-size: 20px; }
  .srv-tiers .srv-price { font-size: 26px; }
  .srv-tiers .srv-desc { font-size: 13px; }
  .srv-tiers .srv-cta { padding: 13px 16px; }
  .srv-tiers .srv-incl { margin-bottom: 18px; }
  .srv-tiers .srv:nth-child(1) .srv-more, .srv-tiers .srv:nth-child(2) .srv-more { color: #0a0a0b; text-decoration: underline; text-underline-offset: 3px; }
}
/* second group of cards: promotion services under their own heading */
.srv-group { margin: clamp(48px, 6vw, 80px) 0 clamp(20px, 2.6vw, 32px); font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.srv-group em { font-style: normal; color: var(--lime); }
@media (max-width: 1000px) {
  .srv-list { grid-template-columns: repeat(2, 1fr); }
  .srv { grid-column: auto; }
}
@media (max-width: 900px) { .sv-headrow { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .srv-list { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .srv-list::-webkit-scrollbar { display: none; }
  .srv { flex: 0 0 86%; scroll-snap-align: start; }
  .srv:hover { transform: none; }
  .srv-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .srv-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
  .srv-dots i.on { width: 20px; background: var(--lime); }
}.srv-note {
  display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin-top: clamp(28px, 3vw, 40px);
  padding: 18px 22px; border-radius: 16px; background: #121214; border: 1px solid rgba(255,255,255,.08);
  font-size: 15px; line-height: 1.6; color: var(--muted);
}
.srv-note-ico { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: #0a0a0b; display: grid; place-items: center; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 14px; }
.srv-note a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .2s; }
.srv-note a:hover { color: var(--lime); }
.srv-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 4px; border-bottom: 1.5px solid var(--lime); color: var(--lime); font-weight: 700; font-size: 16px; transition: gap .25s; }
.srv-cta:hover { gap: 16px; }


/* ---------- quiz ---------- */
.quiz { padding: clamp(72px, 10vw, 140px) clamp(16px, 8vw, 160px); border-top: 1px solid var(--line); }
.quiz-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--lime); }
.quiz h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -.02em; }
.quiz h2 em { font-style: normal; color: var(--lime); }
.quiz-intro p { margin-top: 20px; max-width: 440px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.quiz-perks { list-style: none; margin-top: 32px; display: grid; gap: 12px; }
.quiz-perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.quiz-perks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* animated iPhone calculator */
.quiz-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.iphone { flex: none; width: 176px; margin-top: -24px; perspective: 900px; }
.iphone-body {
  position: relative; aspect-ratio: 9 / 19.5; padding: 6px; border-radius: 40px;
  background: linear-gradient(145deg, #4a4a50, #1b1b1e 45%, #3a3a40);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 60px -20px rgba(0,0,0,.8), 0 20px 70px -30px rgba(216,239,13,.45);
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(5deg);
  animation: ip-float 6s ease-in-out infinite;
}
.iphone-body::before, .iphone-body::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c2c30;
}
.iphone-body::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(176px * .24) 0 #2c2c30; }
.iphone-body::after { right: -3px; top: 28%; height: 14%; }
@keyframes ip-float {
  50% { transform: rotateY(-10deg) rotateX(3deg) rotateZ(3deg) translateY(-10px); }
}
.iphone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #0d0d0f; display: flex; flex-direction: column; }
.ip-status { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 0; font-size: 9px; font-weight: 700; }
.ip-island { width: 52px; height: 15px; border-radius: 10px; background: #000; }
.ip-icons { display: flex; gap: 2px; align-items: flex-end; }
.ip-icons b { width: 3px; background: var(--fg); border-radius: 1px; }
.ip-icons b:nth-child(1) { height: 4px; } .ip-icons b:nth-child(2) { height: 6px; } .ip-icons b:nth-child(3) { height: 8px; }
.ip-app { flex: 1; display: flex; flex-direction: column; padding: 14px 12px 12px; }
.ip-head { display: flex; align-items: center; justify-content: space-between; }
.ip-head img { height: 18px; width: auto; }
.ip-head span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ip-type { margin-top: 12px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 13px; }
.ip-list { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.ip-list li {
  display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 9px;
  background: #18181b; font-size: 9.5px; font-weight: 500;
  opacity: .35; transition: opacity .3s;
}
.ip-list li::before {
  content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); transition: background-color .3s, border-color .3s;
  background: center/8px no-repeat;
}
.ip-list li.on { opacity: 1; }
.ip-list li.on::before {
  border-color: var(--lime);
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.ip-total { margin-top: auto; padding: 10px; border-radius: 12px; background: rgba(216,239,13,.08); border: 1px dashed rgba(216,239,13,.35); }
.ip-total small { display: block; font-size: 8.5px; color: var(--muted); }
.ip-total b { display: block; margin: 3px 0; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 17px; color: var(--lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ip-total em { font-style: normal; font-size: 10px; }
.ip-total.txt b { font-size: 12px; }
.ip-total.txt em { display: none; }
.ip-btn { margin-top: 8px; padding: 9px; border-radius: 10px; background: var(--lime); color: #0a0a0b; text-align: center; font-size: 10px; font-weight: 700; }
.ip-total.pop b { animation: ip-pop .4s ease; }
@keyframes ip-pop { 50% { transform: scale(1.08); } }
@media (max-width: 1200px) { .iphone { display: none; } }

.quiz-card {
  position: relative; padding: clamp(20px, 3vw, 40px); border-radius: 24px;
  background: #121214; border: 1px solid rgba(255,255,255,.08);
}
/* same dark smoky glass as the task picker: lime and blue light glowing behind the card */
.quiz { position: relative; isolation: isolate; overflow: hidden; }
.quiz-wrap { position: relative; }
.quiz-glow { inset: 8% -4% -8% 42%; }
.quiz-card { overflow: hidden; border-color: rgba(255,255,255,.14); background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03) 45%, rgba(255,255,255,.06)); -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.quiz-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(180deg, rgba(255,255,255,.07), transparent); pointer-events: none; }
.quiz-card .q-opt { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.quiz-card .q-opt:hover { border-color: rgba(216,239,13,.5); background: rgba(255,255,255,.08); }
.quiz-card .q-opt:has(input:checked) { background: rgba(216,239,13,.1); }
.quiz-card .q-track { background: rgba(255,255,255,.1); }
@media (max-width: 900px) { .quiz-glow { inset: 30% -8% -4% -8%; } }
.q-top { margin-bottom: 32px; }
.q-count { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.q-count b { color: var(--fg); }
.q-bar { position: relative; padding-top: 30px; }
.q-track { height: 22px; border-radius: 22px; background: #26262a; box-shadow: inset 0 2px 4px rgba(0,0,0,.5); overflow: hidden; }
.q-track i {
  display: block; height: 100%; width: 25%; border-radius: inherit;
  background:
    repeating-linear-gradient(-55deg, rgba(255,255,255,.22) 0 10px, transparent 10px 22px) 0 0 / 200% 100%,
    linear-gradient(90deg, #8fcf00, var(--lime));
  box-shadow: 0 0 16px rgba(216,239,13,.35);
  animation: q-stripes 1.2s linear infinite;
  transition: width .6s cubic-bezier(.2,.7,.2,1);
}
@keyframes q-stripes { to { background-position: -27px 0, 0 0; } }
.q-marker {
  position: absolute; top: 0; left: 25%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  transition: left .6s cubic-bezier(.2,.7,.2,1);
}
.q-marker::after { content: ""; margin-top: 3px; border: 6px solid transparent; border-top: 7px solid var(--lime); border-bottom: 0; }
.q-pct { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 12px; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
/* at 100% keep the label inside the card, arrow pinned to the end */
.q-bar[aria-valuenow="4"] .q-marker { transform: translateX(-100%); align-items: flex-end; }
.q-bar[aria-valuenow="4"] .q-marker::after { margin-right: 4px; }

.q-step { display: none; border: 0; min-width: 0; padding: 0; margin: 0; }
.q-step.active { display: block; animation: q-in .4s cubic-bezier(.2,.7,.2,1); }
@keyframes q-in { from { opacity: 0; transform: translateX(16px); } }
.q-step legend { padding: 0; font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; margin-bottom: 24px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-opt { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px; min-height: 64px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); cursor: pointer; transition: border-color .2s, background .2s; }
.q-opt:hover { border-color: rgba(255,255,255,.28); }
.q-opt input { position: absolute; opacity: 0; pointer-events: none; }
.q-mark { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: border-color .2s, background .2s; }
.q-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0a0a0b; transform: scale(0); transition: transform .2s; }
.q-opt b { display: block; font-weight: 700; font-size: 16px; }
.q-opt small { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.q-opt:has(input:checked) { border-color: var(--lime); background: rgba(216,239,13,.06); }
.q-opt:has(input:checked) .q-mark { border-color: var(--lime); background: var(--lime); }
.q-opt:has(input:checked) .q-mark::after { transform: scale(1); }
.q-opt:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }

.q-est { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 20px; border-radius: 14px; background: rgba(216,239,13,.08); border: 1px dashed rgba(216,239,13,.4); }
.q-est span { font-size: 14px; color: var(--muted); }
.q-est b { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 17px; color: var(--lime); }
.q-sub { margin: -12px 0 20px; font-size: 15px; color: var(--muted); }
.q-sub span { display: inline-block; margin-right: 6px; padding: 3px 9px; border-radius: 20px; background: var(--lime); color: #0a0a0b; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.q-gift { flex-basis: 100%; padding-top: 10px; border-top: 1px solid rgba(216,239,13,.2); font-size: 14px; font-weight: 500; }
.q-gift em { font-style: normal; font-weight: 700; color: var(--lime); }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-field label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.q-field input {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 12px;
  background: #0a0a0b; border: 1px solid rgba(255,255,255,.12); color: var(--fg);
  font: 500 17px 'Manrope', sans-serif; transition: border-color .2s;
}
.q-field input:focus { outline: none; border-color: var(--lime); }
.q-field.err input { border-color: #ff5a5a; }
.q-field .q-err { display: none; margin-top: 6px; font-size: 13px; color: #ff7a7a; }
.q-field.err .q-err { display: block; }
.q-submit { width: 100%; justify-content: center; margin-top: 16px; border: 0; cursor: pointer; font-family: inherit; height: 58px; }
.q-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; min-height: 40px; }
.q-back { background: none; border: 0; color: var(--muted); font: 500 15px 'Manrope', sans-serif; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.q-back:hover { color: var(--fg); }
.q-back[hidden] { display: none; }
.q-hint { font-size: 13px; color: var(--muted); }

.q-done { text-align: center; padding: 20px 0 8px; }
.q-done .q-ok { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.q-done h3 { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 24px; }
.q-done p { margin: 12px auto 0; max-width: 380px; color: var(--muted); line-height: 1.55; }
.q-done .q-again { margin-top: 24px; }

@media (max-width: 900px) {
  .quiz-wrap { grid-template-columns: 1fr; }
  .quiz-perks { display: none; }
}
/* phones: 2x2 answer tiles, slimmer progress, no dead space under the options */
@media (max-width: 560px) {
  .quiz-card { padding: 16px; border-radius: 20px; }
  .q-top { margin-bottom: 18px; }
  .q-count { margin-bottom: 6px; font-size: 13px; }
  .q-bar { padding-top: 22px; }
  .q-track { height: 12px; }
  .q-pct { font-size: 11px; }
  .q-marker::after { border-width: 5px; border-top-width: 6px; margin-top: 2px; }
  .q-step legend { font-size: 19px; margin-bottom: 14px; }
  .q-sub { margin: -6px 0 12px; font-size: 13px; }
  .q-opts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .q-opt { min-height: 0; padding: 12px; border-radius: 12px; }
  .q-mark { display: none; }
  .q-opt b { font-size: 14px; line-height: 1.25; }
  .q-opt small { margin-top: 3px; font-size: 12px; line-height: 1.3; }
  .q-fields { grid-template-columns: 1fr; gap: 10px; }
  .q-field label { margin-bottom: 6px; font-size: 13px; }
  .q-field input { height: 50px; }
  .q-est { padding: 12px 14px; margin-bottom: 14px; }
  .q-est b { font-size: 15px; }
  .q-gift { font-size: 13px; }
  .q-submit { height: 54px; margin-top: 12px; }
  .q-note { margin-top: 8px; font-size: 12px; }
  .q-nav { margin-top: 10px; min-height: 0; }
  .q-hint { display: none; }
}

/* ---------- "Смотреть сайт" cursor over portfolio cards (mouse only) ---------- */
.cur-view {
  position: fixed; z-index: 60; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0);
}
.cur-in {
  position: absolute; inset: 0; border-radius: 50%; background: var(--lime); color: #0a0a0b;
  display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(216,239,13,.55);
  transform: scale(0); opacity: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), opacity .25s;
}
.cur-view.on .cur-in { transform: scale(1); opacity: 1; }
.cur-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 9s linear infinite; }
.cur-ring text { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 10px; letter-spacing: 1.5px; fill: #0a0a0b; }
.cur-arrow { width: 30px; height: 30px; transition: transform .3s; }
.cur-view.on .cur-arrow { animation: cur-nudge 1.4s ease-in-out infinite; }
@keyframes cur-nudge { 50% { transform: translate(3px, -3px); } }
@media (hover: hover) and (pointer: fine) { .work .case { cursor: none; } }
@media (prefers-reduced-motion: reduce) { .cur-ring, .cur-view.on .cur-arrow { animation: none; } }

/* ---------- contact widget ---------- */
.cw {
  position: fixed; z-index: 50;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none; /* the closed menu is invisible: let taps through to the page */
}
.cw-fab, .cw.open .cw-list { pointer-events: auto; }
.cw-fab {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lime); color: #0a0a0b; display: grid; place-items: center;
  box-shadow: 0 0 0 4px #0a0a0b, 0 12px 32px -10px rgba(216,239,13,.6);
  transition: transform .25s;
}
.cw-fab:hover { transform: scale(1.06); }
.cw-fab::before { /* pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--lime); animation: cw-pulse 2.4s ease-out infinite;
}
.cw.open .cw-fab::before { animation: none; opacity: 0; }
@keyframes cw-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.cw-fab svg { position: absolute; width: 26px; height: 26px; transition: transform .3s, opacity .2s; }
.cw-fab .i-close { opacity: 0; transform: rotate(-90deg); }
.cw.open .cw-fab .i-chat { opacity: 0; transform: rotate(90deg); }
.cw.open .cw-fab .i-close { opacity: 1; transform: none; }

.cw-list { list-style: none; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cw-list li { opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2,.7,.2,1); }
.cw.open .cw-list li { opacity: 1; transform: none; pointer-events: auto; }
.cw.open .cw-list li:nth-child(3) { transition-delay: 0s; }
.cw.open .cw-list li:nth-child(2) { transition-delay: .05s; }
.cw.open .cw-list li:nth-child(1) { transition-delay: .1s; }
.cw-item {
  display: flex; align-items: center; gap: 14px; min-width: 250px;
  padding: 10px 18px 10px 10px; border-radius: 16px;
  background: rgba(22,22,24,.92); border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .2s, transform .2s;
}
.cw-item:hover { border-color: var(--lime); transform: translateX(-4px); }
.cw-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: #0a0a0b; display: grid; place-items: center; }
.cw-ico svg { width: 22px; height: 22px; }
.cw-txt b { display: block; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 14px; }
.cw-txt small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }

.cw-hint {
  position: absolute; right: 78px; bottom: 12px; white-space: nowrap;
  padding: 10px 14px; border-radius: 12px 12px 4px 12px;
  background: var(--fg); color: #0a0a0b; font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.cw-hint.show { opacity: 1; transform: none; }
.cw.open .cw-hint { opacity: 0; }

@media (max-width: 560px) {
  .cw-fab { width: 58px; height: 58px; }
  .cw-item { min-width: 0; width: calc(100vw - 40px); }
  .cw-hint { right: 70px; }
}

/* ========== inner pages ========== */
/* compact hero: same grid backdrop and header, heading instead of the big composition */
.page-hero { min-height: 0; }
.page-hero::after { display: none; }
.ph-body { position: relative; z-index: 2; width: 100%; max-width: calc(1200px + 2 * clamp(16px, 8vw, 160px)); margin: 0 auto; padding: clamp(24px, 4vw, 56px) clamp(16px, 8vw, 160px) clamp(56px, 7vw, 96px); }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--lime); }
.page-hero h1 { margin-top: 22px; max-width: 900px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(34px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
.page-hero h1 em { font-style: normal; color: var(--lime); }
/* prices page: the quiz's phone calculator sits in the empty space right of the heading */
.ph-phone { position: absolute; right: clamp(16px, 8vw, 160px); top: 50%; transform: translateY(-50%) scale(1.25); transform-origin: right center; }
.ph-phone .iphone { margin-top: 0; }
.ph-lead { margin-top: 22px; max-width: 620px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: rgba(244,244,242,.78); }
.ph-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: clamp(28px, 3vw, 44px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.ph-facts b { display: block; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); color: var(--lime); letter-spacing: -.02em; }
.ph-facts span { font-size: 14px; color: var(--muted); }

.pr { padding: clamp(64px, 8vw, 120px) clamp(16px, 8vw, 160px) 0; }
.pr-wrap { max-width: 1200px; margin: 0 auto; }
.pr h2 { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.pr h2 em { font-style: normal; color: var(--lime); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan, .promo { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; background: #121214; border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, transform .3s; }
.plan:hover, .promo:hover { border-color: rgba(216,239,13,.45); transform: translateY(-4px); }
.plan-hot { border-color: rgba(216,239,13,.55); background: linear-gradient(180deg, rgba(216,239,13,.07), #121214 45%); }
.plan-kind { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan h3, .promo h3 { margin-top: 10px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.plan-price { margin-top: 20px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(28px, 2.4vw, 38px); line-height: 1; letter-spacing: -.03em; color: var(--lime); white-space: nowrap; }
.plan-price small { font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-price-txt { font-size: clamp(24px, 2.2vw, 32px); }
.plan-time { margin-top: 8px; font-size: 15px; color: var(--fg); }
.plan-desc { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.plan-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.plan-list li { display: flex; gap: 10px; font-size: 15px; font-weight: 500; }
.plan-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.plan-btn:hover, .plan-hot .plan-btn { background: var(--lime); border-color: var(--lime); color: #0a0a0b; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo .srv-cta { margin-top: auto; padding-top: 0; align-self: flex-start; }
.promo .plan-desc { margin-bottom: 24px; }

.types { padding-bottom: clamp(64px, 8vw, 120px); }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.type { padding: 28px 28px 8px 0; }
.type + .type { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.type h3 { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 20px; }
.type p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.type .type-for { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.type-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.type-tags span { padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: var(--fg); }

/* articles: readable column + sticky CTA card */
.post-sec { padding: clamp(48px, 6vw, 88px) clamp(16px, 8vw, 160px) clamp(64px, 8vw, 120px); }
.post-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.post { max-width: 740px; font-size: 17px; line-height: 1.75; color: rgba(244,244,242,.86); }
.post > * + * { margin-top: 18px; }
.post h2 { margin-top: 48px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.01em; color: var(--fg); }
.post h3 { margin-top: 32px; font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--fg); }
.post strong { color: var(--fg); font-weight: 700; }
.post ul, .post ol { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.post ul li { position: relative; padding-left: 26px; }
.post ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.post ol { counter-reset: n; }
.post ol li { position: relative; padding-left: 40px; counter-increment: n; }
.post ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(216,239,13,.12); color: var(--lime); font-family: 'Unbounded', 'Montserrat'; font-size: 12px; font-weight: 700; }
.post a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.post a:hover { color: var(--lime); }
.post .lead-p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--fg); }
.post-aside { position: sticky; top: 32px; }
.post-aside .faq-card { margin-top: 0; }
.post-aside .plan-price { margin-top: 14px; font-size: 30px; }
.post-meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .post-wrap { grid-template-columns: 1fr; } .post-aside { position: static; } }

/* case (portfolio project) page */
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; margin: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.12); }
.case-facts > div { padding: 16px 18px; background: #101012; }
.case-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--fg); overflow-wrap: anywhere; }
.case-gal { display: grid; gap: 16px; }
.case-fig { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #101012; }
.case-fig img { display: block; width: 100%; height: auto; }
.case-fig figcaption { padding: 10px 16px; font-size: 14px; color: var(--muted); }
.case-rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.post .case-rel a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #101012; text-decoration: none; font-weight: 700; color: var(--fg); transition: border-color .25s, color .25s; }
.post .case-rel a small { font-weight: 400; font-size: 13px; color: var(--muted); }
.post .case-rel a:hover { border-color: var(--lime); color: var(--lime); }

/* 404 */
.nf { padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(72px, 9vw, 130px); }
.nf-code { font-family: 'Unbounded', 'Montserrat'; font-weight: 900; font-size: clamp(110px, 18vw, 240px); line-height: .85; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--lime); }
.nf h1 { margin-top: 18px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.nf-help { margin-top: 26px; font-size: 15px; color: var(--muted); }
.nf-help a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }

/* blog list */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #121214; border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, transform .3s; }
.post-card:hover { border-color: rgba(216,239,13,.45); transform: translateY(-4px); }
.post-card-tag { align-self: flex-start; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(216,239,13,.5); color: var(--lime); font-size: 13px; font-weight: 700; }
.post-card h2 { margin-top: 18px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 20px; line-height: 1.25; }
.post-card p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-card-more { margin-top: auto; padding-top: 22px; font-weight: 700; color: var(--lime); }
.who-tags span { padding: 10px 16px; font-size: 15px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* service page bits */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px; border-radius: 22px; background: #121214; border: 1px solid rgba(255,255,255,.08); }
.steps li::before { content: "0" counter(s); font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 34px; color: var(--lime); letter-spacing: -.03em; }
.steps h3 { margin-top: 14px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 18px; }
.steps p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.what-grid .post { max-width: none; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .what-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* about page */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.about-text p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: rgba(244,244,242,.82); }
.about-text p + p { margin-top: 18px; }
.about-text p:first-child { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; color: var(--fg); font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { padding: 26px; border-radius: 22px; background: #121214; border: 1px solid rgba(255,255,255,.08); transition: border-color .3s; }
.value:hover { border-color: rgba(216,239,13,.45); }
.value-n { font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 13px; color: var(--lime); }
.value h3 { margin-top: 26px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 19px; }
.value p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tools { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.tools li { padding: 22px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); transition: background .25s; }
.tools li:hover { background: rgba(216,239,13,.06); }
.tools b { display: block; font-family: 'Unbounded', 'Montserrat'; font-weight: 500; font-size: 17px; }
.tools span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .values, .tools { grid-template-columns: 1fr 1fr; } .value { padding: 20px; } .tools li { padding: 16px; } .tools b { font-size: 15px; } }
@media (max-width: 420px) { .values { grid-template-columns: 1fr; } }

/* homepage works: zigzag rows — one wide mockup (2 columns) + one tall mockup, equal heights */
.wk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 20px; }
.wk { position: relative; }
.wk-big { grid-column: span 2; }
.wk-img { position: relative; overflow: hidden; height: clamp(300px, 31vw, 450px); border-radius: 20px; background: #121214; }
.wk-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.wk:hover .wk-img img { transform: scale(1.04); }
.wk-img img[src*="atlas"] { object-position: 50% 30%; }
.wk:not(.wk-big) .wk-img img:not(.wk-bg) { position: relative; object-fit: contain; }
.wk-img .wk-bg { position: absolute; inset: 0; object-fit: cover; filter: blur(28px) brightness(.7); transform: scale(1.15); }
.wk:hover .wk-img .wk-bg { transform: scale(1.15); }
.wk-tag {
  position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 11px; border-radius: 20px;
  background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; color: #fff;
}
.wk h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 16px; font-family: 'Unbounded', 'Montserrat'; font-weight: 700; font-size: 17px; line-height: 1.3; }
.wk h3 > span { font-family: 'Manrope'; font-weight: 500; font-size: 14px; color: var(--muted); }
.wk:hover h3 .case-link { color: var(--lime); }
.wk p { margin-top: 6px; max-width: 440px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.wk-more { display: flex; justify-content: center; margin-top: 56px; }
.wk-archive { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 30px; background: var(--fg); color: #0a0a0b; font-weight: 700; font-size: 15px; transition: background .2s, gap .25s; }
.wk-archive:hover { background: var(--lime); gap: 14px; }
@media (max-width: 1100px) {
  .wk-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .wk-big { grid-column: auto; }
  .wk-img { height: clamp(260px, 40vw, 380px); }
}
/* phones: one swipeable row, uniform card height */
@media (max-width: 760px) {
  .wk-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 4px; scroll-padding: 0 16px; scrollbar-width: none; }
  .wk-grid::-webkit-scrollbar { display: none; }
  .wk, .wk-big { flex: none; width: 80%; margin-top: 0; scroll-snap-align: start; }
  .wk-img { height: auto; aspect-ratio: 4 / 5; }
  .wk-more { margin-top: 28px; }
}

/* portfolio page: every case visible, plain grid (no slider) */
.work-page { padding-top: clamp(48px, 6vw, 88px); }
.work-more .work-all { margin: 0 0 0 auto; }
.work-page .work-all { display: none; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.cta-sec { padding-bottom: clamp(64px, 8vw, 120px); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 52px); border-radius: 28px;
  background: radial-gradient(circle at 90% 0%, rgba(216,239,13,.18), transparent 50%), #121214; border: 1px solid rgba(216,239,13,.3);
}
.cta-band h2 { margin-top: 0; }
.cta-band p { margin-top: 12px; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1100px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
  .work-page { padding-left: 16px; padding-right: 16px; }
  .work-page .work-more { padding: 0; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions > * { justify-content: center; }
}
@media (max-width: 1000px) {
  .plans, .types-grid { grid-template-columns: 1fr; }
  .type, .type + .type { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 760px) {
  .promo-grid { grid-template-columns: 1fr; }
  .plan, .promo { border-radius: 20px; }
  .ph-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
}
