/* ==========================================================================
   УТБ РЕСУРС — дизайн-система
   Світлий медичний стиль. Мотив — ромбовидна ґратка з логотипа
   та фірмова лінія з бланка (суцільна синя + пунктир).
   ========================================================================== */

:root {
  --blue-900: #0B5C99;
  --blue-700: #0D6EB8;
  --blue-400: #6FB4E3;
  --blue-100: #DCEBF7;

  --bg: #ffffff;
  --bg-soft: #F5F9FC;
  --ink: #1A1A2E;
  --ink-soft: #5A6472;
  --line: #E3ECF3;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(13, 110, 184, .08);
  --shadow-lg: 0 18px 48px rgba(13, 110, 184, .14);
  --wrap: 1180px;
  --hdr-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-700); text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* --- Фірмова ромбовидна ґратка (мотив логотипа) ---------------------------
   Тонка сітка з ромбів, а не шахівниця: дві діагональні лінії під 45°.      */
.lattice {
  background-image:
    repeating-linear-gradient(45deg,  var(--blue-100) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, var(--blue-100) 0 1px, transparent 1px 34px);
}

/* --- Кнопки --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  font: inherit; font-weight: 600; font-size: .95rem;
  color: #fff; background: var(--btn-bg);
  border: 1px solid var(--btn-bg); border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.btn-ghost {
  color: var(--blue-700); background: transparent; border-color: var(--line);
}
.btn-ghost:hover { color: var(--blue-900); background: var(--blue-100); border-color: var(--blue-100); box-shadow: none; }

.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; width: 100%; }

/* --- Секції та заголовки -------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-soft { background: var(--bg-soft); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700);
}
.kicker::before {
  content: ""; width: 9px; height: 9px; flex: none;
  background: var(--blue-400); transform: rotate(45deg);
}

.section-note {
  max-width: 62ch; margin-top: 14px;
  color: var(--ink-soft); font-size: 1.02rem;
}

/* Лінія з фірмового бланка: суцільний синій відрізок + пунктир */
.rule { position: relative; height: 6px; margin-top: 22px; }
.rule::before {
  content: ""; position: absolute; left: 0; top: 0; width: 88px; height: 3px;
  background: var(--blue-700);
}
.rule::after {
  content: ""; position: absolute; left: 0; top: 5px; right: 0; height: 1px;
  background-image: linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px);
  background-size: 26px 1px;
  opacity: .28;
}

/* --- Поява на скролі ------------------------------------------------------
   Ховаємо лише коли JS справді працює (клас .js ставить інлайн-скрипт у head).
   Без цього збій або вимкнений JS лишив би сторінку порожньою.               */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Хедер
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hdr.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(13, 110, 184, .06); }

.hdr-in {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--hdr-h);
}

.hdr-brand { flex: none; display: block; }
.hdr-brand img { width: auto; height: 46px; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav > a {
  position: relative; padding: 6px 0;
  color: var(--ink); font-size: .94rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--blue-700); transition: right .25s var(--ease);
}
.nav > a:hover { color: var(--blue-700); }
.nav > a:hover::after { right: 0; }
.nav-tel, .nav-cta { display: none; }

.hdr-side { display: flex; align-items: center; gap: 14px; flex: none; }

.hdr-lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 34px; padding-inline: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 8px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.hdr-lang:hover { color: var(--blue-700); border-color: var(--blue-400); background: var(--blue-100); }

.hdr-tel { color: var(--ink); font-weight: 600; font-size: .94rem; white-space: nowrap; }
.hdr-tel:hover { color: var(--blue-700); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 38px; padding: 0 9px;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px) clamp(52px, 8vw, 104px); }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .75;
  -webkit-mask-image: radial-gradient(90% 80% at 92% 6%, #000 0%, transparent 62%);
  mask-image: radial-gradient(90% 80% at 92% 6%, #000 0%, transparent 62%);
}

.hero-in {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue-700); }

.hero-lead {
  max-width: 54ch; margin-bottom: 30px;
  font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-soft);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Каліграфія-слоган поверх фірмового ромба — підпис бренду */
.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-mark::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/brand/mark.png") center / contain no-repeat;
  opacity: .16;
}
.hero-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--blue-400); opacity: .35;
}
.hero-tagline { position: relative; width: min(86%, 360px); }

/* На EN каліграфія українською недоречна — слоган набором */
.hero-tagline-text {
  position: relative; margin: 0; max-width: 74%;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 300; font-style: italic;
  line-height: 1.35; text-align: center; color: var(--blue-900);
}
.hero-tagline-text::after {
  content: ""; display: block; width: 88px; height: 3px; margin: 18px auto 0;
  background: var(--blue-700);
}

/* ==========================================================================
   Смуга довіри
   ========================================================================== */
.trust { border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 0;
}
.trust-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item:not(:first-child) { padding-left: 24px; }
.trust-item strong {
  display: flex; align-items: center; gap: 9px;
  font-size: 1rem; font-weight: 600; color: var(--ink);
}
.trust-item strong::before {
  content: ""; width: 7px; height: 7px; flex: none;
  background: var(--blue-700); transform: rotate(45deg);
}
.trust-item span { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }

/* ==========================================================================
   Обладнання
   ========================================================================== */
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }

.prod-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.prod {
  display: flex; flex-direction: column;
  padding: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

/* Фон білий — під колір студійного тла на фото, інакше видно шов */
.prod-media {
  position: relative; aspect-ratio: 1; max-width: 100%;
  margin-bottom: 20px; padding: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.prod-media img { width: 100%; height: 100%; object-fit: contain; }

.prod-cat {
  margin: 0 0 6px;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700);
}
.prod-name { margin-bottom: 4px; font-size: 1.22rem; }
.prod-vendor { margin: 0 0 16px; font-size: .88rem; color: var(--ink-soft); }

.prod-specs { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 9px; }
.prod-specs li {
  position: relative; padding-left: 20px;
  font-size: .9rem; line-height: 1.5; color: var(--ink);
}
.prod-specs li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 7px; height: 7px; background: var(--blue-400); transform: rotate(45deg);
}

.prod-more { margin-bottom: 18px; border-top: 1px solid var(--line); }
.prod-more summary {
  padding: 12px 0 0; cursor: pointer; list-style: none;
  font-size: .85rem; font-weight: 600; color: var(--blue-700);
  display: flex; align-items: center; gap: 8px;
}
.prod-more summary::-webkit-details-marker { display: none; }
.prod-more summary::after {
  content: ""; width: 7px; height: 7px; margin-left: auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s var(--ease);
}
.prod-more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.prod-more ul { margin: 12px 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; }
.prod-more li {
  position: relative; padding-left: 16px;
  font-size: .84rem; line-height: 1.5; color: var(--ink-soft);
}
.prod-more li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 6px; height: 1px; background: var(--blue-400);
}

.prod-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.prod-price { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

/* ==========================================================================
   Бренди
   ========================================================================== */
.brands { padding-block: clamp(32px, 4vw, 48px); border-block: 1px solid var(--line); background: var(--bg-soft); }
.brands-in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 5vw, 64px); }
.brands-title {
  margin: 0; flex: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.brands-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 56px); }
.brands-row img { height: 30px; width: auto; opacity: .78; filter: grayscale(1); transition: opacity .25s var(--ease), filter .25s var(--ease); }
.brands-row img:hover { opacity: 1; filter: none; }
.brand-word {
  font-size: 1.5rem; font-weight: 300; letter-spacing: .02em; color: var(--ink-soft);
  transition: color .25s var(--ease);
}
.brand-word:hover { color: var(--ink); }

/* ==========================================================================
   Про компанію
   ========================================================================== */
.about-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.about-text > p { margin-top: 18px; color: var(--ink-soft); font-size: 1rem; }
.about-text > p:first-of-type { color: var(--ink); font-size: 1.06rem; }

.about-stats { display: grid; gap: 14px; }
.stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 22px 24px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 3px solid var(--blue-700);
}
.stat strong { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: var(--blue-900); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* ==========================================================================
   Сервіс
   ========================================================================== */
.svc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc {
  padding: 26px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc h3 { margin-bottom: 8px; font-size: 1.06rem; }
.svc p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }

/* Іконка — ромб з логотипа, вкладений у більший ромб */
.svc-ico {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  border: 1px solid var(--blue-400); transform: rotate(45deg); border-radius: 6px;
}
.svc-ico i { display: block; width: 14px; height: 14px; background: var(--blue-700); border-radius: 2px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 12px; max-width: 900px; }

.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq-item:hover { border-color: var(--blue-400); }

.faq-item summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: .42em;
  background: var(--blue-400); transform: rotate(45deg);
  transition: background .22s var(--ease);
}
.faq-item[open] summary::before { background: var(--blue-700); }
.faq-item summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: .3em 0 0 auto;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.faq-item p {
  margin: 0; padding: 0 22px 20px 45px;
  font-size: .94rem; line-height: 1.6; color: var(--ink-soft);
}

/* ==========================================================================
   Сторінка 404
   ========================================================================== */
.e404 { position: relative; overflow: hidden; padding-block: clamp(64px, 12vw, 140px); text-align: center; }
.e404-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 70%);
}
.e404-in { position: relative; max-width: 620px; margin-inline: auto; }
.e404-code {
  display: block; margin-bottom: 8px;
  font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; line-height: 1;
  letter-spacing: -.04em; color: var(--blue-100);
}
.e404 h1 { margin-bottom: 16px; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.e404 p { color: var(--ink-soft); }
.e404-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 24px; }
.e404-help { font-size: .92rem; }
.e404-help a { font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Форма запиту
   ========================================================================== */
.request-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.request-lead { margin-top: 18px; color: var(--ink-soft); }

.perks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.perks li {
  position: relative; padding-left: 26px;
  font-size: .94rem; color: var(--ink);
}
.perks li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 14px; height: 8px; border-left: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700);
  transform: rotate(-45deg);
}

.form {
  padding: clamp(22px, 3vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field > span em { font-style: normal; font-weight: 400; color: var(--ink-soft); }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input, .field select { height: 48px; }
.field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #9AA6B4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 4px var(--blue-100);
}
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-msg { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok  { color: #1A7F4B; font-weight: 500; }
.form-msg.err { color: #C0392B; font-weight: 500; }
.form-fine { margin: 12px 0 0; font-size: .79rem; line-height: 1.5; color: var(--ink-soft); }

/* ==========================================================================
   Контакти
   ========================================================================== */
.contacts-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.contact {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-label { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-value { font-size: 1.02rem; font-weight: 600; color: var(--ink); word-break: break-word; }
a.contact-value:hover { color: var(--blue-700); }

/* ==========================================================================
   Футер
   ========================================================================== */
.ftr { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); background: var(--bg-soft); }

.ftr-in {
  display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px;
  padding-block: clamp(40px, 5vw, 60px) 32px;
}
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col h4 { margin-bottom: 4px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.ftr-col > a { color: var(--ink); font-size: .93rem; transition: color .2s var(--ease); }
.ftr-col > a:hover { color: var(--blue-700); }

/* align-self обовʼязковий: .ftr-col — flex-колонка, а вона за замовчуванням
   розтягує дітей на всю ширину (align-items: stretch) і перебиває width:auto,
   через що логотип сплющувався з 106px до 505px завширшки. */
.ftr-brandcol img { align-self: flex-start; width: auto; height: 44px; margin-bottom: 4px; }
.ftr-brandcol p { max-width: 38ch; margin: 0; font-size: .92rem; color: var(--ink-soft); }

.ftr-btm {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 20px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-soft);
}
.ftr-by { color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.ftr-by:hover { color: var(--blue-700); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; }
  /* Заголовок має лишатись першим: ромб — це прикраса, а не зміст */
  .hero-mark { max-width: 380px; margin-inline: auto; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { padding-left: 0; }
  .trust-item:nth-child(even) { padding-left: 24px; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .ftr-brandcol { grid-column: 1 / -1; }
  .about-in, .request-in { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  :root { --hdr-h: 68px; }
  .burger { display: flex; }
  .hdr-tel { display: none; }
  /* CTA-кнопка виштовхувала бургер за край екрана — на мобільному вона в меню */
  .hdr-side > .btn { display: none; }
  .hdr-side { margin-left: auto; }
  .hdr-brand img { height: 38px; }

  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(13, 110, 184, .1);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav > a::after { display: none; }
  .nav-tel { display: block; font-weight: 600; color: var(--blue-700); border-bottom: 0; }
  .nav-cta { display: flex; margin-top: 14px; color: #fff; }
  .nav-cta::after { display: none; }
}

@media (max-width: 600px) {
  .trust-in { grid-template-columns: 1fr; }
  .trust-item { padding: 18px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .hero-cta .btn { width: 100%; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .about-stats { grid-template-columns: 1fr; }
  .prod-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .prod-foot .btn { width: 100%; }
  .ftr-in { grid-template-columns: 1fr; gap: 28px; }
  .ftr-btm { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
