/* ==========================================================
   Сінерджі Клінінг — основні стилі
   ========================================================== */

:root {
  /* Фірмові кольори (з логотипу) */
  --navy-900: #0B2130;
  --navy-800: #0F2A3B;
  --navy-700: #163A50;
  --blue: #2B6C9C;
  --teal: #2A9D9A;
  --green: #7DBA4A;
  --green-600: #6AA63A;

  /* Нейтральні */
  --ink: #13232E;
  --muted: #5B6B75;
  --line: #E2E8EA;
  --bg: #FFFFFF;
  --bg-soft: #F3F6F5;
  --on-dark: #E8EFF2;
  --on-dark-muted: #9FB2BD;

  --brand-gradient: linear-gradient(120deg, var(--blue) 0%, var(--teal) 55%, var(--green) 100%);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(11, 33, 48, .25);
  --container: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
h1 em, h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: 1.12em;
  letter-spacing: 0;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-gradient); }
.eyebrow--light { color: var(--green); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px;
  border: 0; border-radius: 100px;
  font: 700 .98rem/1 var(--font);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn--primary { background: var(--green); color: #0B2130; }
.btn--primary:hover { background: #8CC95A; transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(125, 186, 74, .6); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { padding: 12px 22px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--blue); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.logo__text b { font-size: 1.05rem; color: #fff; font-weight: 800; }
.logo__text span { font-size: 1.05rem; color: var(--green); }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(11, 33, 48, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--on-dark); font-size: .93rem; font-weight: 600; opacity: .85; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--green); }
.nav__phone-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s;
}
.burger span { top: 21px; }
.burger span::before { content: ""; left: 0; top: -7px; }
.burger span::after { content: ""; left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 9vw, 112px);
  background: radial-gradient(120% 80% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 60%);
  color: #fff;
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -200px; top: -160px;
  background: radial-gradient(circle, rgba(42,157,154,.35), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  /* тонкі «іскри» як у логотипі */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 14%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 64% 82%, var(--green) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 74%, #fff 50%, transparent 51%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero__lead { max-width: 560px; font-size: 1.12rem; color: var(--on-dark-muted); margin-bottom: 36px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__facts { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero__facts b { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.hero__facts span { font-size: .88rem; color: var(--on-dark-muted); line-height: 1.4; display: block; }

/* ---------- Форми ---------- */
.quick-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 36px 32px;
}
.quick-form__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.quick-form__sub { color: var(--on-dark-muted); font-size: .95rem; margin-bottom: 24px; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; opacity: .85; }
.field small { font-weight: 500; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  font: 500 1rem var(--font); color: inherit;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  outline: none; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: rgba(255,255,255,.12); }
.field select option { color: var(--ink); }
.field.is-invalid input { border-color: #F0785A; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .78rem; color: var(--on-dark-muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 12px; font-weight: 600; text-align: center; font-size: .95rem; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: #F0A08A; }

/* ---------- Аудиторія ---------- */
.audience { padding-bottom: 0; }
.audience__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(32px, 4vw, 52px);
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.audience-card p:not(.eyebrow) { color: var(--muted); max-width: 440px; }
.audience-card .link-arrow { margin-top: auto; padding-top: 12px; }
.audience-card .eyebrow { margin-bottom: 0; }
.audience-card--dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.audience-card--dark p:not(.eyebrow) { color: var(--on-dark-muted); }
.audience-card--dark .link-arrow { color: var(--green); }

/* ---------- Заголовки секцій ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head__text { max-width: 440px; color: var(--muted); }
.section-head--light .section-head__text { color: var(--on-dark-muted); }

/* ---------- Таби ---------- */
.tabs { display: inline-flex; padding: 6px; gap: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; }
.tabs__btn {
  padding: 12px 22px; border: 0; border-radius: 100px; background: transparent;
  font: 700 .92rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { background: var(--navy-800); color: #fff; }

/* ---------- Послуги ---------- */
.services__grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services__grid.is-active { display: grid; }
.service-card {
  display: flex; flex-direction: column;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  width: 56px; height: 56px; margin-bottom: 24px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43,108,156,.1), rgba(125,186,74,.14));
}
.service-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 28px; }
.service-card__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; font-size: 1.05rem; }

/* ---------- Переваги ---------- */
.advantages { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.advantages::before {
  content: ""; position: absolute; width: 600px; height: 600px; left: -240px; bottom: -300px;
  background: radial-gradient(circle, rgba(125,186,74,.18), transparent 65%);
}
.adv__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-left: 1px solid rgba(255,255,255,.1); }
.adv { padding: 40px 36px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); transition: background-color .3s; }
.adv:hover { background: rgba(255,255,255,.03); }
.adv__num { display: block; font-family: var(--font-accent); font-style: italic; font-size: 2.2rem; line-height: 1; margin-bottom: 20px; color: var(--green); }
.adv h3 { margin-bottom: 10px; }
.adv p { color: var(--on-dark-muted); font-size: .96rem; }

/* ---------- Чек-лист ---------- */
.checklist { background: var(--bg-soft); }
.checklist .tabs { background: #fff; }
.check-panels { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); }
.check-list { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 18px 48px; }
.check-list.is-active { display: grid; }
.check-list li { position: relative; padding-left: 40px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2130' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Кроки ---------- */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: var(--brand-gradient); }
.step__n {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px;
  border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Відгуки ---------- */
.reviews { padding-top: 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; padding: 36px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review__stars { color: var(--green); letter-spacing: 3px; margin-bottom: 18px; }
.review blockquote { margin: 0 0 28px; font-size: 1.02rem; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; }
.review figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { color: var(--muted); margin: 20px 0 32px; max-width: 360px; }
.faq__list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; transition: box-shadow .3s; }
.faq__list details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-weight: 700;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--bg-soft); font-size: 1.3rem; font-weight: 500; transition: transform .3s, background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--green); }
.faq__list details p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Контакти ---------- */
.contacts { background: var(--navy-900); color: #fff; }
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contacts__lead { color: var(--on-dark-muted); margin: 20px 0 40px; max-width: 440px; }
.contacts__list { list-style: none; margin: 0; padding: 0; }
.contacts__list li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 600; }
.contacts__list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 4px; }
.contacts__list a:hover { color: var(--green); }
.contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map { margin-top: 72px; border-radius: 24px; overflow: hidden; height: 380px; border: 1px solid rgba(255,255,255,.1); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }

/* ---------- Футер ---------- */
.footer { background: #071823; color: var(--on-dark-muted); padding: 72px 0 0; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer__grid a, .footer__grid p:not(.footer__title):not(.footer__slogan) { display: block; margin-bottom: 10px; }
.footer__grid a:hover { color: #fff; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer__slogan { margin-top: 18px; font-family: var(--font-accent); font-style: italic; font-size: 1.25rem; color: var(--on-dark); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; padding-bottom: 24px; font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================
   Багатосторінкові елементи
   ========================================================== */

/* ---------- Меню з підменю ---------- */
.nav { align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link.is-current { color: var(--green); opacity: 1; }
.nav__toggle {
  width: 22px; height: 22px; margin-left: 2px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--on-dark);
}
.nav__toggle::before {
  content: ""; display: block; width: 7px; height: 7px; margin: 4px auto 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .2s;
}
.nav__sub {
  position: absolute; top: 100%; left: -20px; min-width: 290px; padding: 12px;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -16px rgba(11,33,48,.4);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(14px); }
.nav__item:hover .nav__toggle::before { transform: rotate(-135deg); margin-top: 8px; }
.nav .nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); opacity: 1; font-size: .93rem; }
.nav .nav__sub a:hover { background: var(--bg-soft); color: var(--blue); }
.nav .nav__sub a.nav__sub-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--blue); }

/* ---------- Внутрішні сторінки ---------- */
.hero--page { padding-bottom: clamp(56px, 7vw, 96px); }
.hero--page h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero__inner--single { grid-template-columns: minmax(0, 820px); }
.hero--404 { min-height: 80vh; display: flex; align-items: center; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--on-dark-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: #fff; }

.checklist__more { margin-top: 32px; }

/* ---------- Банер калькулятора ---------- */
.calc-band { background: var(--brand-gradient); padding: 56px 0; }
.calc-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; color: #fff; }
.calc-band .eyebrow { color: #fff; margin-bottom: 10px; }
.calc-band .eyebrow::before { background: #fff; }
.calc-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.calc-band h2 em { background: none; color: #fff; }
.calc-band .btn--primary { background: var(--navy-900); color: #fff; }
.calc-band .btn--primary:hover { background: var(--navy-700); box-shadow: none; }

/* ---------- Текстові блоки ---------- */
.prose h2 { margin-bottom: 20px; }
.prose p + p { margin-top: 16px; }
.prose p:not(.eyebrow) { color: var(--muted); }
.prose--doc { max-width: 820px; }
.prose--doc h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose--doc h2:first-child { margin-top: 0; }
.prose--doc a { color: var(--blue); text-decoration: underline; }

/* ---------- Сторінка послуги ---------- */
.about-service__inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-service .prose p:not(.eyebrow) { font-size: 1.12rem; color: var(--ink); }
.facts-card { padding: 32px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.facts-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts-card__row span { color: var(--muted); }
.facts-card__row b { text-align: right; }
.facts-card .btn { margin-top: 24px; }

.includes { background: var(--bg-soft); }
.include-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.include-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.include-card h3 { margin-bottom: 22px; }
.include-card .check-list { grid-template-columns: 1fr; gap: 14px; }
.include-card .check-list li { font-size: .96rem; }
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.extras { padding: 32px; border-radius: var(--radius); background: var(--navy-800); color: #fff; }
.extras h3 { margin-bottom: 16px; }
.extras ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,.08); font-size: .92rem; }
.extras li::before { content: "+ "; color: var(--green); font-weight: 700; }
.extras--muted { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.extras--muted li { background: var(--bg-soft); color: var(--muted); }
.extras--muted li::before { content: "– "; color: var(--muted); }

.pricing { background: var(--navy-900); color: #fff; }
.pricing__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pricing__disclaimer { grid-column: 1 / -1; margin: 4px 0 0; font-size: .85rem; color: var(--on-dark-muted); }
.pricing__disclaimer a { color: inherit; text-decoration: underline; }
.pricing__note { color: var(--on-dark-muted); margin: 20px 0 32px; max-width: 460px; }
.pricing .hero__buttons { margin-bottom: 0; }

/* ---------- Таблиці ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 24px; }
.price-table--dark td { border-color: rgba(255,255,255,.12); font-size: 1.05rem; }
.price-table--dark td:last-child { color: var(--green); }
.req-table td:first-child { color: var(--muted); width: 32%; }
.req-table td:last-child { text-align: left; white-space: normal; }

/* ---------- Картки переваг ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
a.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__icon { width: 52px; height: 52px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, rgba(43,108,156,.1), rgba(125,186,74,.14)); }
.perk__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 { margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: .95rem; word-break: break-word; }
.biz-perks, .values, .contact-cards { background: var(--bg-soft); }

/* ---------- Ціни ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.price-card__head a:hover { color: var(--blue); }
.price-card .price { color: var(--blue); white-space: nowrap; }
.price-card .price-table { margin-bottom: 20px; }
.price-card .link-arrow { margin-top: auto; }
.prices-list--alt { background: var(--bg-soft); }
.legal-note { margin-top: 32px; font-size: .85rem; color: var(--muted); }

/* ---------- Калькулятор ---------- */
.calc__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.calc__controls { padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.calc__group + .calc__group { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.calc__label { font-weight: 700; margin-bottom: 16px; }
.calc__label b { color: var(--blue); font-size: 1.2rem; }
.calc__types { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 12px 22px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s; }
.chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.range { --fill: 20%; width: 100%; height: 6px; border-radius: 6px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, var(--blue), var(--green)) 0 / var(--fill) 100% no-repeat, var(--line); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 4px 12px rgba(11,33,48,.2); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip-btn { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font: 600 .85rem var(--font); color: var(--muted); cursor: pointer; }
.chip-btn:hover { color: var(--ink); border-color: var(--blue); }
.extra-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.extra-row + .extra-row { border-top: 1px dashed var(--line); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; flex: 1; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--green); flex-shrink: 0; }
.extra-row__price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; background: #fff; }
.stepper button { width: 32px; height: 32px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--blue); }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.calc__summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 36px 32px; border-radius: 24px; background: var(--navy-900); color: #fff; }
.calc__lines { list-style: none; margin: 0 0 24px; padding: 0; }
.calc__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .93rem; color: var(--on-dark-muted); }
.calc__lines b { color: #fff; white-space: nowrap; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.calc__total b { font-size: 2rem; color: var(--green); }
.calc__demo { font-size: .82rem; color: #F2C46D; margin-bottom: 16px; }
.calc__hint { font-size: .8rem; color: var(--on-dark-muted); margin-top: 14px; text-align: center; }

/* ---------- Про компанію ---------- */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 32px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; margin-bottom: 8px; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .92rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }

.faq--white { background: #fff; }
.faq--white .faq__list details { background: var(--bg-soft); }

/* ---------- Соцмережі ---------- */
.socials { display: flex; gap: 10px; margin-top: 24px; }
.social { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); transition: .2s; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { background: var(--green); border-color: var(--green); color: var(--navy-900); }

/* ---------- Плаваючі кнопки ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab__btn { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--navy-900); box-shadow: 0 10px 30px -8px rgba(11,33,48,.5); transition: transform .2s; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab__btn--telegram { background: #2AABEE; color: #fff; }
.fab__btn--viber { background: #7360F2; color: #fff; }

.form-note a { text-decoration: underline; }
.contacts .socials { margin-top: 32px; }

/* ---------- Анімація появи ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Адаптив
   ========================================================== */
@media (max-width: 1280px) {
  .header__phone { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 40px;
    background: var(--navy-900); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s ease;
  }
  .nav.is-open { transform: none; }
  .nav > a, .nav__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav > a, .nav__link { padding: 16px 0; font-size: 1.15rem; opacity: 1; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; }
  .nav__toggle { width: 44px; height: 44px; }
  .nav__item:hover .nav__toggle::before { transform: rotate(45deg); margin-top: 4px; }
  .nav__item.is-open .nav__toggle::before { transform: rotate(-135deg); margin-top: 8px; }
  .nav__sub {
    position: static; display: none; width: 100%; min-width: 0; padding: 0 0 12px;
    background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__sub::before { display: none; }
  .nav__item.is-open .nav__sub { display: block; }
  .nav .nav__sub a { color: var(--on-dark-muted); padding: 10px 12px; }
  .nav .nav__sub a:hover { background: rgba(255,255,255,.05); color: #fff; }
  .nav .nav__sub a.nav__sub-all { border-color: rgba(255,255,255,.08); color: var(--green); }
  .nav__phone-mobile { display: block; color: var(--green) !important; }
  .header.menu-open { background: var(--navy-900); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero__inner, .faq__inner, .contacts__inner, .about-service__inner, .pricing__inner, .calc__grid, .story, .split { grid-template-columns: 1fr; }
  .services__grid.is-active, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .adv__grid, .perks { grid-template-columns: 1fr 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .calc__summary { position: static; }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .audience__grid, .services__grid.is-active, .reviews__grid, .adv__grid, .steps__list, .contact-form__row,
  .perks, .extras-grid, .stats, .footer__grid { grid-template-columns: 1fr; }
  .check-list.is-active { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .hero__buttons .btn { flex: 1 1 100%; }
  .quick-form { padding: 28px 20px; }
  .adv { padding: 32px 24px; }
  .service-card, .review, .include-card, .extras, .perk, .price-card, .facts-card { padding: 24px; }
  .tabs--scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .footer__grid { gap: 32px; }
  .map { height: 300px; margin-top: 48px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__text b, .logo__text span { font-size: .95rem; }
  .extra-row { flex-wrap: wrap; }
  .extra-row__price { margin-left: 32px; }
  .price-card__head { flex-direction: column; gap: 4px; }
  .req-table td { display: block; width: 100% !important; padding: 4px 0; border: 0; }
  .req-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .fab { right: 14px; bottom: 14px; }
  .fab__btn { width: 52px; height: 52px; }
}

/* Позначка демо-контенту (прибрати разом із demo: true) */
.demo-note { margin: -24px 0 28px; padding: 12px 18px; border-radius: 12px; background: #FFF6E0; color: #7A5A12; font-size: .88rem; border: 1px dashed #E8C26A; }

/* ==========================================================
   Фішка 1: «Протріть екран»
   ========================================================== */
.hero--wipe .fog {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5;
  touch-action: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='24' cy='24' r='20' fill='rgba(255,255,255,.25)' stroke='%237DBA4A' stroke-width='2'/%3E%3C/svg%3E") 24 24, crosshair;
  transition: opacity .9s ease;
}
.hero--wipe .fog.is-done { opacity: 0; pointer-events: none; }
.fog-hint {
  position: absolute; z-index: 6; left: 50%; top: min(50%, 42vh); transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; width: max-content; max-width: 90%;
  color: var(--navy-800); pointer-events: none; transition: opacity .4s;
}
.fog-hint b { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.fog-hint small { color: #46565F; font-size: .95rem; font-weight: 600; }
.fog-hint__icon { display: block; width: 44px; height: 44px; margin-bottom: 8px; animation: swipe 2.2s ease-in-out infinite; }
.fog-hint__icon svg { width: 100%; height: 100%; fill: var(--green); }
.fog-skip {
  position: absolute; z-index: 6; left: 50%; top: calc(min(50%, 42vh) + 92px); transform: translateX(-50%);
  padding: 10px 18px; border: 0; border-radius: 100px; cursor: pointer;
  background: rgba(11,33,48,.85); color: #fff; font: 600 .85rem var(--font);
  transition: opacity .3s, background-color .2s;
}
.fog-skip:hover { background: var(--navy-900); }
.hero--wipe.is-clean .fog-hint, .hero--wipe.is-clean .fog-skip { opacity: 0; pointer-events: none; }
.hero--wipe.is-wiping .fog-hint { opacity: 0; }
body.fog-on .header { background: rgba(11, 33, 48, .94); }

.wipe-offer {
  position: fixed; left: 50%; bottom: 24px; z-index: 45; transform: translateX(-50%);
  width: min(620px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: 20px;
  background: var(--navy-900); color: #fff; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  animation: offerIn .6s cubic-bezier(.2,.9,.3,1.2) both;
}
.wipe-offer[hidden] { display: none; }
.wipe-offer .flat__star { margin: 0; }
.wipe-offer__title { font-weight: 800; font-size: 1.1rem; }
.wipe-offer__text { color: var(--on-dark-muted); font-size: .92rem; line-height: 1.45; }
.wipe-offer__close {
  position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy-900); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* Іскри (спільні для обох фішок) */
.sparkle { position: absolute; z-index: 7; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); pointer-events: none; animation: sparkle var(--d, .9s) ease-out forwards; }
.sparkle svg { width: 100%; height: 100%; fill: var(--c, #7DBA4A); filter: drop-shadow(0 0 6px rgba(255,255,255,.6)); }

/* ==========================================================
   Фішка 2: інтерактивна квартира
   ========================================================== */
.flat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.flat__plan { position: relative; padding: clamp(14px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.flat__svg { width: 100%; height: auto; display: block; overflow: visible; }
.zone { cursor: pointer; outline: none; }
.zone__floor { fill: #E2E7E5; stroke: var(--navy-800); stroke-width: 4; stroke-linejoin: round; transition: fill .6s; }
.zone__dust { fill: url(#dust); pointer-events: none; transition: opacity .9s; }
#dust circle { fill: #6E7D84; opacity: .55; }
.zone__furniture { fill: none; stroke: #7B8B93; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .6s; }
.zone__label { font: 700 15px var(--font); fill: var(--navy-800); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.7); stroke-width: 4px; }
.zone__pulse { fill: var(--green); pointer-events: none; transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.zone:hover .zone__floor, .zone:focus-visible .zone__floor { fill: #EBF0EE; }
.zone:focus-visible .zone__floor { stroke: var(--green); }
.zone.is-clean .zone__floor { fill: #F1F8F3; }
.zone.is-clean .zone__dust { opacity: 0; }
.zone.is-clean .zone__pulse { display: none; }
.zone.is-clean .zone__furniture { stroke: var(--teal); }
.zone.is-active .zone__floor { fill: url(#zoneActive); }
.flat__walls { fill: none; stroke: var(--navy-900); stroke-width: 8; pointer-events: none; }

.flat__panel { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.flat__panel h3 { font-size: 1.5rem; margin-bottom: 18px; }
.flat__intro p, .flat__done p { color: var(--muted); }
.flat__star { display: inline-block; width: 34px; height: 34px; margin-bottom: 16px; animation: twinkle 2.4s ease-in-out infinite; }
.flat__star svg { width: 100%; height: 100%; fill: var(--green); }
.flat__zone .check-list { grid-template-columns: 1fr; gap: 12px; }
.flat__zone li { animation: itemIn .45s ease both; animation-delay: calc(var(--i, 0) * 45ms); }
.flat__done-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 24px; }
.flat__progress { margin-top: auto; padding-top: 28px; }
.flat__bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 10px; }
.flat__bar span { display: block; width: 0; height: 100%; background: var(--brand-gradient); transition: width .6s ease; }
.flat__progress p { font-size: .9rem; color: var(--muted); }

@keyframes sparkle {
  0% { transform: scale(0) rotate(0); opacity: 0; }
  35% { transform: scale(1) rotate(45deg); opacity: 1; }
  100% { transform: scale(0) rotate(100deg) translateY(-14px); opacity: 0; }
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.82) rotate(45deg); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .95; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes itemIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes swipe { 0%, 100% { transform: translateX(-22px) rotate(-10deg); } 50% { transform: translateX(22px) rotate(10deg); } }
@keyframes offerIn { from { opacity: 0; transform: translate(-50%, 30px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 960px) {
  .flat { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .zone__label { font-size: 19px; }
  .wipe-offer { grid-template-columns: auto 1fr; bottom: 16px; padding: 18px; }
  .wipe-offer .btn { grid-column: 1 / -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle, .flat__star, .zone__pulse, .fog-hint__icon, .flat__zone li, .wipe-offer { animation: none; }
}
