/* =========================================================
   ai, jo! — komponentai ir išdėstymas
   Spalvos tik per tokens.css kintamuosius.
   ========================================================= */

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
  color: var(--fg-on-violet); background: var(--violet);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; color: var(--fg); text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
section, header, footer, nav.anchor-nav { background: var(--bg); color: var(--fg); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--lime); color: var(--fg-on-lime); padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }
.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; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
.split > .a { grid-column: 1 / span 5; }
.split > .b { grid-column: 7 / span 6; }
.split--wide > .a { grid-column: 1 / span 6; }
.split--wide > .b { grid-column: 8 / span 5; }

/* ---------- Tipografijos pagalbiniai ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); line-height: 1.3;
}
.eyebrow::before {
  content: "!"; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mark-bg); color: var(--fg-on-lime);
  font-size: 0.8125rem; letter-spacing: 0;
}
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 54ch; color: var(--fg); }
.muted { color: var(--fg-muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }
.prose > * + * { margin-top: var(--s-4); }
.prose p { max-width: 62ch; }
.accent { color: var(--accent); }
.stack > * + * { margin-top: var(--s-5); }

/* ---------- Logotipas ---------- */
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1;
  letter-spacing: -0.02em; color: var(--lime); text-decoration: none;
  display: inline-flex; align-items: baseline;
}
.on-cream .logo, .on-lilac .logo { color: var(--violet); }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn .arr { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--lime); color: var(--fg-on-lime); }
.btn--primary:hover { background: var(--lime-hover); }
.on-lime-surface .btn--primary, .on-lilac .btn--primary { background: var(--violet); color: var(--cream); }
.on-lilac .btn--primary:hover { background: var(--violet-3); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.9375rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  font-weight: 700; text-decoration: none; color: var(--fg);
}
.link-arrow .arr { transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(4px); }
.link-arrow span:first-child { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--dur-med) var(--ease-out); }
.link-arrow:hover span:first-child { background-size: 100% 2px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Peržiūros juosta ---------- */
.preview-bar { position: relative; z-index: var(--z-bar); background: var(--lilac); color: var(--fg-on-lilac); font-size: var(--fs-small); line-height: 1.4; --focus: var(--violet); }
.preview-bar .container { display: flex; align-items: center; justify-content: center; gap: var(--s-4); min-height: 44px; padding-block: 6px; text-align: center; }
.preview-bar p { flex: 1; }
.preview-bar button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.preview-bar button:hover { background: rgba(36, 23, 47, 0.1); }
.preview-bar .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); border-bottom: 1px solid transparent; transition: border-color var(--dur-med) var(--ease-out); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 80px; }
.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav-list { display: flex; gap: var(--s-6); list-style: none; padding: 0; }
.nav-list a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 500; font-size: 0.9875rem; color: var(--fg-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-list a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); transform: translateX(-50%) scale(0); transition: transform var(--dur-med) var(--ease-spring);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--fg); }
.nav-list a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.menu-toggle { display: none; width: 48px; height: 48px; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--violet); color: var(--cream);
  display: flex; flex-direction: column; padding: var(--s-4) var(--gutter) var(--s-7);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 160ms var(--ease-in), transform 160ms var(--ease-in), visibility 0s linear 160ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.mobile-menu-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; }
.mobile-menu ul { list-style: none; padding: 0; margin-top: var(--s-8); display: grid; gap: var(--s-2); }
.mobile-menu ul a { display: flex; align-items: center; gap: var(--s-3); min-height: 60px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 2.125rem; letter-spacing: -0.02em; }
.mobile-menu ul a[aria-current="page"] { color: var(--lime); }
.mobile-menu .btn { margin-top: auto; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 120px) clamp(64px, 8vw, 128px); }
.hero h1 { font-size: var(--fs-hero); line-height: 0.98; letter-spacing: -0.035em; max-width: 13ch; }
.hero h1 .brand { color: var(--lime); display: inline-block; white-space: nowrap; }
.hero .copy { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); align-items: end; }
.hero .copy .txt { grid-column: 1 / span 7; }
.hero .copy .txt p + p { margin-top: var(--s-4); }
.hero .copy .cta { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.hero .copy .cta .small { color: var(--fg-muted); }
.hero-glyph {
  position: absolute; right: calc(var(--gutter) * -0.2); top: 50%; transform: translateY(-58%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(14rem, 34vw, 34rem); line-height: 0.8;
  color: var(--violet-2); pointer-events: none; user-select: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* „aijo!“ → „ai, jo!“ akimirka */
.brand .bj { display: inline-block; }
.brand .comma { display: inline-block; }
html.js-ready .brand.is-pre .right { transform: translateX(var(--shift, -0.5em)); }
html.js-ready .brand.is-pre .comma { opacity: 0; transform: translateY(-0.4em) scale(0.4); }
html.js-ready .brand .right { display: inline-block; transition: transform 620ms var(--ease-spring); }
html.js-ready .brand .comma { transition: opacity 260ms var(--ease-out) 260ms, transform 520ms var(--ease-spring) 260ms; }

/* ---------- Puslapio hero (vidiniai) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 120px) clamp(56px, 7vw, 104px); }
.page-hero h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch; margin-top: var(--s-5); }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero .prose { margin-top: var(--s-5); }
.page-hero .actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

/* ---------- Sekcijų antraštės ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head > :first-child { grid-column: 1 / span 7; }
.sec-head > :last-child:not(:first-child) { grid-column: 9 / span 4; }
.sec-head h2 { margin-top: var(--s-4); }

/* ---------- Mokymų temos ---------- */
.topics { list-style: none; padding: 0; counter-reset: t; border-top: 1px solid var(--line); }
.topics li {
  counter-increment: t; display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5);
  padding-block: var(--s-6); border-bottom: 1px solid var(--line); align-items: baseline;
}
.topics li::before { content: "0" counter(t); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--accent); }
.topics h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.15; }
.topics p { color: var(--fg-muted); max-width: 56ch; }

/* ---------- Teiginio juosta ---------- */
.statement { padding-block: clamp(88px, 11vw, 168px); position: relative; overflow: hidden; }
.statement p.big { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-statement); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; color: var(--fg); }
.statement .actions { margin-top: var(--s-7); }

/* ---------- Komandų skirtukai ---------- */
.tabs { margin-top: var(--s-6); }
.tablist { display: inline-flex; flex-wrap: wrap; gap: var(--s-2); padding: 6px; border-radius: var(--r-pill); background: var(--surface); }
.tablist [role="tab"] {
  min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.9375rem; color: var(--fg-muted);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.tablist [role="tab"]:hover { color: var(--fg); }
.tablist [role="tab"][aria-selected="true"] { background: var(--lime); color: var(--fg-on-lime); }
.tabpanel { margin-top: var(--s-5); padding: var(--s-6); border-radius: var(--r-md); background: var(--surface); min-height: 132px; }
.tabpanel p { font-size: var(--fs-lead); line-height: 1.5; }
.tabpanel .who { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); display: block; }
html.js-ready .tabpanel[data-anim] { animation: panel-in var(--dur-slow) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs-nojs .tabpanel + .tabpanel { margin-top: var(--s-4); }

/* ---------- Paslaugų poros (pradžia) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.svc-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-5); }
.svc-card .tagline { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
.svc-card p { color: var(--fg-muted); }
.svc-card .card-foot { margin-top: auto; padding-top: var(--s-3); }

/* ---------- Diagramos (animuotos, interaktyvios) ---------- */
.dg {
  background: var(--cream); color: var(--fg-on-cream); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px); position: relative;
  --focus: var(--violet);
}
.dg-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.dg-head .lbl { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted-on-cream); }
.dg-replay {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(36, 23, 47, 0.18); font-size: 0.8125rem; font-weight: 700; color: var(--violet);
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.dg-replay:hover { border-color: var(--violet); }
.dg-replay svg { width: 16px; height: 16px; transition: transform var(--dur-slow) var(--ease-out); }
.dg-replay:active svg { transform: rotate(-200deg); }
.dg svg.dg-svg { width: 100%; height: auto; overflow: visible; }
.dg .ln { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg .ln-soft { fill: none; stroke: rgba(36, 23, 47, 0.28); stroke-width: 1.75; stroke-linecap: round; }
.dg .ln-dash { fill: none; stroke: rgba(36, 23, 47, 0.38); stroke-width: 1.75; stroke-dasharray: 4 6; stroke-linecap: round; }
.dg .nd { fill: #fff; stroke: var(--violet); stroke-width: 2; }
.dg .nd-ghost { fill: var(--cream); stroke: rgba(36, 23, 47, 0.42); stroke-width: 1.75; stroke-dasharray: 4 5; }
.dg .nd-key { fill: var(--lime); stroke: var(--violet); stroke-width: 2; }
.dg .nd-lilac { fill: var(--lilac); stroke: var(--violet); stroke-width: 2; }
.dg .t { font-family: var(--font-body); font-size: 13px; fill: var(--fg-muted-on-cream); }
.dg .t-strong { font-family: var(--font-display); font-weight: 700; font-size: 14px; fill: var(--violet); }
.dg .t-mark { font-family: var(--font-display); font-weight: 800; font-size: 13px; fill: var(--violet); }
.dg [data-node] { transition: opacity var(--dur-med) var(--ease-out); }
.dg-legend { list-style: none; padding: 0; margin-top: var(--s-5); display: grid; gap: var(--s-2); counter-reset: s; }
.dg-legend button {
  counter-increment: s; width: 100%; text-align: left; display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); align-items: start;
  padding: 10px 12px; border-radius: 14px; min-height: 44px; color: var(--fg-on-cream);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.dg-legend button::before {
  content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; background: rgba(36, 23, 47, 0.08); color: var(--violet);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.dg-legend button:hover, .dg-legend button[aria-pressed="true"] { background: var(--cream-2); }
.dg-legend button[aria-pressed="true"]::before { background: var(--lime); }
.dg-legend b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.dg-legend span { display: block; font-size: 0.875rem; line-height: 1.45; color: var(--fg-muted-on-cream); }
.dg-note { margin-top: var(--s-4); font-size: 0.8125rem; color: var(--fg-muted-on-cream); }

/* Aktyvus žingsnis: kiti prigęsta */
.dg[data-active] [data-node] { opacity: 0.28; }
.dg[data-active="1"] [data-node~="1"], .dg[data-active="2"] [data-node~="2"], .dg[data-active="3"] [data-node~="3"] { opacity: 1; }

/* Seka: be JS viskas matoma (pilna prasmė). Su JS — rodoma etapais. */
html.js-ready .dg:not(.is-played) [data-seq] { opacity: 0; transform: translateY(6px); }
html.js-ready .dg:not(.is-played) [data-draw] { stroke-dashoffset: 1; }
html.js-ready .dg:not(.is-played) [data-pop] { opacity: 0; transform: scale(0.6); }
html.js-ready .dg [data-seq] { transform-box: fill-box; transform-origin: center; transition: opacity 380ms var(--ease-out) var(--d, 0ms), transform 380ms var(--ease-out) var(--d, 0ms); }
html.js-ready .dg [data-draw] { stroke-dasharray: 1; transition: stroke-dashoffset 520ms var(--ease-out) var(--d, 0ms); }
html.js-ready .dg [data-pop] { transform-box: fill-box; transform-origin: center; transition: opacity 300ms var(--ease-out) var(--d, 0ms), transform 520ms var(--ease-spring) var(--d, 0ms); }
html.js-ready .dg.is-resetting * { transition: none !important; }
/* Kai aktyvus žingsnis, perėjimai be vėlavimo */
.dg[data-active] [data-node] { transition-delay: 0ms !important; }

/* Atranka: atmestas kelias po sekos prigęsta */
html.js-ready .dg.is-played .reject { opacity: 0.55; transition: opacity 400ms var(--ease-out) 1900ms; }
/* Kasdienis darbas / auto: trumpas „ai, jo!“ pulsas */
.dg .pulse { transform-box: fill-box; transform-origin: center; }
html.js-ready .dg.is-played .pulse { animation: pulse 900ms var(--ease-out) var(--pd, 1600ms) 1 both; }
@keyframes pulse { 0% { opacity: 0; transform: scale(0.9); } 30% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.5); } }

/* Nuotraukos vieta ateičiai: <img class="svc-photo"> prieš .dg */
.svc-media { display: grid; gap: var(--s-5); align-content: start; }
.svc-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--violet-2); }

/* ---------- Paslaugų puslapis ---------- */
.anchor-nav { position: sticky; top: 80px; z-index: 30; border-block: 1px solid var(--line); }
.anchor-nav ul { list-style: none; padding: 0; display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); white-space: nowrap;
  text-decoration: none; font-weight: 700; font-size: 0.9375rem; color: var(--fg-muted);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.anchor-nav a:hover { color: var(--fg); }
.anchor-nav a.is-active { background: var(--lime); color: var(--fg-on-lime); }

.svc { border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }
.svc-text { grid-column: 1 / span 6; }
.svc-media { grid-column: 8 / span 5; position: sticky; top: 168px; }
.svc.is-flip .svc-text { grid-column: 7 / span 6; grid-row: 1; }
.svc.is-flip .svc-media { grid-column: 1 / span 5; grid-row: 1; }
.svc h2 { margin-top: var(--s-4); }
.svc .intro { margin-top: var(--s-5); }
.svc-block { margin-top: var(--s-7); }
.svc-block h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.svc-block p { color: var(--fg-muted); max-width: 60ch; }
.svc-block p + p { margin-top: var(--s-3); }
.bul { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.bul li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: baseline; color: var(--fg-muted); }
.bul li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.bul li b { color: var(--fg); font-weight: 700; }
.price {
  margin-top: var(--s-7); padding: clamp(24px, 3vw, 32px); border-radius: var(--r-md);
  background: var(--lilac); color: var(--fg-on-lilac); --fg: var(--fg-on-lilac); --fg-muted: var(--fg-muted-on-lilac); --focus: var(--violet);
}
.price .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.price p { color: var(--fg-muted); margin-top: var(--s-3); max-width: 58ch; }
.price .btn { margin-top: var(--s-5); background: var(--violet); color: var(--cream); }
.price .btn:hover { background: var(--violet-3); }

/* ---------- Procesas (Apie) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); counter-reset: st; }
.steps li { counter-increment: st; background: var(--surface); border-radius: var(--r-md); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--fg-on-lime); font-family: var(--font-display); font-weight: 800; margin-bottom: var(--s-3); }
.steps h3 { font-size: 1.1875rem; line-height: 1.25; }
.steps p { color: var(--fg-muted); font-size: 1rem; }

.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.paths article { border-top: 2px solid var(--fg); padding-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.paths .when { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-small); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.paths h3 { font-size: var(--fs-h3); }
.paths p { color: var(--fg-muted); }

/* ---------- DUK ---------- */
.faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
.faq-layout > .side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.faq-layout > .main { grid-column: 6 / span 7; }
.faq-side-sticky { position: sticky; top: 120px; }
.faq-cats { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.faq-cats a { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; text-decoration: none; font-weight: 700; color: var(--fg-muted); }
.faq-cats a:hover { color: var(--fg); }
.faq-cats a .n { font-family: var(--font-display); font-size: 0.8125rem; color: var(--accent); min-width: 2ch; }
.faq-group + .faq-group { margin-top: var(--s-9); }
.faq-group h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--s-5); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);
  min-height: 76px; padding-block: var(--s-4);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.3; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center;
  transition: transform var(--dur-med) var(--ease-spring), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.faq summary .pm svg { width: 16px; height: 16px; }
.faq summary:hover .pm { border-color: var(--fg); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); color: var(--fg-on-lime); }
.faq .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-med) var(--ease-out); }
.faq details[open] .answer { grid-template-rows: 1fr; }
.faq .answer > div { overflow: hidden; }
.faq .answer .inner { padding-bottom: var(--s-5); padding-right: var(--s-8); color: var(--fg-muted); max-width: 64ch; }
.faq .answer .inner > * + * { margin-top: var(--s-3); }
.faq .answer ul { padding-left: 1.2em; }

/* ---------- CTA juosta ---------- */
.cta-band { padding-block: clamp(88px, 11vw, 168px); }
.cta-band .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; font-size: var(--fs-statement); line-height: 1.02; letter-spacing: -0.035em; }
.cta-band .side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.cta-band .side p { color: var(--fg-muted); }

/* ---------- Forma ---------- */
.form-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }
.form-wrap > .info { grid-column: 1 / span 4; }
.form-wrap > .form-card { grid-column: 6 / span 7; }
.form-card { background: var(--cream); color: var(--fg-on-cream); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); --focus: var(--violet); --fg: var(--fg-on-cream); --fg-muted: var(--fg-muted-on-cream); --line: rgba(36, 23, 47, 0.16); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 0.9375rem; color: var(--fg-on-cream); }
.field .req { color: var(--lilac-ink); }
.field .opt { font-weight: 500; color: var(--fg-muted-on-cream); font-size: 0.8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid rgba(36, 23, 47, 0.28); background: #fff; color: var(--fg-on-cream); font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(36, 23, 47, 0.5); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--lilac); }
.field .help { font-size: 0.8125rem; color: var(--fg-muted-on-cream); }
.field .err { font-size: 0.875rem; font-weight: 700; color: #9B1C3A; display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9B1C3A; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); border: 0; padding: 0; }
.chips legend { margin-bottom: var(--s-2); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field.chips { flex-direction: row; flex-wrap: wrap; }
.chips label > span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(36, 23, 47, 0.28); font-weight: 700; font-size: 0.9375rem; cursor: pointer; background: #fff;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.chips label > span:hover { border-color: var(--violet); }
.chips input:checked + span { background: var(--lime); border-color: var(--violet); }
.chips input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.form-foot .small { color: var(--fg-muted-on-cream); max-width: 34ch; }
.form-foot .small a { font-weight: 700; }
.form-card .btn--primary { background: var(--violet); color: var(--cream); }
.form-card .btn--primary:hover { background: var(--violet-3); }
.form-card .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: 14px; font-weight: 700; }
.form-status[data-state="ok"] { background: var(--lime); color: var(--fg-on-lime); }
.form-status[data-state="error"] { background: #F6D9DF; color: #6E1027; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.contact-list a { font-weight: 700; }

/* ---------- Teisiniai ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: var(--s-7); margin-bottom: var(--s-3); }
.legal p { color: var(--fg-muted); }
.notice { background: var(--surface); border-radius: var(--r-md); padding: var(--s-5); font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-8) var(--s-6); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
.footer-grid .f-brand { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s-4); }
.footer-grid .f-brand .logo { font-size: 2.5rem; }
.footer-grid .f-brand p { color: var(--fg-muted); max-width: 36ch; font-size: var(--fs-small); }
.footer-grid .f-col { grid-column: span 2; }
.footer-grid .f-col:first-of-type { grid-column: 7 / span 2; }
.f-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: var(--s-3); }
.f-links { list-style: none; padding: 0; }
.f-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-size: 0.9375rem; }
.f-links a:hover { color: var(--lime); }
.footer-bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); color: var(--fg-muted); font-size: var(--fs-small); }

/* ---------- 404 ---------- */
.err-page { min-height: 70vh; display: grid; align-items: center; }
.err-page .glyph { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); line-height: 0.9; color: var(--lime); }

/* ---------- Atsiradimas slenkant ---------- */
html.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
html.js-ready .reveal.is-in { opacity: 1; transform: none; }

/* ---------- ?redaguoti ---------- */
html.edit-mode [data-edit] { outline: 2px dashed var(--lilac); outline-offset: 4px; position: relative; }
html.edit-mode .on-cream [data-edit], html.edit-mode .on-lilac [data-edit], html.edit-mode .dg [data-edit] { outline-color: var(--lilac-ink); }
html.edit-mode [data-edit]::after {
  content: attr(data-edit); position: absolute; top: -14px; left: 0; z-index: 5;
  font: 700 11px/1.4 var(--font-body); background: var(--lime); color: var(--fg-on-lime);
  padding: 2px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-list, .nav .btn { display: none; }
  .menu-toggle { display: grid; }
  .split > .a, .split > .b, .split--wide > .a, .split--wide > .b { grid-column: 1 / -1; }
  .split { row-gap: var(--s-7); }
  .sec-head > :first-child, .sec-head > :last-child:not(:first-child) { grid-column: 1 / -1; }
  .hero .copy .txt, .hero .copy .cta { grid-column: 1 / -1; }
  .hero .copy { row-gap: var(--s-6); }
  .duo { grid-template-columns: 1fr; }
  .svc-text, .svc-media, .svc.is-flip .svc-text, .svc.is-flip .svc-media { grid-column: 1 / -1; grid-row: auto; position: static; }
  .svc-media { margin-top: var(--s-7); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq-layout > .side, .faq-layout > .main { grid-column: 1 / -1; }
  .faq-side-sticky { position: static; }
  .cta-band h2, .cta-band .side { grid-column: 1 / -1; }
  .form-wrap > .info, .form-wrap > .form-card { grid-column: 1 / -1; }
  .form-wrap { row-gap: var(--s-7); }
  .footer-grid .f-brand { grid-column: 1 / -1; }
  .footer-grid .f-col, .footer-grid .f-col:first-of-type { grid-column: span 4; }
  .topics li { grid-template-columns: 56px 1fr; }
  .topics li p { grid-column: 2; }
}
@media (max-width: 767px) {
  .hero-glyph { opacity: 0.35; }
  .hero .copy .cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .faq .answer .inner { padding-right: 0; }
  .footer-grid .f-col, .footer-grid .f-col:first-of-type { grid-column: span 6; }
  .topics li { grid-template-columns: 1fr; gap: var(--s-2); padding-block: var(--s-5); }
  .topics li p { grid-column: 1; }
  .tabpanel { padding: var(--s-5); }
  .statement .actions .btn, .cta-band .side .btn { width: 100%; }
}

/* ---------- Mažesnis judesys ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  html.js-ready .reveal { opacity: 1; transform: none; }
  html.js-ready .dg [data-seq], html.js-ready .dg [data-pop] { opacity: 1 !important; transform: none !important; }
  html.js-ready .dg [data-draw] { stroke-dashoffset: 0 !important; }
  html.js-ready .dg .pulse { display: none; }
  html.js-ready .brand.is-pre .right, html.js-ready .brand.is-pre .comma { transform: none; opacity: 1; }
  .dg-replay { display: none; }
}

/* Diagrama šviesioje sekcijoje */
.on-cream .dg { background: #FBF9F5; box-shadow: inset 0 0 0 1px rgba(36, 23, 47, 0.1); }
.svc-card .tagline { color: var(--lilac); }
