/* Naujieji Ginduliai – maketas. Sekcijos pridedamos failo gale. */

:root {
  --bg: #F5F1EA;
  --ink: #1A1A18;
  --ink-2: #5C5A55;
  --green: #2F7A1A;
  --pad: 48px;
  --head-h: 88px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Supreme', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
section[id] { scroll-margin-top: var(--head-h); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip {
  position: absolute; left: var(--pad); top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--bg);
}
.skip:focus { top: 12px; }

/* Bendri: mygtukas ir pabrauktas saitas */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--green); color: #fff;
  font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -2px 0 rgb(0 0 0 / .2), 0 1px 2px rgb(0 0 0 / .4);
  transition: background-color .2s;
}
.btn:active { box-shadow: inset 0 2px 4px rgb(0 0 0 / .25); }
.btn:focus-visible { outline-color: #fff; }
@media (hover: hover) { .btn:hover { background: #286a16; } }

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
  transition: text-decoration-color .2s;
}
@media (hover: hover) { .link:hover { text-decoration-color: transparent; } }

/* Antraštė (meniu) */

.head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  color: #fff;
  transition: background-color .3s, color .3s;
}
.head__in {
  max-width: var(--max); height: var(--head-h); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.logo { justify-self: start; display: block; position: relative; z-index: 2; }
.logo img { height: 36px; width: auto; filter: invert(1); transition: filter .3s; }

.nav__list { display: flex; gap: 44px; }
.nav__list a {
  display: block; padding: 8px 0;
  font-size: 14px; letter-spacing: .01em; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size .25s;
}
@media (hover: hover) { .nav__list a:hover { background-size: 100% 1px; } }
.nav__foot { display: none; }

.head__contact { justify-self: end; font-size: 14px; letter-spacing: .01em; padding: 8px 0; }
.head__toggle { display: none; }

.head.is-stuck {
  position: fixed;
  background: var(--bg); color: var(--ink);
  animation: head-in .3s ease-out;
}
.head.is-stuck .logo img, .head.is-open .logo img { filter: invert(0); }
@keyframes head-in { from { transform: translateY(-100%); } }

/* Hero */

.hero {
  position: relative; overflow: hidden;
  height: 100svh; min-height: 640px;
  background: #23261c; color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  animation: hero-zoom 12s ease-out forwards;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.04); } }

/* Tamsėjimas tik po tekstu: kairys apatinis kampas ir siaura juosta po meniu */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.44), rgba(0,0,0,.3) 30%, rgba(0,0,0,0) 55%),
    linear-gradient(to top, rgba(0,0,0,.44), rgba(0,0,0,.26) 30%, rgba(0,0,0,0) 52%),
    linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,0) 170px);
}

.hero__in {
  position: relative; height: 100%;
  max-width: var(--max); margin: 0 auto; padding: var(--head-h) var(--pad) 52px;
  display: flex; align-items: flex-end;
}
.hero__title {
  font-weight: 500; font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1; letter-spacing: -.015em; text-transform: uppercase;
}
.hero__sub {
  margin-top: 14px;
  font-weight: 300; font-size: clamp(26px, 2.78vw, 40px); line-height: 1.1; letter-spacing: -.005em;
}
.hero__lead {
  margin-top: 28px; max-width: 46ch;
  font-size: 17px; line-height: 1.55; color: rgb(255 255 255 / .85);
}
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero__cta .link { font-size: 17px; padding: 8px 0; }

/* Vietos kitoms sekcijoms */
.ph { min-height: 60vh; background: var(--bg); }

/* Telefonas */

@media (max-width: 767px) {
  :root { --pad: 20px; --head-h: 72px; }

  .head__in { grid-template-columns: 1fr auto; }
  .logo img { height: 32px; }
  .head__contact { display: none; }
  .head__toggle {
    display: block; position: relative; z-index: 2;
    width: 88px; height: 44px; padding: 0; margin-right: 0;
    border: 0; background: none; color: inherit; cursor: pointer;
    font: inherit; font-size: 15px; text-align: right;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
    touch-action: manipulation;
  }

  .head.is-open { position: fixed; color: var(--ink); animation: none; }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: calc(var(--head-h) + 24px) var(--pad) 28px;
    background: var(--bg); color: var(--ink);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s ease-out, visibility 0s .3s;
  }
  .head.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 10px 0; font-size: 32px; font-weight: 300; line-height: 1.2; letter-spacing: -.005em; background: none; }
  .nav__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav__foot .link { font-size: 17px; padding: 6px 0; }
  .nav__foot .btn { width: 100%; margin-top: 10px; }
  .nav__foot .btn:focus-visible { outline-color: var(--ink); }

  html.menu-open { overflow: hidden; }

  .hero__media img { object-position: 38% 50%; }
  .hero__media::after {
    background:
      linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,0) 72%),
      linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,0) 130px);
  }
  .hero__in { padding-bottom: 36px; }
  .hero__sub { margin-top: 12px; }
  .hero__lead { margin-top: 20px; font-size: 16px; }
  .hero__cta { margin-top: 24px; }
}


/* #namai */

.js .namai .fade {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js .namai .fade.is-in { opacity: 1; transform: none; }

.namai { padding: 140px 0; background: var(--bg); }
.namai__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.namai__grid {
  display: grid; grid-template-columns: 320px minmax(0, 2.24fr) minmax(0, 1fr);
  column-gap: 24px;
}
.namai__text { align-self: center; padding: 0 32px 34px 0; }
.namai__title {
  font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em;
  text-wrap: balance;
}
.namai__lead { margin-top: 20px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; }
.namai__more { display: inline-block; margin-top: 30px; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }

.namai__fig { margin: 0; }
.namai__fig img { width: 100%; object-fit: cover; }
.namai__fig figcaption { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.namai__fig--big img { aspect-ratio: 4 / 3; height: auto; }

.namai__side { display: flex; flex-direction: column; gap: 24px; }
.namai__side .namai__fig { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.namai__side .namai__fig img { flex: 1 1 0; min-height: 0; height: 0; }

/* Projektų sąrašas su keičiama nuotrauka */

.idx {
  margin-top: 128px;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 96px;
  align-items: start;
  scroll-margin-top: calc(var(--head-h) + 24px);
}
.idx__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.idx__list { grid-column: 1; grid-row: 1; border-top: 1px solid rgba(26,26,24,.15); }
.idx__row {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 21px 0 20px;
  border-bottom: 1px solid rgba(26,26,24,.15);
  text-decoration: none;
  touch-action: manipulation;
}
.idx__row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.idx__row.is-active::after { transform: scaleX(1); }
.idx__row:focus-visible { outline-offset: 0; }
.idx__title { font-weight: 300; font-size: 26px; line-height: 1.25; letter-spacing: -.005em; white-space: nowrap; }
.idx__meta { font-size: 14px; line-height: 1.4; color: var(--ink-2); text-align: right; transition: color .25s; }
.idx__row.is-active .idx__meta { color: var(--ink); }

.idx__view { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--head-h) + 24px); }
.idx__frame { position: relative; aspect-ratio: 1; }
.idx__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .25s ease;
}
.idx__frame img.is-active { opacity: 1; }
.idx__frame img[data-img="150"] { mix-blend-mode: multiply; }
.idx__cap { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }

@media (max-width: 1100px) and (min-width: 768px) {
  .namai__grid { grid-template-columns: 260px minmax(0, 2.24fr) minmax(0, 1fr); }
  .namai__title { font-size: 28px; }
  .idx { column-gap: 48px; }
}

@media (max-width: 767px) {
  .namai { padding: 88px 0; }
  .namai__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 12px; }
  .namai__text { grid-column: 1 / -1; padding: 0 0 12px; }
  .namai__title { font-size: 30px; line-height: 1.2; }
  .namai__lead { margin-top: 16px; line-height: 1.7; }
  .namai__more { margin-top: 18px; padding: 10px 0; font-size: 15px; }
  .namai__fig--big { grid-column: 1 / -1; }
  .namai__side { display: contents; }
  .namai__side .namai__fig { display: block; }
  .namai__side .namai__fig img { height: auto; aspect-ratio: 1; }
  .namai__fig figcaption { margin-top: 8px; line-height: 18px; }

  .idx { margin-top: 72px; display: flex; flex-direction: column; align-items: stretch; }
  .idx__view { position: static; order: -1; margin-bottom: 24px; }
  .idx__frame { aspect-ratio: 4 / 3; }
  .idx__row { padding: 17px 0 16px; gap: 16px; min-height: 60px; }
  .idx__title { font-size: 22px; }
  .idx__meta { font-size: 13px; }
}


/* #sklypai */

.js .sklypai .fade, .js .gyv .fade {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js .sklypai .fade.is-in, .js .gyv .fade.is-in { opacity: 1; transform: none; }

.sklypai { padding: 140px 0; background: var(--bg); }
.sklypai__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sklypai__title {
  max-width: 22ch;
  font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em;
  text-wrap: balance;
}
.sklypai__lead {
  margin-top: 20px; max-width: 52ch;
  font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2);
}
.sklypai__frame { margin-top: 56px; aspect-ratio: 16 / 10; background: #2b3a2e; overflow: hidden; }
.sklypai__frame iframe { display: block; }
.sklypai__foot {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px;
  font-size: 15px; line-height: 1.8; letter-spacing: .01em;
}
.sklypai__foot p { color: var(--ink-2); }
.sklypai__foot .link { padding: 8px 0; }

@media (max-width: 1100px) and (min-width: 768px) {
  .sklypai__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .sklypai { padding: 88px 0; }
  .sklypai__title { font-size: 30px; line-height: 1.2; }
  .sklypai__lead { margin-top: 16px; line-height: 1.7; }
  .sklypai__frame { margin-top: 36px; aspect-ratio: 3 / 4; }
  .sklypai__foot { margin-top: 14px; }
}


/* #gyvenviete */

.gyv { padding-top: 140px; background: var(--bg); }
.gyv__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.gyv__title { font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em; }
.gyv__lead { margin-top: 20px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

/* Aukštas takelis, kuriame scena laikosi prilipusi, kol slenkama */
.gyv__track { height: 400vh; margin-top: 56px; }
.gyv__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  max-width: var(--max); margin: 0 auto;
  padding: var(--head-h) var(--pad) var(--pad);
}
.gyv__frame { position: relative; height: 100%; overflow: hidden; background: #3d4a2c; color: #fff; }
.gyv__imgs { position: absolute; inset: 0; transform: scale(var(--s, 1)); will-change: transform; }
.gyv__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: opacity; }
.gyv__imgs img + img { opacity: 0; }

.gyv__over {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 160px 40px 38px;
  background:
    linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.34) 38%, rgba(0,0,0,0)),
    linear-gradient(to right, rgba(0,0,0,.22), rgba(0,0,0,0) 60%);
}
.gyv__count {
  font-weight: 300; font-size: clamp(44px, 5.4vw, 78px); line-height: 1; letter-spacing: -.015em;
  white-space: nowrap;
}
.gyv__cap {
  margin-top: 18px;
  font-weight: 300; font-size: 24px; line-height: 1.3; letter-spacing: -.005em;
  transition: opacity .2s ease, transform .2s ease;
}
.gyv__cap.is-out { opacity: 0; transform: translateY(8px); }

.gyv__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgb(255 255 255 / .6);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .gyv__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .gyv { padding-top: 88px; }
  .gyv__title { font-size: 30px; line-height: 1.2; }
  .gyv__lead { margin-top: 16px; line-height: 1.7; }
  .gyv__track { height: 300vh; margin-top: 36px; }
  .gyv__over { padding: 120px 18px 24px; }
  .gyv__count { font-size: clamp(28px, 8.6vw, 40px); }
  .gyv__cap { margin-top: 12px; font-size: 18px; min-height: 2.6em; }
}


/* Bendra naujoms sekcijoms: dalių įėjimai */

.js :is(.pas, .vys, .erd, .duk, .kon, .foot) .fade {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js :is(.pas, .vys, .erd, .duk, .kon, .foot) .fade.is-in { opacity: 1; transform: none; }


/* #pastatyta – veidrodinis #namai tinklelis: didelė nuotrauka kairėje, dvi mažesnės, tekstas dešinėje */

.pas { padding: 92px 0 140px; background: var(--bg); }
.pas__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.pas__grid {
  display: grid; grid-template-columns: minmax(0, 2.24fr) minmax(0, 1fr) 320px;
  column-gap: 24px;
}
.pas__fig { margin: 0; }
.pas__fig img { width: 100%; object-fit: cover; }
.pas__fig figcaption { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.pas__fig--big img { aspect-ratio: 4 / 3; height: auto; }
.pas__side { display: flex; flex-direction: column; gap: 24px; }
.pas__side .pas__fig { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
.pas__side .pas__fig img { flex: 1 1 0; min-height: 0; height: 0; }

.pas__text { align-self: center; padding: 0 0 34px 32px; }
.pas__title { font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em; text-wrap: balance; }
.pas__lead { margin-top: 20px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.pas__more { display: inline-block; margin-top: 30px; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }

@media (max-width: 1100px) and (min-width: 768px) {
  .pas__grid { grid-template-columns: minmax(0, 2.24fr) minmax(0, 1fr) 240px; }
  .pas__text { padding-left: 16px; }
  .pas__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .pas { padding: 68px 0 88px; }
  .pas__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 12px; }
  .pas__text { grid-column: 1 / -1; grid-row: 1; padding: 0 0 12px; }
  .pas__title { font-size: 30px; line-height: 1.2; }
  .pas__lead { margin-top: 16px; line-height: 1.7; }
  .pas__more { margin-top: 18px; padding: 10px 0; font-size: 15px; }
  .pas__fig--big { grid-column: 1 / -1; }
  .pas__side { display: contents; }
  .pas__side .pas__fig { display: block; }
  .pas__side .pas__fig img { height: auto; aspect-ratio: 1; }
  .pas__fig figcaption { margin-top: 8px; line-height: 18px; }
}


/* #vystytojas – split: nuotrauka pusė pločio iki ekrano krašto, tekstas dešinėje */

.vys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg); }
.vys__photo { min-height: 640px; }
.vys__photo img { width: 100%; height: 100%; object-fit: cover; }
.vys__text {
  align-self: center;
  max-width: calc(var(--max) / 2);
  padding: 72px var(--pad) 72px 96px;
}
.vys__title { max-width: 14em; font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em; text-wrap: balance; }
.vys__lead { margin-top: 20px; max-width: 54ch; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.vys__facts { margin-top: 40px; max-width: 54ch; border-top: 1px solid rgba(26,26,24,.15); }
.vys__facts li { padding: 15px 0 14px; border-bottom: 1px solid rgba(26,26,24,.15); font-size: 15px; line-height: 1.6; letter-spacing: .01em; }

@media (max-width: 1100px) and (min-width: 768px) {
  .vys__text { padding-left: 48px; }
  .vys__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .vys { grid-template-columns: minmax(0, 1fr); }
  .vys__photo { min-height: 0; }
  .vys__photo img { height: auto; aspect-ratio: 4 / 3; }
  .vys__text { padding: 36px var(--pad) 0; }
  .vys__title { font-size: 30px; line-height: 1.2; }
  .vys__lead { margin-top: 16px; line-height: 1.7; }
  .vys__facts { margin-top: 28px; }
}


/* #erdves – viena rami juosta tamsesniu tonu: tekstas kairėje apačioje, plati nuotrauka dešinėje */

.erd { margin-top: 140px; padding: 72px 0; background: #ECE6DB; }
.erd__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px;
  align-items: end;
}
.erd__text { padding-right: 48px; }
.erd__title { font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em; text-wrap: balance; }
.erd__lead { margin-top: 20px; max-width: 40ch; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.erd__more { display: inline-block; margin-top: 30px; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.erd__photo img { width: 100%; height: auto; aspect-ratio: 9 / 4; object-fit: cover; object-position: 50% 18%; }

@media (max-width: 1100px) and (min-width: 768px) {
  .erd__title { font-size: 28px; }
  .erd__text { padding-right: 24px; }
}

@media (max-width: 767px) {
  .erd { margin-top: 88px; padding: 48px 0; }
  .erd__in { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .erd__text { padding-right: 0; }
  .erd__title { font-size: 30px; line-height: 1.2; }
  .erd__lead { margin-top: 16px; line-height: 1.7; }
  .erd__more { margin-top: 18px; padding: 10px 0; font-size: 15px; }
  .erd__photo img { aspect-ratio: 16 / 9; }
}


/* #duk – paprastas sąrašas: antraštė kairėje laikosi vietoje, klausimai ir atsakymai dešinėje */

.duk { padding: 140px 0; background: var(--bg); }
.duk__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px;
  align-items: start;
}
.duk__title {
  position: sticky; top: calc(var(--head-h) + 24px);
  font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em;
}
.duk__list { border-top: 1px solid rgba(26,26,24,.15); }
.duk__item { padding: 28px 0 30px; border-bottom: 1px solid rgba(26,26,24,.15); }
.duk__item h3 { font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: -.005em; }
.duk__item p { margin-top: 10px; max-width: 62ch; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

@media (max-width: 1100px) and (min-width: 768px) {
  .duk__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .duk { padding: 88px 0; }
  .duk__in { grid-template-columns: minmax(0, 1fr); }
  .duk__title { position: static; margin-bottom: 28px; font-size: 30px; line-height: 1.2; }
  .duk__item { padding: 22px 0 24px; }
  .duk__item p { margin-top: 8px; line-height: 1.7; }
}


/* #kontaktai – pabaigos scena: telefono numeris kaip antraštė, šalia trumpa forma */

.kon { padding: 40px 0 140px; background: var(--bg); }
.kon__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 24px;
  align-items: start;
}
.kon__tel {
  font-weight: 300; font-size: clamp(40px, 6.1vw, 88px); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
}
.kon__tel a { text-decoration: none; display: inline-block; padding: 4px 0; touch-action: manipulation; }
@media (hover: hover) { .kon__tel a { transition: color .2s; } .kon__tel a:hover { color: var(--green); } }
.kon__mail { margin-top: 36px; font-size: 20px; line-height: 1.35; }
.kon__mail .link { display: inline-block; padding: 6px 0; }
.kon__meta { margin-top: 18px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

.kon__side { padding-top: 14px; }
.kon__note { font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.kon__form { margin-top: 20px; }
.kon__field { margin-bottom: 22px; }
.kon__field label { display: block; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.kon__field input, .kon__field textarea {
  display: block; width: 100%; padding: 6px 0 10px;
  border: 0; border-bottom: 1px solid rgba(26,26,24,.4); border-radius: 0;
  background: none; color: var(--ink);
  font: inherit; font-size: 17px; line-height: 1.5;
  transition: border-color .2s;
}
.kon__field textarea { resize: vertical; min-height: 92px; }
.kon__field input:focus-visible, .kon__field textarea:focus-visible { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.kon__field [aria-invalid="true"] { border-bottom-color: #A3261A; }
.kon__err { margin-top: 6px; font-size: 13px; line-height: 20px; color: #A3261A; }
.kon__btn { margin-top: 10px; border: 0; font-family: inherit; cursor: pointer; touch-action: manipulation; }
.kon__btn:focus-visible { outline-color: var(--ink); }
.kon__ok { margin-top: 20px; font-weight: 300; font-size: 26px; line-height: 1.3; letter-spacing: -.005em; }
.kon__ok:focus { outline: 0; }

@media (max-width: 767px) {
  .kon { padding: 0 0 72px; }
  .kon__in { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .kon__mail { margin-top: 24px; font-size: 18px; }
  .kon__side { padding-top: 0; }
  .kon__btn { width: 100%; }
  .kon__ok { font-size: 22px; }
}


/* Poraštė – viena eilutė su rekvizitais */

.foot { background: var(--bg); }
.foot__in {
  max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 30px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 40px;
  font-size: 13px; line-height: 22px; color: var(--ink-2);
}
.foot__in::before { content: ''; flex: 0 0 100%; height: 1px; margin-bottom: 20px; background: rgba(26,26,24,.15); }
.foot .link { text-decoration-color: rgba(26,26,24,.35); }
.foot__by { font-size: 12px; }

@media (max-width: 767px) {
  .foot__in { flex-direction: column; gap: 6px; padding-bottom: 28px; }
  .foot__in::before { width: 100%; margin-bottom: 14px; flex-basis: auto; }
  .foot .link { display: inline-block; padding: 5px 0; }
  .foot__sep { display: none; }
  .foot .foot__priv { display: table; }
}


/* ===== vidiniai puslapiai ===== */

/* Meniu su šešiomis nuorodomis siauresniame ekrane */
@media (max-width: 1100px) and (min-width: 768px) { .nav__list { gap: 22px; } }

/* Antraštė vidiniuose puslapiuose: iš karto šviesi ir prilipusi */
.head--solid, .head--solid.is-stuck { position: fixed; background: var(--bg); color: var(--ink); animation: none; }
.head--solid .logo img { filter: invert(0); }
.inner main { padding-top: var(--head-h); }
.inner [id] { scroll-margin-top: calc(var(--head-h) + 24px); }

.js .pg .fade {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js .pg .fade.is-in { opacity: 1; transform: none; }

.pg__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.pg { padding-bottom: 140px; }
.pg--flush { padding-bottom: 0; }

/* Puslapio viršus: kelias, lengva antraštė, vienas sakinys */
.pt { padding-top: 56px; padding-bottom: 64px; }
.crumb { font-size: 13px; line-height: 22px; color: var(--ink-2); }
.crumb a { text-decoration: none; display: inline-block; padding: 4px 0; }
@media (hover: hover) { .crumb a:hover { text-decoration: underline; text-underline-offset: .3em; } }
.crumb span { color: var(--ink); }
.pt__title {
  margin-top: 18px; max-width: 20em;
  font-weight: 300; font-size: 52px; line-height: 1.1; letter-spacing: -.015em;
  text-wrap: balance;
}
.pt__lead { margin-top: 20px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.h2 { font-weight: 300; font-size: 34px; line-height: 1.24; letter-spacing: -.005em; text-wrap: balance; }
.txt { font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.txt + .txt { margin-top: 14px; }
.more { display: inline-block; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }

/* Koto tinklelis: viena didelė nuotrauka ir dvi mažesnės, nuotraukos atsidaro per visą ekraną */
.kg { display: grid; grid-template-columns: minmax(0, 2.24fr) minmax(0, 1fr); column-gap: 24px; }
.kg + .kg { margin-top: 72px; }
.kg--r { grid-template-columns: minmax(0, 1fr) minmax(0, 2.24fr); }
.kg--r .kg__big { order: 2; }
.kg__fig { margin: 0; display: flex; flex-direction: column; }
.kg__fig a { position: relative; display: block; overflow: hidden; cursor: zoom-in; touch-action: manipulation; }
.kg__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kg__fig figcaption { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.kg__big a { aspect-ratio: 4 / 3; }
.kg--wide .kg__big a { aspect-ratio: 16 / 9; }
.kg__side { display: flex; flex-direction: column; gap: 24px; }
.kg__side .kg__fig { flex: 1 1 0; min-height: 0; }
.kg__side .kg__fig a { flex: 1 1 0; min-height: 0; }
.kg__fig--plan a { background: #ECE6DB; }
.kg__fig--plan img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.kg__one { align-self: start; }
.kg__plan a { aspect-ratio: 1; }
.kg--proj .kg__side .kg__fig:first-child, .kg--proj .kg__side .kg__fig:first-child a { flex: none; }
.kg--proj .kg__side .kg__fig:first-child a { aspect-ratio: 16 / 9; }
.kg__one a { aspect-ratio: 16 / 9; }

/* Papildomų nuotraukų eilė projekto puslapyje */
.kx { margin-top: 24px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 24px; }
.kx .kg__fig a { aspect-ratio: 16 / 9; }

/* Dviejų stulpelių blokas: antraštė kairėje, turinys dešinėje */
.two { margin-top: 128px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-items: start; }
.two__side { position: sticky; top: calc(var(--head-h) + 24px); padding-right: 48px; }
.two__side .txt { margin-top: 20px; max-width: 40ch; }
.two__side .more { margin-top: 22px; }

/* Paprasta dviejų stulpelių lentelė */
.tbl { margin: 0; border-top: 1px solid rgba(26,26,24,.15); }
.tbl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 15px 0 14px; border-bottom: 1px solid rgba(26,26,24,.15); }
.tbl dt { font-size: 15px; line-height: 1.6; letter-spacing: .01em; }
.tbl dd { margin: 0; font-size: 15px; line-height: 1.6; letter-spacing: .01em; color: var(--ink-2); text-align: right; white-space: nowrap; }
.tbl__h { margin: 48px 0 14px; font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: -.005em; }
.tbl__h:first-child { margin-top: 0; }
.note { margin-top: 16px; font-size: 13px; line-height: 22px; color: var(--ink-2); max-width: 62ch; }

/* Sakinių sąrašas (subsidijos eiga, privalumai) */
.lines { border-top: 1px solid rgba(26,26,24,.15); }
.lines li { padding: 24px 0 26px; border-bottom: 1px solid rgba(26,26,24,.15); max-width: none; font-size: 17px; line-height: 1.65; }
.lines li p { max-width: 62ch; }
.lines li small { display: block; margin-top: 8px; max-width: 62ch; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

/* Puslapio pabaiga: saitas ir vienas pilnas mygtukas */
.end { margin-top: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.end .btn:focus-visible { outline-color: var(--ink); }
.end__next { font-weight: 300; font-size: 26px; line-height: 1.25; letter-spacing: -.005em; padding: 8px 0; }

/* Sklypai: žemėlapis per visą ekrano aukštį ir laisvų sklypų sąrašas */
.map { height: calc(100svh - var(--head-h)); min-height: 520px; background: #2b3a2e; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.fl { margin-top: 96px; }
.fl__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; padding: 22px 0 20px; border-bottom: 1px solid rgba(26,26,24,.15); align-items: baseline; }
.fl__row:first-of-type { border-top: 1px solid rgba(26,26,24,.15); }
.fl__street { font-weight: 300; font-size: 26px; line-height: 1.25; letter-spacing: -.005em; }
.fl__items { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; }
.fl__items a { display: inline-block; padding: 6px 0; text-decoration-color: rgba(26,26,24,.35); white-space: nowrap; }

/* Namų projektų puslapis: tie patys #namai blokai, kiti tarpai */
.inner .namai { padding: 0 0 140px; }
.inner .namai__text { align-self: start; padding-bottom: 0; }
.inner .namai__lead { margin-top: 0; }

/* Apie projektą ir Erdvės+ */
.inner .vys__lead + .vys__lead { margin-top: 14px; }
.wide { margin: 0; }
.wide img { width: 100%; height: auto; }
.wide figcaption { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.two--tight { margin-top: 72px; }
.two .btn { margin-top: 32px; }
.two .btn:focus-visible { outline-color: var(--ink); }

/* Kontaktai */
.inner .kon { padding: 0 0 96px; }
.kon__rek { margin-top: 36px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.kon__field select {
  display: block; width: 100%; padding: 6px 28px 10px 0;
  border: 0; border-bottom: 1px solid rgba(26,26,24,.4); border-radius: 0;
  background: none; color: var(--ink);
  font: inherit; font-size: 17px; line-height: 1.5;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 11px) 16px, calc(100% - 5px) 16px; background-size: 6px 6px; background-repeat: no-repeat;
}
.kon__field select:focus-visible { outline: 0; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.kon__priv { margin-top: 18px; font-size: 13px; line-height: 22px; color: var(--ink-2); }
.gmap { height: 480px; background: #ECE6DB; }
.gmap iframe { display: block; width: 100%; height: 100%; border: 0; }
.gmap__cap { margin-top: 12px; font-size: 13px; line-height: 22px; color: var(--ink-2); }

/* Ilgas tekstas (privatumo politika) ir svetainės medis */
.prose { max-width: 68ch; }
.prose h2 { margin: 56px 0 14px; font-weight: 300; font-size: 28px; line-height: 1.25; letter-spacing: -.005em; }
.prose p { font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 16px; }
.prose .prose__date { font-size: 13px; line-height: 22px; color: var(--ink-2); }
.tree { max-width: 68ch; border-top: 1px solid rgba(26,26,24,.15); }
.tree > li { padding: 16px 0 15px; border-bottom: 1px solid rgba(26,26,24,.15); font-size: 20px; line-height: 1.35; }
.tree a { display: inline-block; padding: 4px 0; text-decoration: none; }
@media (hover: hover) { .tree a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; } }
.tree ul { margin-top: 6px; }
.tree ul li { font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

/* Nuotraukų peržiūra per visą ekraną */
.lb { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 72px 88px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; touch-action: pan-y; }
.lb.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb button {
  position: absolute; min-width: 48px; height: 48px; padding: 0 14px;
  border: 0; border-radius: 0; background: var(--bg); color: var(--ink); cursor: pointer;
  font: inherit; font-size: 15px; touch-action: manipulation;
}
.lb__close { top: 12px; right: var(--pad); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.lb__prev, .lb__next { top: 50%; margin-top: -24px; font-size: 22px !important; }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb__cap { position: absolute; left: var(--pad); bottom: 22px; right: var(--pad); font-size: 13px; line-height: 22px; color: var(--ink-2); text-align: center; }
html.lb-open { overflow: hidden; }

@media (max-width: 1100px) and (min-width: 768px) {
  .pt__title { font-size: 44px; }
  .h2 { font-size: 28px; }
}

@media (max-width: 767px) {
  .pg { padding-bottom: 88px; }
  .pg--flush { padding-bottom: 0; }
  .pt { padding-top: 28px; padding-bottom: 40px; }
  .pt__title { margin-top: 12px; font-size: 36px; line-height: 1.12; }
  .pt__lead { margin-top: 14px; font-size: 16px; }
  .h2 { font-size: 30px; line-height: 1.2; }

  .kg, .kg--r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 12px; }
  .kg + .kg { margin-top: 40px; }
  .kg__big, .kg__one { grid-column: 1 / -1; order: 0 !important; }
  .kg__side { display: contents; }
  .kg__side .kg__fig a, .kg--proj .kg__side .kg__fig:first-child a { flex: none; aspect-ratio: 1; }
  .kg__fig figcaption { margin-top: 8px; line-height: 18px; }
  .kx { margin-top: 28px; grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .two { margin-top: 72px; grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .two--tight { margin-top: 40px; }
  .two__side { position: static; padding-right: 0; }
  .two__side .txt { margin-top: 16px; line-height: 1.7; }
  .tbl > div { gap: 16px; }
  .tbl__h { margin-top: 40px; }
  .lines li { padding: 20px 0 22px; font-size: 16px; }

  .end { margin-top: 64px; flex-direction: column; align-items: stretch; }
  .end__next { font-size: 22px; }
  .end .btn, .two .btn { width: 100%; }

  .map { min-height: 0; }
  .fl { margin-top: 56px; }
  .fl__row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 18px 0 14px; }
  .fl__street { font-size: 22px; }
  .fl__items { gap: 0 24px; }
  .fl__items a { padding: 10px 0; }

  .inner .namai { padding-bottom: 88px; }
  .inner .kon { padding-bottom: 64px; }
  .kon__rek { margin-top: 24px; }
  .gmap { height: 360px; }

  .prose h2 { margin-top: 44px; font-size: 24px; }
  .prose p { font-size: 16px; }
  .tree > li { font-size: 18px; }
  .tree a { padding: 8px 0; }

  .lb { padding: 72px 0 96px; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; margin-top: 0; }
  .lb__prev { left: var(--pad); } .lb__next { right: var(--pad); }
  .lb__cap { bottom: 28px; left: 84px; right: 84px; }
  .lb__close { right: 8px; }
}


/* ===== erdvių planas ===== */

.eps { scroll-margin-top: calc(var(--head-h) + 24px); }
.ep { margin-top: 28px; }
.ep__bar {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px;
  font-size: 15px; line-height: 1.8; letter-spacing: .01em;
}
.ep__filters { display: flex; flex-wrap: wrap; align-items: baseline; color: var(--ink-2); }
.ep__f {
  padding: 8px 0; border: 0; border-radius: 0; background: none; color: var(--ink-2); cursor: pointer;
  font: inherit; letter-spacing: inherit; touch-action: manipulation;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: transparent;
  transition: color .2s, text-decoration-color .2s;
}
.ep__f + .ep__f::before { content: '·'; display: inline-block; margin: 0 12px; color: var(--ink-2); text-decoration: none; }
.ep__f.is-on { color: var(--ink); text-decoration-color: currentColor; }
@media (hover: hover) { .ep__f:hover { color: var(--ink); } }
.ep__count { color: var(--ink-2); }
.ep__hint { display: none; margin-top: 2px; font-size: 13px; line-height: 22px; color: var(--ink-2); }

.ep__frame { position: relative; margin-top: 16px; background: #46502f; }
.ep__scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.ep__canvas { position: relative; aspect-ratio: 16 / 9; }
.ep__canvas svg { display: block; width: 100%; height: 100%; }

.ep__roof { pointer-events: none; transition: opacity .3s ease-in-out; }
.ep__roof.is-off { opacity: 0; }
.ep__u {
  fill: transparent; stroke: transparent; stroke-width: 1.5px; vector-effect: non-scaling-stroke;
  cursor: pointer; outline: 0; touch-action: manipulation;
  transition: fill .3s ease-in-out, stroke .3s ease-in-out;
}
.ep__u.is-open { stroke: #fff; }
.ep__u--free.is-open { fill: rgb(47 122 26 / .2); }
.ep__u--held.is-open, .ep__u--let.is-open { fill: rgb(92 90 85 / .38); }
.ep__u:focus-visible, .ep__u.is-sel { stroke: #fff; stroke-width: 2.5px; }
.ep__u.is-dim { fill: rgb(245 241 234 / .62); stroke: transparent; pointer-events: none; }

.ep__card {
  position: absolute; z-index: 3; left: 8px; top: 8px; width: 232px; padding: 18px 20px 16px;
  background: #fff; color: var(--ink);
}
.ep__card[hidden] { display: none; }
.ep__name { font-weight: 300; font-size: 26px; line-height: 1.25; letter-spacing: -.005em; }
.ep__area { margin-top: 6px; font-size: 15px; line-height: 1.6; letter-spacing: .01em; color: var(--ink-2); }
.ep__status { font-size: 15px; line-height: 1.6; letter-spacing: .01em; }
.ep__status::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: #8A8780; }
.ep__status--free::before { background: var(--green); }
.ep__ask { display: inline-block; margin-top: 10px; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.ep__ask[hidden] { display: none; }
.ep__close {
  display: none; position: absolute; top: 4px; right: 8px; min-width: 48px; height: 48px; padding: 0 8px;
  border: 0; border-radius: 0; background: none; color: var(--ink-2); cursor: pointer;
  font: inherit; font-size: 13px; touch-action: manipulation;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.ep__close:focus-visible { display: block; }

@media (max-width: 767px) {
  .ep { margin-top: 20px; }
  .ep__bar { flex-direction: column; gap: 0; }
  .ep__f { padding: 10px 0; }
  .ep__hint { display: block; }
  .ep__frame { margin-top: 12px; }
  .ep__canvas { width: 900px; }
  .ep__card { left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; padding: 14px 16px 10px; }
  .ep__name { font-size: 22px; }
  .ep__close { display: block; }
}


/* ===== papildomi vidinių puslapių blokai ===== */

/* Vienas didelis lengvas sakinys (faktai tekstu) */
.say { max-width: 26em; font-weight: 300; font-size: 34px; line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; }
.say--gap { margin-top: var(--s-2); }
.sec { margin-top: var(--s-1); }
.sec__head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-items: baseline; margin-bottom: var(--s-3); }
.sec__head .txt { max-width: 56ch; }
.lead2 { max-width: 56ch; font-size: 17px; line-height: 1.65; }
.lead2 + .txt { margin-top: 14px; max-width: 56ch; }
.two .more { margin-top: 22px; }

/* Lentelė, kurios dešinė pusė telefone persikelia po pavadinimu */
.tbl--wrap dd { white-space: normal; }

/* Forma dešiniajame .two stulpelyje */
.two .kon__form { margin-top: 0; max-width: 560px; }
.two .kon__ok { margin-top: 0; }
.two__tel { display: inline-block; margin-top: 22px; padding: 6px 0; font-size: 20px; line-height: 1.35; }

/* Užklausos forma: tekstas ir forma kairėje, nuotrauka dešinėje iki ekrano krašto */
.frm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.frm__text { justify-self: end; width: 100%; max-width: calc(var(--max) / 2); padding: 56px 96px var(--s-1) var(--pad); }
.frm__text .pt__title { font-size: 44px; }
.frm__text .kon__form { margin-top: 40px; max-width: 520px; }
.frm__text .kon__ok { margin-top: 40px; }
.frm__photo { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); min-height: 480px; margin: 0; }
.frm__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Susisiekite: būdų sąrašas didelėmis eilutėmis */
.ways { border-top: 1px solid rgba(26,26,24,.15); }
.ways li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-items: baseline; padding: 30px 0 28px; border-bottom: 1px solid rgba(26,26,24,.15); }
.ways__how { font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }
.ways__what { font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.01em; }
.ways__what a { display: inline-block; padding: 4px 0; text-decoration: none; touch-action: manipulation; }
@media (hover: hover) { .ways__what a { transition: color .2s; } .ways__what a:hover { color: var(--green); } }
.ways__note { margin-top: 6px; font-size: 15px; line-height: 1.8; letter-spacing: .01em; color: var(--ink-2); }

/* Sklypai: parduotų sklypų sąrašas */
.fl--sold .fl__items span { display: inline-block; padding: 6px 0; white-space: nowrap; color: var(--ink-2); }
.fl--sold .fl__street { color: var(--ink-2); }
.fl h2 { margin-bottom: 40px; }

/* Klausimai projekto puslapyje – ta pati forma kaip pradžios DUK */
.two .duk__list { border-top: 1px solid rgba(26,26,24,.15); }


/* ===== tarpų skalė: 140 / 96 / 56 px, telefone 88 / 56 / 36 px ===== */

:root { --s-1: 140px; --s-2: 96px; --s-3: 56px; }

/* Pradžios puslapis: gretimų sekcijų tarpai nesusideda (buvo 280 ir 180 px) */
.sklypai + .namai, .namai + .gyv, .duk + .kon { padding-top: 0; }

.pg { padding-bottom: var(--s-1); }
.pg--flush { padding-bottom: 0; }
.pt { padding-top: var(--s-3); padding-bottom: var(--s-3); }
.two { margin-top: var(--s-1); }
.two--tight { margin-top: var(--s-2); }
.kg + .kg { margin-top: var(--s-3); }
.end { margin-top: var(--s-2); }
.fl { margin-top: var(--s-2); }
.tbl__h { margin-top: var(--s-3); }
.inner .namai { padding-bottom: var(--s-1); }
.inner .kon { padding-bottom: var(--s-1); }
.inner .vys + .pg .two:first-child { margin-top: var(--s-1); }

@media (max-width: 1100px) and (min-width: 768px) {
  .say { font-size: 28px; }
  .frm__text { padding-right: 48px; }
  .frm__text .pt__title { font-size: 36px; }
}

@media (max-width: 767px) {
  :root { --s-1: 88px; --s-2: 56px; --s-3: 36px; }
  .pt { padding-top: 28px; }
  .say { font-size: 26px; line-height: 1.25; }
  .sec__head { grid-template-columns: minmax(0, 1fr); row-gap: 16px; margin-bottom: 28px; }
  .lead2 { font-size: 16px; }
  .tbl--wrap > div { flex-direction: column; gap: 2px; }
  .tbl--wrap dd { text-align: left; }
  .two .kon__form { max-width: none; }

  .frm { grid-template-columns: minmax(0, 1fr); }
  .frm__text { max-width: none; padding: 28px var(--pad) var(--s-2); }
  .frm__text .pt__title { font-size: 36px; }
  .frm__text .kon__form, .frm__text .kon__ok { margin-top: 28px; max-width: none; }
  .frm__photo { position: static; height: auto; min-height: 0; margin: 0 var(--pad) var(--s-1); }
  .frm__photo img { height: auto; aspect-ratio: 4 / 3; }

  .ways li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 22px 0 20px; }
  .ways__what { font-size: 26px; }
  .fl h2 { margin-bottom: 28px; }
  .fl--sold .fl__items span { padding: 4px 0; }
}

/* Papildomi tarpai, pabaigos juosta su forma, 3D turas */
.mt-1 { margin-top: var(--s-1); }
.mt-2 { margin-top: var(--s-2); }
.inner .namai__lead--2 { margin-top: 14px; color: var(--ink-2); }

.ask { padding: var(--s-2) 0; background: #ECE6DB; }
.ask__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; align-items: start; }
.ask__text { padding-right: 48px; }
.ask__text .txt { margin-top: 20px; }
.ask__form { max-width: 560px; }
.ask__h { font-weight: 400; font-size: 20px; line-height: 1.35; letter-spacing: -.005em; }
.ask__form .kon__note { margin-top: 6px; }
.js .ask .fade { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 75ms); }
.js .ask .fade.is-in { opacity: 1; transform: none; }

.tour { aspect-ratio: 16 / 9; background: #ECE6DB; }
.tour iframe { display: block; width: 100%; height: 100%; border: 0; }

.ep__canvas img, .ep__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 767px) {
  .ask__in { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .ask__text { padding-right: 0; }
  .ask__text .txt { margin-top: 16px; }
  .ask__form { max-width: none; }
  .tour { aspect-ratio: 3 / 4; }
}


/* ===== Jury pataisymai 11-28: hover, fokusas, judesys, perėjimai ===== */

/* Žali mygtukai: tamsesnė spalva užlieja mygtuką iš kairės */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: color .3s ease; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #1f5411;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

/* Teksto nuorodos: pabraukimas nubėga ir sugrįžta */
.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@keyframes uline {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  45% { background-size: 0 1px; background-position: 100% 100%; }
  46% { background-size: 0 1px; background-position: 0 100%; }
  100% { background-size: 100% 2px; background-position: 0 100%; }
}
.crumb a, .tree a, .kon__tel a, .ways__what a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s cubic-bezier(.2, .7, .2, 1), color .2s;
}
.crumb a { background-size: 100% 1px; }

/* Namų projektų eilutės, galerija, logotipas, filtrai */
.idx__title { display: inline-block; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.kg__fig img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.logo img { transition: filter .3s; }
.ep__f { transition: color .2s, text-decoration-color .2s, transform .3s; }

@media (hover: hover) {
  .btn:hover { background: var(--green); }
  .btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
  .link:hover { animation: uline .7s cubic-bezier(.6, 0, .2, 1) both; }
  .crumb a:hover { text-decoration: none; animation: uline .7s cubic-bezier(.6, 0, .2, 1) both; }
  .tree a:hover, .kon__tel a:hover, .ways__what a:hover { text-decoration: none; background-size: 100% 2px; }
  .idx__row:hover .idx__title { transform: translateX(12px); }
  .kg__fig a:hover img { transform: scale(1.04); }
  .ep__f:hover { text-decoration-color: currentColor; transform: translateY(-1px); }
}

/* Klaviatūra: fokusas matomas ir ant įterptų žemėlapių */
iframe:focus, iframe:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
main [tabindex="-1"]:focus, section[tabindex="-1"]:focus { outline: none; }
.js .fade:focus-visible, .js .fade:has(:focus-visible) { opacity: 1 !important; transform: none !important; transition: none; }

/* Puslapių perėjimas: antraštė vietoje, turinys persilieja (be tuščio kadro) */
@view-transition { navigation: auto; }
.head { view-transition-name: head; }
::view-transition-old(root) { animation: vt-out .25s ease-in both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: .4; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: .4; transform: translateY(14px); } }

/* Sumažintas judesys: viskas matoma iš karto, niekas nejuda */


.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 404 */
.nf__p { max-width: 24em; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -.02em; }
.nf__img { margin-top: 64px; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 4px; }


/* ===== Dizainas 11-28: sklypų žemėlapis ir sąrašas – vienas daiktas ===== */

/* Pirmas ekranas – žemėlapis; antraštė guli ant jo viršutinio kairio kampo kaip antraštės juostos tęsinys */
.map { position: relative; }
.map__top {
  position: absolute; left: 0; top: 0; z-index: 2;
  max-width: calc(max(var(--pad), (100vw - var(--max)) / 2 + var(--pad)) + 470px);
  padding: 8px 56px 36px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  /* šiek tiek permatomas: visiškai nepermatomą sluoksnį virš WebGL drobės Chromium iškerpa apverstai (tamsus stačiakampis) */
  background: rgb(245 241 234 / .96);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.map__top .pt__title { margin-top: 10px; font-size: 48px; }
.map__top .pt__lead { margin-top: 14px; max-width: 30em; font-size: 16px; }
/* priartinus sklypą antraštė pasitraukia, kad neuždengtų vaizdo */


/* Kompiuteryje apatinė žemėlapio pusė lieka prilipusi, kol slenka laisvų sklypų sąrašas */
@media (min-width: 900px) and (min-height: 620px) and (hover: hover) {
  /* prilipimas nuimtas 11-28: nukirsdavo pusę žemėlapio */
}

/* Sąrašo eilutė, kurios sklypas dabar paryškintas žemėlapyje: žalias pabraukimas ir žalsvas fonas */
.fl__items [data-plot] { transition: box-shadow .25s ease; }
.fl__items [data-plot].is-on {
  background-image: linear-gradient(var(--green), var(--green)); background-repeat: no-repeat;
  background-size: 100% 2px; background-position: 0 100%;
  box-shadow: inset 0 0 0 60px rgb(47 122 26 / .14), -7px 0 0 rgb(47 122 26 / .14), 7px 0 0 rgb(47 122 26 / .14);
}
@media (hover: hover) { .fl__items a.is-on:hover { animation: none; } }

@media (max-width: 767px) {
  .map__top { right: 0; max-width: none; padding: 4px var(--pad) 20px; }
  .map__top .pt__title { margin-top: 6px; font-size: 32px; }
  .map__top .pt__lead { margin-top: 10px; font-size: 15px; line-height: 1.5; }
}

/* ===== Dizainas 11-28: #gyvenviete – didelė eilutė yra etapo sakinys, skaitiklis mažas ir antraeilis ===== */
.gyv__cap {
  margin-top: 0; max-width: 24em;
  font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.015em;
}
.gyv__count {
  margin-top: 16px;
  font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: .01em; color: rgb(255 255 255 / .86);
  transition: opacity .3s ease;
}
.gyv__count.is-idle { opacity: 0; }
@media (max-width: 767px) {
  .gyv__cap { margin-top: 0; font-size: 26px; line-height: 1.15; min-height: 0; }
  .gyv__count { margin-top: 10px; font-size: 15px; }
}


/* ===== Sklypai 11-28: antraštė virš žemėlapio, nieko neuždengia ===== */
.plan .map { display: flex; flex-direction: column; background: var(--bg); }
.plan .map__top {
  position: static; max-width: none; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 64px;
  padding: 16px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 22px; background: var(--bg);
}
.plan .map__top .crumb { grid-column: 1 / -1; }
.plan .map__top .pt__title { margin-top: 8px; }
.plan .map__top .pt__lead { margin: 0 0 6px; justify-self: end; text-align: right; }
.plan .map iframe { flex: 1; height: auto; min-height: 0; }
@media (max-width: 767px) {
  .plan .map__top { grid-template-columns: 1fr; padding: 8px var(--pad) 18px; }
  .plan .map__top .pt__lead { justify-self: start; text-align: left; margin-top: 10px; }
}
.plan .map__top { padding-top: 10px; padding-bottom: 14px; }
.plan .map__top .pt__title { font-size: 40px; margin-top: 4px; }
.plan .map__top { padding-top: 6px; padding-bottom: 10px; }
.plan .map__top .crumb { display: none; }
.plan .map__top .pt__title { font-size: 36px; margin-top: 0; }

/* ===== Sklypai 11-28 (3): antraštė mažame bloke apačioje kairėje (ten laisvų sklypų nėra), žemėlapis per visą aukštį ===== */
@media (min-width: 768px) {
  .plan .map__top {
    position: absolute; left: 0; top: auto; bottom: 58px; z-index: 2; display: block; max-width: 460px;
    padding: 16px 28px 18px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
    background: rgb(245 241 234 / .96);
    transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
  }
  .plan .map__top .pt__title { font-size: 32px; margin-top: 0; }
  .plan .map__top .pt__lead { margin: 8px 0 0; justify-self: auto; text-align: left; font-size: 15px; }
  .plan .map.is-zoomed .map__top { opacity: 0; transform: translateY(12px); pointer-events: none; }
}

/* ===== Sklypai 11-28 (4): kompiuteryje žemėlapis kairėje, laisvų sklypų sąrašas dešinėje – be ilgo slinkimo ===== */
@media (min-width: 1024px) {
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: calc(100svh - var(--head-h)); min-height: 560px; }
  .plan .map { height: 100%; min-height: 0; }
  .plan > .pg__in {
    height: 100%; overflow-y: auto; overscroll-behavior: contain; max-width: none; margin: 0;
    padding: 24px 28px 40px; border-left: 1px solid rgba(26,26,24,.12); background: var(--bg);
  }
  .plan > .pg__in .fl { margin-top: 0; }
  .plan > .pg__in .fl .h2 { font-size: 22px; margin-bottom: 14px; }
  .plan > .pg__in .fl__row { grid-template-columns: 1fr; row-gap: 6px; padding: 14px 0 12px; }
  .plan > .pg__in .fl__street { font-size: 18px; }
  .plan > .pg__in .fl__items { gap: 0 16px; font-size: 14px; line-height: 1.6; }
  .plan > .pg__in .fl__items a { padding: 4px 0; }
  .plan > .pg__in .note { font-size: 13px; margin-top: 16px; }
  .plan .map__top { bottom: 58px; max-width: 420px; }
}


/* ===== Mobile QA 11-28: telefono smulkmenos (kompiuterio vaizdas nekeičiamas) ===== */

/* Skaičių intervalas nelūžta per brūkšnį („60–110 m²“) */
.nw { white-space: nowrap; }

@media (max-width: 767px) {
  /* Pabraukimas prie teksto, ne po paspaudimo ploto apačia (buvo 8–12 px žemiau raidžių) */
  .link, .crumb a, .tree a, .kon__tel a, .ways__what a { background-origin: content-box; }

  /* Antraštės be vienišų žodžių paskutinėje eilutėje */
  h1, h2, h3, .say, .hero__sub, .end__next, .gyv__cap { text-wrap: balance; }

  /* Paspaudimo plotai ≥ 44 px, maketas nepasislenka */
  .logo { padding: 6px 0; }
  .crumb a { padding: 10px 0; margin: -6px 0; }
  .namai__more, .pas__more, .erd__more, .more, .ep__ask { padding: 12px 0; }
  .kon__mail .link { padding: 10px 0; }
  .ways__what a { padding: 8px 0; }
  .end__next { align-self: flex-start; padding: 10px 0; }
  .namai__fig figcaption .link, .vys__facts li > .link { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .foot .link { padding: 11px 0; }
  .foot__in { gap: 2px; }

  /* Meniu: slenkant punktai nebelenda po logotipu (žemame ekrane) */
  .head.is-open { background: var(--bg); }
  .nav { top: var(--head-h); padding-top: 24px; }

  /* Projektų sąrašas: nuotrauka prilimpa po antrašte, palietus eilutę matosi, kuris namas */
  .idx__view { position: sticky; top: var(--head-h); z-index: 2; margin-bottom: 0; padding: 12px 0 14px; background: var(--bg); }
  .idx__frame { aspect-ratio: 16 / 10; }
  .idx__cap { margin-top: 8px; }

  /* Vienas kairysis kraštas: nuotrauka šalia teksto nebeina iki ekrano krašto */
  .vys__photo { padding: 0 var(--pad); }

  /* Kontaktai: antraštė neprilimpa prie meniu juostos */
  #kontaktai { scroll-margin-top: calc(var(--head-h) + 24px); }

  /* Projekto puslapio papildomos nuotraukos – tas pats tinklelis kaip viršuje */
  .kx { margin-top: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 12px; }
  .kx .kg__fig a { aspect-ratio: 1; }
  .kx .kg__fig:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kx .kg__fig:last-child:nth-child(odd) a { aspect-ratio: 16 / 9; }

  /* Erdvių planas: kortelė po planu, neuždengia pasirinktos erdvės */
  .ep__card { position: relative; left: auto !important; right: auto; top: auto !important; bottom: auto; width: auto; }
}


/* #gyvenviete telefone 11-28: mažiau priartinta – kadras 4:5 po meniu, skaitiklis po juo */
@media (max-width: 767px) {
  .gyv__stage { padding: var(--head-h) 0 0; }
  .gyv__frame { height: auto; overflow: visible; background: var(--bg); color: var(--ink); }
  .gyv__imgs { position: relative; inset: auto; aspect-ratio: 4 / 5; overflow: hidden; }
  .gyv__over { position: relative; padding: 20px var(--pad) 0; background: none; }
  .gyv__count { font-size: 40px; }
  .gyv__cap { margin-top: 10px; font-size: 20px; }
  .gyv__line { position: relative; margin: 18px var(--pad) 0; background: var(--green); }
}
@media (max-width: 767px) {
  .gyv__frame .gyv__over, .gyv__frame .gyv__over * { color: var(--ink) !important; text-shadow: none !important; }
}

/* Žemėlapiai telefone 11-28: aukštis pagal vaizdą, kad tilptų visi laisvi sklypai be tuščio ploto */
@media (max-width: 767px) {
  .sklypai__frame { height: 108vw !important; min-height: 0 !important; aspect-ratio: auto !important; }
  .plan .map iframe { flex: none; height: 108vw; }
  .plan .map { height: auto; }
}

/* Telefone 11-28: prilipusi antraštė neįvažiuoja iš naujo puslapio gale (naršyklės juosta keičia aukštį ir perjungdavo klasę) */
@media (max-width: 767px) {
  .head.is-stuck { animation: none; }
}

.kg .kg__solo { grid-column: 1 / -1; width: 66.666%; }
@media (max-width: 767px) { .kg .kg__solo { width: 100%; } }
/* 11-28: priartinamas augimo kadras telefone išlįsdavo už krašto ir puslapis platėdavo – antraštė „užvažiuodavo“ */
@media (max-width: 767px) {
  .gyv__frame { overflow: hidden; }
}
html, body { overflow-x: clip; }

/* Erdvės+ planas telefone 11-28: pelės nėra, todėl laisvos erdvės pažymėtos iš karto, vaizdas platesnis ir aukštesnis */
@media (max-width: 767px) {
  .ep__canvas { width: 680px; }
  .ep__u--free { fill: rgb(47 122 26 / .28); stroke: rgb(170 245 180 / .95); }
  .ep__u--held, .ep__u--let { fill: rgb(30 30 28 / .35); stroke: rgb(255 255 255 / .35); }
  .ep__u.is-sel { stroke: #fff; stroke-width: 3px; fill: rgb(47 122 26 / .5); }
  .ep__hint { display: block; font-size: 14px; }
}

/* Kiti projektai 11-29: Sandėliukai telefone iš naujos eilutės */
.kp-br { display: none; }
@media (max-width: 767px) {
  .kp-sep { display: none; }
  .kp-br { display: inline; }
}

/* #gyvenviete telefone 11-29: etapo sakinys didelis, skaitiklis mažas; kadras telpa į ekraną, linija nebeužlenda ant kitos skilties */
@media (max-width: 767px) {
  .gyv__cap { margin-top: 0; font-size: 24px; line-height: 1.15; }
  .gyv__count { margin-top: 8px; font-size: 15px; line-height: 1.4; white-space: normal; }
  .gyv__imgs { aspect-ratio: auto; height: min(125vw, calc(100svh - var(--head-h) - 150px)); }
  .gyv__over { padding-top: 16px; }
  .gyv__line { margin-top: 16px; }
  .gyv__track { margin-bottom: 32px; }
}

/* Kiti projektai 11-29: Sandėliukai visada iš naujos eilutės */
.kp-sep { display: none; }
.kp-br { display: inline; }

/* Slapukų juosta 11-29 (assets/js/slapukai.js) */
.ck {
  position: fixed; z-index: 1000; left: 24px; bottom: 24px; max-width: 460px;
  background: var(--ck-bg); color: var(--ck-ink);
  border-radius: var(--ck-r, 4px); box-shadow: 0 12px 40px rgb(0 0 0 / .22);
  font: 400 14px/1.5 var(--ck-font); animation: ck-in .35s ease both;
}
@keyframes ck-in { from { opacity: 0; transform: translateY(12px); } }
.ck__in { padding: 20px 22px; }
.ck__txt { margin: 0; color: inherit; }
.ck__txt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ck__prefs { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ck-line); }
.ck__prefs[hidden] { display: none; }
.ck__opt { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ck__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--ck-acc); }
.ck__opt input:disabled + span { opacity: .65; }
.ck__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.ck__b {
  flex: 1 1 0; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--ck-line); border-radius: var(--ck-r, 4px);
  background: transparent; color: inherit; font: 500 14px/1.2 var(--ck-font); cursor: pointer;
}
.ck__b--ok { background: var(--ck-acc); border-color: var(--ck-acc); color: var(--ck-acc-ink); }
.ck__b--link { flex: 0 0 auto; border: 0; padding-inline: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ck__b:focus-visible { outline: 2px solid var(--ck-acc); outline-offset: 2px; }
@media (hover: hover) { .ck__b:not(.ck__b--ok):not(.ck__b--link):hover { border-color: currentColor; } .ck__b--ok:hover { filter: brightness(1.08); } }
@media (max-width: 767px) {
  .ck { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; box-shadow: 0 -8px 30px rgb(0 0 0 / .18); }
  .ck__in { padding: 16px var(--pad, 20px) calc(16px + env(safe-area-inset-bottom)); }
  .ck__txt { font-size: 13.5px; }
  .ck__btns { margin-top: 12px; }
}
.ck { --ck-bg: var(--ink); --ck-ink: var(--bg); --ck-line: rgb(245 241 234 / .28); --ck-acc: var(--green); --ck-acc-ink: #fff; --ck-font: 'Supreme', system-ui, sans-serif; --ck-r: 2px; }
