/* =====================================================================
   UAB „Augėjas“ – naujo dizaino maketas
   Išdėstymas ir grafiniai elementai perimti iš Salient „Business 3“.
   Kiekvienas efektas turi atitikmenį Salient / WPBakery elementuose
   (žr. salient-gidas.html), todėl dizainą galima perkelti be papildomų įskiepių.
   ===================================================================== */

:root {
  --green: #035F3F;          /* naujo logotipo žalia (Salient: Accent Color) */
  --green-dark: #024A31;
  --petrol: #0F4C6B;         /* gradiento pabaiga (Salient: Extra Color 1) */
  --mint: #E6F0EA;           /* šviesi juosta (Business 3 #eaf1fd atitikmuo) */
  --mint-soft: #F2F7F4;
  --sky: #EAF1F4;
  --ink: #13201A;
  --text: #3B4842;
  --muted: #5B6862;
  --line: #D6E2DB;
  --white: #FFFFFF;
  --danger: #B42318;

  --r: 6px;
  --ease: cubic-bezier(.33, 1, .68, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --grad: linear-gradient(135deg, #035F3F 0%, #0F4C6B 100%);
  --shadow-depth: 0 60px 100px -40px rgba(7, 33, 23, .5), 0 24px 48px -24px rgba(7, 33, 23, .28);
  --shadow-soft: 0 30px 70px -36px rgba(7, 33, 23, .38);

  --font-h: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-b: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --max: 1300px;
  --gutter: clamp(16px, 5.5vw, 90px);
  --section: clamp(76px, 9vw, 140px);
  --header-h: 92px;
}

/* ---------- Pagrindas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.8 var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-h);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #3FA876; outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; 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: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r);
}
.skip-link:focus { top: 12px; }

.h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.17; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }

/* ---------- Maketo juosta (ne dizaino dalis) ---------- */
.mockbar { background: #0B1712; color: #BFD0C6; font: 400 13px/1.4 var(--font-b); }
.mockbar .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; min-height: 38px; padding-block: 4px; }
.mockbar strong { color: #fff; font-weight: 500; }
.mockbar nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px; }
.mockbar a { color: #BFD0C6; text-decoration: none; padding: 4px 10px; border-radius: 4px; }
.mockbar a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.mockbar a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }

/* ---------- Mygtukai ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border: 0; border-radius: var(--r);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 16px/1.2 var(--font-b);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(7, 33, 23, .5); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--green:hover { --btn-bg: var(--green-dark); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn--jumbo { padding: 23px 50px; font-size: 18px; }
.btn i { font-size: 20px; }

/* Salient „Call To Action“ (Arrow animation): linija virsta rodykle */
.cta-line {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 34px;
  color: var(--green); text-decoration: none;
  font: 500 19px/1.3 var(--font-h);
}
.cta-line .line { position: relative; width: 34px; height: 2px; background: currentColor; transition: width .5s var(--ease); }
.cta-line .line::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translate(-4px, -50%) rotate(45deg); opacity: 0;
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.cta-line:hover .line { width: 48px; }
.cta-line:hover .line::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }

/* Salient „Icon“ (Shadow BG) */
.icon-badge {
  display: inline-grid; place-items: center;
  width: 66px; height: 66px; margin-bottom: 30px;
  border-radius: 50%; font-size: 28px;
}
.icon-badge--green { background: var(--green); color: #fff; box-shadow: 0 18px 38px -12px rgba(3, 95, 63, .6); }
.icon-badge--petrol { background: var(--petrol); color: #fff; box-shadow: 0 18px 38px -12px rgba(15, 76, 107, .6); }
.icon-badge--white { background: #fff; color: var(--green); box-shadow: 0 18px 40px -14px rgba(7, 33, 23, .32); }

/* ---------- Antraštė ---------- */
.header-sentinel { position: absolute; top: 120px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); pointer-events: none; }
.header-bar {
  height: var(--header-h);
  background: #fff;
  pointer-events: auto;
  transition: height .4s var(--ease), box-shadow .4s var(--ease);
}
.is-scrolled .header-bar { height: 70px; box-shadow: 0 3px 40px rgba(7, 33, 23, .12); }
.header-inner { height: 100%; display: flex; align-items: center; gap: clamp(24px, 3.6vw, 60px); }
.logo { display: block; flex: none; }
.logo img { height: 36px; width: auto; transition: height .4s var(--ease); }
.is-scrolled .logo img { height: 30px; }

.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 38px); margin: 0; padding: 0; list-style: none; }
.main-nav a {
  position: relative; display: block; padding: 8px 0;
  color: var(--ink); text-decoration: none;
  font: 500 16px/1 var(--font-b);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none; font: 500 16px/1 var(--font-b);
}
.header-phone i { font-size: 21px; color: var(--green); }
.header-phone:hover { color: var(--green); }

.menu-toggle, .menu-close {
  display: none; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: 24px; cursor: pointer;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 18px var(--gutter) 32px;
  background: #fff;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mobile-menu-top img { height: 28px; width: auto; }
.mobile-menu .menu-close { display: inline-grid; }
.mobile-menu nav ul { margin: 36px 0 0; padding: 0; list-style: none; }
.mobile-menu nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font: 500 30px/1.2 var(--font-h);
}
.mobile-menu-foot { margin-top: auto; display: grid; gap: 14px; }
.mobile-menu-foot .header-phone { font-size: 18px; }

@media (max-width: 1080px) {
  .main-nav, .header-actions .header-phone { display: none; }
  .menu-toggle { display: inline-grid; }
}
@media (max-width: 767px) {
  :root { --header-h: 72px; }
  .logo img { height: 28px; }
  .is-scrolled .header-bar { height: 64px; }
  .is-scrolled .logo img { height: 25px; }
}
@media (max-width: 540px) {
  .header-actions .btn { display: none; }
}

/* ---------- Hero (Business 3: kolona su nuotrauka ir gradientu) ---------- */
.hero { position: relative; background: linear-gradient(to bottom, #fff 0, #fff 60%, var(--mint) 60%); }
.hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(560px, calc(100svh - 130px), 780px);
  padding: clamp(36px, 6.5%, 100px) clamp(24px, 7%, 96px) clamp(28px, 4%, 52px);
  border-radius: var(--r);
  color: #fff;
  background: #0E2A21;
}
.card-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card::before, .cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: .8;   /* Salient Overlay Strength: Heavy */
}

/* Hero fono video (Salient: Column → Background Video) */
.hero-video img, .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-clip { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-clip.is-active { opacity: 1; }
.video-toggle {
  position: absolute; top: clamp(14px, 2vw, 26px); right: clamp(14px, 2vw, 26px); z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 19px; cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.video-toggle:hover { background: rgba(255, 255, 255, .26); }
.video-toggle:active { transform: scale(.94); }
.video-toggle[hidden] { display: none; }
.hero-content { max-width: 660px; }
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 6.2vw, 86px);
  line-height: 1.03;
  letter-spacing: -.018em;
}
.hero-lead {
  max-width: 33em; margin-top: 26px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.45vw, 20px); line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: clamp(30px, 3.6vw, 46px); }

/* Salient „Video Lightbox“ (Play button with text) atitikmuo: apskritimas + tekstas */
.ring-link { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font: 500 18px/1.2 var(--font-b); }
.ring {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .85);
  font-size: 22px;
  transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.ring-link:hover .ring { transform: scale(1.12); background: #fff; color: var(--green); }

.hero-refs { margin-top: auto; padding-top: clamp(44px, 6vw, 80px); }
.hero-refs-label { margin-bottom: 12px; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.4; }
/* Business 3 logotipų juosta: oficialūs užsakovų logotipai baltai */
.hero-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(36px, 6vw, 80px);
  margin: 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .24);
}
.hero-logos li { display: flex; align-items: center; }
.hero-logos img { display: block; width: auto; height: var(--h, 36px); max-width: 100%; opacity: .9; }
.hero-logos .logo-to-white { filter: url(#logo-to-white); }

@media (max-width: 767px) {
  .hero-card { min-height: 0; }
  .hero-actions .btn--jumbo { padding: 19px 34px; }
  .hero-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .hero-logos img { height: calc(var(--h, 36px) * .78); }
}

/* ---------- Paslaugos: Salient „Fancy Box“ (Hover Description) ---------- */
.services {
  padding: clamp(84px, 9vw, 110px) 0 clamp(64px, 7vw, 90px);
  background: linear-gradient(to bottom, var(--mint) 0%, rgba(230, 240, 234, 0) 75%);
}
.fbox-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fbox {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(310px, 26vw, 370px);
  border-radius: var(--r);
  background: #0E2A21; color: #fff;
}
.fbox-bg { position: absolute; inset: 0; z-index: -2; }
.fbox-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.6s cubic-bezier(.12, .72, .35, 1); }
.fbox::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(4, 22, 14, .88) 0%, rgba(4, 22, 14, .46) 46%, rgba(4, 22, 14, .1) 100%);
}
.fbox-inner { padding: clamp(22px, 2.2vw, 32px); }
.fbox-icon { display: block; margin-bottom: 14px; font-size: 38px; }
.fbox h3 { color: #fff; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.22; }
@media (min-width: 1081px) { .fbox h3 { min-height: 2.44em; } }
.fbox-desc-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.fbox-desc { overflow: hidden; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.fbox-desc p { padding-top: 10px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.6; }
@media (hover: hover) {
  .fbox:hover .fbox-bg img { transform: scale(1.14); }
  .fbox:hover .fbox-desc-wrap { grid-template-rows: 1fr; }
  .fbox:hover .fbox-desc { opacity: 1; transform: none; }
}
@media (hover: none) {
  .fbox-desc-wrap { grid-template-rows: 1fr; }
  .fbox-desc { opacity: 1; transform: none; }
}
@media (max-width: 1080px) { .fbox-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fbox-grid { grid-template-columns: 1fr; } .fbox { min-height: 300px; } }

/* ---------- Tekstas + nuotraukos: Salient „Cascading Images“ ---------- */
.split { padding: var(--section) 0; }
.split--tight-top { padding-top: clamp(40px, 5vw, 70px); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--reverse .split-media { order: 2; }
.text-col { max-width: 570px; }
.text-col .h2 { margin-bottom: 26px; }
.text-col > p { font-size: 18px; line-height: 1.8; }
.text-col > p + p { margin-top: 18px; }

.cascade { display: grid; max-width: 580px; }
.cascade > * { grid-area: 1 / 1; }
.split--reverse .cascade { margin-left: auto; }
.cascade-layer { width: 72%; aspect-ratio: 20 / 19; overflow: hidden; border-radius: var(--r); background: var(--mint); }
.cascade-layer img { width: 100%; height: 100%; object-fit: cover; }
.cascade-front { margin: 26% 0 0 24%; box-shadow: var(--shadow-depth); }
.split--reverse .cascade-back { margin-left: 28%; }
.split--reverse .cascade-front { margin: 24% 0 0 2%; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 34px 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 23px; }
.step h3 { margin-top: 2px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.step p { margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cascade, .split--reverse .cascade { margin-inline: auto; width: 100%; }
  .text-col { max-width: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pastatų tipai: nuotrauka iki ekrano krašto + kortelė ---------- */
.types { position: relative; padding: var(--section) 0; background: linear-gradient(90deg, var(--sky) 0%, #fff 100%); overflow-x: clip; }
.types-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.check-list i { margin-top: 3px; color: var(--green); font-size: 19px; }

.types-media { position: relative; }
.types-photo {
  height: clamp(460px, 50vw, 700px);
  margin-left: 20%;
  margin-right: calc((100vw - min(var(--max), 100vw - var(--gutter) * 2)) / -2);
  overflow: hidden;
  border-radius: var(--r) 0 0 var(--r);
}
.types-photo img { width: 100%; height: 100%; object-fit: cover; }
.object-card {
  position: absolute; left: 0; top: 50%;
  width: clamp(260px, 23vw, 320px);
  overflow: hidden;
  border-radius: var(--r);
  background: #fff; text-align: center;
  box-shadow: var(--shadow-depth);
  translate: 0 -42%;
}
.object-card-body { padding: 36px 28px 30px; }
.object-avatar {
  display: grid; place-items: center;
  width: 108px; height: 108px; margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mint); color: var(--green); font-size: 46px;
  box-shadow: 0 0 0 7px #fff, 0 18px 40px -12px rgba(7, 33, 23, .4);
}
.object-card h3 { font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.object-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.object-card-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px 16px 28px;
  background: var(--green); color: #fff; text-decoration: none;
  font: 500 16px/1.2 var(--font-b);
  transition: background-color .3s var(--ease);
}
.object-card-link .plus {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); font-size: 18px;
  transition: transform .5s var(--ease);
}
.object-card-link:hover { background: var(--green-dark); }
.object-card-link:hover .plus { transform: rotate(90deg); }

@media (max-width: 900px) {
  .types-grid { grid-template-columns: 1fr; }
  .types-photo { margin-left: 0; margin-right: calc(var(--gutter) * -1); height: clamp(320px, 70vw, 520px); }
  .object-card { position: relative; top: auto; left: auto; translate: none; width: min(calc(100% - clamp(24px, 10vw, 80px)), 340px); margin: -90px 0 0 clamp(12px, 5vw, 40px); }
}
@media (max-width: 480px) { .check-list { grid-template-columns: 1fr; } }

/* ---------- Atlikti darbai (pradžia): Salient Portfolio „Masonry“ ---------- */
.works { padding: var(--section) 0 clamp(64px, 7vw, 100px); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 19vw, 280px); gap: clamp(12px, 1.4vw, 20px); }
.work {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 0; border: 0; border-radius: var(--r);
  background: #0E2A21; color: #fff; text-align: left;
  cursor: zoom-in;
}
.work:first-child { grid-column: span 2; grid-row: span 2; }
.work img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(4, 22, 14, .9) 0%, rgba(4, 22, 14, .62) 30%, rgba(4, 22, 14, .12) 62%, rgba(4, 22, 14, 0) 80%);
}
.work-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); }
.work-title { display: block; color: #fff; font: 500 clamp(19px, 1.6vw, 22px)/1.25 var(--font-h); text-wrap: balance; }
.work:first-child .work-title { font-size: clamp(24px, 2.4vw, 34px); }
.work-sub { display: block; margin-top: 6px; color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.5; }
.work-zoom {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 20px;
  opacity: 0; transform: scale(.7);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.work:hover img, .work:focus-visible img { transform: scale(1.06); }
.work:hover .work-zoom, .work:focus-visible .work-zoom { opacity: 1; transform: none; }
.works-more { margin-top: clamp(36px, 4vw, 52px); text-align: center; }

@media (max-width: 860px) {
  .works-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .work { aspect-ratio: 4 / 3; }
  .work:first-child, .work:last-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr; }
  .work:first-child, .work:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Kvietimas (Business 3 paskutinė sekcija) ---------- */
.cta { padding-top: clamp(20px, 3vw, 40px); background: linear-gradient(to bottom, #fff 0, #fff 50%, var(--mint) 50%); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(60px, 8.5vw, 124px) clamp(22px, 5vw, 80px);
  border-radius: var(--r);
  background: #0E2A21; color: #fff; text-align: center;
}
.cta-card h2 { max-width: 640px; margin: 0 auto; color: #fff; }
.cta-card p { max-width: 520px; margin: 18px auto 0; color: rgba(255, 255, 255, .9); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; }
.cta-card .btn { margin-top: 38px; }

/* ---------- Kontaktai + forma ---------- */
.contacts { padding: clamp(76px, 8vw, 124px) 0 clamp(64px, 7vw, 100px); background: var(--mint); }
.contacts-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contacts-lead { margin-top: 18px; max-width: 30em; font-size: 18px; line-height: 1.7; }
.contact-list { display: grid; gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.ci {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--green); font-size: 23px;
  box-shadow: 0 12px 28px -14px rgba(7, 33, 23, .4);
}
.ci-label { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.contact-list a { color: var(--ink); text-decoration: none; font: 500 20px/1.35 var(--font-h); }
.contact-list a:hover { color: var(--green); text-decoration: underline; }
.company {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 24px;
  margin: 36px 0 0; padding-top: 24px;
  border-top: 1px solid #C9D9D0;
  font-size: 15px; line-height: 1.5;
}
.company dt { color: var(--muted); }
.company dd { margin: 0; color: var(--ink); font-weight: 500; }

.quote { padding: clamp(24px, 3.6vw, 50px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-soft); }
.quote h3 { font-size: clamp(25px, 2.2vw, 31px); }
.quote-intro { margin: 8px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { color: var(--ink); font: 500 15px/1.3 var(--font-b); }
.field legend { padding: 0; margin-bottom: 10px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.req { color: var(--green); }
.input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #C5D5CC; border-radius: var(--r);
  background: var(--mint-soft); color: var(--ink);
  font: 400 16px/1.4 var(--font-b);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input:hover { border-color: #A9BFB3; }
.input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(3, 95, 63, .16); }
textarea.input { min-height: 132px; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 18px; }
.help { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.error { display: none; color: var(--danger); font-size: 13.5px; line-height: 1.5; }
.field.has-error .error { display: block; }
.field.has-error .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid #C5D5CC; border-radius: var(--r);
  background: var(--mint-soft); color: var(--ink);
  font-size: 15px; line-height: 1.3; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span:hover { border-color: #A9BFB3; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #3FA876; outline-offset: 2px; }
.consent { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.quote-success { padding: clamp(24px, 4vw, 48px) 0; text-align: center; }
.quote-success .icon-badge { margin-bottom: 22px; }
.quote-success h3:focus { outline: none; }
.quote-success p { max-width: 26em; margin: 10px auto 26px; color: var(--muted); }

@media (max-width: 900px) { .contacts-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--mint); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px;
  padding-block: 28px;
  border-top: 1px solid #C9D9D0;
}
.footer-logo img { height: 30px; width: auto; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--green); text-decoration: underline; }
.footer-copy { margin-left: auto; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .footer-copy { margin-left: 0; width: 100%; } }

/* ---------- Patirties puslapis ---------- */
.page-hero .hero-card { min-height: clamp(360px, 46vh, 480px); justify-content: flex-end; }
.page-hero h1 { font-size: clamp(42px, 5.4vw, 72px); }
.projects { padding: clamp(84px, 9vw, 110px) 0 var(--section); background: linear-gradient(to bottom, var(--mint) 0%, rgba(230, 240, 234, 0) 420px); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.filter {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 18px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink);
  font: 500 15px/1.2 var(--font-b); white-space: nowrap; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.filter:hover { border-color: #A9BFB3; }
.filter .count { min-width: 26px; padding: 3px 7px; border-radius: 4px; background: var(--mint); color: var(--ink); font-size: 13px; text-align: center; }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.filter[aria-pressed="true"] .count { background: rgba(255, 255, 255, .2); color: #fff; }
.results-note { margin-bottom: clamp(30px, 4vw, 48px); color: var(--muted); font-size: 15px; text-align: center; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.project { display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; border-radius: var(--r); }
.project-thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--mint); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.project-thumb .work-zoom { top: 14px; right: 14px; }
.project:hover .project-thumb img, .project:focus-visible .project-thumb img { transform: scale(1.06); }
.project:hover .work-zoom, .project:focus-visible .work-zoom { opacity: 1; transform: none; }
.project-title { display: block; margin-top: 18px; color: var(--ink); font: 500 clamp(19px, 1.5vw, 22px)/1.3 var(--font-h); text-wrap: balance; }
.project-sub { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.project-thumb { display: block; }
.project.is-highlight .project-thumb { box-shadow: 0 0 0 4px var(--green); }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed #BCD0C5; border-radius: var(--r); text-align: center; }
.empty-state p { margin-bottom: 18px; color: var(--muted); }
@media (max-width: 980px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Peržiūra (lightbox) ---------- */
.lightbox { width: min(1100px, 92vw); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 18, 12, .9); }
.lightbox figure { margin: 0; }
.lightbox img { width: auto; max-width: 100%; max-height: 76vh; margin-inline: auto; object-fit: contain; border-radius: var(--r); }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding: 16px 2px 0; }
.lightbox figcaption strong { color: #fff; font: 500 22px/1.3 var(--font-h); }
.lightbox figcaption span { color: rgba(255, 255, 255, .78); font-size: 15px; }
.lb-btn {
  position: fixed; z-index: 2;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer;
  transition: background-color .25s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 18px; right: 18px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Judesys (tik jei naudotojas neprašo jo mažinti) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Column animation: „Fade in from bottom“ */
  .js [data-reveal] {
    opacity: 0; transform: translateY(46px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Split Line Heading: „Line reveal by space“ */
  .js [data-split] .w {
    display: inline-block;
    opacity: 0; transform: translateY(.55em);
    transition: opacity .9s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--i) * 60ms + var(--base, 0ms));
  }
  .js [data-split].is-in .w { opacity: 1; transform: none; }

  /* Column background animation: „Zoom out reveal“ */
  .js .zoom-reveal img, .js .zoom-reveal video { transform: scale(1.22); transition: transform 2.4s var(--ease-out); }
  .js .zoom-reveal .hero-clip { transition: transform 2.4s var(--ease-out), opacity 1.2s var(--ease); }
  .js .zoom-reveal.is-in img, .js .zoom-reveal.is-in video { transform: scale(1); }

  /* Filtravimo animacija */
  .project.is-entering { animation: project-in .7s var(--ease) both; animation-delay: var(--d, 0ms); }
  @keyframes project-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

  /* Cascading Images parallax (tik naršyklėse su scroll-driven animations) */
  @supports (animation-timeline: view()) {
    .cascade-front { animation: plx-front linear both; animation-timeline: view(); }
    .cascade-back { animation: plx-back linear both; animation-timeline: view(); }
    .types-photo img { animation: plx-photo linear both; animation-timeline: view(); }
  }
  @keyframes plx-front { from { translate: 0 64px; } to { translate: 0 -64px; } }
  @keyframes plx-back { from { translate: 0 -22px; } to { translate: 0 22px; } }
  @keyframes plx-photo { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.14) translateY(3%); } }
}

/* ---------- Kontaktų kortelė (vietoje užklausos formos) ---------- */
.contact-card { display: grid; justify-items: start; }
.contact-card .icon-badge { margin-bottom: 22px; }
.contact-card h3 { font-size: clamp(25px, 2.2vw, 31px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.contact-actions .btn { padding-inline: clamp(22px, 2.4vw, 34px); }
.btn--line {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px #C5D5CC;
}
.btn--line:hover { --btn-bg: var(--mint-soft); box-shadow: inset 0 0 0 1px #A9BFB3, 0 16px 32px -14px rgba(7, 33, 23, .3); }
.contact-check { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); width: 100%; }
@media (min-width: 560px) { .contact-check { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
