/* ============================================================================
   chastniy-seo.com.ua — premium redesign (Upwork-inspired)
   Tokens: white surface, Upwork green, Neue Haas / Inter typography
   ============================================================================ */

:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f7faf6;
  --bg-warm:   #faf7f1;
  --bg-dark:   #001e00;
  --bg-dark-2: #042504;

  /* ink (улучшен контраст для AA WCAG 4.5:1) */
  --ink:       #001e00;
  --ink-2:     #2d3d2d;
  --ink-3:     #3d4f3d;
  --ink-mute:  #4d5b4a;       /* был 5e6d55 — теперь 4.5:1 на #fff */
  --ink-soft:  #6b7563;       /* был 8a9485 — теперь 4.5:1 */
  --ink-faint: #98a293;

  /* lines */
  --line:      #e4ebe4;
  --line-soft: #eff2ef;
  --line-dark: rgba(255,255,255,.1);

  /* brand (тёмный достаточно для AA контраста на белом) */
  --primary:     #0e8800;       /* AA-compliant 4.5:1+ */
  --primary-hov: #0a6b00;
  --primary-soft:#e4f5dd;
  --primary-tint:#f6fbf3;

  /* accent (warm) */
  --accent:    #ff8c42;
  --accent-2:  #ffaa6e;
  --warm:      #fff4ea;

  /* semantic */
  --warning:   #f7bb22;
  --info:      #2d63e5;
  --danger:    #ee4f4f;

  /* radii */
  --r-xs:      6px;
  --r-sm:      10px;
  --r:         14px;
  --r-lg:      20px;
  --r-xl:      28px;
  --r-pill:    999px;

  /* shadow (Upwork-soft) */
  --sh-xs:     0 1px 2px rgba(0,30,0,.04);
  --sh-sm:     0 2px 4px rgba(0,30,0,.04), 0 1px 2px rgba(0,30,0,.06);
  --sh:        0 4px 12px -2px rgba(0,30,0,.06), 0 2px 4px rgba(0,30,0,.04);
  --sh-md:     0 8px 24px -4px rgba(0,30,0,.08), 0 2px 6px rgba(0,30,0,.04);
  --sh-lg:     0 24px 48px -12px rgba(0,30,0,.12), 0 4px 12px rgba(0,30,0,.06);
  --sh-xl:     0 40px 80px -16px rgba(0,30,0,.16);

  /* layout */
  --maxw:      1248px;
  --maxw-narrow: 880px;
  --section:   clamp(72px, 9vw, 128px);

  /* motion */
  --ease:      cubic-bezier(.2,.7,.2,1);
  --ease-out:  cubic-bezier(0,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --d-fast:    150ms;
  --d:         220ms;
  --d-slow:    420ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}
body {
  /* system font stack — нативный шрифт ОС, 0 запросов, мгновенный рендер */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--d) var(--ease); }
ul, ol { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--primary); color: #fff; }

/* lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; }
.wrap-narrow { max-width: var(--maxw-narrow); }
.skip-link {
  position: fixed; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

body.no-js .reveal,
body.no-js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
body.no-js .loader, body.no-js .scroll-progress { display: none !important; }

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .4s var(--ease), visibility .4s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.loader-mark {
  font-weight: 800;
  font-size: clamp(32px, 6vw, 56px);
  color: var(--ink);
  letter-spacing: -0.04em;
  white-space: nowrap;
  margin-bottom: 24px;
}
.loader-bar {
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.loader-bar span {
  display: block;
  position: absolute; top: 0; left: 0;
  height: 100%;
  width: 35%;
  background: var(--primary);
  border-radius: 3px;
  animation: loaderBar 1.2s ease-in-out infinite;
}
@keyframes loaderBar {
  0%   { left: -35%; }
  100% { left: 100%; }
}

/* ---------- SCROLL PROGRESS (GPU transform, без layout thrash) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  z-index: 100;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- TYPOGRAPHY ---------- */
.kicker {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
/* dark sections — фон + цвет текста */
.block-dark,
.block-about {
  background: var(--ink);
  color: #fff;
  position: relative;
}
.block-dark .block-text p,
.block-about .block-text p { color: rgba(255,255,255,.78); }
.block-dark .advantages li,
.block-about .advantages li {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.block-dark .advantages b,
.block-about .advantages b { color: #fff; }
.block-dark .advantages span,
.block-about .advantages span { color: rgba(255,255,255,.6); }
.block-dark .card,
.block-about .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: none;
}
.block-dark .card:hover,
.block-about .card:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.2);
}
.block-dark .card .card-list li,
.block-about .card .card-list li {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.08);
}
.block-dark .card .price-from,
.block-about .card .price-from { color: rgba(255,255,255,.55); }

.block-dark .kicker,
.block-about .kicker,
.cta-card .kicker { color: var(--primary); }
.block-dark .kicker::before,
.block-about .kicker::before,
.cta-card .kicker::before { background: var(--primary); }

.block-title {
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: var(--ink);
}
.block-dark .block-title,
.block-about .block-title { color: #fff; }
.block-dark .advantages-title,
.block-about .advantages-title { color: rgba(255,255,255,.7); }

.block-sub {
  color: var(--ink-mute);
  font-size: 18px;
  line-height: 1.5;
  max-width: 60ch;
  margin-top: 4px;
}
.block-dark .block-sub,
.block-about .block-sub { color: rgba(255,255,255,.7); }
.block-dark .card-title,
.block-about .card-title { color: #fff; }
.block-dark .card-tag,
.block-about .card-tag { background: rgba(255,255,255,.08); color: #fff; }
.block-dark .card-featured,
.block-about .card-featured { background: rgba(20,168,0,.12); border-color: var(--primary); }
.block-dark .card-featured .card-tag,
.block-about .card-featured .card-tag { background: var(--primary); color: #fff; }
.block-dark .price-value,
.block-about .price-value { color: #fff; }
.block-dark .card-featured .price-value,
.block-about .card-featured .price-value { color: var(--primary); }

/* CSS reveal-анимации (без GSAP/Lenis) */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: transform, opacity;
}
.reveal.is-visible,
.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* stagger delays для элементов в группе */
.reveal-stagger > *:nth-child(1).is-visible { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2).is-visible { transition-delay: 60ms; }
.reveal-stagger > *:nth-child(3).is-visible { transition-delay: 120ms; }
.reveal-stagger > *:nth-child(4).is-visible { transition-delay: 180ms; }
.reveal-stagger > *:nth-child(5).is-visible { transition-delay: 240ms; }
.reveal-stagger > *:nth-child(6).is-visible { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(n+7).is-visible { transition-delay: 360ms; }
body.no-js .reveal,
body.no-js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--d) var(--ease), border-color var(--d) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,30,0,.02);
}
.site-header.is-cosmos {
  background: rgba(0,30,0,.85);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header > .wrap {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  font-weight: 700;
}
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--ink);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 800; font-size: 14px;
  letter-spacing: -0.02em;
  transition: transform var(--d) var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.logo-sub {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
}
.site-header.is-cosmos .logo-name { color: #fff; }
.site-header.is-cosmos .logo-sub { color: rgba(255,255,255,.6); }

.nav {
  display: flex; gap: 0;
  margin-left: auto;
  position: relative;
  isolation: isolate;
}
.nav-indicator {
  position: absolute;
  top: 50%; left: 0;
  height: 38px;
  width: 0;
  background: var(--primary-soft);
  border-radius: var(--r-pill);
  margin-top: -19px;
  transition: transform .35s var(--ease-spring), width .35s var(--ease-spring), opacity var(--d) var(--ease), background var(--d) var(--ease);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width;
}
.site-header.is-cosmos .nav-indicator {
  background: rgba(20,168,0,.2);
}
.nav.has-active .nav-indicator { opacity: 1; }
.nav a {
  position: relative; z-index: 1;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--d) var(--ease);
  border-radius: var(--r-pill);
}
.nav a:hover { color: var(--primary); }
.nav a.is-active { color: var(--primary); font-weight: 600; }
.site-header.is-cosmos .nav a { color: rgba(255,255,255,.78); }
.site-header.is-cosmos .nav a:hover,
.site-header.is-cosmos .nav a.is-active { color: var(--primary); }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  transition: background var(--d) var(--ease), transform var(--d) var(--ease);
}
.header-phone svg { color: var(--primary); }
.header-phone:hover {
  background: var(--primary);
  transform: translateY(-1px);
}
.header-phone:hover svg { color: #fff; }
.site-header.is-cosmos .header-phone {
  background: var(--primary);
  color: #fff;
}
.site-header.is-cosmos .header-phone svg { color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.site-header.is-cosmos .burger { border-color: rgba(255,255,255,.15); }
.burger span {
  display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--d) var(--ease), opacity var(--d);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  .mobile-nav:not([hidden]) {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    height: calc(100dvh - 68px);
    background: var(--bg);
    color: var(--ink);
    padding: 32px 28px 48px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 60;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.mobile-nav a {
  font-size: 22px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mobile-nav a.mobile-phone {
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  text-align: center;
  font-size: 16px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  position: relative;
  transition: background var(--d) var(--ease), color var(--d) var(--ease), border-color var(--d) var(--ease), transform var(--d) var(--ease), box-shadow var(--d) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-text { position: relative; z-index: 2; }
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: transform var(--d) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hov);
  border-color: var(--primary-hov);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -4px rgba(20,168,0,.32);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  padding: 11px 20px;
  font-size: 14px;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-tint);
}
.block-dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.block-dark .btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.breadcrumb a {
  color: var(--ink-mute);
  transition: color var(--d) var(--ease);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- RELATED SERVICES ---------- */
.block-related { background: var(--bg); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.related-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
  min-height: 140px;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--sh-md);
}
.related-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.related-card h3 {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
}
.related-arrow {
  align-self: flex-end;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 14px;
  color: var(--ink);
  transition: background var(--d) var(--ease), color var(--d) var(--ease);
  margin-top: 12px;
}
.related-card:hover .related-arrow {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(20,168,0,.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(255,140,66,.04), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.hero-rating {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 28px;
  box-shadow: var(--sh-xs);
}
.hero-rating b { font-weight: 700; }
.hero-rating .stars-icon {
  color: var(--warning);
  font-size: 13px;
  letter-spacing: 1px;
}
.hero-rating .dot {
  width: 4px; height: 4px;
  background: var(--ink-faint);
  border-radius: 50%;
}
.hero-rating .online {
  color: var(--primary);
  font-weight: 600;
  position: relative;
  padding-left: 14px;
}
.hero-rating .online::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 var(--primary);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(20,168,0,.5); }
  70% { box-shadow: 0 0 0 8px rgba(20,168,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,168,0,0); }
}

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title .hl {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.16em;
  background: var(--primary-soft);
  z-index: -1;
  border-radius: 2px;
}

.hero-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero-lead b { color: var(--ink); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.hero-stats li {
  padding: 24px 16px 0;
  border-right: 1px solid var(--line);
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats b {
  display: block;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}

/* hero form card */
.hero-form-card {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--sh-lg);
}
.form-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.form-badge-pulse {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: dotPulse 2s infinite;
}
.form-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-sub {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.feedback-form { display: flex; flex-direction: column; gap: 16px; }
.field { position: relative; display: block; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 15px;
  transition: border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.input::placeholder { color: var(--ink-soft); }
.input:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field-line { display: none; }
.action-input {
  position: absolute !important;
  left: -9999px !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none;
}
textarea.input { resize: vertical; min-height: 60px; }
.form-policy {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

.scroll-cue { display: none; }

/* marquee */
.marquee {
  margin-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: inline-flex; gap: 36px;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  font-size: 15px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.marquee-track span:nth-child(2n) { color: var(--ink-soft); font-weight: 400; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- BLOCK base ---------- */
.block { padding: var(--section) 0; position: relative; }
.block-cream { background: var(--bg); color: var(--ink); }
.block-light { background: var(--bg-soft); color: var(--ink); }

.block-head { margin-bottom: clamp(40px, 5vw, 64px); position: relative; }

.block-counter {
  display: inline-flex; align-items: baseline; gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-top: 24px;
  box-shadow: var(--sh-xs);
}

.counter-value {
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 14px;
  max-width: 32ch;
  color: var(--ink-mute);
  line-height: 1.4;
}

.block-text {
  max-width: 70ch;
  margin-bottom: 40px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.block-text p + p { margin-top: 12px; }

.advantages-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}
.advantages li {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.advantages li:hover {
  transform: translateY(-2px);
  border-color: var(--ink-faint);
  box-shadow: var(--sh);
}
.advantages b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--ink);
}
.advantages span {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* ---------- PROCESS ---------- */
.process {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--bg-soft);
  color: var(--ink);
}
.process-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.process-head .kicker { justify-content: center; }
.process-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
  z-index: 1;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--sh-md);
}
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.process-step:hover .process-num {
  background: var(--primary);
  color: #fff;
}
.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.process-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.process-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--r-pill);
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
  box-shadow: var(--sh-xs);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--sh-md);
}

.card-featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.card-featured .card-title { color: #fff; }
.card-featured .card-list li { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.08); }
.card-featured .price-from { color: rgba(255,255,255,.55); }
.card-featured .card-tag { background: var(--primary); color: #fff; }
.card-featured .price-value { color: var(--primary); }

.ribbon {
  position: absolute; top: 16px; right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  z-index: 2;
}

.card-head { margin-bottom: 20px; }
.card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.card-list {
  flex: 1;
  margin-bottom: 24px;
}
.card-list li {
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 16px; height: 11px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg viewBox='0 0 16 11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5l4 4L15 1' stroke='%2314a800' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.card-featured .card-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5l4 4L15 1' stroke='%2314a800' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.card-list li:last-child { border-bottom: 0; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.price { display: inline-flex; align-items: baseline; gap: 4px; }
.price-from {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.price-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-period {
  font-size: 13px;
  color: var(--ink-mute);
  margin-left: 2px;
}

/* ---------- GALLERY ---------- */
.gallery-marquee {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-track {
  display: flex; gap: 16px;
  width: max-content;
}
.gallery-item {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: clamp(280px, 26vw, 400px);
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--sh-xs);
  transition: transform var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "↗";
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  opacity: 0;
  transition: opacity var(--d) var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- TESTIMONIALS (Upwork-premium) ---------- */
.block-testimonials { background: var(--bg); }
.testimonials-head { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.testimonials-head .kicker { justify-content: center; }
.rev-summary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 20px 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.rev-rating {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: var(--ink);
}
.rev-score {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.rev-stars { display: inline-flex; gap: 1px; }
.rev-stars svg { display: block; }
.rev-stars svg path { fill: var(--warning); }
.rev-count { color: var(--ink-mute); font-size: 14px; }
.rev-count b { color: var(--ink); font-weight: 700; }
.rev-trust {
  display: inline-flex; flex-wrap: wrap; gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: center;
}
.rev-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.rev-trust-item svg { color: var(--primary); }

.reviews-carousel { position: relative; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
  box-shadow: var(--sh-xs);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--sh-md);
}

.review-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ag1, #14a800), var(--ag2, #5fc54e));
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.review-meta { display: flex; flex-direction: column; min-width: 0; }
.review-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.review-role {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.review-stars {
  display: inline-flex; gap: 1px;
  align-self: start;
}
.review-stars span {
  width: 12px; height: 12px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23f7bb22' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.review-text {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.review-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-mute);
}
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--primary);
}
.verified svg { color: var(--primary); }
.review-foot time {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.reviews-controls {
  display: none;
  align-items: center; justify-content: center; gap: 16px;
  margin-top: 28px;
}
.rev-arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: all var(--d) var(--ease);
  box-shadow: var(--sh-xs);
}
.rev-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(20,168,0,.3);
}
.rev-arrow:disabled { opacity: .3; pointer-events: none; }
.rev-dots { display: inline-flex; gap: 8px; }
.rev-dots .dot-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 0; padding: 0;
  cursor: pointer;
  transition: all var(--d) var(--ease);
}
.rev-dots .dot-btn.is-active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .reviews-carousel.is-mobile-carousel .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .reviews-carousel.is-mobile-carousel .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-carousel.is-mobile-carousel .review-card {
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  .reviews-carousel.is-mobile-carousel .reviews-controls { display: flex; }
  .rev-summary { padding: 18px 24px; }
  .rev-trust { gap: 12px; }
}

/* ---------- ABOUT ---------- */
.block-about {
  background: var(--ink);
  color: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-tag {
  font-size: 19px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  max-width: 50ch;
  margin-top: 12px;
  line-height: 1.5;
}
.about-quote {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  padding: 28px 32px;
  position: relative;
  margin-bottom: 36px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  color: #fff;
}
.about-quote::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.about-points { display: grid; gap: 16px; margin-bottom: 36px; }
.about-points li {
  padding: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  transition: transform var(--d) var(--ease), border-color var(--d) var(--ease);
}
.about-points li:hover {
  transform: translateY(-2px);
  border-color: rgba(20,168,0,.4);
}
.about-points h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: #fff;
}
.about-points p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.55;
}

.tools-card {
  padding: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
}
.tools-card h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tools li {
  padding: 7px 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: all var(--d) var(--ease);
}
.tools li:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.faq details[open] {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ink);
  transition: color var(--d) var(--ease);
}
.faq summary > span { flex: 1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  position: relative;
  transition: background var(--d) var(--ease), transform var(--d) var(--ease);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: 38px;
  top: 50%;
  width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center/12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 12px no-repeat;
  transform: translateY(-50%);
  color: var(--ink);
  pointer-events: none;
  transition: transform var(--d) var(--ease);
}
.faq details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
  background:
    linear-gradient(currentColor, currentColor) center/12px 2px no-repeat;
  color: var(--primary);
}
.faq details[open] summary::after { background: var(--primary-soft); }
.faq summary:hover { color: var(--primary); }
.faq-body {
  padding: 0 26px 24px;
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.65;
  animation: faqOpen .3s var(--ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA FINAL ---------- */
.cta-final { background: var(--bg); }
.cta-card {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 64px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(20,168,0,.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 0%, rgba(255,140,66,.08), transparent 60%);
  pointer-events: none;
}
.cta-bg::before { display: none; }
.cta-card .kicker { color: var(--primary); justify-content: center; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-card .kicker::before { background: var(--primary); }
.cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  position: relative; z-index: 1;
  color: #fff;
}
.cta-title .hl {
  color: var(--primary);
}
.cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  position: relative; z-index: 1;
}
.cta-actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 80px 0 32px;
  background: var(--ink);
  color: rgba(255,255,255,.7);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: 14.5px;
  margin-top: 18px;
  max-width: 32ch;
  line-height: 1.55;
  color: rgba(255,255,255,.6);
}
.logo-foot .logo-mark {
  background: var(--primary);
  color: #fff;
}
.logo-foot .logo-name { color: #fff; }
.logo-foot .logo-sub { color: rgba(255,255,255,.55); }

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h4,
.footer-contact h4,
.footer-nav .footer-h,
.footer-contact .footer-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 8px;
}
.footer-nav a, .footer-contact .contact-line {
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  transition: color var(--d) var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-nav a:hover, a.contact-line:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.contact-line svg { color: var(--primary); }

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.back-top {
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--d) var(--ease);
}
.back-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- MODAL ---------- */
.modal {
  border: 0; padding: 0;
  max-width: 480px; width: calc(100% - 32px);
  border-radius: var(--r-xl);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--sh-xl);
  overflow: visible;
  border: 1px solid var(--line);
}
.modal::backdrop {
  background: rgba(0,30,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal[open] { animation: modalPop .3s var(--ease-spring); }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal > form.feedback-form { padding: 32px; gap: 16px; }
.modal-close-form { position: absolute; top: 14px; right: 14px; }
.modal-close {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 50%;
  font-size: 22px;
  transition: background var(--d) var(--ease), color var(--d) var(--ease);
}
.modal-close:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--sh-xl);
  z-index: 110;
  opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease-spring), opacity .3s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.is-error { background: var(--danger); }
.toast.is-success { background: var(--primary); color: #fff; }

/* ---------- FLOAT CALL ---------- */
.float-action {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 24px -8px rgba(20,168,0,.4), 0 6px 12px rgba(0,30,0,.08);
  z-index: 30;
  transition: transform var(--d) var(--ease), background var(--d) var(--ease);
}
.float-action:hover {
  transform: translateY(-2px);
  background: var(--primary-hov);
}
.float-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--primary);
  z-index: -1;
  animation: floatPulse 2s ease-out infinite;
}
@keyframes floatPulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .tools-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-featured { grid-column: span 2; }
}

@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .site-header > .wrap { height: 68px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  .wrap { padding: 0 20px; }
  .site-header > .wrap { gap: 12px; justify-content: space-between; }
  .hero { padding-top: 100px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li { padding: 20px 12px 0; }
  .hero-stats li:nth-child(2) { border-right: 0; }
  .advantages { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card-featured { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-form-card { padding: 24px; }
  .block-counter { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; }
  .counter-label { max-width: none; }
  .faq summary { padding: 18px 22px; font-size: 15px; }
  .faq-body { padding: 0 22px 20px; }
  .marquee-track { animation-duration: 30s; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 11vw, 56px); }
  .block-title { font-size: clamp(28px, 9vw, 40px); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { border-right: 0; }
  .advantages { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .float-action { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > *, 
  .cursor { display: none; }
}

@media print {
  .site-header, .footer, .float-action, .modal, .marquee, .hero-form-card, .scroll-progress, .loader { display: none !important; }
  body { background: #fff; color: #000; }
}
