/* =========================================================
   Aurinet – IT sprendimai
   Dark technical theme · brand blue #256A94 · mint accents
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #070B10;
  --bg-2: #0B1118;
  --surface: #0F1720;
  --surface-2: #15202B;
  --line: rgba(148, 178, 204, 0.14);
  --line-strong: rgba(148, 178, 204, 0.26);

  /* Text */
  --text: #E8EEF4;
  --muted: #9AA9B8;
  --dim: #6B7B8C;

  /* Brand */
  --brand: #256A94;          /* logo blue */
  --brand-400: #4BA3DB;      /* brand blue tuned for dark bg */
  --brand-300: #7CC0EA;
  --mint: #6EE7B7;
  --mint-500: #34D399;
  --on-mint: #04140D;
  --grad: linear-gradient(135deg, #A7F3D0 0%, #7DD3FC 100%);
  --grad-text: linear-gradient(100deg, #7CC0EA 0%, #6EE7B7 100%);

  /* Feedback */
  --error: #FDA4AF;
  --success: #6EE7B7;

  /* Type */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;

  /* Z-index scale */
  --z-header: 30;
  --z-banner: 40;
  --z-dialog: 50;

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-300); text-decoration: none; }
a:hover { color: var(--mint); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-play { fill: currentColor; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: var(--on-mint); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; color: var(--on-mint); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
.btn-primary:hover { background: #8FF0C9; color: var(--on-mint); box-shadow: 0 8px 30px -8px rgba(110, 231, 183, .55); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-400); color: var(--text); background: rgba(75, 163, 219, .08); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .9375rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  background: none; border: 0; padding: 0;
  font-family: var(--font-head); font-weight: 600; color: var(--mint);
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: #A7F3D0; }
.link-arrow:hover .icon { transform: translate(3px, 0); }

.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-align: left; min-height: 32px; }
.linklike:hover { color: var(--mint); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-300);
  margin-bottom: 1.1rem;
}
.eyebrow .prompt { color: var(--mint); font-weight: 500; }
.eyebrow .num { color: var(--mint); padding: 2px 8px; border: 1px solid rgba(110, 231, 183, .35); border-radius: 6px; }

.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.head-arrow { display: inline-block; vertical-align: -0.08em; margin-left: .15em; color: var(--brand-400); width: .75em; height: .75em; stroke-width: 2; }
.section-lead { color: var(--muted); font-size: 1.125rem; margin: 1rem 0 0; max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 12px; left: 12px; right: 12px; z-index: var(--z-header);
  transition: transform .3s var(--ease);
}
.header-inner {
  max-width: calc(var(--container) + 24px); margin: 0 auto;
  height: var(--header-h); padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(9, 14, 20, .72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line); border-radius: 18px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled .header-inner { background: rgba(9, 14, 20, .9); border-color: var(--line-strong); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 135px; height: auto; }

.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); font-size: .9375rem; font-weight: 500; border-radius: 10px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); margin-left: 6px; }
.main-nav .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch button {
  min-width: 40px; min-height: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: none;
  color: var(--muted); font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--mint); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: none; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1100px) {
  .main-nav a { padding: 0 9px; font-size: .875rem; }
}
@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(9, 14, 20, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-strong); border-radius: 18px; padding: 12px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav a { width: 100%; padding: 0 14px; font-size: 1.0625rem; min-height: 48px; }
  .main-nav .nav-cta-mobile { display: flex; margin-top: 10px; width: 100%; color: var(--on-mint); font-size: 1rem; }
  .main-nav .nav-cta-mobile, .main-nav .nav-cta-mobile:hover { color: var(--on-mint); background: var(--mint); justify-content: center; }
  .site-header.open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.open .icon-open { display: none; }
  .site-header.open .icon-close { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 80px) 0 56px; overflow: hidden; isolation: isolate; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 35%, rgba(37, 106, 148, .35), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, rgba(110, 231, 183, .10), transparent 70%),
    radial-gradient(circle at center, rgba(124, 192, 234, .55) 1.2px, transparent 1.6px) 0 0 / 96px 96px,
    linear-gradient(rgba(148, 178, 204, .07) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, rgba(148, 178, 204, .07) 1px, transparent 1px) 0 0 / 96px 96px;
  mask-image: radial-gradient(90% 80% at 55% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 80% at 55% 40%, #000 40%, transparent 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 54ch; margin: 1.5rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.25rem; }
.hero-pills li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02);
  font-size: .875rem; color: var(--muted);
}
.hero-pills .icon { color: var(--brand-400); width: 1.1em; height: 1.1em; }

.video-frame {
  position: relative; border-radius: var(--radius); padding: 10px;
  background: linear-gradient(180deg, rgba(21, 32, 43, .9), rgba(11, 17, 24, .9));
  border: 1px solid rgba(75, 163, 219, .35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 30px 80px -20px rgba(37, 106, 148, .55), 0 0 60px -10px rgba(110, 231, 183, .12);
}
.video-bar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 10px; }
.video-bar .dots { display: flex; gap: 6px; }
.video-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); }
.video-bar .dots i:first-child { background: var(--mint); border-color: transparent; }
.video-bar .mono { font-family: var(--font-mono); font-size: .75rem; color: var(--dim); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
.video-toggle {
  position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(7, 11, 16, .7); border: 1px solid var(--line-strong); color: var(--text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.video-toggle:hover { border-color: var(--mint); color: var(--mint); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .i-play { display: none; }
.video-toggle.paused .i-play { display: block; }
.video-toggle.paused .i-pause { display: none; }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--mint); pointer-events: none; }
.corner.tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.corner.tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.corner.bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.corner.br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.keyword-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .8125rem; color: var(--dim); letter-spacing: .04em; text-transform: uppercase;
}
.keyword-strip li { display: flex; align-items: center; gap: 10px; }
.keyword-strip li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--brand-400); transform: rotate(45deg); }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-inner { grid-template-columns: 1fr; }
  .keyword-strip { justify-content: flex-start; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover { border-color: rgba(75, 163, 219, .45); box-shadow: 0 24px 60px -30px rgba(37, 106, 148, .7); }
.service-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface) 100%); }
.service-icon {
  position: absolute; left: 20px; bottom: -2px; z-index: 1;
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: var(--grad); color: var(--on-mint);
  box-shadow: 0 10px 30px -10px rgba(110, 231, 183, .6);
}
.service-icon .icon { width: 24px; height: 24px; stroke-width: 2; }
.service-body { padding: 24px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.5rem; }
.service-sub { font-family: var(--font-mono); font-size: .8125rem; color: var(--brand-300); margin: .5rem 0 1rem; }
.service-body > p:not(.service-sub) { color: var(--muted); font-size: 1rem; }
.feature-list { list-style: none; display: grid; gap: 10px; margin: .5rem 0 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: .9688rem; }
.feature-list .icon { color: var(--mint); width: 18px; height: 18px; }
.service-body .link-arrow { margin-top: auto; }

@media (max-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr; } .services-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- About (bento) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.about-panel {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: #030508; border: 1px solid var(--line); border-radius: var(--radius);
}
.about-panel h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); margin-bottom: 1.25rem; }
.tag { display: inline-block; padding: 6px 14px; margin-bottom: 1.5rem; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .9375rem; }
.about-panel p { color: var(--muted); }
.about-arrow { position: absolute; right: 32px; bottom: 28px; width: 36px; height: 36px; color: var(--text); stroke-width: 1.5; }

.about-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bento-card {
  padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px;
}
.bento-card > .icon { width: 28px; height: 28px; color: var(--brand-400); }
.bento-card h3 { font-size: 1.1875rem; }
.bento-card p { margin: 0; color: var(--muted); font-size: .9688rem; }
.bento-grad { background: var(--grad); border: 0; color: var(--on-mint); justify-content: space-between; }
.bento-grad .icon { color: var(--on-mint); }
.bento-grad p { color: #062A20; font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; line-height: 1.35; }
.bento-img { padding: 0; overflow: hidden; min-height: 200px; position: relative; background: #0A141D; }
.bento-wide { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 18px; }
.bento-wide > div { display: flex; flex-direction: column; gap: 6px; }

/* Wireframe art – echo of the 3D-print inspiration */
.wire-art {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 14px, rgba(124, 192, 234, .28) 14px 15px),
    repeating-linear-gradient(25deg, transparent 0 22px, rgba(110, 231, 183, .18) 22px 23px),
    radial-gradient(70% 70% at 70% 30%, rgba(37, 106, 148, .55), transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 45%, #000 30%, transparent 75%);
}
.bento-img::after {
  content: ">_"; position: absolute; left: 20px; bottom: 16px;
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 500; color: var(--brand-400);
}

@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .about-bento { grid-template-columns: 1fr; } .bento-img { min-height: 160px; } }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); }
.project-card:hover { border-color: rgba(110, 231, 183, .35); }
.project-visual { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 0%, rgba(37, 106, 148, .35), transparent 70%), var(--bg-2); border-bottom: 1px solid var(--line); }
.project-body { padding: 22px 24px 26px; }
.project-body h3 { font-size: 1.3125rem; margin-bottom: .6rem; }
.project-body p { color: var(--muted); font-size: 1rem; margin: 0; }
.project-body .project-tag { display: flex; align-items: center; gap: 8px; margin-bottom: .8rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-300); }
.project-tag .icon { width: 16px; height: 16px; color: var(--mint); }

/* Menu mock */
.mock-menu .screen { width: 58%; aspect-ratio: 3 / 4; border-radius: 12px; padding: 12px; background: #0B141C; border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: 9px; }
.screen-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.screen-head b { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .3em; color: var(--mint); }
.screen-head span { width: 18px; height: 3px; background: var(--line-strong); border-radius: 2px; }
.mock-menu .row { display: grid; grid-template-columns: 22px 1fr 28px; gap: 8px; align-items: center; padding: 6px; border-radius: 6px; }
.mock-menu .row i { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); }
.mock-menu .row em { height: 5px; border-radius: 3px; background: var(--line-strong); }
.mock-menu .row strong { height: 6px; border-radius: 3px; background: var(--brand-400); opacity: .7; }
.mock-menu .row.hl { background: rgba(110, 231, 183, .08); outline: 1px solid rgba(110, 231, 183, .3); }
.mock-menu .row.hl strong { background: var(--mint); opacity: 1; }

/* Display mock */
.mock-display .tv { width: 72%; aspect-ratio: 16 / 10; border-radius: 10px; padding: 10px; background: #0B141C; border: 3px solid #1C2733; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: 8px; }
.tv-top { display: flex; justify-content: space-between; }
.tv-top span { height: 6px; width: 34%; border-radius: 3px; background: var(--brand-400); opacity: .8; }
.tv-top span:last-child { width: 16%; background: var(--mint); }
.tv-grid { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.tv-grid i { border-radius: 6px; background: var(--surface-2); }
.tv-grid i:first-child { grid-row: 1 / -1; background: linear-gradient(135deg, rgba(167, 243, 208, .5), rgba(125, 211, 252, .45)); }
.pi-chip { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 11, 16, .85); border: 1px solid rgba(110, 231, 183, .35); font-family: var(--font-mono); font-size: .6875rem; color: var(--mint); }
.pi-chip .icon { width: 14px; height: 14px; }

/* Soon */
.mock-soon { background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(148, 178, 204, .05) 12px 13px), var(--bg-2); }
.mock-soon .icon { width: 44px; height: 44px; color: var(--dim); stroke-width: 1.25; }
.project-soon { border-style: dashed; }

@media (max-width: 1000px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.process-step::before { content: ""; position: absolute; top: 46px; left: calc(100% + 1px); width: 19px; height: 1px; background: var(--line-strong); }
.process-step:last-child::before { display: none; }
.step-num { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: .8125rem; color: var(--dim); }
.process-step > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--mint); background: rgba(110, 231, 183, .08); border: 1px solid rgba(110, 231, 183, .25); margin-bottom: 1.25rem; }
.process-step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 960px) { .process-list { grid-template-columns: 1fr 1fr; } .process-step::before { display: none; } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s var(--ease); }
.news-card:hover { border-color: rgba(75, 163, 219, .45); }
.news-cover { position: relative; aspect-ratio: 16 / 7; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.news-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(148, 178, 204, .08) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(148, 178, 204, .08) 1px, transparent 1px) 0 0 / 28px 28px; }
.news-cover .icon { position: relative; width: 46px; height: 46px; stroke-width: 1.4; }
.cover-sec { background: radial-gradient(60% 90% at 50% 50%, rgba(37, 106, 148, .55), transparent 70%), var(--bg-2); color: var(--brand-300); }
.cover-it { background: radial-gradient(60% 90% at 50% 50%, rgba(110, 231, 183, .25), transparent 70%), var(--bg-2); color: var(--mint); }
.cover-3d { background: radial-gradient(60% 90% at 50% 50%, rgba(125, 211, 252, .3), transparent 70%), var(--bg-2); color: #A5DCF7; }
.news-body { padding: 22px 24px 18px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-family: var(--font-mono); font-size: .75rem; color: var(--dim); margin-bottom: .75rem; letter-spacing: .02em; }
.news-body h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.news-body > p:not(.news-meta) { color: var(--muted); font-size: 1rem; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .news-grid { grid-template-columns: 1fr; } }

/* Article dialog */
.article-dialog {
  width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text); z-index: var(--z-dialog);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8);
}
.article-dialog::backdrop { background: rgba(3, 5, 8, .75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.article-dialog[open] { animation: dialog-in .25s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dialog-inner { position: relative; padding: clamp(28px, 5vw, 44px); }
.dialog-inner h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 1.25rem; padding-right: 40px; }
.dialog-body { color: #C8D3DE; }
.dialog-body ul, .dialog-body ol { padding-left: 1.25rem; margin: 0 0 1em; display: grid; gap: .5rem; }
.dialog-body strong { color: var(--text); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: none; border: 1px solid var(--line); }
.dialog-close:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.faq-wrap .section-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s var(--ease); }
.faq-list details[open] { border-color: rgba(110, 231, 183, .35); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--mint); transition: transform .25s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }

/* ---------- Contact ---------- */
.contact-section { background: radial-gradient(50% 60% at 0% 100%, rgba(37, 106, 148, .25), transparent 70%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 2.25rem; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.contact-list li > div { display: flex; flex-direction: column; }
.ci-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(75, 163, 219, .12); color: var(--brand-300); }
.ci-label { font-family: var(--font-mono); font-size: .75rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { color: var(--text); font-weight: 500; font-size: 1.0625rem; }
.contact-list a:hover { color: var(--mint); }
.ci-small { font-size: .9375rem; color: var(--muted); }

.form-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 30px 80px -40px rgba(37, 106, 148, .6); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.form-tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 0; border-radius: 10px; background: none; color: var(--muted);
  font-family: var(--font-head); font-weight: 600; font-size: .9688rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.form-tabs button:hover { color: var(--text); }
.form-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(110, 231, 183, .3); }
.form-tabs .icon { width: 18px; height: 18px; }

.contact-form { display: grid; gap: 18px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.contact-form fieldset[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .label { font-size: .9375rem; font-weight: 500; color: #C8D3DE; }
.req { color: var(--mint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA9B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 178, 204, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(110, 231, 183, .18); }
.field.invalid input, .field.invalid textarea, .field.invalid .dropzone { border-color: var(--error); }
.field-error { margin: 0; min-height: 0; font-size: .875rem; color: var(--error); }
.field-error:empty { display: none; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 26px 16px; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: var(--bg-2);
  cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.dropzone:hover, .dropzone.drag { border-color: var(--mint); background: rgba(110, 231, 183, .05); }
#f-file:focus-visible + .field-error, .dropzone:has(+ #f-file:focus-visible) { outline: 2px solid var(--mint); outline-offset: 3px; }
.dropzone .icon { width: 28px; height: 28px; color: var(--mint); }
.dz-text { color: var(--muted); font-size: .9688rem; }
.dz-text strong { color: var(--text); }
.dz-hint { font-family: var(--font-mono); font-size: .75rem; color: var(--dim); }
.dz-file { font-family: var(--font-mono); font-size: .8125rem; color: var(--mint); word-break: break-all; }
.dz-file:empty { display: none; }

.field.check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field.check input { width: 22px; height: 22px; min-height: 0; flex-shrink: 0; margin-top: 2px; accent-color: var(--mint); cursor: pointer; padding: 0; }
.field.check label { font-weight: 400; font-size: .9375rem; color: var(--muted); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4, 20, 13, .3); border-top-color: var(--on-mint); animation: spin .7s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending { pointer-events: none; opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 0; font-size: .9688rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); padding: 12px 14px; border: 1px solid rgba(110, 231, 183, .35); border-radius: 12px; background: rgba(110, 231, 183, .06); }
.form-status.err { color: var(--error); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #05080C; padding: 64px 0 28px; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.footer-h { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); min-height: 44px; }
.to-top .icon { width: 16px; height: 16px; transform: rotate(-45deg); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: var(--z-banner); display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  width: 100%; max-width: 860px; display: flex; align-items: center; gap: 24px;
  padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line-strong);
  background: rgba(15, 23, 32, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  animation: dialog-in .3s var(--ease);
}
.cookie-inner h2 { font-size: 1.0625rem; margin-bottom: .35rem; }
.cookie-inner p { margin: 0; color: var(--muted); font-size: .9375rem; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 680px) { .cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; } .cookie-actions .btn { flex: 1; } }

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + 72px) 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
.legal h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: #C8D3DE; }
.legal ul { padding-left: 1.25rem; display: grid; gap: .4rem; margin-bottom: 1em; }
.legal .updated { font-family: var(--font-mono); font-size: .8125rem; color: var(--dim); }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9375rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 500; }
.legal .table-wrap { overflow-x: auto; }
html[lang="en"] [data-show="lt"], html[lang="lt"] [data-show="en"] { display: none; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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