/* ==========================================================================
   volatileorganic.eu — LOJ ir metano matavimai
   Pagal Figma maketą „v2 – Molekulė“ (Desktop 1440). Planšetės ir mobili versija — pagal tą pačią logiką.
   ========================================================================== */

:root {
  --hydrogen: #f2f2f0;
  --steel: #9aa3ab;
  --white: #fff;
  --oxygen: #d92b26;
  --oxygen-bright: #e5322d;
  --oxygen-text: #c4231f;
  --oxygen-soft: #fbe4e2;
  --carbon: #202021;
  --footer: #161617;
  --line-dark: #3a3b3e;
  --lead: #cfd2d4;
  --ink2: #3b3f44;
  --graphite: #5b636b;
  --line: #dcdcd7;

  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;

  --wrap: 1136px;
  --gutter: 24px;
  --header-h: 64px;
  --section-y: 56px;
  --radius: 16px;

  interpolate-size: allow-keywords;
}

@media (min-width: 700px) {
  :root { --gutter: 40px; --section-y: 80px; }
}
@media (min-width: 1100px) {
  :root { --header-h: 72px; --section-y: 104px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--hydrogen);
  color: var(--ink2);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
sub { font-size: 0.68em; line-height: 0; vertical-align: -0.25em; }
sup { font-size: 0.68em; line-height: 0; vertical-align: 0.5em; }

:focus-visible {
  outline: 3px solid var(--oxygen-bright);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  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: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--hydrogen);
  color: var(--carbon);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 24px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--oxygen); color: var(--white); }
.btn-primary:hover { background: var(--oxygen-text); }
.btn-outline-light { border: 2px solid var(--hydrogen); color: var(--hydrogen); background: transparent; }
.btn-outline-light:hover { background: var(--hydrogen); color: var(--carbon); }
.btn-outline-dark { border: 2px solid var(--carbon); color: var(--carbon); background: transparent; }
.btn-outline-dark:hover { background: var(--carbon); color: var(--hydrogen); }
.btn-sm { padding: 12px 20px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.is-loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Antraštė ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--carbon);
  color: var(--hydrogen);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img { flex-shrink: 0; width: 40px; height: 28px; }
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-text strong {
  font: 700 18px/1.1 var(--font-head);
  color: var(--hydrogen);
}
.logo-text small {
  font: 400 12px/1.2 var(--font-body);
  color: var(--steel);
}

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font: 500 15px/1.2 var(--font-body);
  color: var(--hydrogen);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-link:hover { border-bottom-color: var(--steel); }
.nav-cta, .lang.nav-lang { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-actions--end { margin-left: auto; }

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 14px/1 var(--font-body);
  color: var(--steel);
}
.lang a { color: var(--steel); text-decoration: none; padding: 6px 2px; }
.lang a:hover { color: var(--hydrogen); }
.lang [aria-current] { color: var(--hydrogen); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--hydrogen);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--carbon);
    border-top: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 28px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
  }
  .nav-open .main-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border: 0;
  }
  .nav-cta { display: flex; width: 100%; margin-top: 24px; }
  .header-actions { margin-left: auto; gap: 20px; }
}
/* EN logotipas ilgesnis — siauruose stalinių kompiuterių ekranuose meniu šiek tiek suglaudinam */
@media (min-width: 1100px) and (max-width: 1199px) {
  .nav-list { gap: 22px; }
}
.logo { min-width: 0; }
.logo-text { min-width: 0; }
.logo-text strong, .logo-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 419px) {
  .header-inner { gap: 12px; }
  .logo { gap: 10px; }
  .logo-text strong { font-size: 15px !important; }
  .logo-text small { font-size: 11px; }
}
@media (max-width: 559px) {
  /* telefone pavadinimas (ypač EN) geriau persikelia į 2 eilutę, nei nukerpamas „…“ */
  .logo-text strong { font-size: 16px; white-space: normal; }
  .header-actions .header-cta,
  .header-actions .lang { display: none; }
  .lang.nav-lang { display: flex; margin-top: 20px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--carbon);
  color: var(--hydrogen);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62.5%;
  background: linear-gradient(90deg, rgba(32, 32, 33, .85), rgba(32, 32, 33, 0));
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  min-height: 640px;
  padding: 96px 0 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font: 500 14px/1.2 var(--font-body);
  color: var(--hydrogen);
}
.badge img { width: 20px; height: 20px; margin: -4px; }

.hero-title {
  max-width: 780px;
  font: 700 clamp(44px, 7.25vw, 104px)/0.98 var(--font-head);
  letter-spacing: -0.03em;
  color: var(--hydrogen);
}
.hero-title span { display: block; color: var(--steel); }
/* EN „VOC and methane“ platesnis už LT „LOJ ir metano“ — šiek tiek mažesnis, kad tilptų į dvi eilutes */
html[lang="en"] .hero-title { font-size: clamp(40px, 6.3vw, 91px); }

.hero-lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--lead);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* FID signalo linijos: lėtai „perbėgantis“ signalas */
.hero-fid {
  position: relative;
  height: 70px;
  pointer-events: none;
}
.hero-fid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-fid .fid-pulse {
  -webkit-mask-image: linear-gradient(90deg, transparent 0 40%, #000 47%, #000 53%, transparent 60% 100%);
  mask-image: linear-gradient(90deg, transparent 0 40%, #000 47%, #000 53%, transparent 60% 100%);
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 0 4px rgba(229, 50, 45, .95)) drop-shadow(0 0 10px rgba(229, 50, 45, .6));
  animation: fid-pulse 6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes fid-pulse {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fid .fid-pulse { display: none; }
}

.hero-strip {
  position: relative;
  margin-top: 10px;
  border-top: 1px solid var(--line-dark);
}
.hero-strip ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-strip li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 107px;
  padding: 24px;
  border-left: 1px solid var(--line-dark);
}
.hero-strip li:first-child { padding-left: 0; border-left: 0; }
.hero-strip strong {
  display: block;
  font: 600 16px/1.3 var(--font-head);
  color: var(--hydrogen);
}
.hero-strip small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--steel);
}

.atom {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--hydrogen);
}
.atom--red { background: var(--oxygen-bright); }
.atom--steel { background: var(--steel); }
.atom--carbon { background: var(--carbon); }
.atom--lg { width: 40px; height: 40px; }

@media (max-width: 899px) {
  .hero-media img { object-position: 72% center; opacity: .55; }
  .hero-shade { width: 100%; background: linear-gradient(180deg, rgba(32, 32, 33, .7), rgba(32, 32, 33, .2) 70%, rgba(32, 32, 33, .6)); }
  .hero-content { min-height: 0; padding: 56px 0 32px; gap: 24px; }
  .hero-lead { font-size: 18px; }
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li { min-height: 0; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-strip li:first-child { border-top: 0; }
}
@media (max-width: 559px) {
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Pagalbos juosta ---------- */
.help-strip {
  background: var(--oxygen-soft);
  padding: 36px 0;
}
.help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.help-strip h2 {
  font: 700 22px/1.25 var(--font-head);
  color: var(--carbon);
}
.help-strip p {
  max-width: 700px;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink2);
}
@media (max-width: 899px) {
  .help-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .help-strip p { font-size: 17px; }
}

/* ---------- Sekcijos ---------- */
.section {
  position: relative;
  padding: var(--section-y) 0;
  scroll-margin-top: var(--header-h);
  overflow-x: clip; /* dekoratyvūs .accent fragmentai išeina už krašto — nekuriam horizontalaus slinkimo */
}
.section--light { background: var(--hydrogen); }
.section--white { background: var(--white); }
.section--dark { background: var(--carbon); color: var(--hydrogen); }

.h2 {
  font: 700 clamp(32px, 2.4vw + 14px, 48px)/1.06 var(--font-head);
  letter-spacing: -0.015em;
  color: var(--carbon);
}
.section--dark .h2 { color: var(--hydrogen); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--graphite);
}
.section-head a { color: var(--carbon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section-head a:hover { color: var(--oxygen-text); }

.h3 {
  font: 700 21px/1.2 var(--font-head);
  letter-spacing: -0.005em;
  color: var(--carbon);
}

.note {
  font-size: 14px;
  line-height: 1.45;
  color: var(--graphite);
}

.accent {
  position: absolute;
  pointer-events: none;
  display: none;
}
.accent--left { left: -30px; top: 40px; width: 160px; height: 110px; }
.accent--right { right: -20px; top: 70px; width: 200px; height: 130px; }
@media (min-width: 1400px) { .accent--left { display: block; } }
@media (min-width: 1200px) { .accent--right { display: block; } }

@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ---------- Kas yra LOJ ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink2);
}
.about-text p:not(.lead) {
  font-size: 17px;
  line-height: 1.55;
  color: var(--carbon);
}

.molecules { display: flex; flex-direction: column; gap: 16px; }
.mol-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mol-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--carbon);
}
.mol-img {
  display: grid;
  place-items: center;
  height: 240px;
}
.mol-img img { width: auto; height: auto; }
.mol-img--etilacetatas img { width: 234px; aspect-ratio: 234 / 161.2; margin-top: 2px; }
.mol-img--toluenas img { width: 200px; aspect-ratio: 200 / 210; }
.mol-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1.3;
  color: var(--hydrogen);
}
.mol-card figcaption span { color: var(--steel); }

@media (max-width: 1099px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .molecules { max-width: 560px; }
}
@media (max-width: 559px) {
  .about-text .lead { font-size: 18px; }
  .mol-img { height: 180px; }
  .mol-img--etilacetatas img { width: 76%; }
  .mol-img--toluenas img { width: 62%; }
  .mol-card figcaption { flex-direction: column; gap: 2px; padding: 12px 14px; }
}

/* ---------- Rodikliai ---------- */
.param-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--carbon);
}
.param {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 32px;
  border-left: 1px solid var(--line);
}
.param:first-child { padding-left: 0; border-left: 0; }
.param:last-child { padding-right: 0; }
.param p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink2);
}
.param .note { font-size: 14px; line-height: 1.45; color: var(--graphite); }

.code308 {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 56px;
  padding: 44px 48px;
  border-radius: var(--radius);
  background: var(--carbon);
}
.code308-num {
  flex-shrink: 0;
  font: 700 clamp(88px, 9.5vw, 136px)/0.85 var(--font-head);
  letter-spacing: -0.04em;
  color: var(--oxygen-bright);
}
.code308 h3 {
  font: 700 26px/1.2 var(--font-head);
  letter-spacing: -0.015em;
  color: var(--hydrogen);
}
.code308-text p {
  max-width: 740px;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--lead);
}

@media (max-width: 899px) {
  .param-row { grid-template-columns: 1fr; }
  .param, .param:first-child, .param:last-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .param:first-child { border-top: 0; }
  .code308 { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 40px; padding: 32px 24px; }
  .code308 h3 { font-size: 22px; }
}

/* ---------- Kam aktualu ---------- */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.aud-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}
.aud-card--wide { grid-column: span 3; }
.aud-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.aud-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 28px;
}
.aud-body > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink2);
}
.aud-example {
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--graphite);
}
.aud-example strong { font-weight: 600; color: var(--oxygen-text); }

@media (max-width: 1099px) {
  .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-card, .aud-card--wide { grid-column: span 1; }
  .aud-card:last-child { grid-column: span 2; }
  .aud-card img { height: 240px; }
}
@media (max-width: 699px) {
  .aud-grid { grid-template-columns: 1fr; gap: 16px; }
  .aud-card:last-child { grid-column: span 1; }
  .aud-card img { height: 200px; }
  .aud-body { padding: 20px 20px 24px; }
}

/* ---------- Kaip matuojame ---------- */
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 528px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.method-text { display: flex; flex-direction: column; gap: 16px; }
.method-text p {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--carbon);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--carbon);
  white-space: nowrap;
}

.schema-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--carbon);
}
.schema {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 504 / 310;
}
.schema > img { width: 100%; height: 100%; }
.schema span {
  position: absolute;
  transform: translateX(-50%);
  line-height: 1.2;
  white-space: nowrap;
  font-size: max(8px, 2.381cqw);
  color: var(--steel);
}
.schema .s13 { font-size: max(8.5px, 2.579cqw); }
.schema .s17 { font-size: max(10px, 3.373cqw); }
.schema .b { font-weight: 600; color: var(--hydrogen); }
.schema .w { color: var(--hydrogen); }
.schema .r { font-weight: 600; color: var(--oxygen-bright); }

@media (max-width: 1099px) {
  .method-grid { grid-template-columns: 1fr; gap: 40px; }
  .schema-card { max-width: 600px; }
}
@media (max-width: 559px) {
  .schema-card { padding: 14px; }
}

/* ---------- Eiga ---------- */
.chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.chain::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 30px;
  right: calc((100% - 84px) / 4 - 30px);
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--carbon);
  font: 700 24px/1 var(--font-head);
  color: var(--hydrogen);
}
.step:last-child .step-num { background: var(--oxygen-bright); }
.step p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink2);
}

@media (max-width: 899px) {
  .chain { grid-template-columns: 1fr; gap: 32px; }
  .chain::before { display: none; }
  .step {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 8px;
    align-items: start;
  }
  .step-num { grid-row: span 2; margin-bottom: 0; z-index: 1; }
  .step .h3 { padding-top: 16px; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 30px;
    bottom: -62px;
    width: 6px;
    border-radius: 3px;
    background: var(--line);
  }
}

/* ---------- Rezultatai ---------- */
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 2px solid var(--carbon);
}
.result h3 {
  font: 700 30px/1 var(--font-head);
  letter-spacing: -0.01em;
  color: var(--oxygen-text);
}
.result p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink2);
}
@media (max-width: 1099px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 559px) {
  .result-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Užklausos forma ---------- */
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 470fr) minmax(0, 602fr);
  gap: 64px;
  align-items: start;
}
.enquiry-info { display: flex; flex-direction: column; gap: 24px; }
.enquiry-info .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--lead);
}
.send-list { display: flex; flex-direction: column; gap: 14px; }
.send-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--hydrogen);
}
.send-list img { flex-shrink: 0; width: 24px; height: 14px; }

.contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--steel);
}
.contacts p { line-height: 1.55; }
.contacts .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  line-height: 1.4;
}
.contacts .contact-links a {
  font-weight: 600;
  color: var(--hydrogen);
  text-decoration: none;
}
.contacts .contact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contacts address { font-style: normal; line-height: 1.4; }

.enquiry-mol {
  display: grid;
  place-items: center;
  width: 240px; height: 240px;
}
.enquiry-mol img { width: 200px; aspect-ratio: 200 / 210; }

@media (max-width: 1099px) {
  .enquiry-grid { grid-template-columns: 1fr; gap: 40px; }
  .enquiry-mol { display: none; }
}

/* Forma */
.form-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--carbon);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.form-grid .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label {
  font: 600 14px/1.3 var(--font-body);
  color: var(--carbon);
}
.input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--hydrogen);
  font-size: 16px;
  line-height: 1.4;
  color: var(--carbon);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.input::placeholder { color: var(--graphite); opacity: 1; }
.input:hover { border-color: #c4c4be; }
.input:focus {
  outline: none;
  border-color: var(--carbon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(32, 32, 33, .12);
}
textarea.input { height: 110px; min-height: 110px; resize: vertical; }
select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url(../img/rodykle.svg);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  cursor: pointer;
}
select.input.is-placeholder { color: var(--graphite); }
select.input option { color: var(--carbon); }

.field-error {
  font-size: 13px;
  line-height: 1.35;
  color: var(--oxygen-text);
}
.field-error:empty { display: none; }
.is-invalid .input { border-color: var(--oxygen-text); background: #fff7f6; }

/* Rodiklio pasirinkimas (radio kaip žymos) */
.chips { border: 0; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 8px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--hydrogen);
  font-size: 15px;
  line-height: 1.2;
  color: var(--carbon);
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover span { border-color: var(--carbon); }
.chip input:checked + span { background: var(--carbon); border-color: var(--carbon); color: var(--hydrogen); }
.chip input:focus-visible + span { outline: 3px solid var(--oxygen-bright); outline-offset: 2px; }

/* Sutikimo varnelė */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--graphite);
  cursor: pointer;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  border: 1.5px solid var(--graphite);
  border-radius: 4px;
  background: var(--white) center / 12px 12px no-repeat;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.check input:checked {
  border-color: var(--carbon);
  background-color: var(--carbon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23f2f2f0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.turnstile:empty { display: none; }
.turnstile { min-height: 0; }

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-note {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--graphite);
}
.form-note a { color: inherit; text-underline-offset: 2px; }
.form-note a:hover { color: var(--carbon); }

.form-status {
  font-size: 14px;
  line-height: 1.45;
}
.form-status:empty { display: none; }
.form-status.is-error { color: var(--oxygen-text); }
.form-status.is-info { color: var(--graphite); }

.form-noscript {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--oxygen-soft);
  font-size: 15px;
  line-height: 1.5;
  color: var(--carbon);
}
.form-noscript a { color: var(--oxygen-text); font-weight: 600; }

/* Honeypot — žmonėms nematomas */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Būsena: užklausa išsiųsta */
.success-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--carbon);
}
.success-card:focus { outline: none; }
.success-card h3 {
  font: 700 28px/1.2 var(--font-head);
  letter-spacing: -0.015em;
}
.success-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink2);
}
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 559px) {
  .form-card, .success-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-bottom { flex-direction: column; align-items: stretch; }
  .form-note { max-width: none; }
  .chip span { white-space: normal; }
  .success-actions { flex-direction: column; }
  .success-actions .btn { white-space: normal; text-align: center; }
}

/* ---------- DUK ---------- */
.faq-list {
  max-width: 920px;
  border-top: 2px solid var(--carbon);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font: 600 19px/1.35 var(--font-head);
  color: var(--carbon);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--oxygen-text); }
.faq-item summary img { flex-shrink: 0; width: 28px; height: 28px; }
.faq-item .icon-open { display: none; }
.faq-item[open] .icon-open { display: block; }
.faq-item[open] .icon-closed { display: none; }
.faq-answer { padding-bottom: 26px; }
.faq-answer p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink2);
}
.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .3s ease, content-visibility .3s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
}
.faq-footnote {
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--graphite);
}
@media (max-width: 559px) {
  .faq-item summary { font-size: 17px; padding: 20px 0; gap: 16px; }
  .faq-answer p { font-size: 16px; }
}

/* ---------- AV Consulting juosta ---------- */
.group-band { padding: 72px 0; }
.group-grid {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 480fr);
  gap: 56px;
  align-items: center;
}
.group-text { display: flex; flex-direction: column; gap: 14px; }
.group-text h2 {
  font: 700 clamp(30px, 1.6vw + 17px, 40px)/1.12 var(--font-head);
  letter-spacing: -0.015em;
  color: var(--carbon);
}
.group-text p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink2);
}
.group-links { border-top: 1px solid var(--line); }
.group-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font: 500 17px/1.3 var(--font-body);
  color: var(--carbon);
  text-decoration: none;
}
.group-links a span[aria-hidden] {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--hydrogen);
  font-size: 15px;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.group-links a:hover { color: var(--oxygen-text); }
.group-links a:hover span[aria-hidden] { background: var(--oxygen); color: var(--white); }
@media (max-width: 899px) {
  .group-band { padding: 56px 0; }
  .group-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Poraštė ---------- */
.site-footer {
  padding: 64px 0 32px;
  background: var(--footer);
  color: var(--hydrogen);
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 440fr) minmax(0, 308fr) minmax(0, 308fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 {
  font: 600 14px/1.3 var(--font-body);
  color: var(--steel);
}
.footer-col p, .footer-col li, .footer-col address {
  font-size: 15px;
  line-height: 1.5;
  font-style: normal;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  line-height: 1.3;
}
.footer-bottom p { color: var(--steel); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 1099px) {
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 699px) {
  .site-footer { padding: 48px 0 calc(24px + var(--sticky-space, 0px)); }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; margin-top: 36px; }
}

/* ---------- Lipnus mobilus CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 699px) {
  :root { --sticky-space: 76px; }
  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(32, 32, 33, .96);
    border-top: 1px solid var(--line-dark);
    transition: transform .25s;
  }
  .sticky-cta .btn { flex: 1; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-tel {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 50px; height: 50px;
    border: 2px solid var(--line-dark);
    border-radius: 50%;
    color: var(--hydrogen);
  }
  .sticky-tel svg { width: 20px; height: 20px; }
}

/* ---------- Vidiniai puslapiai (privatumo politika, 404) ---------- */
.page-hero {
  padding: 64px 0 56px;
  background: var(--carbon);
  color: var(--hydrogen);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--steel); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-dark); }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--hydrogen); }
.page-hero h1 {
  margin-top: 20px;
  font: 700 clamp(36px, 3vw + 16px, 56px)/1.04 var(--font-head);
  letter-spacing: -0.02em;
}
.page-lead {
  max-width: 680px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--lead);
}
.doc { padding: 64px 0 96px; background: var(--white); }
.prose { max-width: 760px; color: var(--ink2); }
.prose h2 {
  margin: 40px 0 12px;
  font: 700 24px/1.25 var(--font-head);
  letter-spacing: -0.01em;
  color: var(--carbon);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; }
.prose p + p, .prose ul + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--oxygen-bright);
}
.prose a { color: var(--carbon); text-underline-offset: 3px; }
.prose a:hover { color: var(--oxygen-text); }
.prose small { color: var(--graphite); }

.notfound {
  padding: 96px 0 120px;
  background: var(--carbon);
  color: var(--hydrogen);
}
.notfound .code {
  font: 600 14px/1.3 var(--font-body);
  letter-spacing: .08em;
  color: var(--oxygen-bright);
}
.notfound h1 {
  margin: 16px 0;
  font: 700 clamp(40px, 4vw + 16px, 72px)/1 var(--font-head);
  letter-spacing: -0.02em;
}
.notfound p { max-width: 560px; font-size: 18px; color: var(--lead); }
.notfound .btn { margin-top: 28px; }
.notfound .notfound-en { margin-top: 40px; font-size: 15px; color: var(--steel); }
.notfound .notfound-en a { color: var(--hydrogen); }
