/* ===== Orsvima, UAB — santechnika Vilniuje ===== */

:root {
  --bg:        #15171a;
  --bg-2:      #191c20;
  --surface:   #1d2126;
  --surface-2: #242a31;
  --line:        rgba(255,255,255,0.075);
  --line-strong: rgba(255,255,255,0.15);
  --text:    #f3f0ea;
  --muted:   #a8a59d;
  --muted-2: #76746e;
  --signal:        #f5821f;
  --signal-hover:  #ff9a3d;
  --signal-press:  #db7212;
  --signal-soft:   rgba(245,130,31,0.12);
  --ok: #5bbf7a;

  --font-display: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--signal); color: #1a1205; }

/* keyboard focus — accessible, on-brand */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible, .header__phone:focus-visible { outline-offset: 4px; }

/* subtle industrial film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--signal);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
  text-wrap: balance;
}
.section-head p {
  color: var(--muted);
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 24px;
  border-radius: var(--radius);
  transition: background .18s ease, transform .12s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--signal {
  background: var(--signal); color: #1a1205;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 18px -8px rgba(245,130,31,0.7);
}
.btn--signal:hover { background: var(--signal-hover); box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 10px 26px -8px rgba(245,130,31,0.8); }
.btn--signal:active { background: var(--signal-press); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(21,23,26,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(20,22,25,0.92);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 5px;
  background: var(--signal);
  display: grid; place-items: center;
  color: #1a1205;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  flex: none;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px; letter-spacing: 0.02em;
  line-height: 1;
}
.brand__name span { color: var(--muted-2); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px; color: var(--muted);
  padding: 8px 14px; border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: ""; display: block; height: 2px; background: var(--signal);
  margin-top: 5px; border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--radius);
  background: var(--signal); color: #1a1205;
  transition: background .18s ease;
}
.header__phone:hover { background: var(--signal-hover); box-shadow: 0 6px 18px -8px rgba(245,130,31,0.8); }
.header__phone { box-shadow: 0 4px 14px -10px rgba(245,130,31,0.9); }
.header__phone svg { width: 16px; height: 16px; }

.burger { display: none; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 3px auto; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile menu */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--bg);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav a span { color: var(--signal); font-family: var(--font-mono); font-size: 13px; }

/* ---------- top strip ---------- */
.strip {
  background: var(--signal);
  color: #1a1205;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track {
  display: inline-flex; gap: 48px; padding-block: 8px;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.strip__track span { display: inline-flex; gap: 48px; }
.strip b { font-weight: 700; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- placeholder image ---------- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(155deg, #2a3037 0%, #20252b 48%, #181c21 100%);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  min-height: 200px;
  isolation: isolate;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em;
  color: rgba(243,240,234,0.72);
  background: rgba(0,0,0,0.4);
  padding: 5px 9px; border-radius: 4px;
  max-width: calc(100% - 28px);
}
.ph__icon { width: 38px; height: 38px; opacity: 0.28; }
.ph--tag::before {
  content: "PLACEHOLDER";
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  color: var(--muted-2); border: 1px solid var(--line-strong);
  padding: 3px 7px; border-radius: 3px;
}

/* ---------- image-slot (user-fillable photo) ---------- */
image-slot {
  color: rgba(243,240,234,0.6);
  font-family: var(--font-mono);
}
image-slot::part(frame) {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(155deg, #2a3037 0%, #20252b 48%, #181c21 100%);
}
image-slot::part(ring) { border-color: rgba(255,255,255,0.16); }
image-slot::part(image) { transition: transform .6s cubic-bezier(.2,.7,.2,1); }

.islot--hero { flex: 1; min-height: 420px; display: block; }
.islot--prod { display: block; width: 100%; height: 168px; }
.work .islot--work { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.work:hover image-slot::part(image) { transform: scale(1.06); }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 65;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(245,130,31,0.7);
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- count-up ---------- */
.count { font-variant-numeric: tabular-nums; }

/* ---------- timeline draw-in ---------- */
.flow__step::after { transform: scaleX(0); transform-origin: left center; transition: transform .65s cubic-bezier(.4,0,.2,1); }
.flow.in .flow__step::after { transform: scaleX(1); }
.flow.in .flow__step:nth-child(2)::after { transition-delay: .18s; }
.flow.in .flow__step:nth-child(3)::after { transition-delay: .36s; }
.flow__num { transform: scale(0.6); opacity: 0; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .5s ease; }
.flow.in .flow__num { transform: none; opacity: 1; }
.flow.in .flow__step:nth-child(1) .flow__num { transition-delay: .05s; }
.flow.in .flow__step:nth-child(2) .flow__num { transition-delay: .2s; }
.flow.in .flow__step:nth-child(3) .flow__num { transition-delay: .35s; }
.flow.in .flow__step:nth-child(4) .flow__num { transition-delay: .5s; }

/* ---------- hero badge float ---------- */
.hero__badge { animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* =================================================================
   WOW FX — cursor glow, 3D tilt, magnetic, headline reveal, wipes
==================================================================*/
/* cursor-tracked hero glow */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 440px at var(--mx, 78%) var(--my, -6%), rgba(245,130,31,0.17), transparent 62%);
}

/* headline line reveal */
.hero h1 .line { display: block; overflow: hidden; padding-block: 0.1em; margin-block: -0.1em; }
.hero h1 .line > span { display: block; transform: translateY(112%); transition: transform 1s cubic-bezier(.2,1,.32,1); }
body.loaded .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: 0.1s; }

/* animated sheen on the signal word */
.hero h1 em {
  background: linear-gradient(100deg, var(--signal) 0%, #ffd9a8 42%, var(--signal) 66%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sheen 5s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

/* 3D tilt + glare cards */
.svc-grid, .prod-grid { perspective: 1100px; }
.svc, .prod { transform-style: preserve-3d; }
.prod { position: relative; }
.card-glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: radial-gradient(240px 240px at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.12), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.svc:hover .card-glare, .prod:hover .card-glare { opacity: 1; }

/* magnetic buttons */
.magnetic { will-change: transform; }

/* orange wipe-reveal on project tiles */
.work::before {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: var(--signal); transform: translateX(0);
  transition: transform .8s cubic-bezier(.76,0,.24,1);
}
.work.in::before { transform: translateX(101%); }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line > span { transform: none; }
  .hero h1 em { animation: none; }
  .work::before { display: none; }
}
@media (hover: none) {
  .card-glare { display: none; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { animation: none; }
  .hero__badge { animation: none; }
  .flow__step::after, .flow__num { transform: none; opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   HERO
==================================================================*/
.hero { padding-top: clamp(48px, 6vw, 86px); padding-bottom: clamp(40px, 5vw, 72px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 78% -8%, rgba(245,130,31,0.10), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--signal); }
.hero__lead {
  color: var(--muted); font-size: clamp(16px, 1.7vw, 20px);
  margin-top: 22px; max-width: 46ch; text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 40px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat { background: var(--bg); padding: 20px 18px; }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1; letter-spacing: -0.02em;
}
.stat__num .u { color: var(--signal); font-size: 0.55em; }
.stat__label { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 9px; letter-spacing: 0.02em; text-transform: uppercase; }

.hero__media { position: relative; display: flex; }
.hero__media .ph { flex: 1; min-height: 420px; }
.hero__badge {
  position: absolute; left: 18px; top: 18px; z-index: 2;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(91,191,122,0.45); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91,191,122,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(91,191,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,191,122,0); }
}
.hero__badge b { font-family: var(--font-display); font-size: 15px; }
.hero__badge small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* =================================================================
   PASLAUGOS
==================================================================*/
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.svc {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  overflow: hidden;
}
.svc:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.svc:hover .svc__icon { color: var(--signal); transform: scale(1.12) rotate(-4deg); }
.svc__icon { transition: color .25s ease, transform .35s cubic-bezier(.34,1.4,.5,1); }
.svc__no { font-family: var(--font-mono); font-size: 12px; color: var(--signal); letter-spacing: 0.1em; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-top: 16px; letter-spacing: -0.01em; }
.svc p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.svc__price { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.svc__price b { color: var(--signal); }
.svc--accent { background: linear-gradient(160deg, rgba(245,130,31,0.14), var(--surface) 60%); border-color: rgba(245,130,31,0.3); }
.svc__icon { width: 28px; height: 28px; position: absolute; top: 26px; right: 24px; color: var(--muted-2); }

/* =================================================================
   PRODUKTAI
==================================================================*/
.prod-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.prod-note {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--muted);
  border-left: 2px solid var(--signal); padding-left: 16px; line-height: 1.7;
}
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 14px; }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .2s ease, transform .2s ease;
}
.prod:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.prod .ph { border-radius: 0; border: none; border-bottom: 1px solid var(--line); min-height: 150px; aspect-ratio: 4/3; }
.prod__body { padding: 16px 18px 18px; }
.prod__cat { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; }
.prod h3 { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; margin-top: 7px; }
.prod__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.prod__stock { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; color: var(--ok); }
.prod__stock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.prod__stock--order { color: var(--signal); }
.prod__stock--order .dot { background: var(--signal); }
.prod__from { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* =================================================================
   KAINORAŠTIS
==================================================================*/
.price-wrap { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.price-list { border-top: 1px solid var(--line-strong); }
.price-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 14px; margin-inline: -14px; border-bottom: 1px solid var(--line);
  border-radius: var(--radius); transition: background .2s ease, padding .2s ease;
}
.price-row:hover { background: var(--surface); }
.price-row:hover .price-row__val { color: var(--signal); }
.price-row__val { transition: color .2s ease; }
.price-row__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 23px); }
.price-row__dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.price-row__val { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px,2vw,23px); white-space: nowrap; }
.price-row__val .from { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-right: 7px; }
.price-row small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }

.price-aside {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px);
}
.price-aside h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.price-aside p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.price-aside ul { list-style: none; margin: 20px 0; display: grid; gap: 12px; }
.price-aside li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.price-aside li svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 2px; }

/* =================================================================
   TIMELINE — kaip atvyksta
==================================================================*/
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow__step { position: relative; padding: 0 22px; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 50%; right: -50%;
  height: 2px; background: var(--line-strong); z-index: 0;
}
.flow__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--signal); color: var(--signal);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
}
.flow__step h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-top: 22px; }
.flow__step p { color: var(--muted); font-size: 14.5px; margin-top: 9px; }

/* =================================================================
   DARBAI
==================================================================*/
.works { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.work { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.work .ph { width: 100%; height: 100%; min-height: 0; border-radius: var(--radius-lg); }
.work--wide { grid-column: span 2; }
.work--tall { grid-row: span 2; }
.work__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 18px 16px;
  background: linear-gradient(to top, rgba(10,11,13,0.92), transparent);
}
.work__cap b { font-family: var(--font-display); font-size: 16px; display: block; }
.work__cap span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* =================================================================
   ZONOS + GARANTIJA (split band)
==================================================================*/
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px,5vw,72px); align-items: center; }
.zones-list { columns: 2; column-gap: 28px; margin-top: 28px; }
.zones-list li {
  list-style: none; padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; break-inside: avoid;
  display: flex; align-items: center; gap: 10px;
}
.zones-list li::before { content: ""; width: 5px; height: 5px; background: var(--signal); border-radius: 50%; flex: none; }
.zones-note { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 22px; }

.guarantee {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.guarantee__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 8vw, 86px); line-height: 0.9; letter-spacing: -0.03em; color: var(--signal); }
.guarantee__big small { font-size: 0.28em; color: var(--muted); font-weight: 500; display: block; letter-spacing: 0.04em; margin-top: 8px; }
.guarantee ul { list-style: none; margin-top: 18px; display: grid; gap: 13px; }
.guarantee li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; color: var(--muted); }
.guarantee li svg { width: 19px; height: 19px; color: var(--signal); flex: none; margin-top: 2px; }
.guarantee li b { color: var(--text); font-weight: 600; }

/* =================================================================
   ATSILIEPIMAI
==================================================================*/
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.guarantee h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-top: 24px; color: var(--text); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; transition: transform .22s ease, border-color .22s ease; }
.review:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stars { display: flex; gap: 3px; color: var(--signal); margin-bottom: 18px; }
.stars svg { width: 17px; height: 17px; }
.review p { font-size: 16px; line-height: 1.62; flex: 1; text-wrap: pretty; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--signal); flex: none; }
.review__by b { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.review__by span { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* =================================================================
   KONTAKTAI
==================================================================*/
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.contact-info { display: grid; gap: 4px; }
.cinfo-row { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; transition: gap .2s ease; }
.cinfo-row:hover { gap: 20px; }
.cinfo-row svg { width: 22px; height: 22px; color: var(--signal); flex: none; margin-top: 2px; transition: transform .25s ease; }
.cinfo-row:hover svg { transform: scale(1.12); }
.cinfo-row:first-child { border-top: 1px solid var(--line); }
.cinfo-row .k { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.cinfo-row .v { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-top: 4px; }
.cinfo-row .v a:hover { color: var(--signal); }
.cinfo-row small { color: var(--muted); font-size: 13.5px; }

.form { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(24px,3vw,34px); }
.form h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.form > p { color: var(--muted); font-size: 14.5px; margin-top: 8px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.04em; }
.field label .req { color: var(--signal); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: 15.5px;
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.field textarea { resize: vertical; min-height: 100px; }
.field.err input, .field.err textarea { border-color: #e0584a; }
.field__msg { font-size: 12.5px; color: #e0584a; margin-top: 6px; font-family: var(--font-mono); display: none; }
.field.err .field__msg { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__success {
  display: none; text-align: center; padding: 30px 10px;
}
.form__success.show { display: block; animation: successIn .5s cubic-bezier(.2,.9,.3,1) both; }
@keyframes successIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.form__success svg { width: 52px; height: 52px; color: var(--ok); margin: 0 auto 18px; }
.form__success.show svg circle { stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw .5s .15s ease forwards; }
.form__success.show svg path { stroke-dasharray: 18; stroke-dashoffset: 18; animation: draw .35s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.form__success p { color: var(--muted); margin-top: 10px; }
.form__fine { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: 14px; text-align: center; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); margin-top: 28px; height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.55) contrast(1.05) brightness(0.82); transition: filter .4s ease; }
.map:hover iframe { filter: grayscale(0.1) contrast(1.05) brightness(0.95); }

/* =================================================================
   FOOTER
==================================================================*/
.footer { border-top: 1px solid var(--line); padding-block: 54px 120px; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer__brand { max-width: 320px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 16px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; }
.footer__col a:hover { color: var(--text); }
.footer__legal {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
}

/* =================================================================
   MOBILE STICKY BAR
==================================================================*/
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 12px 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.mbar a svg { width: 20px; height: 20px; }
.mbar__call { background: var(--signal); color: #1a1205; }
.mbar__parts { background: var(--surface-2); color: var(--text); }
.mbar small { font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; opacity: 0.7; }

/* =================================================================
   RESPONSIVE
==================================================================*/
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media .ph, .islot--hero { min-height: 340px; }
  .price-wrap { grid-template-columns: 1fr; }
  .price-aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .prod-intro { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
}
@media (max-width: 760px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__actions .header__phone { display: none; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .flow__step:nth-child(2)::after { display: none; }
  .flow__step::after { display: none !important; }
  .reviews { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 14px; }
  .stat__label { margin-top: 0; }
  .form__row { grid-template-columns: 1fr; }
  .mbar { display: flex; }
  body { padding-bottom: 70px; }
  .footer { padding-bottom: 64px; }
  .zones-list { columns: 1; }
  /* hero: tighter, calmer on phones */
  .islot--hero { min-height: 260px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__stats { margin-top: 30px; }
  .stat { padding: 16px 16px; }
  .hero__badge { left: 12px; top: 12px; padding: 10px 13px; }
  .hero__badge small { font-size: 10.5px; }
  /* keep service icon from colliding with title on narrow cards */
  .svc { padding: 22px 20px 22px; }
  .svc h3 { font-size: 20px; padding-right: 40px; }
  .section-head p { font-size: 16px; }
}
@media (max-width: 480px) {
  .works { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .work--wide, .work--tall { grid-column: auto; grid-row: auto; }
  .wrap { padding-inline: 20px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero__lead { font-size: 16px; }
  .price-row { flex-wrap: wrap; gap: 4px 12px; padding: 16px 12px; margin-inline: -12px; }
  .price-row__dots { display: none; }
  .price-row__name { font-size: 18px; }
  .price-row__val { font-size: 19px; margin-left: auto; }
  .price-row small { flex-basis: 100%; }
  .guarantee { padding: 26px 22px; }
  .review { padding: 24px 22px; }
  .footer__cols { gap: 32px; }
  .footer__legal { gap: 8px; }
  /* sticky bar: keep both labels on one line each */
  .mbar a { font-size: 13px; padding: 11px 6px; line-height: 1.15; text-align: center; }
}
@media (max-width: 360px) {
  .mbar a { font-size: 12px; }
  .hero h1 { font-size: 32px; }
}
