/* ==========================================================
   КАРОЛА — стилі сайту
   Кольори та шрифти змінюються в одному місці: блок :root нижче.
   ========================================================== */

:root {
  --ink: #161A17;          /* основний чорний (як у логотипі) */
  --ink-2: #4D564E;        /* другорядний текст */
  --ground: #F4F5F1;       /* фон сторінки */
  --white: #FFFFFF;
  --line: #D8DCD3;         /* лінії та рамки */
  --line-soft: #E5E8E1;
  --thumb: #E7EAE3;        /* фон під превʼю документів */
  --green: #3E7A26;        /* фірмовий зелений (кнопки, посилання) */
  --green-tint: #EBF2E6;   /* світло-зелений фон іконок */
  --green-text-on: #EEF5EA;/* текст на зеленому */
  --yellow: #F5C518;       /* сигнальний жовтий */
  --on-dark-1: #E6E9E3;
  --on-dark-2: #C9CFC6;
  --on-dark-3: #AFB6AD;
  --dark-line: #2D342E;
  --rivet: #9BA398;

  --font-display: 'Geologica', 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { opacity: .85; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 4px; font-weight: 600; }
.skip:focus { left: 16px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-2); }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow--sm { font-size: 12px; }
.label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.025em; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.015em; }
.h2--panel { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; }
.h3 { font-size: 19px; line-height: 1.25; }
.h3--lg { font-size: 21px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 760px; }
.bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.bullets--sm { gap: 6px; font-size: 15px; }

/* ---------- Кнопки й посилання ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 4px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--primary { background: var(--green); border-color: var(--green); color: var(--white); }
.btn--outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn--signal { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { color: var(--green); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Верхня смуга і шапка ---------- */
.topbar { background: var(--ink); color: var(--on-dark-2); font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--font-mono); }
.topbar a { color: var(--white); text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.logo { display: block; }
.logo img { display: block; height: 50px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 10px; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav-toggle { display: none; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
@media (max-width: 960px) {
  .nav { flex-direction: column; align-items: flex-start; width: 100%; padding-top: 4px; border-top: 1px solid var(--line); }
  /* Меню ховається за кнопкою лише коли працює JavaScript */
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
  .nav a { width: 100%; padding-block: 12px; border-bottom: 1px solid var(--line-soft); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 12px; }
  .header-cta { display: none; }
}

/* ---------- Секції ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head__aside { max-width: 460px; color: var(--ink-2); }

/* Сітка з тонкими лініями між плитками */
/* Лінії малюються тінню кожної плитки, тож неповний останній ряд виглядає як порожня клітинка, а не сіра пляма */
.grid-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr)); gap: 1px; background: var(--white); border: 1px solid var(--line); padding: 0; margin: 0; list-style: none; }
.grid-lines > * { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.grid-lines--ground { background: var(--ground); }
.grid-lines--ground > * { background: var(--ground); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr)); gap: var(--gap, 20px); padding: 0; list-style: none; }

/* ---------- Головна: перший екран ---------- */
.home-hero { background: var(--white); }
.home-hero .container { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 56px; padding-top: clamp(48px, 6vw, 80px); }
.home-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(32px, 5vw, 72px); }
.home-hero__title { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.025em; }
.home-hero__lead { font-size: 19px; color: var(--ink-2); max-width: 600px; }
.home-hero__art { flex: 1.3 1 480px; min-width: 0; display: flex; justify-content: flex-end; }
.home-hero__art img { display: block; width: 100%; max-width: 760px; }
.eyebrow-tri { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-tri::before { content: ""; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--yellow); }

/* Шильдик з акредитаціями */
.plate-band { background: var(--ground); border-top: 1px solid var(--line); padding-block: 40px; }
.plate { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.plate__rivet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--rivet); }
.plate__rivet:nth-child(1) { top: 9px; left: 9px; } .plate__rivet:nth-child(2) { top: 9px; right: 9px; }
.plate__rivet:nth-child(3) { bottom: 9px; left: 9px; } .plate__rivet:nth-child(4) { bottom: 9px; right: 9px; }
.plate__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.plate__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.plate__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px 28px; }
.plate__grid > div { display: flex; flex-direction: column; gap: 2px; }
.plate__grid dd { font-weight: 600; }

/* 20 років */
.anniv { background: var(--ink); color: var(--on-dark-1); }
.anniv .container { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding-block: clamp(56px, 7vw, 88px); }
.anniv__num { display: flex; align-items: baseline; gap: 14px; }
.anniv__num b { font-family: var(--font-display); font-weight: 700; font-size: clamp(110px, 14vw, 180px); line-height: .85; letter-spacing: -.05em; color: var(--yellow); }
.anniv__num span { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--white); }
.anniv__text { flex: 1 1 480px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.anniv__text h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--white); }
.anniv__text p { font-size: 17px; line-height: 1.65; color: var(--on-dark-2); }
.anniv__slogan { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--yellow) !important; }

/* Плитки обладнання */
.tile { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.tile h3 { margin-top: 10px; font-size: 20px; line-height: 1.25; }
.tile p { font-size: 15px; color: var(--ink-2); }
.icon-box { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 4px; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.icon-box--sm { width: 44px; height: 44px; }

/* Методи контролю */
.methods { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.methods--bar { margin-top: 24px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.methods__label { margin-right: 10px; }
.method { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 15px; }
.method--plain { padding-left: 14px; }
.method__code { font-family: var(--font-mono); font-weight: 500; font-size: 13px; background: var(--ink); color: var(--white); padding: 3px 7px; border-radius: 2px; }

/* Картки */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.card--ground { background: var(--ground); }
.card--link { color: var(--ink); text-decoration: none; gap: 12px; }
.card--link h3 { font-size: 22px; line-height: 1.25; margin-top: 4px; }
.card--link p { font-size: 15px; color: var(--ink-2); flex-grow: 1; }
.card--link .more { color: var(--green); font-weight: 600; font-size: 15px; }
.card__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.card__list li { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.card__list b { font-weight: 600; }
.card__list span { color: var(--ink-2); }

/* Клієнти */
.client { padding: 22px 22px 24px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.client--compact { min-height: 96px; justify-content: center; gap: 2px; padding: 24px; }
.client__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.client__form { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.client--more { background: var(--ink) !important; color: var(--white); }
.client--more a { color: var(--yellow); font-weight: 600; font-size: 14px; text-decoration: none; }

/* Панорама над закликом */
.panorama { background: var(--white); padding-top: clamp(32px, 4vw, 56px); }
.panorama img { display: block; width: 100%; }

/* Заклик до дії (зелена смуга) */
.cta { background: var(--green); color: var(--white); }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 64px; padding-block: clamp(48px, 6vw, 88px); }
.cta__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta__text h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }
.cta__text p { font-size: 17px; color: var(--green-text-on); max-width: 560px; }
.cta__contacts { flex: 0 1 auto; display: flex; flex-direction: column; gap: 14px; }
.cta__phone { color: var(--white); text-decoration: none; font-family: var(--font-mono); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); }
.cta__mail { color: var(--white); font-family: var(--font-mono); font-size: 17px; }
.cta__contacts .btn { align-self: flex-start; }

/* Стріла з трикутників над футером */
.truss { height: 18px; background-color: var(--ground); background-image: conic-gradient(from 152deg at 50% 0, var(--ink) 56deg, transparent 0); background-size: 21px 18px; background-repeat: repeat-x; }
.truss--green { background-color: var(--green); }

/* ---------- Футер ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-3); font-size: 14px; }
.site-footer .container { display: flex; flex-direction: column; gap: 48px; padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { margin-bottom: 4px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer-col a { color: var(--on-dark-3); text-decoration: none; }
.footer-col a.light { color: var(--white); font-family: var(--font-mono); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 46px; width: auto; align-self: flex-start; }
.footer-brand p { max-width: 280px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; }

/* ---------- Внутрішні сторінки: перший екран ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .container { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(48px, 6vw, 80px); }
.crumbs { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.page-hero__illo { position: absolute; right: max(48px, calc((100% - var(--container)) / 2 + 48px)); bottom: 0; height: min(86%, 320px); width: auto; pointer-events: none; }
.page-hero__illo--float { bottom: auto; top: 50%; transform: translateY(-50%); height: min(78%, 280px); }
@media (max-width: 1239px) { .page-hero__illo { display: none; } }
.page-hero--split .container { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.page-hero--split .page-hero__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero--split .page-hero__art { flex: 1 1 260px; display: flex; justify-content: flex-end; }
.page-hero--split .page-hero__art img { height: 250px; width: auto; }
.anchor-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.anchor-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; font-weight: 500; }
.anchor-chip .mono { font-size: 13px; color: var(--ink-2); }
.tag { align-self: flex-start; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; background: var(--ink); color: var(--white); padding: 4px 10px; border-radius: 2px; }
.tag--sm { font-size: 12px; padding: 2px 7px; letter-spacing: 0; }

/* ---------- Про нас ---------- */
.units { display: flex; flex-wrap: wrap; gap: 24px; }
.unit { flex: 1 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.unit__head { display: flex; flex-direction: column; gap: 12px; }
.unit__head p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--ground); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.facts dd { font-weight: 600; }
.block { display: flex; flex-direction: column; gap: 12px; }
.block .note { font-size: 15px; color: var(--ink-2); }
.unit__links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 15px; }
.unit__links a { font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Послуги ---------- */
.with-aside { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; }
.aside-nav { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.aside-nav .eyebrow { margin-bottom: 8px; }
.aside-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding-block: 9px; border-bottom: 1px solid var(--line); }
.aside-nav .btn { margin-top: 20px; }
@media (min-width: 1100px) { .aside-nav { position: sticky; top: 100px; } }
.content-col { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.panel__head { display: flex; flex-direction: column; gap: 10px; }
.panel__head > p { color: var(--ink-2); max-width: 720px; }
.title-row { display: flex; align-items: center; gap: 16px; }
.title-row h2 { min-width: 0; }
.chip-grid > li { padding: 14px 18px; }
.highlight { border: 1.5px solid var(--ink); border-radius: 4px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.highlight b { font-weight: 600; }
.step-card { background: var(--ground); border-top: 4px solid var(--green); padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.step-card:last-child { border-top-color: var(--yellow); }
.col-text { display: flex; flex-direction: column; gap: 6px; }
.col-text p { font-size: 15px; color: var(--ink-2); }
.terms { display: flex; flex-direction: column; }
.terms > div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding-block: 14px; border-top: 1px solid var(--line-soft); }
.terms > div:last-child { border-bottom: 1px solid var(--line-soft); }
.terms dt { flex: 1 1 220px; font-weight: 600; }
.terms dd { flex: 999 1 400px; min-width: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Сфера компетентності ---------- */
.doc-groups { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.doc-group { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.doc-group__aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.doc-group__aside h2 { font-size: 28px; line-height: 1.15; }
.doc-group__aside p { font-size: 15px; color: var(--ink-2); }
.doc-grid { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.doc__thumb { display: flex; height: 220px; padding: 16px; align-items: center; justify-content: center; background: var(--thumb); border-bottom: 1px solid var(--line); }
.doc__thumb img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 1px 2px rgba(22,26,23,.18), 0 8px 18px rgba(22,26,23,.10); }
.doc__sheet { width: 96px; height: 128px; background: var(--white); box-shadow: 0 1px 2px rgba(22,26,23,.14), 0 8px 18px rgba(22,26,23,.08); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.doc__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.doc__title { font-weight: 600; line-height: 1.35; flex-grow: 1; }
.doc__meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }
.doc__actions { display: flex; gap: 8px; margin-top: 10px; }
.doc__view { flex: 1 1 auto; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 4px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.doc__download { flex: 0 0 auto; min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 4px; background: var(--green); color: var(--white); text-decoration: none; font-weight: 600; font-size: 14px; }

/* ---------- Політика ---------- */
.statements { display: flex; flex-direction: column; gap: 32px; }
.statement { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 36px; }
.statement__head { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.statement__head h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.goal { background: var(--ground); border-top: 4px solid var(--green); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.goal p { font-size: 17px; }
.objective { border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; font-weight: 500; }

/* ---------- Скарги ---------- */
.fact { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.fact__value { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.fact b { font-weight: 600; }
.fact p { font-size: 14.5px; color: var(--ink-2); }
.definition { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.definition p { font-size: 17px; }
.procs { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.proc { flex: 1 1 520px; min-width: 0; }
.proc h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.timeline { list-style: none; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 16px; padding-bottom: 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__num { flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.timeline li:last-child .timeline__num { background: var(--yellow); }
.timeline__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.timeline__body b { font-weight: 600; }
.timeline__body span { font-size: 15px; color: var(--ink-2); }

/* ---------- Контакти ---------- */
.contacts-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.contacts-col { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-big { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.contact-big a { display: block; }
.contact-phone { color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.contact-mail { font-family: var(--font-mono); font-weight: 500; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; }
.requisites { flex-grow: 1; }
.requisites dl { display: flex; flex-direction: column; }
.requisites dl > div { display: flex; flex-direction: column; gap: 2px; padding-block: 16px; border-top: 1px solid var(--line-soft); }
.requisites dl > div:last-child { border-bottom: 1px solid var(--line-soft); }
.requisites dd { font-weight: 600; }
.requisites .note { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.map { flex: 1 1 480px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.map__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.map__bar b { font-weight: 600; }
.map__bar a { font-weight: 600; text-decoration: none; }
.map iframe { display: block; width: 100%; min-height: 380px; flex-grow: 1; border: 0; }
.map__caption { display: flex; gap: 14px; align-items: flex-start; padding: 22px clamp(20px, 3vw, 32px) 26px; border-top: 1px solid var(--line); }
.map__caption p { min-width: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: flex; flex-direction: column; gap: 20px; justify-content: center; }

/* Вузькі екрани: компактніші плитки клієнтів у дві колонки */
@media (max-width: 600px) {
  .client--compact { padding: 18px 16px; }
  .client--compact .client__name { font-size: 16px; }
}
