/* =====================================================================
   SAULIVA — base.css
   Struktūra, išdėstymas, komponentai ir animacijos.
   Spalvas tiekia atskiri temų failai (theme-light/mid/dark.css)
   per CSS kintamuosius. Šis failas spalvų NEnustato.
   ===================================================================== */

/* ---------- Reset / pagrindai ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  color: var(--heading);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografika / pagalbinės ---------- */
.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
h1 { font-size: clamp(2.2rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-grad {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--accent-grad); color: var(--text-on-accent);
  box-shadow: 0 10px 26px -10px var(--accent-shadow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px var(--accent-shadow); }
.btn--ghost { background: var(--btn-ghost-bg); color: var(--heading); border: 1.5px solid var(--border-strong); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* =====================================================================
   ANTRAŠTĖ / NAVIGACIJA
   ===================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Foną ir blur dedame į pseudoelementą, kad .header NEtaptų containing block
   position:fixed vaikams (mobiliam .nav skydeliui). */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color .3s ease;
}
.header.is-scrolled {
  padding: 10px 0;
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,.5);
}
.header.is-scrolled::before { background: var(--header-bg-scrolled); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 42px; height: 42px; transition: width .3s ease, height .3s ease; }
.header.is-scrolled .logo img { width: 36px; height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.4rem;
  letter-spacing: .04em; color: var(--heading);
}
.logo__tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-weight: 500; font-size: .96rem; color: var(--text); position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent-grad); border-radius: 2px; transition: width .28s ease;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--heading);
}
.header__phone svg { width: 18px; height: 18px; color: var(--accent); }

/* Temos perjungiklis */
.theme-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--switch-track); border: 1px solid var(--border); }
.theme-switch button {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-muted); transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.theme-switch button svg { width: 16px; height: 16px; }
.theme-switch button:hover { color: var(--heading); transform: translateY(-1px); }
.theme-switch button.is-active { background: var(--accent-grad); color: var(--text-on-accent); }

/* Mobilus meniu mygtukas */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--switch-track); }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--heading); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO — „kietas“ animuotas efektas
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  transform: scale(1.12); will-change: transform;
}
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: var(--hero-overlay); }
.hero__canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* Besisukantis saulės švytėjimas už antraštės */
.hero__sun {
  position: absolute; z-index: 2; top: -10%; right: -8%;
  width: min(60vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: var(--hero-sun); filter: blur(8px); opacity: .9;
  animation: sun-rotate 36s linear infinite; pointer-events: none;
}
@keyframes sun-rotate { to { transform: rotate(360deg); } }
.hero__inner { position: relative; z-index: 5; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--hero-badge-bg); border: 1px solid var(--hero-badge-border);
  color: var(--hero-text); font-size: .85rem; font-weight: 600; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 var(--accent-2); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 70%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { color: var(--hero-text); margin-bottom: 22px; text-wrap: balance; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(26px); animation: word-up .8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes word-up { to { opacity: 1; transform: none; } }
.hero__lead { color: var(--hero-text-muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 580px; margin-bottom: 34px; opacity: 0; animation: word-up .9s .5s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0; animation: word-up .9s .7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); margin-top: 54px; opacity: 0; animation: word-up .9s .9s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__stat .num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--hero-text); line-height: 1; }
.hero__stat .num .plus { color: var(--accent); }
.hero__stat .label { font-size: .9rem; color: var(--hero-text-muted); margin-top: 6px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5;
  display: grid; place-items: center; gap: 8px; color: var(--hero-text-muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; position: relative; opacity: .7; }
.hero__scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; border-radius: 4px; background: currentColor; transform: translateX(-50%); animation: scroll-dot 1.6s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* =====================================================================
   PASLAUGOS
   ===================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--accent-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -28px var(--shadow); border-color: var(--border-strong); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--icon-bg); color: var(--accent); margin-bottom: 20px; }
.svc-card__icon svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--text-muted); font-size: .98rem; }

/* =====================================================================
   SPRENDIMAI
   ===================================================================== */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end; isolation: isolate;
  box-shadow: 0 24px 50px -30px var(--shadow);
}
.sol-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.sol-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(8,12,20,.55) 60%, rgba(8,12,20,.92) 100%); }
.sol-card:hover img { transform: scale(1.07); }
.sol-card__body { padding: 28px; color: #fff; }
.sol-card__body h3 { color: #fff; margin-bottom: 8px; }
.sol-card__body p { color: rgba(255,255,255,.85); font-size: .96rem; }
.sol-card__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(0,0,0,.35); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; backdrop-filter: blur(4px); }

/* Patikima įranga (brands juosta) */
.brands { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.brands__label { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 52px); }
.brands__list li {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--heading); opacity: .45; transition: opacity .25s ease, color .25s ease; cursor: default;
}
.brands__list li:hover { opacity: 1; color: var(--accent); }

/* =====================================================================
   DARBŲ PROCESAS (laiko juosta)
   ===================================================================== */
.process { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.process__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px var(--shadow); }
.process__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.process__media .badge {
  position: absolute; left: 20px; bottom: 20px; background: var(--bg-elev); color: var(--heading);
  padding: 16px 20px; border-radius: 16px; box-shadow: 0 16px 30px -16px var(--shadow); display: flex; gap: 14px; align-items: center;
}
.process__media .badge svg { width: 34px; height: 34px; color: var(--accent); }
.process__media .badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.05rem; }
.process__media .badge span { font-size: .85rem; color: var(--text-muted); }

.timeline { position: relative; padding-left: 8px; }
.tl-step { position: relative; padding: 0 0 30px 64px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: -6px; width: 2px; background: var(--border-strong); }
.tl-step:last-child::before { display: none; }
.tl-step__num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700;
  color: var(--text-on-accent); background: var(--accent-grad); box-shadow: 0 8px 18px -8px var(--accent-shadow); z-index: 1;
}
.tl-step h3 { margin-bottom: 6px; font-size: 1.18rem; }
.tl-step p { color: var(--text-muted); font-size: .97rem; }

/* =====================================================================
   APVA PARAMA
   ===================================================================== */
.apva {
  position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: var(--apva-bg); border: 1px solid var(--border); padding: clamp(34px, 5vw, 60px);
}
.apva__glow { position: absolute; z-index: -1; top: -40%; right: -10%; width: 520px; aspect-ratio: 1; background: var(--hero-sun); opacity: .35; filter: blur(10px); border-radius: 50%; }
.apva__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.apva h2 { margin: 10px 0 18px; }
.apva p { color: var(--text-muted); margin-bottom: 16px; }
.apva__table { width: 100%; border-collapse: collapse; margin: 22px 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.apva__table thead th {
  background: var(--accent-grad); color: var(--text-on-accent);
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; text-align: left; padding: 12px 16px;
}
.apva__table tbody th, .apva__table tbody td { padding: 13px 16px; border-top: 1px solid var(--border); vertical-align: top; font-size: .95rem; }
.apva__table tbody th { width: 40%; text-align: left; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--heading); }
.apva__table tbody td { color: var(--text); }
.apva__table tbody td strong { color: var(--accent); font-weight: 700; white-space: nowrap; }
.apva__table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--accent) 6%, transparent); }
@media (max-width: 560px) {
  .apva__table thead { display: none; }
  .apva__table tbody tr { display: block; border-top: 1px solid var(--border); }
  .apva__table tbody tr:first-child { border-top: none; }
  .apva__table tbody th, .apva__table tbody td { display: block; width: auto; border-top: none; padding: 10px 16px 0; }
  .apva__table tbody td { padding: 4px 16px 14px; }
  .apva__table tbody td strong { white-space: normal; }
}
.apva__card {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 20px; padding: 30px; text-align: center;
  box-shadow: 0 24px 50px -30px var(--shadow);
}
.apva__big { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--accent); line-height: 1; }
.apva__card .unit { font-size: 1.1rem; color: var(--text-muted); }
.apva__card .desc { margin: 14px 0 22px; color: var(--text-muted); font-size: .95rem; }
.apva__note { font-size: .82rem; color: var(--text-muted); margin-top: 18px; opacity: .85; }

/* =====================================================================
   DARBŲ GALERIJA
   ===================================================================== */
.gallery { columns: 3; column-gap: 16px; }
.gallery__item {
  break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden;
  position: relative; cursor: zoom-in; box-shadow: 0 16px 34px -24px var(--shadow); background: var(--bg-elev);
}
.gallery__item img { width: 100%; transition: transform .5s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,10,18,.7));
  opacity: 0; transition: opacity .3s ease;
}
.gallery__item .cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: .9rem; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after,
.gallery__item:hover .cap { opacity: 1; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,9,15,.92); display: none; align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(4px); }
.lightbox.is-open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background-color .2s ease, transform .2s ease; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav svg, .lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }

/* =====================================================================
   KODĖL MES
   ===================================================================== */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { text-align: center; padding: 30px 22px; border-radius: 18px; background: var(--bg-elev); border: 1px solid var(--border); }
.why-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--icon-bg); color: var(--accent); }
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { font-size: .92rem; color: var(--text-muted); }

/* =====================================================================
   KONTAKTAI / FORMA
   ===================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(34px, 5vw, 64px); }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { color: var(--text-muted); margin-bottom: 30px; }
.contact__items { display: grid; gap: 16px; margin-bottom: 30px; }
.contact__item { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--border); transition: transform .25s ease, border-color .25s ease; }
.contact__item:hover { transform: translateX(4px); border-color: var(--accent); }
.contact__item .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--icon-bg); color: var(--accent); flex: 0 0 auto; }
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item .k { font-size: .8rem; color: var(--text-muted); }
.contact__item .v { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--heading); font-size: 1.05rem; }
.contact__item a.v:hover { color: var(--accent); }

.form { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 24px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 60px -36px var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; background: var(--input-bg);
  border: 1.5px solid var(--border); color: var(--text); font: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.field--error input, .field--error select, .field--error textarea { border-color: #e5484d; }
.field__err { display: none; color: #e5484d; font-size: .8rem; margin-top: 5px; }
.field--error .field__err { display: block; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--text-muted); margin: 4px 0 22px; }
.form__consent input { margin-top: 4px; }
.form__consent.is-invalid { color: #e5484d; }
.form__consent.is-invalid input { outline: 2px solid #e5484d; outline-offset: 2px; border-radius: 3px; }
.form__status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.form__status.is-ok { display: block; background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent); }
.form__status.is-err { display: block; background: rgba(229,72,77,.12); color: #e5484d; border: 1px solid rgba(229,72,77,.4); }

/* =====================================================================
   POĖDĖ (FOOTER)
   ===================================================================== */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .logo__name { color: var(--footer-heading); }
.footer__brand p { color: var(--footer-text); opacity: .8; margin-top: 18px; max-width: 360px; font-size: .95rem; }
.footer h4 { color: var(--footer-heading); font-size: 1.05rem; margin-bottom: 18px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { opacity: .82; transition: opacity .2s ease, color .2s ease; font-size: .95rem; }
.footer__links a:hover { opacity: 1; color: var(--accent); }
.footer__contact { display: grid; gap: 12px; font-size: .95rem; }
.footer__contact a { display: inline-flex; gap: 9px; align-items: center; opacity: .9; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--footer-border); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; opacity: .75; }

/* =====================================================================
   ATSKLEIDIMO ANIMACIJOS (scroll reveal)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* Floating WhatsApp/telefonas mygtukas */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--accent-grad); color: var(--text-on-accent); font-family: "Poppins",sans-serif; font-weight: 600; box-shadow: 0 16px 34px -14px var(--accent-shadow); transition: transform .25s ease; }
.fab svg { width: 20px; height: 20px; }
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab .fab__txt { display: inline; }

/* =====================================================================
   ADAPTYVUMAS
   ===================================================================== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__media { max-width: 520px; margin-inline: auto; }
  .apva__grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links, .header__phone { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  /* Pilno ekrano perdanga, nusileidžianti iš viršaus (vertikaliai → be horizontalaus perpildymo) */
  .nav { position: fixed; inset: 0; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 90px 32px 40px; background: var(--bg-elev); transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: 100; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav.is-open { transform: translateY(0); }
  .nav__links { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; max-width: 320px; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 1.2rem; text-align: center; width: 100%; }
  .nav__links a::after { display: none; }
  .header__actions { display: none; }
  .nav .header__phone { display: inline-flex; margin-top: 24px; font-size: 1.1rem; }
  .nav .theme-switch { display: inline-flex; margin-top: 22px; }
  .nav .nav__cta { margin-top: 22px; }
  .nav-backdrop { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .why { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab .fab__txt { display: none; }
  .fab { padding: 14px; }
  .hero__sun { opacity: .55; }
}

/* Pagarba „reduce motion“ nustatymui */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .word, .hero__lead, .hero__cta, .hero__stats { opacity: 1; animation: none; }
}
