/* ---------------------------------------------------------------------------
   Ebex svetainė — ta pati dizaino kalba kaip Ebex Statistika.
   Notion Mail stilius: šilti pilki tonai, popieriaus baltumo fonas, viena
   mėlyna akcentui, Inter, ploni šilti 1px rėmai, subtilūs šešėliai.
   Token'ų reikšmės — 1:1 iš ebex-statistika/src/app/globals.css.
   Naujų spalvų, radius ar šešėlių nekurti. Gradientų nenaudoti — vienintelė
   išimtis yra šūkis .portfolio-slogan (Granto pasirinkimas 2026-10-04).
--------------------------------------------------------------------------- */

/* Inter (variable, 400–700), self-host. Tik latin + latin-ext — lietuviškoms
   ir vokiškoms raidėms užtenka. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") 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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") 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;
}

/* ===== TOKEN'AI — šviesi tema ===== */
:root {
  --color-brand: #097fe8;
  --color-brand-dark: #0071cf;
  --color-brand-link: #0075de;
  --color-brand-tint: #e8f1fb;
  --color-brand-2: #5aa8ee;
  --color-brand-3: #b9d9f7;

  --color-ink: #191918;
  --color-ink-2: #37352f;
  --color-muted: #787672;
  --color-muted-2: #9b9a97;
  --color-faint: #b3b1ac;

  --color-line: #e9e8e5;
  --color-line-soft: #f1f0ee;

  --color-surface: #ffffff;
  --color-surface-2: #f6f5f4;
  --color-surface-3: #fbfbfa;
  --color-page: #f9f9f8;
  --color-page-accent: #f7f7f5;

  --color-positive: #1c7a4f;
  --color-positive-bg: #edf3ec;
  --color-negative: #b4443a;
  --color-negative-bg: #fbe4e4;

  --color-tag-green-bg: #edf3ec;
  --color-tag-green-fg: #1c3829;
  --color-tag-red-bg: #fbe4e4;
  --color-tag-red-fg: #5d1715;
  --color-tag-blue-bg: #e7f3f8;
  --color-tag-blue-fg: #183347;
  --color-tag-orange-bg: #faebdd;
  --color-tag-orange-fg: #5c3b23;
  --color-tag-gray-bg: #f1f1ef;
  --color-tag-gray-fg: #32302c;

  --color-input-border: #e3e2de;
  --color-input-border-hover: #cfcdc8;
  --color-hover-soft: #efeeec;

  --header-bg: rgba(255, 255, 255, 0.82);
  --scrollbar-thumb: #dcdbd7;
  --focus-ring: rgba(9, 127, 232, 0.18);

  --radius-bar: 3px;
  --radius-tag: 4px;
  --radius-nav: 6px;
  --radius-ctl: 8px;
  --radius-card: 12px;
  --radius-chip: 999px;

  --shadow-subtle: 0 1px 2px rgba(25, 25, 25, 0.03);
  --shadow-card: 0 1px 2px rgba(25, 25, 25, 0.03),
    0 2px 6px rgba(25, 25, 25, 0.03);
  --shadow-pop: 0 1px 2px rgba(25, 25, 25, 0.04),
    0 8px 24px rgba(25, 25, 25, 0.1);

  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease-ctl: 120ms ease;
  --max-w: 1180px;
  --gutter: 16px;

  color-scheme: light;
}

/* ===== TOKEN'AI — tamsi tema (šilti tamsūs tonai) ===== */
:root[data-theme="dark"] {
  --color-brand: #4c9bee;
  --color-brand-dark: #6aabf0;
  --color-brand-link: #6aabf0;
  --color-brand-tint: #16293d;
  --color-brand-2: #5aa8ee;
  --color-brand-3: #35516b;

  --color-ink: #e8e6e1;
  --color-ink-2: #c9c6bf;
  --color-muted: #928d85;
  --color-muted-2: #6f6b64;
  --color-faint: #5c5852;

  --color-line: #302e2b;
  --color-line-soft: #262523;

  --color-surface: #201f1e;
  --color-surface-2: #262523;
  --color-surface-3: #1b1a19;
  --color-page: #191817;
  --color-page-accent: #262523;

  --color-positive: #4caf88;
  --color-positive-bg: #142f25;
  --color-negative: #e2695e;
  --color-negative-bg: #3a1a17;

  --color-tag-green-bg: #14291d;
  --color-tag-green-fg: #a9d0b6;
  --color-tag-red-bg: #33191a;
  --color-tag-red-fg: #eaa9a4;
  --color-tag-blue-bg: #16293d;
  --color-tag-blue-fg: #9cc6e6;
  --color-tag-orange-bg: #33251a;
  --color-tag-orange-fg: #e3b58c;
  --color-tag-gray-bg: #2a2825;
  --color-tag-gray-fg: #c9c6bf;

  --color-input-border: #37352f;
  --color-input-border-hover: #4a473f;
  --color-hover-soft: #2a2825;

  --header-bg: rgba(25, 24, 23, 0.82);
  --scrollbar-thumb: #3a382f;
  --focus-ring: rgba(76, 155, 238, 0.25);

  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-pop: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 30px; }
}

/* Logotipo variantai: abu <img> DOM'e, matomas tik vienas. */
.logo-dark-variant { display: none !important; }
:root[data-theme="dark"] .logo-light-variant { display: none !important; }
:root[data-theme="dark"] .logo-dark-variant { display: block !important; }

/* Temos ikona: saulė šviesiai, mėnulis tamsiai. */
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }

/* ===== BAZĖ ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
}
:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}
::selection {
  background: var(--color-brand-tint);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 6px;
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Ikonos — Lucide stilius: 24×24, 1.6 stroke, round. */
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container,
.section-inner,
.nav-inner,
.footer-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== KOMPONENTAI ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-tag);
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  background: var(--color-tag-gray-bg);
  color: var(--color-tag-gray-fg);
}
.tag-blue {
  background: var(--color-tag-blue-bg);
  color: var(--color-tag-blue-fg);
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted-2);
  margin-bottom: 12px;
}

.link {
  color: var(--color-brand-link);
}
.link:hover {
  text-decoration: underline;
}

/* Mygtukai */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-ctl);
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.004em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.btn-primary {
  background: var(--color-brand);
  color: #fff;
  font-size: 14.5px;
  padding: 12px 16px;
}
.btn-primary:hover {
  background: var(--color-brand-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  height: 36px;
  padding: 0 12px;
}
.btn-ghost:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
/* Ghost mygtukas šalia primary — tokio pat aukščio. */
.btn-ghost.btn-lg {
  font-size: 14.5px;
  height: auto;
  padding: 12px 16px;
}
.btn-arrow::after {
  content: "→";
}
/* Mažas mygtukas navigacijai — eina po primary/ghost, kad juos perrašytų. */
.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: var(--radius-ctl);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.icon-btn:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}

/* ===== HEADER ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.nav-logo img {
  height: 22px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-nav);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.nav-links a:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--color-line);
  margin: 0 6px;
  flex: none;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  height: 32px;
  min-width: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-nav);
  background: transparent;
  color: var(--color-muted);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}

.menu-toggle {
  display: none;
  margin-left: -8px;
  color: var(--color-ink-2);
}

/* Pagrindinis CTA dešinėje juostos pusėje. */
.nav-cta {
  margin-left: 4px;
}

/* Telefone — off-canvas stalčius vietoj nuorodų juostos. */
@media (max-width: 860px) {
  .navbar:not(.legal-nav) .nav-links,
  .navbar:not(.legal-nav) .nav-divider,
  .navbar:not(.legal-nav) .lang-switcher {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-logo {
    margin-left: 4px;
  }
}

/* ===== MOBILUS STALČIUS ===== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.drawer[hidden] {
  display: none;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: default;
  animation: scrim-in 280ms ease-out both;
}
.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 280px;
  max-width: 82vw;
  display: flex;
  flex-direction: column;
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-line);
  box-shadow: var(--shadow-pop);
  animation: drawer-in 280ms cubic-bezier(0.32, 0.72, 0, 1) both;
}
.drawer.is-closing .drawer-scrim {
  animation: scrim-out 200ms ease-in both;
}
.drawer.is-closing .drawer-panel {
  animation: drawer-out 200ms cubic-bezier(0.4, 0, 0.9, 0.2) both;
}
.drawer-head {
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--color-line);
}
.drawer-head img {
  height: 20px;
  width: auto;
}
.drawer-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
}
.drawer-nav .section-label {
  margin: 8px 12px 6px;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 12px;
  border-radius: var(--radius-nav);
  font-size: 14.5px;
  color: var(--color-ink-2);
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.drawer-nav a:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
.drawer-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--color-line);
}
@keyframes drawer-in {
  from { transform: translate3d(-100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes drawer-out {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}
@keyframes scrim-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrim-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ===== HERO ===== */
.hero {
  padding: 88px 0 96px;
  text-align: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(48px, 8.5vw, 96px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  margin-bottom: 28px;
}
.highlight-blue {
  color: var(--color-brand);
}
.hero-content > p {
  max-width: 700px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-muted);
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.connection-diagram {
  width: 100%;
  max-width: 880px;
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
  text-align: left;
}
.platform-card {
  padding: 16px 20px;
}
.platform-card .name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.platform-card .desc {
  font-size: 12.5px;
  color: var(--color-muted-2);
  margin-top: 2px;
}
.ebex-hub {
  background: var(--color-brand-tint);
  border-color: transparent;
}
.ebex-hub .name {
  color: var(--color-brand);
}
.ebex-hub .desc {
  color: var(--color-ink-2);
}
.connector-line {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-faint);
}

/* ===== SEKCIJOS ===== */
section {
  position: relative;
}
.section {
  padding: 96px 0;
  border-top: 1px solid var(--color-line);
}
.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-ink);
  margin-bottom: 10px;
}
.section-header p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-muted);
}

/* Paslaugos */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 24px;
}
.service-card.bento-wide {
  grid-column: span 2;
}
.service-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctl);
  background: var(--color-brand-tint);
  color: var(--color-brand);
  margin-bottom: 16px;
}
.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
}
.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-ink);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 460px;
}
/* Administravimas — per visą tinklelio plotį: tekstas kairėje, darbai dešinėje. */
.service-card.bento-full {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}
.bento-full .admin-text {
  flex: 1 1 320px;
}
.admin-tags {
  flex: 1 1 380px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.admin-tags .tag {
  gap: 6px;
  padding: 5px 10px 5px 8px;
  font-size: 13px;
  white-space: normal;
}
.admin-tags .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  color: var(--color-brand);
}

/* Darbų eiga — vienas konteineris, žingsniai atskirti 1px linija. */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line);
  overflow: hidden;
}
.step {
  background: var(--color-surface);
  padding: 20px 24px 24px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-chip);
  background: var(--color-brand-tint);
  color: var(--color-brand);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin-bottom: 6px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-muted);
}

/* Klientai — slenkanti juosta kortelėje. */
.marquee-frame {
  overflow: hidden;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.marquee-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-ctl);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-2);
  white-space: nowrap;
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.marquee-item:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Šūkis — kaip senojoje ebex.lt: didelis, sidabrinis gradientas iš viršaus
   į apačią. Spalvos — token'ai, todėl tamsioje temoje pats tampa šviesiu. */
#portfolio {
  padding-bottom: 128px;
}
.portfolio-slogan {
  margin-top: 72px;
  text-align: center;
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: lowercase;
  color: var(--color-muted);
  background: linear-gradient(
    180deg,
    var(--color-ink) 0%,
    var(--color-muted) 60%,
    var(--color-faint) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portfolio-slogan span {
  white-space: nowrap;
}

/* DUK — Notion „toggle" blokai: rodyklė kairėje, eilutės atskirtos 1px linija. */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}
.faq {
  overflow: hidden;
}
.faq-item + .faq-item {
  border-top: 1px solid var(--color-line);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-ink);
  transition: background-color var(--ease-ctl);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  background: var(--color-hover-soft);
}
.faq-item summary:focus-visible {
  outline-offset: -2px;
}
.faq-item summary .icon {
  margin-top: 2px;
  color: var(--color-muted-2);
  transition: transform var(--ease-ctl);
}
.faq-item[open] summary .icon {
  transform: rotate(90deg);
}
.faq-item p {
  padding: 0 20px 18px 48px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* Kontaktai */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.contact-info > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line-soft);
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctl);
  background: var(--color-brand-tint);
  color: var(--color-brand);
}
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
}
.contact-detail a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink);
  transition: color var(--ease-ctl);
}
.contact-detail a:hover {
  color: var(--color-brand-link);
}
.contact-detail small {
  display: block;
  font-size: 12.5px;
  color: var(--color-muted-2);
}

/* Forma */
.contact-form {
  position: relative;
  padding: 20px;
}
@media (min-width: 640px) {
  .contact-form {
    padding: 24px;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-ink-2);
  margin-bottom: 8px;
}
.form-group label .required {
  color: var(--color-negative);
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-ctl);
  box-shadow: var(--shadow-subtle);
  outline: none;
  transition: border-color var(--ease-ctl), box-shadow var(--ease-ctl);
}
.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--color-input-border-hover);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-faint);
}
.form-group textarea {
  resize: vertical;
  min-height: 112px;
}
.btn-submit {
  width: 100%;
  margin-top: 4px;
}
.btn-submit:disabled {
  cursor: default;
  opacity: 0.85;
}
.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--color-muted-2);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 28px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-bottom: 20px;
}
.footer-logo img {
  height: 20px;
  width: auto;
}
.footer-contacts {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-nav);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.footer-contact-item:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  gap: 2px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-ctl);
  color: var(--color-muted);
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.social-link:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line-soft);
}
.footer-bottom-text,
.footer-privacy-link {
  font-size: 12.5px;
  color: var(--color-muted-2);
}
.footer-privacy-link:hover {
  color: var(--color-ink);
  text-decoration: underline;
}

/* ===== SLAPUKŲ JUOSTA ===== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 50;
  width: fit-content;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 12px 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 200ms ease, transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-ink-2);
}
.cookie-banner p a {
  color: var(--color-brand-link);
}
.cookie-banner p a:hover {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.cookie-btn {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: calc(100% - 32px);
    padding: 14px 16px;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

/* ===== ĮSIRODYMAS SLENKANT (subtilus) ===== */
.fade-up {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
body.lang-switching [data-lt] {
  animation: lang-fade 200ms ease;
}
@keyframes lang-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  /* Stalčiaus animacija lieka (≈0 trukmės) — `animationend` jį uždaro. */
  .drawer-scrim,
  .drawer-panel,
  .drawer.is-closing .drawer-scrim,
  .drawer.is-closing .drawer-panel {
    animation-duration: 0.01ms;
  }
  .cookie-banner {
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-layout .section-header {
    margin-bottom: 0;
  }
}
@media (max-width: 760px) {
  .connection-diagram {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 420px;
  }
  .connector-line svg {
    transform: rotate(90deg);
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero-content > p {
    font-size: 18px;
  }
  .connection-diagram {
    margin-top: 48px;
  }
  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .service-card.bento-wide {
    grid-column: span 1;
  }
  .faq-item summary {
    padding: 14px 16px;
  }
  .faq-item p {
    padding: 0 16px 16px 44px;
  }
  #portfolio {
    padding-bottom: 88px;
  }
  .portfolio-slogan {
    margin-top: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contacts {
    margin-left: -10px;
  }
  .footer-social {
    margin-left: -8px;
  }
}

/* ===== PRIVATUMO POLITIKA ===== */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px var(--gutter) 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  margin: 0 0 24px -10px;
  padding: 0 10px;
  border-radius: var(--radius-nav);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  transition: background-color var(--ease-ctl), color var(--ease-ctl);
}
.back-link:hover {
  background: var(--color-hover-soft);
  color: var(--color-ink);
}
.legal h1 {
  font-size: clamp(27px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 6px;
}
.legal .updated {
  font-size: 12.5px;
  color: var(--color-muted-2);
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-ink);
  margin: 36px 0 10px;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-2);
}
.legal p {
  margin-bottom: 14px;
}
.legal ul {
  margin: 0 0 14px 20px;
}
.legal li {
  margin-bottom: 6px;
}
.legal strong {
  font-weight: 600;
  color: var(--color-ink);
}
.legal a:not(.back-link) {
  color: var(--color-brand-link);
}
.legal a:not(.back-link):hover {
  text-decoration: underline;
}
.table-wrap {
  overflow-x: auto;
  margin: 4px 0 14px;
}
.legal table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-line-soft);
  color: var(--color-ink-2);
}
.legal th {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-muted-2);
  background: var(--color-surface-3);
  border-bottom-color: var(--color-line);
}
.legal tbody tr:last-child td {
  border-bottom: 0;
}
.legal-footer {
  border-top: 1px solid var(--color-line);
  padding: 24px var(--gutter);
  text-align: center;
  font-size: 12.5px;
  color: var(--color-muted-2);
}

/* ===== 404 PUSLAPIS ===== */
/* Turinys užpildo ekraną tarp juostos ir poraštės. */
.notfound-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.notfound {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px var(--gutter);
  text-align: center;
}
.notfound-code {
  display: flex;
  justify-content: center;
  /* Vieta katinui virš skaičių. */
  padding-top: 0.42em;
  font-size: clamp(112px, 28vw, 200px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--color-faint);
  margin-bottom: 24px;
  user-select: none;
}
/* Katinas sėdi ant nulio; uodega nukarusi per kraštą ir lėtai mosuoja. */
.notfound-zero {
  position: relative;
}
.notfound-cat {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 0.14em);
  width: 0.58em;
  height: auto;
  transform: translateX(-46%);
  overflow: visible;
  fill: var(--color-ink-2);
}
.notfound-tail {
  fill: none;
  stroke: var(--color-ink-2);
  stroke-width: 6.5;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 84px 97px;
  animation: notfound-tail 3.2s ease-in-out infinite;
}
.notfound-eye {
  fill: var(--color-page);
  transform-box: fill-box;
  transform-origin: center;
  animation: notfound-blink 6s infinite;
}
@keyframes notfound-tail {
  0%,
  100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}
@keyframes notfound-blink {
  0%,
  92%,
  100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
@media (prefers-reduced-motion: reduce) {
  .notfound-tail,
  .notfound-eye {
    animation: none;
  }
}
.notfound h1 {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 10px;
}
.notfound p {
  max-width: 420px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
}
