/* ============================================================
   VOLTFIX — dark + electric yellow scroll-cinematic site
   Inspired by thepatchsystem.com/ai · built on scroll-cinematic
   ============================================================ */
:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --panel: #141416;
  --line: rgba(255, 230, 0, 0.14);
  --grid: rgba(255, 255, 255, 0.055);
  --text: #f5f5f2;
  --muted: #9b9b93;
  --dim: #55554e;
  --yellow: #ffe600;
  --amber: #ffd700;
  --orange: #ff9500;
  --grad: linear-gradient(100deg, var(--yellow), var(--amber) 55%, var(--orange));
  --glow: 0 0 24px rgba(255, 230, 0, 0.35), 0 0 80px rgba(255, 200, 0, 0.12);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: #0a0a0b; }

/* dashed grid backdrop, Patch-style */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, transparent 0 124px, var(--grid) 124px 125px),
    repeating-linear-gradient(to bottom, transparent 0 124px, var(--grid) 124px 125px);
  mask-image: radial-gradient(ellipse 120% 90% at 50% 40%, #000 55%, transparent 100%);
}

h1, h2, h3, .display { font-family: var(--font-display); }

/* text utilities */
.hl-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-grad.glow { filter: drop-shadow(0 0 30px rgba(255, 220, 0, 0.4)); }
.sec-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.btn-big { font-size: 15px; padding: 16px 34px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border-radius: 16px;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid rgba(255, 230, 0, 0.16);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.nav-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.02em; color: var(--text); text-decoration: none;
}

/* ---------- brand mark: www.VOLTE.bg / MOBILE ----------
   Grid, not flex: MOBILE shares a column with VOLTE, so it centres on the
   word itself. The www. / .bg tails live in their own columns and never
   drag the centring sideways. */
.brand-mark {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  /* auto tracks would absorb free space and fling the tails to the edges
     if the mark is ever placed in a wider box — pin it to its content */
  justify-content: center; width: max-content;
  line-height: 1; text-decoration: none;
}
.bm-pre, .bm-suf {
  font-style: normal; font-family: var(--font-display); font-weight: 700;
  font-size: 9px; letter-spacing: 0.04em; color: rgba(245, 245, 242, 0.82);
  white-space: nowrap;
}
.bm-pre  { grid-area: 1 / 1; justify-self: end; }
.bm-suf  { grid-area: 1 / 3; justify-self: start; }
.bm-core {
  grid-area: 1 / 2; justify-self: center;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: 0.01em; color: #fff; white-space: nowrap;
}
/* the signature yellow dot */
.bm-dot { color: var(--yellow); filter: drop-shadow(0 0 7px rgba(255, 230, 0, 0.8)); }
.bm-sub {
  grid-area: 2 / 2; justify-self: center; margin-top: 3px;
  font-family: var(--font-display); font-weight: 800; font-size: 9px;
  letter-spacing: 0.34em;
  margin-right: -0.34em;   /* drop the trailing track so it centres on the glyphs, not the box */
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 230, 0, 0.45));
  white-space: nowrap;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.25s;
}
.nav-links a:hover { color: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; border: 1px solid rgba(255, 230, 0, 0.25); border-radius: 10px; overflow: hidden;
}
.lang-btn {
  padding: 8px 12px; background: transparent; border: none; cursor: pointer;
  color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; transition: background 0.25s, color 0.25s;
}
.lang-btn.active { background: var(--grad); color: #0c0c00; }
.lang-btn:not(.active):hover { color: var(--yellow); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 12px;
  background: var(--grad); color: #0c0c00; font-weight: 800; font-size: 13px;
  font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: var(--glow); transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(255, 230, 0, 0.55), 0 0 110px rgba(255, 200, 0, 0.18); }
.btn.ghost {
  background: transparent; color: var(--yellow);
  border: 1px solid rgba(255, 230, 0, 0.4); box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 230, 0, 0.08); box-shadow: 0 0 20px rgba(255,230,0,0.15); }

/* ---------- mobile: burger + one-tap shortcut menu ---------- */
.nav-burger {
  display: none; align-items: center; justify-content: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 230, 0, 0.22);
  color: var(--yellow); transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nb-bars { display: grid; gap: 4px; width: 18px; }
.nb-bars i {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}
.nb-bars i:nth-child(2) { width: 68%; margin-left: auto; }
.menu-open .nav-burger { background: var(--grad); border-color: transparent; color: #0c0c00; box-shadow: var(--glow); }
.menu-open .nb-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nb-bars i:nth-child(2) { opacity: 0; }
.menu-open .nb-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 100%; }

.nav-drop {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 99;
  display: none; flex-direction: column; gap: 6px;
  padding: 12px; border-radius: 20px;
  background: linear-gradient(170deg, rgba(20, 20, 24, 0.985), rgba(9, 9, 11, 0.985));
  border: 1px solid rgba(255, 230, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.34s;
}
.menu-open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nd-title {
  padding: 3px 8px 5px; font-family: var(--font-display); font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim);
}
.nd-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 14px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.nd-item:hover, .nd-item:focus-visible { background: rgba(255, 230, 0, 0.07); border-color: rgba(255, 230, 0, 0.3); outline: none; }
.nd-item:active { transform: scale(0.985); }
.nd-ico {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px;
  border-radius: 11px; color: var(--yellow);
  background: rgba(255, 230, 0, 0.08); border: 1px solid rgba(255, 230, 0, 0.2);
}
.nd-ico svg { width: 19px; height: 19px; }
.nd-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nd-txt b { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; }
.nd-txt small { font-size: 11px; line-height: 1.3; color: var(--muted); }
.nd-go { margin-left: auto; color: var(--dim); font-size: 15px; transition: transform 0.25s ease, color 0.25s ease; }
.nd-item:hover .nd-go { color: var(--yellow); transform: translateX(3px); }
.nd-cta {
  margin-top: 4px; padding: 15px 14px; border-radius: 14px; text-align: center; text-decoration: none;
  background: var(--grad); color: #0c0c00;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255, 214, 0, 0.2);
}
.nd-cta:active { transform: scale(0.99); }

/* ---------- cinematic scrub sections ---------- */
.cinematic { position: relative; height: 520vh; z-index: 1; }
.cinematic .sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cinematic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 45%, rgba(10, 10, 11, 0.72) 100%),
    linear-gradient(to bottom, rgba(10,10,11,0.55), transparent 22%, transparent 78%, rgba(10,10,11,0.85));
}
.overlay {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: grid; place-items: center; text-align: center; padding: 0 6vw;
}
.overlay .reveal-line {
  grid-area: 1 / 1; opacity: 0; will-change: opacity, transform;
}
.overlay h1 {
  font-size: clamp(2.6rem, 7.6vw, 6.8rem); font-weight: 800; line-height: 0.98;
  letter-spacing: -0.03em; text-transform: uppercase;
  text-shadow: 0 6px 60px rgba(0, 0, 0, 0.8);
}
/* "КУПИ / ПРОДАЙ / ПОПРАВИ" is longer than the original two-line hero copy the
   clamp was tuned for — scale it down and pin to one line so it never wraps. */
.overlay .ov-row1 {
  display: inline-block; white-space: nowrap;
  font-size: clamp(1.5rem, 6.2vw, 5.6rem);
}
.overlay .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; filter: drop-shadow(0 0 26px rgba(255, 216, 0, 0.55));
}
.overlay .sub {
  margin-top: 22px; color: var(--muted); font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-family: var(--font-body);
}
.kicker {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); border: 1px solid rgba(255, 230, 0, 0.35); border-radius: 100px;
  background: rgba(255, 230, 0, 0.06); box-shadow: inset 0 0 18px rgba(255, 230, 0, 0.05);
}
.progress {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: min(560px, 70vw); height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.1); overflow: hidden; z-index: 4;
}
.progress-fill { width: 0%; height: 100%; background: var(--grad); box-shadow: 0 0 14px rgba(255, 230, 0, 0.8); }
.scroll-hint {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  z-index: 4; transition: opacity 0.4s; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- generic sections ---------- */
section.block { position: relative; z-index: 1; padding: 140px 6vw; max-width: 1320px; margin: 0 auto; }
.statement { min-height: 90vh; display: grid; place-items: center; text-align: center; }
.statement h2 {
  font-size: clamp(3rem, 9vw, 8rem); font-weight: 800; letter-spacing: -0.035em;
  line-height: 0.95; text-transform: uppercase;
}
.statement h2 .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 220, 0, 0.45));
}
.statement p { margin-top: 26px; color: var(--muted); font-size: 1.1rem; }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(42px); filter: blur(10px); transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease; }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------- sticky stacking numbered cards ---------- */
.stack-wrap { position: relative; z-index: 1; padding: 0 6vw 40px; max-width: 1320px; margin: 0 auto; }
.stack-head { text-align: center; padding: 60px 0 80px; }
.stack-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.stack-card {
  position: sticky; top: 90px;
  min-height: 74vh; margin-bottom: 60px;
  border-radius: 26px; padding: clamp(28px, 5vw, 70px);
  background: linear-gradient(160deg, #131315, #0d0d0f 60%);
  border: 1px solid rgba(255, 230, 0, 0.13);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  overflow: hidden;
}
.stack-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px 300px at var(--mx, 80%) var(--my, 10%), rgba(255, 230, 0, 0.07), transparent 60%);
  transition: opacity 0.3s; opacity: 0;
}
.stack-card:hover::before { opacity: 1; }
.stack-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 9vw, 8.5rem); line-height: 1; color: var(--text);
  opacity: 0.95;
}
.stack-tag { color: var(--yellow); font-size: 12.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; margin: 18px 0 14px; }
.stack-card h3 { font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02; }
.stack-card p { color: var(--muted); margin-top: 18px; font-size: 1.02rem; line-height: 1.65; max-width: 46ch; }
.stack-points { margin-top: 26px; display: grid; gap: 12px; list-style: none; }
.stack-points li { display: flex; gap: 12px; align-items: baseline; color: #d8d8d2; font-size: 0.98rem; }
.stack-points li::before { content: "✦"; color: var(--yellow); filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.7)); }
.stack-visual {
  align-self: stretch; border-radius: 18px; min-height: 320px;
  background: #0a0a0b center/cover no-repeat;
  border: 1px solid rgba(255, 230, 0, 0.12);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 200, 0, 0.05);
  position: relative; overflow: hidden;
}
.stack-visual .pulse {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.stack-visual .pulse span {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.25), transparent 70%);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.35); opacity: 0.5; } }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 940px; margin-inline: auto;
}
/* single-tile variant — the phone media queries below force 2 columns, so the
   override has to win there too, hence the !important on the template */
.stats-one { grid-template-columns: minmax(0, 1fr) !important; max-width: 420px; }
.stat {
  padding: 38px 30px; border-radius: var(--radius); text-align: center;
  background: rgba(20, 20, 22, 0.7); border: 1px solid rgba(255, 230, 0, 0.12);
  backdrop-filter: blur(8px);
}
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(255, 220, 0, 0.35));
}
.stat-label { margin-top: 8px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; position: relative; z-index: 1; background: rgba(12,12,13,0.6); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.marquee-track span b { color: var(--yellow); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 70px; }
.price-card {
  position: relative; border-radius: 22px; padding: 40px 34px;
  background: linear-gradient(165deg, #131315, #0c0c0e);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 0%), rgba(255, 230, 0, 0.09), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.price-card:hover { transform: translateY(-8px); border-color: rgba(255, 230, 0, 0.35); box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 40px rgba(255, 220, 0, 0.08); }
.price-card:hover::before { opacity: 1; }
.price-card.featured { border-color: rgba(255, 230, 0, 0.5); box-shadow: 0 0 50px rgba(255, 220, 0, 0.12); }
.price-card.featured::after {
  content: attr(data-badge); position: absolute; top: 18px; right: 18px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em; padding: 6px 12px;
  border-radius: 100px; background: var(--grad); color: #0c0c00; font-family: var(--font-display);
}
.price-tier { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; color: var(--yellow); }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 3rem; margin: 18px 0 4px; }
.price-amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.price-feats { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.price-feats li { display: flex; gap: 10px; font-size: 0.94rem; color: #d8d8d2; align-items: baseline; }
.price-feats li::before { content: "✦"; color: var(--yellow); font-size: 0.8em; }
.price-feats li.off { color: var(--dim); } .price-feats li.off::before { content: "—"; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 70px auto 0; }
.faq-item { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; margin-bottom: 14px; background: rgba(18, 18, 20, 0.7); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(255, 230, 0, 0.4); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; color: var(--text); font-family: var(--font-display);
  font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq-q .chev { color: var(--yellow); transition: transform 0.35s ease; font-size: 1.2rem; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.3, 0, 0.2, 1); }
.faq-a p { padding: 0 26px 24px; color: var(--muted); line-height: 1.7; font-size: 0.96rem; }

/* ---------- CTA + footer ---------- */
.cta-final { text-align: center; padding: 110px 6vw 120px; position: relative; z-index: 1; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(255, 210, 0, 0.13), transparent 70%);
}
.cta-final h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.97; }
.cta-final p { color: var(--muted); margin: 22px 0 40px; font-size: 1.05rem; }
footer { border-top: 1px solid var(--line); padding: 44px 6vw; display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: 0.85rem; position: relative; z-index: 1; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 22px; }
footer a:hover { color: var(--yellow); }
/* "Добави обява" is a button (it opens a dialog) but has to read as a footer
   link — inherit the font instead of the UA's button styling */
footer .ft-link {
  margin-left: 22px; padding: 0; cursor: pointer;
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: inherit; line-height: inherit;
}
footer .ft-link:hover { color: var(--yellow); }
@media (max-width: 640px) {
  footer { flex-direction: column; text-align: center; }
  footer span:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
  footer a, footer .ft-link { margin-left: 0; margin-right: 18px; }
}

/* ---------- booking form ---------- */
.book-form {
  position: relative; z-index: 2;
  max-width: 480px; margin: 34px auto 0; text-align: left;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 20px;
  background: linear-gradient(165deg, #16161a, #0e0e11);
  border: 1px solid rgba(255, 230, 0, 0.16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.book-form:hover { border-color: rgba(255, 230, 0, 0.3); box-shadow: 0 30px 100px rgba(0,0,0,0.65), 0 0 60px rgba(255, 210, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
/* slow gradient pulse sweeping the card (own compositor layer — no per-frame repaint) */
.book-form-glow {
  position: absolute; top: 50%; left: 50%; width: 150%; aspect-ratio: 1;
  pointer-events: none; z-index: 0; opacity: 0.9;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 230, 0, 0.10) 40deg, transparent 110deg, transparent 250deg, rgba(255, 149, 0, 0.09) 300deg, transparent 350deg);
  will-change: transform;
  animation: formSweep 16s linear infinite;
}
@keyframes formSweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .book-form-glow { animation: none; } }
.book-form > *:not(.book-form-glow) { position: relative; z-index: 1; }

.field { margin-bottom: 16px; }
.field-label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
  transform-origin: left center;
}
.field.focused .field-label { color: var(--yellow); transform: translateY(-1px); }
.field.invalid .field-label { color: #ff6b5a; }

.field-box {
  display: flex; align-items: center; gap: 10px;
  padding: 0 13px; height: 50px;
  border-radius: 12px;
  background: rgba(8, 8, 9, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative; overflow: hidden;
}
.field-box::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.field-box:hover { border-color: rgba(255, 230, 0, 0.28); background: rgba(12, 12, 13, 0.8); }
.field.focused .field-box {
  border-color: rgba(255, 230, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.10), 0 0 26px rgba(255, 210, 0, 0.14);
}
.field.focused .field-box::after { transform: scaleX(1); }
.field.invalid .field-box { border-color: rgba(255, 90, 70, 0.6); box-shadow: 0 0 0 3px rgba(255, 90, 70, 0.10); }
.field.invalid .field-box { animation: shake 0.4s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

.field-icon { display: flex; color: var(--dim); transition: color 0.3s ease; }
.field-icon svg { width: 19px; height: 19px; }
.field.focused .field-icon { color: var(--yellow); }
.field-prefix {
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--muted);
  padding-right: 10px; border-right: 1px solid rgba(255, 255, 255, 0.12); transition: color 0.3s ease;
}
.field.focused .field-prefix { color: var(--yellow); }

.field-box input, .field-box textarea {
  flex: 1; width: 100%; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-body); font-size: 15.5px; font-weight: 500;
  letter-spacing: 0.01em;
}
.field-box input::placeholder, .field-box textarea::placeholder { color: #4d4d47; font-weight: 400; }
.textarea-box { height: auto; padding: 12px 13px; align-items: flex-start; }
.field-box textarea { resize: vertical; min-height: 76px; line-height: 1.55; font-size: 14.5px; }

.field-check {
  color: var(--yellow); font-size: 15px; font-weight: 700;
  opacity: 0; transform: scale(0.4); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
  filter: drop-shadow(0 0 8px rgba(255, 230, 0, 0.8));
}
.field.valid .field-check { opacity: 1; transform: scale(1); }

.field-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.field-error {
  display: block; margin-top: 8px; font-size: 12.5px; color: #ff6b5a;
  opacity: 0; max-height: 0; transition: opacity 0.3s ease, max-height 0.3s ease;
}
.field-meta .field-error { margin-top: 0; }
.field.invalid .field-error { opacity: 1; max-height: 40px; }
/* The send itself failing (offline, rate limited, refused) — distinct from
   the .field-error validation hints above, which collapse until a field is
   marked invalid. */
.form-error { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: #ff6b5a; text-align: center; }

.char-counter { margin-left: auto; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; transition: color 0.3s; white-space: nowrap; flex-shrink: 0; }
.char-counter b { color: var(--muted); font-weight: 600; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.char-counter.active b { color: var(--yellow); }
.char-counter.bump b { transform: scale(1.35); }
.char-counter.near b { color: var(--orange); }

/* quick chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 18px; }
.chip {
  padding: 7px 12px; border-radius: 100px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--muted); font-family: var(--font-body); font-size: 12.8px; font-weight: 500;
  transition: all 0.25s ease;
}
.chip:hover { border-color: rgba(255, 230, 0, 0.45); color: var(--yellow); background: rgba(255, 230, 0, 0.07); transform: translateY(-2px); }
.chip.picked { background: var(--grad); border-color: transparent; color: #0c0c00; font-weight: 700; box-shadow: 0 0 18px rgba(255, 220, 0, 0.3); }

/* consent — a real checkbox, because Раздел III needs an act, not a notice.
   The native box is kept for a11y and form validation but drawn over by
   .agree-tick so it matches the yellow the rest of the form uses. */
.field-agree { margin: -4px 0 18px; }
.agree-box {
  display: flex; align-items: flex-start; gap: 11px; cursor: pointer;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.11);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.agree-box:hover { border-color: rgba(255, 230, 0, 0.35); background: rgba(255, 230, 0, 0.04); }
.agree-box input { position: absolute; opacity: 0; width: 0; height: 0; }
.agree-tick {
  flex: none; width: 19px; height: 19px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.28); background: rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; transition: all 0.22s ease;
}
.agree-tick::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border-left: 2.2px solid #0c0c00; border-bottom: 2.2px solid #0c0c00;
  transform: rotate(-45deg) scale(0.4); opacity: 0; transition: all 0.22s ease;
}
.agree-box input:checked ~ .agree-tick { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(255, 220, 0, 0.35); }
.agree-box input:checked ~ .agree-tick::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.agree-box input:focus-visible ~ .agree-tick { box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.28); }
.agree-txt { font-size: 12.8px; line-height: 1.55; color: var(--muted); }
.agree-txt a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.field.invalid .agree-box { border-color: rgba(255, 90, 70, 0.6); animation: shake 0.4s ease; }
.field.invalid .agree-tick { border-color: rgba(255, 90, 70, 0.75); }

/* submit */
.submit-btn { width: 100%; position: relative; overflow: hidden; border-radius: 12px; height: 50px; font-size: 13px; }
.submit-label { position: relative; z-index: 2; transition: opacity 0.3s ease; }
.submit-progress {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: rgba(10, 10, 11, 0.28); z-index: 1; transition: width 1.05s cubic-bezier(0.4, 0, 0.2, 1);
}
.submit-btn.sending { pointer-events: none; }
.submit-btn.sending .submit-progress { width: 100%; }
.form-note { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--dim); line-height: 1.55; }

/* direct-contact channels, folded into the form */
.form-channels { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.fc-or {
  display: block; text-align: center; margin-bottom: 11px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim);
}
/* Four channels do not fit one phone-width row. As flex items with `flex: 1`
   they could not shrink below their own text either (min-width defaults to
   auto), so they overflowed the section and the last one was cut off at the
   screen edge. auto-fit reflows instead: four across on a desktop, two by two
   on a phone, without a media query deciding the breakpoint by hand. */
/* Four across in the form's column; two by two on a phone. auto-fit cannot
   express both — the widths that give four at ~430px also give three at
   ~350px, which leaves one chip stranded on its own row. */
.fc-row {
  display: grid; gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fc-row .qch {
  justify-content: center; padding: 11px 8px; font-size: 11px; letter-spacing: 0.05em;
  /* "ОБАДИ СЕ" is two words and was breaking across two lines */
  white-space: nowrap; min-width: 0;
}
.fc-row .qch::before { width: 7px; height: 7px; }

/* particle burst */
.particle {
  position: fixed; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); pointer-events: none; z-index: 999;
  box-shadow: 0 0 10px rgba(255, 220, 0, 0.9);
}

/* success state — needs to out-specify `.book-form > *` or it reserves layout space */
.book-form > .form-success {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 30px; text-align: center;
  background: linear-gradient(165deg, rgba(20, 20, 23, 0.97), rgba(12, 12, 14, 0.99));
  opacity: 0; visibility: hidden; transform: scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}
.book-form.done .form-success { opacity: 1; visibility: visible; transform: scale(1); }
.success-ring {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.16), transparent 70%);
  border: 2px solid var(--yellow); color: var(--yellow); font-size: 34px; font-weight: 700;
  box-shadow: 0 0 40px rgba(255, 220, 0, 0.35); margin-bottom: 14px;
  animation: ringPop 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
@keyframes ringPop { from { transform: scale(0.3); opacity: 0; } }
.form-success h3 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.form-success p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; margin-bottom: 10px; }

/* ---------- yellow down arrow to the steps ---------- */
/* ============================================================
   FORK — the deliberate choice: buy/sell vs repair
   ============================================================ */
/* The fork is pinned for an extra beat so a fast scroll can't skip the one
   choice the visitor has to make. sizeForkHold() in site.js owns the wrapper
   height and the sticky offset — a section taller than the viewport gets a
   negative offset, so it locks only after its bottom edge is on screen. */
.fork-hold { position: relative; }
.fork-hold > .fork { will-change: transform; }
.fork { padding-block: clamp(90px, 12vh, 150px); }
.fork-head { text-align: center; margin-bottom: clamp(38px, 5vw, 64px); }
.fork-head h2 {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; text-transform: uppercase;
}
.fork-head p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }

.fork-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.fork-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(420px, 52vh, 560px);
  padding: clamp(26px, 3vw, 44px);
  border-radius: 26px; text-decoration: none; color: var(--text);
  background: linear-gradient(165deg, rgba(24, 24, 28, 0.9), rgba(11, 11, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.45s ease, box-shadow 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}
/* the signature move: hovering one path commits to it and recedes the other */
.fork-grid:has(.fork-card:hover) .fork-card:not(:hover),
.fork-grid:has(.fork-card:focus-visible) .fork-card:not(:focus-visible) {
  opacity: 0.42; filter: saturate(0.45); transform: scale(0.975);
}
.fork-card:hover, .fork-card:focus-visible { transform: translateY(-8px); outline: none; }
.fork-buy:hover, .fork-buy:focus-visible { border-color: rgba(255, 230, 0, 0.45); }
.fork-fix:hover, .fork-fix:focus-visible { border-color: rgba(143, 196, 255, 0.5); }
.fork-card:hover, .fork-card:focus-visible {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 210, 0, 0.1);
}
/* colour-coded ambience per path */
.fork-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 78%; z-index: -1;
  pointer-events: none; filter: blur(58px); opacity: 0.42;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fork-buy .fork-glow { background: radial-gradient(ellipse at 30% 0%, #7b4bd8, transparent 68%); }
.fork-fix .fork-glow { background: radial-gradient(ellipse at 70% 0%, #4a7fd8, transparent 68%); }
.fork-card:hover .fork-glow { opacity: 0.85; transform: translateY(8%) scale(1.08); }

.fork-num {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  letter-spacing: 0.3em; color: var(--dim); transition: color 0.4s ease;
}
.fork-card:hover .fork-num { color: var(--yellow); }

/* the parenthetical, quieter than the verb */
.fk-sub {
  display: block; margin-top: 6px;
  font-size: 0.44em; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  transition: color 0.4s ease;
}
.fork-buy:hover .fk-sub { color: var(--yellow); }
.fork-fix:hover .fk-sub { color: #8fc4ff; }

/* 3D art that breaks out above the card edge */
.fork-grid { padding-top: clamp(84px, 10vw, 130px); }   /* room for the overhang */
.fork-card { overflow: visible; padding-top: clamp(112px, 11vw, 156px); }
.fork-card::after {            /* clip the ambience to the card, art stays free */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; overflow: hidden; z-index: -1;
}
.fork-art {
  position: absolute; top: clamp(-124px, -10vw, -80px); left: 50%;
  transform: translateX(-50%);
  width: clamp(230px, 27vw, 310px); pointer-events: none;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.65));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}
.fk-svg { width: 100%; height: auto; display: block; overflow: visible; }
.fk-halo { transition: opacity 0.5s ease; }
.fork-card:hover .fork-art, .fork-card:focus-visible .fork-art {
  transform: translateX(-50%) translateY(-10px) scale(1.05);
}
.fork-buy:hover .fork-art { filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(255, 205, 70, 0.5)); }
.fork-fix:hover .fork-art { filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(120, 180, 255, 0.5)); }
.fork-card:hover .fk-halo { opacity: 0.42; }
/* shield settles onto the cross */
.fk-shield { transform-origin: 170px 138px; transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
.fork-buy:hover .fk-shield { transform: translate(6px, -6px) rotate(-5deg); }
/* the x-ray scan sweep */
.fk-beam { opacity: 0; }
.fork-fix:hover .fk-beam { opacity: .9; animation: beamY 2.1s ease-in-out infinite; }
@keyframes beamY { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(168px); } }

.fork-card h3 {
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.3rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.02;
}
.fork-card > p { margin-top: 14px; color: var(--muted); font-size: 0.99rem; line-height: 1.62; max-width: 46ch; }
.fork-points { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.fork-points li { display: flex; gap: 10px; align-items: baseline; color: #d5d5cf; font-size: 0.93rem; }
.fork-points li::before { content: "✦"; font-size: 0.82em; }
.fork-buy .fork-points li::before { color: var(--yellow); filter: drop-shadow(0 0 7px rgba(255,230,0,.65)); }
.fork-fix .fork-points li::before { color: #8fc4ff; filter: drop-shadow(0 0 7px rgba(143,196,255,.6)); }

.fork-go {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 100px;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid currentColor; background: rgba(255, 255, 255, 0.03);
  transition: gap 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.fork-buy .fork-go { color: var(--yellow); }
.fork-fix .fork-go { color: #8fc4ff; }
.fork-buy:hover .fork-go { background: rgba(255, 230, 0, 0.12); box-shadow: 0 0 24px rgba(255, 230, 0, 0.3); transform: translateY(-2px); }
.fork-fix:hover .fork-go { background: rgba(143, 196, 255, 0.12); box-shadow: 0 0 24px rgba(143, 196, 255, 0.3); transform: translateY(-2px); }
.fork-go svg { width: 19px; height: 19px; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fork-card:hover .fork-go { gap: 17px; }
.fork-buy:hover .fork-go svg { transform: translateX(5px); }
.fork-fix:hover .fork-go svg { transform: translateY(4px); }

@media (max-width: 860px) {
  /* the two paths stay side by side — it reads as one choice, not a list.
     The art moves inside the card so nothing overhangs the card above it. */
  .fork { padding-block: clamp(60px, 9vh, 104px); }
  .fork-head { margin-bottom: clamp(26px, 5vw, 40px); }
  .fork-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 0; }
  .fork-card {
    min-height: 0; overflow: hidden; border-radius: 20px;
    padding: 16px 13px 18px;
  }
  .fork-art {
    position: static; transform: none; margin: 4px auto 10px;
    width: min(132px, 76%); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.6));
  }
  .fork-card:hover .fork-art, .fork-card:focus-visible .fork-art { transform: none; }
  .fork-glow { filter: blur(42px); }
  .fork-num { font-size: 10px; letter-spacing: 0.24em; }
  .fork-card h3 { font-size: clamp(1.05rem, 4.4vw, 1.5rem); margin-top: 3px; }
  .fk-sub { font-size: 0.5em; letter-spacing: 0.1em; margin-top: 5px; }
  .fork-card > p { margin-top: 9px; font-size: 0.82rem; line-height: 1.5; }
  .fork-points { margin: 13px 0 18px; gap: 7px; }
  .fork-points li { font-size: 0.77rem; line-height: 1.35; gap: 7px; }
  .fork-go {
    align-self: stretch; justify-content: center; margin-top: auto;  /* both CTAs land on the same line */
    padding: 12px 8px; font-size: 10px; letter-spacing: 0.05em; gap: 6px;
  }
  .fork-go svg { width: 15px; height: 15px; }
  /* no hover on touch — never leave a card dimmed */
  .fork-grid:has(.fork-card:hover) .fork-card:not(:hover) { opacity: 1; filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fk-beam { animation: none !important; }
  .fork-card, .fa-phone, .fork-glow { transition: none; }
}

/* big extruded 3D arrow */
.step-arrow {
  display: block; width: fit-content; margin: 46px auto 0;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(255, 200, 0, 0.45));
  animation: arrowBob 2.4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
  transform-style: preserve-3d;
}
.step-arrow svg {
  display: block;
  width: clamp(104px, 11vw, 156px); height: auto;
  transform: perspective(520px) rotateX(16deg);
}
.step-arrow:hover { transform: translateY(8px) scale(1.04); filter: drop-shadow(0 22px 40px rgba(0,0,0,.65)) drop-shadow(0 0 52px rgba(255, 214, 0, 0.75)); }
.arw-spec { opacity: 0.55; }
@keyframes arrowBob { 50% { transform: translateY(14px); } }

/* ---------- get-a-quote block (replaces pricing) ---------- */
.quote-cta { text-align: center; }
.quote-cta p { max-width: 62ch; margin: 22px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.quote-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.qch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 100px; text-decoration: none;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted); font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s, transform 0.25s, background 0.25s;
}
.qch::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.qch:hover { transform: translateY(-3px); color: var(--yellow); border-color: rgba(255, 230, 0, 0.5); background: rgba(255, 230, 0, 0.07); }
.qch-wa { color: #6ee787; } .qch-vb { color: #b57bd8; } .qch-tel { color: var(--amber); }
.qch-mail { color: #7fb3ff; }
.quote-note { margin-top: 20px; font-size: 0.85rem; color: var(--dim); }

/* ---------- floating shop + quote ---------- */
.floaties {
  position: fixed; right: 20px; bottom: 22px; z-index: 120;
  display: flex; flex-direction: column; align-items: flex-end; gap: 11px;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.floaties.show { opacity: 1; transform: none; pointer-events: auto; }
.float-shop, .float-quote {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 12px 18px; border-radius: 100px; white-space: nowrap;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}
/* translucent so it never fights the page */
.float-shop {
  background: rgba(20, 20, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.float-shop:hover { color: var(--yellow); border-color: rgba(255, 230, 0, 0.5); background: rgba(24, 24, 28, 0.8); transform: translateY(-2px); }
.fs-ico { font-size: 14px; }
.float-quote {
  position: relative; background: var(--grad); color: #0c0c00;
  border: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), var(--glow);
}
.float-quote svg { width: 17px; height: 17px; }
.float-quote:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 34px rgba(255, 230, 0, 0.6); }
.fq-pulse {
  position: absolute; inset: 0; border-radius: 100px; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.55);
  animation: fqPulse 2.6s ease-out infinite;
}
@keyframes fqPulse { 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 230, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .step-arrow, .fq-pulse { animation: none; }
}

/* ---------- responsive: tablet + phones — the compact nav ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }

  /* language on the left · logo dead centre · shortcuts on the right.
     `display: contents` lifts the right-hand group's children into the nav's
     own flex line so each one can be placed independently. */
  .nav { display: flex; align-items: center; min-height: 60px; padding: 9px 12px; gap: 8px; }
  .nav-right { display: contents; }
  .nav-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .lang-toggle { order: 1; margin-right: auto; }
  .cart-btn { order: 2; }
  .nav-burger { order: 3; display: inline-flex; }
  .btn.nav-cta { display: none; }          /* the CTA lives in the shortcut menu now */
  .nav-drop { display: flex; }

  .stack-card { grid-template-columns: 1fr; min-height: auto; gap: 26px; }
  .stack-visual { min-height: 220px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* an odd tile out would leave a hole — let it take the whole row */
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cinematic { height: 420vh; }

  /* anchors land below the floating nav instead of under it */
  #services, #book, #faq, #fork { scroll-margin-top: 96px; }
}

/* ---------- responsive: phones ---------- */
@media (max-width: 640px) {
  /* Placed after the .fc-row rule above on purpose: a media query adds no
     specificity, so an override written earlier in the file loses to it. */
  .fc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-row .qch { font-size: 11.5px; padding: 12px 8px; }

  /* compact nav: BG/EN · logo · ☰ */
  .nav { top: 10px; padding: 8px 10px; border-radius: 15px; min-height: 58px; }
  .lang-toggle { border-radius: 9px; }
  .lang-btn { padding: 8px 8px; font-size: 10.5px; letter-spacing: 0.05em; }
  .nav-burger { width: 40px; height: 40px; border-radius: 11px; }
  .nav-drop { top: calc(100% + 8px); padding: 10px; border-radius: 18px; }
  .nd-item { padding: 9px 10px; gap: 10px; }
  .nd-ico { width: 34px; height: 34px; border-radius: 10px; }
  .nd-ico svg { width: 17px; height: 17px; }
  .nd-txt b { font-size: 12.8px; }
  .nd-txt small { font-size: 10.5px; }

  /* hero: shorter scrub, tighter type, safe-area breathing room */
  .cinematic { height: 360vh; }
  .overlay { padding: 0 5vw; }
  .overlay h1 { font-size: clamp(1.9rem, 9.5vw, 2.8rem); line-height: 1.02; }
  .overlay .sub { font-size: 0.9rem; margin-top: 14px; }
  .kicker { font-size: 10px; padding: 6px 12px; letter-spacing: 0.16em; margin-bottom: 14px; }
  .progress { bottom: max(18px, env(safe-area-inset-bottom)); }
  .scroll-hint { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 20px); }

  /* sections: less vertical bulk */
  section.block { padding: 80px 5vw; }
  .statement { min-height: 70vh; }
  .statement h2 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .statement p { font-size: 0.98rem; }
  .marquee { padding: 15px 0; }
  .marquee-track span { font-size: 12.5px; }

  /* stack cards: comfortable thumb-scroll height */
  .stack-wrap { padding: 0 4vw 24px; }
  .stack-head { padding: 40px 0 50px; }
  .stack-card { position: sticky; top: 74px; padding: 26px 22px; margin-bottom: 34px; border-radius: 20px; }
  .stack-num { font-size: 3.2rem; }
  .stack-tag { margin: 12px 0 10px; font-size: 11px; }
  .stack-card h3 { font-size: 1.45rem; }
  .stack-card p { font-size: 0.95rem; }
  .stack-points li { font-size: 0.9rem; }
  .stack-visual { min-height: 190px; }

  /* stats: single column of full-width tiles reads better on phones */
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 14px; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.08em; }

  .price-card { padding: 30px 24px; }
  .price-amount { font-size: 2.4rem; }

  .faq { margin-top: 44px; }
  .faq-q { padding: 18px 18px; font-size: 0.92rem; }
  .faq-a p { padding: 0 18px 18px; font-size: 0.9rem; }

  .cta-final { padding: 110px 5vw 90px; }
  .btn-big { font-size: 13px; padding: 14px 26px; }

  /* form on phones */
  .book-form { margin-top: 34px; padding: 24px 18px; border-radius: 20px; }
  .field-box { height: 52px; padding: 0 12px; gap: 8px; }
  .field-box input, .field-box textarea { font-size: 16px; } /* 16px stops iOS zoom-on-focus */
  /* must re-declare: the .field-box height above would otherwise crop the textarea */
  .textarea-box { height: auto; padding: 13px; }
  .field-box textarea { min-height: 124px; }
  .field-prefix { font-size: 13.5px; padding-right: 8px; }
  .chip { padding: 8px 13px; font-size: 12px; }
  .submit-btn { height: 54px; }
  .form-success h3 { font-size: 1.25rem; }

  /* the two shortcuts sit side by side in one bar — never stacked over the cards */
  .floaties {
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    flex-direction: row; align-items: stretch; gap: 8px;
  }
  .float-shop, .float-quote {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: 13px 8px; font-size: 11.5px; gap: 7px;
  }
  .fs-txt, .fq-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  footer { flex-direction: column; text-align: center; gap: 10px; padding: 34px 6vw 104px; }
  footer a { margin: 0 10px; }
}

/* small phones: let both shortcut labels sit on one line without clipping */
@media (max-width: 380px) {
  .floaties { gap: 6px; }
  .float-shop, .float-quote { font-size: 10.5px; padding: 12px 6px; gap: 5px; letter-spacing: 0.02em; }
  .fs-ico { display: none; }
  .float-quote svg { width: 15px; height: 15px; }
}

/* the floating bar steps aside while the shortcut menu is open */
body.nav-open .floaties { opacity: 0; transform: translateY(14px); pointer-events: none; }

/* ============================================================
   "Добави обява" dialog — injected by listing-form.js, shared by
   the landing page and the marketplace. Ships hidden.
   ============================================================ */
.lf {
  width: min(760px, 94vw); max-height: 92vh; padding: 0; border: none;
  border-radius: 20px; overflow: auto; color: var(--text);
  background: linear-gradient(165deg, #17171c, #0e0e11);
  border: 1px solid rgba(255, 230, 0, 0.18);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.lf::backdrop { background: rgba(6, 6, 8, 0.78); backdrop-filter: blur(4px); }
.lf-top {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1b1b21, #141418);
}
.lf-kicker { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.lf-top h2 {
  margin-top: 5px; font-family: var(--font-display); font-size: 1.35rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
}
.lf-x {
  margin-left: auto; width: 36px; height: 36px; border-radius: 11px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--muted); font-size: 15px;
}
.lf-x:hover { color: #ff6b5a; border-color: rgba(255, 107, 90, 0.5); }

.lf-body { padding: 20px 24px 4px; }
.lf-body[hidden], .lf-foot[hidden], .lf-done[hidden] { display: none !important; }
.lf-intro { color: var(--muted); font-size: 13.2px; line-height: 1.7; margin-bottom: 20px; }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lf-span { grid-column: 1 / -1; }
.lf-f {
  display: block; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.lf-f input, .lf-f select, .lf-f textarea {
  display: block; width: 100%; margin-top: 7px; height: 46px; padding: 0 13px;
  border-radius: 12px; background: rgba(8, 8, 9, 0.72);
  border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 14.5px; letter-spacing: 0; text-transform: none;
  outline: none; transition: border-color 0.22s, box-shadow 0.22s;
}
.lf-f textarea { height: auto; padding: 12px 13px; line-height: 1.6; resize: vertical; }
.lf-f input::placeholder, .lf-f textarea::placeholder { color: var(--dim); }
.lf-f input:focus, .lf-f select:focus, .lf-f textarea:focus {
  border-color: rgba(255, 230, 0, 0.55); box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.1);
}
.lf-f small {
  display: block; margin-top: 6px; font-size: 11px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--dim); line-height: 1.5;
}
.lf-agree {
  display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px;
  font-size: 12.8px; line-height: 1.6; color: #d5d5cf; cursor: pointer;
}
.lf-agree input { accent-color: #ffe600; width: 17px; height: 17px; margin-top: 1px; flex: none; }
.lf-err {
  margin-top: 12px; padding: 10px 13px; border-radius: 10px;
  background: rgba(255, 107, 90, 0.1); border: 1px solid rgba(255, 107, 90, 0.4);
  color: #ff9c90; font-size: 12.5px;
}
.lf-foot {
  position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end;
  padding: 16px 24px; border-top: 1px solid var(--line);
  background: linear-gradient(0deg, #1b1b21, #141418);
}
.lf-btn {
  padding: 13px 24px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; transition: filter 0.2s, color 0.2s, border-color 0.2s;
}
.lf-btn.ghost { background: none; color: var(--muted); }
.lf-btn.ghost:hover { color: var(--yellow); border-color: rgba(255, 230, 0, 0.45); }
.lf-btn.gold { background: var(--grad); border-color: transparent; color: #14110a; }
.lf-btn.gold:hover { filter: brightness(1.08); }

.lf-done { padding: 40px 26px 34px; text-align: center; }
.lf-ring {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 50%; background: rgba(110, 231, 135, 0.12);
  border: 1px solid rgba(110, 231, 135, 0.45); color: #6ee787; font-size: 27px;
}
.lf-done h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; }
.lf-done p { margin: 10px auto 22px; max-width: 46ch; color: var(--muted); font-size: 13.2px; line-height: 1.7; }

@media (max-width: 640px) {
  .lf { width: 100vw; max-width: none; height: 100vh; max-height: 100vh; border-radius: 0; }
  .lf-top { padding: 18px 16px 14px; }
  .lf-body { padding: 18px 16px 4px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lf-foot { padding: 14px 16px; }
  .lf-foot .lf-btn { flex: 1; }
  /* 16px stops iOS zooming the whole dialog on focus */
  .lf-f input, .lf-f select, .lf-f textarea { font-size: 16px; }
}

/* ---------- legal page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 150px 6vw 90px; position: relative; z-index: 1; }
.legal-head { text-align: center; margin-bottom: 34px; }
.legal-head h1 {
  margin-top: 14px; font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.02em; text-transform: uppercase;
}
.legal-sub { margin-top: 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.legal-note {
  padding: 15px 18px; border-radius: 14px; margin-bottom: 30px;
  background: rgba(255, 230, 0, 0.06); border: 1px solid rgba(255, 230, 0, 0.3);
  color: #e8e2c4; font-size: 13.2px; line-height: 1.7;
}
.legal-note b { color: var(--yellow); }
.legal-block {
  padding: 24px 26px; border-radius: 18px; margin-bottom: 14px;
  background: rgba(20, 20, 22, 0.6); border: 1px solid var(--line);
}
.legal-block h3 {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--yellow); margin-bottom: 12px;
}
.legal-block p { color: #cfcfc9; font-size: 14px; line-height: 1.8; }
.legal-block p + p, .legal-block ul + p, .legal-block ol + p { margin-top: 12px; }
.legal-block b { color: #fff; }

/* bullets for ul, tracked numbers for ol — a single li::before would put ✦
   in front of the numbered clauses too */
.legal-block ul { margin-top: 10px; display: grid; gap: 8px; list-style: none; padding-left: 0; }
.legal-block ul > li { position: relative; padding-left: 22px; }
.legal-block ul > li::before { content: "✦"; position: absolute; left: 0; top: 4px; color: var(--yellow); font-size: 11px; }
.legal-block ol { margin-top: 10px; display: grid; gap: 12px; list-style: none; padding-left: 0; counter-reset: lgl; }
.legal-block ol > li { position: relative; padding-left: 34px; counter-increment: lgl; }
.legal-block ol > li::before {
  content: counter(lgl) "."; position: absolute; left: 0; top: 0;
  color: var(--yellow); font-weight: 700; font-variant-numeric: tabular-nums;
}
.legal-block ol ul { margin-top: 8px; }
.legal-block li { color: #cfcfc9; font-size: 14px; line-height: 1.7; }
.legal-block a { color: var(--yellow); }

/* document divider between the ToS and the privacy policy */
.legal-doc {
  margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 230, 0, 0.28);
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.legal-doc:first-of-type { margin-top: 26px; }

/* table of contents */
.legal-toc {
  padding: 20px 24px; border-radius: 18px; margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.legal-toc > b {
  display: block; margin-bottom: 12px; color: var(--muted);
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.legal-toc ol {
  margin: 0; padding-left: 0; list-style: none; counter-reset: toc;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 20px;
}
.legal-toc li { counter-increment: toc; position: relative; padding-left: 26px; }
.legal-toc li::before {
  content: counter(toc) "."; position: absolute; left: 0;
  color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums;
}
.legal-toc a { color: #cfcfc9; text-decoration: none; font-size: 13.2px; line-height: 1.9; }
.legal-toc a:hover { color: var(--yellow); }

/* fields still to be filled in — deliberately loud so they can't ship unnoticed */
.legal-todo {
  padding: 1px 7px; border-radius: 6px; white-space: nowrap;
  background: rgba(255, 230, 0, 0.14); border: 1px dashed rgba(255, 230, 0, 0.55);
  color: var(--yellow); font-size: 0.92em;
}

/* GDPR legal-basis table */
.legal-table-wrap { margin-top: 12px; overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.legal-table { width: 100%; border-collapse: collapse; min-width: 460px; }
.legal-table th {
  text-align: left; padding: 11px 14px; background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.legal-table td {
  padding: 11px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #cfcfc9; font-size: 13.2px; line-height: 1.65; vertical-align: top;
}
.legal-table td:first-child { color: #e6e2d5; }

.legal-back { display: inline-block; margin-top: 26px; }
/* anchors from the table of contents must clear the fixed nav */
.legal-block[id], .legal-doc[id] { scroll-margin-top: 110px; }
@media (max-width: 640px) {
  .legal { padding: 120px 5vw 70px; }
  .legal-block { padding: 20px 18px; }
}

/* seller declaration under the consent checkbox */
.lf-declare {
  margin-top: 10px; padding: 10px 13px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  color: var(--dim); font-size: 11.5px; line-height: 1.65;
}
.lf-agree a { color: var(--yellow); }

/* the request form is where the ToS are accepted — keep the link visible */
.form-terms {
  margin-top: 8px; text-align: center;
  color: var(--dim); font-size: 11.2px; line-height: 1.6;
}
.form-terms a { color: var(--muted); }
.form-terms a:hover { color: var(--yellow); }
