/* =========================================================
   Vilniaus logistika – demo dizainas
   Šviesus, informatyvus, lengvai skaitomas. Firminė mėlyna iš logotipo (#214673),
   sidabrinė žvaigždė kaip motyvas, geltona – sandėlio grindų žymėjimo akcentas.
   ========================================================= */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0d1b2e;
  --ink-2: #27364b;
  --muted: #586579;
  --line: #e2e6ec;
  --line-2: #cdd4de;
  --bg: #f4f6f9;
  --bg-2: #eaeef3;
  --paper: #ffffff;
  --navy: #214673;
  --navy-600: #1a3a61;
  --navy-800: #112a4a;
  --navy-900: #0a1c33;
  --steel: #9fadc0;
  --silver: #d9dde3;
  --amber: #f2b01e;
  --amber-soft: #fdf1d3;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --section: clamp(76px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html.no-motion { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 750; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

/* ---------- elementai ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px;
}
.eyebrow svg { width: 13px; height: 13px; fill: var(--amber); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.btn:hover svg[aria-hidden], .btn:hover > svg:last-child { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-primary:hover::after { transform: scaleX(1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost svg:first-child { width: 18px; height: 18px; }
.btn-ghost:hover svg:first-child { transform: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .25s, gap .25s var(--ease); }
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { border-color: var(--amber); gap: 12px; }

.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + .section-lead { margin-top: 20px; }
.section-lead { font-size: 1.1rem; line-height: 1.65; color: var(--muted); max-width: 64ch; }
h2 + .section-lead { margin-top: 20px; }

.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 11px; background: var(--amber); clip-path: path("M5.5 0C5.7 3.5 7.5 5.3 11 5.5 7.5 5.7 5.7 7.5 5.5 11 5.3 7.5 3.5 5.7 0 5.5 3.5 5.3 5.3 3.5 5.5 0Z"); }
.ticks.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* ---------- antraštė ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,27,46,.35); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: grid; flex: none; }
.brand img { grid-area: 1 / 1; width: 178px; height: auto; transition: opacity .35s; }
.brand .logo-light { opacity: 0; }
/* virš hero video: permatoma antraštė, balti elementai (tik kai veikia JS) */
.js-motion .site-header.is-top, .no-motion .site-header.is-top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border-bottom-color: rgba(255,255,255,.14); }
.is-top .brand .logo-dark { opacity: 0; }
.is-top .brand .logo-light { opacity: 1; }
.is-top .main-nav a { color: rgba(255,255,255,.86); }
.is-top .main-nav a:hover, .is-top .main-nav a.is-current { color: #fff; }
.is-top .header-phone { color: #fff; }
.is-top .header-phone svg { color: var(--amber); }
.is-top .header-actions .btn-primary { background: #fff; color: var(--navy); }
.is-top .header-actions .btn-primary:hover { background: var(--amber); color: var(--ink); }
.is-top .menu-toggle { background: transparent; border-color: rgba(255,255,255,.4); }
.is-top .menu-toggle span:not(.sr) { background: #fff; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a { position: relative; white-space: nowrap; padding: 8px 11px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.is-current { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--navy); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: #fff; border-radius: var(--r-sm); position: relative; cursor: pointer; }
.menu-toggle span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 12px var(--gutter) 28px; max-height: calc(100svh - var(--header-h)); overflow: auto; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.25rem; font-weight: 750; letter-spacing: -.015em; color: var(--ink); text-decoration: none; }
.mobile-menu-contacts { display: grid; gap: 6px; margin-top: 20px; }
.mobile-menu-contacts a { font-weight: 650; font-size: 1.1rem; text-decoration: none; }

/* ---------- hero: video per visą ekrano plotį ir aukštį ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 clamp(72px, 11vh, 120px); background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--navy-900) url("../img/foto/poster-hero-1920.webp") center / cover; }
.hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,22,42,.9) 0%, rgba(8,22,42,.72) 34%, rgba(8,22,42,.28) 66%, rgba(8,22,42,.12) 100%),
    linear-gradient(180deg, rgba(8,22,42,.6) 0%, rgba(8,22,42,0) 24%, rgba(8,22,42,0) 62%, rgba(8,22,42,.7) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(32px, 5vw, 72px); }
.hero-copy { max-width: 760px; }
.hero .eyebrow { color: rgba(255,255,255,.9); }
.hero-copy h1 { color: #fff; margin-bottom: 24px; font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.hero-copy .lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255,255,255,.86); max-width: 58ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn-accent { background: var(--amber); color: var(--ink); }
.btn-accent:hover { background: #ffc642; color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.btn-ghost-light svg:first-child { width: 18px; height: 18px; }
.btn-ghost-light:hover svg:first-child { transform: none; }
@supports (backdrop-filter: blur(6px)) { .btn-ghost-light { backdrop-filter: blur(6px); } }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: var(--amber); }

.hero-card {
  position: relative; display: grid; gap: 2px; width: 260px; padding: 20px 22px 18px; background: #fff; border-radius: var(--r);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.4;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--amber); border-radius: 0 3px 3px 0; }
.hero-card:hover { transform: translateY(-4px); color: var(--ink-2); }
.hero-card-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-card strong { font-family: var(--display); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; margin-top: 4px; }
.hero-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--navy); }
.hero-card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hero-card:hover .hero-card-link svg { transform: translateX(3px); }

.hero-scroll { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollCue 1.8s var(--ease) infinite; }
.hero-scroll:hover { border-color: #fff; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- terminalas skaičiais (bento) ---------- */
.facts-band { background: #fff; padding-block: var(--section); }
.bento-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.bento-head h2 { max-width: 18ch; }
.bento-head .section-lead { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(270px, auto); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--bg); overflow: hidden; isolation: isolate; }
.tile-years { grid-column: span 5; }
.tile-capacity { grid-column: span 4; }
.tile-guard { grid-column: span 3; }
.tile-area { grid-column: span 5; }
.tile-customs { grid-column: span 4; }
.tile-rail { grid-column: span 3; }
.tile p { margin: 0; }
.tile-label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: auto !important; padding-bottom: 18px; }
.tile-num { font-family: var(--display); font-size: clamp(2.5rem, 3.6vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); margin-bottom: 10px !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-num small { margin-left: 8px; font-size: .4em; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }
.tile-text { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 40ch; }
.tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tile .link-arrow { align-self: flex-start; margin-top: 16px; font-size: 15px; }

/* nuotraukų plytelės */
.tile-photo { background: var(--navy-900); color: #fff; padding: 0; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,42,.6) 0%, rgba(8,22,42,.35) 30%, rgba(8,22,42,.62) 58%, rgba(8,22,42,.94) 100%); }
.tile-years::after { background: linear-gradient(90deg, rgba(8,22,42,.82) 0%, rgba(8,22,42,.55) 60%, rgba(8,22,42,.35) 100%), linear-gradient(180deg, rgba(8,22,42,.2) 0%, rgba(8,22,42,.75) 100%); }
.tile-photo:hover > img { transform: scale(1.05); }
.tile-body { flex: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 32px); }
.tile-photo .tile-label { color: rgba(255,255,255,.85); }
.tile-photo .tile-num, .tile-photo h3 { color: #fff; }
.tile-photo .tile-num small { color: rgba(255,255,255,.75); }
.tile-photo .tile-text { color: rgba(255,255,255,.85); }

/* patirties laiko juosta */
.timeline { position: relative; height: 2px; margin: 26px 6px 26px 0; background: rgba(255,255,255,.28); }
.timeline-fill { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
.timeline::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(242,176,30,.25); }
.timeline b { position: absolute; top: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); }
.timeline b:first-of-type { left: 0; }
.timeline b:last-of-type { right: 0; }

/* krautuvų galios skalė */
.scale { margin-top: 22px; }
.scale-track { position: relative; height: 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line-2); overflow: hidden; }
.scale-fill { position: absolute; top: 0; bottom: 0; left: 15%; right: 0; background: var(--amber); transform-origin: left; transition: transform 1.4s var(--ease) .4s; }
.scale-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* apsauga: gyvas laikas */
.tile-dark { background: var(--navy); color: #fff; }
.tile-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 100% 0%, rgba(242,176,30,.18), transparent 60%); }
.tile-dark .tile-label { color: rgba(255,255,255,.7); }
.tile-dark .tile-num { color: #fff; }
.tile-dark .tile-text { color: rgba(255,255,255,.78); }
.tile-live { display: flex; align-items: center; gap: 9px; margin-bottom: 12px !important; font-size: 14px; font-weight: 650; color: #fff; }
.tile-live time { font-variant-numeric: tabular-nums; }
.pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* plotas: langeliai po 100 m² */
.tile-area { flex-direction: row; gap: clamp(20px, 3vw, 36px); }
.tile-area-copy { flex: 1 1 52%; display: flex; flex-direction: column; min-width: 0; }
.area-dots-wrap { flex: 0 1 42%; max-width: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.area-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.area-dots i { aspect-ratio: 1; border-radius: 2px; background: var(--navy); transition: background-color .3s ease; transition-delay: calc(var(--i, 0) * 16ms + .3s); }
.area-dots i:first-child { background: var(--amber) !important; }
.area-dots-note { margin-top: 10px !important; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* muitinės kodai */
.codes { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.codes li { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line-2); border-radius: 4px; padding: 4px 8px; }

/* ---------- paslaugos ---------- */
.services { background: var(--bg); }
.route { list-style: none; padding: 0; margin: 0 0 clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.route::before, .route::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; }
.route::before { background: var(--line-2); }
.route::after { background: var(--amber); transform: scaleX(var(--route-p, 1)); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.js-motion .route[data-reveal]:not(.is-in) { --route-p: 0; }
.route-stop { position: relative; z-index: 1; padding: 46px 24px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.route-stop::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--navy); box-shadow: 0 0 0 5px var(--bg); }
.route-num { position: absolute; left: 30px; top: 3px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); background: var(--bg); padding: 0 8px; }
.route-stop h3 { font-size: 1.12rem; margin-bottom: 8px; }
.route-stop button { border: 0; background: none; padding: 2px 0; font-size: 16px; color: var(--navy); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.route-stop button:hover { text-decoration-color: var(--amber); }

.svc { display: grid; grid-template-columns: minmax(0, 4.1fr) minmax(0, 7.9fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-tabs { border-right: 1px solid var(--line); padding: 22px 0; display: flex; flex-direction: column; }
.svc-group { margin: 14px 26px 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-group:first-child { margin-top: 0; }
.svc-tabs button { position: relative; display: flex; gap: 14px; align-items: baseline; text-align: left; border: 0; background: none; padding: 11px 26px; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.svc-tabs button span { font-family: var(--mono); font-size: 12.5px; color: var(--steel); font-weight: 500; flex: none; }
.svc-tabs button::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--amber); transform: scaleY(0); transition: transform .3s var(--ease); }
.svc-tabs button:hover { background: var(--bg); }
.svc-tabs button[aria-selected="true"] { color: var(--navy); background: #f7f9fc; font-weight: 700; }
.svc-tabs button[aria-selected="true"] span { color: var(--navy); }
.svc-tabs button[aria-selected="true"]::before { transform: scaleY(1); }

.svc-panels { position: relative; min-height: 640px; }
.svc-panel { display: none; }
.svc-panel.is-active { display: block; }
.svc-acc { display: none; }
.svc-body { display: grid; grid-template-rows: auto 1fr; }
.svc-img { aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-text { padding: clamp(26px, 3vw, 40px) clamp(26px, 3.4vw, 46px) clamp(30px, 3.4vw, 44px); }
.svc-text h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); margin-bottom: 14px; }
.svc-lead { font-size: 1.06rem; color: var(--ink); line-height: 1.55; }
.svc-text p { max-width: 70ch; }
.svc-panel.is-active .svc-img img { animation: svcImg .9s var(--ease) both; }
.svc-panel.is-active .svc-text > * { animation: svcIn .6s var(--ease) both; }
.svc-panel.is-active .svc-text > *:nth-child(2) { animation-delay: .05s; }
.svc-panel.is-active .svc-text > *:nth-child(3) { animation-delay: .1s; }
.svc-panel.is-active .svc-text > *:nth-child(4) { animation-delay: .15s; }
.svc-panel.is-active .svc-text > *:nth-child(5) { animation-delay: .2s; }
@keyframes svcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes svcImg { from { opacity: .4; transform: scale(1.05); } to { opacity: 1; transform: none; } }

.spec { display: grid; grid-template-columns: 1fr 1fr; margin: 6px 0 26px; border-top: 1px solid var(--line); }
.spec > div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.spec > div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec > div:nth-child(even) { padding-left: 16px; }
.spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.spec dd { margin: 0; font-weight: 650; color: var(--ink); line-height: 1.35; }

/* ---------- terminalas (tamsi juosta) ---------- */
.terminal { background: var(--navy-900); color: #c6d0dd; position: relative; overflow: hidden; }
.terminal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 500px at 85% 0%, rgba(33,70,115,.55), transparent 60%); pointer-events: none; }
.terminal .container { position: relative; }
.on-dark h2 { color: #fff; }
.on-dark .eyebrow { color: #c9d3e0; }
.on-dark .section-lead { color: #b3bfce; }
.terminal-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.terminal-top .section-head { margin-bottom: 0; }
.terminal-address { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: #fff; }
.terminal-address svg { width: 20px; height: 20px; color: var(--amber); }
.terminal-video { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy-800) url("../img/foto/poster-traukinys.webp") center / cover; }
.terminal-video video { width: 100%; height: 100%; object-fit: cover; }
.terminal-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 15px; color: #fff; background: linear-gradient(transparent, rgba(10,28,51,.85)); }

.plan-wrap { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.plan-figure { border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: clamp(14px, 2vw, 24px); background: rgba(255,255,255,.02); }
.plan { width: 100%; height: auto; color: #8fa3bd; overflow: visible; }
.plan .fence { fill: none; stroke: #5d7392; stroke-width: 1.5; stroke-dasharray: 6 6; }
.plan .road { fill: none; stroke: #33496a; stroke-width: 26; stroke-linejoin: round; }
.plan .shape, .plan .shape-line { fill: rgba(255,255,255,.04); stroke: #9fb2cb; stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.plan .shape-line { fill: none; stroke: var(--amber); stroke-width: 3; }
.plan .fill-hatch { fill: url(#hatch); }
.plan .detail { fill: none; stroke: #6c82a1; stroke-width: 1.2; }
.plan .rail { fill: none; stroke: #9fb2cb; stroke-width: 2; }
.plan .ties { stroke: #4b6080; stroke-width: 2; }
.plan .wagons rect { fill: #1d3557; stroke: #9fb2cb; stroke-width: 1.2; }
.plan .truck rect { fill: #1d3557; stroke: #9fb2cb; stroke-width: 1.2; }
.plan .truck .cab { fill: #2c4a72; }
.plan .area-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; fill: #8fa3bd; }
.plan .marker circle { fill: var(--navy-900); stroke: var(--amber); stroke-width: 2; transition: fill .3s; }
.plan .marker text { font-family: var(--mono); font-size: 13px; font-weight: 700; fill: #fff; text-anchor: middle; transition: fill .3s; }
.plan .area { cursor: pointer; transition: opacity .35s var(--ease); }
.plan.has-active .area:not(.is-active) { opacity: .35; }
.plan .area.is-active .shape { fill: rgba(242,176,30,.18); stroke: var(--amber); }
.plan .area.is-active .marker circle { fill: var(--amber); }
.plan .area.is-active .marker text { fill: var(--navy-900); }
.plan-note { margin: 12px 4px 0; font-size: 13.5px; color: #8494a9; }
/* braižymo animacija */
.js-motion .plan [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease), fill .3s, stroke .3s; }
.js-motion .is-in .plan [pathLength] { stroke-dashoffset: 0; }
.js-motion .is-in .plan .area:nth-of-type(2) [pathLength] { transition-delay: .15s; }
.js-motion .is-in .plan .area:nth-of-type(3) [pathLength] { transition-delay: .3s; }
.js-motion .is-in .plan .area:nth-of-type(4) [pathLength] { transition-delay: .45s; }
.js-motion .is-in .plan .area:nth-of-type(5) [pathLength] { transition-delay: .6s; }
.js-motion .is-in .plan .area:nth-of-type(6) [pathLength] { transition-delay: .75s; }
.js-motion .is-in .plan .area:nth-of-type(7) [pathLength] { transition-delay: .9s; }
.js-motion .plan .marker, .js-motion .plan .truck, .js-motion .plan .wagons { opacity: 0; transition: opacity .6s ease 1.2s; }
.js-motion .is-in .plan .marker, .js-motion .is-in .plan .truck, .js-motion .is-in .plan .wagons { opacity: 1; }
.js-motion .plan .wagons { transform: translateX(-60px); transition: opacity .6s ease 1.1s, transform 2.2s var(--ease) 1.1s; }
.js-motion .is-in .plan .wagons { transform: none; }
.js-motion .plan .fence { opacity: 0; transition: opacity 1.2s ease; }
.js-motion .is-in .plan .fence { opacity: 1; }

.plan-legend { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.plan-legend li { border-bottom: 1px solid rgba(255,255,255,.12); }
.plan-legend button { width: 100%; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: start; text-align: left; border: 0; background: none; padding: 15px 8px 15px 0; cursor: pointer; color: #c6d0dd; transition: background-color .25s; border-radius: 4px; }
.plan-legend button span { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--amber); font-family: var(--mono); font-size: 13px; font-weight: 700; color: #fff; transition: background-color .25s, color .25s; }
.plan-legend strong { font-family: var(--display); font-size: 1.04rem; font-weight: 750; color: #fff; line-height: 1.2; }
.plan-legend em { font-style: normal; font-size: 15px; color: #a6b3c4; line-height: 1.4; margin-top: 2px; }
.plan-legend button:hover, .plan-legend button.is-active { background: rgba(255,255,255,.04); }
.plan-legend button.is-active span { background: var(--amber); color: var(--navy-900); }

.terminal-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.terminal-strip figure { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.terminal-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.terminal-strip figure:hover img { transform: scale(1.04); }
.terminal-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(10,28,51,.88)); }

/* ---------- saugumas ---------- */
.security-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.security-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.security-img img { width: 100%; height: 100%; object-fit: cover; }
.rows { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.rows li { padding: 16px 0 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.rows strong { font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-weight: 750; line-height: 1.2; }
.rows span { font-size: 15.5px; color: var(--muted); line-height: 1.45; }

/* ---------- muitinė ---------- */
.customs { background: var(--bg); }
.customs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.customs-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.explainer { margin-top: 32px; padding: 26px 28px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); border-left: 3px solid var(--amber); }
.explainer h3 { font-size: 1.15rem; margin-bottom: 10px; }
.explainer p { font-size: 16.5px; }
.docs { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.docs li { display: grid; grid-template-columns: 108px 1fr; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.docs li:last-child { border-bottom: 0; }
.docs li:hover { background: #fafbfd; }
.docs code { align-self: start; justify-self: start; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--navy); background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: 5px 9px; margin-top: 2px; white-space: nowrap; transition: background-color .25s, border-color .25s; }
.docs li:hover code { background: var(--amber-soft); border-color: var(--amber); }
.docs strong { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 750; color: var(--ink); line-height: 1.25; margin-bottom: 2px; }
.docs span { display: block; font-size: 15.5px; color: var(--muted); line-height: 1.45; }

/* ---------- ekspedijavimas ---------- */
.freight-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.freight-head .section-lead { margin: 0; }
.flow { position: relative; display: grid; grid-template-columns: 250px 1fr 220px 1fr 260px; grid-template-areas: "from . hub . to"; align-items: center; padding: 34px 32px; background: var(--bg); border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 80px); min-height: 360px; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-line { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.flow-dot { fill: var(--navy); }
.flow-dot.amber { fill: var(--amber); }
.flow-col { position: relative; display: grid; gap: 12px; z-index: 1; }
.flow-from { grid-area: from; }
.flow-hub { grid-area: hub; }
.flow-to { grid-area: to; }
.flow-cap { margin: 0 0 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow-node { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 650; color: var(--ink); line-height: 1.3; font-size: 15px; }
.flow-node.hub { background: var(--navy); color: #fff; border-color: var(--navy); padding: 22px 20px; font-family: var(--display); font-size: 1.12rem; font-weight: 800; line-height: 1.15; text-align: center; box-shadow: 0 20px 40px -24px rgba(17,42,74,.6); }
.flow-node.hub small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #b9c7da; margin-bottom: 6px; }
.flow-to .flow-node { border-left: 3px solid var(--amber); }

.freight-bottom { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.freight-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; }
.freight-img img { width: 100%; height: 100%; object-fit: cover; }
.freight-copy h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 16px; }
.principles { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.principles li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.principles li:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.principles li:nth-child(even) { padding-left: 16px; }
.principles span { font-family: var(--mono); font-size: 12px; color: var(--steel); }

/* ---------- nuoma ---------- */
.rent { background: var(--bg); }
.rent-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.rent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.rent-card figure { aspect-ratio: 16 / 8; overflow: hidden; }
.rent-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rent-card:hover figure img { transform: scale(1.03); }
.rent-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.rent-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.rent-card:not(.rent-area) figure { aspect-ratio: auto; flex: 1 1 280px; min-height: 280px; }
.rent-card:not(.rent-area) .rent-body { flex: 0 0 auto; }
.rent-body .link-arrow { margin-top: auto; align-self: flex-start; }
.area-tool { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; }
.area-tool label { font-weight: 650; color: var(--ink); }
.area-tool output { font-family: var(--display); font-size: clamp(1.9rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.area-tool input[type=range] { grid-column: 1 / -1; width: 100%; margin: 16px 0 2px; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.area-tool input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--navy) var(--fill, 16%), var(--line) var(--fill, 16%)); }
.area-tool input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.area-tool input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--navy); }
.area-tool input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 0 0 4px rgba(242,176,30,.0); transition: box-shadow .2s; }
.area-tool input[type=range]:hover::-webkit-slider-thumb, .area-tool input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(242,176,30,.35); }
.area-tool input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.area-tool input[type=range]:focus-visible { outline: none; }
.area-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.courts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin: 18px 0 8px; }
.court { position: relative; aspect-ratio: 28 / 15; border: 1.5px solid var(--line-2); border-radius: 3px; overflow: hidden; background: #fff; }
.court::before { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(var(--f, 0)); transform-origin: left; transition: transform .35s var(--ease); }
.court::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: rgba(13,27,46,.22); }
.court i { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; border: 1.5px solid rgba(13,27,46,.22); border-radius: 50%; transform: translate(-50%, -50%); }
.area-compare { grid-column: 1 / -1; margin: 0 0 20px; font-size: 15.5px; color: var(--muted); }
.area-compare strong { color: var(--ink); }
.area-tool .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- apie mus ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 100px); align-items: center; }
.about-media { position: relative; padding-bottom: 70px; padding-right: 60px; }
.about-img-1 { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; }
.about-img-1 img { width: 100%; height: 115%; object-fit: cover; }
.about-img-2 { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 50px -30px rgba(13,27,46,.55); }
.about-img-2 img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p:not(.section-lead):not(.eyebrow) { max-width: 62ch; }
.about-copy .section-lead { margin-bottom: 1em; color: var(--ink-2); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; border-top: 1px solid var(--line-2); }
.about-facts > div { padding: 18px 16px 0 0; }
.about-facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.about-facts dt { font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.about-facts dd { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.35; }

/* ---------- kontaktai ---------- */
.contact-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.contact-head .eyebrow { grid-column: 1 / -1; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 14px 14px 0 0; font-size: 15px; color: var(--muted); line-height: 1.4; }
.steps span { display: block; font-family: var(--mono); font-size: 12px; color: var(--navy); margin-bottom: 4px; }
.steps strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--ink); font-weight: 750; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
.chips { border: 0; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 650; color: var(--ink); margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15.5px; font-weight: 560; color: var(--ink-2); transition: all .2s; }
.chips label:hover span { border-color: var(--navy); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fbfcfd; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(33,70,115,.12); }
.field .err { display: none; color: #b42318; font-size: 14px; }
.field.has-error input { border-color: #b42318; }
.field.has-error .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-ok { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 14px 16px; background: #eef7f0; border: 1px solid #bfe0c7; border-radius: var(--r-sm); color: #1d5c2e; font-weight: 600; }
.form-ok[hidden] { display: none; }
.form-ok svg { width: 22px; height: 22px; }
.contact-card { background: var(--navy-900); color: #c6d0dd; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15.5px; }
.contact-list span { color: #8f9fb4; }
.contact-list a { color: #fff; font-weight: 650; text-decoration: none; line-height: 1.4; }
.contact-list a:hover { color: var(--amber); }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.55) contrast(1.02); }
.map { position: relative; background: var(--navy-800) radial-gradient(circle at 50% 50%, rgba(242,176,30,.35) 0 6px, transparent 7px); }
.map-open { position: absolute; right: 10px; bottom: 10px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 650; padding: 7px 11px; border-radius: 4px; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.map-open:hover { color: var(--navy); }

/* ---------- poraštė ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #a9b6c7; font-size: 15px; padding-top: clamp(64px, 8vw, 104px); border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 420px at 88% 0%, rgba(33,70,115,.6), transparent 62%), radial-gradient(520px 300px at 0% 100%, rgba(242,176,30,.07), transparent 70%); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand img { width: 210px; margin-bottom: 20px; }
.footer-tagline { max-width: 34ch; margin-bottom: 30px; color: #c6d0dd; }
.footer-contacts { display: grid; gap: 18px; margin-bottom: 24px; }
.footer-big { display: inline-flex; flex-direction: column; align-self: start; justify-self: start; gap: 2px; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: #fff; text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .4s var(--ease), color .2s; }
.footer-big span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8494a9; }
.footer-big:hover { color: #fff; background-size: 100% 2px; }
.footer-phones { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer-phones li { display: grid; font-size: 14.5px; }
.footer-phones span { font-size: 12.5px; color: #8494a9; }
.footer-phones a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-phones a:hover { color: var(--amber); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col h4::before { content: ""; width: 14px; height: 2px; background: var(--amber); }
.footer-col a { position: relative; color: #c6d0dd; text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-req dl { margin: 0 0 18px; display: grid; gap: 10px; }
.footer-req dl div { display: grid; gap: 1px; }
.footer-req dt { font-size: 12.5px; color: #8494a9; }
.footer-req dd { margin: 0; color: #e3e9f1; font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.copy-btn svg { width: 17px; height: 17px; }
.copy-btn:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.copy-btn.is-copied { border-color: var(--amber); color: var(--amber); }

/* geležinkelio linija su traukiniu */
.footer-rail { position: relative; height: 54px; overflow: hidden; color: #8fa3bd; }
.footer-rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 3px, transparent 3px 15px); }
.footer-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 8px; border-top: 1.5px solid rgba(255,255,255,.26); border-bottom: 1.5px solid rgba(255,255,255,.18); }
.footer-train { position: absolute; left: 0; bottom: 14px; z-index: 1; width: 372px; animation: trainRun 46s linear infinite; }
.footer-train svg { display: block; overflow: visible; }
.footer-train .wagon rect, .footer-train .loco path:first-child { fill: #13294a; stroke: #6f86a6; stroke-width: 1.3; }
.footer-train .wagon path { stroke: #2e4a70; stroke-width: 1.2; }
.footer-train circle { fill: var(--navy-900); stroke: #8fa3bd; stroke-width: 1.3; }
.footer-train .coupler { stroke: #6f86a6; stroke-width: 1.6; }
.footer-train .cab { fill: rgba(242,176,30,.75); }
.footer-train .stripe { stroke: var(--amber); stroke-width: 2; }
@keyframes trainRun { from { transform: translateX(-400px); } to { transform: translateX(calc(100vw + 20px)); } }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-block: 22px 26px; font-size: 13.5px; color: #8494a9; }
.footer-bottom p { margin: 0; }
.footer-addr { display: inline-flex; align-items: center; gap: 6px; }
.footer-addr svg { width: 16px; height: 16px; color: var(--amber); }
.footer-addr a { color: #c6d0dd; }
.footer-addr a:hover { color: var(--amber); }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); color: #fff; font-weight: 650; text-decoration: none; transition: border-color .2s, background-color .2s; }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .3s var(--ease); }
.to-top:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.to-top:hover svg { transform: rotate(-90deg) translateX(3px); }

/* ---------- judesys ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion .route[data-reveal] { transform: none; }
.js-motion .hero-in { opacity: 0; transform: translateY(18px); }
.js-motion.is-loaded .hero-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d) * 110ms); }
.js-motion .hero-bg { opacity: 0; transition: opacity 1.2s ease; }
.js-motion.is-loaded .hero-bg { opacity: 1; }
.js-motion .bento[data-reveal] { opacity: 1; transform: none; }
.js-motion .bento .tile { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion .bento.is-in .tile { opacity: 1; transform: none; }
.bento.is-in .tile:nth-child(2) { transition-delay: .08s; }
.bento.is-in .tile:nth-child(3) { transition-delay: .16s; }
.bento.is-in .tile:nth-child(4) { transition-delay: .12s; }
.bento.is-in .tile:nth-child(5) { transition-delay: .2s; }
.bento.is-in .tile:nth-child(6) { transition-delay: .28s; }
.js-motion .bento:not(.is-in) .timeline-fill, .js-motion .bento:not(.is-in) .scale-fill { transform: scaleX(0); }
.js-motion .bento:not(.is-in) .area-dots i { background: var(--line-2); }
[data-parallax] { will-change: transform; }

.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion .flow-dot { display: none; }
.no-motion .footer-train { transform: translateX(6vw); }
.no-motion .hero-bg video { transform: none; }
.no-motion .hero-scroll span { opacity: 1; }

/* ---------- prisitaikymas ---------- */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 8px; font-size: 15.5px; }
  .main-nav a::after { left: 8px; right: 8px; }
  .header-phone span { display: none; }
  .flow { grid-template-columns: 220px 1fr 200px 1fr 230px; }
}
@media (max-width: 1100px) {
  .main-nav, .header-actions .btn { display: none; }
  .header-phone span { display: inline; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile-years, .tile-area { grid-column: span 6; }
  .tile-capacity, .tile-guard, .tile-customs, .tile-rail { grid-column: span 3; }
  .area-dots { grid-template-columns: repeat(14, 1fr); }
  .area-dots-wrap { flex-basis: 50%; max-width: 440px; }
}
@media (max-width: 980px) {
  body { font-size: 17px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-shade { background:
    linear-gradient(90deg, rgba(8,22,42,.82) 0%, rgba(8,22,42,.55) 100%),
    linear-gradient(180deg, rgba(8,22,42,.55) 0%, rgba(8,22,42,0) 30%, rgba(8,22,42,.6) 100%); }
  .svc { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .svc-tabs { display: none; }
  .svc-panels { min-height: 0; }
  .svc-panel { display: block; border-bottom: 1px solid var(--line); }
  .svc-panel:last-child { border-bottom: 0; }
  .svc-acc { display: flex; width: 100%; align-items: center; gap: 14px; text-align: left; border: 0; background: #fff; padding: 18px 20px; font-family: var(--display); font-size: 1.05rem; font-weight: 750; color: var(--ink); line-height: 1.2; cursor: pointer; }
  .svc-acc span { font-family: var(--mono); font-size: 12.5px; color: var(--steel); font-weight: 500; }
  .svc-acc svg { width: 20px; height: 20px; margin-left: auto; color: var(--navy); transition: transform .3s var(--ease); }
  .svc-acc[aria-expanded="true"] svg { transform: rotate(45deg); }
  .svc-acc[aria-expanded="true"] { color: var(--navy); }
  .svc-body { display: none; }
  .svc-panel.is-open .svc-body { display: grid; }
  .svc-text h3 { display: none; }
  .svc-img { aspect-ratio: 16 / 8; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .route::before, .route::after { display: none; }
  .route-stop { padding-top: 36px; }
  .route-stop::before { top: 0; }
  .route-num { top: -4px; }
  .bento-head, .terminal-top, .plan-wrap, .security-grid, .customs-grid, .freight-head, .freight-bottom, .rent-grid, .about-grid, .contact-head, .contact-grid { grid-template-columns: 1fr; }
  .customs-intro, .contact-card { position: static; }
  .security-img { aspect-ratio: 16 / 10; }
  .flow { grid-template-columns: 1fr; grid-template-areas: "from" "hub" "to"; gap: 34px; padding: 28px 22px; min-height: 0; }
  .flow-svg { display: none; }
  .flow-col { position: relative; }
  .flow-hub::before, .flow-hub::after { content: ""; position: absolute; left: 50%; width: 2px; height: 26px; background: repeating-linear-gradient(var(--line-2) 0 3px, transparent 3px 8px); }
  .flow-hub::before { top: -30px; }
  .flow-hub::after { bottom: -30px; }
  .about-media { max-width: 640px; }
  .contact-head .steps { margin-top: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .route { display: none; }
  .terminal-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .terminal-strip figure { scroll-snap-align: start; }
  .brand img { width: 150px; }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
  .is-top .header-phone { border-color: rgba(255,255,255,.4); }
  .hero { padding-bottom: 84px; }
  .hero-scroll { bottom: 18px; }
  .header-actions { gap: 8px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .bento .tile { grid-column: auto; }
  .tile-photo { min-height: 300px; }
  .tile-area { flex-direction: column; }
  .area-dots-wrap { flex: none; }
  .ticks.cols-2, .rows, .spec, .principles, .form-row { grid-template-columns: 1fr; }
  .spec > div:nth-child(odd) { border-right: 0; }
  .spec > div:nth-child(even) { padding-left: 0; }
  .principles li:nth-child(odd) { border-right: 0; padding-right: 0; }
  .principles li:nth-child(even) { padding-left: 0; }
  .docs li { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .about-facts dt { font-size: 2.2rem; }
  .about-media { padding-right: 32px; padding-bottom: 54px; }
  .courts { grid-template-columns: repeat(6, 1fr); }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-req { grid-column: 1 / -1; }
  .footer-req dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 12px; }
  .footer-req dl div { grid-column: 1 / -1; }
  .footer-req dl div:nth-child(2), .footer-req dl div:nth-child(3) { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .route { grid-template-columns: 1fr; }
  .hero-points { display: grid; gap: 6px; }
}
