/* =========================================================
   kailuai.studio — стилі (mobile-first)
   ========================================================= */
:root {
  --bg: #0F1012;
  --card: #17191D;
  --card-2: #1D2025;
  --line: rgba(242, 242, 240, .08);
  --text: #F2F2F0;
  --muted: #A0A3A8;
  --lime: #D4FF3A;
  --accent-rgb: 212,255,58;
  --lime-ink: #0F1012;
  --blue: #4C7DFF;
  --warm: #FFB46B;
  --radius: 20px;
  --radius-sm: 12px;
  --head: "Manrope", "Inter", system-ui, sans-serif;
  --logo: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--lime-ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }

/* ---------- Typography ---------- */
.h2 {
  font: 800 clamp(28px, 7vw, 52px)/1.12 var(--head);
  letter-spacing: -.02em;
  margin: 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.lead { color: var(--muted); font-size: 17px; margin: 16px 0 0; max-width: 620px; }
.small { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.note { color: var(--muted); font-size: 14px; margin: 0; padding: 14px 16px; border-left: 2px solid var(--blue); background: rgba(76,125,255,.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* маркер-плашка під словом */
.hl {
  background: linear-gradient(transparent 60%, rgba(var(--accent-rgb),.32) 60%, rgba(var(--accent-rgb),.32) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size 1.3s var(--ease) .45s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .08em;
}
.in .hl, .in.hl, .no-anim .hl { background-size: 100% 100%; }

/* суцільна лаймова плашка (hero) */
.plate {
  display: inline-block;
  color: var(--lime-ink);
  background: var(--lime);
  padding: .02em .22em .08em;
  border-radius: .18em;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 40px rgba(var(--accent-rgb),.25);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--big { --h: 64px; font-size: 18px; padding: 0 32px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { box-shadow: 0 8px 32px rgba(var(--accent-rgb),.35); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(242,242,240,.28); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { box-shadow: 0 8px 32px rgba(76,125,255,.4); transform: translateY(-2px); }
.btn .icon { width: 22px; height: 22px; }

.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Logo (теплий неон) ---------- */
.logo {
  font: 700 19px/1 var(--logo); letter-spacing: -.01em; text-decoration: none;
  color: #FFF6EA;
  text-shadow: 0 0 6px rgba(255,180,107,.55), 0 0 18px rgba(255,180,107,.35), 0 0 36px rgba(255,140,60,.18);
  animation: neon 6s ease-in-out infinite;
  display: inline-flex; gap: 0;
}
.logo span { font-weight: 600; color: var(--warm); }
@keyframes neon {
  0%, 100% { text-shadow: 0 0 6px rgba(255,180,107,.55), 0 0 18px rgba(255,180,107,.35), 0 0 36px rgba(255,140,60,.18); }
  50% { text-shadow: 0 0 8px rgba(255,180,107,.65), 0 0 24px rgba(255,180,107,.42), 0 0 48px rgba(255,140,60,.24); }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open {
  background: rgba(15,16,18,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 16px 24px;
  background: #0F1012;
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
.nav__link {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 4px; text-decoration: none; font-weight: 500; font-size: 18px;
  color: var(--text); border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--lime); }
.nav__link--prices { color: var(--lime); }
.nav__badge {
  font-size: 11px; font-weight: 600; line-height: 1;
  padding: 5px 8px; border-radius: 99px;
  background: var(--lime); color: var(--lime-ink);
}
.nav__cta { margin-top: 14px; }

.burger { width: 44px; height: 44px; border: 0; background: transparent; position: relative; margin-right: -8px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.header.is-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header.is-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Media placeholder system ---------- */
.media { position: relative; overflow: hidden; background: var(--card); }
.media > video, .media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s var(--ease);
}
.media.is-loaded > video, .media.is-loaded > img { opacity: 1; }
.media__ph { position: absolute; inset: 0; }
.ph {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 50% 10%, rgba(76,125,255,.18), transparent 60%),
    linear-gradient(160deg, #1b1e24, #121418);
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(76,125,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,125,255,.35) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0 30%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 45%, #000 0 30%, transparent 75%);
}
.ph span {
  position: relative; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 6px 12px; border: 1px dashed rgba(160,163,168,.4); border-radius: 99px;
  background: rgba(15,16,18,.6);
}
.ph--photo { background: radial-gradient(60% 50% at 50% 38%, #3a3631, #1d1b19 70%); }
.ph--photo::before { display: none; }
.ph--photo::after, .ph--ai::after {
  content: ""; position: absolute; left: 50%; top: 18%; width: 46%; aspect-ratio: 3/4; transform: translateX(-50%);
  border-radius: 50% 50% 46% 46%;
}
.ph--photo::after { background: radial-gradient(circle at 45% 40%, #6d6259, #3b342f 70%); filter: blur(1px); }
.ph--ai::after { border: 1.5px solid var(--blue); box-shadow: 0 0 30px rgba(76,125,255,.45), inset 0 0 30px rgba(76,125,255,.25); }
.ph--photo span, .ph--ai span { position: absolute; bottom: 14%; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 88px;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; z-index: 0; background: #0b0c0e; }
.hero__ph {
  display: grid; place-items: center;
  background: radial-gradient(60% 50% at 60% 35%, rgba(76,125,255,.20), transparent 70%), #0b0c0e;
}
.face {
  width: min(78vw, 440px); height: auto; color: var(--blue);
  opacity: .75; transform: translateY(-14%);
  filter: drop-shadow(0 0 6px rgba(76,125,255,.7)) drop-shadow(0 0 24px rgba(76,125,255,.35));
  animation: faceFloat 9s ease-in-out infinite;
}
.face path, .face ellipse, .face circle { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) forwards; }
.face__pupil { fill: var(--lime); stroke: none; filter: drop-shadow(0 0 6px var(--lime)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes faceFloat { 0%,100% { transform: translateY(-14%); } 50% { transform: translateY(-16%); } }

.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,125,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,125,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 75%);
}
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,16,18,.55) 0%, rgba(15,16,18,0) 25%, rgba(15,16,18,.35) 50%, rgba(15,16,18,.92) 78%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 3; }
.hero__title {
  font: 800 clamp(40px, 11.5vw, 104px)/1.02 var(--head);
  letter-spacing: -.035em; margin: 0;
}
.hero__punch { font: 700 clamp(22px, 5.6vw, 40px)/1.2 var(--head); margin: 18px 0 0; letter-spacing: -.01em; }
.hero__sub { color: #C9CBCF; font-size: clamp(16px, 4.2vw, 20px); max-width: 560px; margin: 14px 0 0; }
.hero__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(242,242,240,.35); border-radius: 99px; display: none;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--lime); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Sections & cards ---------- */
.section { padding: 80px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(23,25,29,.55) 12%, rgba(23,25,29,.55) 88%, transparent); }
.section__head { margin-bottom: 36px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.15s var(--ease), transform 1.15s var(--ease); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- WORKS ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: -12px 0 24px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: all .25s;
}
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.work { position: relative; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; transition: transform .4s var(--ease), opacity .4s; }
.work.is-hidden { display: none; }
.work__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(15,16,18,.9));
}
.work__cat { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-ink); background: var(--lime); padding: 4px 8px; border-radius: 99px; }
.work__title { margin: 8px 0 0; font: 700 14px/1.25 var(--head); }
.work__play {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15,16,18,.6); border: 1px solid var(--line);
}
.work__play::after { content: ""; border-left: 8px solid var(--text); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.work.is-playing .work__play::after { border: 0; width: 8px; height: 10px; margin: 0; border-left: 3px solid var(--lime); border-right: 3px solid var(--lime); }

/* ---------- STEPS ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.step { position: relative; overflow: hidden; }
.step__num { position: absolute; top: 18px; right: 20px; font: 800 44px/1 var(--head); color: rgba(242,242,240,.06); }
.step .icon, .feature .icon { color: var(--lime); width: 34px; height: 34px; margin-bottom: 16px; }
.step h3, .feature h3 { font: 800 20px/1.25 var(--head); margin: 0 0 6px; }
.step p, .feature p { margin: 0; color: var(--muted); }

/* ---------- FEATURES ---------- */
.features { display: grid; gap: 12px; }
.feature { transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(76,125,255,.45); transform: translateY(-3px); }

/* ---------- PRICES ---------- */
.included { margin-bottom: 40px; border-color: rgba(76,125,255,.25); background: linear-gradient(135deg, rgba(76,125,255,.07), var(--card) 50%); }
.included__title { font: 800 18px/1.3 var(--head); margin: 0 0 14px; }
.included__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.included__list li { font-size: 14px; padding: 8px 14px 8px 30px; border-radius: 99px; background: rgba(242,242,240,.05); position: relative; }
.included__list li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--lime); }
.group-title { font: 700 14px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.prices { display: grid; gap: 12px; margin-bottom: 40px; }
.prices:last-child { margin-bottom: 0; }
.price { display: flex; flex-direction: column; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.price:hover { transform: translateY(-4px); border-color: rgba(242,242,240,.18); }
.price__name { font: 700 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.price__value { font: 800 40px/1 var(--head); margin: 0; letter-spacing: -.02em; }
.price__value span { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price__meta { margin: 12px 0 0; font-weight: 600; }
.price__desc { margin: 6px 0 22px; color: var(--muted); flex: 1; }
.price__save { display: inline-block; align-self: flex-start; margin: 14px 0 0; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; color: var(--lime); background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.25); }
.price__list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.price__list li { padding-left: 26px; position: relative; color: #D9DADC; }
.price__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.price__btn { margin-top: auto; }
.price--best { border: 1.5px solid var(--lime); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.06), 0 20px 60px rgba(var(--accent-rgb),.08); background: linear-gradient(180deg, rgba(var(--accent-rgb),.05), var(--card) 40%); }
.price__badge { position: absolute; top: -13px; left: 24px; background: var(--lime); color: var(--lime-ink); font: 700 12px/1 var(--body); letter-spacing: .04em; padding: 7px 12px; border-radius: 99px; }

/* ---------- AVATAR / BEFORE-AFTER ---------- */
.avatar { display: grid; gap: 20px; }
.ba { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.ba__layer { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lime); box-shadow: 0 0 16px rgba(var(--accent-rgb),.6); z-index: 3; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; -webkit-appearance: none; appearance: none; }
.ba__tag { position: absolute; top: 14px; z-index: 3; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(15,16,18,.7); }
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; color: var(--blue); }
.avatar__plans { display: grid; gap: 12px; align-content: start; }

/* ---------- CALC ---------- */
.calc { display: grid; gap: 28px; padding: 20px; }
.calc__group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.calc__group:last-child { margin-bottom: 0; }
.calc__group legend { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg--wrap { grid-template-columns: repeat(2, 1fr); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 58px; padding: 10px 12px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); cursor: pointer;
  font-weight: 600; font-size: 15px; transition: all .25s var(--ease);
}
.seg span small { font-weight: 500; font-size: 12px; color: var(--muted); transition: color .25s; }
.seg span:hover { border-color: rgba(242,242,240,.25); }
.seg input:checked + span { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.seg input:checked + span small { color: rgba(15,16,18,.7); }
.seg input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; font-weight: 500; }
.toggle b { color: var(--lime); font-weight: 700; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { flex: none; width: 46px; height: 28px; border-radius: 99px; background: var(--card-2); border: 1px solid rgba(242,242,240,.15); position: relative; transition: background-color .25s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background-color .25s; }
.toggle input:checked + .toggle__ui { background: var(--lime); border-color: var(--lime); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); background: var(--lime-ink); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--lime); outline-offset: 2px; }
.calc__result { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.calc__label { margin: 0; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.calc__total { font: 800 clamp(44px, 12vw, 64px)/1.05 var(--head); margin: 8px 0 18px; letter-spacing: -.03em; color: var(--lime); font-variant-numeric: tabular-nums; }
.calc__total small { font-size: .4em; color: var(--muted); letter-spacing: 0; }
.calc__lines { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; color: #D9DADC; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.calc__lines li.disc { color: var(--lime); }
.calc__lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__hint { color: var(--muted); font-size: 12px; margin: 0 0 16px; }

/* ---------- BONUSES ---------- */
.bonuses { display: grid; gap: 12px; }
.bonus { display: flex; align-items: center; gap: 18px; padding: 20px; }
.bonus__val { flex: none; min-width: 96px; text-align: center; font: 800 22px/1 var(--head); color: var(--lime); padding: 14px 10px; border-radius: 14px; background: rgba(var(--accent-rgb),.08); border: 1px solid rgba(var(--accent-rgb),.2); }
.bonus p { margin: 0; font-weight: 500; }

/* ---------- ABOUT ---------- */
.about { padding: 100px 0; overflow: hidden; }
.about::before { content: ""; position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(76,125,255,.10), transparent 65%); pointer-events: none; }
.about__inner { position: relative; text-align: center; max-width: 900px; }
.about__inner .eyebrow::before { display: none; }
.about__text { font: 600 clamp(19px, 4.6vw, 28px)/1.5 var(--head); color: #E2E3E1; margin: 28px auto 0; letter-spacing: -.005em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s; }
.faq__item[open] { border-color: rgba(var(--accent-rgb),.3); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 20px; position: relative;
  font: 700 17px/1.35 var(--head);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; display: grid; place-items: center; font: 400 20px/1 var(--body);
  background: rgba(242,242,240,.06); transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.faq__item p a { color: var(--lime); }
.faq__body { overflow: hidden; transition: height .35s var(--ease); }

/* ---------- ORDER ---------- */
.order { padding-bottom: 110px; }
.order__box { padding: 22px; position: relative; overflow: hidden; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; color: #D9DADC; }
.field em { font-style: normal; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px;
  background: var(--bg); border: 1px solid rgba(242,242,240,.12); color: var(--text);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D4FF3A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder, .field textarea::placeholder { color: #6E7177; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.15); }
.field.is-invalid input { border-color: #FF6B6B; }
.field.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); } 30% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.45); border-color: var(--lime); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0; color: #FF8C8C; font-size: 14px; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { text-align: center; padding: 40px 8px; animation: cardIn .7s var(--ease) both; }
.thanks__icon svg { width: 84px; height: 84px; margin: 0 auto 20px; fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 16px rgba(var(--accent-rgb),.45)); }
.thanks__icon circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .8s var(--ease) forwards; }
.thanks__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .7s forwards; }
.thanks__title { font: 800 clamp(22px, 5.5vw, 30px)/1.25 var(--head); margin: 0 0 10px; }
.thanks__text { color: var(--muted); margin: 0; }

.order__alt { display: grid; gap: 12px; margin-top: 18px; }
.order__alt .btn { white-space: normal; text-align: center; }
.order__alt .btn[hidden] { display: none; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer__inner { display: grid; gap: 16px; justify-items: start; }
.footer__mail { color: var(--muted); text-decoration: none; }
.footer__mail:hover { color: var(--lime); }
.footer__copy { margin: 0; color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials:empty { display: none; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.socials a:hover { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAB (mobile) ---------- */
.fab {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 0 30px rgba(var(--accent-rgb),.2);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.fab.is-visible { transform: none; }

/* =========================================================
   TABLET ≥ 640
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .hero__btns { flex-direction: row; }
  .works { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices--3 { grid-template-columns: repeat(3, 1fr); }
  .prices--2 { grid-template-columns: repeat(2, 1fr); }
  .bonuses { grid-template-columns: repeat(2, 1fr); }
  .seg--wrap { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .order__box { padding: 36px; }
  .order__alt.has-tg { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; }
  .footer__mail { justify-self: start; }
}

/* =========================================================
   DESKTOP ≥ 1000
   ========================================================= */
@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .section { padding: 120px 0; }
  .section__head { margin-bottom: 52px; }
  .card { padding: 32px; }
  .burger { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 6px; padding: 0;
    background: none; border: 0; transform: none; opacity: 1; visibility: visible;
  }
  .nav__link { border: 0; font-size: 15px; padding: 10px 14px; border-radius: 99px; }
  .nav__link--prices { background: rgba(var(--accent-rgb),.08); border: 1px solid rgba(var(--accent-rgb),.25); }
  .nav__cta { margin: 0 0 0 10px; }
  .logo { font-size: 21px; }
  .hero { align-items: center; padding-bottom: 60px; }
  .hero__content { max-width: 1180px; }
  .hero__ph { justify-items: end; padding-right: 8vw; }
  .face { width: min(36vw, 520px); transform: translateY(-2%); animation-name: faceFloatD; }
  @keyframes faceFloatD { 0%,100% { transform: translateY(-2%); } 50% { transform: translateY(-4%); } }
  .hero__shade { background: linear-gradient(90deg, rgba(15,16,18,.9) 0%, rgba(15,16,18,.55) 45%, rgba(15,16,18,0) 75%), linear-gradient(180deg, transparent 70%, var(--bg)); }
  .hero__scroll { display: block; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .works { grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
  .chips { justify-content: center; }
  .work:hover { transform: translateY(-6px); }
  .avatar { grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; }
  .ba { aspect-ratio: 4/5; position: sticky; top: calc(var(--header-h) + 24px); }
  .calc { grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 32px; }
  .calc__result { padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .bonuses { grid-template-columns: repeat(3, 1fr); }
  .about { padding: 160px 0; }
  .fab { display: none; }
  .footer { padding-bottom: 40px; }
  .order { padding-bottom: 120px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
}

/* =========================================================
   v2: портфоліо з постерами, лайтбокс, пошта, соцмережі
   ========================================================= */
.work { cursor: pointer; }
.work__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.work.is-loaded > video { z-index: 1; }
.work__dur { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: rgba(15,16,18,.65); }
.work__hint { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--lime); opacity: .9; }
.work:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .work__hint { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
  .work:hover .work__hint { opacity: 1; transform: none; }
}
/* сітка по центру, щоб неповний ряд не «висів» збоку */
.works { display: flex; flex-wrap: wrap; justify-content: center; }
.work { flex: 0 0 calc((100% - 10px) / 2); }
@media (min-width: 640px) { .work { flex-basis: calc((100% - 28px) / 3); } }
@media (min-width: 1000px) { .works { max-width: 1180px; } .work { flex-basis: calc((100% - 54px) / 4); } }

.mail-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; font-size: 15px; }
.mail-alt__addr { color: var(--text); font-weight: 600; user-select: all; }
.mail-alt__link { background: none; border: 0; padding: 4px 0; color: var(--lime); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.social-row { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; font-size: 15px; transition: all .25s; }
.social-pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-pill:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }

.toggle > span:last-child { display: flex; flex-direction: column; }
.toggle__note { font-size: 12px; color: var(--muted); font-weight: 400; }
.toggle.is-disabled { cursor: not-allowed; opacity: .55; }

/* =========================================================
   v3: Lenis, плеєр
   ========================================================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
html.is-locked, html.is-locked body { overflow: hidden; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
.work.pop { animation: cardIn .6s var(--ease) both; }

/* ---------- ПЛЕЄР ---------- */
.player { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 10px 12px calc(16px + env(safe-area-inset-bottom)); }
.player[hidden] { display: none; }
.player__backdrop {
  position: absolute; inset: 0; background: rgba(8,9,10,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0; transition: opacity .5s var(--ease);
}
.player.is-open .player__backdrop { opacity: var(--bd, 1); }
.player__top, .player__info, .player__nav { position: relative; z-index: 2; opacity: 0; transition: opacity .45s var(--ease) .15s, transform .45s var(--ease) .15s; }
.player.is-open .player__top, .player.is-open .player__info, .player.is-open .player__nav { opacity: 1; }
.player__top { width: 100%; max-width: 560px; display: flex; justify-content: space-between; align-items: center; padding: 4px 0 10px; }
.player__count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.player__icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,242,240,.14); background: rgba(23,25,29,.75);
  display: grid; place-items: center; color: var(--text); transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.player__icon:hover { background: var(--lime); color: var(--lime-ink); }
.player__icon:active { transform: scale(.92); }
.player__icon svg, .player__nav svg, .player__bigplay svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.player__stage { position: relative; z-index: 1; width: 100%; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.player__frame {
  position: relative; aspect-ratio: 9/16; width: min(100%, calc((100vh - 170px) * 9 / 16), 500px); width: min(100%, calc((100svh - 170px) * 9 / 16), 500px);
  border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(242,242,240,.08), 0 0 60px rgba(76,125,255,.12);
  will-change: transform; transition: opacity .25s ease, transform .25s ease;
}
.player__frame.slide-out-l { opacity: 0; transform: translateX(-40px) scale(.97); }
.player__frame.slide-out-r { opacity: 0; transform: translateX(40px) scale(.97); }
.player__frame.slide-in-r { opacity: 0; transform: translateX(40px) scale(.97); transition: none; }
.player__frame.slide-in-l { opacity: 0; transform: translateX(-40px) scale(.97); transition: none; }
.player__frame video, .player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__frame video { cursor: pointer; }
.player__poster { transition: opacity .4s ease; }
.player:not(.is-loading) .player__poster { opacity: 0; }

.player__spinner { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgba(242,242,240,.2); border-top-color: var(--lime); animation: spin .8s linear infinite; opacity: 0; transition: opacity .3s; pointer-events: none; }
.player.is-loading .player__spinner { opacity: 1; }
.player__bigplay {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(var(--accent-rgb),.4);
  opacity: 0; transform: scale(.7); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.player__bigplay svg { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.player.is-paused:not(.is-loading) .player__bigplay { opacity: 1; transform: none; pointer-events: auto; }

.player__ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.player__bar { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.player__bar::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(242,242,240,.25); }
.player__bar span { position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px rgba(var(--accent-rgb),.6); }
.player__row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.player__row .player__icon { width: 38px; height: 38px; background: rgba(15,16,18,.55); }
.player__time { flex: 1; font-size: 13px; color: #E2E3E1; font-variant-numeric: tabular-nums; }
.player .i-play, .player .i-muted { display: none; }
.player.is-paused .i-play, .player.is-muted .i-muted { display: block; }
.player.is-paused .i-pause, .player.is-muted .i-sound { display: none; }
.player .i-play { fill: currentColor; stroke: none; }

.player__nav {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  border: 1px solid rgba(242,242,240,.14); background: rgba(23,25,29,.7); color: var(--text); display: none; place-items: center;
  transition: background-color .25s, color .25s;
}
.player__nav:hover { background: var(--lime); color: var(--lime-ink); }
.player__nav[hidden] { display: none !important; }
.player__nav--prev { left: max(16px, calc(50% - 360px)); }
.player__nav--next { right: max(16px, calc(50% - 360px)); }
.player__info { width: 100%; max-width: 560px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "cat btn" "title btn"; gap: 4px 14px; align-items: center; padding-top: 12px; }
.player__cat { grid-area: cat; justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.player__title { grid-area: title; margin: 0; font: 700 15px/1.3 var(--head); }
.player__info .btn { grid-area: btn; }
@media (min-width: 1000px) { .player__nav { display: grid; } }
.form__error a { color: var(--lime); font-weight: 600; }
.form__fallback { display: inline-flex; margin-top: 10px; }

/* Значок «Powered by Netlify» (правий нижній кут) — не перекриваємо ним наші кнопки */
@media (max-width: 999px) {
  .has-host-badge .fab { right: auto; width: auto; min-width: 150px; padding: 0 28px; }
  .has-host-badge .player { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .has-host-badge .footer { padding-bottom: 150px; }
}

/* =========================================================
   Сайти під ключ
   ========================================================= */
.price__badge--blue { background: var(--blue); color: #fff; }
.sites-extra { display: grid; gap: 12px; margin-top: 12px; }
.sites-extra__title { font: 800 20px/1.3 var(--head); margin: 0 0 16px; }
.sites-extra__list { list-style: none; padding: 0; margin: 0; display: grid; }
.sites-extra__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sites-extra__list li:last-child { border-bottom: 0; }
.sites-extra__list span { color: #D9DADC; }
.sites-extra__list b { color: var(--lime); white-space: nowrap; font-weight: 700; }
.terms { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.terms li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--blue); }
.terms b { font: 700 15px/1.3 var(--head); }
.terms span { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .sites-extra { grid-template-columns: 1fr 1fr; } }

/* калькулятор: опції сайту */
.calc__sub { display: grid; gap: 4px; margin-top: 12px; transition: opacity .3s; }
.calc__sub.is-disabled { opacity: .45; }
.check { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); flex: none; }
.check b { color: var(--lime); font-weight: 600; }
.calc__sub.is-disabled .check { cursor: not-allowed; }
.calc__lines li.hint { color: var(--muted); border: 0; justify-content: center; }
.btn:disabled { opacity: .45; pointer-events: none; }
@media (min-width: 640px) { .calc__sub { grid-template-columns: 1fr 1fr; gap: 0 16px; } }
.price__list { align-content: start; }

/* =========================================================
   v5: забудовники (ЖК), вкладки цін, нове меню
   ========================================================= */

/* ---------- золота тема (графіт / крем / золото) ---------- */
.theme-gold {
  --bg: #11100E;
  --card: #1A1814;
  --card-2: #221F1A;
  --line: rgba(239, 232, 218, .09);
  --text: #EFE8DA;
  --muted: #B5AC9C;
  --lime: #C8A46A;
  --lime-ink: #11100E;
  --accent-rgb: 200,164,106;
  color: var(--text);
}
body.theme-gold { background: var(--bg); }
.theme-gold .plate { box-shadow: 0 10px 40px rgba(var(--accent-rgb), .25); }

/* ---------- позначки NEW ---------- */
.tag-new {
  display: inline-block; font: 700 11px/1 var(--body); letter-spacing: .08em;
  padding: 5px 8px; border-radius: 99px; background: var(--lime); color: var(--lime-ink); vertical-align: middle;
}
.eyebrow .tag-new { margin-right: 4px; }
.nav__badge--new { letter-spacing: .06em; }
.nav__link--new { color: var(--text); }

/* ---------- меню: 8 пунктів — повне меню лише на широких екранах ---------- */
@media (min-width: 1000px) {
  .nav { gap: 4px; }
  .nav__link { font-size: 15px; padding: 9px 14px; }
  .nav__cta { margin-left: 8px; }
}
@media (max-width: 1279px) { .page-zhk .nav { background: #11100E; } }
.page-zhk .header:not(.is-scrolled):not(.is-open) { background: linear-gradient(180deg, rgba(17,16,14,.75), rgba(17,16,14,0)); }

/* ---------- анонс ЖК на головній ---------- */
.zhk-promo { background: radial-gradient(80% 60% at 80% 40%, rgba(var(--accent-rgb), .10), transparent 70%), var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.zhk-promo__inner { display: grid; gap: 40px; align-items: center; }
.zhk-promo__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.zhk-promo__list li { position: relative; padding-left: 26px; color: #DDD5C6; }
.zhk-promo__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.zhk-promo__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .zhk-promo__inner { grid-template-columns: 1.25fr .75fr; gap: 56px; } }

/* ---------- мокап телефону ---------- */
.phone {
  position: relative; width: min(300px, 76vw); margin: 0 auto; padding: 10px;
  border-radius: 44px; background: #0A0A09;
  box-shadow: 0 0 0 1.5px rgba(239,232,218,.16), 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(var(--accent-rgb), .12);
}
.phone::before { /* «чубчик» камери */
  content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%);
  border-radius: 99px; background: #0A0A09; z-index: 2;
}
.phone__screen { position: relative; aspect-ratio: 9/16; border-radius: 34px; overflow: hidden; background: #000; }
.phone__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- вкладки цін ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin: -10px 0 32px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 99px; transition: background-color .3s, color .3s; }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--lime); color: var(--lime-ink); }
.tab.is-active .tag-new { background: var(--lime-ink); color: var(--lime); }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: cardIn .6s var(--ease) both; }
#prices-zhk { padding: 28px 18px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); }
@media (min-width: 640px) { #prices-zhk { padding: 36px; } }
.zhk-more { margin: 22px 0 0; text-align: center; }
.zhk-more a { color: var(--lime); font-weight: 600; text-decoration: none; }
.zhk-more a:hover { text-decoration: underline; }

/* ---------- 4 тарифи ---------- */
.prices--4 { margin-bottom: 20px; }
@media (min-width: 640px) { .prices--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prices--4 { grid-template-columns: repeat(4, 1fr); } .prices--4 .price { padding: 26px 22px; } .prices--4 .price__value { font-size: 34px; } }
.addons { margin: 10px auto 0; max-width: 900px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.7; }
.addons--terms { font-size: 13px; }

/* ---------- портфоліо: широке 16:9 відео ---------- */
.work.work--wide { flex-basis: 100%; max-width: 900px; aspect-ratio: 16/9; }
.work--wide .work__title { font-size: 16px; }
@media (min-width: 1000px) { .work.work--wide { flex-basis: 100%; } }

/* ---------- плеєр: горизонтальні ролики ---------- */
.player.is-wide .player__frame { aspect-ratio: 16/9; width: min(100%, calc((100vh - 190px) * 16 / 9), 1100px); width: min(100%, calc((100svh - 190px) * 16 / 9), 1100px); }
.player.is-wide .player__top, .player.is-wide .player__info { max-width: 1100px; }

/* ---------- сторінка ЖК: перший екран ---------- */
.zhk-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #11100E; }
.zhk-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
.zhk-hero .hero__shade { background: linear-gradient(180deg, rgba(17,16,14,.55) 0%, rgba(17,16,14,.15) 30%, rgba(17,16,14,.7) 62%, #11100E 100%); }
.zhk-hero__title { font: 800 clamp(34px, 8.6vw, 76px)/1.08 var(--head); letter-spacing: -.03em; margin: 0; max-width: 980px; }
.zhk-hero__title .plate { display: inline; transform: none; padding: 0 .18em; border-radius: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.32; }
.zhk-hero .hero__sub { color: #E4DCCB; max-width: 640px; }
@media (min-width: 1000px) {
  .zhk-hero .hero__shade { background: linear-gradient(90deg, rgba(17,16,14,.92) 0%, rgba(17,16,14,.6) 48%, rgba(17,16,14,.1) 80%), linear-gradient(180deg, transparent 70%, #11100E); }
}

/* ---------- сторінка ЖК: відео-кейс ---------- */
.zhk-case { display: grid; gap: 28px; align-items: center; }
.zhk-case figure { margin: 0; }
.zhk-case__wide video { width: 100%; aspect-ratio: 16/9; border-radius: 20px; background: #000; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid var(--line); }
.zhk-case figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 1000px) { .zhk-case { grid-template-columns: 2.3fr 1fr; gap: 40px; } .zhk-case .phone { width: 100%; max-width: 300px; } }

/* ---------- сторінка ЖК: картки, заклик ---------- */
.features--4 { display: grid; gap: 12px; }
@media (min-width: 640px) { .features--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features--4 { grid-template-columns: repeat(4, 1fr); } }
.zhk-cta { text-align: center; background: radial-gradient(60% 70% at 50% 50%, rgba(var(--accent-rgb), .12), transparent 70%); }
.zhk-cta__inner { display: grid; gap: 28px; justify-items: center; max-width: 820px; }
.zhk-cta .btn--big { white-space: normal; }

/* плеєр: панель керування не перекриває велику кнопку ▶ (важливо для невисоких 16:9 на телефоні) */
.player__ui { z-index: 2; pointer-events: none; }
.player__ui > * { pointer-events: auto; }
.player__bigplay { z-index: 3; }
.player.is-wide .player__bigplay { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.player.is-wide .player__bigplay svg { width: 22px; height: 22px; }
.player.is-wide .player__ui { padding-top: 24px; }


/* =========================================================
   v6: три напрями — Бізнес / Забудовникам / Сайти
   ========================================================= */
.theme-blue {
  --lime: #8FB0FF;
  --lime-ink: #0B1020;
  --accent-rgb: 143,176,255;
  --blue: #8FB0FF;
}
body { transition: background-color .5s var(--ease); }
.btn, .nav__badge, .tag-new, .plate, .eyebrow { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), transform .25s var(--ease); }

/* ---------- перший екран: вибір напряму ---------- */
.hero__choose { margin: 26px 0 12px; font-weight: 600; color: #C9CBCF; font-size: 15px; }
.dir-cards { display: grid; gap: 10px; max-width: 980px; }
.dir-card {
  --c: #D4FF3A; --c-rgb: 212,255,58;
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 18px; text-decoration: none; color: var(--text);
  background: rgba(23,25,29,.72); border: 1.5px solid rgba(242,242,240,.10);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.dir-card--zhk { --c: #C8A46A; --c-rgb: 200,164,106; }
.dir-card--sites { --c: #8FB0FF; --c-rgb: 143,176,255; }
.dir-card:hover { transform: translateY(-3px); border-color: rgba(var(--c-rgb), .6); }
.dir-card.is-active { border-color: var(--c); background: rgba(var(--c-rgb), .10); box-shadow: 0 10px 40px rgba(var(--c-rgb), .15); }
.dir-card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--c-rgb), .14); color: var(--c); }
.dir-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dir-card__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.dir-card__text b { font: 800 18px/1.2 var(--head); display: flex; align-items: center; gap: 8px; }
.dir-card__text small { color: var(--muted); font-size: 14px; }
.dir-card__arrow { flex: none; font-size: 20px; color: var(--c); transition: transform .3s var(--ease); }
.dir-card:hover .dir-card__arrow, .dir-card.is-active .dir-card__arrow { transform: translateX(4px); }
.dir-card .tag-new { background: var(--c); color: #11100E; }
@media (min-width: 760px) {
  .dir-cards { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .dir-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .dir-card__arrow { position: absolute; top: 20px; right: 20px; }
}
/* перший екран компактніший, щоб картки було видно одразу */
.hero { padding-bottom: 56px; }
.hero .hero__title { font-size: clamp(36px, 10vw, 96px); }
.hero__punch { margin-top: 12px; }
@media (max-width: 759px) { .hero .face { width: min(62vw, 300px); transform: translateY(-30%); } }

/* ---------- напрями: панелі ---------- */
.dir-panel[hidden] { display: none; }
.dir-panel.is-entering { animation: panelIn .5s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- меню: активний напрям ---------- */
.nav__link--dir.is-active { color: var(--lime); }
@media (min-width: 1000px) {
  .nav__link--dir.is-active { background: rgba(var(--accent-rgb), .10); }
}

/* ---------- закріплений перемикач напрямів (телефон / планшет) ---------- */
.dirbar {
  position: fixed; z-index: 45; left: 0; right: 0; top: var(--header-h);
  display: flex; gap: 6px; padding: 8px 12px; justify-content: center;
  background: rgba(15,16,18,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
body.theme-gold .dirbar { background: rgba(17,16,14,.94); }
.past-hero .dirbar { transform: none; opacity: 1; pointer-events: auto; }
.header.is-open ~ .dirbar { opacity: 0; pointer-events: none; }
.dirbar a {
  flex: 1; max-width: 200px; text-align: center; text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 6px; border-radius: 99px; color: var(--muted); border: 1px solid var(--line);
  transition: background-color .3s, color .3s, border-color .3s;
}
.dirbar a.is-active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
@media (min-width: 1000px) { .dirbar { display: none; } }
@media (max-width: 999px) { html { scroll-padding-top: calc(var(--header-h) + 60px); } }

/* ---------- Забудовникам: вступ-банер ---------- */
.zhk-intro { position: relative; overflow: hidden; min-height: 78vh; display: flex; align-items: flex-end; }
.zhk-intro__bg { position: absolute; inset: 0; }
.zhk-intro__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.zhk-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,14,.75) 0%, rgba(17,16,14,.25) 30%, rgba(17,16,14,.75) 65%, #11100E 100%); }
.zhk-intro__content { position: relative; z-index: 1; }
@media (min-width: 1000px) {
  .zhk-intro { align-items: center; }
  .zhk-intro::after { background: linear-gradient(90deg, rgba(17,16,14,.92) 0%, rgba(17,16,14,.6) 48%, rgba(17,16,14,.1) 80%), linear-gradient(180deg, transparent 70%, #11100E); }
}

/* ---------- аватар у «Для бізнесу» ---------- */
.avatar__info { display: grid; gap: 16px; align-content: start; justify-items: start; }
.avatar__info .price__list { margin: 0; }
