/* =========================================================
   BUZURNYI — стилі
   Кольори міняються тут, у :root
   ========================================================= */
:root {
  --bg: #02040a;
  --bg-2: #060b18;
  --text: #f2f6ff;
  --muted: #8c99b8;
  --dim: #56617c;
  --blue: #3d7bff;
  --blue-2: #6fb2ff;
  --ice: #cfe3ff;
  --line: rgba(130, 170, 255, .14);
  --line-2: rgba(130, 170, 255, .28);
  --glass: rgba(8, 14, 30, .38);
  --glass-strong: rgba(6, 11, 24, .72);
  --ok: #57e3a5;
  --err: #ff6b7d;
  --radius: 18px;
  --f-head: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
::selection { background: var(--blue); color: #fff; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- фонові шари ---------- */
.bg-light {
  position: fixed; inset: 0; z-index: -5; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(120, 175, 255, .55), rgba(40, 90, 255, .18) 45%, transparent 75%),
    radial-gradient(40% 30% at 50% 0%, rgba(235, 245, 255, .35), transparent 70%),
    linear-gradient(180deg, #050a18 0%, var(--bg) 60%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M80 72v16M72 80h16' stroke='%2393b4ff' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.globe-halo {
  position: fixed; left: 50%; top: 50%; z-index: -3; pointer-events: none;
  width: min(88vh, 96vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 100, 255, .22) 0%, rgba(40, 100, 255, .08) 45%, transparent 68%);
  filter: blur(10px);
}
#globe {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2;
  opacity: 0; transition: opacity 1.6s ease;
}
.globe-ready #globe { opacity: 1; }
.bg-vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(2, 4, 10, .7) 100%);
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .2s, background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-solid {
  background: linear-gradient(135deg, var(--blue), #2457e6);
  color: #fff; box-shadow: 0 0 0 1px rgba(150, 190, 255, .35) inset, 0 10px 30px -10px rgba(61, 123, 255, .8);
}
.btn-solid:hover { box-shadow: 0 0 0 1px rgba(200, 225, 255, .6) inset, 0 14px 40px -8px rgba(61, 123, 255, 1); }
.btn-white { background: #fff; color: #050a18; min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(10, 18, 36, .35); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue-2); background: rgba(61, 123, 255, .12); }
.btn-bracket {
  position: relative; border-radius: 2px; background: rgba(20, 30, 55, .65); color: var(--text);
  padding: 0 32px; min-height: 56px;
}
.btn-bracket::before, .btn-bracket::after {
  content: ''; position: absolute; inset: -4px; pointer-events: none;
  border: 2px solid var(--ice);
  -webkit-mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat;
  transition: inset .25s;
}
.btn-bracket::after { display: none; }
.btn-bracket:hover { background: rgba(61, 123, 255, .3); }
.btn-bracket:hover::before { inset: -7px; }
.btn.wide { width: 100%; }
.btn.big { min-height: 58px; font-size: 16px; }

/* ---------- скло ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.glass-strong {
  background: var(--glass-strong);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 4px);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}

/* ---------- навігація ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(2, 4, 10, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px dashed var(--blue-2);
  box-shadow: 0 0 18px rgba(77, 141, 255, .6), inset 0 0 8px rgba(77, 141, 255, .5);
  position: relative; animation: spin 14s linear infinite;
}
.logo-mark::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-text { font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: .14em; }
.logo-text sup { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; color: var(--blue-2); margin-left: 3px; vertical-align: super; }
.nav-links {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(6, 11, 24, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(61, 123, 255, .18); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: 100px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(2, 4, 10, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu a { font-family: var(--f-head); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.mobile-menu a i { font-style: normal; color: var(--blue-2); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 110px var(--gutter) 40px;
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px;
  position: relative;
}
.tag { color: var(--ice); opacity: .85; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-side { list-style: none; text-align: right; display: flex; flex-direction: column; gap: 12px; }
.hero-side a { color: var(--ice); opacity: .8; font-size: 13px; transition: opacity .2s, color .2s; }
.hero-side a:hover { opacity: 1; color: #fff; }
.hero-bottom { align-self: end; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.hero-left .tag { display: block; margin-bottom: 18px; }
.hero-title {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px, 4.7vw, 78px); line-height: 1.06; letter-spacing: .005em;
  text-shadow: 0 2px 40px rgba(2, 4, 10, .6);
}
.hero-title .line { display: block; opacity: 0; transform: translateY(30px); animation: up 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-title .line:nth-child(2) { animation-delay: .12s; }
.hero-title .line:nth-child(3) { animation-delay: .24s; }
.hero-title .fade { background: linear-gradient(90deg, #fff 0%, #cfe3ff 45%, rgba(111, 178, 255, .35) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spark { display: inline-block; color: #fff; font-size: .7em; margin-right: .3em; vertical-align: .08em; text-shadow: 0 0 24px #9fc6ff, 0 0 60px #4d8dff; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.75) rotate(45deg); opacity: .7; } }
@keyframes up { to { opacity: 1; transform: none; } }
.hero-right { padding-bottom: 8px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; color: var(--ice); }
.big-a { font-family: var(--f-head); font-size: 34px; letter-spacing: .05em; text-transform: none; }
.hero-right p { color: #c9d4ec; font-size: 17px; margin-bottom: 30px; max-width: 460px; }
.hero-right p b { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.stat .mono { color: var(--blue-2); font-size: 11px; }
.stat b { font-family: var(--f-head); font-weight: 500; font-size: 22px; }
.stat small { color: var(--muted); font-size: 13px; }
.scroll-hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); color: var(--dim); display: flex; align-items: center; gap: 10px; font-size: 10px; }
.scroll-hint span { width: 1px; height: 26px; background: linear-gradient(var(--blue-2), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(6, 11, 24, .5); padding: 16px 0; color: var(--ice); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marq 40s linear infinite; }
.marquee i { font-style: normal; color: var(--blue-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- секції ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head .tag { display: inline-block; margin-bottom: 18px; }
.sec-head h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(26px, 4vw, 52px); line-height: 1.12; text-wrap: balance; text-shadow: 0 2px 30px rgba(2, 4, 10, .8); }
.sec-head h2 em { font-style: normal; color: var(--blue-2); text-shadow: 0 0 30px rgba(77, 141, 255, .55); }
.sec-sub { color: #b5c1dc; max-width: 560px; margin: 18px auto 0; font-size: 16px; text-shadow: 0 1px 12px rgba(2, 4, 10, .9); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- що я даю ---------- */
.offer-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-areas:
    "t1 key t4"
    "t2 key t5"
    "t3 key t6"
    "c1 c1 c2";
}
.offer-grid > :nth-child(1) { grid-area: t1; }
.offer-grid > :nth-child(2) { grid-area: t2; }
.offer-grid > :nth-child(3) { grid-area: t3; }
.offer-grid > :nth-child(4) { grid-area: key; }
.offer-grid > :nth-child(5) { grid-area: t4; }
.offer-grid > :nth-child(6) { grid-area: t5; }
.offer-grid > :nth-child(7) { grid-area: t6; }
.offer-grid > :nth-child(8) { grid-area: c1; }
.offer-grid > :nth-child(9) { grid-area: c2; }
.tile { padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile h3 { font-size: 16px; font-weight: 700; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; background: rgba(61, 123, 255, .12); border: 1px solid rgba(111, 178, 255, .25); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico svg .f { fill: var(--blue-2); }
.key-card { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; justify-content: center; position: relative; overflow: hidden; }
.key-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(61, 123, 255, .25), transparent 70%); pointer-events: none; }
.key-card > * { position: relative; }
.key-card h3 { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: #d6e0f5; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 123, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23cfe3ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(111, 178, 255, .4); }
.key-price { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.key-price div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(2, 4, 10, .4); }
.key-price small { color: var(--blue-2); display: block; }
.key-price b { font-family: var(--f-head); font-weight: 500; font-size: 22px; }
.chart-card { padding: 20px; }
.chart-head { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--ice); }
.chart-head .up { color: var(--ok); }
.spark-chart { width: 100%; height: 110px; overflow: visible; }
.spark-chart .line { fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s ease; }
.spark-chart .dot { fill: #fff; filter: drop-shadow(0 0 6px #6fb2ff); }
.in .spark-chart .line { stroke-dashoffset: 0; }
.chart-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.bars { display: flex; flex-direction: column; gap: 14px; }
.bar { display: grid; grid-template-columns: 1fr; gap: 6px; }
.bar label { font-size: 13px; color: #c9d4ec; order: -1; display: flex; justify-content: space-between; }
.bar span { display: block; height: 8px; border-radius: 8px; background: rgba(130, 170, 255, .1); position: relative; overflow: hidden; }
.bar span::after { content: ''; position: absolute; inset: 0; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); box-shadow: 0 0 12px rgba(111, 178, 255, .6); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.in .bar span::after { width: var(--v); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; counter-reset: s; }
.step { padding: 22px 4px 0; border-top: 1px solid var(--line-2); position: relative; }
.step::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); }
.step .num { font-family: var(--f-mono); color: var(--blue-2); font-size: 12px; }
.step h4 { font-family: var(--f-head); font-weight: 500; font-size: 20px; margin: 6px 0; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- відгуки ---------- */
.rating { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 980px; margin: 0 auto 50px; }
.ring { width: 230px; aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 14px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .track { stroke: rgba(130, 170, 255, .12); }
.ring .prog { stroke: var(--blue-2); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; filter: drop-shadow(0 0 6px rgba(111, 178, 255, .8)); transition: stroke-dashoffset 2s cubic-bezier(.2, .8, .2, 1); }
.in .ring .prog { stroke-dashoffset: calc(326.7 * (1 - var(--p) / 100)); }
.ring-num { font-family: var(--f-head); display: flex; align-items: baseline; }
.ring-num b { font-size: 64px; font-weight: 600; }
.ring-num span { font-size: 26px; color: var(--blue-2); }
.ring small { position: absolute; bottom: 58px; color: var(--muted); font-size: 10px; }
.rating-text p { font-size: 18px; color: #d6e0f5; margin-bottom: 24px; text-shadow: 0 1px 12px rgba(2, 4, 10, .9); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats div { padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(6, 11, 24, .45); }
.mini-stats b { font-family: var(--f-head); font-weight: 500; font-size: 20px; display: block; }
.mini-stats span { color: var(--muted); font-size: 13px; }
.reviews-rows { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-inline: calc(var(--gutter) * -1); }
.reviews-track { display: flex; gap: 14px; width: max-content; animation: marq 55s linear infinite; padding: 6px 0; }
.reviews-rows:hover .reviews-track { animation-play-state: paused; }
.review { width: 300px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review blockquote { font-size: 15px; color: #e3ebfb; }
.review figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--blue), #1b3a8a); border: 1px solid rgba(255, 255, 255, .2); }

/* ---------- послуги (5 колонок) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.svc {
  display: flex; flex-direction: column; padding: 20px 16px 16px;
  background: rgba(6, 11, 24, .28); border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: border-color .3s, background .3s;
}
.svc:hover { border-color: var(--line-2); background: rgba(6, 11, 24, .45); }
.svc.featured { border-color: rgba(111, 178, 255, .45); box-shadow: 0 0 40px -10px rgba(61, 123, 255, .5) inset; }
.svc-top { margin-bottom: 14px; }
.svc-top .mono { color: var(--blue-2); font-size: 11px; display: flex; justify-content: space-between; }
.svc-top h3 { font-family: var(--f-head); font-weight: 500; font-size: 20px; margin: 8px 0 4px; }
.svc-top p { color: var(--muted); font-size: 13px; line-height: 1.4; min-height: 3.6em; }
.svc-from { font-family: var(--f-mono); font-size: 11px; color: var(--ice); margin-top: 6px; letter-spacing: .06em; }
.svc-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-row {
  text-align: left; width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(2, 4, 10, .35);
  display: flex; flex-direction: column; gap: 4px; position: relative;
  transition: border-color .2s, background .2s, transform .2s;
}
.svc-row:hover { border-color: var(--blue-2); background: rgba(61, 123, 255, .14); transform: translateX(2px); }
.svc-row.selected { border-color: var(--blue-2); background: rgba(61, 123, 255, .22); box-shadow: 0 0 0 1px var(--blue-2) inset; }
.svc-row .r-name { font-weight: 600; font-size: 14px; line-height: 1.3; padding-right: 18px; }
.svc-row .r-price { font-family: var(--f-head); font-weight: 500; font-size: 17px; color: #fff; }
.svc-row .r-go { position: absolute; right: 10px; top: 11px; color: var(--blue-2); font-size: 14px; transition: transform .2s; }
.svc-row:hover .r-go { transform: translateX(3px); }
.svc-row .r-inc { color: var(--muted); font-size: 12px; line-height: 1.35; }
.svc-tip { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.svc-tip b { color: var(--ice); font-weight: 600; }

/* ---------- чому AI ---------- */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.story-item { padding: 26px; }
.story-item .num { color: var(--blue-2); }
.story-item h3 { font-family: var(--f-head); font-weight: 500; font-size: 20px; line-height: 1.25; margin: 14px 0 10px; }
.story-item p { color: #b5c1dc; font-size: 15px; }
.compare { margin-top: 14px; padding: 8px 22px; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px 0; align-items: center; }
.cmp-head { color: var(--muted); border-bottom: 1px solid var(--line); }
.cmp-head span:last-child { color: var(--blue-2); }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row .old { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255, 107, 125, .5); }
.cmp-row .new { color: #fff; font-weight: 600; }
.cmp-row .new::before { content: '✦ '; color: var(--blue-2); }

/* ---------- форма ---------- */
.req-form { max-width: 820px; margin: 0 auto; padding: clamp(22px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .picked.full { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 600; color: #dbe4f7; }
.field label i { color: var(--blue-2); font-style: normal; }
.opt { color: var(--dim); font-weight: 400; }
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 14px 16px; border-radius: 12px;
  background: rgba(2, 4, 10, .55); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
textarea { resize: vertical; min-height: 90px; }
select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236fb2ff' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
select option, select optgroup { background: #0a1224; color: #fff; }
input::placeholder, textarea::placeholder { color: var(--dim); }
input:focus, select:focus, textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(61, 123, 255, .18); }
.field.invalid input, .field.invalid select { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 107, 125, .12); }
.err { color: var(--err); font-size: 13px; min-height: 0; }
.err:empty { display: none; }
.picked { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(111, 178, 255, .4); background: rgba(61, 123, 255, .1); }
.picked .p-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.picked .p-tier { color: var(--blue-2); }
.picked .p-name { font-weight: 700; font-size: 16px; }
.picked .p-price { font-family: var(--f-head); font-size: 20px; white-space: nowrap; }
.picked ul { list-style: none; color: #c9d4ec; font-size: 14px; display: flex; flex-direction: column; gap: 3px; }
.picked li::before { content: '— '; color: var(--blue-2); }
.tip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #c9d4ec; transition: all .2s; }
.chip:hover { border-color: var(--blue-2); color: #fff; }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tip-range { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.tip-range output { min-width: 44px; text-align: right; color: var(--ice); }
input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-2) var(--fill, 0%), rgba(130, 170, 255, .18) var(--fill, 0%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(61, 123, 255, .35), 0 0 14px rgba(111, 178, 255, .9); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(61, 123, 255, .35); cursor: pointer; }
.tip-custom { display: flex; align-items: center; gap: 12px; }
.tip-custom label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tip-custom input { max-width: 160px; padding: 10px 14px; }
.total-bar { margin: 26px 0 18px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(2, 4, 10, .5); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.total-lines { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 11px; }
.total-lines b { color: var(--ice); font-weight: 500; }
.total-sum { text-align: right; }
.total-sum small { color: var(--blue-2); display: block; }
.total-sum b { font-family: var(--f-head); font-size: 30px; font-weight: 500; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #c9d4ec; cursor: pointer; margin-bottom: 6px; }
.agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.agree a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.req-form > .err { display: block; margin-bottom: 10px; }
.req-form > .btn { margin-top: 14px; }
.form-note { text-align: center; color: var(--dim); font-size: 10px; margin-top: 14px; }

.oferta-box { max-width: 820px; margin: 18px auto 0; padding: 20px 22px; display: flex; align-items: center; gap: 18px; }
.oferta-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(61, 123, 255, .12); border: 1px solid rgba(111, 178, 255, .25); }
.oferta-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-2); stroke-width: 1.5; stroke-linejoin: round; }
.oferta-text { flex: 1; }
.oferta-text h3 { font-size: 16px; font-weight: 700; }
.oferta-text p { color: var(--muted); font-size: 14px; }
.oferta-btns { display: flex; gap: 14px; align-items: center; }
.oferta-btns .btn-bracket { min-height: 46px; padding: 0 20px; font-size: 14px; }
.oferta-btns .btn-ghost { min-height: 46px; }

/* ---------- футер ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(2, 4, 10, .75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 50px var(--gutter) 30px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; max-width: 1320px; margin: 0 auto 40px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 300px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col .mono { color: var(--blue-2); font-size: 11px; margin-bottom: 4px; }
.foot-col a { color: #c9d4ec; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto; color: var(--dim); font-size: 11px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- плашка онлайн ---------- */
.online-toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 30;
  transform: translate(-50%, 140%); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px;
  max-width: calc(100vw - 32px); border-radius: 18px;
}
.online-toast.show { transform: translate(-50%, 0); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(87, 227, 165, .6); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(87, 227, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(87, 227, 165, 0); } }
.ot-text { display: flex; flex-direction: column; line-height: 1.25; }
.ot-text b { font-size: 15px; }
.ot-text small { color: var(--muted); font-size: 12px; }
.ot-close { width: 32px; height: 32px; font-size: 22px; color: var(--muted); border-radius: 50%; }
.ot-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s; }
.modal-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; padding: clamp(22px, 4vw, 34px); animation: pop .4s cubic-bezier(.2, .8, .2, 1); }
.modal-card.center { text-align: center; }
.modal-card h3 { font-family: var(--f-head); font-weight: 500; font-size: 24px; margin: 10px 0 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.cm-service { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(111, 178, 255, .45); background: rgba(61, 123, 255, .14); margin-bottom: 16px; }
.cm-service .mono { color: var(--blue-2); font-size: 11px; }
.cm-service b { display: block; font-size: 18px; margin-top: 2px; }
.modal-card .checks { margin-bottom: 18px; font-size: 14px; }
.cm-sum { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cm-sum div { display: flex; justify-content: space-between; color: #c9d4ec; }
.cm-sum .total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); color: #fff; }
.cm-sum .total b { font-family: var(--f-head); font-size: 26px; font-weight: 500; }
.cm-contacts { margin-top: 16px; color: var(--muted); font-size: 11px; display: flex; flex-direction: column; gap: 4px; text-transform: none; letter-spacing: .02em; }
.cm-warn { margin-top: 14px; font-size: 13px; color: var(--muted); }
.modal-btns { display: flex; gap: 12px; margin-top: 22px; }
.modal-btns .btn { flex: 1; }
.ok-mark { width: 84px; height: 84px; margin: 6px auto 4px; }
.ok-mark svg { width: 100%; height: 100%; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ok-mark circle { stroke: var(--blue-2); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s .1s forwards; filter: drop-shadow(0 0 8px rgba(111, 178, 255, .8)); }
.ok-mark path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
#successModal p { color: #c9d4ec; margin-bottom: 10px; }
#successModal .mono { color: var(--blue-2); }
#successModal .btn { margin-top: 14px; }
body.locked { overflow: hidden; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "key key" "t1 t4" "t2 t5" "t3 t6" "c1 c2"; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .story { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .hero { padding-top: 96px; gap: 16px; }
  .hero-side { display: none; }
  .hero-meta { margin-bottom: 14px; }
  .big-a { font-size: 24px; }
  .hero-right p { font-size: 15px; margin-bottom: 22px; }
  .stat { padding: 12px 14px; }
  .stat b { font-size: 18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-top p { min-height: 0; }
  .rating { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ring { width: 190px; }
  .ring small { bottom: 44px; }
  .ring-num b { font-size: 52px; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; text-align: left; }
  .mini-stats div { padding: 10px; }
  .mini-stats b { font-size: 16px; }
  .mini-stats span { font-size: 11px; }
  .review { width: 250px; }
  .form-grid { grid-template-columns: 1fr; }
  .oferta-box { flex-direction: column; align-items: stretch; text-align: left; }
  .oferta-btns { flex-direction: column; align-items: stretch; }
  .oferta-btns .btn { width: 100%; }
  .cmp-head, .cmp-row { grid-template-columns: 1.2fr 1fr 1fr; font-size: 14px; }
  .compare { padding: 4px 14px; }
  .online-toast { gap: 10px; padding: 10px 10px 10px 14px; bottom: 12px; }
  .ot-text b { font-size: 13px; }
  .online-toast .btn-white { padding: 0 14px; min-height: 36px; font-size: 13px; }
  .modal-btns { flex-direction: column-reverse; }
}
@media (max-width: 520px) {
  .offer-grid { grid-template-columns: 1fr; grid-template-areas: "key" "t1" "t2" "t3" "t4" "t5" "t6" "c1" "c2"; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1; }
  .total-sum b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* фокус з клавіатури */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.sec-head .tag { text-shadow: 0 1px 10px rgba(2, 4, 10, 1), 0 0 2px rgba(2, 4, 10, 1); }
@media (max-width: 760px) {
  .online-toast { left: 12px; right: 12px; max-width: none; transform: translateY(150%); }
  .online-toast.show { transform: translateY(0); }
  .ot-text { flex: 1; min-width: 0; }
}

/* ---------- пакети (4 картки) ---------- */
.svc-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 18, 38, .55), rgba(4, 8, 18, .4));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pkg:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pkg.featured { border-color: rgba(111, 178, 255, .5); box-shadow: 0 0 60px -20px rgba(61, 123, 255, .7), inset 0 0 50px -25px rgba(61, 123, 255, .6); transform: translateY(-6px); }
.pkg.featured:hover { transform: translateY(-9px); }
.pkg.selected { border-color: var(--blue-2); box-shadow: 0 0 0 1px var(--blue-2), 0 0 60px -20px rgba(61, 123, 255, .9); }
.pkg-tier { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(111, 178, 255, .4); background: rgba(61, 123, 255, .1); color: var(--blue-2); font-size: 13px; letter-spacing: .18em; margin-bottom: 22px; }
.pkg-label { color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.pkg-range { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; margin: 4px 0 18px; white-space: nowrap; }
.pkg h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; margin-bottom: 8px; }
.pkg-lead { color: var(--muted); font-size: 15px; line-height: 1.5; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); width: 100%; min-height: 6.3em; }
.pkg-list { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 20px; }
.pkg-list li { position: relative; padding-left: 20px; font-size: 15px; color: #dbe4f7; line-height: 1.4; }
.pkg-list li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 8px var(--blue-2); }
.pkg-vars { color: var(--dim); font-size: 10px; margin-bottom: 14px; letter-spacing: .06em; }
.pkg-btn { width: 100%; min-height: 54px; border: 1px solid rgba(111, 178, 255, .35); background: rgba(61, 123, 255, .1); color: var(--blue-2); font-size: 16px; }
.pkg-btn:hover { background: rgba(61, 123, 255, .22); color: #fff; border-color: var(--blue-2); }
.pkg-btn.btn-solid { color: #fff; border-color: transparent; }

/* варіанти пакета у формі */
.p-vars { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 12px; }
.p-var { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(2, 4, 10, .45); font-size: 14px; color: #c9d4ec; transition: border-color .2s, background .2s; }
.p-var b { font-family: var(--f-head); font-weight: 500; white-space: nowrap; color: #fff; }
.p-var:hover { border-color: var(--line-2); }
.p-var.on { border-color: var(--blue-2); background: rgba(61, 123, 255, .2); color: #fff; }
.p-var.on span::before { content: '● '; color: var(--blue-2); }

@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .pkg-lead { min-height: 0; } }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .pkg.featured { transform: none; } }
.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pkg-range { font-size: clamp(18px, 1.65vw, 26px); }
.pkg-btn.btn-solid { background: linear-gradient(135deg, var(--blue), #2457e6); box-shadow: 0 10px 30px -10px rgba(61, 123, 255, .9); }
.pkg-btn.btn-solid:hover { background: linear-gradient(135deg, #5b90ff, var(--blue)); }
@media (max-width: 1180px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* чайові — тільки своя сума */
.tip-sum { position: relative; max-width: 240px; }
.tip-sum input { padding-right: 42px; font-family: var(--f-head); font-size: 18px; }
.tip-cur { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--blue-2); font-family: var(--f-head); pointer-events: none; }
.tip-hint { color: var(--dim); font-size: 13px; }


/* ---------- виправлення верстки (2026-11-05) ---------- */
[hidden] { display: none !important; }
.nobr { white-space: nowrap; }
.hero-bottom { grid-template-columns: 1.7fr 1fr; }
.hero-title { font-size: clamp(28px, 3.7vw, 72px); }
.hero-title .line { white-space: nowrap; }
.key-price b { white-space: nowrap; }
/* темна підкладка під заголовками секцій, щоб куля не заважала читати */
.sec-head { position: relative; isolation: isolate; }
.sec-head::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(900px, 110%); height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(2, 4, 10, .78), rgba(2, 4, 10, .45) 60%, transparent);
  pointer-events: none;
}
.p-head .p-tier { display: block; line-height: 1.4; }
@media (max-width: 1000px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(28px, 6.4vw, 56px); }
}
@media (max-width: 760px) {
  .hero-top { min-height: 34vh; min-height: 34svh; }
  .hero-top .tag { display: none; }
  .hero-title { font-size: 30px; }
  .hero-title .line { white-space: normal; }
  .key-price b { font-size: 18px; }
  select { font-size: 15px; text-overflow: ellipsis; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 26px; }
}

/* поле-пастка для ботів */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* спрощена форма: тільки пакет */
.total-sum .price-later { font-size: 20px; color: var(--blue-2); }
.cm-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(2, 4, 10, .45); }
.cm-note .mono { color: var(--blue-2); font-size: 10px; }
.cm-note p { margin-top: 6px; color: #dbe4f7; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow: auto; }
