/* ============================================================
   Customs Logistics — Fulfillment landing
   Brand: deep blue #013399, bright blue #0C7BDC, navy #0b1a3a
   ============================================================ */

:root {
  --brand-deep: #013399;
  --brand: #0c7bdc;
  --brand-2: #2a9bf0;
  --navy-900: #081530;
  --navy-800: #0b1a3a;
  --navy-700: #14264f;
  --ink: #0f1b34;
  --muted: #5b6b86;
  --line: #e6ebf2;
  --bg: #f7f9fc;
  --white: #ffffff;
  --success: #16a34a;
  --warning: #e0a217;

  --grad: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  --grad-soft: linear-gradient(135deg, rgba(1, 51, 153, 0.08), rgba(12, 123, 220, 0.08));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(15, 27, 52, 0.06);
  --shadow: 0 18px 50px -20px rgba(7, 21, 48, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(7, 21, 48, 0.45);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

.section { padding: 96px 0; }
.section-alt { background: var(--white); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(12, 123, 220, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(12, 123, 220, 0.7); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { height: 34px; width: auto; transition: filter 0.3s ease; }
/* Logo is dark-blue; invert to white while header is transparent over the hero */
.site-header:not(.scrolled) .brand-logo { filter: brightness(0) invert(1); }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
  position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--brand-2); transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.site-header.scrolled .nav a { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 14px; }

/* Телефон у хедері: колір підлаштовується (білий над героєм, темний коли світлий). */
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap;
  transition: color 0.2s ease;
}
.header-phone svg { flex-shrink: 0; }
.header-phone:hover { color: var(--brand-2); }
.site-header.scrolled .header-phone,
.site-header--solid .header-phone { color: var(--ink); }
.site-header.scrolled .header-phone:hover,
.site-header--solid .header-phone:hover { color: var(--brand); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.site-header.scrolled .burger span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 120% at 70% -10%, #103a8c 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 14s ease-in-out infinite; }
.blob-1 { width: 460px; height: 460px; background: #0c7bdc; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #013399; bottom: -120px; left: -100px; animation-delay: 3s; }
.blob-3 { width: 300px; height: 300px; background: #2a9bf0; top: 40%; left: 50%; animation-delay: 6s; opacity: 0.3; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #41d17e; box-shadow: 0 0 0 0 rgba(65,209,126,0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(65,209,126,0.6); } 70% { box-shadow: 0 0 0 10px rgba(65,209,126,0); } 100% { box-shadow: 0 0 0 0 rgba(65,209,126,0); } }

.hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 .grad-text { background: linear-gradient(120deg, #5db8ff, #b9e0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero-sub { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-trust { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item .num { font-size: 30px; font-weight: 800; line-height: 1; background: linear-gradient(120deg,#7cc4ff,#fff); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.trust-item .lbl { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; max-width: 150px; }

/* Hero product preview */
.hero-shot { position: relative; perspective: 1600px; }
.shot-frame {
  position: relative;
  background: #0e1f44;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 40px 90px -34px rgba(0,0,0,0.75);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.55s ease;
}
.hero-shot:hover .shot-frame { transform: rotateY(0deg) rotateX(0deg); }
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.shot-dot { width: 11px; height: 11px; border-radius: 50%; }
.shot-dot:nth-child(1) { background: #ff5f57; }
.shot-dot:nth-child(2) { background: #febc2e; }
.shot-dot:nth-child(3) { background: #28c840; }
.shot-url {
  margin-left: 12px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.shot-frame img { display: block; width: 100%; height: auto; }

/* Floating callout chips over the screenshot */
.shot-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.97); color: var(--ink);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 16px 34px -12px rgba(0,0,0,0.5);
  animation: chipFloat 4.5s ease-in-out infinite;
}
.shot-chip--tl { top: -16px; left: -18px; }
.shot-chip--br { bottom: -16px; right: -18px; animation-delay: 1.6s; }
.shot-chip--tr { top: -16px; right: -18px; animation-delay: 0.8s; }
.chip-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--success);
  animation: chipPulse 1.8s infinite;
}
@keyframes chipPulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ============================================================
   LOGOS MARQUEE
   ============================================================ */
.logos { padding: 40px 0; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos-title { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 22px; }
.logos-track {
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: marquee 26s linear infinite;
  width: max-content;
}
/* Spacing lives on each item (not flex gap) so the -50% loop point lands
   exactly between the two identical halves — a seamless, gapless loop. */
.logos-track span { font-size: 20px; font-weight: 700; color: #9aa7bd; white-space: nowrap; transition: color 0.2s; margin-right: 50px; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track span:hover { color: var(--brand); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  background: var(--grad-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; }
/* Заголовок, який має триматися в один рядок на десктопі. */
.section-head h2.is-oneline { font-size: clamp(24px, 3vw, 33px); }
@media (min-width: 700px) { .section-head h2.is-oneline { white-space: nowrap; } }
.section-head p { color: var(--muted); font-size: 17px; }

/* ============================================================
   VALUE GRID
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vc-ico { font-size: 34px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; transition: transform 0.25s ease;
}
.section-alt .step { background: var(--white); }
.step:hover { transform: translateY(-6px); border-color: rgba(12,123,220,0.4); }
.step-num {
  font-size: 30px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.srv {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden;
}
.srv::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.srv:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.srv:hover::before { transform: scaleX(1); }
.srv-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: var(--grad-soft); margin-bottom: 16px;
}
.srv h3 { font-size: 17px; margin-bottom: 8px; }
.srv p { color: var(--muted); font-size: 14px; }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integr-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.integr-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 28px; font-weight: 700; font-size: 17px; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.section-alt .integr-chip { background: var(--bg); }
.integr-chip:hover { transform: translateY(-4px); color: var(--brand); box-shadow: var(--shadow); }
/* Вищу специфічність, щоб правило .section-alt .integr-chip не перекривало
   градієнт світлим фоном (інакше білий текст ставав нечитабельним). */
.integr-chip.integr-chip--api,
.section-alt .integr-chip.integr-chip--api { background: var(--grad); color: #fff; border: none; }
.integr-chip.integr-chip--api:hover,
.section-alt .integr-chip.integr-chip--api:hover { color: #fff; }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc-card {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow);
}
.calc-controls { padding: 40px; display: flex; flex-direction: column; gap: 30px; }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; }
.calc-field label { grid-column: 1 / -1; font-weight: 600; font-size: 15px; }
.calc-field input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: var(--line); outline: none; }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); cursor: pointer; box-shadow: 0 3px 8px rgba(12,123,220,0.5); border: 3px solid #fff; }
.calc-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); cursor: pointer; border: 3px solid #fff; }
.calc-field output { font-weight: 800; font-size: 18px; color: var(--brand); min-width: 54px; text-align: right; }

.calc-result { background: var(--navy-800); color: #fff; padding: 40px; display: flex; flex-direction: column; }
.calc-total { margin-bottom: 22px; }
.calc-total-lbl { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-total-val { display: block; font-size: 40px; font-weight: 900; line-height: 1.1; margin: 6px 0; }
.calc-per { font-size: 14px; color: #7cc4ff; }
.calc-breakdown { list-style: none; margin: 0 0 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.calc-breakdown li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14.5px; }
.calc-breakdown li span { color: rgba(255,255,255,0.75); }
.calc-breakdown li b { font-weight: 700; }
.calc-hint { font-size: 13px; font-weight: 600; color: #7cc4ff; margin-top: 14px; }
.calc-note { font-size: 11.5px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ============================================================
   ARTICLES (blog teaser on landing)
   ============================================================ */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.article-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--brand); background: var(--grad-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.article-card h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; }
.article-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.article-card .read { margin-top: auto; font-weight: 700; color: var(--brand); font-size: 14.5px; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
/* Хедер на сторінках статей завжди світлий (немає темного героя зверху). */
.site-header--solid { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.site-header--solid:not(.scrolled) .brand-logo { filter: none; }
.site-header--solid .nav a { color: var(--ink); }
.site-header--solid .burger span { background: var(--ink); }

.article-hero { padding: 120px 0 36px; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.article-hero h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.15; max-width: 760px;
}
.article-meta { margin-top: 14px; font-size: 14.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
/* .container.article-wrap (а не просто .article-wrap), щоб нижній відступ не
   скидався пізнішим правилом .container у медіа-запитах (інакше CTA-блок
   приліпає до футера на телефоні). */
.container.article-wrap { max-width: 740px; margin: 0 auto; padding-bottom: 72px; }
.article-body { font-size: 17.5px; line-height: 1.75; color: #243352; }
.article-body h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 14px; color: var(--ink); }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--ink); }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-body a:not(.btn) { color: var(--brand); }
.article-lead { font-size: 19px; line-height: 1.7; color: var(--ink); font-weight: 500; margin-bottom: 28px; }
.article-callout {
  background: var(--grad-soft); border: 1px solid rgba(12,123,220,0.18);
  border-radius: 16px; padding: 22px 24px; margin: 28px 0; font-size: 16.5px; line-height: 1.65;
}
.article-cta {
  margin-top: 44px; background: var(--navy-800); color: #fff; border-radius: 20px;
  padding: 36px; text-align: center;
}
.article-cta h2 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.8); margin-bottom: 22px; }
.article-cta .btn { margin: 0 6px 10px; }

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .article-hero { padding: 96px 0 24px; }
  .article-body { font-size: 16.5px; }
  .article-cta { padding: 28px 20px; }
}

/* ============================================================
   COMPARE
   ============================================================ */
.compare { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.section-alt .compare { background: var(--bg); }
.compare-row { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 18px 22px; }
.compare-feature { font-size: 15px; font-weight: 500; }
.compare-us, .compare-them { text-align: center; }
.compare-head { background: var(--grad); color: #fff; font-weight: 700; }
.compare-head .compare-feature { color: #fff; }
.compare-us { background: rgba(12,123,220,0.04); }
.yes { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background: rgba(22,163,74,0.12); color: var(--success); font-weight: 800; }
.no { color: #c2ccdb; font-weight: 700; }
.lim { font-size: 13px; color: var(--warning); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 20px; font-size: 15px; }

/* ============================================================
   LEAD
   ============================================================ */
.lead-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.lead-copy { background: radial-gradient(120% 120% at 0% 0%, #103a8c, var(--navy-800)); color: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.lead-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.lead-copy p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.lead-points { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lead-points li { font-size: 15.5px; color: #d6e6ff; }
.lead-brief { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.15); }
.lead-brief p { font-size: 14.5px; color: rgba(255,255,255,0.78); margin-bottom: 14px; }
.lead-brief .btn-ghost { color: #fff; }

.lead-form { background: var(--white); padding: 50px; display: flex; flex-direction: column; gap: 18px; }
.lf-field { display: flex; flex-direction: column; gap: 7px; }
.lf-field label { font-size: 14px; font-weight: 600; }
.lf-field input { padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.lf-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(12,123,220,0.12); }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lf-status { font-size: 14px; font-weight: 600; text-align: center; padding: 10px; border-radius: 10px; }
.lf-status.ok { background: rgba(22,163,74,0.1); color: var(--success); }
.lf-status.err { background: rgba(220,38,38,0.1); color: #dc2626; }
.lf-fineprint { font-size: 12px; color: var(--muted); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { height: 32px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 380px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-2); }

/* Messenger buttons */
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-socials .social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 0; padding: 8px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-socials .social-btn svg { flex-shrink: 0; }
.footer-socials .social-btn:hover { transform: translateY(-2px); color: #fff; }
.social-btn--wa:hover { background: #25d366; border-color: #25d366; }
.social-btn--tg:hover { background: #2aabee; border-color: #2aabee; }
.social-btn--vb:hover { background: #7360f2; border-color: #7360f2; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   FLOATING CTA (mobile)
   ============================================================ */
.float-cta {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 90; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; box-shadow: 0 16px 36px -10px rgba(12,123,220,0.7);
  display: none;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.value-grid .reveal.in:nth-child(2) { transition-delay: 0.08s; }
.value-grid .reveal.in:nth-child(3) { transition-delay: 0.16s; }
.value-grid .reveal.in:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .value-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-shot { max-width: 600px; margin: 0 auto; }
  .shot-frame { transform: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
    padding: 8px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform 0.35s ease; z-index: 95;
  }
  .nav.open { transform: translateY(0); }
  .nav a { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  /* На телефоні лишаємо тільки іконку дзвінка, без тексту номера. */
  .header-phone-num { display: none; }
  .header-phone { padding: 4px; }
  .site-header.scrolled .burger span,
  .site-header .burger span { background: #fff; }
  .site-header.scrolled .burger span { background: var(--ink); }

  .calc-card, .lead-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .hero-trust { gap: 22px; }
  /* На мобільному плашки не плавають по кутах (стикаються й вилазять за екран),
     а стають акуратним рядком під скріншотом. */
  .hero-shot { text-align: center; }
  .shot-chip {
    position: static; display: inline-flex; transform: none; animation: none;
    margin: 10px 4px 0; font-size: 12px; padding: 8px 12px;
    white-space: nowrap; max-width: calc(100% - 8px); box-shadow: var(--shadow-sm);
  }
  .compare-row { grid-template-columns: 1.6fr 0.7fr 0.7fr; }
  .compare-row > div { padding: 14px 12px; font-size: 13px; }
  .float-cta { display: inline-block; }
}

@media (max-width: 480px) {
  .value-grid, .services-grid, .steps { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .calc-controls, .calc-result, .lead-copy, .lead-form { padding: 28px; }
}

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