/*
 * GLAUBIC svetainės stilius (vienintelis naujo dizaino stilių failas).
 * Šaltinis: svetainės maketas pagal GLAUBIC Brandbook 2026.
 * Pakeitus failą, padidinkite lib/brand.js ASSET_VERSION ir paleiskite npm run version:sync.
 *
 * Tvarka: šriftai, tokenai ir bendros dalys (antraštė, poraštė, dovanų juosta,
 * slapukai, langai), pagrindinio puslapio skiltys, pabaigoje DUK ir teisinių
 * puslapių dalys.
 */

/* ---------- Šriftai: savame serveryje, latin + latin-ext (lietuviškos raidės) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-700-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-latin-700-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-800-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-800-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-ext-400-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-400-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-ext-600-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-600-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-ext-700-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-latin-700-normal.woff2?v=20261004") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Spalvos pagal GLAUBIC Brandbook 2026, 09–11 psl. */
:root {
  --violet-100: #ECEEFB;
  --violet-200: #D3D7F4;
  --violet-300: #B8BDEE;
  --violet-400: #A9ADEC;
  --violet-500: #9AA2E6;
  --violet-600: #8B93E2;
  --violet-700: #7079CF;
  --coral: #FF6A3D;
  --yellow: #FFED00;
  /* Šviesus geltonos atspalvis (~16 % --yellow ant baltos): neteisingai užpildyto lauko fonas.
   * Laukia savininko patvirtinimo kaip Brandbook atspalvis (PLAYBOOK §10). */
  --yellow-100: #FFFBD6;
  --ink-900: #241D2B;
  --ink-800: #322838;
  --ink-600: #6B6072;
  --ink-300: #CBC4D0;
  --paper: #F5F5F3;
  --white: #FFFFFF;
  --fog: linear-gradient(160deg, #FCFCFF 0%, #F2F3FB 50%, #E6E9F7 100%);

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  /* Apvalinimai: panelės ir kortelės pagal maketą, vidiniai blokai, laukai ir smulkūs pranešimai */
  --radius-panel: 28px;
  --radius-card: 24px;
  --radius-block: 18px;
  --radius-field: 14px;
  --radius-small: 10px;
  --radius-pill: 999px;
  --wrap: 1200px;
  /* Bent 24 px nuo ekrano krašto: logotipo apsaugos zona (brandbook 08 psl.) */
  --gutter: clamp(24px, 4vw, 48px);
  --section: clamp(56px, 8vw, 104px);

  /* Judesys: trumpi perėjimai be atšokimų, be nuolatinių dekoratyvių animacijų */
  --ease-brand: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;

  /* Fiksuotos juostos: aukščiai ir sluoksniai vienoje vietoje.
   * Apatinė dovanų juosta: --promo-gap + --promo-h + --promo-gap nuo ekrano apačios. */
  --header-h: 73px;
  --promo-h: 60px;
  --promo-gap: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --promo-space: calc(var(--promo-h) + 2 * var(--promo-gap) + var(--safe-bottom));
  --z-promo: 40;
  --z-header: 50;
  --z-cookies: 60;
  --z-skip: 100;

  /* Tamsų režimą naršyklė gali pritaikyti savavališkai; svetainė tik šviesi */
  color-scheme: only light;
}
@media (max-width: 560px) { :root { --promo-h: 56px; } }

* { box-sizing: border-box; }
/* Fokusuotas elementas neatsiduria po lipnia antrašte ar apatine dovanų juosta */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 15px);
  scroll-padding-bottom: calc(var(--promo-space) + 16px);
}
/* Kol atvira slapukų juosta (dovanų juosta tada paslėpta), rezervuojamas jos aukštis */
html.cookies-open { scroll-padding-bottom: calc(var(--cookies-h, 320px) + 36px + var(--safe-bottom)); }
/* Šriftų dydžiai rem (1rem = naršyklės numatytasis dydis, įprastai 16 px), kad
 * tekstas didėtų pagal lankytojo naršyklės nustatymą (WCAG 1.4.4). clamp()
 * vidurinė dalis su rem dalimi (pvz. 1rem + 2.48vw). Teksto valdikliams
 * aukštis per min-height, ne height. Naujų font-size px nerašyti. */
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  /* Ilgas žodis ar el. pašto adresas, netelpantis eilutėje, perkeliamas (didelis šriftas, siauras ekranas) */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
/* Praleidimo nuoroda: pirmas Tab paspaudimas puslapyje */
.skip-link {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  top: -200px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink-800);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* Be JavaScript nereikalingi valdikliai slepiami; atsarginis turinys rodomas tik be JS */
html:not(.js) .js-only { display: none !important; }
.js .nojs-only { display: none !important; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  /* viewport-fit=cover: turinys neužlenda po iPhone išpjova gulsčiame režime */
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Buvę style="…" atributai (CSP style-src be 'unsafe-inline'): SVG simbolių
 * rinkinys puslapio pradžioje ir formos, kurių laukai išdėstomi lango tėvo tinklelyje */
.svg-sprite { position: absolute; }
.form-contents { display: contents; }

/* Kapsulės: brandbook 14–15 psl. Informacinės žymos nėra paspaudžiamos. */
/* Aukštis per min-height: padidinus tarpus tarp eilučių (WCAG 1.4.12) kapsulė auga, o ne nukerpa tekstą */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink-800);
  font-size: 1rem;
  white-space: nowrap;
  border: 0;
  font-family: var(--font-body);
}
.pill--sm { min-height: 32px; padding: 0 14px; font-size: 0.875rem; }
/* „Gyvi mokymai…“: statinė kapsulė su koraliniu rėmeliu (be gradiento ir animacijos).
 * Ilga kapsulė siaurame ekrane lūžta į dvi eilutes. */
.pill--live {
  border: 2px solid var(--coral);
  text-decoration: none;
  white-space: normal;
  text-align: center;
  padding-block: 3px;
  transition: background-color var(--dur-fast) var(--ease-brand);
}
.pill--live:hover, .pill--live:focus-visible { background: var(--yellow); }
.pill--violet { background: var(--violet-200); }
.pill--yellow { background: var(--yellow); }

/* Mygtukai: CTA koralinis, tekstas rašalo tonu. Užvedus fonas netampa tamsus:
 * CTA gauna rašalo rėmelį, balti ir permatomi mygtukai nusidažo spalva. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand), transform var(--dur-fast) var(--ease-brand);
}
.btn--cta { background: var(--coral); color: var(--ink-800); }
.btn--cta:hover, .btn--cta:focus-visible { border-color: var(--ink-800); }
.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--ink-800); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--coral); border-color: var(--coral); }
.btn--white { background: var(--white); color: var(--ink-800); border-color: var(--white); }
.btn--white:hover, .btn--white:focus-visible { background: var(--yellow); border-color: var(--yellow); }
.btn--ghost:active, .btn--cta:active, .btn--white:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }
.btn--cta:disabled:hover { background: var(--coral); border-color: transparent; color: var(--ink-800); }
.btn--ghost:disabled:hover { background: transparent; border-color: var(--ink-800); }
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--ink-800);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 1rem + 2.48vw, 3.25rem); margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 1.1875rem; }

/* Ikonos: GLAUBIC ikonų sistemos neturi. Svetainėje naudojamos tik kelios
 * Lucide (ISC licencija) linijinės ikonos, 2 px: Instagram ir rodyklės.
 * Dovanų mygtukuose ir juostose tik tekstas. */

/* ---------- Dovanų baneris: plaukiojanti juosta ekrano apačioje ----------
 * DOM'e ji yra po poraštės (Tab ją pasiekia po puslapio turinio). Vietą
 * puslapio pabaigoje rezervuoja poraštės apatinis tarpas, fokusui
 * html scroll-padding-bottom. Bėganti eilutė yra tekstas (ne nuoroda);
 * dovanos langą atveria mygtukas „Pasirinkti dovaną“, eilutę galima sustabdyti. */
.promo-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--promo-gap) + var(--safe-bottom));
  z-index: var(--z-promo);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  pointer-events: none;
}
/* Kol atvira slapukų juosta, dovanų juosta nerodoma (dvi juostos neuždengia ekrano) */
html.cookies-open .promo-wrap { display: none; }
.promo-bar {
  pointer-events: auto;
  position: relative;
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 48px);
  margin: 0 auto;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 18px;
  /* Nepermatoma balta su rašalo rėmeliu, kaip slapukų juosta (be suliejimo ir šešėlio) */
  background: var(--white);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 2px var(--ink-800);
}
/* position: relative: paslėpti taškai (visually-hidden, absolute) lieka
 * nukirptame .promo. Kai eilutė nebėga (be JS, „mažiau judesio“), .promo-track
 * neturi transform, ir be šios eilutės jie išplėstų puslapį į šoną žemame lange,
 * kur dovanų juosta nebeprikabinta (WCAG 1.4.10). */
.promo {
  position: relative;
  flex: 1;
  min-width: 0;
  display: block;
  margin: 0;
  color: var(--ink-800);
  overflow: hidden;
  white-space: nowrap;
  font-size: 1rem;
  line-height: var(--promo-h);
  cursor: pointer;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
/* Eilutė bėga tik su JS (tada yra ir sustabdymo mygtukas, WCAG 2.2.2);
 * be JS rodoma statiškai: pirma grupė, nukirpta juostos krašte */
.promo-track { display: inline-flex; }
.js .promo-track { animation: promo-scroll 32s linear infinite; }
.promo:hover .promo-track, .promo-wrap.is-paused .promo-track { animation-play-state: paused; }
.promo-group { display: inline-flex; flex-shrink: 0; align-items: center; }
.promo-item { padding: 0 22px; }
.promo-sep { color: var(--coral); font-weight: 700; }
@keyframes promo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Bėgančios eilutės sustabdymas (WCAG 2.2.2); mygtuką parodo site.js */
.promo-pause {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--ink-800);
  background: var(--white);
  color: var(--ink-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand);
}
.promo-pause:hover, .promo-pause:focus-visible { background: var(--yellow); }
.promo-pause svg { width: 14px; height: 14px; display: block; }
.promo-pause .icon-play { margin-left: 2px; }
.promo-pause .icon-play, .promo-wrap.is-paused .promo-pause .icon-pause { display: none; }
.promo-wrap.is-paused .promo-pause .icon-play { display: block; }
.promo-cta { flex-shrink: 0; min-height: 44px; padding: 0 18px; font-size: 1rem; gap: 8px; }
/* Siaurame ekrane vietoj „Pasirinkti dovaną“ trumpas tekstas „Dovana“ (jis ir yra nuorodos vardas) */
.promo-cta-short { display: none; }
@media (max-width: 560px) {
  .promo-bar { gap: 8px; padding-left: 12px; }
  .promo { font-size: 0.9375rem; }
  /* Didesnis specifiškumas nei bendros telefono .btn taisyklės */
  .promo-bar .promo-cta { min-height: 44px; padding: 0 14px; }
  .promo-cta-text { display: none; }
  .promo-cta-short { display: inline; }
  .promo-pause { width: 32px; height: 32px; }
}
@media (max-width: 360px) { .promo-bar { padding-left: 8px; } }

/* ---------- Antraštė ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--ink-300);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-svg { display: block; height: 24px; width: auto; }
.site-footer .logo-svg { height: 28px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 1.0625rem; font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a:hover, .nav a[aria-current="true"], .nav a[aria-current="page"] { text-decoration-line: underline; }
/* Kalbos perjungiklis: nuorodos į kitos kalbos adresą (aktyvi su aria-current),
   be JS veikia kaip įprastos nuorodos; i18n.js kalbą perjungia be perkrovimo */
.lang { display: flex; gap: 4px; font-size: 0.9375rem; font-weight: 700; }
[data-lang] {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  min-height: 32px;
}
[data-lang]:hover:not([aria-pressed="true"]):not([aria-current="true"]) { text-decoration: underline; text-underline-offset: 4px; }
[data-lang][aria-pressed="true"], [data-lang][aria-current="true"] { background: var(--violet-200); }
.menu-btn { display: none; cursor: pointer; box-shadow: inset 0 0 0 2px var(--ink-800); font-weight: 700; }
.nav-lang { display: none; }
/* Antraštės ribos em (pagal naršyklės šrifto dydį): padidinus šriftą, mobilus
 * meniu įsijungia anksčiau, kol nuorodos dar telpa vienoje eilutėje */
@media (max-width: 68.75em) { .nav { gap: 20px; } }
/* Labai siauri ekranai (Galaxy Fold išorinis ekranas): logotipas ir meniu mygtukas telpa */
@media (max-width: 340px) {
  .site-header .wrap { gap: 12px; }
  .logo-svg { height: 20px; }
  .menu-btn { padding: 0 14px; }
}

/* ---------- Pirmas ekranas ---------- */
.hero { background: var(--violet-500); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(2.375rem, 1.1875rem + 2.73vw, 3.875rem); margin: 20px 0 24px; }
.hero .lead { font-size: clamp(1.125rem, 0.5625rem + 0.86vw, 1.3125rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(12px, 4vw, 24px); max-width: 540px; margin-top: 48px; container-type: inline-size; }
/* Skaičius telpa savo stulpelyje ir su padidintu naršyklės šriftu (ne daugiau 12 % eilutės pločio) */
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.875rem, 0.9375rem + 6.05vw, 2.75rem); font-size: min(clamp(1.875rem, 0.9375rem + 6.05vw, 2.75rem), 12cqi); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; font-size: 1rem; margin-top: 6px; line-height: 1.3; }

/* Tvarkaraštis. Eilučių išdėstymas priklauso nuo skydelio, ne ekrano pločio
 * (1001-1180 px languose skydelis siauras, todėl mygtukas perkeliamas po tekstu). */
.schedule {
  background: var(--white);
  border-radius: var(--radius-panel);
  padding: clamp(20px, 3vw, 32px);
  container-type: inline-size;
}
.schedule-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.schedule-head h2 { font-size: 1.625rem; }
.months { display: flex; flex-wrap: wrap; gap: 6px; }
.months button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-800);
  background: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-800);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand);
}
.months button:hover:not([aria-pressed="true"]) { background: var(--yellow); border-color: var(--yellow); }
/* Pasirinktas mėnuo: violetinis fonas ir dvigubai storesnis rašalo rėmelis
 * (ne tamsus blokas; būsena matoma ne vien spalva, WCAG 1.4.11) */
.months button[aria-pressed="true"] { background: var(--violet-500); border-color: var(--ink-800); box-shadow: inset 0 0 0 2px var(--ink-800); }
/* Vidinis tarpas, kad slenkantis konteineris nenukirptų fokuso žiedo */
.filters { display: flex; gap: 8px; margin: 12px -8px 2px; overflow-x: auto; padding: 6px 8px; }
.filters button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--violet-200);
  background: var(--white);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink-800);
  cursor: pointer;
  white-space: nowrap;
}
/* Pasirinktas: violetinis fonas ir rašalo rėmelis (būsena matoma ne vien spalva, WCAG 1.4.11) */
.filters button[aria-pressed="true"] { background: var(--violet-500); border-color: var(--ink-800); font-weight: 700; }
.events { list-style: none; margin: 0; padding: 0; }
.event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 160px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--ink-300);
}
.event:first-child { border-top: 0; }
.event-date { font-family: var(--font-head); font-size: 1.875rem; letter-spacing: -0.03em; line-height: 1; min-width: 2.9em; }
/* Datos ženklelis: diena („10-16“) didelė, savaitės diena („pn.“) po ja;
 * kitų metų data („2027-01-12“) mažesnė, kad tilptų */
.event-date .date-day, .event-date .date-wd { display: block; }
.event-date .date-day--year { font-size: 1.375rem; }
.event-date .date-wd { margin-top: 6px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0; color: var(--ink-600); }
.event-title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.event-meta { font-size: 0.9375rem; color: var(--ink-600); display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; margin-top: 4px; }
.event-meta .pill { min-height: 26px; padding: 0 10px; font-size: 0.8125rem; margin-top: 4px; }
.event .btn { width: 160px; }
/* „Kita data 10-16, pn.“ 160 px mygtuke netelpa į vieną eilutę: data keliama į
 * antrą eilutę (telefone galioja bendra .btn taisyklė žemiau) */
.btn--date { white-space: normal; height: auto; min-height: 44px; padding-block: 6px; line-height: 1.2; text-align: center; }
.event-meta .nowrap, .btn--date .nowrap { white-space: nowrap; }
/* Siaurame skydelyje (1001-1180 px langai, telefonai) mygtukas po tekstu per visą plotį.
 * Ribos em pagal skydelio šriftą (18 px: 24.45em = 440 px), kad padidinus naršyklės
 * šriftą mygtukas būtų keliamas po tekstu anksčiau */
@container (max-width: 24.45em) {
  .event:not(.event--empty) { grid-template-columns: auto minmax(0, 1fr); }
  .event .btn { grid-column: 1 / -1; width: 100%; }
}
/* Labai siauras skydelis (apie 280 px ekranas): data virš pavadinimo
 * (didesnis specifiškumas nei telefono taisyklė žemiau) */
@container (max-width: 12.25em) {
  .events .event:not(.event--empty) { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
/* Naršyklės be konteinerio užklausų: tas pats pagal ekrano plotį */
@supports not (container-type: inline-size) {
  @media (min-width: 1001px) and (max-width: 1180px) {
    .event:not(.event--empty) { grid-template-columns: auto minmax(0, 1fr); }
    .event .btn { grid-column: 1 / -1; width: 100%; }
  }
}
/* „Išparduota“: rašalo tekstas ant koralinio fono (5,7:1), be mirksėjimo */
.soldout-badge {
  background: var(--coral);
  color: var(--ink-900);
  font-weight: 700;
}
.event--soldout .event-date, .event--soldout .event-title { color: var(--ink-600); }
.event.is-collapsed { display: none; }
.event--soldout .event-date { text-decoration: line-through; text-decoration-thickness: 2px; }
.schedule-more { display: block; margin: 8px auto 0; }
/* Tvarkaraščio pranešimai: kraunama, klaida, filtrų ar datų nėra */
.event--empty { grid-template-columns: minmax(0, 1fr); font-size: 1rem; }
.event--empty p + p { margin-top: 6px; }
.event--empty .link-btn { padding: 6px 0; margin-top: 4px; }
.event-empty-title { font-weight: 700; font-size: 1.0625rem; }
.event--nodates { background: var(--violet-100); border-radius: var(--radius-block); padding: 16px 18px; border-top: 0; margin-bottom: 8px; }
.events-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.events-actions .btn { width: auto; }

/* ---------- Kursai ---------- */
.courses { background: var(--paper); padding: var(--section) 0; }
/* Keturios kortelės: du stulpeliai (2 × 2); siauruose ekranuose vienas stulpelis */
.course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.course {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.course--bundle { background: var(--violet-400); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.course h3 { font-size: 1.625rem; line-height: 1.12; }
.course .benefit { font-size: 1.0625rem; }
.course .perks { list-style: none; margin: 0; padding: 0; font-size: 1rem; display: grid; gap: 6px; }
.course .perks li { padding-left: 26px; position: relative; }
.course .perks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--ink-800);
  border-bottom: 2.5px solid var(--ink-800);
  transform: rotate(-45deg);
}
.next-date {
  font-size: 0.9375rem;
  background: var(--violet-100);
  border-radius: var(--radius-block);
  padding: 12px 16px;
  line-height: 1.4;
}
.course--bundle .next-date { background: var(--white); }
.next-date b { font-family: var(--font-head); font-size: 1.125rem; letter-spacing: -0.02em; }
.next-label { display: block; font-size: 0.875rem; color: var(--ink-600); margin-bottom: 4px; }
.next-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.next-line .pill { min-height: 26px; padding: 0 10px; font-size: 0.8125rem; }
/* Rūko gradientas tik viso ploto fonams; programos blokas vientisas */
.course details { background: var(--violet-100); border-radius: var(--radius-block); padding: 4px 18px; }
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
/* Ženklai +/− nepatenka į ekrano skaitytuvo skaitomą pavadinimą (antra deklaracija);
 * naršyklės be šios sintaksės naudoja pirmąją */
summary::after { content: "+"; content: "+" / ""; font-size: 1.375rem; line-height: 1; flex-shrink: 0; }
details[open] > summary::after { content: "\2212"; content: "\2212" / ""; }
.course ol { margin: 0 0 14px; padding-left: 22px; font-size: 1rem; }
.course ol li { margin: 6px 0; }
.price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink-300); }
.course--bundle .price { border-top-color: var(--ink-800); }
.price b { font-family: var(--font-head); font-size: 2.5rem; letter-spacing: -0.03em; }
.price small { display: block; font-size: 0.9375rem; color: var(--ink-600); }
.course--bundle .price small { color: var(--ink-800); }
.course-actions { display: grid; gap: 10px; align-content: start; }
/* Be JS (pirkimo ir dovanos langai neveikia): registracija el. paštu */
.course-actions .nojs-note { font-size: 1rem; text-align: center; }
.link-btn {
  background: none;
  border: 0;
  padding: 6px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink-800);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  justify-self: center;
}
.course--bundle .btn--gift { background: var(--white); border-color: var(--white); }
.btn--gift:hover, .btn--gift:focus-visible,
.course--bundle .btn--gift:hover, .course--bundle .btn--gift:focus-visible { background: var(--yellow); border-color: var(--yellow); }

/* Kortelių eilutės sulygiuotos: žymės, pavadinimas, rezultatas, naudos, data, programa, kaina, veiksmai */
@supports (grid-template-rows: subgrid) {
  /* Tarpas tarp kortelių eilių; kortelės vidaus tarpus nustato jos subgrid row-gap */
  .course-grid { row-gap: 20px; }
  .course {
    display: grid;
    grid-row: span 8;
    grid-template-rows: subgrid;
    row-gap: 16px;
    align-content: start;
  }
  .course details { align-self: start; }
  .course .next-date { align-self: stretch; }
  .course .price { margin-top: 0; align-self: end; }
}
/* Atvėrus vienos kortelės „Programa“, kitos kortelės neištempiamos (be tuščio ploto) */
.course-grid:has(details[open]) { align-items: start; }
.course-grid:has(details[open]) .course { display: flex; }
.course-grid:has(details[open]) .course details,
.course-grid:has(details[open]) .course .price { align-self: stretch; }
.course-grid:has(details[open]) .course .price { margin-top: auto; }

/* ---------- Atsiliepimai ---------- */
.results { background: var(--violet-500); padding: var(--section) 0; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.results-head .section-head { margin-bottom: 0; }
/* Karuselė: kortelių eilutės sulygiuotos per subgrid. position: relative: paslėpti
 * tekstai (visually-hidden, absolute) kortelėse lieka slenkančiame konteineryje
 * ir neišplečia puslapio pločio */
.quote-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Slinkties juosta slepiama tik su JS (be JS ji vienintelis būdas slinkti pele) */
.js .quote-track { scrollbar-width: none; }
.js .quote-track::-webkit-scrollbar { display: none; }
.carousel { position: relative; }
/* Automatinio slinkimo sustabdymas (WCAG 2.2.2); mygtuką parodo site.js */
.carousel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 20px auto 0;
  padding: 0 20px 0 14px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-800);
  background: var(--white);
  color: var(--ink-800);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand);
}
.carousel-toggle:hover, .carousel-toggle:focus-visible { background: var(--yellow); border-color: var(--ink-800); }
.carousel-toggle svg { width: 14px; height: 14px; flex-shrink: 0; }
.carousel-toggle .icon-play, .carousel-toggle[data-paused] .icon-pause { display: none; }
.carousel-toggle[data-paused] .icon-play { display: block; }
/* Plačiame ekrane rodyklės šonuose, mygtukas centre po kortelėmis */
@media (min-width: 1301px) {
  .carousel-toggle { display: flex; width: max-content; }
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--ink-800);
  background: var(--white);
  color: var(--ink-800);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color var(--dur-fast) var(--ease-brand);
}
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: var(--yellow); }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow--prev { left: -84px; }
.carousel-arrow--next { right: -84px; }
/* Kai šonuose nėra vietos, rodyklės ir sustabdymo mygtukas rodomi po kortelėmis. */
@media (max-width: 1300px) {
  .carousel { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 16px; }
  .carousel .quote-track { flex: 0 0 100%; min-width: 0; }
  .carousel-arrow { position: static; transform: none; }
  .carousel-arrow--prev { order: 1; }
  .carousel-toggle { margin: 0; order: 2; }
  .carousel-arrow--next { order: 3; }
}
/* Telefone (lietimas) slenkama braukiant; pelei rodyklės lieka ir siaurame lange */
@media (max-width: 720px) and (hover: none), (max-width: 720px) and (pointer: coarse) {
  .carousel-arrow { display: none; }
}
/* Kortelės stulpelis gali susitraukti (ilgi vardai neišlenda už kortelės) */
.quote {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-row: span 2;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  scroll-snap-align: start;
}
@supports (grid-template-rows: subgrid) {
  .quote { display: grid; grid-template-rows: subgrid; row-gap: 20px; }
}
/* Nuotrauka mažėja kartu su kortele; jei vardui vis tiek per siaura, tekstas
 * perkeliamas po nuotrauka (ilgi vardai ir Instagram vardai neišlenda) */
.quote-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding-bottom: 20px; border-bottom: 1px solid var(--ink-300); min-width: 0; }
.quote-person { flex: 1 1 136px; min-width: 0; font-size: 0.9375rem; color: var(--ink-600); line-height: 1.4; overflow-wrap: break-word; }
.quote-person b { display: block; font-family: var(--font-head); font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink-800); margin-bottom: 4px; }
.quote-person a { color: var(--ink-800); font-weight: 700; text-underline-offset: 3px; }
.quote blockquote { margin: 0; font-size: 1.125rem; overflow-wrap: break-word; }
.avatar {
  width: clamp(64px, 40%, 120px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--violet-100);
}
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--logo { background: var(--white); }
.avatar--logo img { object-fit: contain; }

/* ---------- Verslui ---------- */
.business { background: var(--violet-100); padding: var(--section) 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service {
  border-radius: var(--radius-panel);
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  transition: background-color var(--dur-base) var(--ease-brand);
}
/* Blokas nusidažo violetine tik užvedus pelę arba pasirinkus klaviatūra
 * (lietimo ekrane užvedimo efektas „prilipdavo“ po bakstelėjimo). Be pakilimo. */
.service:focus-within { background: var(--violet-500); }
@media (hover: hover) and (pointer: fine) {
  .service:hover { background: var(--violet-500); }
}
@media (prefers-reduced-motion: reduce) { .service { transition: none; } }
.service-no { font-family: var(--font-head); font-size: 1.25rem; }
.service h3 { font-size: clamp(1.625rem, 0.8125rem + 1.47vw, 2.125rem); }
.service ul { margin: 0; padding-left: 20px; }
.service li { margin: 4px 0; }
/* Ilgas mygtuko tekstas gali lūžti (padidinti tarpai tarp eilučių, siauras ekranas) */
.service .btn { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: normal; height: auto; min-height: 56px; padding-block: 12px; text-align: center; line-height: 1.25; }
/* ---------- Mūsų klientai ---------- */
.clients-band { background: var(--fog); color: var(--ink-800); padding: clamp(56px, 7vw, 88px) 0; text-align: center; }
.clients-band .eyebrow { color: var(--ink-800); font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.18em; line-height: 1.4; }
.clients-grid {
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 32px;
  align-items: center;
}
.clients-grid li { display: flex; justify-content: center; align-items: center; min-height: 60px; min-width: 0; }
/* Logotipo aukštis iš klasės logo-hNN (--h; style="…" atributų nenaudojame dėl CSP);
 * susiaurėjus langeliui mažėja ir plotis, ir aukštis (proporcijos išlieka) */
.clients-grid img { display: block; width: auto; height: auto; max-width: 100%; max-height: var(--h, 40px); object-fit: contain; }
.clients-grid .logo-h24 { --h: 24px; }
.clients-grid .logo-h34 { --h: 34px; }
.clients-grid .logo-h40 { --h: 40px; }
.clients-grid .logo-h48 { --h: 48px; }
.clients-grid .logo-h54 { --h: 54px; }
@media (max-width: 720px) {
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

/* ---------- Vertybės: brandbook 04 psl. ---------- */
.moments { padding: var(--section) 0; background: var(--white); }
/* 8 nuotraukos: plačiame ekrane 4 stulpeliai, siauresniame 2 (lyginis skaičius, be tuščių langelių).
 * Pridedant ar šalinant nuotrauką, palaikyti skaičių, dalų iš 4. */
.moments-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.moment { margin: 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 1 / 1; background: var(--violet-100); }
.moment img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Suskleidžiama tik su JS: rodoma pirma eilė (4 nuotraukos); be JS matomos visos */
.js .moments-grid:not(.is-open) .moment:nth-child(n+5) { display: none; }
.moments-more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Dovana: kvadratinis rėmas, brandbook 14 psl. ---------- */
.frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border: 3px solid var(--ink-800);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.frame-band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 16px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.frame-band--top { top: -11px; }
/* Apatinė juosta yra nuoroda: visada pabraukta, kad neatrodytų kaip dekoratyvi etiketė */
.frame-band--bottom { bottom: -11px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.frame-band--bottom:hover, .frame-band--bottom:focus-visible { background: var(--yellow); }
.frame h2 { font-size: clamp(1.875rem, 0.9375rem + 2.18vw, 2.875rem); }
.frame p { margin: 16px auto 28px; max-width: 32em; font-size: 1.1875rem; }

/* ---------- Naujienlaiškis ---------- */
.newsletter { background: var(--fog); padding: clamp(56px, 8vw, 96px) 0; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(1.875rem, 0.9375rem + 2.18vw, 2.875rem); margin-top: 12px; }
.newsletter p { margin-top: 14px; }
.newsletter .nl-gift { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); }
.nl-col .nl-form { margin-top: 28px; }
.nl-gift .frame { max-width: none; margin: 0; background: var(--white); border-radius: var(--radius-card); padding: 48px 28px 44px; }
.nl-gift .frame h2 { font-size: clamp(1.5rem, 0.75rem + 1.33vw, 1.875rem); }
.nl-gift .frame p { font-size: 1rem; margin: 12px auto 24px; }
.nl-gift .frame-band { background: var(--white); border: 2px solid var(--ink-800); border-radius: var(--radius-pill); padding: 3px 14px; font-size: 0.8125rem; color: var(--ink-800); }
.nl-gift .frame-band--top { top: -15px; }
.nl-gift .frame-band--bottom { bottom: -15px; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
/* Matoma lauko etiketė virš kapsulės (placeholder tik pavyzdys) */
.nl-label { flex: 0 0 100%; font-weight: 700; font-size: 1rem; }
.nl-form input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 56px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-600);
  padding: 0 22px;
  font: inherit;
  color: var(--ink-800);
  background: var(--white);
}
.nl-form input:focus { border-color: var(--ink-800); }
.nl-form input[aria-invalid="true"] { border-color: var(--ink-800); background-color: var(--yellow-100); }
.nl-form .btn:disabled, #inq-submit:disabled { cursor: progress; opacity: 0.75; }
.nl-status .nl-ok { font-weight: 700; }
.nl-status .nl-ok:empty, .nl-status .form-error:empty { display: none; }
.newsletter .nl-consent { margin-top: 12px; font-size: 0.875rem; color: var(--ink-600); max-width: 36em; }
.nl-consent a { color: var(--ink-800); }
/* „Spąstų“ laukas robotams: žmonėms nematomas, į jį nepatenkama Tab klavišu */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.ig-link > span { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
/* Atskira eilutė po pareigomis; paspaudimo plotas bent 32 px aukščio */
.quote-person .ig-link { display: flex; width: fit-content; max-width: 100%; min-height: 32px; margin-top: 2px; font-size: 0.875rem; gap: 6px; }
.ig-icon { width: 20px; height: 20px; flex-shrink: 0; }
/* ---------- Poraštė ----------
 * Apatinis tarpas rezervuoja vietą fiksuotai dovanų juostai, todėl paskutinė
 * eilutė neuždengiama, o po poraštės nelieka balto ruožo. */
.site-footer { background: var(--violet-500); padding: 64px 0 calc(40px + var(--promo-space)); }
/* Kol atvira slapukų juosta, paskutinės nuorodos turi galėti pakilti virš jos */
html.cookies-open .site-footer { padding-bottom: calc(40px + var(--cookies-h, 320px) + 20px + var(--safe-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { text-decoration: underline; }
.company { margin-top: 16px; font-size: 0.9375rem; line-height: 1.6; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-800);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.875rem;
}
.footer-bottom nav { display: flex; gap: 4px 20px; flex-wrap: wrap; align-items: center; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
/* Paspaudimo plotas bent 32 px aukščio (WCAG 2.5.8) */
.footer-bottom nav a, .footer-bottom nav .link-btn { display: inline-flex; align-items: center; min-height: 32px; }
.spaced { letter-spacing: 0.3em; }

/* ---------- Langai (dialogai) ---------- */
.modal {
  border: 0;
  border-radius: var(--radius-panel);
  padding: 0;
  width: min(620px, calc(100% - 24px));
  max-height: min(92vh, 900px);
  max-height: min(92dvh, 900px);
  color: var(--ink-800);
  background: var(--white);
}
.modal:not([open]) { display: none; }
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(36, 29, 43, 0.55); }
/* Senos naršyklės be <dialog> (Safari < 15.4): site.js prideda html.no-dialog,
 * langas rodomas fiksuotai ekrano centre su tamsiu fonu */
html.no-dialog .modal[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 200;
  height: max-content;
  box-shadow: 0 0 0 100vmax rgba(36, 29, 43, 0.55);
}
/* position: relative: paslėptos <legend> (visually-hidden, absolute) lieka slenkančioje
 * dalyje ir nepadidina viso lango aukščio (antra slinkties juosta) */
.modal-body { position: relative; padding: clamp(24px, 4vw, 36px); overflow-y: auto; overscroll-behavior: contain; }
/* Kol atidarytas langas: puslapis neslenka, slapukų juosta paslepiama (ji būtų neveiksni po langu) */
html.modal-open { overflow: hidden; }
html.modal-open .cookies { display: none; }
.modal-foot {
  border-top: 1px solid var(--ink-300);
  padding: 18px clamp(24px, 4vw, 36px);
  background: var(--white);
  display: grid;
  gap: 12px;
}
.modal h2 { font-size: clamp(1.625rem, 0.8125rem + 1.7vw, 2.125rem); padding-right: 52px; }
.modal .lead { margin: 10px 0 22px; }
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-800);
  background: var(--white);
  color: var(--ink-800);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
/* Žemas langas (gulsčias telefonas, didelis mastelis ar naršyklės šriftas): visas
 * langas slenka kaip vienas blokas, apačia (suma, mygtukas, pastabos) po laukais,
 * todėl laukams lieka visas lango aukštis. Uždarymo mygtukas prilimpa viršuje
 * dešinėje. 35em = 560 px esant 16 px šriftui (su didesniu šriftu riba aukštesnė). */
@media (max-height: 35em) {
  .modal[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .modal-body { overflow: visible; }
  .dialog-close { position: sticky; top: 12px; display: block; margin: 12px 12px -56px auto; }
  /* Fokusavus klaidingą lauką (site.js revealField), laukas neatsiduria po
   * prilipusiu uždarymo mygtuku */
  .modal .field, .modal .check-field { scroll-margin-top: 64px; scroll-margin-bottom: 12px; }
}

/* Dovanos sąrašas */
.gift-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gift-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  background: var(--violet-100);
  border-radius: var(--radius-block);
  padding: 16px 16px 16px 22px;
}
.gift-row-title { font-weight: 700; line-height: 1.3; }
.gift-row-meta { font-size: 0.875rem; color: var(--ink-600); }
.gift-row-price { text-align: right; font-family: var(--font-head); font-size: 1.375rem; letter-spacing: -0.02em; white-space: nowrap; }
.gift-row-price small { display: block; font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0; color: var(--ink-600); }
.terms-box {
  margin-top: 18px;
  background: var(--paper);
  border-radius: var(--radius-block);
  padding: 16px 20px;
  font-size: 0.9375rem;
}
.terms-box ul { margin: 6px 0 0; padding-left: 20px; }
.terms-box li { margin: 3px 0; }

/* Pirkimo langas */
.buy-back { display: flex; width: max-content; max-width: 100%; justify-self: start; align-items: center; gap: 6px; padding: 4px 0; margin: 0 0 10px; font-size: 0.9375rem; }
.buy-back svg { width: 16px; height: 16px; flex-shrink: 0; }
/* Sau / Dovanoti: radio mygtukai (rodyklės klavišai veikia savaime) */
.segmented { display: inline-flex; background: var(--violet-100); border-radius: var(--radius-pill); padding: 4px; margin: 14px 0 22px; }
.segmented label { position: relative; display: inline-flex; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  color: var(--ink-800);
}
.segmented input:checked + span { background: var(--white); font-weight: 700; box-shadow: inset 0 0 0 2px var(--ink-800); }
.segmented input:focus-visible + span { outline: 3px solid var(--ink-800); outline-offset: 2px; }
.buy-meta { font-size: 1rem; color: var(--ink-600); margin-top: 8px; }
.buy-notice { font-weight: 600; }
.buy-notice .link-btn { padding: 0; font-size: inherit; }
.buy-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { font-weight: 700; font-size: 1rem; }
.field .hint { margin: 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--ink-800);
  background-color: var(--yellow-100);
}
.info-box p { margin: 0; }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.link-btn--inline { padding: 0; font-size: inherit; color: var(--ink-800); }
.field { display: grid; gap: 6px; margin-top: 20px; }
.field label, .field legend { font-weight: 700; font-size: 1rem; padding: 0; }
.field .req { color: var(--ink-800); }
/* Laukų rėmeliai ink-600 (5,9:1 su balta), kad lauko ribos būtų matomos (WCAG 1.4.11) */
.field select, .field input, .field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-field);
  border: 2px solid var(--ink-600);
  background: var(--white);
  padding: 12px 16px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink-800);
}
.field textarea { min-height: 110px; resize: vertical; }
/* Telefone datų sąraše („10-17, št. · Klaipėda · 9:30–13:00“) turi matytis ir
 * laikas: 16 px (iOS nepriartina) ir siauresni šoniniai tarpai */
@media (max-width: 440px) {
  .field select { font-size: 1rem; padding-left: 12px; padding-right: 6px; }
}
@media (max-width: 370px) {
  .field select { padding-left: 10px; padding-right: 2px; }
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--ink-800); }
.hint { font-size: 0.875rem; color: var(--ink-600); }
.info-box { margin-top: 20px; background: var(--violet-100); border-radius: var(--radius-block); padding: 16px 20px; font-size: 1rem; }
.info-box b { display: block; margin-bottom: 4px; }
.info-box p + p { margin-top: 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--ink-600); border-radius: var(--radius-pill); padding: 4px; width: max-content; }
.stepper button {
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--violet-100);
  font: inherit;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--ink-800);
  cursor: pointer;
}
.stepper output { min-width: 40px; text-align: center; font-weight: 700; }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.check { display: flex; gap: 12px; align-items: center; margin-top: 20px; font-size: 1rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink-800); }
.buy-program { margin-top: 20px; border-top: 1px solid var(--ink-300); }
.buy-program ol { margin: 0 0 8px; padding-left: 22px; font-size: 1rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font-size: 1rem; }
.total b { font-family: var(--font-head); font-size: 1.875rem; letter-spacing: -0.03em; white-space: nowrap; }
.total small { font-size: 0.875rem; color: var(--ink-600); margin-left: 6px; }
.foot-note { font-size: 0.8125rem; color: var(--ink-600); }
.form-error { font-size: 0.9375rem; font-weight: 700; color: var(--ink-800); background: var(--yellow); border-radius: var(--radius-small); padding: 8px 12px; }
.form-error:empty { display: none; }
/* Klaida po lauku (site.js setFieldError): ženklas „!“ ir tekstas, ne vien spalva
 * (WCAG 3.3.1). Bendras pranešimas lieka lango apačioje (#buy-error, #inq-error) */
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px 6px 8px;
  border-radius: var(--radius-small);
  background: var(--yellow-100);
  color: var(--ink-800);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}
.field-error-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.field-error-icon circle { fill: var(--ink-800); }
.field-error-icon path { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; }
.check-field .field-error { margin-top: 8px; }
.check-field .hint { margin: 6px 0 0 34px; }
.success { padding: 14px 0 4px; font-size: 1.125rem; }
.modal h2[tabindex="-1"]:focus { outline: none; }
.modal h2[tabindex="-1"]:focus-visible { outline: 3px solid var(--ink-800); outline-offset: 4px; }

/* Užklausos forma */
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--violet-200);
  font-size: 1rem;
  line-height: 1.3;
}
/* Nepasirinkta privaloma paslauga: rašalo rėmelis ir geltonas fonas kaip kitiems
 * klaidingiems laukams; ne vien spalva: po mygtukais tekstas su ženklu (.field-error).
 * Prieš :checked, kad pasirinktas mygtukas atrodytų pasirinktas. */
.choice input[aria-invalid="true"] + span { border-color: var(--ink-800); background: var(--yellow-100); }
/* Pasirinkta: violetinis fonas ir rašalo rėmelis (būsena matoma ne vien spalva) */
.choice input:checked + span { background: var(--violet-500); border-color: var(--ink-800); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--ink-800); outline-offset: 2px; }
fieldset.field { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- Prisitaikymas prie ekrano ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .course-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; row-gap: 20px; }
  .quote-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .moments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Mobilus meniu iki 900 px (56.25em: su didesniu naršyklės šriftu plačiau): plačiau visos
 * nuorodos telpa ir su padidintais tarpais tarp raidžių (WCAG 1.4.12). site.js: min-width 56.3125em */
@media (max-width: 56.25em) {
  .menu-btn { display: inline-flex; }
  .lang { display: none; }
  /* Atvertas meniu telpa ekrane (gulsčias telefonas): slenka savo ribose */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 8px max(var(--gutter), env(safe-area-inset-right)) 20px max(var(--gutter), env(safe-area-inset-left));
    border-bottom: 2px solid var(--ink-800);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.1875rem; border-bottom: 1px solid var(--ink-300); }
  .nav-lang { display: flex; gap: 8px; padding-top: 16px; }
  /* Kalbos nuorodos meniu: be .nav a brūkšnio ir pabraukimo */
  .nav .nav-lang [data-lang] { padding: 6px 14px; font-size: 1rem; font-weight: 700; min-height: 40px; border-bottom: 0; text-decoration: none; }
  .nav .nav-lang [data-lang]:hover:not([aria-current="true"]) { text-decoration: underline; }
  /* Be JS meniu mygtukas neveiktų: nuorodos rodomos eilute po logotipu (kalbos nuorodos veikia ir be JS).
   * Kelių eilučių antraštė neprikabinama, kad neuždengtų fokusuoto elemento ar nuorodos tikslo (WCAG 2.4.11) */
  html:not(.js) { scroll-padding-top: 16px; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-header .wrap { height: auto; min-height: 72px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 8px; }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .nav-lang { padding-top: 0; gap: 4px; }
  html:not(.js) .nav .nav-lang [data-lang] { padding: 4px 10px; min-height: 32px; }
  html:not(.js) .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; width: 100%; padding: 0; border: 0; max-height: none; overflow: visible; }
  html:not(.js) .nav a { padding: 6px 0; font-size: 1rem; border: 0; }
}
@media (max-width: 820px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .event:not(.event--empty) { grid-template-columns: auto minmax(0, 1fr); }
  .event .btn { grid-column: 1 / -1; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 22px; text-align: center; line-height: 1.25; }
  .service .btn { align-self: stretch; }
  .moments-grid { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gift-row { grid-template-columns: minmax(0, 1fr) auto; }
  .gift-row .btn { grid-column: 1 / -1; width: 100%; }
  .quote-track { grid-auto-columns: 86%; column-gap: 14px; }
  .avatar { width: clamp(64px, 30%, 84px); }
  .quote-head { gap: 14px; }
  .quote-person .ig-link { font-size: 0.8125rem; gap: 6px; }
  .quote-person b { font-size: 1.25rem; }
}
/* Žemas langas (gulsčias telefonas, 400 % mastelis): antraštė ir dovanų juosta
 * nebeprikabinamos, kad turiniui liktų vietos (WCAG 1.4.10). Dovanų juosta
 * tada rodoma puslapio pabaigoje po poraštės. */
@media (max-height: 560px) {
  html { scroll-padding-top: 16px; scroll-padding-bottom: 16px; }
  html.cookies-open { scroll-padding-bottom: 16px; }
  .site-header { position: relative; }
  .nav { max-height: none; overflow: visible; }
  .promo-wrap { position: static; padding-top: var(--promo-gap); padding-bottom: calc(var(--promo-gap) + var(--safe-bottom)); background: var(--violet-500); }
  .site-footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quote-track { scroll-behavior: auto; }
  .js .promo-track { animation: none; }
  .pill--live, .btn, .service, .carousel-arrow, .carousel-toggle, .promo-pause, .months button, .filters button, .menu-btn, .dialog-close, .video-play, .video-play-icon { transition: none; }
  .btn:active { transform: none; }
  /* Judėjimo nėra, todėl ir sustabdymo mygtukų nereikia */
  .promo-pause, .carousel-toggle { display: none !important; }
}

/* ---------- Slapukų pranešimas (juostą kuria /js/consent.js) ----------
 * Kol juosta atvira, html turi klasę cookies-open: dovanų juosta paslepiama,
 * o fokusui rezervuojamas juostos aukštis (--cookies-h nustato consent.js). */
.cookies {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + var(--safe-bottom));
  z-index: var(--z-cookies);
  width: min(440px, calc(100% - 24px));
  max-height: calc(100vh - var(--header-h) - 40px);
  max-height: calc(100dvh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  color: var(--ink-800);
  border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 2px var(--ink-800);
  padding: 24px;
}
.cookies-head { display: flex; align-items: center; gap: 12px; }
.cookies .cookies-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.cookies p { margin-top: 10px; font-size: 1rem; }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookies-actions .btn { height: auto; min-height: 48px; padding: 6px 16px; font-size: 1rem; white-space: normal; line-height: 1.2; }
/* Abu pasirinkimai vienodo svorio; atvėrus iš nustatymų pažymimas dabartinis */
.cookies-actions .btn[aria-pressed="true"] { background: var(--violet-200); border-color: var(--ink-800); }
.cookies-actions .btn[aria-pressed="true"]:hover, .cookies-actions .btn[aria-pressed="true"]:focus-visible { background: var(--coral); border-color: var(--coral); }
.cookies .cookies-current { font-size: 0.9375rem; font-weight: 700; }
.cookies-more { margin-top: 12px; font-size: 0.875rem; }
.footer-bottom .link-btn { padding: 0; font-size: 0.875rem; }
/* Telefone: kompaktiškas apatinis lapas per visą plotį */
@media (max-width: 560px) {
  .cookies {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: calc(100vh - var(--header-h) - 12px);
    max-height: calc(100dvh - var(--header-h) - 12px);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    box-shadow: inset 0 2px 0 var(--ink-800);
    padding: 18px max(16px, env(safe-area-inset-right)) calc(16px + var(--safe-bottom)) max(16px, env(safe-area-inset-left));
  }
  .cookies .cookies-title { font-size: 1.25rem; }
  .cookies p { margin-top: 8px; font-size: 0.9375rem; }
  .cookies-actions { margin-top: 14px; }
  .cookies-actions .btn { min-height: 44px; padding: 6px 10px; }
  .cookies-more { margin-top: 10px; }
}
@media (max-height: 560px) {
  .cookies { bottom: calc(8px + var(--safe-bottom)); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 16px; }
}

/* ---------- Lektoriai: po vieną eilutėje, nuotrauka pakaitomis ---------- */
.lecturers { background: var(--violet-500); padding: var(--section) 0; }
.lecturer-list { display: grid; gap: 24px; }
.lecturer-row {
  background: var(--white);
  border-radius: var(--radius-panel);
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.lecturer-row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lecturer-row:nth-child(even) .lecturer-photo { order: 2; }
.lecturer-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-block); overflow: hidden; background: var(--violet-200); }
.lecturer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.photo-badge { position: absolute; top: 14px; left: 14px; background: var(--white); border-radius: var(--radius-pill); padding: 6px 12px; font-size: 0.8125rem; font-weight: 700; }
.lecturer-text h3 { font-size: clamp(1.75rem, 0.875rem + 1.77vw, 2.5rem); }
.lecturer-role { margin-top: 8px; font-size: 1rem; color: var(--ink-600); line-height: 1.4; }
.lecturer-bio { margin-top: 18px; font-size: 1.0625rem; max-width: 36em; }
.lecturer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lecturer-tags .pill:nth-child(3n+1) { background: var(--violet-400); }
.lecturer-tags .pill:nth-child(3n+2) { background: var(--coral); }
.lecturer-tags .pill:nth-child(3n) { background: var(--yellow); }
@media (max-width: 820px) {
  .lecturer-row, .lecturer-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .lecturer-row:nth-child(even) .lecturer-photo { order: 0; }
  .lecturer-photo { max-width: 420px; }
}

/* ---------- Vaizdo atsiliepimas ----------
 * Iki paspaudimo rodomas tik vietinis viršelis (nuotrauka ir mygtukas), be
 * jokių užklausų į Google. Paspaudus site.js įdeda Google Drive grotuvą
 * (arba savą <video>) į .video-frame. Kortelė balta kaip kiti atsiliepimai,
 * be tamsių perdengimų. */
.video-badge { display: inline-block; width: max-content; margin-bottom: 8px; background: var(--violet-100); color: var(--ink-800); border-radius: var(--radius-pill); padding: 4px 12px; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.quote-head--video { min-height: 0; }
.video-box { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-block);
  overflow: hidden;
  background: var(--violet-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}
/* Paleidus grotuvą, vieta vertikaliam (9:16) vaizdo įrašui */
.video-frame[data-state="playing"] { aspect-ratio: 9 / 16; padding: 0; }
.video-poster { width: clamp(96px, 48%, 168px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 6px var(--white); background: var(--white); }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 8px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--coral);
  background: var(--coral);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-brand);
}
.video-play-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-800); color: var(--white); display: grid; place-items: center; flex-shrink: 0; transition: background-color var(--dur-fast) var(--ease-brand), color var(--dur-fast) var(--ease-brand); }
.video-play-icon svg { width: 18px; height: 18px; margin-left: 3px; }
/* Užvedus: rašalo rėmelis kaip kitų CTA, ikona geltona (be tamsaus fono) */
.video-play:hover, .video-play:focus-visible { border-color: var(--ink-800); }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { background: var(--yellow); color: var(--ink-800); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--ink-900); }
@media (max-width: 400px) {
  .video-play { font-size: 0.9375rem; padding-right: 16px; }
}
.video-note { font-size: 0.875rem; line-height: 1.45; color: var(--ink-600); }
.video-note a, .video-summary a { color: var(--ink-800); text-underline-offset: 3px; }
.video-summary { font-size: 1rem; line-height: 1.45; }
.video-error { font-size: 0.875rem; background: var(--white); border-radius: var(--radius-small); padding: 8px 12px; }
.results-note { margin-top: 24px; font-size: 0.9375rem; color: var(--ink-800); }
/* Veiksmų mygtukai: balti užvedus tampa geltoni */
.filters button:hover:not([aria-pressed="true"]) { background: var(--yellow); border-color: var(--yellow); }
.menu-btn:hover, .menu-btn:focus-visible { background: var(--yellow); }
.dialog-close:hover, .dialog-close:focus-visible { background: var(--yellow); border-color: var(--yellow); }
.filters button, .menu-btn, .dialog-close { transition: background-color var(--dur-fast) var(--ease-brand), border-color var(--dur-fast) var(--ease-brand); }

/* ---------- AI agento demonstracija (pagrindinis puslapis) ----------
 * Rėmelio aukštis pagal plotį: demonstracijos schema (900 x 320) mažinama
 * proporcingai, todėl siaurame lange nelieka tuščio ploto (cqi = 1 % pločio). */
.modal--demo { width: min(1040px, calc(100% - 24px)); }
.demo-frame { margin-top: 20px; border-radius: var(--radius-block); overflow: hidden; background: var(--white); border: 1px solid var(--ink-300); container-type: inline-size; }
.demo-frame iframe { display: block; width: 100%; height: 560px; border: 0; }
@supports (height: 1cqi) {
  .demo-frame iframe { height: min(560px, calc(255px + 35.6cqi)); }
}

/* ========== Puslapių dalys ========== */

/* ---------- DUK puslapis (/duk) ---------- */
.faq-page { background: var(--fog); padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.faq-page .section-head { margin-bottom: 32px; }
.section-head h1 { font-size: clamp(2rem, 1rem + 2.48vw, 3.25rem); margin-top: 12px; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { background: var(--white); border-radius: var(--radius-block); padding: 4px 24px; }
.faq-list summary { font-size: 1.125rem; padding: 16px 0; }
.faq-list details p { padding: 0 0 18px; font-size: 1.0625rem; max-width: 44em; }
.faq-more { margin-top: 24px; font-size: 1rem; }
.faq-more a { text-decoration: underline; text-underline-offset: 3px; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: 1rem; text-underline-offset: 4px; }
/* ---------- Teisiniai puslapiai (/privatumo-politika, /naudojimosi-taisykles) ---------- */
.policy-page { background: var(--fog); padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.policy { max-width: 820px; }
.policy .back-link, .policy .eyebrow { display: block; }
.policy .back-link { width: max-content; }
.policy h1 { font-size: clamp(2rem, 1rem + 2.4vw, 3rem); margin: 12px 0 24px; }
.policy h2 { font-size: 1.375rem; margin: 32px 0 10px; }
.policy h3 { font-size: 1.125rem; letter-spacing: -0.02em; margin: 22px 0 6px; }
.policy .callout { margin: 14px 0; background: var(--white); border: 1px solid var(--ink-300); border-radius: var(--radius-block); padding: 16px 20px; }
.policy .callout p { font-size: 1rem; }
.policy code { font-size: 0.92em; background: var(--violet-100); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.policy-table td:first-child { min-width: 9em; }
/* Plačios lentelės (gavėjai, slapukai) telefone slenka horizontaliai savo rėmelyje */
.policy-table--wide { min-width: 640px; }
.policy-table-wrap:focus-visible { outline: 3px solid var(--ink-800); outline-offset: 3px; }
.policy p, .policy li { font-size: 1.0625rem; }
.policy p + p { margin-top: 12px; }
.policy-updated { color: var(--ink-600); font-size: 0.9375rem; margin-bottom: 24px; }
.policy ul { padding-left: 22px; margin: 8px 0; }
.policy li { margin: 6px 0; }
.policy a { text-underline-offset: 3px; }
.policy-table-wrap { overflow-x: auto; margin: 12px 0; border-radius: var(--radius-card); border: 1px solid var(--ink-300); background: var(--white); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.policy-table th, .policy-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--ink-300); }
.policy-table th { border-top: 0; background: var(--violet-100); font-family: var(--font-head); font-size: 0.9375rem; }

/* ---------- Puslapiai be dovanų juostos (/success, /cancel, /agent-demo.html) ----------
 * <html class="no-promo">: poraštė ir fokusas nerezervuoja vietos dovanų juostai */
html.no-promo { --promo-space: var(--safe-bottom); }

/* ---------- Būsenos puslapiai: /success, /cancel ir serverio puslapiai
 * (404, formos be JavaScript, kuponas nerastas: server.js brandPage) ---------- */
.status-page { background: var(--fog); padding: clamp(40px, 7vw, 88px) 0 var(--section); }
.status-panel { max-width: 760px; background: var(--white); border-radius: var(--radius-panel); padding: clamp(28px, 5vw, 56px); }
.status-panel .eyebrow { display: block; }
.status-panel h1 { font-size: clamp(2rem, 1rem + 2.72vw, 3.25rem); margin-top: 12px; overflow-wrap: anywhere; }
.status-panel h1:focus { outline: none; }
.status-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--violet-200); }
.status-icon svg { width: 28px; height: 28px; }
.status-lead { margin-top: 16px; font-size: 1.1875rem; max-width: 36em; }
.status-session { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-block); background: var(--violet-100); font-size: 1.0625rem; }
.status-coupon { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius-block); background: var(--violet-100); }
.status-coupon p { margin-top: 12px; font-size: 1rem; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.status-help { margin-top: 24px; font-size: 1rem; color: var(--ink-600); }
.status-panel a:not(.btn) { text-underline-offset: 3px; }
.status-panel h2 { font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 32px; }
.status-courses { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.status-courses a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 20px;
  border: 2px solid var(--ink-300);
  border-radius: var(--radius-block);
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-brand);
}
.status-courses a:hover, .status-courses a:focus-visible { border-color: var(--ink-800); }
.status-courses svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 480px) { .status-actions .btn { width: 100%; } }
/* Serverio puslapių antraštė ir poraštė (be meniu ir skriptų) */
.logo-img { display: block; height: 24px; width: auto; }
.plain-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.plain-page .status-page { flex: 1; }
.plain-footer { background: var(--violet-500); padding: 24px 0 calc(24px + var(--safe-bottom)); font-size: 0.9375rem; }
.plain-footer a { text-underline-offset: 3px; }

/* ---------- Dovanų kuponas (/kuponas/:token; lib/coupon.js) ----------
 * Violetinis fonas, balta panelė, gavėjo vardas rašalo spalva (be gradiento),
 * koralinė žyma. Spausdinant: violetinis rėmelis (rėmeliai spausdinami visada). */
.coupon-page { background: var(--violet-500); min-height: 100vh; }
.coupon-bar, .coupon-main {
  max-width: 940px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.coupon-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px; }
.coupon-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coupon-main { padding-top: 24px; padding-bottom: 48px; }
.coupon {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius-panel);
  background: var(--white);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.coupon-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.coupon-logo { display: block; height: 20px; width: auto; }
.coupon-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--coral);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.coupon-center { text-align: center; padding: clamp(4px, 2vw, 16px) 0; }
.coupon-name { font-weight: 800; font-size: clamp(2.5rem, 1.25rem + 5.24vw, 4.75rem); overflow-wrap: anywhere; }
.coupon-label { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1875rem, 0.5938rem + 1.45vw, 1.5rem); line-height: 1.3; letter-spacing: -0.02em; }
.coupon-message { max-width: 34em; margin: 14px auto 0; color: var(--ink-600); font-size: 1.0625rem; }
.coupon-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 20px 24px;
  border-radius: var(--radius-block);
  background: var(--violet-100);
}
.coupon-info dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.coupon-info dd { margin: 6px 0 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.coupon-info a, .coupon-foot a, .coupon-help a { text-underline-offset: 3px; }
.coupon-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-600); font-size: 0.875rem; }
.coupon-code { color: var(--ink-800); font-weight: 700; }
.coupon-help { max-width: 40em; margin: 20px auto 0; font-size: 1rem; text-align: center; }
@media (max-width: 640px) { .coupon-info { grid-template-columns: 1fr; } }

/* ---------- AI agento demonstracija (/agent-demo.html; /js/agent-demo.js) ----------
 * Pagrindinio puslapio lange rodoma rėmelyje (<html class="is-embedded">):
 * tada matoma tik demonstracijos kortelė. Schema 900 x 320 mažinama pagal plotį (--demo-scale). */
.demo-page { background: var(--fog); padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.demo-intro { max-width: 760px; margin-bottom: 28px; }
.demo-intro .eyebrow { display: block; }
.demo-intro h1 { font-size: clamp(2rem, 1rem + 2.72vw, 3.25rem); margin-top: 12px; }
.demo-intro p { margin-top: 14px; font-size: 1.1875rem; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.demo-noscript { margin-top: 16px; }
html.is-embedded body { background: var(--white); }
html.is-embedded :is(.skip-link, .site-header, .site-footer, .back-link, .demo-intro, .demo-actions) { display: none !important; }
html.is-embedded .demo-page { background: none; padding: 12px; }
html.is-embedded .demo-page .wrap { padding: 0; }
.demo-card { max-width: 940px; overflow: hidden; border: 1px solid var(--ink-300); border-radius: var(--radius-card); background: var(--white); }
.demo-titlebar { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--ink-300); background: var(--violet-100); font-size: 0.9375rem; font-weight: 700; }
.demo-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.demo-log { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 10px 20px; border-bottom: 1px solid var(--ink-300); text-align: center; }
.demo-log-text { color: var(--ink-600); font-size: 1rem; }
.demo-log-text strong { color: var(--ink-800); }
.demo-log-text.is-success { padding: 6px 18px; border: 2px solid var(--ink-800); border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink-800); font-weight: 700; }
.demo-stage {
  position: relative;
  height: calc(320px * var(--demo-scale, 1));
  overflow: hidden;
  background: var(--violet-100) radial-gradient(circle, var(--ink-300) 1px, transparent 1.5px) 0 0 / 28px 28px;
}
.demo-canvas { position: absolute; top: 0; left: 50%; width: 900px; height: 320px; transform: translateX(-50%) scale(var(--demo-scale, 1)); transform-origin: top center; }
.demo-edges { position: absolute; inset: 0; overflow: visible; }
.demo-edge { fill: none; stroke: var(--ink-300); stroke-width: 3; stroke-linecap: round; transition: stroke var(--dur-base) var(--ease-brand); }
.demo-edge.is-active { stroke: var(--violet-700); stroke-width: 4; }
.demo-edge.is-done { stroke: var(--violet-400); }
.demo-flow { fill: var(--coral); }
.demo-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s var(--ease-brand), transform 0.4s var(--ease-brand);
}
.demo-node.is-visible { opacity: 1; transform: none; }
.demo-node--0 { left: 40px; top: 110px; }
.demo-node--1 { left: 205px; top: 110px; }
.demo-node--2 { left: 375px; top: 30px; }
.demo-node--3 { left: 375px; top: 190px; }
.demo-node--4 { left: 555px; top: 110px; }
.demo-node--5 { left: 720px; top: 110px; }
.demo-node-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--ink-300);
  border-radius: 20px;
  background: var(--white);
  transition: border-color var(--dur-base) var(--ease-brand), box-shadow var(--dur-base) var(--ease-brand), background-color var(--dur-base) var(--ease-brand);
}
.demo-node.is-running .demo-node-box { border-color: var(--violet-700); box-shadow: 0 0 0 6px var(--violet-200); }
.demo-node.is-success .demo-node-box { border-color: var(--ink-800); background: var(--yellow); }
.demo-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
.demo-icon svg { display: block; width: 38px; height: 38px; }
.demo-status { position: absolute; top: -8px; right: -8px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid var(--ink-300); border-radius: 50%; background: var(--white); color: transparent; }
.demo-status svg { width: 12px; height: 12px; }
.demo-node.is-running .demo-status { border-color: var(--violet-700); background: var(--violet-700); }
.demo-node.is-done .demo-status, .demo-node.is-success .demo-status { border-color: var(--ink-800); background: var(--ink-800); color: var(--white); }
/* Schema yra fiksuoto dydžio (900 x 320, mažinama per transform), todėl jos
 * užrašai px, kad nepakeistų išdėstymo; kiti demonstracijos tekstai rem */
.demo-label { max-width: 116px; color: var(--ink-600); font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }
.demo-node.is-running .demo-label, .demo-node.is-success .demo-label { color: var(--ink-800); }
.demo-foot { display: flex; align-items: center; justify-content: flex-end; min-height: 64px; padding: 10px 20px; border-top: 1px solid var(--ink-300); }
.demo-replay svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .demo-node, .demo-node-box, .demo-edge { transition: none; }
}

/* ---------- Spausdinimas (pvz. teisiniai puslapiai į PDF) ---------- */
@media print {
  .promo-wrap, .cookies, .skip-link, .menu-btn, .lang, .nav, .nav-lang, dialog, .back-link, .carousel-arrow, .carousel-toggle, .moments-more, .footer-bottom nav { display: none !important; }
  .site-header { position: static; }
  html { scroll-padding: 0; }
  body { font-size: 11pt; }
  .site-footer { padding: 24px 0; }
  .policy-page, .faq-page { background: none; padding-top: 16px; }
  .faq-list details { break-inside: avoid; }
  .policy a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.9em; overflow-wrap: anywhere; }
  .status-page, .demo-page { background: none; padding-top: 16px; }
  .status-actions, .demo-actions, .demo-foot { display: none !important; }
  /* Kuponas: vienas gulsčias A4 lapas su violetiniu rėmeliu */
  .coupon-page { background: none; min-height: 0; page: kuponas; }
  .coupon-bar, .coupon-help { display: none !important; }
  .coupon-main { max-width: none; padding: 0; }
  .coupon { border: 8mm solid var(--violet-500); border-radius: 0; gap: 7mm; padding: 9mm 12mm; break-inside: avoid; }
  .coupon-name { font-size: 54pt; }
}
@page kuponas { size: A4 landscape; margin: 10mm; }
