/* Олві Сістемс, версія 5. Дизайн за зразком budegood.ua: монохром, тонкий гротеск, прямі кути,
   шахова сітка «фото / біле», темні блоки на фото. Жовтий з логотипа тільки як акцент. */

:root {
  --black: #1b1b1b;
  --dark: #242424;
  --ink: #222222;
  --bg: #f7f8f9;
  --grey: #ececec;
  --white: #ffffff;
  --muted: #6c7076;
  --line: #e0e2e5;
  --line-dark: rgba(255, 255, 255, .16);
  --on-dark: #f4f4f4;
  --on-dark-muted: #b4b6b9;
  --accent: #f5a300;
  --f: "Commissioner", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
b, strong { font-weight: 500; }
h1, h2, h3 { margin: 0; font-family: var(--f); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--s { padding: clamp(48px, 6vw, 80px) 0; }
.white { background: var(--white); }
.grey { background: var(--grey); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .muted, .dark .lead { color: var(--on-dark-muted); }
.h2 { font-size: clamp(34px, 4.4vw, 56px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.text { max-width: 640px; }
.text p:last-child { margin-bottom: 0; }

/* Заголовок секції: великий ліворуч, короткий текст праворуч */
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); align-items: end; }
@media (min-width: 900px) { .head { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.head p { margin: 0; color: var(--muted); max-width: 420px; }
.dark .head p { color: var(--on-dark-muted); }

/* Кнопки: прямі кути, капслок */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 1px solid var(--black); background: var(--black); color: var(--white); cursor: pointer; font: 400 14px/1 var(--f); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--black); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--line { background: transparent; border-color: currentColor; color: inherit; }
.btn--line:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.white .btn--line:hover, .section:not(.dark) .btn--line:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.more { font-size: 14px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.more:hover { opacity: .7; }

/* Шапка: темна напівпрозора, як у зразку після прокручування */
.header { position: sticky; top: 0; z-index: 50; background: rgba(27, 27, 27, .94); color: var(--on-dark); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 14px; flex: none; text-decoration: none; }
.logo img { width: 128px; height: auto; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 400; text-decoration: none; color: var(--on-dark); }
.nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.header__phone { display: none; text-decoration: none; text-align: right; line-height: 1.35; font-size: 14px; }
.header__phone b { display: block; font-weight: 500; font-size: 15px; color: var(--white); }
.header__phone span { color: var(--on-dark-muted); font-size: 12px; }
.burger { margin-left: auto; width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.burger svg { width: 26px; height: 26px; }
.burger .i-close { display: none; }
.menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: block; }
@media (min-width: 1100px) { .nav { display: block; } .burger { display: none; } .header__phone { display: block; } }

.mnav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--black); color: var(--on-dark); overflow-y: auto; padding: 16px var(--gutter) 120px; }
.menu-open .mnav { display: block; }
body.menu-open { overflow: hidden; }
.mnav > a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 26px; font-weight: 300; text-decoration: none; }
.mnav > a[aria-current="page"] { color: var(--accent); }
.mnav__contacts { margin-top: 28px; display: grid; gap: 12px; }
.mnav__contacts .btn { width: 100%; }
.mnav__contacts p { margin: 0; color: var(--on-dark-muted); }
@media (min-width: 1100px) { .mnav { display: none !important; } }

/* Перший екран: фото на всю висоту, великий текст капслоком */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .hero__bg .ph { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 20, 20, .55); }
.hero__in { min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding: 96px 0 80px; max-width: 900px; }
.hero--page .hero__in { min-height: min(62vh, 560px); }
.hero--plain { background: var(--dark); }
.hero--plain::before { display: none; }
.hero--plain .hero__in { min-height: 0; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.h1 { font-size: clamp(34px, 5.2vw, 66px); font-weight: 400; line-height: 1.08; text-transform: uppercase; letter-spacing: .005em; margin-bottom: 28px; }
.hero .lead { color: #e6e6e6; margin: 0 0 12px; font-size: clamp(17px, 1.6vw, 20px); }
.hero .btns { margin-top: 28px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.call-text { font-size: 15px; color: inherit; opacity: .85; }
.call-text a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: #d0d0d0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero__phone { display: inline-block; margin-top: 8px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 300; color: var(--white); text-decoration: none; }

/* Шахова сітка: фото-картка чергується з білою */
.chess { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); background: var(--white); }
@media (min-width: 800px) { .chess { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: clamp(28px, 4vw, 52px); background: var(--white); color: var(--ink); text-decoration: none; isolation: isolate; overflow: hidden; }
.tile + .tile { border-top: 1px solid var(--line); }
@media (min-width: 800px) { .tile + .tile { border-top: 0; } .tile:nth-child(n+3) { border-top: 1px solid var(--line); } .tile:nth-child(even) { border-left: 1px solid var(--line); } }
.tile h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; margin-bottom: 14px; }
.tile p { margin: 0 0 22px; color: var(--muted); max-width: 440px; font-size: 16px; }
.tile .more { align-self: flex-start; }
.tile--photo { color: var(--white); background: var(--black); }
.tile--photo > img, .tile--photo > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 15, 15, .5); }
.tile--photo p { color: #e2e2e2; }
a.tile:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Темна сітка з тонкими лініями: регіони, особливості */
.lines { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
@media (min-width: 640px) { .lines { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .lines { grid-template-columns: repeat(4, 1fr); } }
.lines > * { padding: 16px 18px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.lines--wide { grid-template-columns: 1fr; }
@media (min-width: 800px) { .lines--wide { grid-template-columns: repeat(3, 1fr); } }
.lines--wide > * { padding: clamp(24px, 3vw, 40px); font-size: 16px; }
.lines--wide h3 { font-size: 24px; font-weight: 400; margin-bottom: 12px; color: var(--white); }
.lines--wide p { margin: 0; color: var(--on-dark-muted); }

/* Текст + великий знак логотипа, як блок «про компанію» у зразку */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.3fr 1fr; gap: 80px; } }
.about__mark { justify-self: center; width: min(320px, 70%); opacity: .9; }
.about p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; }

/* Фото + текст */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev .split__media { order: 2; } .split--top { align-items: start; } }
.split__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--black); }
.split__media img, .split__media .ph { width: 100%; height: 100%; object-fit: cover; }

/* Смуга на фото з закликом */
.band { position: relative; color: var(--white); background: var(--black); isolation: isolate; overflow: hidden; }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img, .band__bg .ph { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 15, 15, .62); }
.band__in { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); display: grid; gap: 32px; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; } }
.band p { color: #dedede; margin: 0 0 24px; }

/* Список */
.list { display: grid; gap: 10px; margin: 20px 0; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: currentColor; }

/* Види робіт */
.defs { border-top: 1px solid var(--line); }
.defs > div { display: grid; gap: 6px 48px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .defs > div { grid-template-columns: 320px 1fr; } }
.defs dt { font-size: 24px; font-weight: 400; }
.defs dd { margin: 0; color: var(--muted); max-width: 640px; }

/* Групи на сторінці будматеріалів */
.cat { display: grid; gap: 28px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.cat:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .cat { grid-template-columns: 400px 1fr; gap: 64px; align-items: start; } }
.cat__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--black); }
.cat__media img, .cat__media .ph { width: 100%; height: 100%; object-fit: cover; }
.cat h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.cat__list { display: grid; grid-template-columns: 1fr; margin: 0 0 22px; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .cat__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.cat__list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cat__list li b { font-weight: 500; }
.cat__list li span { color: var(--muted); }
.catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.catnav a { padding: 9px 16px; border: 1px solid rgba(255,255,255,.5); font-size: 14px; text-decoration: none; color: var(--white); }
.catnav a:hover { background: var(--white); color: var(--black); }

/* Питання */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; font-weight: 200; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 680px; }
.faq details > div p:last-child { margin: 0; }

/* Заявка: темний блок на фото, поля з лінією знизу, контакти колонкою праворуч */
.cta { position: relative; color: var(--white); background: var(--black); isolation: isolate; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img, .cta__bg .ph { width: 100%; height: 100%; object-fit: cover; }
.cta__bg .ph__tag { display: none; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 15, 15, .78); }
.cta__in { display: grid; gap: 48px; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); }
@media (min-width: 1000px) { .cta__in { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; } }
.cta .h2 { margin-bottom: 18px; }
.cta .lead { color: var(--on-dark-muted); margin-bottom: 36px; }
.form { max-width: 620px; }
.fields { display: grid; gap: 8px 32px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fields--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; }
.field label { font-size: 13px; color: var(--on-dark-muted); padding-top: 12px; }
.field label i { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; background: transparent; color: var(--white); font: 300 17px/1.4 var(--f); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--black); }
.field textarea { min-height: 96px; resize: vertical; }
.field ::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input[aria-invalid="true"] { border-bottom-color: #ff8a65; }
.form .btn { margin-top: 32px; min-width: 220px; }
.form__note { font-size: 13px; color: var(--on-dark-muted); margin: 16px 0 0; }
.form__note a { color: inherit; }
.form__msg { display: none; margin-top: 18px; padding: 14px 16px; font-size: 15px; border: 1px solid; }
.form__msg.is-shown { display: block; }
.form__msg--ok { border-color: #7bc58e; color: #c9f0d3; }
.form__msg--info { border-color: var(--accent); color: #ffe2a8; }
.form__msg--err { border-color: #ff8a65; color: #ffd0c2; }
.form__msg a { color: var(--white); font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.cside { border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.cside > div { padding: 26px 28px; border-bottom: 1px solid var(--line-dark); }
.cside > div:last-child { border-bottom: 0; }
.cside dt { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 6px; }
.cside dd { margin: 0; font-size: 17px; }
.cside dd a { font-size: 26px; font-weight: 300; text-decoration: none; color: var(--white); }
.cside dd small { display: block; font-size: 14px; color: var(--on-dark-muted); }

/* Реквізити, текстові сторінки */
.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 300; }
.req th { width: 40%; color: var(--muted); padding-right: 16px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.prose .crumbs { color: var(--muted); }
.big-code { font-size: clamp(120px, 22vw, 240px); font-weight: 200; line-height: .85; margin: 0; }

/* Підвал: чорний, три колонки з вертикальними лініями */
.footer { background: var(--black); color: var(--on-dark-muted); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1fr; border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer__grid > div { padding: 48px clamp(20px, 3vw, 40px); }
.footer__grid > div + div { border-top: 1px solid var(--line-dark); }
@media (min-width: 800px) { .footer__grid > div + div { border-top: 0; border-left: 1px solid var(--line-dark); } }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__logo img { width: 140px; margin-bottom: 26px; }
.footer__label { display: block; font-size: 13px; color: #8b8d90; margin-bottom: 4px; }
.footer__item { margin-bottom: 24px; }
.footer__big { font-size: 20px; color: var(--white) !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px clamp(20px, 3vw, 40px); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); font-size: 13px; }

/* Кругла кнопка дзвінка, як у зразку */
.callfab { position: fixed; left: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--black); box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; }
.callfab svg { width: 26px; height: 26px; }
.callfab:hover { background: #ffb41f; }
@media (max-width: 640px) { .callfab { left: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* Плейсхолдер фото: поки файлу немає в assets/img/. Перелік і промпти: docs/ФОТО-промпти.md */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; background: #3a3a3a repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px); }
.ph__tag { display: grid; justify-items: center; gap: 6px; max-width: 86%; padding: 14px 18px; text-align: center; color: var(--on-dark); border: 1px dashed rgba(255,255,255,.45); background: rgba(0,0,0,.45); font-size: 13px; }
.ph__tag svg { width: 24px; height: 24px; color: var(--accent); }
.ph__tag b { font-weight: 500; font-size: 14px; }
.ph__tag small { font-size: 12px; color: var(--on-dark-muted); word-break: break-word; }
.tile--photo .ph { place-items: start end; padding: 16px; }
.tile--photo .ph__tag { max-width: 60%; padding: 8px 10px; }
@media (max-width: 799px) { .tile--photo { min-height: 420px; } }
.tile--photo { min-height: 400px; }
.tile--photo .ph__tag b { display: none; }
.tile--photo .ph__tag { padding: 6px 8px; }
.hero__bg .ph, .band__bg .ph { place-items: end end; padding: 10px; }
.hero__bg .ph__tag, .band__bg .ph__tag { display: flex; align-items: center; gap: 8px; max-width: none; padding: 4px 10px; }
.hero__bg .ph__tag b, .band__bg .ph__tag b { display: none; }
.hero__bg .ph__tag svg, .band__bg .ph__tag svg { width: 14px; height: 14px; }
.hero__bg .ph__tag small, .band__bg .ph__tag small { font-size: 11px; }
@media (max-width: 999px) { .hero__bg .ph__tag, .band__bg .ph__tag { display: none; } }

@media print { .header, .callfab, .footer, .form { display: none !important; } .hero, .dark, .cta, .band { background: #fff !important; color: #000 !important; } }

/* Цифри компанії, як у зразку: великі тонкі числа з підписом */
.numbers { border-bottom: 1px solid var(--line); }
.numbers__in { display: grid; grid-template-columns: 1fr 1fr; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); gap: 32px 24px; }
@media (min-width: 900px) { .numbers__in { grid-template-columns: repeat(4, 1fr); } }
.numbers__in > div { display: flex; align-items: flex-end; gap: 14px; }
.numbers b { font-size: clamp(64px, 8vw, 112px); font-weight: 200; line-height: .8; letter-spacing: -.03em; }
.numbers span { font-size: 15px; line-height: 1.35; color: var(--muted); padding-bottom: 4px; max-width: 170px; }

/* Карта складів */
.whmap { display: grid; gap: 32px; margin-top: 48px; align-items: center; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; background: var(--accent); }
.legend i.office { background: none; border: 2px solid var(--white); }
.whlist { border-top: 1px solid var(--line-dark); }
.whlist li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 20px; }
.whlist li .small { font-size: 13px; }

/* Інтерактивна карта складів */
.lmap { width: 100%; height: clamp(320px, 42vw, 480px); background: #262626; border: 1px solid var(--line-dark); }
.lmap noscript { display: block; padding: 24px; color: var(--on-dark-muted); }
.lmap .leaflet-container, .lmap.leaflet-container { font-family: var(--f); background: #262626; }
.leaflet-tooltip.lmap__tip { background: transparent; border: 0; box-shadow: none; color: var(--white); font: 400 15px var(--f); padding: 0; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.leaflet-tooltip.lmap__tip::before { display: none; }
.lmap .leaflet-control-attribution { background: rgba(27,27,27,.75); color: #9a9a9a; font-size: 11px; }
.lmap .leaflet-control-attribution a { color: #c9c9c9; }
.lmap .leaflet-bar a { background: var(--dark); color: var(--white); border-color: #3a3a3a; }
.lmap .leaflet-bar a:hover { background: #333; }
.lmap .leaflet-tile-pane { filter: brightness(1.35) contrast(1.15); }

/* Політика конфіденційності */
.prose p, .prose li { color: #33373c; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose b { font-weight: 500; }


/* Перший екран головної з анімацією стосу газоблоків */
.hero--art { background: var(--dark); }
.hero--art::before { display: none; }
.hero__grid { display: grid; align-items: center; gap: 24px; min-height: min(86vh, 820px); padding-top: 72px; padding-bottom: 72px; }
.hero--art .hero__in { min-height: 0; padding: 0; }
.hero__art { display: block; width: 100%; max-width: 380px; margin: 8px auto 0; }
@media (max-width: 1099px) { .hero__grid { min-height: 0; padding-top: 64px; padding-bottom: 48px; } }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero--art .h1 { font-size: clamp(40px, 4.2vw, 62px); }
  .hero__art { max-width: none; margin: 0; }
}

/* Ілюстрації замість фото */
.hero__art .art svg.iso { height: auto; }
.hero__art { aspect-ratio: 5 / 4; }
@media (min-width: 1100px) { .hero__art { aspect-ratio: auto; } }
.tile--art { color: var(--white); background: #242424; justify-content: flex-end; min-height: 0; }
.tile--art .tile__art { position: relative; height: 230px; margin: -8px 0 20px; }
@media (min-width: 800px) { .tile--art .tile__art { position: absolute; left: 0; right: 0; top: 0; margin: 0; z-index: -1; } }
.tile--art p { color: #c9c9c9; }
.tile--art + .tile, .tile + .tile--art { border-color: var(--line); }
@media (min-width: 800px) { .tile--art { min-height: 460px; } .tile--art .tile__art { height: 62%; padding: 36px 40px 0; } }
.cat__media, .split__media { background: #242424; padding: 20px; }
.cat__media .art svg.iso, .split__media .art svg.iso { height: 100%; }
.band--art { background: var(--dark); }
.band--art::before { display: none; }
.band--art .band__in { align-items: center; }
.band--art .band__in p { margin: 18px 0 26px; }
.band__art { width: 100%; max-width: 520px; aspect-ratio: 5 / 4; justify-self: center; }
@media (min-width: 900px) { .band--art .band__in { grid-template-columns: 1fr 1fr; } }
.cta::before { display: none; }
.cta { background: #1b1b1b; }

.tile--light { background: var(--white); color: var(--ink); }
.tile--light p { color: var(--muted); }

@media (min-width: 1100px) {
  .hero--home .hero__grid { grid-template-columns: .95fr 1.05fr; gap: 24px; }
  .hero--home .h1 { font-size: clamp(44px, 5vw, 76px); }
  .hero--home .hero__art { margin-right: -24px; }
}

@media (max-width: 1099px) { .hero--home .h1 { font-size: clamp(38px, 11vw, 56px); } }

/* Заголовок головної: дві частини, жирний, друга частина жовта й менша */
.hero--home .h1 { text-transform: none; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--white); }
.hero--home .h1 .h1-sub { display: block; margin-top: 18px; font-size: .42em; line-height: 1.3; letter-spacing: -.005em; color: var(--accent); text-wrap: balance; max-width: 22em; }
@media (max-width: 1099px) { .hero--home .h1 .h1-sub { font-size: .46em; } }

.hero--art + .band--art { background: var(--black); border-top: 1px solid var(--line-dark); }

/* Кадр ілюстрації на головній майже квадратний: без фіксованого співвідношення, на телефоні ширший */
.hero--home .hero__art { aspect-ratio: auto; max-width: 460px; }
@media (max-width: 1099px) { .hero--home .hero__art { margin-top: 24px; } }
@media (min-width: 1100px) { .hero--home .hero__art { max-width: 560px; justify-self: end; } }

/* Перелік робіт у смузі «Будівництво» на головній */
.worklist { display: grid; grid-template-columns: 1fr; margin: 26px 0 30px; border-top: 1px solid var(--line-dark); }
@media (min-width: 440px) { .worklist { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.worklist a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-size: 16px; }
.worklist a::after { content: "+"; color: var(--accent); font-weight: 300; }
.worklist a:hover { color: var(--white); }
.worklist li { border-bottom: 0; }
