/* ============================================================
   AUTOBATAI.LT — pagrindinis stilius
   Struktūra pritaikyta perkėlimui į WordPress (Gutenberg +
   GenerateBlocks): visos spalvos/tarpai/šriftai — CSS kintamieji,
   klasės — komponentinės (BEM tipo), be JS priklausomybių maketui.
   ============================================================ */

/* ---------- 1. KINTAMIEJI (prekės ženklo paletė iš esamos svetainės) ---------- */
:root {
  /* Spalvos */
  --c-primary: #68bdd8;        /* akcentinė žydra (brand) */
  --c-primary-dark: #3e94b4;   /* tamsesnė žydra — hover, akcentai ant šviesaus fono */
  --c-primary-deep: #2a7590;   /* dar tamsesnė — tekstinės nuorodos, kontrastas */
  --c-dark: #414142;           /* pagrindinis teksto tonas (brand) */
  --c-navy: #1f2d36;           /* tamsus fonas hero/footer sekcijoms */
  --c-navy-2: #16222a;         /* tamsesnis footer apatinei juostai */
  --c-body: #4a4a4c;           /* ilgo teksto spalva */
  --c-muted: #6b6c70;          /* antraeilis tekstas (kontrastas 5,2:1 – atitinka WCAG AA) */
  --c-primary-darker: #246a83; /* baltam tekstui ant mygtukų ir nuorodų hover – 6,1:1 */
  --c-bg: #ffffff;
  --c-bg-alt: #f7fafd;         /* brand šviesus fonas */
  --c-border: #e7ecee;         /* dekoratyvūs kortelių rėmeliai */
  --c-border-strong: #848f96;  /* formos laukelių kraštinė – 3,3:1, atitinka WCAG 1.4.11 */
  --c-success: #2e9e5b;
  --c-warning: #e8a33d;

  /* Vienas bendras hero perėjimas visiems puslapiams – kad apšvietimas
     visur būtų vienodas, o skirtųsi tik pati foninė nuotrauka. */
  --hero-overlay: linear-gradient(100deg,
      rgba(18, 30, 38, 0.94) 10%,
      rgba(19, 33, 42, 0.88) 30%,
      rgba(20, 38, 48, 0.66) 48%,
      rgba(24, 52, 66, 0.44) 66%,
      rgba(35, 95, 120, 0.28) 84%,
      rgba(42, 117, 144, 0.22) 100%);

  /* Šriftai (Inter — kaip esamoje svetainėje) */
  --font-main: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Dydžiai */
  --fs-h1: clamp(1.9rem, 4vw, 2.9rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.1rem);
  --fs-h3: 1.2rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Tarpai */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-section: clamp(3rem, 7vw, 5.5rem);

  /* Kita */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(31, 45, 54, 0.08);
  --shadow-lg: 0 14px 40px rgba(31, 45, 54, 0.14);
  --container: 1200px;
  --header-h: 76px;

  /* Bendras „pirmo ekrano“ juostos aukštis – jį naudoja ir hero, ir titulinio panelės,
     kad abu blokai reaguotų į tą patį dydį. Matuojame pagal ekrano AUKŠTĮ, nes abu
     blokai yra virš lankstymo linijos: žemame ekrane jie turi susitraukti, o ne
     suvalgyti visą regimą plotą. */
  --band-h: min(58vh, 520px);

}
/* svh nešokinėja, kai telefone slepiasi naršyklės adreso juosta. Senesnėms
   naršyklėms lieka vh reikšmės aukščiau. */
@supports (height: 1svh) {
  :root { --band-h: min(58svh, 520px); }
}
/* Mobiliajame aukštis fiksuotas: kai kurios naršyklės (Brave su slepiama
   įrankių juosta) svh vis tiek perskaičiuoja skrolinant, ir cover fonas
   „pritraukiamas" iš naujo – hero nuotrauka vizualiai išsipučia. */
@media (max-width: 768px) {
  :root { --band-h: 400px; }
}

/* ---------- 2. RESET / BAZĖ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-deep); text-decoration: none; }
a:hover { color: var(--c-primary-darker); }
/* Pabraukiame tik tekste įterptas nuorodas – mygtukai, kortelės ir skirtukai
   patys yra <a>, jiems pabraukimas netinka. */
p a:hover,
.prose a:hover,
.checklist a:hover,
.faq details > div a:hover,
.info-table a:hover,
.specs a:hover,
.breadcrumbs a:hover,
.footer-main a:hover,
.footer-bottom a:hover { text-decoration: underline; }
/* Mygtukai kartais stovi pastraipoje – jiems pabraukimo vis tiek nereikia */
.btn:hover { text-decoration: none; }

/* Klaviatūros fokusas. Ant šviesaus fono – tamsi žydra (5,2:1), ant tamsaus –
   šviesi prekės ženklo žydra (6,6:1). Naršyklės numatytasis rėmelis ant
   tamsių sekcijų beveik nesimato, todėl nurodome patys. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--c-primary-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
.section--dark a:focus-visible,
.site-footer a:focus-visible { outline-color: var(--c-primary); }
/* Hero ir CTA juostoje fonas kintantis (nuotrauka, gradientas iki #2a7590) –
   žydras žiedas ten nubyra iki 2,4:1, todėl imame baltą (min. 5,2:1). */
.hero a:focus-visible,
.cta-band a:focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { color: var(--c-dark); line-height: 1.25; margin: 0 0 var(--sp-2); font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-2); }
ul { padding-left: 1.2rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 1.5rem); }

/* ---------- 3. MYGTUKAI ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-primary-deep); color: #fff; }
.btn--primary:hover { background: var(--c-primary-darker); color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary-deep); border-color: var(--c-primary-dark); }
.btn--outline:hover { background: var(--c-primary-deep); color: #fff; }
.btn--light { background: #fff; color: var(--c-navy); }
.btn--light:hover { background: var(--c-bg-alt); color: var(--c-navy); }
/* Kontūrinis mygtukas ant tamsaus fono – anksčiau tai buvo daroma inline
   stiliais kiekviename puslapyje; klasė reikalinga perkeliant į WordPress. */
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--c-navy); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- 4. ANTRAŠTĖ (header) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); min-height: var(--header-h);
}
.logo img { height: 34px; width: auto; }
.main-nav > ul {
  display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; align-items: center;
}
.main-nav a {
  display: block; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--c-dark); font-weight: 500; font-size: 0.95rem;
}
.main-nav a:hover, .main-nav li.is-active > a { color: var(--c-primary-deep); background: var(--c-bg-alt); }

/* Išskleidžiami submeniu */
.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; margin-left: 0.4rem;
  border: solid var(--c-muted); border-width: 0 2px 2px 0; padding: 2.5px;
  transform: rotate(45deg) translateY(-2px);
}
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 0.5rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a { padding: 0.55rem 0.9rem; font-size: 0.92rem; }
.header-call { font-size: 0.95rem; }

/* Mobilus meniu mygtukas */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--c-dark);
  margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}

/* ---------- 5a. TITULINIO PANELĖS (4 paslaugų sekcijos) ---------- */
/* Aukštis čia funkcinis, ne dekoratyvinis: tai flex eilė, kurioje panelė užvedus
   išsiplečia, o turinys prilipdytas prie apačios ir apkarpomas. Todėl height, ne
   min-height. Reikšmė ta pati kaip hero – žr. --band-h. */
/* Aukštis čia funkcinis, ne dekoratyvinis: tai flex eilė, kurioje panelė užvedus
   išsiplečia, o turinys prilipdytas prie apačios ir apkarpomas. Todėl height, ne
   min-height. Reikšmė ta pati kaip hero – žr. --band-h. */
.hero-panels {
  position: relative; display: flex; gap: 6px; background: #fff;
  height: var(--band-h); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-panels .panel {
  position: relative; flex: 1; display: flex; align-items: flex-end; overflow: hidden;
  background-size: cover; background-position: center;
  transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-panels .panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 34, 42, 0.25) 25%, rgba(22, 34, 42, 0.88));
  transition: background 0.3s;
}
.hero-panels .panel:hover, .hero-panels .panel:focus-visible { flex: 2.3; }
.panel-content { position: relative; padding: 1.6rem; color: #fff; width: 100%; }
.panel-content .panel-title { display: block; color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 700; margin: 0 0 0.35rem; line-height: 1.25; }
.panel-content p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(6px); transition: opacity 0.3s 0.1s, transform 0.3s 0.1s, max-height 0.35s; }
.panel-content .panel-cta { display: block; font-weight: 600; font-size: 0.9rem; color: var(--c-primary); opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.3s 0.15s, max-height 0.35s 0.05s; }
.hero-panels .panel:hover p, .hero-panels .panel:focus-visible p { opacity: 1; transform: none; max-height: 5em; margin: 0 0 0.6rem; }
.hero-panels .panel:hover .panel-cta, .hero-panels .panel:focus-visible .panel-cta { opacity: 1; max-height: 2em; }
.panel-badge {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1;
  background: var(--c-primary-deep); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 999px; letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .hero-panels { flex-direction: column; height: auto; gap: 5px; }
  .hero-panels .panel { min-height: 128px; flex: none; }
  .panel-content { padding: 1.1rem 1.2rem; }
  .panel-content p { opacity: 1; transform: none; max-height: none; margin: 0 0 0.5rem; }
  .panel-content .panel-cta { opacity: 1; max-height: none; }
}

/* ---------- 5b. KOMPAKTIŠKA INFO KORTELĖJE ---------- */
.unit-badge {
  display: inline-block; vertical-align: middle; margin-left: 0.4rem;
  background: var(--c-primary-deep); border: 1px solid var(--c-primary-deep); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.1rem 0.55rem; border-radius: 999px;
}
.card-more { margin: 0; }
.card-more summary { cursor: pointer; font-weight: 600; font-size: 0.88rem; color: var(--c-primary-deep); list-style: none; }
.card-more summary::-webkit-details-marker { display: none; }
.card-more summary::after { content: " ▾"; font-size: 0.75rem; }
.card-more[open] summary::after { content: " ▴"; }
.specs { list-style: none; padding: 0.5rem 0 0; margin: 0; display: grid; gap: 0.35rem; font-size: 0.85rem; }
.specs li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--c-border); padding-bottom: 0.35rem; }
.specs li:last-child { border-bottom: 0; }
.specs li span { color: var(--c-muted); }
.specs li b { text-align: right; color: var(--c-dark); font-weight: 600; }
/* „netaikoma“ ir pan. – ne kaina, todėl neakcentuojama */
.specs li b.na { color: var(--c-muted); font-weight: 400; }
/* Ilgoms aprašomosioms reikšmėms: etiketė viršuje, reikšmė po ja kairėje.
   Kitaip ilga reikšmė laužoma į kelias dešinėn lygiuotas eilutes ir atrodo dantyta. */
.specs li.full { display: block; }
.specs li.full b { display: block; text-align: left; margin-top: 2px; }
/* Bendrų nuomos sąlygų kortelė po transporto sąrašu: sąlygos vienoje vietoje,
   kad kortelėse liktų tik konkrečios mašinos nuomos kainos. */
.rent-terms {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-4); box-shadow: var(--shadow);
}
.rent-terms h2 {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-primary-deep); margin: 0 0 var(--sp-2);
}
/* Pildoma stulpeliais (ne eilutėmis), kad susijusios sąlygos eitų viena po kitos:
   kairėje – rida ir garantijos, dešinėje – priedai. Skaičiuojama 4 eilutėms (8 punktai). */
.rent-terms ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; gap: 0;
}
/* Vertikali linija per vidurį atskiria stulpelius */
.rent-terms li:nth-child(-n+4) { padding-right: 2rem; }
.rent-terms li:nth-child(n+5) { padding-left: 2rem; border-left: 1px solid var(--c-border); }
.rent-terms li:nth-child(4n) { border-bottom: 0; }
/* Variantas trumpesniam sąrašui (5–6 punktai): 3 eilutės vietoj 4 */
.rent-terms--rows3 ul { grid-template-rows: repeat(3, auto); }
.rent-terms--rows3 li:nth-child(-n+3) { padding-right: 2rem; padding-left: 0; border-left: 0; }
.rent-terms--rows3 li:nth-child(n+4) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--c-border); }
.rent-terms--rows3 li:nth-child(4n) { border-bottom: 1px solid var(--c-bg-alt); }
.rent-terms--rows3 li:nth-child(3n),
.rent-terms--rows3 li:last-child { border-bottom: 0; }
/* Siaurame lange – vienas stulpelis, kad eilutės nelūžinėtų */
@media (max-width: 700px) {
  .rent-terms ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .rent-terms li:nth-child(-n+4), .rent-terms--rows3 li:nth-child(-n+3) { padding-right: 0; }
  .rent-terms li:nth-child(n+5), .rent-terms--rows3 li:nth-child(n+4) { padding-left: 0; border-left: 0; }
  .rent-terms li:nth-child(4n), .rent-terms--rows3 li:nth-child(3n) { border-bottom: 1px solid var(--c-bg-alt); }
  .rent-terms li:last-child, .rent-terms--rows3 li:last-child { border-bottom: 0; }
}
.rent-terms li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: 0.92rem; border-bottom: 1px solid var(--c-bg-alt); padding: 0.55rem 0;
}
.rent-terms li span { color: var(--c-muted); }
.rent-terms li b { color: var(--c-dark); font-weight: 600; text-align: right; white-space: nowrap; }
.rent-terms .note {
  margin: var(--sp-2) 0 0; padding-top: var(--sp-2); border-top: 1px solid var(--c-bg-alt);
  font-size: 0.85rem; color: var(--c-muted);
}

/* ---------- 5. HERO ---------- */
/* Bendras visiems hero: vienodas aukštis ir vertikaliai centruotas turinys.
   Be min-height juostos aukštis šokinėtų nuo h1 ir įžangos ilgio (nuo ~330 px
   trumpuose iki ~495 px ilguose puslapiuose) ir naršant tarp jų vaizdas kiltų.
   Naudojama min-height, o ne height – ilgesnis tekstas juostą praplečia, o ne nusikerta. */
.hero {
  position: relative; color: #fff;
  display: flex; align-items: center;
  min-height: var(--band-h);
  background: var(--hero-overlay),
    url("../img/hero-nuoma.webp") center 50% / cover no-repeat;
  padding: calc(var(--sp-section) * 0.55) 0;
}
.hero > .container { width: 100%; }
/* Titulinis, „Apie mus“ ir „Kontaktai“ naudoja tą pačią kiemo nuotrauką kaip ir
   numatytasis hero, todėl atskirų taisyklių nebereikia – jie paveldi .hero.
   Klasės .hero--home ir .hero--vieta HTML'e paliktos kaip žymos ateičiai. */
/* Tralas / pervežimas – tas pats kiemas, todėl derės su likusiais hero. */
.hero--tralas {
  background: var(--hero-overlay),
    url("../img/hero-tralas.webp") center 55% / cover no-repeat;
}
/* Ratų montavimas – serviso boksas. Fokusas žemiau, kad tilptų ratas pirmame plane. */
.hero--servisas {
  background: var(--hero-overlay),
    url("../img/hero-servisas.webp") center 55% / cover no-repeat;
}
/* Padangų parduotuvė – salono vidus. Fokusas ties prekystaliu, kad jis nenusikirstų. */
.hero--parduotuve {
  background: var(--hero-overlay),
    url("../img/hero-parduotuve.webp") center 52% / cover no-repeat;
}
/* Žemės darbai – visa nuomojama technika viename kadre (ekskavatorius, krautuvas,
   vibroplokštė, nivelyras). Fokusas žemiau, kad vibroplokštė neliktų už kadro. */
.hero--technika {
  background: var(--hero-overlay),
    url("../img/hero-technika.webp") center 62% / cover no-repeat;
}
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: rgba(255, 255, 255, 0.88); }
/* Nuoroda hero tekste: žydra ant tamsios nuotraukos nesimatytų, todėl balta + pabraukimas */
.hero p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--sp-3); padding: 0; list-style: none; }
.hero-badges li {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.9rem; border-radius: 999px; font-size: var(--fs-small); font-weight: 500;
}
/* .hero--inner nebeturi savo aukščio – jį nustato bendras .hero, kad visi puslapiai sutaptų. */

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-small); margin-bottom: var(--sp-2); color: rgba(255,255,255,0.75); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; }

/* ---------- 6. SEKCIJOS ---------- */
.section { padding: var(--sp-section) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-navy); color: rgba(255, 255, 255, 0.85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: var(--sp-4); }
.section-head .kicker {
  display: inline-block; color: var(--c-primary-deep); font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.6rem;
}
.section--dark .kicker { color: var(--c-primary); }
.section-head p { color: var(--c-muted); }
.section--dark .section-head p { color: rgba(255,255,255,0.75); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 7. KORTELIŲ TINKLELIAI ---------- */
.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Paslaugos kortelė */
.service-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--c-primary); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-bg-alt); color: var(--c-primary-deep); flex-shrink: 0;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 a { color: var(--c-dark); }
.service-card h3 a:hover { color: var(--c-primary-deep); }
.service-card p { color: var(--c-muted); font-size: 0.95rem; flex-grow: 1; margin: 0; }
.service-card .more { font-weight: 600; font-size: 0.92rem; }
.service-card .more::after { content: " →"; }

/* Transporto kortelė */
.vehicle-card {
  position: relative;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.vehicle-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
/* Proporcija dedama ant pačios nuotraukos, ne ant konteinerio: grid +
   procentiniai aukščiai iOS Safari/WebKit skaičiuojami cikliškai ir klaidingai
   (nuotraukos išlįsdavo iš kortelių). aspect-ratio ant <img> su width:100% ir
   height:auto veikia visur vienodai; object-fit sucentruoja vaizdą viduje. */
.vehicle-card .photo { display: block; background: var(--c-bg-alt); padding: var(--sp-2); }
/* Langelis kvadratinis kaip pačios nuotraukos – vaizdas užima visą kortelės
   plotį be tuščių šonų (4:3 langelyje kvadratinė nuotrauka likdavo per smulki). */
.vehicle-card .photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.vehicle-card .body { padding: var(--sp-2) var(--sp-3) var(--sp-3); display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.vehicle-card h3 { margin: 0; font-size: 1.05rem; }
.vehicle-card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.vehicle-card .tags li {
  font-size: 0.75rem; font-weight: 600; color: var(--c-primary-deep);
  background: var(--c-bg-alt); border: 1px solid var(--c-border);
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
/* Išskirtinė žyma – priemonė ne tik nuomojama, bet ir parduodama.
   Šilta gintarinė spalva tyčia iš kitos paletės pusės nei žalsvi mygtukai,
   kad žyma nesusilietų su likusiu puslapiu. Baltas tekstas ant #b45309 – 5,9:1. */
.vehicle-card .tags li.sale {
  background: #b45309; border-color: #b45309; color: #fff;
}
/* KASKO ženkliukas kortelės viršuje dešinėje (virš nuotraukos) – smaragdinė:
   šalta šeima dera prie paletės žydros, bet atspalvis pakankamai žalias, kad
   nesusilietų su mėlynais elementais; baltam tekstui ant #047857 – ~5:1. */
.vehicle-card .kasko-badge {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 1;
  background: #047857; color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow);
}
.vehicle-card .price { font-weight: 700; color: var(--c-dark); margin-top: auto; }
.vehicle-card .price small { color: var(--c-muted); font-weight: 500; }
.vehicle-card .btn { align-self: flex-start; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
/* Visada matoma įrangos eilutė kortelėje (priekabos) */
.vehicle-card .card-equip { font-size: 0.85rem; color: var(--c-muted); margin: 0; }
/* Išskleidžiami matmenys kortelėje (mikroautobusai, priekabos): suskleista eilutė virš mygtuko */
.vehicle-card details.card-dims { border-top: 1px solid var(--c-bg-alt); padding-top: 0.45rem; }
.vehicle-card details.card-dims summary {
  cursor: pointer; list-style: none; font-size: 0.85rem; font-weight: 600;
  color: var(--c-primary-deep); position: relative; padding-right: 1.4rem;
}
.vehicle-card details.card-dims summary::-webkit-details-marker { display: none; }
.vehicle-card details.card-dims summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  color: var(--c-primary-dark); font-size: 1.1rem; font-weight: 400;
}
.vehicle-card details.card-dims[open] summary::after { content: "–"; }
.vehicle-card details.card-dims .specs { margin-top: 0.4rem; }
/* BE kategorijos ženkliukas kortelės kampe (automobilvežis) – gintarinis
   įspėjimas, kad reikia aukštesnės nei B kategorijos; baltas ant #b45309 – 5,9:1. */
.vehicle-card .be-badge {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 1;
  background: #b45309; color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 999px; box-shadow: var(--shadow);
}

/* Dar neįsigyta priemonė – paklausos rinkimo kortelė */
.vehicle-card--planned {
  background: var(--c-bg-alt); border-style: dashed; border-color: var(--c-primary-dark);
  justify-content: center;
}
.vehicle-card--planned:hover { box-shadow: none; transform: none; }
.vehicle-card--planned .body { padding: var(--sp-3); gap: 0.7rem; justify-content: center; }
.vehicle-card--planned p { font-size: 0.9rem; color: var(--c-muted); margin: 0; }
.vehicle-card--planned .btn { margin-top: 0.3rem; }
.plan-badge {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-primary-deep);
  background: #fff; border: 1px solid var(--c-primary-dark);
  padding: 0.2rem 0.6rem; border-radius: 999px;
}

/* Kategorijos kortelė (nuomos apžvalgai) */
.category-card { text-align: center; }
.category-card .photo img { aspect-ratio: 1 / 1; }
.category-card .count { color: var(--c-muted); font-size: var(--fs-small); }

/* ---------- 8. „PAGAL POREIKĮ" JUOSTA ---------- */
.need-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.need-strip a {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3); color: var(--c-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.need-strip a:hover { border-color: var(--c-primary); box-shadow: var(--shadow); }
.need-strip .q { font-weight: 700; font-size: 0.95rem; }
.need-strip .a { color: var(--c-primary-deep); font-size: var(--fs-small); font-weight: 600; }

/* ---------- 9. TURINIO BLOKAI ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-4); align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
/* Puslapio apačioje esantis aprašomasis tekstas. Išdėstymas toks pat kaip pagrindinio
   turinio bloko, bet antraštė smulkesnė – šis blokas yra antraeilis ir neturi rėkti
   garsiau už kategorijas ar paslaugų sąrašą puslapio viršuje (plg. buvusį .prose h2). */
.split--seo h2 { font-size: 1.35rem; margin-top: 0; }
/* Sąrašas „terminas + paaiškinimas“: pavadinimas atskiroje eilutėje, po juo –
   smulkesnis paaiškinimas. Punktai be <span> (vientisas sakinys) lieka viena eilute. */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-3); display: grid; gap: 0.75rem; }
.checklist li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.95rem; line-height: 1.45;
}
.checklist li > strong:first-child {
  display: block; color: var(--c-dark); font-weight: 700;
  font-size: 0.95rem; line-height: 1.35;
}
.checklist li span {
  display: block; color: var(--c-muted);
  font-size: 0.875rem; line-height: 1.4; margin-top: 0.1rem;
}
/* Paryškinti žodžiai pačiame paaiškinime lieka eilutėje */
.checklist li span strong { display: inline; color: var(--c-dark); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.24em; width: 1.05em; height: 1.05em;
  border-radius: 50%; background: var(--c-primary-dark);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/70% no-repeat, linear-gradient(#000 0 0);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/70% no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: destination-out;
  background: var(--c-primary-dark);
}
.section--dark .checklist li::before { background: var(--c-primary); }
.section--dark .checklist li > strong:first-child { color: #fff; }
.section--dark .checklist li span { color: rgba(255, 255, 255, 0.72); }
.section--dark .checklist li span strong { color: #fff; }

/* Statistika */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); text-align: center; }
.stats .num { font-size: 2.2rem; font-weight: 800; color: var(--c-primary); display: block; line-height: 1.1; }
.stats .label { font-size: var(--fs-small); }

/* Proceso žingsniai */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--c-primary-deep); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 1.05rem;
}
.steps h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--c-muted); font-size: 0.95rem; }

/* Atsiliepimai */
.testimonial {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--sp-3); display: flex; flex-direction: column; gap: 0.7rem;
}
.testimonial .starruka { color: var(--c-warning); letter-spacing: 0.15em; font-size: 1rem; }
.testimonial blockquote { margin: 0; font-style: italic; color: var(--c-body); flex-grow: 1; }
.testimonial cite { font-style: normal; font-size: var(--fs-small); color: var(--c-muted); }
.rating-summary { display: flex; align-items: center; gap: 0.8rem; margin-bottom: var(--sp-3); }
.rating-summary .score { font-size: 2.4rem; font-weight: 800; color: var(--c-dark); }

/* DUK (akordeonas be JS) */
.faq { display: grid; gap: var(--sp-2); }
.faq details {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--c-dark);
  padding: 1rem 3rem 1rem 1.25rem; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--c-primary-dark); font-weight: 400; transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--c-body); }
.faq details[open] summary { border-bottom: 1px dashed var(--c-border); margin-bottom: 0.6rem; }

/* Sutarčių dokumentų blokas (nuomos sąlygų puslapis): atskirta sekcija su PDF sąrašu,
   kad dokumentai nesimaišytų su DUK klausimais. */
.docs-box {
  max-width: 780px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); box-shadow: var(--shadow);
}
.docs-box ul { list-style: none; margin: 0 0 var(--sp-2); padding: 0; }
.docs-box li { border-bottom: 1px solid var(--c-bg-alt); }
.docs-box li:last-child { border-bottom: 0; }
.docs-box li a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0;
  font-weight: 600; color: var(--c-primary-deep);
}
.docs-box li a::before { content: "📄"; font-size: 1.05rem; }
.docs-box > p { font-size: 0.9rem; color: var(--c-muted); margin: 0 0 0.6rem; }
.docs-box > p:last-child { margin-bottom: 0; }

/* Susijusios paslaugos */
.related { border-top: 1px solid var(--c-border); }
.related-links { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.related-links a {
  display: inline-block; background: #fff; border: 1px solid var(--c-border);
  border-radius: 999px; padding: 0.55rem 1.2rem; font-weight: 600; font-size: 0.92rem;
  color: var(--c-dark); transition: border-color 0.2s, color 0.2s;
}
.related-links a:hover { border-color: var(--c-primary); color: var(--c-primary-deep); }

/* CTA juosta */
.cta-band {
  background: linear-gradient(115deg, var(--c-navy), var(--c-primary-deep));
  color: #fff; border-radius: var(--radius); padding: var(--sp-4);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.cta-band h2 { color: #fff; margin: 0 0 0.4rem; }
/* Juostos fonas – gradientas iki #2a7590, todėl šviesiajame gale 85 % baltumo
   nubyra iki 4,24:1. 92 % duoda 4,67:1 ir atitinka reikalavimą visame plote. */
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
/* Šviesus juostos variantas – planiniams darbams (skirtingai nuo skubios tralo pagalbos) */
.cta-band--light {
  background: linear-gradient(115deg, #e8f3f8, #d4e9f2);
  color: var(--c-dark);
  border: 1px solid rgba(104, 189, 216, 0.5);
}
.cta-band--light h2 { color: var(--c-navy); }
/* Ne --c-muted: ant žydro gradiento tamsiojo galo jis duoda tik 4,18:1.
   --c-body duoda 7,05:1 ir kvietimui veikti tinka labiau nei blankus tonas. */
.cta-band--light p { color: var(--c-body); }
/* Dvi CTA kortelės greta: tralas ir žemės darbai vienoje eilėje, kad abi
   paslaugos matytųsi iš karto, o puslapis nebūtų dviejų juostų ilgio.
   Kortelėje turinys dėliojamas stulpeliu, mygtukai prilimpa prie apačios. */
.cta-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); align-items: stretch; }
.cta-duo .cta-band { flex-direction: column; align-items: flex-start; justify-content: space-between; }
.cta-band .band-link {
  color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.cta-band .band-link:hover { color: var(--c-primary); }
.cta-band--light .band-link { color: var(--c-primary-deep); }
.cta-band--light .band-link:hover { color: var(--c-navy); }
@media (max-width: 900px) { .cta-duo { grid-template-columns: 1fr; } }

/* Technikos nuotrauka su paaiškinimu (žemės darbų puslapis) */
.tech-figure {
  margin: 0; background: var(--c-bg-alt);
  border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden;
}
.tech-figure img { width: 100%; height: auto; display: block; }
.tech-unit h3 { margin: var(--sp-3) 0 0.7rem; font-size: 1.05rem; }
.tech-unit .info-table th { width: 42%; }

/* Kainų / info lentelė */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 0.95rem; }
.info-table th { background: var(--c-bg-alt); color: var(--c-dark); font-weight: 700; }
.info-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Ilgo teksto puslapiai (privatumo politika, sąlygos) */
.prose { max-width: 780px; }
.prose h2 { margin-top: var(--sp-4); font-size: 1.35rem; }
.prose h3 { margin-top: var(--sp-3); }

/* Kontaktų kortelės */
.contact-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: var(--sp-3);
}
.contact-card h3 { display: flex; align-items: center; gap: 0.6rem; }
/* Ta pati plytelė kaip .service-card .icon, tik mažesnė – antraštės masteliui */
.contact-card h3 .icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--c-bg-alt); color: var(--c-primary-deep); flex-shrink: 0;
}
.contact-card h3 .icon svg { width: 20px; height: 20px; }
.contact-card a.big { font-size: 1.25rem; font-weight: 700; color: var(--c-dark); }
.contact-card a.big:hover { color: var(--c-primary-deep); }
.contact-card .hours-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.contact-card .hours-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-bottom: 1px dashed var(--c-border); padding-bottom: 0.45rem; font-size: 0.95rem;
}
.contact-card .hours-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card .hours-list li > span:first-child { color: var(--c-muted); }
.contact-card .hours-list strong { font-variant-numeric: tabular-nums; }
.contact-card .hours-list .badge-247 {
  background: var(--c-primary-deep); color: #fff !important; font-size: 0.8rem;
  padding: 0.15rem 0.7rem; border-radius: 999px;
}
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Forma */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: var(--fs-small); color: var(--c-dark); display: block; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-sm); font: inherit; color: var(--c-dark); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--c-primary-deep); outline-offset: 1px; border-color: var(--c-primary-deep); }
.form-note { font-size: 0.8rem; color: var(--c-muted); }

/* Rezervacijos užklausos modalas (atidaro main.js iš „Teirautis“ mygtukų) */
.res-dialog {
  border: 0; border-radius: var(--radius); padding: 0;
  width: min(92vw, 520px); box-shadow: var(--shadow-lg);
}
.res-dialog::backdrop { background: rgba(22, 34, 42, 0.55); }
.res-head {
  position: relative; padding: var(--sp-3) var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--c-border);
}
.res-head h3 { margin: 0 2.4rem 0.1rem 0; }
.res-vehicle { margin: 0; color: var(--c-primary-deep); font-weight: 600; }
.res-close {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-dark);
  font-size: 0.95rem; line-height: 1; cursor: pointer;
}
.res-close:hover { background: var(--c-border); }
.res-dialog .form-grid { padding: var(--sp-2) var(--sp-3) var(--sp-3); }

/* ---------- 10. PORAŠTĖ (footer) ---------- */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-2) var(--sp-4); padding-top: var(--sp-4); padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .footer-logo img { height: 34px; margin-bottom: 0; }
.footer-top .fc {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem var(--sp-4);
}
.footer-top .fc a, .footer-top .fc > span { color: rgba(255, 255, 255, 0.85); }
.footer-top .fc .big { font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-top .fc .big:hover { color: var(--c-primary); }
.footer-main {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4); padding-top: var(--sp-4); padding-bottom: var(--sp-4);
}
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--c-primary); }
.footer-logo img { height: 32px; width: auto; margin-bottom: var(--sp-2); filter: brightness(0) invert(1); }
.footer-bottom {
  background: var(--c-navy-2); padding: var(--sp-2) 0; font-size: 0.82rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); }
.hours-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); }
.site-footer .hours-list li {
  max-width: 240px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
  padding-bottom: 0.4rem;
}
.site-footer .hours-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.site-footer .hours-list li > span:first-child { color: rgba(255, 255, 255, 0.55); }
.site-footer .hours-list li > span:last-child { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.92); }
.hours-list .badge-247 { color: var(--c-primary); font-weight: 700; }
.site-footer .hours-list .badge-247 {
  background: var(--c-primary-deep); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.12rem 0.6rem; border-radius: 999px;
}

/* ---------- 11. LIPNI MOBILI SKAMBUČIO JUOSTA ---------- */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-border);
  box-shadow: 0 -4px 20px rgba(31, 45, 54, 0.15);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem; font-weight: 700; font-size: 0.95rem; background: #fff; color: var(--c-dark);
}
.mobile-cta a.call { background: var(--c-primary-deep); color: #fff; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .need-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .header-call { display: none; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 56px; } /* vieta lipniai juostai */
}
@media (max-width: 768px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }

  /* Mobilus meniu */
  /* backdrop-filter antraštėje sukuria „containing block“ – fiksuotas meniu
     skydelis prisirištų prie antraštės, o ne prie lango, todėl mobiliajame jį išjungiam */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    padding: var(--sp-2) var(--sp-3) var(--sp-5); overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease; z-index: 99;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 0.9rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 1rem; display: none;
  }
  .has-sub.is-open > .sub-menu { display: block; }
  .sub-menu a { font-size: 0.95rem; color: var(--c-muted); }
  .has-sub > a::after { float: right; margin-top: 0.5rem; }
}
@media (max-width: 768px) {
  .footer-top { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
  .footer-top .footer-logo { display: none; } /* logotipas jau matomas header'yje */
  .footer-top .fc { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .need-strip { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ---------- 13. PAGALBINĖS ---------- */
.text-center { text-align: center; }
/* Keli mygtukai eilėje – siaurame ekrane susilanksto su tarpais, ne vienas ant kito */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.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;
}
