/* =========================================================
   Star Lone - langai, vitrinos, aliuminio ir stiklo konstrukcijos
   Pirminis stilius su neutralia spalvine gama.
   Tema: dizainas uzrakintas 1:1. Techniniai pataisymai - failo gale.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --bg-soft-2: #eceae6;
  --ink: #1e2224;
  --ink-soft: #4b5155;
  --muted: #7c8286;
  --line: #e2e1dd;
  --accent: #2a2f32;
  --accent-2: #8a7358;
  --accent-2-dark: #6d5940;
  --shadow-sm: 0 2px 10px rgba(30, 34, 36, .05);
  --shadow-md: 0 12px 30px rgba(30, 34, 36, .08);
  --shadow-lg: 0 30px 60px rgba(30, 34, 36, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { color: var(--ink-soft); }

.section { padding: clamp(64px, 9vw, 128px) 0; }

.section--soft { background: var(--bg-soft); }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.section-head--left { margin-left: 0; text-align: left; }

.lead { font-size: 1.13rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__ico { width: 17px; height: 17px; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn:hover .btn__ico { transform: translateX(5px); }
.btn--lg { padding: 17px 34px; font-size: 1rem; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #14181a; box-shadow: var(--shadow-md); }
.btn--gold { background: var(--accent-2-dark); color: #fff; box-shadow: 0 6px 18px rgba(30,34,36,.18); }
.btn--gold:hover { box-shadow: 0 12px 26px rgba(30,34,36,.3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.24); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 20px 0;
}
.header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.header .brand { color: #fff; }
.header .nav-links a { color: rgba(255,255,255,.88); }
.header .nav-links a:hover, .header .nav-links a.active { color: #fff; }
.header .nav-phone { color: #fff; }
.header .burger span { background: #fff; }
.header.scrolled .brand { color: var(--ink); }
.header.scrolled .nav-links a { color: var(--ink-soft); }
.header.scrolled .nav-links a:hover, .header.scrolled .nav-links a.active { color: var(--ink); }
.header.scrolled .nav-phone { color: var(--ink); }
.header.scrolled .burger span { background: var(--ink); }

.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.brand span { color: inherit; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: .95rem; font-weight: 500; position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent-2); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 600; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center; color: #fff; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* Uzdanga: nuotrauka lieka matoma, o po tekstu - svelnus tamsesnis lauzas */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(74% 58% at 50% 46%, rgba(10,13,15,.68) 0%, rgba(10,13,15,.42) 55%, rgba(10,13,15,0) 100%),
    linear-gradient(to bottom, rgba(14,17,19,.62) 0%, rgba(14,17,19,.18) 32%, rgba(14,17,19,.2) 62%, rgba(14,17,19,.6) 100%);
}
.hero__inner { padding-top: 140px; padding-bottom: 80px; max-width: 1000px; margin: 0 auto; text-align: center; }
.hero h1 {
  color: #fff; letter-spacing: -.015em; font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 30px rgba(0,0,0,.6);
}

.hero p {
  color: #fff; font-size: 1.05rem; line-height: 1.6; margin: 24px auto 38px; max-width: 950px; font-weight: 450;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.6);
}
@media (max-width: 820px) {

  .hero p { font-size: 1rem; }
  .hero__inner { padding-top: 108px; padding-bottom: 44px; }
  .hero p { margin: 20px auto 30px; }
  .hero__strip { margin-top: 34px; padding-top: 20px; }
}
/* Zemi ekranai - kad turinys tilptu i visa aukstį */
@media (max-height: 700px) and (min-width: 821px) {
  .hero__inner { padding-top: 116px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
  .hero p { margin: 18px auto 28px; }
  .hero__strip { margin-top: 34px; padding-top: 20px; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
/* Plona juosta su sritimis - vietoj atskiru burbulu */
.hero__strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  margin: 62px auto 0; padding-top: 26px; max-width: 1120px;
  border-top: 1px solid rgba(255,255,255,.28);
}
.hero__strip li {
  position: relative; color: #fff; font-size: .84rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 22px; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.hero__strip li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: rgba(255,255,255,.4);
}
/* Telefonai - viskas auga kartu su ekranu */
@media (max-width: 600px) {
  .hero__inner {
    padding-top: clamp(94px, 13vh, 150px);
    padding-bottom: clamp(34px, 7vh, 70px);
  }
  .hero h1 { font-size: clamp(1.72rem, 7.8vw, 2.95rem); line-height: 1.18; }
  .hero p {
    font-size: clamp(.92rem, 3.8vw, 1.14rem); line-height: 1.55;
    margin: clamp(14px, 2.4vh, 26px) auto clamp(20px, 3.6vh, 36px);
  }
  .hero__actions { gap: clamp(10px, 3vw, 16px); }
  .hero__actions .btn--lg {
    padding: clamp(12px, 1.7vh, 17px) clamp(18px, 5.4vw, 30px);
    font-size: clamp(.88rem, 3.6vw, 1.02rem); gap: 8px;
  }
  .hero__strip {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(9px, 1.6vh, 16px) clamp(10px, 3vw, 18px);
    margin-top: clamp(26px, 5vh, 54px); padding-top: clamp(16px, 3vh, 30px);
  }
  .hero__strip li {
    padding: 0; font-size: clamp(.68rem, 3vw, .84rem);
    letter-spacing: .05em; line-height: 1.35;
  }
  .hero__strip li + li::before { display: none; }
}
@media (max-width: 380px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn--lg { width: 100%; justify-content: center; }
}
.hero .btn--outline-light:not(:hover) { background: rgba(12,16,18,.4); backdrop-filter: blur(6px); }

/* ---------- Page hero ---------- */
/* Visu vidiniu puslapiu antrastes - vienodo aukscio, turinys per vidury */
.pagehero {
  position: relative; color: #fff; overflow: hidden;
  display: flex; align-items: center;
  height: clamp(460px, 62vh, 560px);
  padding: 96px 0 30px;
}
.pagehero .container { width: 100%; }
@media (max-width: 700px) {
  .pagehero { height: auto; min-height: 500px; padding: 100px 0 44px; }
}
.pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.pagehero__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 62% at 50% 58%, rgba(8,11,13,.72) 0%, rgba(8,11,13,.5) 58%, rgba(8,11,13,.1) 100%),
    linear-gradient(to bottom, rgba(14,17,19,.66) 0%, rgba(14,17,19,.3) 46%, rgba(14,17,19,.5) 100%);
}
.pagehero .container { text-align: center; }
.pagehero h1 {
  color: #fff; max-width: 860px; margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 30px rgba(0,0,0,.6);
}
.pagehero p {
  color: #fff; margin: 18px auto 0; max-width: 680px; font-size: 1.08rem; font-weight: 450;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.6);
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-soft-2); display: grid; place-items: center; margin-bottom: 22px; color: var(--accent-2-dark); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.card__list { list-style: none; margin-top: 16px; }
.card__list li { font-size: .93rem; color: var(--ink-soft); padding-left: 24px; position: relative; margin-bottom: 7px; }
.card__list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }

/* ---------- Features ---------- */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__ico { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.feature__ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 6px; }
.feature p { font-size: .95rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }

/* ---------- Showcase (uzrasai ant nuotrauku) ---------- */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.shot {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4/3;
  box-shadow: var(--shadow-md); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.shot[id] { scroll-margin-top: 110px; }
/* Atejus is pagrindinio puslapio - trumpas paryskinimas */
.shot:target { animation: shotHi 2.4s var(--ease) .2s 1; }
@keyframes shotHi {
  0% { box-shadow: 0 0 0 0 rgba(138,115,88,.55), var(--shadow-md); }
  30% { box-shadow: 0 0 0 5px rgba(138,115,88,.55), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(138,115,88,0), var(--shadow-md); }
}
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover > img { transform: scale(1.05); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8,11,13,.94) 0%, rgba(8,11,13,.82) 30%, rgba(8,11,13,.42) 58%, rgba(8,11,13,.08) 80%, rgba(8,11,13,.22) 100%);
}
.shot__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(12,16,18,.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.34); color: #fff;
  font-size: .69rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
}
.shot__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px 34px 34px; max-width: 640px; }
.shot__body h3 { color: #fff; font-size: 1.75rem; margin-bottom: 5px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.shot__loc {
  color: #fff; font-size: .92rem; font-weight: 600; margin-bottom: 12px; opacity: .9;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.shot__body p {
  color: rgba(255,255,255,.92); font-size: 1rem; line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,.65);
}
@media (max-width: 700px) {
  .showcase { grid-template-columns: 1fr; }
  .shot { aspect-ratio: 4/3.4; }
  .shot__body { padding: 22px 20px 24px; }
  .shot__body h3 { font-size: 1.4rem; }
  .shot__loc { font-size: .85rem; margin-bottom: 9px; }
  .shot__body p { font-size: .93rem; }
}

/* ---------- Sritys: tekstas nuotraukos viduryje ---------- */
.srv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.srv__card {
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3.4; text-align: center;
  box-shadow: var(--shadow-md); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.srv__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.srv__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.srv__card:hover > img { transform: scale(1.05); }
.srv__card::after {
  content: ""; position: absolute; inset: 0; transition: background .4s;
  background:
    radial-gradient(76% 58% at 50% 50%, rgba(8,11,13,.72) 0%, rgba(8,11,13,.5) 62%, rgba(8,11,13,.34) 100%),
    linear-gradient(to bottom, rgba(8,11,13,.2), rgba(8,11,13,.34));
}
.srv__card:hover::after { background: radial-gradient(80% 62% at 50% 50%, rgba(8,11,13,.78) 0%, rgba(8,11,13,.58) 62%, rgba(8,11,13,.42) 100%); }
.srv__in { position: relative; z-index: 2; padding: 28px 30px; max-width: 340px; }
.srv__in h3 { color: #fff; font-size: 1.45rem; margin-bottom: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.srv__in p { color: rgba(255,255,255,.92); font-size: .95rem; line-height: 1.55; text-shadow: 0 1px 3px rgba(0,0,0,.65); }
@media (max-width: 1000px) { .srv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .srv { grid-template-columns: 1fr; }
  .srv__card { aspect-ratio: 4/2.9; }
  .srv__in h3 { font-size: 1.3rem; }
}

/* ---------- Work list ---------- */
.worklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.worklist > div {
  display: flex; gap: 12px; align-items: baseline; position: relative;
  padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line);
}
.worklist > div::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 7px; height: 1px; background: var(--accent-2);
}
.worklist b { font-weight: 600; font-size: .92rem; line-height: 1.45; }
.worklist span { color: var(--muted); font-size: .83rem; line-height: 1.45; display: block; }

/* ---------- Certificate ---------- */
.cert {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 34px; box-shadow: var(--shadow-sm);
}
.cert__seal {
  width: 76px; height: 76px; border-radius: 50%; flex: 0 0 auto;
  background: var(--bg-soft-2); color: var(--accent-2-dark); display: grid; place-items: center;
}
.cert__seal svg { width: 36px; height: 36px; }
.cert__nr { font-family: var(--serif); font-size: 1.2rem; margin-top: 4px; }
@media (max-width: 780px) { .cert { grid-template-columns: 1fr; text-align: left; gap: 18px; } }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; }

/* ---------- Contact ---------- */

/* Kontaktai per vidurį */
.contact-mid { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-mid .section-head { margin-bottom: 44px; }

.contact-mid .req { margin-top: 0; text-align: center; padding: 40px 34px 38px; }
.contact-mid .req dl { justify-items: center; gap: 22px 30px; }
.contact-mid .req dd { margin-bottom: 0; font-size: 1.02rem; }
.contact-mid .req dd a:hover { color: var(--accent-2-dark); }
.req__full { grid-column: 1 / -1; padding-bottom: 8px; }
.req__full dd { font-family: var(--serif); font-size: 1.35rem !important; }
.req__cta { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .req__full { grid-column: auto; } }

.req { background: var(--bg-soft); border-radius: var(--radius); padding: 30px 34px; }
.req dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.req dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.req dd { font-weight: 600; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { background: #1b1f21; color: rgba(255,255,255,.68); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand span { color: #fff; }
.footer p { color: rgba(255,255,255,.62); font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: .95rem; }
.footer ul a:hover { color: #fff; }
.credit {
  color: #d6b184; font-weight: 700; letter-spacing: .01em;
  border-bottom: 1px solid rgba(214,177,132,.6);
  padding-bottom: 1px; transition: border-color .25s, color .25s;
}
.credit:hover { color: #f0d3ad; border-bottom-color: #f0d3ad; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

/* ---------- Puslapio uzkrovimo ekranas (tik ateinant i svetaine) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 3000; background: #1b1f21;
  animation: loaderOut .5s ease .15s forwards;
}
html.no-intro .loader { display: none; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Meniu issiskleidimo animacija ---------- */
@keyframes navOpen {
  from { opacity: 0; transform: translateY(-12px) scaleY(.94); }
  to { opacity: 1; transform: none; }
}
@keyframes navItem {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-links.open, .nav-links.open li { animation: none; }
  .loader { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(18,21,23,.94); display: none; z-index: 2000; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lb__close, .lb__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center;
  transition: background .2s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.28); }
.lb__close { top: 24px; right: 24px; }
.lb__nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb__nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb__cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; background: rgba(0,0,0,.55); padding: 7px 16px; border-radius: 999px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev { direction: ltr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Planšetes ir siauresni ekranai - meniu po mygtuku */
@media (max-width: 1024px) {
  .nav-links, .nav-phone, .nav-cta .btn { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: rgba(255,255,255,.985); backdrop-filter: blur(16px) saturate(1.3);
    padding: 22px 24px 26px; gap: 18px; box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius) var(--radius);
    transform-origin: top center;
    animation: navOpen .34s var(--ease) both;
  }
  .nav-links.open li { animation: navItem .32s var(--ease) both; }
  .nav-links.open li:nth-child(1) { animation-delay: .05s; }
  .nav-links.open li:nth-child(2) { animation-delay: .09s; }
  .nav-links.open li:nth-child(3) { animation-delay: .13s; }
  .nav-links.open li:nth-child(4) { animation-delay: .17s; }
  .nav-links.open li:nth-child(5) { animation-delay: .21s; }

  /* Meniu mygtukas virsta kryziuku */
  .header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links.open a,
  .header .nav-links.open a { color: var(--ink-soft); }
  .nav-links.open a:hover,
  .nav-links.open a.active,
  .header .nav-links.open a:hover,
  .header .nav-links.open a.active { color: var(--ink); }
  .burger { display: flex; }

  /* Atidarius meniu - antraste taip pat sviesi, bet lengvai permatoma */
  .header.menu-open {
    background: rgba(255,255,255,.985); backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: none;
  }
  .header.menu-open .brand,
  .header.menu-open .brand span { color: var(--ink); }
  .header.menu-open .burger span { background: var(--ink); }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .req dl, .worklist { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .req { padding: 26px 24px; }
}

/* =========================================================
   TECHNINIAI PATAISYMAI (dizainas nekeiciamas)
   ========================================================= */

/* 1. Safari (iOS / macOS iki 18) nesupranta backdrop-filter be priesdelio.
      Reiksmes ir tvarka tokia pati kaip auksciau, kad kaskada nepasikeistu. */
.header.scrolled { -webkit-backdrop-filter: blur(12px); }
.hero .btn--outline-light:not(:hover) { -webkit-backdrop-filter: blur(6px); }
.shot__tag { -webkit-backdrop-filter: blur(6px); }
@media (max-width: 1024px) {
  .nav-links.open { -webkit-backdrop-filter: blur(16px) saturate(1.3); }
  .header.menu-open { -webkit-backdrop-filter: blur(16px) saturate(1.3); }
}

/* 2. Responsive klaida: siaurose kortelese (320-375 px ir 701-1000 px) ilgas aprasymas
      uzlipdavo ant zymes, nes kortele turi fiksuota 4:3 auksti. Dabar kortele paauga
      TIK tada, kai tekstas netelpa; kitur geometrija lieka ta pati.
      overflow:clip (vietoj hidden) apkarpo kampus taip pat, bet leidzia 'aspect-ratio' dezutei paaugti.
      Senesnis Safari (iki 16) clip nesupranta ir lieka prie originalaus elgesio. */
.shot { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 36px; overflow: clip; min-width: 0; }
.shot__body { position: relative; left: auto; right: auto; bottom: auto; }

/* 3. Responsive klaida: "Ka darome" kortele ties 320 px nukirpdavo teksta. */
.srv__card { overflow: clip; min-width: 0; }

/* 4. width/height atributai nuotraukoms (apsauga nuo turinio šokinėjimo) neturi keisti CSS nustatyto dydžio. */
.split__media img { height: auto; }

/* 5. Prieinamumas: nuoroda "Pereiti prie turinio" - matoma tik naudojant klaviatura. */
.skip-link {
  position: absolute; left: 16px; top: -200px; z-index: 4000;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; box-shadow: var(--shadow-md);
}
.skip-link:focus { top: 16px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
