/* ТОВ «УКРДЗК» — стилі сайту */
:root {
  --ink: #0E2F3C;
  --ink-2: #17485A;
  --ink-3: #0A222C;
  --green: #1E9E48;
  --green-2: #6CC832;
  --green-btn: #157F38;
  --green-btn-hover: #106A2E;
  --green-text: #14773A;
  --green-soft: #E9F6EE;
  --bg: #FFFFFF;
  --bg-soft: #F4F8F6;
  --line: #DDE6E2;
  --text: #1B2B31;
  --muted: #55656C;
  --grid: #E6EEEA;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(14, 47, 60, .06), 0 12px 32px -16px rgba(14, 47, 60, .22);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
}
@media (max-width: 480px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; border-radius: 4px; }
::selection { background: #CFEBD8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .76rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--green-2)); flex-shrink: 0; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: var(--radius); font: 700 .95rem/1.2 var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--green-btn); color: #fff; }
.btn--primary:hover { background: var(--green-btn-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-soft); color: var(--ink); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: transparent; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Логотип ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 50px; height: 50px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__tov { font: 800 .7rem/1 var(--font-head); letter-spacing: .08em; }
.brand__name { font: 900 1.42rem/1 var(--font-head); letter-spacing: .01em; margin-top: 3px; padding-bottom: 6px; background: linear-gradient(90deg, var(--green), var(--green-2)) no-repeat left bottom / 100% 3px; }
.brand__tag { font: 700 .54rem/1 var(--font-head); letter-spacing: .13em; color: var(--muted); margin-top: 5px; text-transform: uppercase; white-space: nowrap; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__tag { color: #9DB5BD; }

/* ---------- Шапка ---------- */
.topbar { background: var(--ink); color: #C9D8DD; font-size: .82rem; }
.topbar .container { display: flex; gap: 24px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--green-2); }
.topbar__push { margin-left: auto; }
@media (max-width: 760px) { .topbar { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 24px -20px rgba(14, 47, 60, .45); }
.header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 600 .92rem/1.2 var(--font-head); color: var(--ink); text-decoration: none; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 0 0; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.nav__drop { position: absolute; top: 100%; left: -8px; padding-top: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__panel { width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; }
.nav__panel a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav__panel a:hover { background: var(--bg-soft); }
.nav__panel b { display: block; font: 700 .92rem/1.3 var(--font-head); }
.nav__panel .nav__desc { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav__panel .icon-box { width: 40px; height: 40px; border-radius: 10px; }
.nav__panel .icon-box svg { width: 22px; height: 22px; }
.header__cta { margin-left: 10px; white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-menu { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mnav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav__inner { padding: 12px var(--gutter) 24px; display: flex; flex-direction: column; gap: 2px; }
.mnav__label { font: 700 .72rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 4px 8px; }
.mnav a:not(.btn) { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font: 600 1rem/1.3 var(--font-head); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--grid); }
.mnav a:not(.btn) svg { width: 20px; height: 20px; color: var(--green-text); }
.mnav .btn { margin-top: 18px; }
@media (max-width: 1200px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1201px) { .mnav { display: none !important; } }
@media (max-width: 400px) { .brand__tag { display: none; } .brand__mark { width: 44px; height: 44px; } }

/* ---------- Секції ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #CCDCE1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--green-2); }
.section--ink .lead { color: #AFC4CB; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row > div { max-width: 720px; }
.section__head .lead { margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.icon-box { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; flex-shrink: 0; }
.icon-box svg { margin: auto; }
.icon-box svg { width: 26px; height: 26px; }
.icon-box--ink { background: rgba(255, 255, 255, .08); color: var(--green-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #F2F7F4 0%, #FFFFFF 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green-text), #3FA83A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.hero__msg { margin: -14px 0 32px; font-size: .92rem; color: var(--muted); }
.hero__msg a { font-weight: 600; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; }
.trust li { border-left: 3px solid var(--green); padding-left: 14px; }
.trust b { display: block; font: 800 1rem/1.3 var(--font-head); color: var(--ink); }
.trust span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.hero__visual { position: relative; }
.plan { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(14, 47, 60, .45), 0 0 0 1px var(--line); background: #fff; }
.plan text { font-family: var(--font-head); }
.plan .t-title { font-size: 15px; font-weight: 800; fill: var(--ink); }
.plan .t-sub { font-size: 11px; font-weight: 600; fill: var(--muted); letter-spacing: .04em; }
.plan .t-pt { font-size: 12px; font-weight: 800; fill: var(--ink); }
.plan .t-dim { font-size: 10.5px; font-weight: 700; fill: var(--green-text); }
.plan .t-foot { font-size: 11px; font-weight: 700; fill: var(--ink); }
.hero__badge { position: absolute; right: -18px; bottom: -26px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 260px; }
.hero__badge b { display: block; font: 800 .9rem/1.25 var(--font-head); color: var(--ink); }
.hero__badge-txt span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.hero__badge .icon-box { width: 42px; height: 42px; border-radius: 12px; }
.hero__badge .icon-box svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .hero__badge { right: 12px; bottom: -22px; }
}
@media (max-width: 640px) { .trust { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Картки послуг ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: var(--muted); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: #B5D9C1; box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); }
.card__price { font: 800 1rem/1.2 var(--font-head); color: var(--ink); }
.card__price small { font-weight: 600; color: var(--muted); font-size: .8rem; margin-right: 4px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font: 700 .88rem/1 var(--font-head); color: var(--green-text); }
.card__more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .card__more svg { transform: translateX(3px); }
.card--ink { background: var(--ink); border-color: var(--ink); color: #C7D7DC; }
.card--ink h3 { color: #fff; }
.card--ink p { color: #AFC4CB; }
.card--ink .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Ситуації ---------- */
.situations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.situation { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.situation:hover { border-color: #B5D9C1; box-shadow: var(--shadow); color: inherit; }
.situation__q { font: 700 1rem/1.35 var(--font-head); color: var(--ink); margin: 0 0 6px; }
.situation__a { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--green-text); }
.situation__a svg { width: 15px; height: 15px; }
.situation__n { font: 800 .8rem/1 var(--font-head); color: var(--green-text); background: var(--green-soft); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }

/* ---------- Етапи ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding-top: 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 800 1rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--green), #3FA83A); }
.steps li::after { content: ""; position: absolute; top: 24px; left: 60px; right: -12px; border-top: 2px dashed #C5DCCD; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--ink .steps p { color: #AFC4CB; }
.section--ink .steps li::after { border-color: rgba(255, 255, 255, .18); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 0 0 0 66px; min-height: 48px; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }
.feature h3 { font-size: 1.02rem; margin: 16px 0 6px; }
.feature p { margin: 0; font-size: .92rem; color: #AFC4CB; }

/* ---------- Команда ---------- */
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.person__head { display: flex; gap: 18px; align-items: center; }
.avatar { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font: 800 1.3rem/1 var(--font-head); color: #fff; background: linear-gradient(135deg, var(--ink-2), var(--ink)); box-shadow: inset 0 0 0 3px var(--green-2); }
.person__name { margin: 0 0 4px; font-size: 1.2rem; }
.person__role { margin: 0; color: var(--green-text); font-weight: 600; font-size: .92rem; }
.creds { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--bg-soft); border-radius: 12px; font-size: .92rem; line-height: 1.45; }
.creds li svg { width: 20px; height: 20px; color: var(--green-text); flex-shrink: 0; margin-top: 1px; }
.creds b { font-family: var(--font-head); color: var(--ink); }
.creds span { display: block; color: var(--muted); font-size: .84rem; }
.creds .status, .status { display: inline-block; font: 700 .7rem/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--green-text); background: var(--green-soft); border: 1px solid #BFE3CB; padding: 4px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Сертифікати ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.cert { display: flex; flex-direction: column; gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: zoom-in; text-align: left; font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s; }
.cert:hover { border-color: #B5D9C1; box-shadow: var(--shadow); }
.cert__img { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert__t { font: 700 .86rem/1.3 var(--font-head); color: var(--ink); padding: 0 4px; }
.cert__s { font-size: .78rem; color: var(--muted); padding: 0 4px 4px; line-height: 1.35; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 94vh; width: 100%; }
.lightbox::backdrop { background: rgba(6, 22, 28, .82); }
.lightbox__box { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; max-height: 94vh; }
.lightbox__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.lightbox__title { font: 700 .95rem/1.3 var(--font-head); color: var(--ink); margin: 0; flex: 1; }
.lightbox__img { overflow: auto; background: var(--bg-soft); }
.lightbox__img img { width: 100%; height: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Об'єкти ---------- */
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) {
  .objects { grid-template-columns: 1fr 1fr; }
  /* непарна остання картка — на всю ширину, горизонтально */
  .object:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .object:last-child:nth-child(odd) .object__map { width: 44%; height: auto; min-height: 150px; flex-shrink: 0; border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .objects { grid-template-columns: 1fr; }
  .object:last-child:nth-child(odd) { flex-direction: column; }
  .object:last-child:nth-child(odd) .object__map { width: auto; height: 140px; border-right: 0; border-bottom: 1px solid var(--line); }
}
.object { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.object__map { height: 140px; padding: 14px 18px; background-color: var(--bg-soft); background-image: linear-gradient(#DDE8E3 1px, transparent 1px), linear-gradient(90deg, #DDE8E3 1px, transparent 1px); background-size: 16px 16px; border-bottom: 1px solid var(--line); overflow: hidden; }
.object__map svg { width: 100%; height: 100%; }
.object__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.object__loc { display: inline-flex; align-items: center; gap: 6px; font: 700 .78rem/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
.object__loc svg { width: 15px; height: 15px; }
.object h3 { margin: 0; font-size: 1.05rem; }
.object p { margin: 0; color: var(--muted); font-size: .92rem; }
.object__tag { margin-top: auto; padding-top: 12px; font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.object__tag svg { width: 16px; height: 16px; color: var(--green-text); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq details[open] { border-color: #B5D9C1; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font: 700 1.02rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314773A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Сторінки послуг ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F2F7F4 0%, #FFFFFF 100%); padding: 28px 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 20%, #000 10%, transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A9B8BE; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .lead { margin-bottom: 28px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.summary__price { font: 800 1.8rem/1.1 var(--font-head); color: var(--ink); margin: 2px 0 14px; }
.summary__price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.summary ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.summary li { display: flex; gap: 10px; align-items: flex-start; }
.summary li svg { width: 18px; height: 18px; color: var(--green-text); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 880px) { .page-hero__grid { grid-template-columns: 1fr; gap: 28px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check li { position: relative; padding-left: 34px; }
.check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314773A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.pricelist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pricelist__row { display: flex; align-items: baseline; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.pricelist__row:last-child { border-bottom: 0; }
.pricelist__name { flex: 1; color: var(--ink); font-weight: 500; }
.pricelist__price { font: 800 .98rem/1.2 var(--font-head); color: var(--ink); white-space: nowrap; }
.pricelist__price small { font-weight: 600; color: var(--muted); font-size: .8rem; }
.pricelist__price--calc { color: var(--green-text); font-size: .88rem; }
.note { font-size: .86rem; color: var(--muted); margin-top: 14px; }

.box { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; }
.box h3 { margin-bottom: 16px; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .related { grid-template-columns: 1fr; } }
.related a { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font: 700 .95rem/1.3 var(--font-head); transition: border-color .2s, box-shadow .2s; }
.related a:hover { border-color: #B5D9C1; box-shadow: var(--shadow); color: var(--ink); }
.related .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.related .icon-box svg { width: 22px; height: 22px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Форма ---------- */
.lead-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .lead-wrap { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon-box { width: 46px; height: 46px; border-radius: 12px; }
.contact-list .icon-box svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); }
.contact-list a, .contact-list b { font: 700 1rem/1.3 var(--font-head); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-text); text-decoration: underline; }
.section--ink .contact-list a, .section--ink .contact-list b { color: #fff; }
.section--ink .contact-list small { color: #9DB5BD; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); color: var(--text); }
.form-card h3 { margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font: 600 .86rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 7px; }
.field .req { color: #C2410C; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #CBD8D3; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2F3C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(30, 158, 72, .15); }
.field input:user-invalid { border-color: #C2410C; }
.field .dropzone { position: relative; display: flex; margin: 0; font: inherit; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 16px; border: 2px dashed #BCD3C6; border-radius: 16px; background: var(--bg-soft); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--green); background: var(--green-soft); }
.dropzone:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(30, 158, 72, .15); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 28px; height: 28px; color: var(--green-text); }
.dropzone b { display: block; font: 700 .95rem/1.3 var(--font-head); color: var(--ink); }
.dropzone span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; background: var(--bg-soft); border-radius: 10px; font-size: .88rem; }
.file-list .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.file-list .fsize { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.file-list button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.file-list button:hover { background: #fff; color: #C2410C; }
.file-list button svg { width: 16px; height: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-btn); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.form-msg[hidden] { display: none; }
.form-msg--error { background: #FFF1EA; color: #9A3412; border: 1px solid #FED7C3; }
.form-msg--info { background: var(--bg-soft); color: var(--ink); }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .icon-box { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; }
.form-success .icon-box svg { width: 36px; height: 36px; }
.form-success p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: #C7D7DC; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta::before { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 300px; border-radius: 50%; border-top: 26px solid rgba(108, 200, 50, .28); transform: rotate(-12deg); }
.cta::after { content: ""; position: absolute; right: -40px; bottom: -170px; width: 420px; height: 300px; border-radius: 50%; border-top: 26px solid rgba(30, 158, 72, .45); transform: rotate(-12deg); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: #AFC4CB; max-width: 60ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Підвал ---------- */
.footer { background: var(--ink-3); color: #9DB5BD; padding: 64px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #C9D8DD; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__about { margin-top: 18px; max-width: 36ch; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Мобільна панель дій ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; min-height: 46px; padding: 10px 12px; }
  .mbar .btn { padding: 8px 10px; gap: 6px; }
  .mbar .mbar__icon { flex: 0 0 46px; padding: 0; }
  .mbar .mbar__icon svg { width: 22px; height: 22px; color: #229ED9; }
  .mbar .mbar__icon--viber svg { color: #7360F2; }
  body { padding-bottom: 72px; }
}

@media (max-width: 400px) { .mbar .mbar__call svg { display: none; } }
.err-page { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.err-page .code { font: 900 clamp(4rem, 14vw, 8rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.04em; }
.err-page .code span { color: var(--green); }

/* ---------- Меню: «Усі послуги» ---------- */
.nav__panel .nav__all { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; font: 700 .88rem/1.2 var(--font-head); color: var(--green-text); }
.nav__panel .nav__all svg { width: 16px; height: 16px; }

/* ---------- Прайс: рядки-посилання ---------- */
a.pricelist__row { text-decoration: none; color: inherit; transition: background-color .15s; }
a.pricelist__row:hover { background: var(--bg-soft); color: inherit; }
.pricelist__row--link .pricelist__name { display: inline-flex; align-items: center; gap: 8px; }
.pricelist__row--link .pricelist__name svg { width: 15px; height: 15px; color: var(--green-text); flex-shrink: 0; transition: transform .2s; }
a.pricelist__row:hover .pricelist__name svg { transform: translateX(3px); }
@media (max-width: 480px) {
  .pricelist__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
}
.price-blocks { display: flex; flex-direction: column; gap: 40px; }
.price-block__head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.price-block__head h2 { font-size: 1.4rem; margin: 0 0 2px; }
.price-block__head h2 a { color: var(--ink); text-decoration: none; }
.price-block__head h2 a:hover { text-decoration: underline; }
.price-block__head p { margin: 0; font-size: .92rem; }

/* ---------- Чипи, реквізити, підвал ---------- */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.summary .chips { flex-direction: row; gap: 8px; }
.chips li { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--ink); font-size: .86rem; font-weight: 500; }
.reqs { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.reqs > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.reqs > div:last-child { border-bottom: 0; }
.reqs dt { color: var(--muted); font-size: .88rem; }
.reqs dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .reqs > div { grid-template-columns: 1fr; gap: 2px; } }
.footer__areas { margin-top: 40px; font-size: .86rem; line-height: 1.9; }
.footer__areas span { color: #fff; font-weight: 600; margin-right: 4px; }
.footer__bottom { margin-top: 20px; }

/* ---------- Квіз ---------- */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.quiz__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.quiz__count { font: 700 .8rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); white-space: nowrap; }
.quiz__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--grid); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--green), var(--green-2)); transition: width .3s; }
.quiz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step[hidden], .quiz__result[hidden] { display: none; }
.quiz__step legend { font: 800 1.3rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 16px; padding: 0; }
.quiz__step legend + p { margin-top: -8px; }
.quiz__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz__opts--4 { grid-template-columns: repeat(4, 1fr); }
.quiz__opts--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .quiz__opts, .quiz__opts--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quiz__opts, .quiz__opts--4, .quiz__opts--2 { grid-template-columns: 1fr; } }
.quiz__opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 58px; border: 1.5px solid #CBD8D3; border-radius: 14px; cursor: pointer; font-weight: 500; color: var(--ink); line-height: 1.35; transition: border-color .15s, background-color .15s; }
.quiz__opt:hover { border-color: var(--green); }
.quiz__opt input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--green-btn); }
.quiz__opt:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.quiz__opt:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(30, 158, 72, .2); }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz__nav [data-q-next] { margin-left: auto; }
.quiz__nav[hidden], .quiz__nav [hidden] { display: none; }
.quiz__result h3 { font-size: 1.3rem; margin-bottom: 14px; }
.quiz__list { list-style: none; padding: 0; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.quiz__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.quiz__list li:last-child { border-bottom: 0; }
.quiz__list a { color: var(--ink); font-weight: 600; }
.quiz__list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.quiz__list b { font-family: var(--font-head); white-space: nowrap; color: var(--ink); }
.quiz__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #C7D7DC; margin-bottom: 14px; }
.quiz__total b { font: 800 1.5rem/1 var(--font-head); color: #fff; white-space: nowrap; }
.quiz__notes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: var(--muted); }
.quiz__notes li { padding-left: 14px; border-left: 3px solid var(--green-2); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Сторінки районів ---------- */
.pricelist--tasks .pricelist__name > span { display: flex; flex-direction: column; gap: 2px; }
.pricelist--tasks .pricelist__name b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.pricelist--tasks .pricelist__name small { color: var(--muted); font-size: .84rem; }
.objects--single { grid-template-columns: minmax(0, 560px); }
@media (max-width: 1000px) { .objects--single { grid-template-columns: 1fr; } }
.cta-line { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 20px 24px; border: 1.5px dashed #B5D9C1; border-radius: 18px; background: var(--bg-soft); text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s; }
.cta-line:hover { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.cta-line > span:nth-child(2) { flex: 1; }
.cta-line b { display: block; font: 700 1rem/1.3 var(--font-head); }
.cta-line span span { display: block; color: var(--muted); font-size: .92rem; }
.cta-line > svg { width: 20px; height: 20px; color: var(--green-text); flex-shrink: 0; }
