/* ============================================================
   Dentalyra — skaitmeninės odontologinės laboratorijos platforma (B2B)
   Dizaino sistema v2.0 (2026-10)
   Spalvos nepakeistos: Navy #10243E · Teal #3E8CAE · #F3F6F8 · Ink #202A33
   Auksas #D8B879 — tik titano / premium akcentams.
   Šriftai: Manrope (antraštės) + Inter (tekstas).

   Struktūra:
     1. tokens   2. base   3. layout   4. typography   5. buttons/links/chips
     6. header   7. hero / page hero   8. komponentai (kortelės, žingsniai,
     tamsios juostos, lentelės, galerija, maketas, D.U.K., CTA)   9. footer
     10. reveal / motion   11. responsive   12. formos ir vedlys (failo gale)
   ============================================================ */

/* ---------------- 1. tokens ---------------- */
:root {
  --navy: #10243E;
  --navy-2: #0B1A30;
  --navy-3: #1B3456;
  --teal: #3E8CAE;          /* dekoratyvinis akcentas (ne tekstui ant balto) */
  --teal-btn: #1B5E7E;
  --teal-dark: #175572;     /* tekstiniai akcentai ant balto (AA) */
  --teal-deep: #123F55;
  --teal-soft: #EAF2F6;
  --teal-line: #C6DCE7;
  --teal-50: #F4F9FB;
  --bg: #F3F6F8;
  --white: #FFFFFF;
  --ink: #202A33;
  --ink-60: #5A6672;
  --line: #E3E8EE;
  --line-dark: #CBD4DD;
  --gold: #D8B879;
  --gold-dark: #A8854B;
  --gold-text: #7A5C28;
  --gold-soft: #F8F1E3;
  --error: #C6493B;
  --success: #1E9E6A;
  --info: #3E7CB1;

  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --sec: clamp(48px, 5.6vw, 84px);

  --r-btn: 11px;
  --r-card: 16px;
  --r-lg: 22px;

  --sh-sm: 0 1px 2px rgba(16, 36, 62, 0.05), 0 2px 8px rgba(16, 36, 62, 0.05);
  --sh-md: 0 8px 22px rgba(16, 36, 62, 0.08), 0 2px 6px rgba(16, 36, 62, 0.05);
  --sh-lg: 0 24px 56px rgba(16, 36, 62, 0.16), 0 6px 16px rgba(16, 36, 62, 0.08);
}

/* ---------------- 2. base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; overflow-x: hidden; scroll-padding-top: 90px; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
button { font-family: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(62, 140, 174, 0.22); }
h1, h2, h3, h4, p, a, li, td, th, dd, blockquote { overflow-wrap: break-word; }
figure { margin: 0; }

/* ---------------- 3. layout ---------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 840px; margin: 0 auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: 840px; }
.section { padding: var(--sec) 0; }
.section.tinted, .tinted { background: var(--bg); }
.dark-section { padding: var(--sec) 0; }

.grid-2 {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.grid-2:has(form), .grid-2:has(.form-card) { align-items: start; }
.card-grid + .callout, .gallery-grid + .callout, .feature-grid + .callout { margin-top: clamp(16px, 2vw, 24px); }
.panel .section-head { margin-bottom: 18px; }
.two-col {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
/* antraštė kairėje, turinys dešinėje */
.split {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.split-head { position: sticky; top: 100px; }
.split-head h2 { margin-bottom: 14px; }
.split-head .lead, .split-head p { margin: 0 0 18px; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.section-head h2 { margin: 0 0 12px; }
.section-head .lead { margin: 0; }
.section-head > :last-child { margin-bottom: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
}
.section-head.row > div { max-width: 720px; }
.section-head.row > .tlink { flex: 0 0 auto; margin-bottom: 6px; }

/* ---------------- 4. typography ---------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 3vw, 3.55rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.4rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem); }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.lead {
  font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 38em;
}
.lead strong { color: var(--navy); font-weight: 600; }
.muted { color: var(--ink-60); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--teal);
}
.eyebrow.gold { color: var(--gold-text); }
.dark-section .eyebrow { color: #8CC3DB; }
.dark-section .eyebrow.gold { color: var(--gold); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 10px 0;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------------- 5. buttons / links / chips ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%;
  min-height: 50px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: var(--r-btn);
  font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; text-align: center; line-height: 1.25;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn svg { flex: 0 0 auto; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(16, 36, 62, 0.18); }
.btn-primary:hover { background: var(--teal-deep); box-shadow: 0 8px 20px rgba(16, 36, 62, 0.24); }
.btn-ghost { background: var(--white); border-color: var(--line-dark); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 0.86rem; border-radius: 10px; box-shadow: none; }
.btn-full { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: 0.93rem; font-weight: 700;
  color: var(--teal-dark); text-decoration: none;
}
.tlink::after { content: "\2192"; transition: transform 0.2s ease; }
.tlink:hover { color: var(--navy); }
.tlink:hover::after { transform: translateX(4px); }
.dark-section .tlink { color: #9FD0E6; }
.dark-section .tlink:hover { color: var(--white); }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-dark);
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  vertical-align: middle;
}
.badge.gold { background: var(--gold-soft); color: var(--gold-text); }
.badge.navy { background: rgba(16, 36, 62, 0.07); color: var(--navy); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip svg { width: 16px; height: 16px; color: var(--teal-dark); }
a.chip { min-height: 44px; }
a.chip:hover { border-color: var(--teal); background: var(--teal-50); }
.chip.gold { background: var(--gold-soft); border-color: rgba(168, 133, 75, 0.35); color: var(--gold-text); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.mini-chip {
  display: inline-block; padding: 3px 10px;
  background: var(--bg); border-radius: 999px;
  font-size: 0.78rem; color: var(--ink-60);
}

/* ---------------- 6. header ---------------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.site-header.hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; min-height: 44px; }
.brand .brand-mark { width: 34px; height: 34px; display: block; }
.brand .brand-word {
  font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy); line-height: 1;
}
.brand .brand-word b { color: var(--teal-dark); font-weight: 800; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a {
  position: relative;
  padding: 10px 12px; border-radius: 9px;
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none; color: var(--ink-60);
  transition: color 0.2s ease, background 0.2s ease;
}
.desktop-nav a:hover { color: var(--navy); background: var(--bg); }
.desktop-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.desktop-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--teal);
}
.nav-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.menu-button {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  min-width: 44px; min-height: 44px; padding: 0;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.menu-button span {
  width: 20px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 6px var(--pad) 22px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 26px 44px rgba(16, 36, 62, 0.14);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 12px 2px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:not(.btn)::after { content: "\203A"; color: var(--ink-60); font-size: 1.3rem; font-weight: 400; }
.mobile-menu a[aria-current="page"] { color: var(--teal-dark); }
.mobile-menu .mobile-menu-cta { margin-top: 18px; }
.mobile-menu .mobile-menu-cta .btn { width: 100%; justify-content: center; border-bottom: 0; color: var(--white); }

.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16, 36, 62, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-cta .btn { width: 100%; min-height: 50px; }

/* ---------------- 7. hero (pradžia) ---------------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 4.4vw, 60px);
  background:
    radial-gradient(700px 420px at 92% 0%, rgba(62, 140, 174, 0.14), rgba(62, 140, 174, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "head media" "body media";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; }
.hero-grid > .hero-media { grid-area: media; align-self: center; }
.hero h1 { margin: 0 0 18px; max-width: 13em; }
.hero .lead { margin: 0 0 14px; }
.hero-body .muted { margin: 0; max-width: 36em; }
.hero-body .hero-actions { margin-top: 26px; }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  background: var(--navy);
}
.hero .hero-media img { aspect-ratio: 5 / 4; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 36px);
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: var(--sh-md);
  font-size: 0.8rem; line-height: 1.4; color: var(--ink-60);
}
.hero-badge b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.hero-badge .hb-icon {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark);
}
.hero-badge .hb-icon svg { width: 20px; height: 20px; }

.hero-trust {
  list-style: none; margin: 28px 0 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; line-height: 1.35; color: var(--navy);
}
.hero-trust svg {
  flex: 0 0 auto; width: 24px; height: 24px; padding: 5px;
  border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark);
}

/* greito pasirinkimo skydelis po hero */
.qs-panel {
  margin-top: clamp(36px, 4.4vw, 60px);
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.qs-panel-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 18px; }
.qs-panel-head h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); }
.qs-panel-head p { margin: 0; color: var(--ink-60); font-size: 0.95rem; }
.qs-panel .qs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.qs-panel .qs-card { padding: 16px 14px 16px 16px; }
.qs-panel .qs-card h3 { padding-right: 26px; font-size: 0.95rem; }
.qs-panel .qs-check { top: 14px; right: 12px; }

/* ---------------- 7b. page hero (vidiniai puslapiai) ---------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 4.4vw, 64px) 0 clamp(40px, 5vw, 72px);
  background:
    radial-gradient(640px 380px at 100% 0%, rgba(62, 140, 174, 0.14), rgba(62, 140, 174, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, #F8FAFB 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  /* subtilus prekės ženklo motyvas — horizontali linija per „D" */
  content: ""; position: absolute; right: -60px; top: 50%;
  width: 360px; height: 360px; transform: translateY(-50%);
  border: 2px solid rgba(62, 140, 174, 0.12); border-radius: 50%;
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem); margin-bottom: 16px; max-width: 18em; }
.page-hero .lead { margin: 0; }
.page-hero .hero-actions { margin-top: 26px; }
.page-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.page-hero:has(.page-hero-grid)::after { display: none; }
.page-hero .hero-media img { aspect-ratio: 4 / 3; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin-bottom: 18px;
  font-size: 0.8rem; font-weight: 500; color: var(--ink-60);
}
.breadcrumbs a { color: var(--ink-60); text-decoration: none; padding: 6px 0; }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; }
.breadcrumbs .sep { color: var(--ink-60); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* puslapio vidaus nuorodos (paslaugų sąrašas) */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* ---------------- 8. komponentai ---------------- */

/* kortelės */
.card-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 12px;
  background: var(--teal-soft); color: var(--teal-dark);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.gold { background: var(--gold-soft); color: var(--gold-text); }

.card-grid, .feature-grid, .tech-grid {
  display: grid; gap: clamp(14px, 1.6vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid.two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 5 kortelės: 3 + 2 per visą plotį (be tuščių vietų) */
.feature-grid.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature-grid.five > * { grid-column: span 2; }
.feature-grid.five > :nth-child(n+4) { grid-column: span 3; }
/* 7 kortelės: pirma plati (2 + 1 + 1 / 4 / …) */
.card-grid.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.seven > :first-child { grid-column: span 2; }
/* 8 kortelės → 4 × 2 */
.feature-grid.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-card, .feature-card, .tech-card, .case-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2vw, 28px);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.tinted .service-card, .tinted .feature-card, .tinted .tech-card, .tinted .case-card { border-color: transparent; box-shadow: var(--sh-sm); }
.service-card h3, .feature-card h3, .tech-card h3, .case-card h3 { margin: 0 0 8px; }
.service-card p, .feature-card p, .tech-card p { margin: 0 0 12px; font-size: 0.94rem; color: var(--ink-60); }
.service-card > :last-child, .feature-card > :last-child, .tech-card > :last-child { margin-bottom: 0; }
.service-card .tlink { margin-top: auto; }
a.service-card:hover, .service-card.hoverable:hover { border-color: var(--teal-line); box-shadow: var(--sh-md); transform: translateY(-2px); }
.tech-card img, .service-card > img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; margin: 0 0 16px !important;
}

/* greitas pasirinkimas */
.qs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qs-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 100%;
  padding: 18px 46px 18px 18px;
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px;
  text-align: left; cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.qs-card:hover { border-color: var(--teal); box-shadow: var(--sh-md); }
.qs-card h3 { margin: 0 0 4px; font-size: 1rem; }
.qs-card p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-60); }
.qs-check {
  position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px; display: grid; place-items: center;
  border: 1.5px solid var(--line-dark); border-radius: 50%;
  color: transparent; transition: all 0.2s ease;
}
.qs-check svg { width: 12px; height: 12px; }
.qs-card.selected { border-color: var(--teal-dark); background: var(--teal-soft); box-shadow: inset 0 0 0 1px var(--teal-dark); }
.qs-card.selected .qs-check { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.qs-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 16px; padding: 14px;
  background: var(--teal-soft); border-radius: 14px;
}
.qs-note { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

/* paslaugų kortelės (pradžia) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.svc-card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.svc-card > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--navy); }
.svc-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 18px; }
.svc-body h3 { margin: 0 0 6px; }
.svc-body p { margin: 0 0 14px; font-size: 0.92rem; color: var(--ink-60); }
.svc-points { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-points li {
  padding: 3px 10px; border-radius: 999px;
  background: var(--bg); font-size: 0.78rem; font-weight: 500; color: var(--navy);
}
.svc-body .tlink { margin-top: auto; }
.svc-card .tlink::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-rush {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(62, 140, 174, 0.35), rgba(62, 140, 174, 0) 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.svc-rush .svc-body { padding: 26px 26px 20px; }
.svc-rush .card-icon { background: rgba(255, 255, 255, 0.1); color: #9FD0E6; }
.svc-big {
  display: block; margin: 4px 0 8px;
  font-family: var(--font-head); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--white);
}
.svc-rush h3 { color: var(--white); }
.svc-rush p { color: rgba(255, 255, 255, 0.72); }
.svc-rush .tlink { color: #9FD0E6; }

/* žingsniai */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px;
  counter-reset: st;
}
.steps:has(> .step:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card);
}
.tinted .step { border-color: transparent; box-shadow: var(--sh-sm); }
.step-icon {
  position: relative;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark);
}
.step-icon svg { width: 22px; height: 22px; }
.step-num {
  position: absolute; top: -8px; right: -10px;
  min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 800;
  box-shadow: 0 0 0 3px var(--white);
}
.step h3 { margin: 0 0 6px; font-size: 1.04rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--ink-60); }

/* tamsi juosta */
.dark-section {
  position: relative;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(62, 140, 174, 0.2) 0%, rgba(62, 140, 174, 0) 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section .lead, .dark-section p { color: rgba(255, 255, 255, 0.74); }
.dark-section .step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.dark-section .step-icon { background: rgba(62, 140, 174, 0.18); color: #9FD0E6; }
.dark-section .step-num { background: var(--teal); box-shadow: 0 0 0 3px var(--navy); }
.dark-section .step p { color: rgba(255, 255, 255, 0.66); }
.process .steps .step::before {
  /* jungiamoji linija tarp žingsnių */
  content: ""; position: absolute; top: 44px; left: 100%; width: 18px; height: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.process .steps .step:last-child::before { display: none; }

.complex-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-card);
  background: linear-gradient(90deg, rgba(62, 140, 174, 0.16), rgba(62, 140, 174, 0.04));
}
.complex-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.complex-card p { margin: 0; font-size: 0.93rem; max-width: 46em; }
.complex-card .btn { flex: 0 0 auto; }

/* kodėl mes */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-head .lead { margin-bottom: 26px; }
.why-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.why-item { padding: 22px 0; border-top: 1px solid var(--line); }
.why-item:nth-child(-n+2) { border-top: 0; padding-top: 4px; }
.why-item .card-icon { width: 40px; height: 40px; margin-bottom: 12px; }
.why-item h3 { margin: 0 0 6px; font-size: 1.04rem; }
.why-item p { margin: 0; font-size: 0.92rem; color: var(--ink-60); }

.why-note {
  grid-column: 1 / -1;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
  margin: 8px 0 0; padding: 14px 20px;
  background: var(--teal-50); border: 1px solid var(--teal-line); border-radius: 14px;
  font-size: 0.93rem; color: var(--ink);
}
.why-note > svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--teal-dark); }
.why-note > span { flex: 1 1 320px; }
.why-note b { color: var(--navy); }

/* skubi gamyba + terminai */
.rush-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.list-intro { margin: 22px 0 10px; font-weight: 600; color: var(--navy); }
.dark-section .list-intro { color: var(--white); }
.rush-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.rush-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 0; }
.rush-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.rush-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--teal-dark); }
.dark-section .rush-list li { color: rgba(255, 255, 255, 0.86); }
.dark-section .rush-list svg { color: var(--teal); }
.rush-note {
  max-width: 36em; margin: 0 0 4px;
  padding-left: 14px; border-left: 2px solid var(--teal);
  font-size: 0.85rem; color: var(--ink-60);
}
.dark-section .rush-note { color: rgba(255, 255, 255, 0.6); border-left-color: rgba(62, 140, 174, 0.6); }
.terms-card {
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.terms-card h3, .terms-card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.terms-card h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); margin-bottom: 16px; }
.terms-card > .small { margin: 12px 0 0; }
.terms-card h4 { margin: 22px 0 10px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }
.terms-card .data-table { margin: 0 0 10px; }
.terms-card .checklist { margin: 0; }
.terms-card .checklist li { font-size: 0.9rem; }

.rush-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rush-timer { display: grid; place-items: center; text-align: center; padding: clamp(10px, 2vw, 30px); }
.rush-ring {
  position: relative;
  width: clamp(200px, 24vw, 280px); aspect-ratio: 1;
  border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(closest-side, var(--navy-2) 78%, transparent 79%),
    conic-gradient(var(--teal) 0deg 285deg, rgba(255, 255, 255, 0.14) 285deg 360deg);
}
.rush-ring::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); }
.rush-ring b { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: var(--white); letter-spacing: -0.03em; }
.rush-ring span { display: block; margin-top: 6px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }

.subhead { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 0 0 14px; }

/* technologijų juosta (pradžia) */
.tech-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.tech-tile {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
}
.tech-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--navy); }
.tech-tile h3 { margin-top: 4px !important; font-size: 1.04rem; }
.tech-tile h3 { margin: 0 0 6px; }
.tech-tile p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--ink-60); }
.tech-more {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px;
  margin-top: clamp(26px, 3vw, 40px); padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
}
.tech-more h3 { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }

/* baltas skydelis pilkame fone */
.panel {
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.panel h2 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); }
.panel .lead { font-size: 1rem; }
.panel > :last-child { margin-bottom: 0; }
.panel-media { margin: 0 0 20px; }
.panel-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--navy); }
.small .tlink, .muted .tlink, p .tlink:not(:only-child) { display: inline; min-height: 0; }

/* lentelės */
.data-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  font-size: 0.92rem;
}
.data-table th, .data-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table thead th {
  background: var(--bg);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60);
}
.data-table tbody td:first-child, .data-table.row-headers th { font-weight: 600; color: var(--navy); }
.data-table.row-headers td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--teal-dark); font-weight: 600; }
.data-table tbody tr:hover td, .data-table tbody tr:hover th { background: var(--teal-50); }
.terms-card .data-table td:last-child, .terms-card .data-table th:last-child { white-space: nowrap; width: 1%; }

/* sąrašai */
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 0.96rem; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23175572' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.dark-section .checklist li { color: rgba(255, 255, 255, 0.86); }

.callout {
  margin: 0 0 14px;
  padding: 18px 20px;
  background: var(--teal-50);
  border: 1px solid var(--teal-line); border-left: 3px solid var(--teal);
  border-radius: 12px;
  font-size: 0.93rem; line-height: 1.6; color: var(--ink);
}
.callout strong { display: block; margin-bottom: 4px; font-family: var(--font-head); color: var(--navy); }
.callout.warning { background: var(--gold-soft); border-color: rgba(168, 133, 75, 0.3); border-left-color: var(--gold-dark); }
.callout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.callout-grid .callout { margin: 0; }

/* prose */
.prose { font-size: 1rem; line-height: 1.75; }
.prose h2 { margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 0.45em; }
.prose > :first-child { margin-top: 0; }
.prose ul:not(.checklist), .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.35em; }
.prose ol li::marker { font-weight: 700; color: var(--teal-dark); }
.prose a:not(.btn) { color: var(--teal-dark); }

/* žingsniai išsamiai (kaip tai veikia) */
.step-list { display: grid; gap: 14px; counter-reset: sl; }
.wrap .step-list.narrow { max-width: 900px; margin-left: 0; padding-inline: 0; }
.panel h3 { font-size: 1.15rem; margin-bottom: 14px; }
.step-list > div {
  position: relative;
  padding: 22px 24px 20px 82px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card);
  counter-increment: sl;
}
.step-list > div::before {
  content: counter(sl, decimal-leading-zero);
  position: absolute; left: 22px; top: 20px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 0.92rem;
}
.step-list h3 { margin: 0 0 8px !important; }
.step-list p { margin: 0 0 8px; color: var(--ink-60); }
.step-list p:last-child { margin: 0; }
.step-list p strong { color: var(--navy); }

/* būsenų sąrašas */
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.status-grid .mockup-row { padding: 14px 0; }

/* galerija */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-btn {
  min-height: 44px; padding: 8px 18px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--navy);
  cursor: pointer; transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--teal); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.gallery-grid.featured { grid-auto-flow: dense; }
.gallery-grid.featured > .is-featured { grid-column: span 2; grid-row: span 2; }
.gallery-grid.featured > .is-featured .g-media img { aspect-ratio: auto; height: 100%; min-height: 0; }
.gallery-grid.featured > .is-featured .g-media { flex: 1 1 auto; }
.gallery-item {
  position: relative; margin: 0;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tinted .gallery-item { border-color: transparent; box-shadow: var(--sh-sm); }
.gallery-item.is-hidden { display: none; }
.g-media { position: relative; overflow: hidden; background: var(--navy); }
.g-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
@media (hover: hover) {
  .gallery-item:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
  .gallery-item:hover .g-media img { transform: scale(1.04); }
}
.g-term {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(16, 36, 62, 0.82); color: var(--white);
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
}
.g-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.g-body b { font-family: var(--font-head); font-size: 1rem; color: var(--navy); line-height: 1.3; }
.g-body > span { font-size: 0.86rem; line-height: 1.5; color: var(--ink-60); }
.g-body .g-tags { margin-top: 6px; font-size: 0.76rem; font-weight: 600; color: var(--teal-dark); }

/* paskyros / el. pašto maketas */
.mockup {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-dark); }
.mockup-bar span { margin-left: 10px; font-size: 0.76rem; color: var(--ink-60); }
.mockup-body { padding: 18px 20px 20px; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mockup-head b { font-family: var(--font-head); color: var(--navy); }
.mockup-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mockup-row:last-child { border-bottom: 0; }
.mr-main { flex: 1 1 auto; min-width: 0; }
.mr-main b { display: block; font-size: 0.86rem; color: var(--navy); line-height: 1.35; }
.mr-main span { display: block; font-size: 0.78rem; color: var(--ink-60); line-height: 1.4; }
.mr-status { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark); }
.status-dot.gray { background: #9AA5B1; }
.status-dot.blue { background: var(--info); }
.status-dot.teal { background: var(--teal); }
.status-dot.gold { background: var(--gold); }
.status-dot.green { background: var(--success); }
.progress { height: 6px; margin: 14px 0 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-btn), var(--teal)); border-radius: 999px; }
.mockup-progress-label { display: flex; justify-content: space-between; gap: 10px; font-size: 0.76rem; color: var(--ink-60); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mockup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mockup-actions .btn { min-height: 42px; padding: 8px 16px; font-size: 0.85rem; box-shadow: none; }

/* tipinės situacijos */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.case-tag {
  align-self: flex-start;
  margin-bottom: 14px; padding: 4px 11px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-dark);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.case-card p { margin: 0 0 14px; font-size: 0.93rem; color: var(--ink-60); }
.case-card .case-out { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); }
.case-out b { color: var(--teal-dark); }
.case-note { margin: 20px 0 0; font-size: 0.84rem; color: var(--ink-60); }

/* D.U.K. */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tinted .faq-item { border-color: transparent; box-shadow: var(--sh-sm); }
.faq-item.open { border-color: var(--teal-line); box-shadow: var(--sh-md); }
.faq-item > button {
  width: 100%; min-height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--navy);
}
.faq-item > button [data-symbol] {
  flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark);
  font-size: 1.15rem; font-weight: 600; line-height: 1;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item.open > button [data-symbol] { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.faq-answer { overflow: hidden; transition: height 0.3s ease; }
.faq-answer p { margin: 0; padding: 0 20px 18px; font-size: 0.95rem; color: var(--ink-60); }
html:not(.js) .faq-answer { height: auto !important; }

/* galutinis kvietimas — tamsus skydelis */
.cta-light { padding: clamp(40px, 5vw, 80px) 0; background: var(--white); }
.section:not(.tinted):not(.dark-section):not(.page-hero) + .cta-light { padding-top: 0; }
.tinted + .cta-light { background: var(--white); }
.cta-final {
  position: relative; overflow: hidden;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  text-align: center;
  border-radius: var(--r-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(62, 140, 174, 0.38), rgba(62, 140, 174, 0) 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(62, 140, 174, 0.18), rgba(62, 140, 174, 0) 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
}
.wrap.cta-final { max-width: calc(var(--wrap) - 2 * var(--pad)); width: calc(100% - 2 * var(--pad)); }
.cta-final::after {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  display: none;
}
.cta-final h2 { color: var(--white); max-width: 18em; margin: 0 auto 12px; }
.cta-final .lead { color: rgba(255, 255, 255, 0.76); max-width: 40em; margin: 0 auto; }
.cta-final .hero-actions { justify-content: center; margin-top: 28px; }
.cta-final .cta-note { margin: 18px 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.cta-final a:not(.btn) { color: #9FD0E6; }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px var(--pad); }
.not-found strong {
  display: block; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 7rem); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found p { color: var(--ink-60); margin: 0 auto 26px; max-width: 32em; }

/* kontaktai */
.contact-card { padding: clamp(22px, 2.6vw, 32px); }
.contact-card h2 { font-size: 1.4rem; }
.wizard-layout aside h2 { font-size: 1.35rem; }
.wizard-layout aside .service-card { margin-bottom: 16px; }

/* ---------------- 9. footer ---------------- */
.site-footer {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.site-footer .brand-word { color: var(--white); }
.site-footer .brand-word b { color: #8CC3DB; }
.site-footer .brand-mark rect { fill: var(--white); }
.site-footer .brand-mark path { stroke: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-about p { font-size: 0.9rem; line-height: 1.65; max-width: 30em; margin: 18px 0 20px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 0.92rem; }
.footer-contact li { display: flex; align-items: center; min-height: 36px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 40px; color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: #9FD0E6; }
.footer-contact svg { width: 16px; height: 16px; margin-right: 10px; flex: 0 0 auto; color: #8CC3DB; }
.footer-title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
}
.footer-links { display: grid; gap: 0; }
.footer-links a {
  display: flex; align-items: center; min-height: 38px;
  text-decoration: none; font-size: 0.92rem; color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: clamp(32px, 4vw, 48px); padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255, 255, 255, 0.66); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------------- 10. reveal / motion ---------------- */
html.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: reveal-failsafe 0.01s linear 3s forwards;
}
html.js .reveal.in { opacity: 1; transform: none; animation: none; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }

@view-transition { navigation: auto; }

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

/* ---------------- 11. responsive ---------------- */
@media (max-width: 1240px) {
  .desktop-nav a { padding: 10px 8px; font-size: 0.84rem; }
  .desktop-nav a[aria-current="page"]::after { left: 8px; right: 8px; }
}
@media (max-width: 1120px) {
  .desktop-nav a { padding: 10px 6px; font-size: 0.8rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .steps { gap: 12px; }
  .step { padding: 18px 14px 16px; }
  .process .steps .step::before { width: 12px; }
  .tech-grid, .feature-grid.eight, .card-grid.two, .card-grid.seven { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid > :last-child:nth-child(odd):not(:first-child), .feature-grid:not(.five) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .feature-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid.five > :nth-child(n) { grid-column: auto; }
  .feature-grid.five > :last-child:nth-child(n) { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid.featured > .is-featured { grid-row: span 1; }
  .gallery-grid.featured > .is-featured .g-media img { aspect-ratio: 16 / 9; height: auto; }
  .qs-grid, .qs-panel .qs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .split-head { position: static; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 0 32px; align-items: start; }
  .why-head .why-media { grid-column: 2; grid-row: 1 / span 3; }
  .rush-split { grid-template-columns: minmax(0, 1fr); }
  .tech-tiles { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-links a, .footer-contact li, .footer-contact a, .footer-bottom a { min-height: 44px; }
  .callout-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .grid-2, .two-col, .rush-grid, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-2 > .hero-media, .grid-2 > figure { order: -1; }
  .grid-2.tracking > .mockup { order: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; grid-template-rows: auto; }
  .hero-head { align-self: start; }
  .hero-grid > .hero-media { margin: 8px 0 22px; }
  .hero .hero-media img { aspect-ratio: 16 / 10; }
  .page-hero .hero-media { order: 0; }
  .page-hero::after { display: none; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  body.cta-waiting .mobile-cta { transform: translateY(110%); opacity: 0; pointer-events: none; }
  body.is-wizard { padding-bottom: 0; }
  .complex-card { flex-direction: column; align-items: flex-start; }
  .tech-more { grid-template-columns: minmax(0, 1fr); }
  .rush-timer { display: none; }
  .why-head { display: block; }
  .why-media { display: none; }
  .status-grid { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps:has(> .step:nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 16px; }
  .step-icon { grid-row: 1 / span 2; margin: 0; }
  .step h3 { margin: 2px 0 4px; }
  .process .steps .step::before { display: none; }
}

@media (max-width: 700px) {
  :root { --sec: 48px; }
  .section-head.row { display: block; }
  .section-head.row > .tlink { margin-top: 6px; }
  .card-grid, .feature-grid, .feature-grid.five, .feature-grid.eight, .tech-grid, .card-grid.two, .card-grid.seven { grid-template-columns: minmax(0, 1fr); }
  .card-grid.seven > :first-child, .card-grid > :last-child:nth-child(odd):not(:first-child), .feature-grid > :last-child, .feature-grid.five > :last-child:nth-child(n) { grid-column: auto; }
  .qs-grid, .qs-panel .qs-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .qs-card, .qs-panel .qs-card { padding: 13px 46px 13px 16px; }
  .qs-check, .qs-panel .qs-check { top: 50%; right: 14px; transform: translateY(-50%); }
  .qs-panel .qs-card h3 { padding-right: 0; }
  .qs-panel { padding: 18px 16px; margin-inline: calc(-1 * 4px); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-item, .why-item:nth-child(2) { border-top: 1px solid var(--line); padding: 16px 0 16px 56px; position: relative; }
  .why-item:first-child { border-top: 0; padding-top: 0; }
  .why-item .card-icon { position: absolute; left: 0; top: 16px; }
  .why-item:first-child .card-icon { top: 0; }
  .rush-list.cols-2, .checklist.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-links { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-links a { line-height: 1.3; padding: 4px 0; }
  .card-grid.two .service-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .card-grid.two .service-card .card-icon { grid-row: 1 / span 3; margin: 0; }
  .card-grid.two .service-card .tlink { min-height: 36px; }
  .status-grid .mockup-row { align-items: flex-start; }
  .status-grid .status-dot { margin-top: 6px; }
}

@media (max-width: 600px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { gap: 12px 14px; }
  .hero-trust li { font-size: 0.82rem; gap: 8px; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; }
  .hero-badge { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; font-size: 0.74rem; }
  .hero-badge .hb-icon { width: 32px; height: 32px; }

  /* horizontali kortelė: miniatiūra kairėje */
  .svc-grid, .tech-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); }
  .svc-card > img { height: 100%; aspect-ratio: auto; min-height: 120px; }
  .svc-body { padding: 14px 16px 6px; }
  .svc-body h3 { font-size: 1.02rem; }
  .svc-body p { font-size: 0.86rem; margin-bottom: 0; }
  .svc-points { display: none; }
  .svc-rush { grid-template-columns: minmax(0, 1fr); }
  .svc-rush .svc-body { padding: 20px 18px 10px; }
  .svc-rush .card-icon { display: none; }
  .tech-tile { grid-template-columns: 96px minmax(0, 1fr); padding: 10px; gap: 14px; }
  .tech-tile p { font-size: 0.86rem; }

  /* slenkamos eilutės vietoj ilgų stulpelių */
  .gallery-row, .case-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 80%;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 14px;
    scrollbar-width: none;
  }
  .gallery-row::-webkit-scrollbar, .case-grid::-webkit-scrollbar { display: none; }
  .gallery-row > *, .case-grid > * { scroll-snap-align: start; }
  .gallery-grid:not(.gallery-row) { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid.featured > .is-featured { grid-column: auto; }

  .data-table th, .data-table td { padding: 11px 14px; }
  .anchor-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px; }
  .anchor-nav::-webkit-scrollbar { display: none; }
  .anchor-nav .chip { flex: 0 0 auto; }
  .faq-item > button { padding: 14px 16px; font-size: 0.96rem; }
  .faq-answer p { padding: 0 16px 16px; }
  .cta-final { padding: 32px 20px; border-radius: var(--r-card); }
  .wrap.cta-final { width: calc(100% - 2 * 16px); }
  .cta-final .btn { flex: 1 1 100%; }
  .mockup-body { padding: 14px; }
  .mr-status { font-size: 0.7rem; }
  .step-list > div { padding: 18px 18px 16px 18px; }
  .step-list > div::before { position: static; margin-bottom: 12px; width: 38px; height: 38px; }
}

@media (max-width: 340px) {
  .footer-links { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .mobile-cta, .scroll-progress { display: none !important; }
}

/* ============================================================
   12. FORMOS IR UŽSAKYMO VEDLYS
   Perkelta iš ankstesnės versijos nepakeista — logika (site.js)
   remiasi šiomis klasėmis ir būsenomis.
   ============================================================ */
.btn-full { width: 100%; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--sh-md);
  padding: clamp(24px, 4vw, 42px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .field.full { grid-column: 1 / -1; }
.field { margin-bottom: 20px; }
.field label, .field .field-label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-60);
}
.field label .req { color: var(--error); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field input[type="url"],
.field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-dark); border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-60); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 140, 174, 0.16);
}
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6672' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.field .field-hint { margin-top: 6px; font-size: 0.78rem; color: var(--ink-60); }
.field-error { display: none; margin-top: 6px; font-size: 0.78rem; font-weight: 500; color: var(--error); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .field-error { display: block; }
.field.invalid .radio-cards, .field.invalid .file-drop { border-color: var(--error); }
.file-drop {
  display: block; text-align: center;
  padding: 30px 22px;
  background: var(--bg);
  border: 2px dashed var(--line-dark); border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--teal); background: var(--teal-soft); }
.file-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.file-drop .fd-icon {
  width: 46px; height: 46px; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--line); color: var(--teal-dark);
}
.file-drop .fd-icon svg { width: 22px; height: 22px; }
.file-drop b { display: block; font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.file-drop span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--ink-60); }
.file-drop.has-files { border-color: var(--teal); border-style: solid; background: var(--teal-50, #EAF2F6); }
.file-drop .fd-status {
  display: inline-block; margin-top: 8px; padding: 5px 12px;
  background: var(--teal); color: #fff; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
}
.file-drop .fd-status[hidden] { display: none; }
.file-drop-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; text-align: left; }
.file-drop-list[hidden] { display: none; }
.file-drop-list li {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  font-size: 0.82rem; color: var(--ink);
}
.file-drop-list svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--teal-dark); }
.file-drop-list .fd-size { margin-left: auto; font-size: 0.72rem; color: var(--ink-60); flex: 0 0 auto; }
.file-drop-list .fd-remove {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: 0 0 auto;
  padding: 0; border: 1px solid var(--line); border-radius: 7px;
  background: var(--white); color: var(--ink-60); cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.file-drop-list .fd-remove:hover { color: var(--error); border-color: var(--error); background: #FDF2F2; }
.file-drop-list .fd-remove svg { width: 11px; height: 11px; color: currentColor; }
.file-drop.invalid { border-color: var(--error); }
.file-error { color: var(--error); font-weight: 600; margin: 10px 0 0; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 16px;
  background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.radio-card:hover { border-color: var(--teal-line); }
.radio-card input {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.radio-card .rc-dot {
  width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto;
  border: 1.5px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center;
  transition: all 0.2s ease;
}
.radio-card .rc-dot::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); transform: scale(0);
  transition: transform 0.18s ease;
}
.radio-card b { display: block; font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.radio-card span { display: block; margin-top: 3px; font-size: 0.79rem; line-height: 1.5; color: var(--ink-60); }
.radio-card.selected, .radio-card:has(input:checked) {
  border-color: var(--teal); background: var(--teal-soft);
  box-shadow: 0 0 0 1px var(--teal);
}
.radio-card.selected .rc-dot, .radio-card:has(input:checked) .rc-dot { background: var(--teal); border-color: var(--teal); }
.radio-card.selected .rc-dot::after, .radio-card:has(input:checked) .rc-dot::after { transform: scale(1); }
.radio-card input:focus-visible ~ .rc-dot { outline: 2px solid var(--teal); outline-offset: 2px; }
.stepper {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: flex; gap: 8px;
}
.step-item {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-60);
}
.step-item .step-bar {
  height: 5px; border-radius: 999px;
  background: var(--line);
  transition: background 0.3s ease;
}
.step-item .step-label {
  line-height: 1.25;
  overflow-wrap: break-word;
  hyphens: auto;
}
.step-item.active { color: var(--navy); }
.step-item.active .step-bar { background: var(--teal); }
.step-item.done { color: var(--teal-dark); }
.step-item.done .step-bar { background: var(--teal); }
@media (max-width: 720px) {
  .stepper { position: relative; margin-bottom: 42px; }
  .stepper .step-item .step-label { display: none !important; }
  .stepper::after {
    content: attr(data-current);
    position: absolute;
    left: 0; top: 13px;
    font-family: var(--font-head);
    font-size: 0.8rem; font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
  }
}
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: step-in 0.35s ease; }
@keyframes step-in{
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.wizard-step > h2 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem); margin-bottom: 8px; }
.wizard-step > .step-desc { margin: 0 0 24px; color: var(--ink-60); font-size: 0.95rem; }
.wizard-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wizard-nav .wizard-spacer { flex: 1 1 auto; }
.wizard-error {
  display: none; margin-top: 18px;
  padding: 13px 17px;
  background: #FBEDEA; border: 1px solid rgba(198, 73, 59, 0.35); border-radius: 10px;
  font-size: 0.88rem; color: var(--error);
}
.wizard-error.show { display: block; }
.review-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.review-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.review-row:last-child { border-bottom: 0; }
.review-row dt { flex: 0 0 42%; font-weight: 600; color: var(--ink-60); }
.review-row dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }
.success-screen { display: none; text-align: center; padding: clamp(30px, 5vw, 56px) 10px; }
.success-screen.show { display: block; animation: step-in 0.4s ease; }
.success-check {
  width: 78px; height: 78px; margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--teal-soft); border-radius: 50%;
  color: var(--teal-dark);
}
.success-check svg { width: 38px; height: 38px; }
.success-screen h2 { margin-bottom: 10px; }
.success-screen p { max-width: 34em; margin: 0 auto 10px; color: var(--ink-60); }
.case-number {
  display: inline-block; margin: 14px 0 20px;
  padding: 10px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  letter-spacing: 0.06em; color: var(--navy);
}
@media (max-width: 780px) {
  .form-grid { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav .btn { flex: 1 1 auto; }
  .review-row { flex-direction: column; gap: 3px; }
  .review-row dd { text-align: left; }
  .step-item .step-label { display: none; }
  .step-item.active .step-label { display: block; }
}
form[data-wizard] { scroll-margin-top: 90px; }
.success-screen:focus { outline: none; }
.wizard-error a { color: var(--error); font-weight: 600; }
.flatpickr-calendar {
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 36, 62, 0.18);
  border: 1px solid rgba(16, 36, 62, 0.08);
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
}
.flatpickr-months .flatpickr-month { border-radius: 14px 14px 0 0; }
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year { font-weight: 700; }
.flatpickr-day { border-radius: 8px; }
.flatpickr-day.today { border-color: #3E8CAE; }
.flatpickr-day.today:hover { background: rgba(62, 140, 174, 0.12); color: #10243E; }
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
  background: #175572;
  border-color: #175572;
}
.flatpickr-day:hover { background: rgba(14, 118, 104, 0.1); }
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg { fill: #175572; }
input[data-datepicker] { cursor: pointer; background: var(--white, #fff); }
.upload-panel {
  display: none;
  margin: 18px 0 0;
  padding: 18px 20px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  border-radius: var(--r-card);
}
.upload-panel.show { display: block; }
.upload-panel h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.upload-spinner {
  width: 18px; height: 18px; flex: 0 0 auto;
  border: 2px solid var(--teal-line);
  border-top-color: var(--teal-dark);
  border-radius: 50%;
  animation: up-spin 0.7s linear infinite;
}
@keyframes up-spin{ to { transform: rotate(360deg); } }
.upload-warn {
  margin: 0 0 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink);
}
.upload-warn strong { color: var(--teal-dark); }
.upload-bar {
  height: 10px;
  background: var(--white);
  border: 1px solid var(--teal-line);
  border-radius: 999px;
  overflow: hidden;
}
.upload-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal-btn), var(--teal));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.upload-meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem; color: var(--ink-60);
}
.upload-meta b { color: var(--navy); font-variant-numeric: tabular-nums; }
.upload-files { list-style: none; margin: 14px 0 0; padding: 0; }
.upload-files li {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0;
  font-size: 0.82rem; color: var(--ink-60);
  border-top: 1px solid var(--teal-line);
}
.upload-files li:first-child { border-top: none; }
.upload-files .uf-name {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upload-files .uf-state { flex: 0 0 auto; font-weight: 600; }
.upload-files li.done .uf-state { color: var(--success); }
.upload-files li.active .uf-state { color: var(--teal-dark); }
.upload-files li.failed .uf-state { color: var(--error); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .upload-spinner { animation-duration: 2.4s; }
  .upload-bar i { transition: none; }
}
.turnstile-box { margin: 0 0 16px; min-height: 65px; }
@media (max-width: 400px) {
  .turnstile-box { transform: scale(0.92); transform-origin: left center; }
}
@media (max-width: 720px) {
  .wizard-nav {
    position: sticky;
    bottom: 0;
    z-index: 30;
    margin-top: 28px;
    padding: 16px 0 calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.97) 20%,
      var(--white) 100%
    );
    border-top: 1px solid var(--line);
    flex-wrap: nowrap;
    gap: 10px;
  }
  .wizard-nav .btn {
    flex: 1 1 auto;
    min-height: 52px;
    padding-inline: 14px;
    font-size: 0.98rem;
  }
  .wizard-nav .btn-ghost { flex: 0 0 auto; min-width: 96px; }
  .wizard-nav .wizard-spacer { display: none; }
  .turnstile-box { justify-content: center; margin-bottom: 4px; }
  .wizard-step > h2 { font-size: 1.28rem; line-height: 1.28; }
  .wizard-step > .step-desc { margin-bottom: 20px; font-size: 0.92rem; }
  .field { margin-bottom: 18px; }
  .radio-cards { gap: 10px; }
}
.wizard-step.slide-fwd { animation: wz-fwd 0.32s cubic-bezier(0.22, 0.61, 0.36, 1); }
.wizard-step.slide-back { animation: wz-back 0.32s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes wz-fwd{ from { opacity: 0; transform: translate3d(18px,0,0); } to { opacity: 1; transform: none; } }
@keyframes wz-back{ from { opacity: 0; transform: translate3d(-18px,0,0); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  .field textarea, .field select {
    min-height: 48px;
    font-size: 16px;        /* mažesnis verstų iOS priartinti ekraną */
  }
  .field textarea { min-height: 110px; }
}
.turnstile-box { min-height: 68px; display: flex; align-items: center; }
.turnstile-box iframe { border-radius: 10px; display: block; }
@media (max-width: 400px) {
  .turnstile-box { transform: scale(0.94); transform-origin: left center; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wizard-step.slide-fwd, .wizard-step.slide-back { animation: none; }
}
.field label, .field .field-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label .req { color: var(--error); font-weight: 700; }
.field label .opt {
  margin-left: 6px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--ink-60); letter-spacing: 0;
}
.field .field-hint { font-size: 0.82rem; line-height: 1.55; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field input[type="url"],
.field select, .field textarea {
  border-radius: 12px;
  border-width: 1.5px;
  background: var(--white);
}
.field input::placeholder, .field textarea::placeholder {
  color: #9AA5B1;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(27, 94, 126, 0.15);
}
.field.is-valid input, .field.is-valid textarea, .field.is-valid select {
  border-color: rgba(20, 106, 78, 0.45);
}
.field.is-valid .field-ok {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px; font-size: 0.78rem; color: var(--success); font-weight: 600;
}
.field-ok { display: none; }
.field.invalid .field-ok { display: none; }
.field-error { align-items: center; gap: 6px; }
.field.invalid .field-error { display: flex; }
.field.invalid input, .field.invalid select, .field.invalid textarea {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.1);
}
.radio-card {
  padding: 15px 16px;
  border-radius: 14px;
}
.radio-card:hover { border-color: var(--teal); background: #FCFEFE; }
.radio-card.is-checked,
.radio-card:has(input:checked) {
  border-color: var(--teal-dark);
  background: var(--teal-soft);
  box-shadow: 0 0 0 1.5px var(--teal-dark) inset;
}
.radio-card input:focus-visible ~ .rc-dot {
  box-shadow: 0 0 0 3px rgba(27, 94, 126, 0.3);
}
.file-drop { border-radius: 14px; border-width: 2px; }
.file-drop.dragover { border-style: solid; }
.review-list { border-radius: 14px; }
.review-row { align-items: baseline; }
.review-row dd:empty::after { content: "nenurodyta"; color: #9AA5B1; font-weight: 400; }
.review-group-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.review-group-head b {
  font-family: var(--font-head); font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
}
.review-edit {
  background: none; border: 0; padding: 4px 8px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  color: var(--teal-dark); cursor: pointer; border-radius: 8px;
}
.review-edit:hover { background: var(--teal-soft); text-decoration: underline; }
@media (max-width: 720px) {
  .field label, .field .field-label { font-size: 0.92rem; }
  .radio-card { padding: 14px 14px; }
}
.turnstile-box { flex-wrap: wrap; }
.ts-fallback {
  flex: 1 1 100%;
  margin: 10px 0 0;
  padding: 11px 14px;
  background: #FBEDEA;
  border: 1px solid rgba(198, 73, 59, 0.3);
  border-radius: 10px;
  font-size: 0.85rem; line-height: 1.6; color: var(--error);
}
.ts-fallback a { color: var(--error); font-weight: 700; }
.nav-error {
  display: none;
  flex: 1 1 100%;
  order: -1;
  margin: 0 0 10px;
  padding: 10px 14px;
  background: #FBEDEA;
  border: 1px solid rgba(198, 73, 59, 0.32);
  border-radius: 10px;
  font-size: 0.86rem; font-weight: 600; line-height: 1.45;
  color: var(--error);
}
.nav-error.show { display: block; }
.nav-error::before {
  content: "";
  display: inline-block;
  width: 15px; height: 15px;
  margin-right: 8px;
  vertical-align: -3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm0 6v6m0 3v1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm0 6v6m0 3v1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wizard-nav { flex-wrap: wrap; }
.field.shake, .shake { animation: field-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes field-shake{
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}
.radio-card:focus-visible, .radio-card:focus {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .field.shake, .shake { animation: none; }
}
@media (max-width: 900px) {
  body.is-wizard { padding-bottom: 0; }
  body.is-wizard .mobile-cta { display: none; }
}
@media (max-width: 900px) {
  .field input[type="text"], .field input[type="email"], .field input[type="tel"],
  .field input[type="number"], .field input[type="date"], .field input[type="url"],
  .field select, .field textarea {
    font-size: 16px;
    min-height: 50px;
  }
  .field textarea { min-height: 120px; }
}
@media (max-width: 720px) {
  .review-row { flex-direction: column; gap: 4px; padding: 12px 14px; }
  .review-row dt { flex: none; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .review-row dd { text-align: left; font-size: 0.94rem; }
}
@media (max-width: 720px) {
  .upload-files li { flex-wrap: wrap; row-gap: 2px; }
  .upload-files .uf-name { flex: 1 1 100%; }
  .upload-panel { padding: 16px 14px; }
  .upload-warn { font-size: 0.82rem; }
}
.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.wizard-layout > aside, .wizard-layout > div:last-child { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .wizard-layout > aside, .wizard-layout > div:last-child { position: static; }
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  /* Virš antraštės (z-index 100), kitaip juosta liktų po ja ir nesimatytų.
     Antraštė gali pasislėpti slenkant žemyn, todėl juosta turi būti
     nepriklausoma — ji lieka matoma visada. */
  z-index: 120;
  background: transparent;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.scroll-progress.show { opacity: 1; }
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--teal-btn) 0%, var(--teal) 100%);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}
@media print {
  .scroll-progress { display: none; }
}
/* radio kortelė yra <label> lauko viduje — „.field label { display:block }"
   ją paversdavo bloku ir taškas atsidurdavo virš teksto */
.field label.radio-card { display: flex; margin-bottom: 0; font-family: var(--font-body); }
.field label.radio-card b { font-family: var(--font-head); }
.wizard-layout aside .service-card .tlink { min-height: 44px; }

p.why-note > a.tlink { display: inline-flex; min-height: 44px; }

/* mažiausi telefonai (≤380 px): antraštė, lentelės */
@media (max-width: 600px) {
  .terms-card .data-table th:last-child { white-space: normal; }
  .terms-card .data-table th, .terms-card .data-table td { padding: 10px 10px; }
}
@media (max-width: 380px) {
  .nav-actions .btn-small { display: none; }
  .data-table.row-headers td { white-space: normal; }
  .data-table th, .data-table td { padding: 10px; }
}
