/* Plieno gaminiai – pagrindiniai stiliai */

:root {
  --ink: #1C2126;
  --ink-2: #232A30;
  --ink-3: #2B3239;
  --line: #39424A;
  --paper: #F2F3F1;
  --mist: #D5DADD;
  --steel: #8A949C;
  --muted: #AEB7BD;
  --fire: #E2581E;
  --fire-hover: #F06A30;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --gutter: 20px;
  --header-h: 72px;

  --z-header: 20;
  --z-bar: 25;
  --z-nav: 30;
  --z-lightbox: 50;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.5vw, 6rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; letter-spacing: .01em; }
h1 em { color: var(--fire); font-style: italic; font-weight: 500; }

p { margin: 0 0 1.1em; max-width: 62ch; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--fire);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  padding: 10px 16px; background: var(--fire); color: var(--ink);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fire);
}

/* ---------- Mygtukai ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--fire); color: var(--ink); }
.btn--primary:hover { background: var(--fire-hover); }
.btn--ghost { border-color: rgba(242, 243, 241, .35); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(242, 243, 241, .08); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Antraštė ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(28, 33, 38, .94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: inline-flex; flex-shrink: 0; align-items: center; gap: 12px; text-decoration: none; }
.logo__text {
  display: flex; flex-direction: column;
  font-family: var(--font-head); font-size: 1.35rem; line-height: .95;
  letter-spacing: .04em; text-transform: uppercase;
}
.logo__text strong { font-weight: 700; }
.logo__text span { font-weight: 400; letter-spacing: .075em; }

.nav { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.nav a:not(.btn) {
  padding: 12px 0;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  color: var(--mist);
  transition: color .2s ease;
}
.nav a:not(.btn):hover { color: var(--fire); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--paper);
  transition: transform .2s ease, opacity .2s ease;
}
.header.is-open .nav-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Kalbos pasirinkimas */
.header__inner > .nav { margin-left: auto; }
.lang { position: relative; flex-shrink: 0; margin-left: auto; }
.nav ~ .lang { margin-left: 0; }
.lang summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; letter-spacing: .08em;
  list-style: none; cursor: pointer;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.lang[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lang summary:hover { color: var(--fire); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 160px; margin: 0; padding: 6px 0;
  list-style: none; background: rgba(28, 33, 38, .98); border: 1px solid var(--line); border-radius: 2px;
}
.lang a { display: block; padding: 10px 18px; color: var(--paper); text-decoration: none; }
.lang a:hover, .lang a[aria-current] { color: var(--fire); }
.nav__langs { display: none; }

/* ---------- Pradžia ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 56px;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media video { object-position: 46% 50%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 33, 38, .55) 0%, rgba(28, 33, 38, .15) 30%, rgba(28, 33, 38, .9) 72%, var(--ink) 100%);
}
.hero__slogan { margin: -.2em 0 .6em; font-family: var(--font-head); font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 500; line-height: 1.1; }
.hero__slogan em { color: var(--fire); font-style: italic; }
.hero__lead { font-size: 1.15rem; color: var(--mist); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  margin: 0; border-top: 1px solid rgba(242, 243, 241, .22);
}
.hero__facts div { padding: 18px 26px 0 0; }
.hero__facts div + div { padding-left: 26px; border-left: 1px solid rgba(242, 243, 241, .22); }
.hero__facts dt {
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.hero__facts dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; }

/* ---------- Sekcijos ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--panel { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light p { color: #353D44; }
.section--light .eyebrow { color: #B8400F; }
.section__head { margin-bottom: 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__text p { color: var(--mist); }
.section--light .split__text p { color: #353D44; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__text .btn { margin-top: 12px; }

/* Privalumai */
.features { padding-block: clamp(48px, 6vw, 80px); background: var(--ink-2); border-block: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature__icon {
  width: 40px; height: 40px; margin-bottom: 18px;
  fill: none; stroke: var(--fire); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Specifikacijos */
.specs { margin: 28px 0; border-top: 1px solid var(--line); }
.specs div {
  display: grid; grid-template-columns: 180px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.specs dt {
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel); padding-top: 3px;
}
.specs dd { margin: 0; }

/* Pjūvio schema */
.diagram { margin: 0; padding: 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; }
.diagram svg { width: 100%; height: auto; }
.diagram__lines path { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.diagram__dots circle { fill: var(--fire); }
.diagram__labels text {
  fill: var(--paper); font-family: var(--font-head); font-size: 19px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.diagram__labels text.sub {
  fill: var(--muted); font-family: var(--font-body); font-size: 14px; font-weight: 400;
  letter-spacing: 0; text-transform: none;
}
.diagram__legend { display: none; gap: 10px; margin-top: 16px; counter-reset: layer; }
.diagram__legend li { counter-increment: layer; display: grid; grid-template-columns: 28px 1fr; font-size: .95rem; color: var(--muted); }
.diagram__legend li::before { content: counter(layer); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--fire); line-height: 1.3; }
.diagram__legend strong { display: block; color: var(--paper); font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.diagram figcaption {
  margin-top: 16px; text-align: center; color: var(--steel);
  font-family: var(--font-head); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase;
}

/* Komplekto dalys */
.kit { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.kit__figure { margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--ink); border: 1px solid var(--line); border-radius: 2px; }
.kit__figure svg { width: 100%; height: auto; }
.kit__tabs { display: none; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kit__tabs button {
  min-height: 52px; padding: 6px; background: var(--ink); color: var(--mist);
  border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.15;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.kit__tabs button[aria-pressed="true"] { background: var(--fire); border-color: var(--fire); color: var(--ink); }
.kit__list li[data-n]::before { content: attr(data-n); }
.kit__build { fill: none; stroke: var(--line); stroke-width: 6; stroke-linejoin: miter; }
.kit__wall { fill: var(--line); }
.kit__roof { fill: none; stroke: var(--steel); stroke-width: 8; stroke-linecap: square; }
.kit__stove { fill: var(--ink-3); stroke: var(--steel); stroke-width: 2; }
.kit__pipe { fill: none; stroke: var(--paper); }
.kit__core { fill: none; stroke: var(--ink-3); }
.kit__joint { fill: none; stroke: var(--paper); stroke-width: 2; }
.kit__line { fill: none; stroke: var(--paper); stroke-width: 2.5; }
.kit__solid { fill: var(--paper); }
.kit__box { fill: var(--ink-2); stroke: var(--paper); stroke-width: 2.5; }
.kit__lead { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.kit__dot { fill: var(--fire); }
.kit__num { fill: var(--ink); font-family: var(--font-head); font-size: 16px; font-weight: 700; text-anchor: middle; }
.kit__cap { fill: var(--steel); font-family: var(--font-head); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; text-anchor: middle; }
.kit__list { counter-reset: kit; border-top: 1px solid var(--line); columns: 2; column-gap: 56px; }
.kit__list li { counter-increment: kit; break-inside: avoid; display: grid; grid-template-columns: 44px 1fr; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.kit__list li::before {
  content: counter(kit); width: 28px; height: 28px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fire); color: var(--ink);
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1;
}
.kit__list strong { display: block; color: var(--paper); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.25; }

/* Sąrašas su varnelėmis */
.checklist { margin: 24px 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px;
  background: var(--fire);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--light .checklist li::before { background: #B8400F; }

/* Skaičiai */
.stats { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 28px 0 20px; padding-top: 24px; border-top: 1px solid var(--mist); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: #B8400F; }
.stats dt { margin-top: 6px; font-family: var(--font-head); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: #4A545C; }

/* Žingsniai */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 28px 28px 8px 0; border-top: 2px solid var(--line); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__num {
  display: block; margin-bottom: 14px;
  font-family: var(--font-head); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--fire);
}
.step h3 { text-transform: uppercase; letter-spacing: .06em; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Įmonėms */
.b2b, .callout {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px);
  background: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--fire); border-radius: 2px;
}
.b2b > div, .callout > div:first-child { flex: 1 1 420px; }
.b2b h3, .callout h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.b2b p:last-child, .callout p:last-child { margin: 0; color: var(--mist); }
.b2b .btn { flex: none; }
.b2b__img { flex: 0 1 240px; width: 240px; max-width: 100%; height: auto; aspect-ratio: 901 / 1150; object-fit: cover; border-radius: 2px; }

.callout { margin-top: 0; }
.callout__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section--slim { padding-block: clamp(32px, 5vw, 56px); }
.split--stacked { margin-top: clamp(48px, 7vw, 96px); }
.split__text h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* Komplekto kaina */
.kit-offer {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px); padding: clamp(18px, 3vw, 28px);
  background: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--fire); border-radius: 2px;
}
.kit-offer img { width: 100%; height: auto; aspect-ratio: 688 / 1100; object-fit: cover; border-radius: 2px; }
.kit-offer h3 { margin-bottom: .3em; font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--fire); }
.kit-offer p { color: var(--mist); }
.kit-offer .checklist { margin: 16px 0 20px; }

/* Dažni klausimai */
.faq { border-top: 1px solid var(--line); }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq__item h3 { margin-bottom: .4em; font-size: 1.5rem; }
.faq__item p { margin: 0; color: var(--mist); max-width: 75ch; }

/* Galerija */
.gallery { columns: 3; column-gap: 14px; }
.gallery__item {
  display: block; width: 100%; margin: 0 0 14px; padding: 0;
  border: 0; background: var(--ink-2); cursor: zoom-in;
  break-inside: avoid; overflow: hidden; border-radius: 2px;
}
.gallery__item img { width: 100%; transition: opacity .25s ease; }
.gallery__item:hover img { opacity: .8; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(15, 18, 21, .96);
  z-index: var(--z-lightbox);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(15, 18, 21, .9); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); object-fit: contain; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(28, 33, 38, .8); color: var(--paper);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lightbox__btn:hover { background: var(--fire); color: var(--ink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -26px; }

/* Kontaktai ir forma */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__info p { color: var(--mist); }
.contact__list { margin-top: 32px; border-top: 1px solid var(--line); }
.contact__list li {
  display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact__list span {
  font-family: var(--font-head); font-size: .9rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fire);
}
.contact__list a, .contact__list b {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 500;
  text-decoration: none; overflow-wrap: anywhere;
  transition: color .2s ease;
}
.contact__list a:hover { color: var(--fire); }

.form { padding: clamp(24px, 4vw, 40px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field > label:first-child {
  display: block; margin-bottom: 8px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mist);
}
.field > label span { color: var(--fire); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line); border-radius: 2px;
  font: inherit; font-size: 16px;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--fire); }
.field ::placeholder { color: #7B858C; }
.field.has-error input, .field.has-error textarea { border-color: #FF7A5C; }
.field__error { display: block; margin-top: 6px; color: #FF9A82; font-size: .92rem; }

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.upload {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  padding: 16px 18px; cursor: pointer;
  background: var(--ink); border: 1px dashed var(--steel); border-radius: 2px;
  transition: border-color .2s ease, background-color .2s ease;
}
.upload:hover { border-color: var(--fire); background: #20262B; }
.upload .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--fire); }
.upload span { font-weight: 500; overflow-wrap: anywhere; }
.upload small { color: var(--muted); font-size: .9rem; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload__input:focus-visible + * , .field:has(.upload__input:focus-visible) .upload { outline: 3px solid var(--fire); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; font-size: .95rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--fire); cursor: pointer; }
.consent.has-error span { color: #FF9A82; }

.form__status { margin: 16px 0 0; min-height: 1.5em; font-weight: 500; }
.form__status.is-ok { color: #8FD6A0; }
.form__status.is-error { color: #FF9A82; }

/* Poraštė */
.footer { padding: 48px 0; background: #161A1E; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px; }
.footer p { margin: 0; }
.footer .logo { color: var(--paper); }
.footer__contacts { display: flex; flex-direction: column; text-align: right; }
.footer__contacts a { padding: 4px 0; text-decoration: none; color: var(--paper); transition: color .2s ease; }
.footer__contacts a:hover { color: var(--fire); }
.footer__copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }

.consent a, .footer__copy a { color: var(--paper); text-underline-offset: 3px; }
.consent a:hover, .footer__copy a:hover { color: var(--fire-hover); }

.footer__copy { max-width: none; }
.header .btn { white-space: nowrap; }

/* Privatumo politika */
.policy { padding: calc(var(--header-h) + 56px) 0 96px; }
.policy__inner { max-width: 760px; }
.policy h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .3em; }
.policy h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.policy p, .policy li { color: var(--mist); max-width: 68ch; }
.policy ul { margin: 0 0 1.1em; padding-left: 1.2em; list-style: disc; }
.policy li { margin-bottom: .4em; }
.policy li::marker { color: var(--fire); }
.policy a { color: var(--paper); text-underline-offset: 3px; }
.policy a:hover { color: var(--fire-hover); }
.policy__meta { color: var(--muted); font-size: .95rem; }

/* Užsakymas dalimis */
.kit__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.order { padding: calc(var(--header-h) + 56px) 0 96px; }
.order h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .3em; }
.order__lead { color: var(--mist); margin-bottom: 32px; }
.order__lead a { color: var(--paper); text-underline-offset: 3px; }
.order__lead a:hover { color: var(--fire-hover); }
.order .kit__figure { margin-bottom: 24px; }
.order label, .order .lbl {
  display: block; margin-bottom: 6px;
  font-family: var(--font-head); font-size: .85rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.order input:not([type="checkbox"]), .order select, .order textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--line); border-radius: 2px;
  font: inherit; font-size: 16px;
  transition: border-color .2s ease;
}
.order input:not([type="checkbox"]):hover, .order select:hover, .order textarea:hover { border-color: var(--steel); }
.order select { cursor: pointer; }
.order textarea { min-height: 84px; resize: vertical; }
.order ::placeholder { color: #7B858C; }
.order .has-error input, .order .has-error textarea { border-color: #FF7A5C; }
.order__all {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px;
  margin-bottom: 20px; padding: 16px 18px;
  background: var(--ink-2); border: 1px solid var(--line); border-left: 4px solid var(--fire); border-radius: 2px;
}
.order__all > div { flex: 0 1 240px; }
.order__all p { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: .95rem; }
.order__parts { border-top: 1px solid var(--line); }
.order__part {
  display: grid; grid-template-columns: 40px minmax(180px, 1.1fr) 2fr 132px; gap: 14px 18px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.order__part.is-on { background: linear-gradient(90deg, rgba(226, 88, 30, .10), rgba(226, 88, 30, 0) 60%); }
.order__num {
  width: 30px; height: 30px; margin-top: 4px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fire); color: var(--ink);
  font-family: var(--font-head); font-weight: 700;
}
.order__name strong { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.order__name span { color: var(--muted); font-size: .95rem; }
.order__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; align-items: end; }
.order__qty { display: grid; grid-template-columns: 44px 1fr 44px; }
.order__qty button {
  min-height: 44px; background: var(--ink-3); color: var(--paper); border: 1px solid var(--line);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.order__qty button:hover { background: var(--fire); color: var(--ink); }
.order .order__qty input { text-align: center; border-left: 0; border-right: 0; padding-inline: 4px; -moz-appearance: textfield; appearance: textfield; }
.order__qty input::-webkit-outer-spin-button, .order__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order__bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; margin-top: 32px; }
.order__box { padding: clamp(18px, 3vw, 28px); background: var(--ink-2); border: 1px solid var(--line); border-radius: 2px; }
.order__box h2 { margin-bottom: 14px; font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; }
.order__summary { color: var(--mist); }
.order__summary li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.order__summary b { color: var(--paper); font-weight: 600; }
.order__summary .is-empty { color: var(--muted); }
.order__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order__field { margin-bottom: 12px; }
.order__note { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.order .consent { margin: 4px 0 18px; }
.order .consent a { color: var(--paper); }

/* Kontaktų juosta telefone */
.contact-bar { display: none; }
.contact-bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 10px;
  border: 1px solid rgba(242, 243, 241, .35); border-radius: 2px; color: var(--paper); text-decoration: none;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.contact-bar__btn--call { background: var(--fire); border-color: var(--fire); color: var(--ink); }

/* Atsiradimo animacija */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Prisitaikymas ---------- */

@media (min-width: 1024px) {
  .hero { align-items: center; padding-bottom: 80px; }
  .hero__media { left: 46%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(28, 33, 38, .55) 30%, rgba(28, 33, 38, 0) 60%),
      linear-gradient(180deg, rgba(28, 33, 38, .5) 0%, rgba(28, 33, 38, 0) 22%, rgba(28, 33, 38, 0) 75%, var(--ink) 100%);
  }
  .hero__content > * { max-width: 620px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { font-size: .95rem; letter-spacing: .06em; }
  .nav .btn { padding-inline: 14px; letter-spacing: .08em; font-size: .95rem; }
}

@media (max-width: 1023px) {
  .kit-offer { grid-template-columns: 1fr; }
  .kit-offer img { max-width: 360px; margin-inline: auto; }
  .hero { display: block; min-height: 0; padding: 0 0 48px; }
  .hero__media { position: relative; height: min(58svh, 560px); }
  .hero__media img { object-position: 62% 45%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(28, 33, 38, .65) 0%, rgba(28, 33, 38, 0) 26%, rgba(28, 33, 38, 0) 55%, var(--ink) 100%);
  }
  .hero__content { margin-top: -56px; }

  .nav-toggle { display: flex; order: 3; }
  .nav ~ .lang { margin-left: auto; }
  .header__inner { gap: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-nav);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(28, 33, 38, .98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .nav .btn { margin-top: 20px; }
  .nav__langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
  .nav .nav__langs a {
    padding: 12px 4px; border: 1px solid var(--line); border-radius: 2px;
    font-size: 1rem; letter-spacing: .04em; text-align: center; text-transform: none;
  }
  .nav .nav__langs a[aria-current] { border-color: var(--fire); color: var(--fire); }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact { grid-template-columns: 1fr; }
  .kit { gap: 32px; }
}

@media (max-width: 767px) {
  .contact-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(28, 33, 38, .97); border-top: 1px solid var(--line);
  }
  body:has(.contact-bar) { padding-bottom: 66px; }
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .diagram { padding: 16px; overflow: hidden; }
  .diagram svg { width: 153%; max-width: none; }
  .diagram__lines, .diagram__dots, .diagram__labels { display: none; }
  .diagram__legend { display: grid; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts div, .hero__facts div + div { padding: 14px 0 0; border-left: 0; }
  .hero__facts dd { font-size: 1.35rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__contacts { text-align: left; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; margin: 0; }
}

@media (max-width: 479px) {
  .kit__figure { grid-template-columns: 1fr; padding: 16px; }
  .order__part { grid-template-columns: 40px 1fr; }
  .order__fields, .order__qtywrap { grid-column: 2; }
  .order__bottom { grid-template-columns: 1fr; }
  .order__row { grid-template-columns: 1fr; }
  .kit__list { columns: 1; }
  .kit__figure svg { max-width: 340px; margin-inline: auto; }
  .kit__tabs { display: grid; }
  .kit__figure.has-tabs svg { display: none; }
  .kit__figure.has-tabs svg.is-active { display: block; }
  .kit__list.has-tabs li.is-off { display: none; }
  .callout__actions .btn { flex: 1 1 100%; }
  .features__grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
