/* Сайт ТОВ «Транс-Сервіс-КТІ» у стилі Volvo Penta.
   Макет: біла шапка з логотипом по центру, контентна колонка 1280px,
   великі фото зі скругленням 16px, двотоновий лід-текст, тонкі лінії-розділювачі.
   Світла тема свідомо єдина: правила бренду ставлять логотип лише на білий або чорний фон. */

@font-face { font-family: "Volvo Novum"; font-weight: 300; font-display: swap; src: url("../assets/fonts/VolvoNovum3-Light.woff2") format("woff2"); }
@font-face { font-family: "Volvo Novum"; font-weight: 350; font-display: swap; src: url("../assets/fonts/VolvoNovum3-SemiLight.woff2") format("woff2"); }
@font-face { font-family: "Volvo Novum"; font-weight: 400; font-display: swap; src: url("../assets/fonts/VolvoNovum3-Regular.woff2") format("woff2"); }
@font-face { font-family: "Volvo Novum"; font-weight: 700; font-display: swap; src: url("../assets/fonts/VolvoNovum3-Bold.woff2") format("woff2"); }

:root {
  /* Кольори: основні кольори Volvo + функціональні сірі */
  --ink: #141414;          /* текст, логотип, активні елементи */
  --text-2: #5c5f63;       /* вторинний текст (на базі Grey Four, трохи темніше для контрасту) */
  --text-3: #888B8D;       /* Grey Three: підписи */
  --line: #E1E1E1;         /* розділювачі */
  --surface: #F7F7F7;      /* світлі плашки */
  --navy: #202A44;         /* Volvo Dark Blue: темні блоки, піни карти */
  --sea: #476896;          /* акцент Sea: лише дрібні деталі */
  --land: #ECEDEE;         /* суходіл на карті */
  --land-hover: #DCDEE0;
  --white: #FFFFFF;
  --ph-bg: #FFF4D6;        /* заглушки «уточнити» */
  --ph-line: #FFA000;
  color-scheme: light;

  --font: "Volvo Novum", "Noto Sans", system-ui, sans-serif;
  --radius: 16px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
.pin:focus { outline: none; }
.pin:focus-visible .dot { stroke: var(--sea); stroke-width: 3; }

h1, h2, h3, h4 { font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.12; }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2; }
h3 { font-size: clamp(22px, 2vw, 24px); line-height: 1.3; font-weight: 400; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 400; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.5; }
.measure { max-width: 62ch; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack-lg { display: grid; gap: 28px; align-content: start; }

/* Заглушка: дані, які треба уточнити */
.ph {
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--ph-line);
  padding: 0 4px;
  border-radius: 3px;
  color: var(--ink);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; min-width: 0; }
.nav-right { justify-content: flex-end; }
.nav-link {
  text-decoration: none;
  font-size: 15px;
  padding-block: 24px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: border-color .2s;
}
.nav-link:hover { border-bottom-color: var(--text-3); }
.nav-link[aria-current="page"] { border-bottom-color: var(--ink); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 15px;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars span { top: 5px; }
.menu-btn .bars::after { bottom: 0; }

/* Логотип: охоронне поле 4 висоти логотипа (висота ~9px → 36px з боків) */
.logo { display: block; padding-inline: 36px; line-height: 0; }
.logo svg { width: 260px; height: auto; display: block; }
.logo .stacked { display: none; width: 104px; }

.dealer-link { display: inline-flex; align-items: center; gap: 8px; }
.dealer-link svg { width: 16px; height: 16px; }
.lang { display: flex; gap: 4px; font-size: 13px; }
.lang button { background: none; border: 0; padding: 4px 5px; cursor: pointer; color: var(--text-3); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.drawer-foot { display: grid; gap: 12px; }
.lang-drawer { font-size: 16px; gap: 12px; }
.drawer .lang-drawer { display: flex; }

/* Мобільне меню */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--white);
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) 32px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: grid; align-content: start; }
.drawer nav a {
  font-size: 24px; font-weight: 300; text-decoration: none;
  padding-block: 12px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer nav a::after { content: "→"; color: var(--text-3); font-size: 20px; }
.close-btn { background: none; border: 0; font-size: 15px; cursor: pointer; padding: 8px 0; }

/* ---------- Загальні блоки ---------- */
main { min-height: 60vh; }
.page { display: none; }
.page.active { display: block; animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--surface); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.flush-top { padding-top: 0; }

.eyebrow {
  font-size: 15px; color: var(--ink);
  border-left: 1px solid var(--ink);
  padding-left: 16px; line-height: 1.2;
}
.eyebrow.light { color: var(--white); border-color: var(--white); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 15px;
}
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  text-decoration: none; font-size: 15px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.on-dark { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.on-dark:hover { background: transparent; color: var(--white); }
.btn.ghost-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn.ghost-dark:hover { background: var(--white); color: var(--ink); }

.media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
/* Ефект при наведенні як на volvopenta.com: фото плавно наближається, назва підкреслюється */
.media img { transition: transform .6s cubic-bezier(0, .56, .44, 1); }
a:hover .media img, .card:hover .media img, .media:hover img { transform: scale(1.05); }
.card h3 { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 4px 100%; transition: background-size .45s cubic-bezier(.2,.7,.2,1); justify-self: start; }
.card:hover h3 { background-size: calc(100% - 8px) 1px; }

/* Вітрина приводів */
.drive-stage { aspect-ratio: 1 / 1; background: #F2F2F2; }
.split .drive-stage { aspect-ratio: 1 / 1; }
.drive-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%;
  opacity: 0; transform: scale(.94) translateY(12px);
  transition: opacity .7s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.drive-stage img.on { opacity: 1; transform: none; }
.drive-stage img[src*="volvo-penta-ips"], .drive-stage img[src*="aqua-stern"] { padding: 0; object-fit: cover; }
.drive-caption {
  position: absolute; left: 20px; right: 20px; bottom: 22px; z-index: 3;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 15px; color: var(--ink);
}
.drive-caption #drive-label { background: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.drive-count { color: var(--text-3); font-variant-numeric: tabular-nums; font-size: 13px; }
.drive-progress { position: absolute; left: 20px; right: 20px; bottom: 12px; height: 2px; background: rgba(20,20,20,.08); z-index: 3; border-radius: 2px; overflow: hidden; }
.drive-progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.drive-progress span.run { animation: driveBar 4s linear forwards; }
@keyframes driveBar { to { width: 100%; } }
.drive-list a { position: relative; }
.drive-list a.on { color: var(--ink); padding-left: 14px; }
.drive-list a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--ink); transition: width .3s; }
.drive-list a.on::before { width: 8px; }
.credit {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 11px; color: rgba(255,255,255,.8);
}

/* Герой: двигун Forward Drive, що розкладається на частини (справжнє фото, розрізане на шари) */
.hero { --hp: 0; }
.hero-x {
  position: relative; isolation: isolate; z-index: 2;
  min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h));
  color: var(--white);
  display: grid; grid-template-rows: 1fr auto; align-items: center;
}
/* Фон обрізається окремо, щоб фото-підказки могли випадати нижче за межі головного екрана */
.hero-frame {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy);
  /* при прокрутці фото «стискається» до ширини контенту із заокругленням */
  clip-path: inset(0 var(--hx-side, 0px) 0 var(--hx-side, 0px) round var(--hx-r, 0px));
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; z-index: -2; transform: scale(calc(1.06 - var(--hp) * .06)); }
.hero-frame::after { /* сіруватий фільтр, світлішає при прокрутці */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,24,34,.25), rgba(20,24,34,.55) 70%, rgba(20,24,34,.75));
  opacity: calc(1 - var(--hp) * .5);
}
.hero-copy { opacity: calc(1 - var(--hp) * 1.6); transform: translateY(calc(var(--hp) * -70px)); will-change: opacity, transform; }
.hero-copy { width: 100%; display: grid; gap: 20px; justify-items: center; text-align: center; padding-block: 48px 24px; }
.hero-copy h1 { font-size: clamp(36px, 5.4vw, 72px); max-width: 16ch; text-wrap: balance; }
.hero-copy p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.85); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* Ряд запчастин унизу: лінія виїжджає, потім іконка і назва */
.hero-list { width: 100%; padding-bottom: 56px; padding-inline: calc(var(--gutter) + var(--hp) * 32px); }
.hero-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hero-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 14px; color: var(--white); text-decoration: none; font-size: 16px; }
.hl-line { grid-column: 1 / -1; height: 1px; background: rgba(255,255,255,.7); transform-origin: left center; transition: background .25s; }
.hl-ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center; transition: background .25s, border-color .25s, color .25s; }
.hl-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; } /* стиль Volvo Communication icons: контур, 128×128 */
.hl-txt { min-width: 0; }
.hero-list a:hover .hl-ico { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-list a:hover .hl-line { background: var(--white); }
.hero-cue { position: absolute; left: 50%; bottom: 8px; width: 44px; height: 44px; margin-left: -22px; border: 0; padding: 0; background: none; cursor: pointer; opacity: calc(1 - var(--hp) * 3); animation: cueBob 2s ease-in-out infinite; }
.hero-cue::before { content: ""; position: absolute; left: 21px; top: 6px; width: 1px; height: 26px; background: rgba(255,255,255,.75); }
.hero-cue::after { content: ""; position: absolute; left: 18px; top: 25px; width: 7px; height: 7px; border-right: 1px solid rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.9); transform: rotate(45deg); }
@keyframes cueBob { 50% { transform: translateY(6px); } }
@media (max-width: 904px) {
  .hero-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .hero-list a { font-size: 14px; grid-template-columns: 34px minmax(0, 1fr); }
  .hl-ico { width: 34px; height: 34px; }
  .hl-ico svg { width: 20px; height: 20px; }
}
@media (max-width: 520px) { .hero-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Анімація при відкритті головної */
.hero-x.pre .hx, .hero-x.pre .hl-line, .hero-x.pre .hl-ico, .hero-x.pre .hl-txt { opacity: 0; }
.hero-x.play .hero-bg { animation: bgIn 2.4s ease-out both; }
.hero-x.play .hx-l { animation: inLeft 1s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.hero-x.play h1.hx-l { animation-name: titleIn; animation-duration: 1.2s; }
.hero-x.play .hx-u { animation: inUp .9s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.hero-x.play .hl-line { animation: lineIn .6s cubic-bezier(.6,0,.2,1) calc(1.3s + var(--i) * .2s) backwards; }
.hero-x.play .hl-ico { animation: icoIn .5s cubic-bezier(.3,1.5,.5,1) calc(1.6s + var(--i) * .2s) backwards; }
.hero-x.play .hl-txt { animation: inLeft .5s ease-out calc(1.75s + var(--i) * .2s) backwards; }
@keyframes bgIn { from { transform: scale(1.08); filter: brightness(.4); } to { transform: none; filter: none; } }
@keyframes inLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes inUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes titleIn {
  from { opacity: 0; transform: translateX(-80px); clip-path: inset(0 100% 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes lineIn { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes icoIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* Двотоновий лід */
.lead {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.3; font-weight: 300;
  max-width: 30em; margin-inline: auto; text-align: center;
  text-wrap: balance;
}
.lead .soft { color: var(--text-3); }

/* Текст + фото */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.reverse > :first-child { order: 2; }
.split .media { aspect-ratio: 4 / 3.4; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:first-child { border-top: 1px solid var(--line); }
.link-list a, .link-list span {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 14px; text-decoration: none; font-size: 18px; color: var(--text-2);
  transition: color .2s, padding .2s;
}
.link-list a:hover { color: var(--ink); padding-left: 6px; }
.drive-list a:hover { padding-left: 14px; }
.link-list a::after { content: "→"; color: var(--text-3); }

/* Картки */
.side-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 4vw, 56px);
}
.side-grid > .stack { align-self: stretch; grid-template-rows: auto 1fr auto; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.card .media { aspect-ratio: 3 / 3.6; }
.cards.four .card .media, .cards.two .card .media { aspect-ratio: 4 / 3; }
.card h3 { font-size: 22px; font-weight: 300; padding-inline: 4px; }
.card p { padding-inline: 4px; }

/* Темний блок */
.dark-band {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
  position: relative; overflow: hidden;
}
.dark-band p { color: rgba(255,255,255,.75); }
.dark-band .stat { font-size: clamp(56px, 8vw, 96px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }

/* Сторінкова шапка */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.page-head p { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 60ch; }
.page-banner .media { height: clamp(240px, 36vw, 420px); }

/* Таби */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab {
  background: none; border: 0; cursor: pointer;
  padding: 14px 4px; margin-right: 24px; font-size: 16px; color: var(--text-2);
  border-bottom: 1px solid transparent; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel[hidden] { display: none; }

/* Продукт */
.product {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  background: var(--ink); color: var(--white); border-radius: var(--radius); overflow: hidden;
}
.product .img { display: grid; place-items: center; padding: 32px; }
.product .copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.product .copy p, .product li { color: rgba(255,255,255,.75); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-2); background: var(--white);
}
.product .chip { background: transparent; border-color: rgba(255,255,255,.3); color: var(--white); }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.specs li { padding-left: 18px; position: relative; }
.specs li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: currentColor; }

/* Інфо-плитки */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 28px; }
.fact .k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* Таблиця пошуку запчастин */
.parts-tool { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.search-row input { flex: 1 1 260px; min-width: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 400; color: var(--text-3); font-size: 13px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--surface); vertical-align: top; }
td.num { white-space: nowrap; }
.stock { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.stock.ua::before { background: #338F58; }
.stock.be::before { background: var(--sea); }
.example-tag { font-size: 12px; color: var(--text-3); border: 1px dashed var(--text-3); border-radius: 4px; padding: 1px 6px; }

/* Форми */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid #D0D0D0; border-radius: 8px; background: var(--white);
  padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(32,42,68,.12); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 14px; padding: 12px 16px; border-radius: 8px; background: var(--surface); }

/* Контакти */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact-item .k { color: var(--text-3); font-size: 14px; padding-top: 2px; }
.contact-item .v { font-size: 18px; overflow-wrap: anywhere; }
.copy-btn { background: none; border: 0; padding: 0; margin-left: 8px; font-size: 13px; color: var(--sea); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Дилери: карта ---------- */
.dealer-app {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  height: min(720px, calc(100vh - var(--header-h) - 48px)); min-height: 560px;
}
.map-pane { position: relative; background: #F9FAFB; min-width: 0; overflow: hidden; touch-action: none; }
.map-pane svg { width: 100%; height: 100%; display: block; cursor: grab; user-select: none; }
.map-pane svg.dragging { cursor: grabbing; }
.region { fill: var(--land); stroke: var(--white); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: fill .25s; }
.region:hover { fill: var(--land-hover); }
.region.has-dealer { fill: #E3E5E8; }
.region.has-dealer:hover { fill: #D5D8DC; }
.region.focus { fill: #D2D7DF; }
.sea-label { font-size: 13px; fill: #9AA3AE; letter-spacing: .3em; font-style: italic; pointer-events: none; }
.city-label { font-size: 12px; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 3px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.zoomed .city-label, .pin.active .city-label, .pin:hover .city-label { opacity: 1; }

.pin { cursor: pointer; }
.pin .dot { fill: var(--navy); stroke: var(--white); stroke-width: 2; transition: fill .2s; }
.pin.hq .dot { fill: var(--ink); }
.pin .pulse { fill: none; stroke: var(--navy); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pin .pulse.p2 { animation-delay: 1.2s; }
.pin .hit { fill: transparent; }
.pin.active .dot { fill: var(--sea); }
.pin.active .pulse { stroke: var(--sea); }
.pin.dim { opacity: .25; }
.cluster .dot { fill: var(--navy); stroke: var(--white); stroke-width: 2; }
.cluster .pulse { stroke: var(--navy); }
.cluster-n { fill: var(--white); font-size: 13px; text-anchor: middle; pointer-events: none; font-family: var(--font); }
.pin .pop { transform-box: fill-box; transform-origin: center bottom; animation: pinDrop .6s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes pinDrop { 0% { transform: translateY(-14px) scale(.4); opacity: .001; } 100% { transform: none; opacity: 1; } }

.map-ctrl {
  position: absolute; right: 16px; top: 16px;
  display: grid; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(20,20,20,.06);
}
.map-ctrl button { width: 40px; height: 40px; border: 0; background: var(--white); cursor: pointer; font-size: 20px; line-height: 1; }
.map-ctrl button + button { border-top: 1px solid var(--line); }
.map-ctrl button:hover { background: var(--surface); }
.map-ctrl .reset { font-size: 13px; }
.map-filter { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 6px; right: 72px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; cursor: pointer; transition: background .2s, color .2s;
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.map-hint { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: var(--text-3); }

.panel { border-left: 1px solid var(--line); background: var(--white); display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; }
.panel-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.panel-body { overflow-y: auto; min-height: 0; }
.dealer-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; width: 100%;
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--surface);
  padding: 16px 24px; cursor: pointer; transition: background .2s;
}
.dealer-row:hover, .dealer-row.hover { background: var(--surface); }
.dealer-row .city { font-size: 18px; font-weight: 300; }
.dealer-row .meta { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); }
.dealer-row .go { color: var(--text-3); align-self: center; }

.detail { padding: 24px; display: grid; gap: 20px; animation: slideIn .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes slideIn { from { opacity: .001; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.back-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; color: var(--text-2); justify-self: start; }
.back-btn:hover { color: var(--ink); }
.detail h3 { font-size: 28px; font-weight: 300; }
.detail dl { margin: 0; display: grid; border-top: 1px solid var(--line); }
.detail dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.detail dt { color: var(--text-3); font-size: 14px; }
.detail dd { margin: 0; overflow-wrap: anywhere; }
.detail .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Футер ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--white); }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-block: 64px 48px; }
.footer-top h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-company { display: grid; gap: 12px; align-content: start; }
.footer-company .name { font-size: 22px; font-weight: 300; }
.footer-company p { color: rgba(255,255,255,.7); font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 28px 36px;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom svg { width: 200px; height: auto; }
.site-ver { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.65); white-space: nowrap; }

/* ---------- Адаптивність ---------- */
@media (max-width: 1100px) {
  .nav-left .nav-link:nth-child(n+3), .nav-right .nav-link:not(.dealer-link) { display: none; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer-app { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 904px) {
  :root { --header-h: 60px; }
  .nav-left .nav-link, .lang { display: none; }
  .logo { padding-inline: 12px; }
  .logo .spread { display: none; }
  .logo .stacked { display: block; }
  .dealer-link .txt { display: none; }
  .split, .split.reverse, .side-grid, .contact-grid, .product { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards.two, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .media { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .dark-band { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-company { grid-column: 1 / -1; }
  .dealer-app { grid-template-columns: minmax(0, 1fr); grid-template-rows: 440px auto; height: auto; min-height: 0; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .panel-body { max-height: none; overflow: visible; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cards.two, .cards.four { grid-template-columns: minmax(0, 1fr); }
  .contact-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .dealer-app { grid-template-rows: 340px auto; }
  .lead { font-size: 22px; }
  .map-pane svg { padding-top: 56px; }
  .map-filter { right: 64px; }
  .filter-btn { padding: 5px 10px; font-size: 13px; }
}

/* Фото в блоці «Від гвинта до штурвала» */
.drive-photo { aspect-ratio: 4 / 3; }
.drive-photo img { object-position: 42% 50%; }
.drive-list a:hover { padding-left: 14px; }
.drive-list a:hover::before { width: 8px; }

/* Модельний ряд */
.range-tool { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.range-main { display: grid; gap: 20px; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn { font: inherit; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.seg-btn:hover { border-color: var(--ink); color: var(--ink); }
.seg-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.range-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.range-bar input { flex: 1 1 280px; min-width: 0; max-width: 460px; }
.range-count { font-size: 14px; }
.range-scroll { max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.range-table th, .range-table td { padding: 12px 16px; }
.range-table thead th { position: sticky; top: 0; background: var(--white); z-index: 1; box-shadow: 0 1px 0 var(--line); }
.range-table tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; border-bottom: 1px solid var(--surface); }
.range-table tbody tr:hover > * { background: var(--surface); }
.range-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.range-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.range-card h3 { font-size: 20px; font-weight: 400; }
.range-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; margin: 0; font-size: 14px; color: var(--text-2); }
.range-legend div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.range-legend dt { color: var(--ink); font-weight: 500; }
.range-legend dd { margin: 0; }
.range-src { font-size: 13px; color: var(--text-3); }

/* Мастила та рідини */
.fluid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fluid { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 12px; align-content: start; }
.fluid-tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sea); }
.fluid h3 { font-size: 24px; font-weight: 300; }
.spec { margin: 8px 0 0; display: grid; font-size: 14px; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-top: 1px solid var(--surface); }
.spec dt { color: var(--text-3); }
.spec dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.chem { background: var(--surface); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 16px; }
.chem h3 { font-size: 20px; font-weight: 400; }
.chem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; font-size: 15px; }
.chem-list li { padding-left: 18px; position: relative; }
.chem-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }

/* Текст, що розкривається при наведенні (як на volvopenta.com) */
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.more svg, .rv-head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s; }
.more:hover svg { transform: translateX(4px); }
.reveal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rv { display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; color: var(--ink); text-decoration: none; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: clamp(19px, 1.6vw, 22px); font-weight: 300; }
.rv-head svg { flex: none; transform: rotate(-45deg); }
.rv-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s cubic-bezier(.25,.8,.25,1); }
.rv-text { overflow: hidden; min-height: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s cubic-bezier(.2,.7,.2,1); }
.rv:hover .rv-body, .rv:focus-visible .rv-body { grid-template-rows: 1fr; }
.rv:hover .rv-text, .rv:focus-visible .rv-text { opacity: 1; transform: none; padding-top: 14px; }
.rv:hover .rv-head svg, .rv:focus-visible .rv-head svg { transform: none; }
.rv-text { padding-top: 0; transition: opacity .7s ease .15s, transform .9s cubic-bezier(.25,.8,.25,1), padding-top .9s cubic-bezier(.25,.8,.25,1); }
@media (hover: none), (max-width: 904px) {
  .reveal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv { min-height: 0; justify-content: flex-start; }
  .rv-body { grid-template-rows: 1fr; }
  .rv-text { opacity: 1; transform: none; padding-top: 12px; }
}
@media (max-width: 520px) { .reveal { grid-template-columns: minmax(0, 1fr); } }

/* Наскрізні посилання */
.xlink { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s; }
.xlink:hover { background-size: 100% 1px; }
.fact-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; font-size: 14px; }
.fact-links .more { font-size: 14px; }
.fact-links .more svg { width: 16px; height: 16px; }
.lead-links { justify-content: center; margin-top: 28px; gap: 12px 32px; }
.lead-links .more { font-size: 16px; }

/* Поява при прокрутці */
[data-rv] { opacity: 0; transform: translateX(-56px); transition: opacity 1.1s ease var(--rv-d, 0s), transform 1.4s cubic-bezier(.16,.8,.24,1) var(--rv-d, 0s); }
[data-rv].rv-r { transform: translateX(56px); }
[data-rv].in { opacity: var(--fo, 1); transform: none; }
[data-rv].in.done { transition: opacity .35s linear, transform 1.4s cubic-bezier(.16,.8,.24,1); }

/* Дерево типів двигунів */
.tree { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 4px; font-size: 15px; border-right: 1px solid var(--line); padding-right: 16px; }
.tree details { display: grid; }
.tree details details { margin-left: 14px; }
.tree summary { list-style: none; cursor: pointer; padding: 8px 0; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.tree details details summary { font-weight: 400; color: var(--text-2); }
.tree summary::-webkit-details-marker { display: none; }
.tree summary::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .3s; flex: none; }
.tree details[open] > summary::before { transform: rotate(45deg); }
.tree .seg-btn { display: block; width: 100%; text-align: left; margin-left: 17px; width: calc(100% - 17px); border: 0; border-left: 2px solid transparent; border-radius: 0; padding: 8px 12px; background: none; color: var(--text-2); font-size: 15px; }
.tree .seg-btn:hover { color: var(--ink); background: var(--surface); }
.tree .seg-btn[aria-selected="true"] { color: var(--ink); border-left-color: var(--ink); background: var(--surface); font-weight: 500; }
@media (max-width: 904px) {
  .range-tool { grid-template-columns: minmax(0, 1fr); }
  .tree { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
}
[hidden] { display: none !important; }
.page { overflow-x: clip; } /* зсув блоків під час появи не має давати горизонтальну прокрутку */

/* ===== v0.12: кольорові смуги-розділювачі та власні акценти ===== */
:root {
  --mist: #E9EFF5;   /* блідо-блакитна смуга (похідна від Volvo Dark Blue) */
  --fog: #F1F0ED;    /* теплий світло-сірий */
  --navy-2: #2B3756; /* лінії на темній смузі */
}
.band-mist { background: var(--mist); border-bottom: 0; }
.band-fog { background: var(--fog); border-bottom: 0; }
.band-navy { background: var(--navy); color: var(--white); border-bottom: 0; }
.band-mist + .section, .band-fog + .section, .band-navy + .section { border-top: 0; }
.band-navy .dark-band { background: none; border-radius: 0; padding: 0; }
.band-navy .dark-band::before, .band-navy .dark-band::after { display: none; }

/* Підпис над заголовком: коротка синя риска замість вертикальної лінії */
.eyebrow { border-left: 0; padding-left: 0; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow.light { color: #B9C8DE; }

/* Плашки на кольорових смугах стають білими */
.band-mist .fact, .band-fog .fact { background: var(--white); border-radius: var(--radius); padding: 24px; border: 0; }
.band-mist .rv { background: transparent; }
.band-fog .fluid, .band-fog .chem { background: var(--white); }
.band-mist .parts-tool, .band-mist .range-scroll { background: var(--white); }

/* Каталог двигунів */
.row-head .stack { gap: 12px; }
.cat-filter { display: grid; gap: 16px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid rgba(32,42,68,.15); }
.cat-tab { background: none; border: 0; padding: 10px 0 12px; font-size: 17px; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.cat-tab:hover { color: var(--ink); }
.cat-tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--navy); }
.cat-drives { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(32,42,68,.2); background: var(--white); color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--navy); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.eng-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.eng { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 1px 0 rgba(32,42,68,.06); transition: box-shadow .4s, transform .4s cubic-bezier(0,.56,.44,1); }
.eng:hover { box-shadow: 0 18px 40px -18px rgba(32,42,68,.35); transform: translateY(-3px); }
.eng-media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 18px 18px 6px; background: var(--white); overflow: hidden; }
.eng-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .6s cubic-bezier(0,.56,.44,1); }
.eng:hover .eng-media img { transform: scale(1.05); }
.eng-body { padding: 8px 20px 16px; display: grid; gap: 6px; align-content: start; }
.eng-type { font-size: 13px; color: var(--sea); }
.eng h3 { font-size: 24px; font-weight: 400; }
.eng h3 a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s cubic-bezier(.2,.7,.2,1); }
.eng:hover h3 a { background-size: 100% 1px; }
.eng-power { font-size: 20px; font-weight: 300; font-variant-numeric: tabular-nums; }
.eng-power span { font-size: 13px; color: var(--text-3); }
.eng dl { margin: 6px 0 0; display: grid; gap: 4px; font-size: 14px; }
.eng dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 6px; }
.eng dt { color: var(--text-3); }
.eng dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.eng-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.eng-foot a { text-decoration: none; color: var(--text-2); }
.eng-foot a:first-child { color: var(--ink); font-weight: 500; }
.eng-foot a:hover { color: var(--sea); }
@media (max-width: 1100px) { .eng-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .eng-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .eng-body, .eng-foot { padding-inline: 14px; } .eng h3 { font-size: 20px; } .eng-foot { flex-direction: column; gap: 6px; } }
@media (max-width: 420px) { .eng-grid { grid-template-columns: minmax(0, 1fr); } }
.band-mist .facts, .band-fog .facts { gap: 16px; }
.band-mist .fact + .fact, .band-fog .fact + .fact { border-left: 0; padding-left: 24px; }
.band-mist .facts, .band-fog .facts { border-top: 0; }
.eng-more-row { display: flex; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note.err { color: #B3261E; }

/* Фото-підказка над пунктом у рядку головного екрана */
.hero-list li { position: relative; }
.hl-photo { position: absolute; left: 0; top: calc(100% + 14px); width: min(230px, 70vw); aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0d1426; box-shadow: 0 24px 48px -16px rgba(0,0,0,.6); opacity: 0; transform: translateY(-14px) scale(.96); transform-origin: left top; pointer-events: none; transition: opacity .35s ease, transform .5s cubic-bezier(0,.56,.44,1); z-index: 3; }
.hl-photo img { width: 100%; height: 100%; object-fit: cover; }
.hl-photo.cut { background: linear-gradient(160deg, #F4F6F9, #DDE3EA); }
.hl-photo.cut img { object-fit: contain; padding: 14px; }
.hero-list li:last-child .hl-photo, .hero-list li:nth-last-child(2) .hl-photo { left: auto; right: 0; transform-origin: right top; }
.hero-list a:hover .hl-photo, .hero-list a:focus-visible .hl-photo { opacity: .95; transform: none; }
@media (hover: none), (max-width: 904px) { .hl-photo { display: none; } }
.hl-photo.cut.white { background: #fff; }

/* Рядок тьмяніє при прокрутці, а фото-підказка лишається повністю видимою */
.hero-list a > :not(.hl-photo) { opacity: calc(1 - var(--hp) * .9); }
/* Місце під рядком, куди випадає фото-підказка (лише на компʼютері) */
@media (hover: hover) and (min-width: 905px) {
  .hero-list { padding-bottom: 210px; }
  .hl-photo { width: 230px; }
}

/* Команда на сторінці контактів */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.person-photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #D9E2EC, #B9C8DA); display: grid; place-items: center; }
.person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-ini { font-size: clamp(36px, 4vw, 52px); font-weight: 300; color: var(--navy); letter-spacing: .04em; }
.person-note { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: rgba(32,42,68,.6); }
.person-body { padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; }
.person-role { font-size: 13px; color: var(--sea); }
.person h3 { font-size: 21px; font-weight: 400; margin-bottom: 6px; }
.person-line { display: grid; gap: 2px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 8px; overflow-wrap: anywhere; }
.person-line .k { font-size: 12px; color: var(--text-3); }
.person-line a { color: var(--ink); text-decoration: none; }
.person-line a:hover { color: var(--sea); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .person-body { padding: 14px; } .person h3 { font-size: 18px; } }

/* Гарантія */
.w-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.w-point { background: var(--white); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.w-num { font-size: 56px; font-weight: 300; line-height: .9; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.w-point h3 { font-size: 19px; margin-bottom: 6px; }
.w-tables { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.w-table, .w-docs { background: var(--white); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); display: grid; gap: 14px; }
.w-table h3, .w-docs h3 { font-size: 20px; }
table.data i { font-style: normal; }
table.data td, table.data tbody th { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 14px; }
table.data tbody th { color: var(--ink); font-weight: 500; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.dl-list a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.dl-list a:hover span:first-child { color: var(--sea); }
.dl-tag { font-size: 12px; color: var(--text-3); white-space: nowrap; }
@media (max-width: 904px) { .w-points, .w-tables { grid-template-columns: minmax(0, 1fr); } }
#warranty, #team, #catalog, #ind-catalog, #pg-catalog { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- v0.20: фільтри каталогу як у Volvo Penta ---------- */
.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(32,42,68,.22); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.dd-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.dd-btn:hover { border-color: var(--navy); }
.dd-btn.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.dd-pop { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 320px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(20,20,20,.14); padding: 16px; display: grid; gap: 14px; }
.dd:last-child .dd-pop { left: auto; right: 0; }
.dd-list { display: grid; gap: 2px; max-height: 300px; overflow: auto; }
.dd-check { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.dd-check:hover { background: var(--surface); }
.dd-check input { width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.dd-check span { flex: 1; }
.dd-check em { font-style: normal; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dd-check.off { opacity: .45; cursor: default; }
.dd-range { display: grid; gap: 10px; }
.dd-range label { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.dd-range input { width: 100%; accent-color: var(--navy); }
.dd-vals { display: flex; justify-content: space-between; font-weight: 600; font-variant-numeric: tabular-nums; }
.dd-units { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; justify-self: start; }
.dd-units button { font: inherit; font-size: 14px; border: 0; background: none; padding: 5px 14px; border-radius: 999px; cursor: pointer; color: var(--text-2); }
.dd-units button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.dd-actions { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.dd-actions button { font: inherit; font-size: 14px; border: 0; background: none; cursor: pointer; padding: 6px 0; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.dd-actions .dd-done { color: var(--white); background: var(--ink); text-decoration: none; padding: 7px 18px; border-radius: 999px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tags:empty { display: none; }
.tag { font: inherit; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 0; background: rgba(32,42,68,.08); color: var(--ink); cursor: pointer; }
.tag:hover { background: rgba(32,42,68,.16); }
.tag-clear { font: inherit; font-size: 14px; border: 0; background: none; cursor: pointer; color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.eng-body h3 a { color: inherit; text-decoration: none; }
.eng-body h3 a:hover { text-decoration: underline; }

/* ---------- v0.20: сторінка двигуна ---------- */
.eng-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-2); padding-top: 28px; }
.eng-crumbs a { color: var(--text-2); }
.eng-crumbs a:hover { color: var(--ink); }
.eng-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 24px 64px; }
.eng-hero-img { background: linear-gradient(180deg, var(--white), var(--mist)); border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; max-width: 100%; }
.eng-hero-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.eng-hero-info { display: grid; gap: 18px; min-width: 0; align-content: start; }
.eng-hero-info h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; margin: 0; }
.eng-desc { color: var(--text-2); font-size: 17px; line-height: 1.55; margin: 0; max-width: 60ch; }
.eng-vars { display: flex; flex-wrap: wrap; gap: 6px; }
.eng-vars button { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(32,42,68,.22); background: var(--white); cursor: pointer; font-variant-numeric: tabular-nums; }
.eng-vars button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.eng-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eng-kpi div { display: grid; gap: 2px; padding: 14px 12px 14px 0; }
.eng-kpi div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.eng-kpi strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.eng-kpi span { font-size: 13px; color: var(--text-2); }
.eng-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.eng-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 40px; }
.eng-feat li { position: relative; padding-left: 26px; line-height: 1.5; }
.eng-feat li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--sea); }
.eng-diff { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.eng-diff input { width: 18px; height: 18px; accent-color: var(--navy); }
.eng-spec-wrap { overflow-x: auto; }
.eng-spec { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.eng-spec th, .eng-spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.eng-spec thead th { font-size: 14px; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.eng-spec tbody th { font-weight: 400; color: var(--text-2); min-width: 200px; }
.eng-spec td { min-width: 110px; }
.eng-spec .cur { background: var(--mist); color: var(--ink); }
.eng-spec thead th.cur { color: var(--navy); }
.eng-spec .grp th { background: none; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sea); font-weight: 600; padding-top: 26px; }
.only-diff .eng-spec .same { display: none; }
.dl-list small { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.kti-preview [data-print] { display: none; }
@media (max-width: 904px) {
  .eng-hero { grid-template-columns: 1fr; padding-block: 16px 40px; }
  .eng-spec tbody th { min-width: 150px; }
}
@media print {
  .site-header, header, footer, .drawer, .eng-cta, .eng-crumbs, .eng-diff, .eng-vars { display: none !important; }
  .section, .band-mist, .band-fog { background: none !important; padding-block: 12px !important; }
  .eng-hero { grid-template-columns: 1fr 1fr; padding: 0; }
  .eng-spec .same { display: table-row !important; }
  * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 600px) {
  .cat-bar { position: relative; }
  .dd { position: static; }
  .dd-pop, .dd:last-child .dd-pop { left: 0; right: 0; width: auto; max-width: none; }
}

/* ---------- v0.21: сторінки фільтрів, мастил, анодів, гвинтів, аксесуарів ---------- */
.drawer-sub { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.drawer nav .drawer-sub a.sub { font-size: 15px; font-weight: 400; padding: 7px 14px; border: 1px solid rgba(32,42,68,.22); border-radius: 999px; color: var(--ink); }
.drawer nav .drawer-sub a.sub::after { content: none; }
.pp-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pp-nav a { font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(32,42,68,.22); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.pp-nav a:hover { border-color: var(--navy); }
.pp-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pp-lead { display: grid; gap: 12px; max-width: 68ch; color: var(--text-2); line-height: 1.6; }
.pp-lead p, .pp-card-body p { margin: 0; }
.pp-lead ul, .pp-card-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.page-head p + p { margin-top: 10px; }
.pp-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 64px; align-items: start; }
.pp-cards { display: grid; gap: 24px; }
.pp-gallery { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pp-text { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 40px; }
.pp-card { display: grid; align-content: start; gap: 18px; min-width: 0; }
.pp-text .pp-card { border-top: 2px solid var(--navy); padding-top: 18px; }
.pp-card-body { display: grid; gap: 10px; color: var(--text-2); line-height: 1.6; font-size: 15px; }
.pp-card-body h3 { color: var(--ink); margin: 0; font-size: 21px; line-height: 1.25; }
.pp-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--sea); }
.pp-img { border-radius: 12px; overflow: hidden; background: var(--white); aspect-ratio: 1 / 1; max-width: 100%; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-img.wide { aspect-ratio: 16 / 10; }
.pp-img.tall { aspect-ratio: 3 / 4; background: linear-gradient(180deg, var(--white), var(--mist)); }
.pp-img.tall img { object-fit: contain; }
.pp-gallery .pp-img { aspect-ratio: 4 / 3; }
.pp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.pp-split.rev > .pp-img { order: 2; }
.pp-split .pp-img { aspect-ratio: 4 / 3; }
.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-stats div { display: grid; gap: 6px; padding: 24px 20px 24px 0; }
.pp-stats div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.pp-stats span { font-size: 14px; color: var(--text-2); }
.pp-stats strong { font-size: clamp(26px, 3vw, 36px); font-weight: 400; }
.pp-tabs { margin-bottom: 8px; }
.pp-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pp-range article { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 8px; align-content: start; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.pp-range article p { margin: 0; }
.pp-range h3 { margin: 0; color: var(--ink); font-size: 19px; }
.pp-acc { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.pp-acc .pp-card-body { font-size: 14px; }
.pp-acc .pp-card-body h3 { font-size: 19px; }
.pp-cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: end; }
.pp-cta p { color: rgba(255,255,255,.75); margin: 0; max-width: 60ch; }
.pp-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pp-link { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.pp-link-img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface); }
.pp-link-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pp-link:hover .pp-link-img img { transform: scale(1.05); }
.pp-link-txt { display: grid; gap: 4px; }
.pp-link-txt strong { font-size: 19px; font-weight: 500; }
.pp-link-txt span { font-size: 14px; color: var(--text-2); }
@media (max-width: 1100px) { .pp-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 904px) {
  .pp-intro, .pp-split, .pp-cta { grid-template-columns: 1fr; }
  .pp-split.rev > .pp-img { order: 0; }
  .pp-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-stats div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
.price-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
/* Логотип КТІ: лише біля назви компанії (футер, «Про компанію», контакти), не в шапці поруч із Volvo Penta */
.kti-brand { display: inline-flex; align-items: center; gap: .45em; }
.kti-brand img { height: 1.6em; width: auto; flex: none; }
h1.kti-brand img { height: .95em; }
/* v0.29: 5 hero links, equal hero buttons */
.hero-list ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 904px) { .hero-list ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hero-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-actions { display: grid; grid-template-columns: repeat(3, 236px); justify-content: center; }
.hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 780px) { .hero-actions { grid-template-columns: minmax(0, 300px); } }

/* v0.30: одна біла шапка за правилами Volvo: КТІ ліворуч, Volvo Penta праворуч з охоронним полем, меню нижче в тій самій шапці */
:root { --brand-h: 68px; --nav-h: 50px; --header-h: calc(var(--brand-h) + var(--nav-h)); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--brand-h); }
.hdr-kti { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink); }
.hdr-kti img { height: 34px; width: auto; flex: none; }
.hdr-kti-txt { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.hdr-kti strong { font-weight: 400; font-size: 18px; letter-spacing: .01em; white-space: nowrap; }
.hdr-kti small { display: block; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-kti small::first-letter { text-transform: uppercase; }
.brand-row .logo { padding: 0 0 0 36px; }
.header-row { display: flex; justify-content: space-between; height: var(--nav-h); border-top: 1px solid var(--line); }
.header-row .nav-link { padding-block: 15px; }
.nav-left { gap: 26px; }
.nav-right { gap: 22px; }
.hdr-tel { text-decoration: none; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr-tel:hover { text-decoration: underline; }
@media (max-width: 1100px) { .hdr-tel { display: none; } }
@media (max-width: 904px) {
  :root { --brand-h: 60px; --nav-h: 48px; }
  .brand-row .logo { padding-left: 16px; }
  .hdr-kti img { height: 28px; }
  .hdr-kti strong { font-size: 15px; }
  .hdr-kti small { font-size: 12px; }
  .lang { display: flex; }
  .nav-right { gap: 14px; }
}
@media (max-width: 420px) { .hdr-kti small { display: none; } .hdr-kti strong { font-size: 14px; } .hdr-kti { gap: 8px; } .hdr-kti img { height: 24px; } }
@media (min-width: 905px) and (max-width: 1100px) { .nav-left .nav-link:nth-child(-n+4) { display: inline; } }

/* v0.31: розділ «Двигуни» — чітка ієрархія: Морські / Промислові → тип судна → каталог */
.stack-xl { display: grid; gap: clamp(48px, 6vw, 80px); }
.eng-l1-sec { padding-bottom: 0; }
.eng-l1 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-bottom: 0; margin-bottom: 0; }
.eng-l1 .tab { display: flex; align-items: center; gap: 20px; margin: 0; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); transition: border-color .2s, background .2s; }
.eng-l1 .tab:hover { border-color: var(--text-3); }
.eng-l1 .tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--mist); }
.l1-img { flex: none; width: 120px; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) - 4px); overflow: hidden; }
.l1-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l1-txt { display: grid; gap: 4px; min-width: 0; }
.l1-txt strong { font-weight: 400; font-size: clamp(18px, 2vw, 24px); }
.l1-txt small { font-size: 14px; color: var(--text-2); }
@media (max-width: 600px) {
  .eng-l1 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .eng-l1 .tab { padding: 10px; gap: 14px; }
  .l1-img { width: 84px; }
}
.band-dots { background-color: var(--mist); background-image: radial-gradient(rgba(32, 42, 68, .18) 1px, transparent 1.4px); background-size: 14px 14px; border-bottom: 0; }
.band-dots + .section { border-top: 0; }
.product.light { background: transparent; color: var(--ink); border-radius: 0; }
.product.light .copy { padding-inline: 0 clamp(0px, 2vw, 24px); }
.product.light .copy p, .product.light li { color: var(--text-2); }
.product.light .chip { background: var(--white); border-color: var(--line); color: var(--text-2); }
.eng-l1-sec { padding-top: 0; border-bottom: 0; }

/* v0.33: FAQ */
.faq-list { display: grid; }
.faq-list > .faq-item { max-width: 920px; width: 100%; }
.faq-list > .faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq-body { padding: 0 0 32px; max-width: 72ch; color: var(--text-2); }
.faq-body h3 { color: var(--ink); font-size: 18px; margin-top: 8px; }
.faq-body .specs { gap: 10px; }
.faq-note { background: var(--mist); border-left: 2px solid var(--ink); padding: 14px 18px; color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
.faq-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-fig { margin: 0; display: grid; gap: 8px; }
.faq-fig img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.faq-fig figcaption { font-size: 14px; color: var(--text-2); }
.faq-cta { padding-top: 40px; }
@media (max-width: 600px) { .faq-figs { grid-template-columns: minmax(0, 1fr); } }

/* v0.39: вибір Морські / Промислові — без чорної рамки, плитка м'яко «підлітає» */
.eng-l1 { perspective: 900px; padding-block: 10px 18px; }
.eng-l1 .tab { border-color: transparent; background: var(--surface, #F4F5F7); box-shadow: none; opacity: .72; transform: translateY(0) scale(.985);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), box-shadow .7s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, background .5s ease; will-change: transform; }
.eng-l1 .tab:hover { border-color: transparent; opacity: .95; transform: translateY(-2px) scale(.99); }
.eng-l1 .tab[aria-selected="true"] { border-color: transparent; background: var(--white); opacity: 1; transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px -24px rgba(32, 42, 68, .38), 0 6px 18px -8px rgba(32, 42, 68, .18); }
.eng-l1 .l1-img img { transform: scale(1); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.eng-l1 .tab[aria-selected="true"] .l1-img img { transform: scale(1.12); }
.eng-l1 .l1-txt strong { transition: letter-spacing .7s cubic-bezier(.16, 1, .3, 1); }
#panel-marine:not([hidden]), #panel-industrial:not([hidden]), #panel-power:not([hidden]) { animation: l1PanelIn .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes l1PanelIn { from { opacity: 0; transform: translateY(36px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .eng-l1 .tab, .eng-l1 .l1-img img { transition: none; }
  #panel-marine:not([hidden]), #panel-industrial:not([hidden]), #panel-power:not([hidden]) { animation: none; }
}
/* v0.40: застосування промислових двигунів */
.ind-cards .card { text-decoration: none; color: inherit; }
.ind-cards .card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.ind-cards .card .media img { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.ind-cards .card:hover .media img { transform: scale(1.05); }
.ind-cards .card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* v0.41: каталог промислових двигунів */
.ind-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ind-flabel { font-size: 13px; color: var(--text-2); min-width: 120px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-chip { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ind-chip:hover { border-color: var(--text-3); }
.ind-chip[aria-pressed="true"] { background: var(--navy, #202A44); border-color: var(--navy, #202A44); color: #fff; }
.eng-emis { display: block; font-size: 13px; color: var(--text-2); margin-top: -4px; }
p.eng-emis { margin: 0; font-size: 15px; }

/* v0.45 гарантія: вибір морська / промислова / запчастини */
.w-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 6px 4px; }
.w-tab { display: grid; gap: 4px; text-align: left; padding: 20px 22px; border: 0; border-left: 3px solid transparent; border-radius: var(--radius); background: rgba(255, 255, 255, .55); color: var(--ink); font: inherit; cursor: pointer; opacity: .8;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), background .3s, opacity .3s, border-color .3s; }
.w-tab strong { font-size: 19px; font-weight: 500; }
.w-tab small { font-size: 14px; color: var(--text-2); }
.w-tab:hover { opacity: 1; background: var(--white); transform: translateY(-2px); }
.w-tab[aria-selected="true"] { opacity: 1; background: var(--white); border-left-color: var(--navy); transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(20, 28, 48, .45); }
.w-pane:not([hidden]) { animation: l1PanelIn .6s cubic-bezier(.16, 1, .3, 1); }
.w-points-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-src { margin-bottom: -8px; }
@media (max-width: 904px) { .w-pick, .w-points-2 { grid-template-columns: minmax(0, 1fr); gap: 10px; } .w-tab { padding: 14px 16px; } }
@media (prefers-reduced-motion: reduce) { .w-tab, .w-pane:not([hidden]) { transition: none; animation: none; } }
.w-tables.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-pane .w-tables.even .data tbody th { white-space: normal; }
@media (max-width: 904px) { .w-tables.even { grid-template-columns: minmax(0, 1fr); } }

/* v0.46 вкладки двигунів без тіні: світла лінія виїжджає під вибраною плиткою */
.eng-l1 .tab, .eng-l1 .tab:hover, .eng-l1 .tab[aria-selected="true"] { box-shadow: none; transform: none; }
.eng-l1 .tab { position: relative; overflow: hidden; }
.eng-l1 .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sea, #2F6DB5); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.eng-l1 .tab[aria-selected="true"]::after { transform: scaleX(1); }

/* галузі: розкриття опису як на головній, одна некольорова лінія, що виїжджає повільно */
.reveal.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.reveal.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.ind-rv .rv { min-height: 200px; }
.ind-rv .rv-head { position: relative; border-bottom-color: var(--line); }
.ind-rv .rv-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--sea, #2F6DB5); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.ind-rv .rv:hover .rv-head::after, .ind-rv .rv:focus-visible .rv-head::after { transform: scaleX(1); }
@media (hover: none), (max-width: 904px) { .reveal.three, .reveal.two { grid-template-columns: minmax(0, 1fr); gap: 20px; } .ind-rv .rv { min-height: 0; } }

/* сторінка «Галузі застосування» */
.ip-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-link { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s; }
.chip-link:hover { border-color: var(--sea, #2F6DB5); background: var(--white); }
.ip-group { font-size: clamp(26px, 2.6vw, 34px); padding-top: 8px; border-top: 1px solid var(--line); }
[id^="industries-"] { scroll-margin-top: calc(var(--header-h) + 24px); }
.ip-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.ip-src { padding-block: 24px 48px; }
@media (prefers-reduced-motion: reduce) { .eng-l1 .tab::after, .ind-rv .rv-head::after { transition: none; } }

/* v0.47 прогулянкові / комерційні судна: менші картинки ліворуч від тексту */
.cards.mini .card { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 18px; row-gap: 4px; align-items: start; }
.cards.mini .card .media { grid-row: 1 / span 2; aspect-ratio: 4 / 3; margin: 0; border-radius: calc(var(--radius) * .75); overflow: hidden; }
.cards.mini .card .media img { width: 100%; height: 100%; object-fit: cover; }
.cards.mini .card h3 { font-size: 19px; margin: 2px 0 0; }
.cards.mini .card p { margin: 0; }
@media (max-width: 520px) { .cards.mini .card { grid-template-columns: 104px minmax(0, 1fr); } }

/* v0.49 анімація меню: горизонтальне — лінія виїжджає зліва; бокове — голубий фон і жирніша стрілка (як у Cloudflare) */
:root { --sky: #E8F0FB; }
.nav-link { border-bottom-color: transparent !important; background-image: linear-gradient(var(--sea), var(--sea)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: background-size .6s cubic-bezier(.16, 1, .3, 1), color .3s; }
.nav-link:hover, .nav-link:focus-visible { background-size: 100% 2px; color: var(--sea); }
.nav-link[aria-current="page"] { background-image: linear-gradient(var(--navy), var(--navy)); background-size: 100% 2px; }
.drawer nav > a { padding-inline: 14px; margin-inline: -14px; border-radius: 10px; transition: background-color .3s ease, color .3s ease, padding-inline .4s cubic-bezier(.16, 1, .3, 1); }
.drawer nav > a::after { display: inline-block; transition: transform .4s cubic-bezier(.16, 1, .3, 1), color .3s, font-weight .3s; }
.drawer nav > a:hover, .drawer nav > a:focus-visible { background-color: var(--sky); color: var(--sea); padding-inline: 22px 14px; }
.drawer nav > a:hover::after, .drawer nav > a:focus-visible::after { color: var(--sea); font-weight: 700; transform: translateX(-4px) scale(1.15); }
.drawer nav .drawer-sub a.sub { transition: background-color .3s, border-color .3s, color .3s; }
.drawer nav .drawer-sub a.sub:hover, .drawer nav .drawer-sub a.sub:focus-visible { background-color: var(--sky); border-color: var(--sea); color: var(--sea); }
@media (prefers-reduced-motion: reduce) { .nav-link, .drawer nav > a, .drawer nav > a::after { transition: none; } }
