/* ============================================================
   АКУМУЛЯТОР-Центр · Лендінг «СЕС під ключ для дому»
   Стек: vanilla CSS. Структура: reset → tokens → fonts → base →
   компоненти → секції → мобільне → reduced-motion
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, fieldset { font: inherit; border: 0; background: none; }
fieldset { min-inline-size: 0; }

/* ---------- Tokens ---------- */
:root {
  --green: #299A00;
  --green-mid: #4BA53A;
  --green-dark: #123B22;
  --green-tint: #EAF5E3;
  --sun-yellow: #F5C40C;
  --sun-orange: #F5820C;
  --grad-sun: linear-gradient(100deg, #F5C40C 0%, #F5820C 100%);
  --grad-green: linear-gradient(135deg, #4BA53A 0%, #299A00 100%);

  --bg: #FBFAF6;
  --bg-alt: #F3F1E9;
  --ink: #1A2419;
  --muted: #5A6656;
  --line: #E2DFD3;
  --white: #FFFFFF;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --fs-h1: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  --fs-body: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-small: 0.875rem;

  --sect-pad: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius: 20px;
  --radius-btn: 999px;
  --shadow: 0 12px 40px rgba(26, 36, 25, 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Fonts (self-hosted, cyrillic + latin subsets) ---------- */
@font-face { font-family:'Unbounded'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/unbounded-600-cyrillic.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Unbounded'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/unbounded-600-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Unbounded'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/unbounded-700-cyrillic.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Unbounded'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/unbounded-700-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/manrope-400-cyrillic.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/manrope-400-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/manrope-600-cyrillic.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/manrope-600-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/manrope-800-cyrillic.woff2') format('woff2'); unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:'Manrope'; font-style:normal; font-weight:800; font-display:swap; src:url('fonts/manrope-800-latin.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
section { scroll-margin-top: 90px; }
.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section-sub { color: var(--muted); max-width: 56ch; margin-top: 0.9rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--radius-btn);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad-sun); color: #3A2400; box-shadow: 0 8px 24px rgba(245,130,12,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,130,12,.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--green-mid); color: var(--green); }
.btn-ghost--light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost--light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Arc dividers (фірмова «сонячна дуга») ---------- */
.arc { display: block; width: 100%; height: clamp(40px, 8vw, 96px); color: var(--bg); line-height: 0; }
.arc svg { display: block; width: 100%; height: 100%; }
.arc-top { transform: translateY(-1px); }
.arc-bottom { transform: translateY(1px); }

/* ---------- Image blend (злиття фото з фоном) ---------- */
.img-blend { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-blend::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(251,250,246,.5) 0%, transparent 14%, transparent 86%, rgba(251,250,246,.5) 100%);
}

/* ---------- Camera zoom (наїзд камери) ---------- */
.cam-zoom { overflow: hidden; }
.cam-zoom img { width: 100%; height: 100%; object-fit: cover; }
html.js .cam-zoom img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
html.js .cam-zoom.on img { transform: scale(1); }
@supports (animation-timeline: view()) {
  .cam-zoom--scroll img { animation: camzoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; transition: none; }
  @keyframes camzoom { from { transform: scale(1.14); } to { transform: scale(1); } }
}

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.on { opacity: 1; transform: translateY(0); }

/* На мобільному reveal шкодить більше, ніж дає: при швидкому скролі з реклами
   IntersectionObserver не встигає, і людина бачить порожні кремові смуги
   замість контенту. Показуємо одразу. */
@media (max-width: 760px) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Chips ---------- */
.chip {
  display: inline-block; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--muted); background: var(--white); white-space: nowrap;
}
.chip--green { background: var(--green-tint); border-color: transparent; color: var(--green-dark); white-space: normal; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251, 250, 246, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(251, 250, 246, .94); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 10px; row-gap: 0; line-height: 1.1; }
.logo-mark { grid-row: 1 / span 2; width: 46px; min-width: 46px; height: 46px; display: block; object-fit: contain; }
@media (max-width: 1023px) { .logo-mark { width: 46px; min-width: 46px; height: 34px; } }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: .01em; }
.logo-word em { font-style: normal; color: var(--green); }
.logo-word--light { color: #fff; }
.logo-sub { font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.site-nav { display: none; gap: 18px; margin-inline: auto; }
.site-nav a { font-weight: 600; font-size: .9rem; color: var(--ink); transition: color .2s; white-space: nowrap; }
.site-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-phone { font-weight: 800; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--green); }
.header-phone-icon { display: none; }
.only-mob { display: none; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
@media (max-width: 1279px) and (min-width: 1024px) { .header-phone { display: none; } }
@media (max-width: 1023px) { .logo-sub { display: none; } }
@media (max-width: 767px) {
  .header-inner { height: 60px; gap: 12px; }
  .header-phone { display: none; }
  .header-cta { display: none; }
  .header-phone-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-tint); color: var(--green);
  }
  .header-phone-icon svg { width: 20px; height: 20px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,36,25,.46) 0%, rgba(26,36,25,.16) 45%, rgba(251,250,246,0) 72%, var(--bg) 98%);
}
.hero-content { position: relative; z-index: 1; max-width: 1200px; width: 100%; padding-top: 68px; }
.hero h1 { max-width: 760px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .accent { color: var(--sun-yellow); }
/* Вишукана скляна підкладка під підзаголовком */
.hero-sub {
  position: relative; display: inline-block; max-width: 660px;
  margin-top: 1.4rem; padding: 20px 28px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.02rem, .9rem + .72vw, 1.5rem); line-height: 1.42;
  letter-spacing: -.005em; color: var(--ink); text-shadow: none;
  background: linear-gradient(135deg, rgba(255,255,255,.27) 0%, rgba(255,255,255,.22) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(1.35) brightness(1.55);
  backdrop-filter: blur(24px) saturate(1.35) brightness(1.55);
  border: 1px solid rgba(255,255,255,.5); border-radius: 20px;
  box-shadow:
    0 18px 46px rgba(12,22,10,.26),
    0 2px 6px rgba(12,22,10,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
}
.hero-sub::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
}
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 4px; }
.hero-sub b { font-weight: 800; color: var(--ink); }
.hero-30 {
  color: var(--green) !important; font-weight: 800; white-space: nowrap;
  text-shadow: 0 2px 10px rgba(41,154,0,.32), 0 1px 0 rgba(255,255,255,.6);
}
@media (max-width: 560px) {
  .hero-sub { display: block; padding: 15px 17px; border-radius: 16px; }
}
.hero-cta { display: flex; gap: 14px; margin-top: 2rem; flex-wrap: wrap; }
@media (max-width: 767px) {
  .hero { min-height: 92svh; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-shade { background: linear-gradient(180deg, rgba(26,36,25,.55) 0%, rgba(26,36,25,.34) 55%, rgba(26,36,25,.1) 78%, var(--bg) 98%); }
}

/* ============================================================
   TRUST
   ============================================================ */
.trust { padding: clamp(2rem, 4vw, 3.5rem) 0 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.count, .trust-num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); color: var(--green); }
.trust-label { color: var(--muted); font-size: var(--fs-small); }
.marquee { overflow: hidden; margin-top: clamp(1.6rem, 3vw, 2.6rem); padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 14px; width: max-content; animation: marquee 44s linear infinite; }
.blogo { flex: none; display: flex; align-items: center; justify-content: center;
  width: 152px; height: 66px; padding: 8px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.blogo img { max-width: 100%; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.blogo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Друга стрічка: бренди інверторів, рух у зворотний бік */
.marquee--rev { margin-top: 12px; }
.marquee-track--rev { animation: marqueeRev 52s linear infinite; }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ichip { flex: none; display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  font: 700 .95rem var(--font-display); letter-spacing: .01em;
  color: var(--green-dark); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(26,36,25,.05); min-height: 52px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.ichip:hover { transform: translateY(-3px); border-color: var(--green-mid); box-shadow: var(--shadow); }
.ichip--logo { padding: 8px 20px; }
.ichip--logo img { display: block; width: auto; height: 30px; max-width: 124px; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   SECTIONS common
   ============================================================ */
.section-alt { background: var(--bg-alt); }
.pains .container, .economy .container, .steps .container,
.works .container, .team .container, .whyus .container, .faq .container { padding-block: var(--sect-pad); }
.pains .container { padding-block: calc(var(--sect-pad) * .55); }
.kits { padding-block: var(--sect-pad); }

/* ---------- PAINS (нічна фото-стрічка) ---------- */
.pains--night { position: relative; color: #fff; overflow: hidden; }
.pains-bg { position: absolute; inset: 0; z-index: 0;
  background: url('images/pain-blackout.jpg') center / cover no-repeat; }
.pains-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,24,.82) 0%, rgba(8,14,24,.5) 45%, rgba(8,14,24,.82) 100%); }
.pains--night .arc, .pains--night .container { position: relative; z-index: 1; }
.pains--night h2 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.section-sub--light { color: rgba(255,255,255,.85); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.4rem; }
.pain-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 30px 26px; }
.pain-card .icon { width: 42px; height: 42px; color: var(--sun-yellow); margin-bottom: 16px; }
.pain-card h3 { color: #fff; }
.pain-card p { color: rgba(255,255,255,.82); margin-top: 8px; font-size: .98rem; }
@media (min-width: 1024px) { .pains-bg { background-attachment: fixed; } }
@media (max-width: 900px) { .pains-grid { grid-template-columns: 1fr; gap: 14px; } .pain-card { padding: 22px 20px; } }

/* ---------- Сонячні диски (декор) ---------- */
.sun-disc { position: absolute; width: clamp(260px, 34vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,196,12,.20), transparent 70%);
  filter: blur(8px); pointer-events: none; z-index: 0; }
.sun-disc--tr { top: -80px; right: -100px; }
.sun-disc--bl { bottom: -60px; left: -120px; }
/* Ледь помітна сітка комірок сонячної панелі у фоні */
.cellgrid, .cellbus { position: absolute; inset: -12% -6%; z-index: 0; pointer-events: none;
  will-change: transform; }
.cellgrid--lg {
  background-image:
    linear-gradient(rgba(26,36,25,.075) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(26,36,25,.075) 1.5px, transparent 1.5px);
  background-size: 158px 158px;
  -webkit-mask-image: radial-gradient(150% 120% at 50% 48%, #000 60%, transparent 100%);
  mask-image: radial-gradient(150% 120% at 50% 48%, #000 60%, transparent 100%); }
.cellgrid--sm {
  background-image:
    linear-gradient(rgba(26,36,25,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,36,25,.05) 1px, transparent 1px);
  background-size: 31.6px 31.6px;
  -webkit-mask-image: radial-gradient(135% 105% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(135% 105% at 50% 50%, #000 52%, transparent 100%); }
.cellbus {
  background-image: linear-gradient(90deg, rgba(41,154,0,.13) 2px, transparent 2px);
  background-size: 316px 100%;
  -webkit-mask-image: radial-gradient(125% 95% at 50% 50%, #000 45%, transparent 100%);
  mask-image: radial-gradient(125% 95% at 50% 50%, #000 45%, transparent 100%); }

/* Підсвічені комірки — саме вони роблять рух фону помітним */
.cellspots { position: absolute; inset: -14% -6%; z-index: 0; width: 112%; height: 128%;
  object-fit: cover; pointer-events: none; will-change: transform;
  -webkit-mask-image: radial-gradient(125% 100% at 50% 48%, #000 45%, transparent 100%);
  mask-image: radial-gradient(125% 100% at 50% 48%, #000 45%, transparent 100%); }

@media (prefers-reduced-motion: reduce) {
  html.js .kits [data-par] { transform: none !important; }
}

.kits, .economy, .faq { position: relative; overflow: clip; }
.kits .container, .economy .container, .faq .container { position: relative; z-index: 1; }

/* ---------- KITS ---------- */
.kits-wrap { margin-top: 2.2rem; }
.kits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.kit-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.kit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-mid); }
.kit-card--hit { border: 2px solid var(--green-mid); box-shadow: var(--shadow); }
.kit-badge {
  align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .02em;
  color: var(--green-dark); background: var(--green-tint); border-radius: 999px; padding: 5px 14px;
}
.kit-badge--hit { background: var(--grad-green); color: #fff; }
.kit-power { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); margin-top: 14px; }
.kit-power small { font-size: .45em; font-weight: 600; color: var(--muted); }
.pscale { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 12px; max-width: 168px; }
.pscale i { width: 14px; height: 20px; border-radius: 3px;
  background: linear-gradient(160deg, #2E4057 0%, #16202F 100%);
  border: 1px solid rgba(75,165,58,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.kit-list { margin-top: 14px; display: grid; gap: 7px; font-size: .95rem; }
.kit-list li { padding-left: 20px; position: relative; }
.kit-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); }
.kit-list--result { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.kit-list--result li::before { background: var(--sun-yellow); }
.kit-price { margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.kit-gov { display: flex; align-items: center; gap: 8px; margin-top: 8px; margin-bottom: 18px; font-size: .82rem; font-weight: 600; color: var(--green); }
.kit-gov .check { width: 16px; height: 16px; flex: none; }
.kit-gov--part { color: var(--muted); }
/* Об'ємна зелена кнопка комплекту; кожна наступна темніша */
.kit-btn {
  margin-top: auto; width: 100%;
  padding: 16px 20px; font-size: .88rem; letter-spacing: .005em;
  border: 0; color: #fff;
  background: linear-gradient(180deg, var(--kit-btn-1, #58C044) 0%, var(--kit-btn-2, #2E9A0F) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -2px 6px rgba(0,0,0,.18),
    0 6px 16px rgba(30,120,10,.30),
    0 2px 4px rgba(0,0,0,.12);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
}
.kit-btn:hover {
  color: #fff; transform: translateY(-2px); filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -2px 6px rgba(0,0,0,.18),
    0 12px 26px rgba(30,120,10,.38),
    0 3px 6px rgba(0,0,0,.14);
}
.kit-btn:active { transform: translateY(1px);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.28), 0 3px 8px rgba(30,120,10,.25); }
.kits-grid .kit-card:nth-child(1) .kit-btn { --kit-btn-1: #6CCB55; --kit-btn-2: #3EA81E; }
.kits-grid .kit-card:nth-child(2) .kit-btn { --kit-btn-1: #58C044; --kit-btn-2: #2E9A0F; }
.kits-grid .kit-card:nth-child(3) .kit-btn { --kit-btn-1: #45AE33; --kit-btn-2: #1F8408; }
.kits-grid .kit-card:nth-child(4) .kit-btn { --kit-btn-1: #349426; --kit-btn-2: #146A05; }
@media (max-width: 1100px) and (min-width: 768px) { .kits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .kits-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; gap: 14px; padding-bottom: 10px; margin-inline: -16px; padding-inline: 16px; }
  .kit-card { flex: 0 0 82vw; scroll-snap-align: center; }
  .kit-card--hit { order: -1; }
}

/* ---------- PROGRAM (dark, панорама з паралаксом) ---------- */
.program { color: #F2F7EE; position: relative; overflow: clip;
  background: linear-gradient(rgba(18,59,34,.93), rgba(18,59,34,.95)), url('images/energy-panorama.jpg') center / cover no-repeat var(--green-dark); }
@media (min-width: 1024px) { .program { background-attachment: fixed, fixed; } }
.program .container { padding-block: calc(var(--sect-pad) * .7); }
.program-head { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: center; }
.program-head h2 { color: #fff; }
.program-head p { margin-top: 1rem; color: rgba(242,247,238,.85); max-width: 56ch; }
.program-big {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(4rem, 10vw, 8rem); color: var(--sun-yellow); text-align: center;
  text-shadow: 0 6px 60px rgba(245,196,12,.35);
}
.program-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.4rem; }
.program-fact {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, #1B492B 0%, #164027 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px;
}
.program-fact strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--sun-yellow); }
.program-fact span { color: rgba(242,247,238,.8); font-size: .92rem; line-height: 1.5; }
.program-note { margin-top: 1.6rem; font-size: var(--fs-small); color: rgba(242,247,238,.7); max-width: 76ch; }
.program-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2.2rem; }
.program-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.step-dot {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sun-yellow); color: #3A2400; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.program-cta { margin-top: 2.4rem; }
@media (max-width: 900px) {
  .program-head { grid-template-columns: 1fr; }
  .program-big { order: -1; text-align: left; }
  .program-facts, .program-steps { grid-template-columns: 1fr; }
  .program-steps { gap: 12px; }
}

/* ---------- ECONOMY ---------- */
.economy-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; margin-top: 2.2rem; align-items: stretch; }
.economy-calc { background: var(--green-tint); border-radius: var(--radius); padding: 30px 28px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 12px; }
.calc-row span { color: var(--ink); }
.calc-row small { color: var(--muted); font-size: .82rem; }
.calc-row strong { font-family: var(--font-body); font-weight: 800; white-space: nowrap; }
.calc-total { margin-top: 10px; padding-top: 16px; border-top: 2px solid rgba(41,154,0,.25); }
.calc-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 4px; }
.calc-total-row strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--green); white-space: nowrap; }
.calc-total p { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.calc-note { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.economy-chart { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.economy-chart h3 { font-size: 1rem; }
.chart-bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; margin-top: 22px; min-height: 260px; }
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart-val { font-weight: 800; font-size: .88rem; color: var(--ink); }
.chart-bar {
  width: 100%; max-width: 72px; height: var(--h); border-radius: 12px 12px 4px 4px;
  background: var(--green-mid); transform-origin: bottom;
}
html.js .chart-bar { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(var(--d) * 120ms); }
.chart-bar--sun { background: var(--grad-sun); }
html.js .economy-chart.on .chart-bar { transform: scaleY(1); }
.chart-cap { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .economy-grid { grid-template-columns: 1fr; } .chart-bars { min-height: 200px; } }

/* ---------- EV ---------- */
.ev-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding-block: calc(var(--sect-pad) * .55); }
.ev-photo { aspect-ratio: 4 / 3; border-radius: 28px 190px 28px 28px; }
@media (max-width: 900px) { .ev-photo { border-radius: 24px 110px 24px 24px; } }
.ev-text p { color: var(--muted); margin-top: .9rem; }
.ev-text h2 + p { margin-top: 1.2rem; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- STEPS (круглі медальйони) ---------- */
.steps-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 2.4rem; }
.steps-list li { position: relative; }
.step-visual { position: relative; display: inline-flex; width: 96px; height: 96px; margin-bottom: 16px; }
.step-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--white); box-shadow: var(--shadow); }
.step-visual--icon { align-items: center; justify-content: center; border-radius: 50%;
  background: var(--green-tint); color: var(--green); border: 3px solid var(--white); box-shadow: var(--shadow); }
.step-visual--icon svg { width: 38px; height: 38px; }
.step-visual b { position: absolute; top: -4px; right: -6px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sun-yellow); color: #3A2400;
  font: 700 .92rem var(--font-display); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.steps-list h3 { font-size: 1.02rem; }
.steps-list p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
@media (max-width: 1000px) {
  .steps-list { grid-template-columns: 1fr; gap: 0; }
  .steps-list li { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; padding-bottom: 28px; }
  .step-visual { width: 72px; height: 72px; margin-bottom: 0; grid-row: 1 / span 2; }
  .step-visual--icon svg { width: 30px; height: 30px; }
  .step-visual b { width: 26px; height: 26px; font-size: .8rem; }
  .steps-list h3 { align-self: center; }
  .steps-list p { grid-column: 2; }
  .steps-list li:not(:last-child)::before {
    content: ""; position: absolute; left: 35px; top: 80px; bottom: 0; width: 2px; background: var(--line);
  }
}

/* ---------- WORKS: скролер об'єктів ---------- */
.works-scroller { position: relative; margin-top: 2.4rem;
  padding-inline: clamp(16px, 4vw, 40px); }
.works-progress { max-width: 1200px; margin-inline: auto; }
.works-track {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 14px; margin-inline: -4px;
  scrollbar-width: none; -ms-overflow-style: none;
  /* Дозволяємо горизонтальний пан пальцем, вертикальний скрол сторінки лишається */
  touch-action: pan-x pan-y pinch-zoom;
  /* Свайп до краю не має вмикати «назад» у браузері */
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;   /* інерція на iOS */
}
/* На тачі плавна прокрутка бʼється з інерцією пальця — лишаємо нативну */
@media (hover: none), (pointer: coarse) {
  .works-track { scroll-behavior: auto; }
}
.works-track .work-card { flex: 0 0 calc((100% - 40px) / 2.4); }
@media (max-width: 1100px) { .works-track .work-card { flex-basis: calc((100% - 20px) / 1.6); } }
@media (max-width: 700px) { .works-track .work-card { flex-basis: 88%; } }
.works-track::-webkit-scrollbar { display: none; }
.works-track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--radius); }
.works-track .work-card { scroll-snap-align: start; margin: 0; }
.works-nav {
  position: absolute; top: 38%; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(26,36,25,.16);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.works-nav svg { width: 22px; height: 22px; }
.works-nav:hover { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.08); }
.works-nav--prev { left: clamp(6px, 1.4vw, 16px); }
.works-nav--next { right: clamp(6px, 1.4vw, 16px); }
.works-nav[disabled] { opacity: .3; pointer-events: none; }
/* Смуга прокрутки: її можна тягнути мишею */
.works-progress { position: relative; height: 10px; background: var(--line); border-radius: 999px;
  margin-top: 10px; cursor: grab; touch-action: none; }
.works-progress:active { cursor: grabbing; }
.works-progress span { position: absolute; top: 0; left: 0; display: block; height: 100%; width: 33%;
  border-radius: 999px; background: var(--grad-sun); pointer-events: none;
  box-shadow: 0 2px 6px rgba(245,130,12,.35);
  transition: width .2s var(--ease), transform .2s var(--ease); }
.works-progress.dragging span { transition: none; }
@media (max-width: 700px) { .works-nav { display: none; } }

.works-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-top: 2.4rem; }
.work-card { position: relative; aspect-ratio: 4 / 3; }
.work-card img { width: 100%; height: 100%; object-fit: cover; }
.work-card figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  background: rgba(26,36,25,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 16px; color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.work-card figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.work-card figcaption span { font-size: .82rem; color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr; } }

/* ---------- TEAM (на всю ширину екрана, фото +30%) ---------- */
.team { overflow: hidden; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 2.4rem; padding-inline: clamp(16px, 3vw, 34px); }
.team-card .img-blend { aspect-ratio: 4 / 4.4; border-radius: 20px 20px 20px 64px; }
.team-card:nth-child(even) .img-blend { border-radius: 20px 20px 64px 20px; }
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card figcaption { margin-top: 10px; font-weight: 600; font-size: .92rem; text-align: center; }
.team-strip { margin-top: 2rem; text-align: center; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- WHY US (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.4rem; }
.bento-cell { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.bento-cell p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.bento-cell a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bento-cell--tint { background: var(--green-tint); border-color: transparent; }
.bento-cell--photo { grid-column: span 2; position: relative; overflow: hidden; padding: 0; border: 0; min-height: 260px; }
.bento-cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-cell--photo .bento-overlay {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 24px; color: #fff;
  background: linear-gradient(180deg, rgba(26,36,25,0) 20%, rgba(26,36,25,.72) 100%);
}
.bento-cell--photo .bento-overlay p { color: rgba(255,255,255,.88); max-width: 52ch; }
.bento-cell--photo-sm { grid-column: span 1; min-height: 240px; }
.bento-cell--num { position: relative; overflow: hidden; }
.bento-ghost { position: absolute; right: -6px; bottom: -34px; z-index: 0;
  font: 700 8rem var(--font-display); line-height: 1; color: transparent;
  -webkit-text-stroke: 2px var(--green-tint); pointer-events: none; user-select: none; }
.bento-cell--num h3, .bento-cell--num p { position: relative; z-index: 1; }
.bento-logo { width: 52px; height: 46px; flex: none; align-self: center; object-fit: contain; }
.bento-cell--wide { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.bento-cell--wide h3 { flex: none; }
.bento-cell--wide p { margin-top: 0; flex: 1 1 380px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell--photo { grid-column: span 1; }
  .bento-cell--wide { display: block; }
  .bento-cell--wide p { margin-top: 10px; }
}

/* ---------- FAQ ---------- */
.faq-container { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: none; width: 22px; height: 22px; color: var(--green); transition: transform .3s var(--ease); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { padding: 0 4px 20px; color: var(--muted); max-width: 68ch; }
.faq h2 { margin-bottom: 1.4rem; }

/* ---------- LEAD ---------- */
.lead { background: var(--green-tint); }
.lead-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding-block: calc(var(--sect-pad) * .6); align-items: start; }
.lead-card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); }
.lead-card h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.lead-sub { color: var(--muted); margin-top: .7rem; font-size: .95rem; }
#lead-form { margin-top: 1.6rem; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input {
  width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; color: var(--ink);
  transition: border-color .2s;
}
.field input::placeholder { color: #9AA394; font-size: 1.05rem; font-weight: 400; letter-spacing: 0; }
.field-opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
.field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  resize: vertical; min-height: 62px; transition: border-color .2s;
}
.field textarea::placeholder { color: #9AA394; font-size: .95rem; }
.field textarea:focus { outline: none; border-color: var(--green-mid); }
.field input:focus { outline: none; border-color: var(--green-mid); }
.field input.invalid { border-color: #C0392B; }
.field-error { color: #C0392B; font-size: .82rem; }
.channel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.channel legend { font-weight: 600; font-size: .92rem; margin-bottom: 10px; float: left; width: 100%; }
.channel-pill input { position: absolute; opacity: 0; pointer-events: none; }
.channel-pill span {
  display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s;
}
.channel-pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.channel-pill input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form-promise { text-align: center; font-weight: 700; font-size: .95rem; color: var(--ink);
  line-height: 1.45; margin-top: -4px; }
.form-legal { font-size: .78rem; color: var(--muted); text-align: center; }
.channel { justify-content: center; padding-top: 2px; }
.channel legend { text-align: center; color: var(--muted); font-weight: 600; }
.lead-success { text-align: center; padding: 20px 0; }
.success-check { width: 64px; height: 64px; color: var(--green); margin: 0 auto 16px; }
.lead-success p { color: var(--muted); margin-top: 8px; }
.success-links { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.lead-contacts { padding-top: 10px; order: 1; }
.lead-card { order: 2; }
.lead-visual { aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 22px 22px 22px 80px; margin-bottom: 24px; box-shadow: var(--shadow); }
.lead-visual img { width: 100%; height: 100%; object-fit: cover; }
.lead-team { padding-bottom: calc(var(--sect-pad) * .6); }
.lead-team img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }
.lead-team-cap { text-align: center; color: var(--muted); font-weight: 600; margin-top: 14px; }
@media (max-width: 900px) {
  .lead-card { order: 1; }
  .lead-contacts { order: 2; }
  .lead-visual { aspect-ratio: 16 / 9; border-radius: 20px; }
}
.lead-phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); color: var(--ink); }
.lead-phone:hover { color: var(--green); }
.msg-row { display: grid; gap: 10px; margin-top: 16px; }
.msg-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 14px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.msg-btn:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.msg-btn svg { width: 26px; height: 26px; flex: none; }
.msg-btn span { display: flex; flex-direction: column; line-height: 1.25; }
.msg-btn b { font-weight: 700; font-size: .98rem; color: var(--ink); }
.msg-btn em { font-style: normal; font-size: .8rem; color: var(--muted); }
.msg-btn--tg { color: #2AABEE; }
.msg-btn--tg:hover { border-color: #2AABEE; }
.msg-btn--vb { color: #7360F2; }
.msg-btn--vb:hover { border-color: #7360F2; }
.msg-btn--bot { color: var(--green); }
.msg-btn--bot:hover { border-color: var(--green-mid); }
.lead-msg, .lead-mail { margin-top: 12px; color: var(--muted); }
.lead-msg a, .lead-mail a { color: var(--green); font-weight: 600; }
.lead-addr { margin-top: 20px; display: grid; gap: 10px; }
.lead-addr li { display: flex; align-items: center; gap: 10px; }
.lead-addr .pin { width: 20px; height: 20px; color: var(--green); flex: none; }
.lead-hours { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.lead-social { display: flex; gap: 14px; margin-top: 20px; }
.lead-social a { color: var(--muted); transition: color .2s; }
.lead-social a:hover { color: var(--green); }
.lead-social svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.logo-mark--footer { grid-row: 1 / span 2; width: 62px; min-width: 62px; height: 62px; }
.footer-brand p { margin-top: 12px; font-size: .92rem; max-width: 34ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contacts a { font-size: .95rem; transition: color .2s; display: block; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--sun-yellow); }
.footer-contacts { display: grid; gap: 10px; align-content: start; }
.footer-contacts p { font-size: .88rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem;
}
.footer-bottom a:hover { color: var(--sun-yellow); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- CALLBAR (мобільна закріплена панель) ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    display: flex; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(251,250,246,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }
}

/* ---------- Мобільна типографіка ---------- */
@media (max-width: 767px) {
  body { font-size: 1.0625rem; }
  .section-sub { font-size: 1rem; }
  .arc { height: 40px; }
}

/* ============================================================
   v6: панелі-зарядка, банки, сонце, EV-статистика, карта,
   інфографіка циклу, золоті іконки, FAQ-стрічки
   ============================================================ */

/* Ціна в доларах */
.kit-usd { color: var(--muted); font-weight: 700; font-size: .95rem; margin-top: 2px; }
.kit-usd small { font-weight: 400; font-size: .78rem; }

/* Панель-зарядка (як на головній akumulyator.center) */
.panelviz { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px;
  margin-top: 14px; padding: 6px; background: #0E1B2E;
  border: 2px solid #C6CFDA; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 14px rgba(0,0,0,.5); }
.panelviz i { position: relative; aspect-ratio: 1 / 1.35; border-radius: 2px;
  background: linear-gradient(160deg, #1B2B44 0%, #101C30 100%);
  border: 1px solid rgba(120,150,190,.18); }
.panelviz i.lit::after { content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(160deg, rgba(245,196,12,.95), rgba(245,130,12,.8));
  box-shadow: 0 0 8px rgba(245,196,12,.7); opacity: 0; }
html.js .kit-card.on .panelviz i.lit::after { animation: cellOn .45s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
@keyframes cellOn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.panelviz::after { content: ""; position: absolute; top: -30%; bottom: -30%; width: 34%;
  left: -40%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
html.js .kit-card.on .panelviz::after { animation: panelShine 3.2s linear infinite; animation-delay: 1.2s; }
@keyframes panelShine { from { left: -40%; } to { left: 130%; } }

/* Банки-партнери */
.program-banks { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.program-banks-label { color: rgba(242,247,238,.75); font-size: .92rem; }
.bank-badge { display: inline-flex; align-items: center; background: #fff;
  border-radius: 10px; padding: 9px 16px; }
.bank-badge img { height: 30px; width: auto; display: block; }
.bank-badge img[alt="Ощадбанк"] { height: 40px; }
.program-banks-note { color: rgba(242,247,238,.6); font-size: .85rem; }

/* Фото команди в програмі */
.program-photo { margin-top: 2.2rem; border-radius: var(--radius); max-width: 860px; }
.program-photo img { width: 100%; height: auto; display: block; }
.program-photo.img-blend::after { background: linear-gradient(180deg, rgba(18,59,34,.35) 0%, transparent 20%, transparent 80%, rgba(18,59,34,.35) 100%); }

/* Жовте сонце в економіці */
.sun-real { position: absolute; z-index: 0; top: clamp(26px, 5vw, 60px); right: clamp(18px, 7vw, 110px);
  width: clamp(72px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #FFE585, #F5C40C 62%, #F5820C 100%);
  box-shadow: 0 0 70px 24px rgba(245,196,12,.4); }
html.js .sun-real { animation: sunFloat 7s ease-in-out infinite alternate; }
@keyframes sunFloat { from { transform: translateY(0); } to { transform: translateY(14px); } }

/* Головна цифра EV-блоку: витрати на пальне падають до нуля */
.ev-hero { margin-top: 1.8rem; padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(150deg, #FFF6E0 0%, var(--white) 62%);
  border: 1.5px solid rgba(245,130,12,.28); border-radius: 22px;
  box-shadow: 0 14px 40px rgba(245,130,12,.14); }
.ev-hero-label { display: block; font-weight: 700; font-size: .88rem; letter-spacing: .03em;
  text-transform: uppercase; color: var(--sun-orange); }
.ev-hero-num { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.ev-count { font: 700 clamp(2.6rem, 1.6rem + 4.2vw, 5rem)/1 var(--font-display);
  background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ev-count.done { animation: evPop .5s var(--ease); }
@keyframes evPop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }
.ev-hero-cur { font: 700 clamp(1.2rem, 1rem + 1vw, 1.8rem) var(--font-display); color: var(--sun-orange); }
.ev-hero-bar { height: 8px; border-radius: 999px; background: rgba(245,130,12,.16); margin-top: 14px; overflow: hidden; }
.ev-hero-bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--grad-sun);
  transform-origin: left; }
html.js .ev-hero.on .ev-hero-bar i { animation: evDrain 2.2s var(--ease) forwards; }
@keyframes evDrain { from { transform: scaleX(1); } to { transform: scaleX(.02); } }
.ev-hero-note { margin-top: 12px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.ev-hero-note b { color: var(--green); font-weight: 800; }

/* Другорядні EV-показники */
.ev-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ev-stat { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.ev-stat strong { display: block; font: 700 1.25rem/1.15 var(--font-display); color: var(--green); }
.ev-stat strong small { font-size: .5em; font-weight: 600; }
.ev-stat span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
@media (max-width: 900px) { .ev-stats { grid-template-columns: 1fr; } }

/* Кроки: кружечки +50% */
.step-visual { width: 140px; height: 140px; }
.step-visual--icon svg { width: 56px; height: 56px; }
.step-visual b { width: 46px; height: 46px; font-size: 1.2rem; top: -6px; right: -8px; }
@media (max-width: 1000px) {
  .step-visual { width: 104px; height: 104px; }
  .step-visual--icon svg { width: 42px; height: 42px; }
  .step-visual b { width: 36px; height: 36px; font-size: 1rem; }
  .steps-list li { grid-template-columns: 108px 1fr; }
  .steps-list li:not(:last-child)::before { left: 51px; top: 112px; }
}

/* Роботи: 5 карток */
.works-grid { grid-template-columns: repeat(6, 1fr); }
.works-grid .work-card:nth-child(1), .works-grid .work-card:nth-child(2) { grid-column: span 3; }
.works-grid .work-card:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 900px) { .works-grid .work-card { grid-column: span 6 !important; } }

/* Карта України */
.works { overflow: hidden; }
.works .container { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.works-map { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.works-map-sub { color: var(--muted); margin-top: .5rem; }
.gmap { position: relative; max-width: 980px; margin: 1.6rem auto 0; aspect-ratio: 16 / 9;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1.5px solid var(--line); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .gmap { aspect-ratio: 4 / 3; border-radius: 18px; } }
.ua-map { max-width: 620px; margin: 1.4rem auto 0; opacity: .9; }
.ua-map svg { width: 100%; height: auto; display: block; }
.ua-dot { fill: var(--green-mid); opacity: .85; }
html.js .works-map.on .ua-dot { animation: dotPop .5s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes dotPop { from { opacity: 0; transform: scale(0); } to { opacity: .85; transform: scale(1); } }
.ua-lviv { fill: var(--sun-orange); }
.ua-outline { fill: #F3F1E9; stroke: var(--line); stroke-width: 2; }

/* Золоті іконки */
.gold-ic { display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 12px;
  background: linear-gradient(135deg, #FFDD55 0%, #E8A907 100%); color: #3A2400;
  box-shadow: 0 6px 18px rgba(232,169,7,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.gold-ic svg { width: 26px; height: 26px; }
.bento-cell--num .gold-ic { position: relative; z-index: 1; }

/* Інфографіка повного циклу */
.cycle { position: relative; margin-top: 2.6rem; margin-bottom: 3rem; min-height: 620px; }
.cycle-ring { position: absolute; left: 50%; top: 50%; width: min(560px, 62%);
  transform: translate(-50%, -50%); color: var(--green-mid); opacity: .55; }
html.js .cycle-ring { animation: ringspin 50s linear infinite; }
@keyframes ringspin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.cycle-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 210px; aspect-ratio: 1; border-radius: 50%; background: var(--grad-green); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 20px; box-shadow: 0 18px 50px rgba(41,154,0,.35); }
.cycle-hub svg { width: 30px; height: 30px; }
.cycle-hub strong { font: 700 1.15rem var(--font-display); }
.cycle-hub span { font-size: .8rem; opacity: .9; line-height: 1.35; }
.cycle-node { position: absolute; width: 250px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 52px; box-shadow: var(--shadow); }
.cycle-node b { position: absolute; left: 12px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font: 700 .9rem var(--font-display); }
.cycle-node h4 { font: 600 .92rem/1.3 var(--font-display); }
.cycle-desc { margin-top: 6px; font-size: .8rem; line-height: 1.4; color: var(--muted); }
html.js .cycle.on .cycle-node { animation: nodeIn .6s var(--ease) both; }
html.js .cycle.on .cycle-node--1 { animation-delay: .05s }
html.js .cycle.on .cycle-node--2 { animation-delay: .16s }
html.js .cycle.on .cycle-node--3 { animation-delay: .27s }
html.js .cycle.on .cycle-node--4 { animation-delay: .38s }
html.js .cycle.on .cycle-node--5 { animation-delay: .49s }
html.js .cycle.on .cycle-node--6 { animation-delay: .60s }
@keyframes nodeIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; } }
/* Хаб-телефон */
.cycle-hub { text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hub-phone { font: 700 .95rem var(--font-display); color: #fff; letter-spacing: .01em;
  border-bottom: 2px solid rgba(255,255,255,.45); padding-bottom: 2px; margin-block: 2px; }
.cycle-hub:hover { transform: translate(-50%, -50%) scale(1.06); }
.cycle-hub:hover .hub-phone { border-bottom-color: var(--sun-yellow); color: var(--sun-yellow); }
html.js .cycle-hub:hover svg { animation: hubRing .7s ease-in-out infinite; }
@keyframes hubRing {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); } 80% { transform: rotate(6deg); }
}

/* Унікальна анімація для кожного вузла при наведенні.
   ВАЖЛИВО: лише для мишi. На тач-екрані :hover вмикається тапом, елемент
   зсувається з-під пальця, hover губиться — і блок починає дрижати по колу. */
.cycle-node { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.cycle-node b { transition: transform .4s var(--ease), background .3s var(--ease); }
.cycle-tag { transition: transform .3s var(--ease), letter-spacing .3s var(--ease); }
@keyframes nodeHop { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-9px) scale(1.1); } }
@keyframes nodeShield {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41,154,0,.5); }
  70% { box-shadow: 0 0 0 10px rgba(41,154,0,0); }
}

@media (hover: hover) and (pointer: fine) {
  .cycle-node:hover { box-shadow: 0 16px 40px rgba(26,36,25,.16); border-color: var(--green-mid); }
  .cycle-node--1:hover { transform: translateX(-50%) translateY(-6px); }
  .cycle-node--1:hover b { transform: translateX(-4px) rotate(-8deg); background: var(--sun-orange); }
  .cycle-node--2:hover { transform: rotate(-1.4deg) scale(1.04); }
  .cycle-node--2:hover b { transform: scale(1.18); background: var(--sun-orange); }
  .cycle-node--3:hover { transform: translateX(-6px); }
  .cycle-node--3:hover b { transform: rotateY(180deg); background: var(--sun-yellow); color: #3A2400; }
  .cycle-node--4:hover { transform: translateX(-50%) translateY(-10px); }
  .cycle-node--4:hover b { animation: nodeHop .55s var(--ease); background: var(--sun-orange); }
  .cycle-node--5:hover { transform: translateX(6px); }
  .cycle-node--5:hover b { animation: nodeShield 1s ease-in-out infinite; }
  .cycle-node--6:hover { transform: translateX(6px); }
  .cycle-node--6:hover b { transform: rotate(360deg); background: var(--green-mid); }
  .cycle-node:hover .cycle-tag { transform: translateX(4px); letter-spacing: .02em; }
}


html.js .cycle.on .cycle-hub:not(:hover) { animation: hubPulse 3.4s ease-in-out infinite 1s; }
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 18px 50px rgba(41,154,0,.35); }
  50% { box-shadow: 0 18px 50px rgba(41,154,0,.35), 0 0 0 16px rgba(41,154,0,.07); }
}

/* Додаткові картки під інфографікою */
.cycle-extra { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; margin-top: 1rem; }
.cx-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.cx-card h3 { margin-top: 4px; }
.cx-card p { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.cx-card a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cx-card--shop { background: var(--green-tint); border-color: transparent;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.cx-logo { width: 78px; min-width: 78px; height: 78px; grid-row: 1 / span 2; object-fit: contain; }

/* Гармошка з установчими документами */
.docs { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.docs summary { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  cursor: pointer; list-style: none; font: 600 .92rem var(--font-display); color: var(--green); }
.docs summary::-webkit-details-marker { display: none; }
.docs .chev { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.docs[open] .chev { transform: rotate(180deg); }
.doc { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 11px 14px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.doc:first-of-type { margin-top: 12px; }
.doc:hover { transform: translateX(4px); border-color: var(--green-mid); box-shadow: var(--shadow); }
.doc-ic { width: 22px; height: 22px; flex: none; color: #C0392B; }
.doc-txt { display: flex; flex-direction: column; line-height: 1.25; }
.doc-txt b { font-weight: 700; font-size: .9rem; color: var(--ink); }
.doc-txt em { font-style: normal; font-size: .76rem; color: var(--muted); }
.doc-dl { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--muted); }
.doc:hover .doc-dl { color: var(--green); }
html.js .docs[open] .doc { animation: docIn .38s var(--ease) both; }
html.js .docs[open] .doc:nth-of-type(2) { animation-delay: .07s }
html.js .docs[open] .doc:nth-of-type(3) { animation-delay: .14s }
@keyframes docIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Бейдж відгуків Google */
.gbadge { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 12px 16px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.gbadge:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #4285F4; }
.gbadge-g { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: #F6F8FC; border-radius: 10px; }
.gbadge-g svg { width: 20px; height: 20px; }
.gbadge-txt { display: flex; flex-direction: column; line-height: 1.25; }
.gbadge-txt b { font-weight: 800; font-size: .95rem; color: var(--ink); }
.gbadge-stars { color: #FBBC05; font-size: .95rem; letter-spacing: .08em; }
.gbadge-txt em { font-style: normal; font-size: .78rem; color: var(--muted); }
.gbadge-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }
.gbadge:hover .gbadge-arrow { color: #4285F4; }
@media (max-width: 900px) {
  .cycle-extra { grid-template-columns: 1fr; }
  .cx-card--shop { grid-template-columns: 1fr; }
  .cx-logo { grid-row: auto; margin-bottom: 8px; }
}
.cycle-tag { display: inline-block; margin-top: 8px; background: var(--grad-sun); color: #3A2400;
  border-radius: 999px; padding: 3px 12px; font-size: .76rem; font-weight: 800; }
.cycle-node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.cycle-node--2 { top: 16%; right: 0; }
.cycle-node--3 { bottom: 16%; right: 0; }
.cycle-node--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.cycle-node--5 { bottom: 16%; left: 0; }
.cycle-node--6 { top: 16%; left: 0; }
@media (max-width: 1000px) {
  .cycle { min-height: 0; display: grid; gap: 12px; margin-bottom: 2rem; }
  .cycle-ring { display: none; }
  .cycle-hub, .cycle-node { position: static; transform: none; }
  .cycle-hub { width: 100%; aspect-ratio: auto; border-radius: 16px; padding: 18px; order: -1; }
  .cycle-node { width: 100%; }
}

/* FAQ: компактніше + стрічки 19:4 */
.faq .container { padding-block: calc(var(--sect-pad) * .5); }
.faq-band { position: relative; aspect-ratio: 19 / 4; overflow: hidden; border-radius: var(--radius); margin: 18px 0; }
.faq-band img { width: 100%; height: 100%; object-fit: cover; }
.faq-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    var(--bg) 0%, rgba(251,250,246,.55) 12%, transparent 34%,
    transparent 66%, rgba(251,250,246,.55) 88%, var(--bg) 100%); }
.faq-band--in { margin: 2px 4px 20px; }
html.js details[open] .faq-band--in { animation: bandIn .55s var(--ease) both .1s; opacity: 0; }
@keyframes bandIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* v18: інтерактивна економіка */
.eco-kw { color: var(--green); font-variant-numeric: tabular-nums; }
.eco-slider { max-width: 620px; margin: 1.4rem 0 2rem;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 20px 12px;
  box-shadow: var(--shadow); }
.eco-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.eco-label { font-weight: 600; font-size: .92rem; color: var(--muted); }
.eco-out { font: 700 1.35rem var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; }
.eco-range { margin-top: 12px; }
.eco-svg { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.eco-svg .eco-bv { font: 800 12px var(--font-body); fill: var(--ink); }
.eco-svg .eco-bc { font: 400 12px var(--font-body); fill: var(--muted); }
.eco-svg rect, .eco-svg .eco-bv { transition: height .45s var(--ease), y .45s var(--ease); }
#eco-sun { transition: transform .45s var(--ease); }
#eco-glow, #eco-core, #eco-rays { transition: r .45s var(--ease), opacity .45s var(--ease), stroke-width .45s var(--ease); }
html.js .economy-chart.on #eco-rays { animation: ecoRaySpin 26s linear infinite; transform-origin: 0 0; }
@keyframes ecoRaySpin { to { rotate: 360deg; } }
html.js .economy-chart.on #eco-glow { animation: ecoPulse 3.2s ease-in-out infinite; }
@keyframes ecoPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* v17: кроки програми праворуч + сцена результату */
.program-flow { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px;
  align-items: center; margin-top: 2.2rem; }
.program-flow .program-photo { margin-top: 0; max-width: none; }

.psteps { display: grid; gap: 12px; }
.pstep { display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 14px 16px;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.pstep:hover { transform: translateX(6px); background: rgba(255,255,255,.11); border-color: rgba(245,196,12,.45); }
.pstep-ic { flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(245,196,12,.14); color: var(--sun-yellow);
  display: flex; align-items: center; justify-content: center; }
.pstep-ic svg { width: 28px; height: 28px; overflow: visible; }
.pstep b { display: inline-block; font: 700 .74rem var(--font-display); color: #0E2A16;
  background: var(--sun-yellow); border-radius: 999px; padding: 2px 9px; margin-bottom: 5px; }
.pstep h4 { font: 600 .98rem/1.25 var(--font-display); color: #fff; }
.pstep p { margin-top: 4px; font-size: .84rem; line-height: 1.4; color: rgba(242,247,238,.72); }

/* Унікальні SVG-анімації іконок */
html.js .pstep-ic .ic-wave { opacity: 0; }
html.js .psteps.on .pstep:nth-child(1) .w1 { animation: waveOut 1.8s ease-out infinite; }
html.js .psteps.on .pstep:nth-child(1) .w2 { animation: waveOut 1.8s ease-out infinite .35s; }
@keyframes waveOut { 0% { opacity: 0; transform: translateX(-3px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateX(3px); } }
html.js .psteps.on .pstep:nth-child(1) .ic-phone { animation: phoneTilt 1.8s ease-in-out infinite; transform-origin: 20px 20px; }
@keyframes phoneTilt { 0%,70%,100% { transform: rotate(0); } 78% { transform: rotate(-7deg); } 86% { transform: rotate(6deg); } }

html.js .pstep-ic .ic-line { stroke-dasharray: 16; stroke-dashoffset: 16; }
html.js .psteps.on .pstep:nth-child(2) .l1 { animation: drawL 2.6s ease-out infinite; }
html.js .psteps.on .pstep:nth-child(2) .l2 { animation: drawL 2.6s ease-out infinite .25s; }
html.js .psteps.on .pstep:nth-child(2) .l3 { animation: drawL 2.6s ease-out infinite .5s; }
@keyframes drawL { 0% { stroke-dashoffset: 16; } 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: .35; } }
html.js .pstep-ic .ic-stamp, html.js .pstep-ic .ic-check { opacity: 0; }
html.js .psteps.on .pstep:nth-child(2) .ic-stamp,
html.js .psteps.on .pstep:nth-child(2) .ic-check { animation: stampIn 2.6s ease-out infinite .9s; }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.8); } 18%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

html.js .psteps.on .pstep:nth-child(3) .ic-coin { animation: coinDrop 2.4s ease-in-out infinite; }
@keyframes coinDrop { 0% { transform: translateY(-9px); opacity: 0; } 25%, 70% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(0); opacity: 0; } }
html.js .pstep-ic .ic-col { stroke-dasharray: 10; stroke-dashoffset: 10; }
html.js .psteps.on .pstep:nth-child(3) .ic-col { animation: colUp 2.4s ease-out infinite .3s; }
@keyframes colUp { 0% { stroke-dashoffset: 10; } 40%, 100% { stroke-dashoffset: 0; } }

html.js .psteps.on .pstep:nth-child(4) .ic-panel { animation: panelPop 2.2s ease-out infinite; transform-origin: 20px 27px; }
@keyframes panelPop { 0% { opacity: 0; transform: scale(.5); } 25%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
html.js .psteps.on .pstep:nth-child(4) .ic-bolt { animation: boltFlash 2.2s ease-out infinite .5s; }
@keyframes boltFlash { 0%, 20% { opacity: 0; } 30% { opacity: 1; } 45% { opacity: .35; } 60% { opacity: 1; } 100% { opacity: 0; } }

/* Технологічна сцена станції */
.rig { margin-top: clamp(2rem, 4vw, 3rem); }
.rig-svg { width: 100%; height: auto; display: block; max-width: 900px; margin-inline: auto; }
.rig-cap { margin-top: 14px; text-align: center; color: rgba(242,247,238,.72); font-size: .92rem; max-width: 62ch; margin-inline: auto; }

/* Центрована об'ємна CTA програми */
.program-cta { margin-top: clamp(2rem, 4vw, 2.8rem); text-align: center; }
.program-cta .btn { padding: 22px 46px; font-size: clamp(1rem, .9rem + .45vw, 1.22rem);
  box-shadow: 0 14px 34px rgba(245,130,12,.45), inset 0 1px 0 rgba(255,255,255,.5), 0 3px 8px rgba(0,0,0,.22); }
.program-cta .btn:hover { transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(245,130,12,.55), inset 0 1px 0 rgba(255,255,255,.55), 0 4px 10px rgba(0,0,0,.25); }
html.js .result-scene.on .rs-rays { animation: rsSpin 22s linear infinite; transform-origin: 452px 56px; }
@keyframes rsSpin { to { transform: rotate(360deg); } }
html.js .result-scene.on .rs-sun circle { animation: rsGlow 3.6s ease-in-out infinite; transform-origin: 452px 56px; }
@keyframes rsGlow { 0%,100% { opacity: .95; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
html.js .rs-beams path { stroke-dasharray: 12 10; }
html.js .result-scene.on .rs-beams path { animation: rsBeam 1.6s linear infinite; }
@keyframes rsBeam { to { stroke-dashoffset: -44; } }
html.js .rs-panels path { opacity: 0; }
html.js .result-scene.on .rs-panels path { animation: rsPanel .5s var(--ease) forwards; }
html.js .result-scene.on .rs-panels path:nth-child(1) { animation-delay: .2s }
html.js .result-scene.on .rs-panels path:nth-child(2) { animation-delay: .32s }
html.js .result-scene.on .rs-panels path:nth-child(3) { animation-delay: .44s }
html.js .result-scene.on .rs-panels path:nth-child(4) { animation-delay: .56s }
@keyframes rsPanel { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
html.js .rs-flow { stroke-dasharray: 10 8; }
html.js .result-scene.on .rs-flow { animation: rsFlow 1.1s linear infinite; }
@keyframes rsFlow { to { stroke-dashoffset: -36; } }
html.js .rs-cells rect { opacity: .25; }
html.js .result-scene.on .c1 { animation: rsCell 2.4s ease-in-out infinite; }
html.js .result-scene.on .c2 { animation: rsCell 2.4s ease-in-out infinite .3s; }
html.js .result-scene.on .c3 { animation: rsCell 2.4s ease-in-out infinite .6s; }
@keyframes rsCell { 0%, 100% { opacity: .25; } 40%, 70% { opacity: 1; } }
html.js .result-scene.on .rs-windows rect { animation: rsWin 4s ease-in-out infinite; }
@keyframes rsWin { 0%,100% { opacity: .8; } 50% { opacity: 1; } }
html.js .result-scene.on .rs-plug { animation: rsPlug 2s ease-in-out infinite; }
@keyframes rsPlug { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
html.js .result-scene.on .rs-badge { animation: rsBadge .6s var(--ease) both .8s; }
@keyframes rsBadge { from { opacity: 0; transform: translateY(-8px) scale(.9); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .program-flow { grid-template-columns: 1fr; gap: 22px; }
  .pstep p { font-size: .82rem; }
}

/* v15: відгук у скролері, консультація біля форми, фінальна секція */
/* Картка-відгук: показуємо банер повністю, без обрізання */
.works-track .work-card--review { aspect-ratio: auto; align-self: center;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0F1A16; }
.work-card--review img { width: 100%; height: auto; display: block; object-fit: contain; }

.lead-consult { margin-top: 22px; aspect-ratio: 3 / 2; border-radius: 22px 22px 80px 22px; box-shadow: var(--shadow); }
.lead-consult img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .lead-consult { border-radius: 20px; } }

/* Карта на всю ширину */
.gmap-full { position: relative; width: 100%; height: clamp(340px, 46vh, 560px);
  margin-top: clamp(2rem, 4vw, 3.4rem); }
.gmap-full iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }

/* Фінальна секція: повне фото команди + скляна картка з текстом */
.outro { position: relative; background: var(--green-dark);
  padding-block: clamp(2.2rem, 4.5vw, 4rem) clamp(2.6rem, 5vw, 4.4rem); }
.outro-wrap { max-width: 1080px; }
.outro-photo { position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.1); }
.outro-photo img { display: block; width: 100%; height: auto; }

.outro-inner { position: relative; z-index: 1; text-align: center;
  max-width: 860px; margin: clamp(-52px, -3.2vw, -28px) auto 0;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 4vw, 46px) clamp(24px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 100%);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255,255,255,.8); border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.95); }
.outro-logo { width: 108px; height: 108px; margin: 0 auto 14px; object-fit: contain; }
.outro h2 { color: var(--ink); margin-inline: auto;
  font-size: clamp(1.28rem, .95rem + 1.5vw, 2.05rem); line-height: 1.34; letter-spacing: -.01em; }
.outro h2 .ac-blue { color: #0B62B0; font-size: 1.08em; font-weight: 800; }
.outro h2 .ac-gold { font-size: 1.08em; font-weight: 800;
  background: linear-gradient(100deg, #E07A00 0%, #C98A05 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.outro-btn { margin-top: 22px; font-size: clamp(.92rem, .84rem + .3vw, 1.1rem); padding: 17px 32px;
  box-shadow: 0 14px 30px rgba(245,130,12,.4), inset 0 1px 0 rgba(255,255,255,.5); }
.outro-cap { margin-top: 16px; color: var(--muted); font-size: .86rem; }
@media (max-width: 700px) {
  .outro-photo { border-radius: 18px; }
  .outro-inner { margin-top: -34px; border-radius: 20px; }
  .outro h2 br { display: none; }
  .outro h2 .ac-blue, .outro h2 .ac-gold { font-size: 1.05em; }
  .outro-btn { width: 100%; padding: 15px 16px; }
}

/* Реалістичне сонце: корона дихає, промені повільно обертаються */
html.js .rig.on .rig-corona { animation: rigCorona 4.2s ease-in-out infinite; transform-origin: 676px 52px; }
@keyframes rigCorona { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.16); opacity: .55; } }

/* v11: сторінка подяки */
.ty-body { background: var(--bg); }
.ty { position: relative; overflow: hidden; padding-top: 68px; min-height: 74vh; }
.ty-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4.5rem); position: relative; z-index: 1; }
.ty-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px); }
.ty-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ty-logo { width: 92px; height: 92px; object-fit: contain; }
.ty-check { display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; background: var(--grad-green); color: #fff;
  box-shadow: 0 10px 26px rgba(41,154,0,.32); margin-bottom: 20px; }
.ty-check svg { width: 34px; height: 34px; }
.ty-card h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.ty-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 54ch; }
.ty-steps { display: grid; gap: 10px; margin-top: 24px; }
.ty-step { display: flex; align-items: center; gap: 12px; background: var(--green-tint);
  border-radius: 14px; padding: 12px 16px; }
.ty-step b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font: 700 .88rem var(--font-display); }
.ty-step span { font-size: .92rem; }
.ty-hurry { margin-top: 26px; font-weight: 700; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
/* Пропозиції на сторінці подяки */
.ty-offers { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.ty-offer { display: grid; grid-template-columns: 168px 1fr auto; align-items: center; gap: 18px;
  padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white);
  text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }

/* Фото-мініатюра оффера */
.ty-offer-pic { position: relative; display: block; width: 168px; aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(26,36,25,.16); }
.ty-offer-pic img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease); }
.ty-offer:hover .ty-offer-pic img { transform: scale(1.07); }
.ty-offer-badge { position: absolute; right: 8px; bottom: 8px;
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #2AABEE; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.ty-offer-badge svg { width: 18px; height: 18px; }
.ty-offer-badge--pdf { width: auto; height: auto; padding: 5px 12px; border-radius: 999px;
  background: var(--grad-sun); color: #3A2400; font: 800 .88rem var(--font-display); }
.ty-offer--tg:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #2AABEE; }
.ty-offer-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(42,171,238,.12); color: #2AABEE; }
.ty-offer-ic svg { width: 24px; height: 24px; }
.ty-offer-ic--pdf { background: var(--green-tint); color: var(--green); }
.ty-offer-txt { display: flex; flex-direction: column; gap: 3px; }
.ty-offer-txt b { font-weight: 800; font-size: 1rem; color: var(--ink); }
.ty-offer-txt em { font-style: normal; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.ty-offer-go { flex: none; padding: 10px 20px; border-radius: 999px; background: #2AABEE; color: #fff;
  font: 600 .88rem var(--font-display); white-space: nowrap; }
.ty-offer--pdf { grid-template-columns: 168px 1fr; border-color: rgba(192,57,43,.32); }
.pdf-hook { font-size: clamp(1.02rem, .92rem + .5vw, 1.3rem) !important; line-height: 1.32 !important;
  font-weight: 700 !important; color: #C0392B !important; margin-top: 3px; }
.pdf-hook b { color: #A32116; font-weight: 800;
  background: linear-gradient(180deg, transparent 60%, rgba(245,196,12,.5) 60%); padding: 0 2px; }
.ty-sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.ty-sub input { flex: 1 1 220px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.ty-sub input:focus { outline: none; border-color: var(--green-mid); }
.ty-sub input.invalid { border-color: #C0392B; }
.ty-sub input:disabled { opacity: .6; }
.ty-sub button { flex: 0 0 auto; padding: 14px 26px; }
.ty-sub-err { flex-basis: 100%; color: #C0392B; font-size: .82rem; }
.ty-sub-ok { flex-basis: 100%; color: var(--green); font-weight: 600; font-size: .88rem; }
.ty-sub-note { grid-column: 1 / -1; margin-top: 2px; font-size: .78rem; color: var(--muted); }
@media (max-width: 620px) {
  .ty-offer, .ty-offer--pdf { grid-template-columns: 1fr; }
  .ty-offer-pic { width: 100%; }
  .ty-offer-go { grid-column: 1 / -1; text-align: center; }
}

.ty-back { display: inline-block; margin-top: 24px; color: var(--green); font-weight: 600; }
.ty-back:hover { text-decoration: underline; }
.ty-side { padding-top: 8px; }
.ty-photo { border-radius: 22px 22px 22px 80px; }
.ty-photo img { width: 100%; height: auto; display: block; }
.ty-side-cap { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.ty-links { display: grid; gap: 8px; margin-top: 14px; }
.ty-links a { color: var(--green); font-weight: 600; font-size: .95rem; }
.ty-links a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .ty-inner { grid-template-columns: 1fr; gap: 26px; }
  .ty-photo { border-radius: 20px; }
}

/* v10: міні-квіз у формі заявки */
.quiz { background: var(--bg); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 16px 18px; }
.quiz-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quiz-row--mt { margin-top: 18px; }
.quiz-label { font-weight: 600; font-size: .92rem; }
.quiz-note { color: var(--muted); font-size: .78rem; }
.quiz-out { font: 700 1.15rem var(--font-display); color: var(--green); }
.quiz-hint { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.quiz-hint b { color: var(--ink); font-weight: 800; }

/* Слайдер */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin-top: 10px;
  background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sun-yellow) 0%, var(--sun-orange) var(--fill, 20%), var(--line) var(--fill, 20%)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--sun-yellow), var(--sun-orange)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -8px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green);
  box-shadow: 0 3px 10px rgba(26,36,25,.22); transition: transform .15s var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green); box-shadow: 0 3px 10px rgba(26,36,25,.22); }
.range:active::-webkit-slider-thumb { transform: scale(1.14); }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green); outline-offset: 2px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 2px;
  font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Сегментований перемикач */
.seg { display: flex; gap: 6px; margin-top: 8px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.seg-item { flex: 1; }
.seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.seg-item span { display: block; text-align: center; padding: 8px 6px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.seg-item input:checked + span { background: var(--grad-green); color: #fff; box-shadow: 0 3px 10px rgba(41,154,0,.28); }
.seg-item input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

/* Чекбокси-цілі */
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 10px; }
.goal { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 5px 2px; }
.goal input { position: absolute; opacity: 0; pointer-events: none; }
.goal-box { flex: none; width: 21px; height: 21px; border-radius: 6px;
  border: 2px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s var(--ease), border-color .18s var(--ease); }
.goal-box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.5);
  transition: opacity .18s var(--ease), transform .18s var(--ease); }
.goal input:checked + .goal-box { background: var(--green); border-color: var(--green); }
.goal input:checked + .goal-box svg { opacity: 1; transform: scale(1); }
.goal input:focus-visible + .goal-box { outline: 2px solid var(--green); outline-offset: 2px; }
.goal-txt { font-size: .84rem; line-height: 1.3; color: var(--ink); }
.goal input:checked ~ .goal-txt { font-weight: 600; }

/* Акцентна ціль: кредит 0% і знижка 30% */
.goal--hot { grid-column: 1 / -1; position: relative; align-items: flex-start;
  margin-top: 4px; padding: 11px 42px 12px 12px; border-radius: 14px;
  background: linear-gradient(100deg, rgba(245,196,12,.16), rgba(245,130,12,.10));
  border: 1.5px solid rgba(245,130,12,.35); overflow: hidden; }
.goal--hot .goal-txt { position: relative; padding-bottom: 9px; font-size: .88rem; }
.goal--hot .goal-txt b { font-weight: 800; color: #8A4B00; white-space: nowrap; }
.goal--hot input:checked + .goal-box { background: var(--sun-orange); border-color: var(--sun-orange); }
.goal-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 9px; overflow: visible; }
.goal-line path { stroke-dasharray: 250; stroke-dashoffset: 250; }
html.js .goal--hot input:checked ~ .goal-txt .goal-line path { animation: drawLine .75s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.goal-spark { position: absolute; top: 9px; right: 11px; width: 20px; height: 20px; color: var(--sun-orange); opacity: 0; }
.goal-spark svg { width: 100%; height: 100%; }
html.js .goal--hot input:checked ~ .goal-spark { animation: sparkPop 1.6s var(--ease) infinite; }
@keyframes sparkPop {
  0%, 60% { opacity: 0; transform: scale(.4) rotate(-25deg); }
  20% { opacity: 1; transform: scale(1) rotate(0deg); }
  40% { opacity: .5; transform: scale(.85) rotate(10deg); }
}
.goal--hot::after { content: ""; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -50%;
  transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); }
html.js .goal--hot:has(input:checked)::after { animation: hotShine 3.6s linear infinite 1s; }
@keyframes hotShine { from { left: -50%; } to { left: 130%; } }
@media (max-width: 620px) {
  .goals { grid-template-columns: 1fr; }
  .seg { flex-wrap: wrap; }
  .seg-item { flex: 1 1 calc(50% - 6px); }
  .quiz-note { display: none; }
}

/* v8: фото презентації в економіці */
.economy-photo { margin-top: 28px; border-radius: 22px; }
.economy-photo img { width: 100%; height: auto; display: block; }

/* v7: бейджі Terra з українським текстом */
/* Бейдж −30% з короною сяйва */
.hero-badge-wrap { position: absolute; z-index: 2;
  right: clamp(16px, 6vw, 96px); top: clamp(86px, 15vh, 150px);
  width: clamp(104px, 13vw, 190px); aspect-ratio: 1; }
html.js .hero-badge-wrap { animation: badgeFloat 5.5s ease-in-out infinite alternate; }
@keyframes badgeFloat { from { transform: translateY(0); } to { transform: translateY(12px); } }
.hero-badge { position: absolute; inset: 0; z-index: 2;
  width: 100%; height: auto; transform: rotate(8deg);
  filter: drop-shadow(0 10px 26px rgba(0,0,0,.35)); }
.corona { position: absolute; left: 50%; top: 50%; width: 172%; height: 172%;
  transform: translate(-50%, -50%); z-index: 1; pointer-events: none; }
.corona-rays path { stroke: #FFD84D; stroke-width: 7; stroke-linecap: round; fill: none;
  filter: drop-shadow(0 0 6px rgba(255,200,30,.85)); }
.corona-rays--thin path { stroke: #FFF0A8; stroke-width: 4; opacity: .85; }
.corona-ring { transform-origin: 100px 100px; }
.corona-halo { fill: none; stroke: rgba(255,216,77,.35); stroke-width: 2;
  transform-origin: 100px 100px; }
html.js .corona-ring--a { animation: coronaSpinA 16s linear infinite, coronaBreathA 3.6s ease-in-out infinite; }
html.js .corona-ring--b { animation: coronaSpinB 22s linear infinite, coronaBreathB 3.6s ease-in-out infinite; }
html.js .corona-halo { animation: coronaHalo 3.6s ease-in-out infinite; }
@keyframes coronaSpinA { to { rotate: 360deg; } }
@keyframes coronaSpinB { to { rotate: -360deg; } }
@keyframes coronaBreathA { 0%, 100% { scale: 1; opacity: .95; } 50% { scale: 1.1; opacity: .65; } }
@keyframes coronaBreathB { 0%, 100% { scale: 1.08; opacity: .6; } 50% { scale: .95; opacity: 1; } }
@keyframes coronaHalo { 0%, 100% { scale: 1; opacity: .5; } 50% { scale: 1.12; opacity: .15; } }
@media (max-width: 767px) { .corona { width: 158%; height: 158%; } }
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.steps-head h2 { flex: 1 1 340px; }
.steps-head .steps-badge { order: 2; margin-left: auto; }

/* Дубль CTA під фото економіки */
.economy-cta { margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.economy-cta .btn { padding: 20px 42px; font-size: clamp(1rem, .9rem + .35vw, 1.15rem);
  box-shadow: 0 14px 34px rgba(245,130,12,.42), inset 0 1px 0 rgba(255,255,255,.5), 0 3px 8px rgba(0,0,0,.18); }
.economy-cta .btn:hover { transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(245,130,12,.52), inset 0 1px 0 rgba(255,255,255,.55), 0 4px 10px rgba(0,0,0,.2); }
.steps-badge { width: clamp(220px, 26vw, 330px); height: auto; transform: rotate(-2deg);
  filter: drop-shadow(0 8px 20px rgba(18,59,34,.25)); overflow: visible; }
.tk-txt { font: 800 17px var(--font-display); fill: #fff; letter-spacing: .01em; }
html.js .steps-badge .tk-shine { animation: tkShine 3.6s linear infinite 1.2s; }
@keyframes tkShine { 0% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(470px); } }
html.js .steps-badge .tk-bolt { transform-origin: 30px 28px; animation: tkBolt 2.6s ease-in-out infinite; }
@keyframes tkBolt { 0%, 62%, 100% { opacity: 1; transform: scale(1); } 70% { opacity: .45; transform: scale(.86); } 78% { opacity: 1; transform: scale(1.14); } }
html.js .steps-badge .tk-pulse { transform-origin: 32px 28px; animation: tkPulse 2.6s ease-out infinite; }
@keyframes tkPulse { 0% { transform: scale(.7); opacity: .3; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cam-zoom img { transform: none !important; }
  .chart-bar { transform: scaleY(1) !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .pains-bg, .program { background-attachment: scroll !important; }
  html { scroll-behavior: auto; }
}


/* Підбірка статей після підписки */
.arts { margin-top: 26px; padding: 22px; border-radius: 20px;
  background: linear-gradient(150deg, var(--green-tint) 0%, var(--white) 70%);
  border: 1.5px solid rgba(41,154,0,.22);
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.arts.on { opacity: 1; transform: none; }
.arts-badge { display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--grad-sun); color: #3A2400; font: 800 .74rem var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; }
.arts-head h3 { margin-top: 10px; font-size: 1.25rem; }
.arts-head p { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.arts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.art { display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 13px;
  text-decoration: none; opacity: 0; transform: translateY(10px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.arts.on .art { animation: artIn .5s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + .2s); }
@keyframes artIn { to { opacity: 1; transform: none; } }
.art:hover { transform: translateY(-3px); border-color: var(--green-mid); box-shadow: var(--shadow); }
.art-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--green-tint);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.art-t { flex: 1; font-size: .86rem; line-height: 1.32; font-weight: 600; color: var(--ink); }
.art-go { width: 16px; height: 16px; flex: none; color: var(--muted); }
.art:hover .art-go { color: var(--green); }
.arts-all { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 700; font-size: .92rem; }
.arts-all:hover { text-decoration: underline; }
@media (max-width: 620px) { .arts-grid { grid-template-columns: 1fr; } }


/* Ледь помітна панель-водяний знак у фоні блоку економіки + паралакс */
.economy { position: relative; }
.eco-panel-bg { position: absolute; top: 6%; right: -6%; z-index: 0;
  width: clamp(300px, 34vw, 560px); height: auto; opacity: .075;
  pointer-events: none; user-select: none;
  transform: rotate(-7deg); will-change: transform;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 74%, transparent 100%); }
.economy > .container { position: relative; z-index: 1; }
@supports (animation-timeline: view()) {
  html.js .eco-panel-bg { animation: ecoPanelPar linear both;
    animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes ecoPanelPar {
    from { transform: translateY(-70px) rotate(-9deg); }
    to   { transform: translateY(70px) rotate(-4deg); } }
}
@media (max-width: 860px) {
  .eco-panel-bg { top: 3%; right: -18%; width: 58vw; opacity: .055; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .eco-panel-bg { animation: none; }
}


/* Логотип під контактами у блоці заявки */
.lead-logo { margin-top: auto; padding-top: 26px; text-align: center; }
.lead-logo img { width: clamp(150px, 42%, 210px); height: auto; display: block; margin: 0 auto; }
.lead-logo p { margin-top: 6px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
@media (max-width: 900px) { .lead-logo { padding-top: 18px; } .lead-logo img { width: 140px; } }

/* Картка менеджера: горизонтальне фото показуємо цілком (видно напис на спині) */
.team-card--wide .img-blend { background: var(--green-tint); }
.team-card--wide .img-blend::before {
  content: ""; position: absolute; inset: -6%; z-index: 0;
  background: url("images/team-manager.jpg?v=46") center / cover no-repeat;
  filter: blur(24px) saturate(1.05) brightness(.9); }
.team-card--wide img { position: relative; z-index: 1; object-fit: contain; }
html.js .team-card--wide.cam-zoom img,
html.js .team-card--wide .cam-zoom img { transform: none; }




/* Стрічка банків: логотипи біжать справа наліво і зникають біля напису */
.program-banks { flex-wrap: nowrap; }
.bank-run { position: relative; flex: 1 1 240px; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 92%, transparent 100%); }
.bank-run-track { display: flex; gap: 12px; width: max-content;
  animation: bankRun 46s linear infinite; will-change: transform; }
.bank-run:hover .bank-run-track { animation-play-state: paused; }
@keyframes bankRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bank-pill { flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 8px 18px; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.bank-pill img { height: 28px; width: auto; max-width: 118px; object-fit: contain; display: block; }
@media (max-width: 900px) {
  .program-banks { flex-wrap: wrap; }
  .bank-run { flex-basis: 100%; margin-top: 6px; }
  .bank-pill { height: 42px; padding: 7px 14px; }
  .bank-pill img { height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .bank-run-track { animation: none; } }


/* Анімація заряджання батареї електромобіля */
.ev-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ev-batt { width: 100%; height: auto; display: block; max-width: 560px; }
@media (max-width: 900px) { .ev-batt { max-width: 100%; margin-inline: auto; } }


/* Великі напівпрозорі знаки питання по краях FAQ */
.qmarks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.faq > .container { position: relative; z-index: 1; }
.qmark { position: absolute; display: block; line-height: .82;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(90px, var(--s), 300px);
  background: linear-gradient(155deg, var(--sun-yellow) 0%, var(--sun-orange) 62%, #E86A00 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: var(--op); rotate: var(--rot);
  will-change: translate, scale; user-select: none;
  animation: qFloat var(--dur, 40s) ease-in-out infinite;
  animation-delay: var(--delay, 0s); }

/* Дуже повільний дрейф і зміна розміру.
   translate і scale — окремі властивості, тож JS-паралакс,
   який пише transform, і статичний rotate лишаються цілими. */
@keyframes qFloat {
  0%   { translate: 0 0;         scale: 1; }
  22%  { translate: 14px -22px;  scale: 1.11; }
  45%  { translate: -10px 14px;  scale: 0.92; }
  68%  { translate: -18px -10px; scale: 1.06; }
  86%  { translate: 8px 16px;    scale: 0.97; }
  100% { translate: 0 0;         scale: 1; }
}
@media (max-width: 900px) {
  .qmark { font-size: clamp(64px, calc(var(--s) * .8), 150px); opacity: calc(var(--op) * .7); }
  .qmark--l { left: -6% !important; } .qmark--r { right: -6% !important; }
}
@media (prefers-reduced-motion: reduce) { .qmark { animation: none; transform: none !important; } }


/* Голосовий віджет не має перекривати липку кнопку дзвінка на мобільному */
@media (max-width: 767px) {
  #smartpal-voice-widget-root { bottom: 88px !important; }
}


.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Повні умови кредитування */
.terms { margin-top: 1.8rem; padding: clamp(20px, 2.6vw, 28px);
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(20px, 3vw, 38px);
  align-items: start; }
.terms-title { grid-column: 1 / -1; color: #fff; font-size: 1.15rem; margin-bottom: -6px; }
.terms-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.terms-table th, .terms-table td { padding: 11px 14px; text-align: left; }
.terms-table thead th { color: rgba(242,247,238,.6); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding-bottom: 6px; }
.terms-table tbody tr { border-top: 1px solid rgba(255,255,255,.12); }
.terms-table tbody th { color: rgba(242,247,238,.9); font-weight: 600; }
.terms-table tbody td { color: var(--sun-yellow); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.terms-zero { color: #8FE06A; font-size: 1.15em; }
.terms-list { list-style: none; display: grid; gap: 10px; }
.terms-list li { position: relative; padding-left: 22px; color: rgba(242,247,238,.82);
  font-size: .92rem; line-height: 1.55; }
.terms-list li::before { content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--sun-yellow); }
.terms-list b { color: #fff; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }


/* Коротка форма в першому екрані.
   Стиль успадковує підложку .hero-sub, щоб виглядати частиною макета. */
.quick-form {
  position: relative; display: block; max-width: 660px; margin-top: 1.1rem;
  padding: 18px 22px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(12,22,10,.26), inset 0 1px 0 rgba(255,255,255,.95);
}
.quick-form-title {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(.98rem, .9rem + .3vw, 1.12rem); color: var(--ink);
}
.quick-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; }
.quick-field { min-width: 0; gap: 4px; }
/* У першому екрані шрифт трохи менший за форму внизу: місця обмаль */
.quick-form .field input { padding: 13px 15px; font-size: 1.12rem; }
.quick-form .field input::placeholder { font-size: .95rem; }
.quick-submit { white-space: nowrap; }
.quick-note { margin: 10px 0 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }

@media (max-width: 760px) {
  /* Кнопка «Отримати розрахунок» веде на форму, яка тепер тут же — прибираємо
     дубль, щоб не витісняти саму форму за межі екрана */
  .hero-cta .btn-primary { display: none; }
  .hero-cta { margin-bottom: 2px; }

  .quick-row { grid-template-columns: 1fr; gap: 8px; }
  .quick-submit { width: 100%; }
  .quick-form { padding: 16px 16px 14px; margin-top: .9rem; }
  .quick-form-title { font-size: .98rem; margin-bottom: 10px; }
  .quick-note { font-size: .76rem; }
}


/* Фото команди під короткою формою в героя */
.hero-team {
  max-width: 660px; margin: 14px 0 0; padding: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 14px 36px rgba(12,22,10,.28);
}
.hero-team img { display: block; width: 100%; height: auto; }
.hero-team figcaption {
  padding: 9px 14px; text-align: center;
  font-size: .82rem; line-height: 1.4; color: #F2F7EE;
  background: rgba(18,59,34,.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .hero-team { margin-top: 12px; }
  .hero-team figcaption { font-size: .76rem; padding: 8px 12px; }
}


/* ---------- Тач: жодних hover-зсувів ----------
   На тач-екрані :hover вмикається тапом. Якщо правило рухає елемент, він
   тікає з-під пальця, hover губиться, елемент вертається — і так по колу.
   Саме це давало «дрижання» в блоці «Одне вікно». Тут гасимо це всюди. */
@media (hover: none), (pointer: coarse) {
  .kit-card:hover, .blogo:hover, .ichip:hover, .msg-btn:hover, .works-nav:hover,
  .art:hover, .bank-pill:hover, .btn:hover, .btn-primary:hover, .btn-ghost:hover,
  .cx-card:hover, .ty-offer:hover, .work-card:hover, .team-card:hover,
  .cycle-node:hover, .cycle-hub:hover {
    transform: none;
  }
  .ty-offer:hover .ty-offer-pic img,
  .work-card:hover img,
  .team-card:hover img { transform: none; }
  /* активний стан лишаємо — це чесний відгук на тап */
  .btn:active { transform: translateY(1px); }
}


/* ---------- thank-you: зʼїзд вправо на вузьких екранах ----------
   Причина: кнопка «Подзвонити +38 (093) 247-84-24» має white-space: nowrap,
   її min-content = 425px. .ty-card — грід-елемент із min-width: auto, тож він
   не стискався нижче цієї ширини і вилазив за екран разом з усім вмістом.
   Лікуємо причину (дозволяємо переніс), а min-width: 0 лишаємо як запобіжник. */
.ty-card, .ty-inner > * { min-width: 0; }

@media (max-width: 560px) {
  .ty-actions { flex-direction: column; align-items: stretch; }
  .ty-actions .btn {
    width: 100%;
    white-space: normal;      /* номер може перенестись, а не розпирати картку */
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: center;
    padding-inline: 14px;
  }
}


/* ---------- Дотик: жодних hover-зсувів, за фактом типу вводу ----------
   Клас is-touch вішає script.js після першого справжнього дотику.
   Це надійніше за медіа-запити: частина Android-браузерів рапортує
   (hover: hover) навіть на телефоні, і саме там лишалось дрижання. */
html.is-touch .cycle-node:hover,
html.is-touch .cycle-node--1:hover,
html.is-touch .cycle-node--2:hover,
html.is-touch .cycle-node--3:hover,
html.is-touch .cycle-node--4:hover,
html.is-touch .cycle-node--5:hover,
html.is-touch .cycle-node--6:hover,
html.is-touch .cycle-hub:hover,
html.is-touch .kit-card:hover,
html.is-touch .blogo:hover,
html.is-touch .ichip:hover,
html.is-touch .bank-pill:hover,
html.is-touch .msg-btn:hover,
html.is-touch .works-nav:hover,
html.is-touch .art:hover,
html.is-touch .cx-card:hover,
html.is-touch .work-card:hover,
html.is-touch .team-card:hover,
html.is-touch .ty-offer:hover,
html.is-touch .btn:hover,
html.is-touch .btn-primary:hover,
html.is-touch .btn-ghost:hover {
  transform: none !important;
}

/* Вкладені елементи, що теж рухались або крутились */
html.is-touch .cycle-node:hover b,
html.is-touch .cycle-node:hover .cycle-tag,
html.is-touch .ty-offer:hover .ty-offer-pic img,
html.is-touch .work-card:hover img,
html.is-touch .team-card:hover img,
html.is-touch .kit-card:hover img {
  transform: none !important;
  animation: none !important;
}
html.is-touch .cycle-hub:hover svg { animation: none !important; }

/* Відгук на тап лишаємо — але без зсуву сусідів */
html.is-touch .btn:active { transform: translateY(1px); }


/* ---------- Довгі кнопки з номером телефону ----------
   .btn має white-space: nowrap, тож «Зателефонувати зараз +38 (093) 247-84-24»
   не влазить у вузький екран і вилазить за межі кнопки. Дозволяємо переніс
   саме таким кнопкам, решту не чіпаємо. */
@media (max-width: 620px) {
  .outro-btn,
  .ty-actions .btn,
  .callbar .btn {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    padding-inline: 16px;
    line-height: 1.3;
  }
  .outro-btn { width: 100%; }
}
