/* ГІДРОТЕХІМПЕКС — стилі сайту (світла тема, сині акценти) */
:root {
  --bg: #ffffff;
  --alt: #f3f6fa;
  --text: #1f2933;
  --muted: #55636f;
  --line: #dbe2ea;
  --primary: #1a66d2;
  --primary-hover: #1453ad;
  --primary-soft: #e9f1fc;
  --green: #1f8a4c;
  --dark: #10243f;

  --font-sans: "Open Sans", Arial, Helvetica, sans-serif;
  --font-head: "Montserrat", Arial, sans-serif;
  --yellow: #f5c518;

  --radius: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font-sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0; color: var(--dark); }
h2 { letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; color: #fff; }
.accent { color: var(--primary); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono-label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.mono-label.accent, .mono-label .accent { color: var(--primary); }
.mono-sm { font-size: 15px; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; font: 500 16px/1.2 var(--font-sans); border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--ghost, .btn--outline { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn--ghost:hover, .btn--outline:hover { background: var(--primary-soft); color: var(--primary-hover); }
.btn--text { background: none; padding-inline: 4px; color: var(--primary); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.tag { display: inline-flex; align-items: center; font-size: 14px; padding: 4px 10px; border-radius: var(--radius); }
.tag--green { color: var(--green); background: #e8f5ee; }

/* ---------- верхня плашка ---------- */
.legal-bar { background: var(--alt); border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-bar__grid { display: none; }
.legal-bar__status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; color: var(--muted); }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(16, 36, 63, .06); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--dark); }
.logo:hover { text-decoration: none; color: var(--dark); }
.logo__mark { display: grid; place-items: center; width: 48px; height: 48px; background: linear-gradient(180deg, var(--primary) 0 62%, var(--yellow) 62% 100%); color: #fff; border-radius: var(--radius); font: 700 15px/1 var(--font-head); letter-spacing: .03em; }
.logo__text b { display: block; font: 700 20px/1.1 var(--font-head); letter-spacing: .02em; }
.logo__text small { display: block; font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 10px; font-size: 16px; font-weight: 500; color: var(--text); border-radius: var(--radius); }
.nav a small { display: none; }
.nav a:hover { color: var(--primary); background: var(--primary-soft); text-decoration: none; }
.header__phone { font-size: 18px; font-weight: 700; white-space: nowrap; color: var(--dark); }
.header__cta { white-space: nowrap; flex-shrink: 0; }
.burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; padding: 13px 12px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; background: var(--dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero__bg { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--primary); margin-bottom: 14px; }
.eyebrow__num { display: none; }
.hero h1 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.015em; line-height: 1.12; }
.lead { margin-top: 20px; font-size: 18px; color: var(--text); max-width: 640px; }
.slogan { margin-top: 16px; padding-left: 14px; border-left: 4px solid var(--yellow); font: italic 600 18px/1.4 var(--font-sans); color: var(--dark); }
.hero .mono-label { margin-top: 24px; font-size: 15px; }
.chain { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 640px; }
.chain li { font-size: 15px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__hotline { margin-top: 16px; font-size: 17px; }
.hero__hotline a { font-weight: 700; }

.intake { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 24px rgba(16, 36, 63, .08); }
.intake__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.intake__head .mono-label { font-size: 17px; font-weight: 700; color: var(--dark); }
.intake__img { border-radius: var(--radius); overflow: hidden; }
.intake__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.intake__img figcaption { padding: 8px 0 0; font-size: 14px; }
.spec { margin-top: 14px; }
.spec > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--text); font-weight: 500; }
.intake__note { margin-top: 14px; font-size: 16px; color: var(--muted); }
.intake__sla { display: none; }
.intake__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }

/* ---------- цифри ---------- */
.stats { background: var(--dark); color: #fff; border-top: 5px solid var(--yellow); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid rgba(255,255,255,.25); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font: 700 clamp(30px, 3vw, 40px)/1.05 var(--font-head); }
.stat p { font-size: 16px; color: #c9d6e6; }
.stat b { color: var(--yellow); }
.stat .mono-label { color: #fff; font-weight: 700; order: -1; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- бренди ---------- */
.brands { padding: 40px 0; background: var(--alt); border-bottom: 1px solid var(--line); }
.brands__head { margin-bottom: 16px; }
.brands__head .mono-label { display: none; }
.brands__title { font: 700 22px/1.3 var(--font-head); color: var(--dark); }
.marquee { display: none; }
.brandlist { display: flex; flex-wrap: wrap; gap: 8px; }
.brandlist li { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: 16px; }

/* ---------- секції ---------- */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--alt { background: var(--alt); }
.section__head { max-width: 860px; margin-bottom: 36px; }
.section__head .eyebrow { margin-bottom: 8px; }
.section__head h2 { font-size: clamp(28px, 3vw, 38px); }
.section__head h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) 0 50%, var(--yellow) 50% 100%); }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* картки напрямків */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: rgba(255,255,255,.92); font-size: 14px; color: var(--text); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body > .mono-label { text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 14px; }
.card h3 { font-size: 24px; }
.card__body > p:not(.chips):not(.mono-label) { color: var(--muted); }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chips span { font-size: 14px; padding: 4px 10px; background: var(--primary-soft); color: var(--primary-hover); border-radius: var(--radius); }
.card--plain { border-top: 4px solid var(--primary); }
.card--stand .btn { align-self: flex-start; margin-top: 4px; }
.protocol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.protocol > div { background: #fff; padding: 10px 12px; }
.protocol dt { font-size: 14px; color: var(--muted); }
.protocol dd { font-size: 17px; font-weight: 700; color: var(--dark); }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px 26px; background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: var(--radius); }
.callout p { font-size: 17px; max-width: 760px; }
.callout .btn { flex-shrink: 0; }
.callout--inline { margin-top: 20px; flex-wrap: wrap; }

/* відео */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; align-items: start; }
.video { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }

.video figcaption { padding: 14px 16px 16px; display: grid; gap: 4px; }
.video figcaption b { font: 700 18px/1.3 var(--font-head); color: var(--dark); }

/* кейси */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.case h3 { font-size: 21px; }
.case p:not(.case__meta) { color: var(--muted); font-size: 16px; }
.case__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.case__meta span:first-child { color: #fff; background: var(--primary); padding: 1px 8px; border-radius: var(--radius); font-weight: 500; }
.case--img { grid-template-columns: 150px 1fr; gap: 18px; }
.case--img img { width: 150px; height: 100%; min-height: 160px; object-fit: cover; border-radius: var(--radius); }
.case--img > div { display: grid; gap: 10px; align-content: start; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.gallery figure { display: grid; gap: 6px; align-content: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery figcaption { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* фрагменти актів */
.acts { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.acts__head { display: grid; gap: 10px; align-content: start; }
.acts__head .mono-label { font: 700 20px/1.3 var(--font-head); color: var(--dark); }
.acts__head p.muted { font-size: 16px; }
.act { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.act:hover { text-decoration: none; }
.act img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: var(--radius); }
.act:hover img { border-color: var(--primary); box-shadow: 0 4px 14px rgba(26, 102, 210, .2); }

/* кроки */
.process { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 18px/1 var(--font-head); }
.step h3 { font-size: 21px; margin: 4px 0 6px; }
.step p:not(.mono-label) { color: var(--muted); font-size: 16px; }
.process__aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.process__img figcaption { display: none; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }

/* переваги */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.compare h3 { font-size: 26px; margin: 8px 0 12px; }
.compare__text p:not(.mono-label) { color: var(--muted); }
.bars { display: grid; gap: 22px; align-content: center; }
.bar__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.bar__label b { font: 700 22px/1 var(--font-head); white-space: nowrap; color: var(--dark); }
.bar__label b.accent { color: var(--primary); }
.bar__track { position: relative; height: 18px; background: #e3e9f0; border-radius: var(--radius); overflow: hidden; }
.bar__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary) 0 var(--to), transparent var(--to)); }
.bar__fill--muted { background: linear-gradient(90deg, #8b98a6 0 var(--to), transparent var(--to)); }
.bar p { margin-top: 6px; }
.bar__scale { position: relative; height: 18px; }
.bar__scale span { position: absolute; transform: translateX(-50%); }
.bar__scale span:nth-child(1) { left: 0; transform: none; }
.bar__scale span:nth-child(2) { left: calc(5 / 26 * 100%); }
.bar__scale span:nth-child(3) { left: calc(10 / 26 * 100%); }
.bar__scale span:nth-child(4) { left: calc(15 / 26 * 100%); }
.bar__scale span:nth-child(5) { left: calc(20 / 26 * 100%); }
.bar__scale span:nth-child(6) { left: calc(25 / 26 * 100%); }

.adv-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.adv-split__img { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; align-content: start; }
.adv-split__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.adv-split__img figcaption { padding: 18px; display: grid; gap: 10px; }
.adv-split__img figcaption .mono-label { font-weight: 700; color: var(--dark); font-size: 16px; }
.fact { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.fact b { font: 700 44px/1 var(--font-head); color: var(--primary); }
.fact__sub { font-size: 15px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fact h3 { font-size: 20px; margin-top: 4px; }
.fact p { color: var(--muted); font-size: 16px; }

/* поставка */
.supply { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.supply__item { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); display: grid; gap: 8px; align-content: start; }
.supply__item .mono-label { text-transform: uppercase; letter-spacing: .05em; font-weight: 700; font-size: 13px; }
.supply__item h3 { font-size: 21px; }
.supply__item p:not(.mono-label) { color: var(--muted); font-size: 16px; }
.supply__note { padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px !important; }
.supply__note b { color: var(--dark); }
.supply__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 6px; }

/* заявка */
.request { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.form { padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 20px; box-shadow: 0 6px 24px rgba(16, 36, 63, .06); }
.form__status { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: 16px; font-weight: 500; color: var(--dark); }
.field em { color: #c0392b; font-style: normal; }
.field small { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; color: var(--text); border: 1px solid #b9c4d0; border-radius: var(--radius); font: 400 17px/1.4 var(--font-sans); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
.field input::placeholder, .field textarea::placeholder { color: #8a96a3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 102, 210, .2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; background: #fff6f5; }
.form__photo { padding: 12px 14px; background: var(--alt); border-radius: var(--radius); font-size: 15px; }
.form__result:empty { display: none; }
.form__result { padding: 12px 14px; border-radius: var(--radius); font-size: 16px; }
.form__result.is-ok { background: #e8f5ee; color: #17663a; }
.form__result.is-err { background: #fdecea; color: #a12b1f; }
.request__aside { display: grid; gap: 16px; }
.panel { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { font-size: 21px; margin-bottom: 14px; }
.panel--accent { background: var(--primary-soft); border-color: #c6dbf7; display: grid; gap: 10px; justify-items: start; }
.panel--accent .mono-label { color: var(--dark); font-size: 16px; }
.bigphone { font: 700 clamp(26px, 2.4vw, 32px)/1.2 var(--font-head); color: var(--primary); }
.numlist { counter-reset: n; display: grid; gap: 12px; }
.numlist li { counter-increment: n; position: relative; padding-left: 40px; font-size: 16px; }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 15px; }
.spec--stack { margin-top: 0; }
.spec--stack > div { grid-template-columns: 1fr; gap: 2px; }
.spec--stack > div:last-child { border-bottom: 0; }

/* контакти */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.contact .mono-label { font-weight: 700; color: var(--dark); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.contact__value { font: 700 clamp(22px, 2vw, 26px)/1.25 var(--font-head); color: var(--dark); white-space: nowrap; }
a.contact__value { color: var(--primary); }
.contact__value--mono { font-size: clamp(18px, 1.6vw, 21px); }
.contact__value--sm { white-space: normal; font-size: 20px; }
.contact p.muted { font-size: 15px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }

/* підвал */
.footer { padding: 48px 0 24px; background: var(--dark); color: #c9d3df; }
.footer a { color: #fff; }
.footer .logo { color: #fff; }
.footer .logo__text small { color: #9fb0c3; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer__grid > div, .footer__grid > nav { display: flex; flex-direction: column; gap: 8px; }
.footer__grid .mono-label { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.footer__grid a { font-size: 15px; color: #dbe4ee; }
.footer__brand p:not(.mono-sm) { margin-top: 8px; font-size: 15px; }
.footer .mono-sm, .footer .muted { color: #9fb0c3; font-size: 14px; }
.footer__req { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 8px 0; }
.footer__req > div { display: contents; }
.footer__req dd { color: #fff; }
.footer__msg { display: flex; gap: 16px; margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); }

.mobile-bar { display: none; }
.reveal, .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
.nav a { white-space: nowrap; }
.header__cta { display: none; }
@media (max-width: 1180px) {
  .nav a { padding: 8px 6px; font-size: 15px; }
  .header__row { gap: 16px; }
  .header__phone { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: #fff; overflow-y: auto; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
  .hero__grid, .process, .compare, .request, .contact-split { grid-template-columns: 1fr; }
  .intake { max-width: 640px; }
  .process__aside { position: static; }
  .supply, .contact-cards, .videos { grid-template-columns: 1fr 1fr; }
  .adv-split { grid-template-columns: 1fr 1fr; }
  .adv-split__img { grid-column: 1 / -1; }
  .acts { grid-template-columns: repeat(3, 1fr); }
  .acts__head { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .legal-bar { display: none; }
  .header__phone { display: none; }
  .logo__mark { width: 42px; height: 42px; font-size: 13px; }
  .logo__text b { font-size: 18px; }
  .hero__actions .btn { width: 100%; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 20px 0; }
  .stat:first-child { border-top: 0; }
  .cards, .cases, .videos, .supply, .contact-cards, .adv-split, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .card__body { padding: 20px; }
  .protocol { grid-template-columns: 1fr 1fr; }
  .callout { flex-direction: column; align-items: stretch; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step__num { width: 40px; height: 40px; font-size: 16px; }
  .case--img { grid-template-columns: 1fr; }
  .case--img img { width: 100%; height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .video--vertical video { max-height: 70vh; }
  .acts { grid-template-columns: 1fr 1fr; padding: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .bar__label { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact__value { white-space: normal; }
  .footer__bottom { flex-direction: column; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(16, 36, 63, .08); }
  .mobile-bar .btn { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- перегляд фото на весь екран ---- */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(10, 20, 35, .92); padding: 56px 72px 24px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; }
.lightbox__fig img { max-width: 100%; max-height: calc(100% - 48px); object-fit: contain; border-radius: 4px; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.lightbox__fig figcaption { color: #fff; font-size: 16px; text-align: center; line-height: 1.4; white-space: pre-wrap; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 34px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--primary); outline: none; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lightbox { padding: 60px 8px 76px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .lightbox__fig figcaption { font-size: 14px; }
}
