/* ============================================================
   ELEKTROLINKAS — pagrindinis stilius
   ============================================================ */

:root {
  --navy-950: #060c18;
  --navy-900: #0a1425;
  --navy-800: #0f1d36;
  --navy-700: #16294b;
  --ink: #0f1728;
  --text: #33415c;
  --muted: #64748b;
  --amber: #ffb703;
  --amber-strong: #f5a300;
  --amber-soft: #fff4d6;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e4eaf2;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 40, .18);
  --shadow-lg: 0 24px 60px -20px rgba(6, 12, 24, .45);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

.muted { color: var(--muted); font-weight: 400; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--amber); color: var(--navy-950); box-shadow: 0 8px 24px -8px rgba(255, 183, 3, .55); }
.btn-accent:hover { background: var(--amber-strong); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-dark { background: var(--navy-950); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- Antraštė ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 12, 24, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), #ff9500);
  color: var(--navy-950);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(255, 183, 3, .6);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: .04em; color: #fff;
}
.brand-name em { font-style: normal; color: var(--amber); }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-size: 15px; font-weight: 500; transition: color .15s ease;
}
.site-nav a:hover { color: var(--amber); }

.header-cta { flex: none; padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 183, 3, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(22, 84, 173, .25), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 65%, var(--navy-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 500px at 30% 20%, #000 0%, transparent 75%);
  pointer-events: none;
  animation: grid-pan 24s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px; } }

/* --- Grandinės animacija (fonas) --- */
.hero-circuit {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-circuit .cur {
  stroke-dasharray: 80 920;
  stroke-dashoffset: 1000;
  opacity: .95;
  animation: current-flow 5.5s linear infinite;
}
.hero-circuit .cur-2 { animation-duration: 7s; animation-delay: -3.2s; }
.hero-circuit .cur-3 { animation-duration: 6.2s; animation-delay: -1.8s; }
.hero-circuit .cur-4 { animation-duration: 7.6s; animation-delay: -4.6s; }
.hero-circuit .cur-5 { animation-duration: 5s; animation-delay: -1.2s; }
.hero-circuit .cur-6 { animation-duration: 6.8s; animation-delay: -2.4s; }
.hero-circuit .cur-b { stroke-dasharray: 36 964; opacity: .7; }
.hero-circuit .cur-b1 { animation-duration: 5.5s; animation-delay: -2.7s; }
.hero-circuit .cur-b3 { animation-duration: 6.2s; animation-delay: -4.9s; }
.hero-circuit .cur-b5 { animation-duration: 5s; animation-delay: -3.6s; }
.hero-circuit .cur-b6 { animation-duration: 6.8s; animation-delay: -5.8s; }
@keyframes current-flow { to { stroke-dashoffset: -1000; } }

.circuit-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-blink 2.8s ease-in-out infinite;
}
.circuit-nodes circle:nth-child(2) { animation-delay: .6s; }
.circuit-nodes circle:nth-child(3) { animation-delay: 1.1s; }
.circuit-nodes circle:nth-child(4) { animation-delay: 1.7s; }
.circuit-nodes circle:nth-child(5) { animation-delay: 2.2s; }
.circuit-nodes circle:nth-child(6) { animation-delay: 2.5s; }
@keyframes node-blink {
  0%, 100% { fill: rgba(255, 255, 255, .16); transform: scale(1); }
  50% { fill: rgba(255, 183, 3, .95); transform: scale(1.6); }
}

/* --- Kibirkštys --- */
.hero-sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-sparks span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px 3px rgba(255, 183, 3, .55);
  opacity: 0;
  animation: spark-drift 5.2s ease-in-out infinite;
}
.hero-sparks span:nth-child(1) { right: 6%; top: 20%; animation-delay: 0s; }
.hero-sparks span:nth-child(2) { right: 3%; top: 58%; animation-delay: 1.1s; }
.hero-sparks span:nth-child(3) { right: 26%; top: 9%; animation-delay: 2.1s; animation-duration: 6.4s; }
.hero-sparks span:nth-child(4) { left: 3%; bottom: 14%; animation-delay: 1.6s; animation-duration: 6s; }
.hero-sparks span:nth-child(5) { left: 30%; bottom: 5%; animation-delay: 3s; }
.hero-sparks span:nth-child(6) { right: 12%; bottom: 7%; animation-delay: 4s; animation-duration: 7s; }
@keyframes spark-drift {
  0% { opacity: 0; transform: translateY(0) scale(.5); }
  18% { opacity: .9; }
  55% { opacity: .35; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.05); }
}

/* --- Telefono ikonos pajudinimas --- */
@keyframes phone-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-13deg); }
  90% { transform: rotate(11deg); }
  92% { transform: rotate(-9deg); }
  94% { transform: rotate(7deg); }
  96% { transform: rotate(-4deg); }
  98% { transform: rotate(0); }
}
.header-cta svg,
.hero-actions .btn-accent svg,
.cta-inner .btn svg { animation: phone-wiggle 4.5s ease-in-out infinite; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px;
  align-items: center;
  padding: 96px 0 104px;
}

/* --- Įžanginė animacija --- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { opacity: 0; animation: hero-rise .75s cubic-bezier(.22, .9, .32, 1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .38s; }
.hero-copy > :nth-child(4) { animation-delay: .52s; }
.hero-copy > :nth-child(5) { animation-delay: .68s; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  color: var(--amber);
  background: linear-gradient(100deg, var(--amber) 20%, #ffe8ad 42%, #fff3d1 50%, #ffe8ad 58%, var(--amber) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

.hero-lede { font-size: 18px; color: rgba(255, 255, 255, .75); max-width: 54ch; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-trust { display: flex; gap: 40px; list-style: none; }
.hero-trust li { display: grid; gap: 2px; }
.hero-trust strong { font-family: var(--font-display); font-size: 26px; color: var(--amber); }
.hero-trust li > span { font-size: 13px; color: rgba(255, 255, 255, .6); line-height: 1.45; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: 34px 30px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation:
    hero-rise .8s .5s cubic-bezier(.22, .9, .32, 1) forwards,
    card-float 7s 1.6s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-bolt {
  position: relative;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), #ff9500);
  color: var(--navy-950);
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px -8px rgba(255, 183, 3, .65);
}
.hero-card-bolt::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 183, 3, .5);
  animation: bolt-ring 2.8s ease-out infinite;
}
@keyframes bolt-ring {
  70% { box-shadow: 0 0 0 20px rgba(255, 183, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}
.hero-card-bolt svg { width: 30px; height: 30px; }
.hero-card-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; margin-bottom: 6px; }
.hero-card-sub { font-size: 14.5px; color: rgba(255, 255, 255, .65); margin-bottom: 20px; }
.hero-card-phone {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--amber); text-decoration: none;
  margin-bottom: 22px;
}
.hero-card-phone:hover { text-decoration: underline; }
.hero-card-list { list-style: none; display: grid; gap: 12px; }
.hero-card-list li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; color: rgba(255, 255, 255, .78);
}
.hero-card-list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px;
  background: var(--amber);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* --- Slinkties užuomina --- */
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: hero-rise .8s 1.4s ease forwards;
}
.hero-scroll-mouse {
  display: block;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  transition: border-color .2s ease;
}
.hero-scroll:hover .hero-scroll-mouse { border-color: var(--amber); }
.hero-scroll-mouse span {
  display: block;
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--amber);
  margin: 6px auto 0;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { opacity: 0; transform: translateY(0); }
  25% { opacity: 1; }
  75% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Sekcijos ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-strong);
  margin-bottom: 12px;
}
.section-head h2, .consult-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.lede { font-size: 17px; color: var(--muted); }

/* ---------- Paslaugų kortelės ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #f0d78a; }

.card-icon {
  position: relative;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--amber-soft); color: var(--amber-strong);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
}
.card:hover .card-icon,
.contact-card:hover .card-icon { animation: icon-spark .55s ease; }
.card:hover .card-icon::after,
.contact-card:hover .card-icon::after { animation: icon-ring .65s ease-out; }
@keyframes icon-spark {
  0%, 100% { transform: none; }
  30% { transform: rotate(-8deg) scale(1.14); }
  60% { transform: rotate(6deg) scale(1.06); }
}
@keyframes icon-ring {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 183, 3, .5); }
  100% { opacity: 0; box-shadow: 0 0 0 14px rgba(255, 183, 3, 0); }
}

.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Konsultacijos ---------- */
.section-dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255, 183, 3, .12), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
}
.section-dark .eyebrow { color: var(--amber); }
.section-dark h2 { color: #fff; }
.section-dark .lede { color: rgba(255, 255, 255, .7); }

.consult-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.consult-copy .lede { margin-bottom: 30px; }

.consult-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult-list li {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 15px 16px 15px 46px;
  font-size: 15px; font-weight: 500;
  color: rgba(255, 255, 255, .88);
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.consult-list li:hover { border-color: rgba(255, 183, 3, .5); background: rgba(255, 183, 3, .06); }
.consult-list li::before {
  content: "";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--amber);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  animation: check-wave 7.2s ease-in-out infinite;
}
.consult-list li:nth-child(2)::before { animation-delay: .45s; }
.consult-list li:nth-child(3)::before { animation-delay: .9s; }
.consult-list li:nth-child(4)::before { animation-delay: 1.35s; }
.consult-list li:nth-child(5)::before { animation-delay: 1.8s; }
.consult-list li:nth-child(6)::before { animation-delay: 2.25s; }
.consult-list li:nth-child(7)::before { animation-delay: 2.7s; }
.consult-list li:nth-child(8)::before { animation-delay: 3.15s; }
@keyframes check-wave {
  0%, 88%, 100% { transform: translateY(-50%) scale(1); }
  92% { transform: translateY(-50%) scale(1.45); }
  96% { transform: translateY(-50%) scale(.95); }
}

/* ---------- Matavimai ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step:hover .step-no { animation: icon-spark .55s ease; }
.step-no {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--amber-strong);
  background: var(--amber-soft);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Galerija ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #dde5ef;
  aspect-ratio: 1 / 1;
}
.gallery-grid a[hidden] { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 32px; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 12, 24, .92);
  display: grid; place-items: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: 0; color: #fff;
  font-size: 44px; line-height: 1; cursor: pointer;
}

/* ---------- Apie ---------- */
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; }

.about-points { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.about-points li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.about-points li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--amber-strong);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.about-facts {
  background: var(--navy-950);
  color: #fff;
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
}
.about-facts h3 { color: var(--amber); font-size: 18px; margin-bottom: 20px; }
.about-facts dl { display: grid; gap: 16px; }
.about-facts div { display: grid; gap: 2px; }
.about-facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.about-facts dd { font-size: 15.5px; font-weight: 600; }

/* ---------- Kortelės nuoroda ---------- */
.card-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--amber-strong);
  text-decoration: none;
}
.card-more span { transition: transform .18s ease; }
.card-more:hover span { transform: translateX(4px); }

/* ---------- DUK ---------- */
.faq-list { max-width: 860px; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #f0d78a; box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  background: var(--amber-strong);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.5" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>') center / contain no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 22px 20px; }
.faq-body p { color: var(--text); font-size: 15.5px; }
.faq-body a { color: var(--amber-strong); font-weight: 600; }

/* ---------- Vidiniai puslapiai ---------- */
.page-hero {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(255, 183, 3, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  max-width: 22ch;
}
.page-hero .lede { color: rgba(255, 255, 255, .75); max-width: 62ch; }
.page-hero .btn { margin-top: 28px; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 26px;
}
.breadcrumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs .sep { color: rgba(255, 255, 255, .35); }

.page-content { padding: 72px 0; }
.page-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }

.prose h2 { font-size: 26px; font-weight: 800; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--amber-strong);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}
.prose ol { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: proc; display: grid; gap: 12px; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: proc; }
.prose ol li::before {
  content: counter(proc, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--amber-strong);
  background: var(--amber-soft);
  border-radius: 7px;
  padding: 3px 7px;
}

.page-aside { display: grid; gap: 24px; position: sticky; top: 96px; }
.aside-card {
  background: var(--navy-950); color: #fff;
  border-radius: 18px; padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.aside-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.aside-card p { font-size: 14.5px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-alt {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
}
.aside-alt:hover { color: var(--amber); text-decoration: underline; }
.aside-links {
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px;
  background: var(--bg);
}
.aside-links h3 { font-size: 16px; margin-bottom: 14px; }
.aside-links ul { list-style: none; display: grid; gap: 10px; }
.aside-links a { color: var(--text); text-decoration: none; font-size: 14.5px; }
.aside-links a:hover { color: var(--amber-strong); }
.aside-links .active { color: var(--amber-strong); font-weight: 600; }

.page-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 8px; }
.page-gallery a {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1 / 1; background: #dde5ef;
}
.page-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.page-gallery a:hover img { transform: scale(1.05); }

/* ---------- CTA juosta ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber), #ffce4d);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; top: 0; bottom: 0;
  left: -45%; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-14deg);
  animation: band-sheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes band-sheen {
  0%, 55% { transform: translateX(0) skewX(-14deg); }
  95%, 100% { transform: translateX(420%) skewX(-14deg); }
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--navy-950); margin-bottom: 6px; }
.cta-inner p { color: rgba(6, 12, 24, .75); font-size: 16.5px; font-weight: 500; }

/* ---------- Kontaktai ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: block; text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #f0d78a; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Užklausos forma ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lead-panel {
  margin-top: 56px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 183, 3, .12), transparent 60%),
    var(--navy-950);
  border-radius: 22px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.lead-copy h3 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin-bottom: 12px;
}
.lead-copy p { color: rgba(255, 255, 255, .7); font-size: 15.5px; margin-bottom: 20px; }
.lead-points { list-style: none; display: grid; gap: 10px; }
.lead-points li {
  position: relative; padding-left: 28px;
  color: rgba(255, 255, 255, .8); font-size: 14.5px;
}
.lead-points li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px;
  background: var(--amber);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.lead-form { display: grid; gap: 14px; }
.lead-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .18s ease, background .18s ease;
  resize: vertical;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255, 255, 255, .45); }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, .1);
}
.lead-form button[type="submit"] { justify-content: center; }
.lead-form button[type="submit"]:disabled { opacity: .7; cursor: default; transform: none; }
.lead-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lead-error {
  color: #ffb09c;
  font-size: 14.5px;
  background: rgba(255, 99, 71, .12);
  border: 1px solid rgba(255, 99, 71, .3);
  border-radius: 10px;
  padding: 10px 14px;
}
.lead-note { font-size: 13px; color: rgba(255, 255, 255, .5); }
.lead-success { display: grid; gap: 8px; padding: 24px 0; }
.lead-success strong { color: var(--amber); font-family: var(--font-display); font-size: 22px; }
.lead-success p { color: rgba(255, 255, 255, .75); }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
  padding: 64px 0 44px;
}
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 32ch; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 14.5px; }
.footer-nav a:hover { color: var(--amber); }
.footer-req { font-size: 14.5px; display: grid; gap: 12px; align-content: start; }
.footer-req a { color: var(--amber); text-decoration: none; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 28px;
  font-size: 13.5px; color: rgba(255, 255, 255, .45);
}

/* ---------- Atsiradimo animacija ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before,
  .hero-circuit .cur,
  .circuit-nodes circle,
  .hero h1 .accent,
  .hero-card,
  .hero-card-bolt::after,
  .hero-copy > *,
  .hero-scroll,
  .hero-scroll-mouse span,
  .hero-sparks span,
  .header-cta svg,
  .hero-actions .btn-accent svg,
  .cta-inner .btn svg,
  .cta-band::before,
  .consult-list li::before,
  .card:hover .card-icon,
  .contact-card:hover .card-icon,
  .step:hover .step-no,
  .card:hover .card-icon::after,
  .contact-card:hover .card-icon::after { animation: none; }
  .hero-copy > *, .hero-card, .hero-scroll { opacity: 1; }
  .hero-circuit .cur, .hero-sparks span, .cta-band::before { opacity: 0; }
}

/* ============================================================
   Prisitaikymas ekranams
   ============================================================ */
@media (max-width: 1020px) {
  /* Vienos kolonos hero: paliekame tik kraštines grandinės linijas,
     kad niekas nekirstų teksto zonos */
  .hero-circuit .band,
  .hero-circuit .band-cur { display: none; }
  .cards-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 72px 0 80px; }
  .hero-card { max-width: 480px; }
  .consult-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-aside { position: static; }
  .page-gallery { grid-template-columns: repeat(3, 1fr); }
  .lead-panel { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero-circuit { opacity: .8; }
  .hero-sparks span:nth-child(3),
  .hero-sparks span:nth-child(5) { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 8px 24px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .hero-trust { gap: 24px; flex-wrap: wrap; }
  .cards-grid, .steps-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .page-gallery { grid-template-columns: repeat(2, 1fr); }
  .lead-row-2 { grid-template-columns: 1fr; }
  .consult-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
}
