/* =============================================================================
   AURIMAS PETRIKAS – NT
   Originali dizaino sistema. Santūri, redakcinė, be perteklinių efektų.
   ========================================================================== */

/* --- 1. Tokens ------------------------------------------------------------ */

:root {
  /* Paviršiai */
  --paper:      #FBFAF7;   /* šiltas nebaltas fonas */
  --white:      #FFFFFF;
  --ink:        #12161B;   /* tamsios sekcijos */
  --ink-soft:   #1A1F26;
  --ink-line:   #2A3038;

  /* Tekstas */
  --text:       #15191F;
  --text-mid:   #4A5058;
  --text-mute:  #6B7278;
  --on-ink:     #F2F0EB;
  --on-ink-mute:#9AA1A9;

  /* Linijos */
  --line:       #E3E0D9;
  --line-soft:  #EEECE6;

  /* Akcentas – prislopintas bronzos tonas, naudojamas taupiai */
  --accent:     #8A6636;
  --accent-ink: #C6A56F;

  /* Smėlio juosta (skaičiai pagrindiniame puslapyje) */
  --sand:       #DBC5A0;

  /* Matmenys */
  --wrap:       1280px;
  --gutter:     clamp(20px, 5vw, 64px);
  --sec-y:      clamp(72px, 9vw, 132px);
  --nav-h:      72px;

  /* Tipografija */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Reset ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* Naršyklės <figure> numatytai turi margin: 1em 40px – dėl to po nuotraukomis
   atsirasdavo 16 px tarpas, o iš šonų jos būdavo suspaustos. */
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --- 3. Layout primitives ------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink); color: var(--on-ink); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 20px; z-index: 200;
}
.skip:focus { left: 0; }

/* --- 4. Typography -------------------------------------------------------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
  flex: none;
}
.section--ink .eyebrow { color: var(--on-ink-mute); }
.section--ink .eyebrow::before { background: var(--accent-ink); }

.h-display {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -.035em;
  line-height: 1.03;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.028em;
  line-height: 1.1;
  text-wrap: balance;
}
.h-sub {
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -.02em;
}

.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--text-mid);
  max-width: 62ch;
}
.section--ink .lede { color: var(--on-ink-mute); }

.body-text { color: var(--text-mid); max-width: 64ch; }
.section--ink .body-text { color: var(--on-ink-mute); }

.num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.section--ink .num { color: var(--accent-ink); }

/* --- 5. Buttons ----------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  min-height: 50px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: #C9C5BC; }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink); }

.btn--on-ink { --btn-bg: var(--on-ink); --btn-fg: var(--ink); --btn-bd: var(--on-ink); }
.btn--on-ink:hover { --btn-bg: var(--accent-ink); --btn-bd: var(--accent-ink); --btn-fg: var(--ink); }

.btn--ghost-ink { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: #3C434C; }
.btn--ghost-ink:hover { --btn-bg: var(--on-ink); --btn-fg: var(--ink); --btn-bd: var(--on-ink); }

.btn--sm { padding: 11px 18px; min-height: 44px; font-size: 11px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tekstinė nuoroda su pabraukimu per hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .22s var(--ease), color .22s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow svg { transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- 6. Navigation -------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, 0);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(251, 250, 247, .94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Žodinis logotipas – tipografinis, ne grafinis ženklas.
   Turint tikrą logotipo failą: pakeisti .brand vidų <img> elementu. */
.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}
.brand__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.brand__mark {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  color: var(--accent);
  border-left: 1px solid var(--line);
  padding-left: 9px;
}

.nav__menu { display: flex; align-items: center; gap: 30px; }

.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-mid);
  position: relative;
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--text); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform .28s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }

.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease),
                visibility .25s;
  }
  .nav.is-open .nav__menu {
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__link {
    font-size: 15px;
    letter-spacing: .05em;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }
  .nav__menu .btn { margin-top: 20px; width: 100%; }
  .nav.is-open { background: rgba(251,250,247,.98); border-bottom-color: transparent; }
}

/* --- 7. Hero -------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 92px));
  padding-bottom: 0;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero__copy { padding-bottom: clamp(48px, 6vw, 88px); }
.hero__title { margin-bottom: 26px; }
.hero__title span { display: block; }
.hero__title .accent-line { color: var(--text-mid); }
.hero__lede { margin-bottom: 36px; }
.hero__cta { margin-bottom: 0; }

/* Portretas ant tamsios plokštumos – iškirpta nuotrauka su permatomu fonu */
.hero__figure {
  position: relative;
  align-self: end;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* Portreto fonas – tokia pat spalva kaip svetainės. Nuotraukos fonas
   permatomas (alfa = 0), todėl portretas įsilieja be jokio rėmelio. */
.hero__figure::before {
  content: '';
  position: absolute;
  inset: 12% 0 0 0;
  background: var(--paper);
}
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  /* Spalvota nuotrauka. Fonas nuotraukoje permatomas, todėl matosi tamsi
     svetainės plokštuma – taip portretas derinasi prie bendro dizaino. */
  filter: contrast(1.03) saturate(1.02);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 44px; }
  .hero__figure { min-height: 0; }
  .hero__figure::before { inset: 18% 0 0 0; }
  .hero__portrait { max-width: 360px; }
}

/* --- 8. Bendra sekcijų antraštė ------------------------------------------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(44px, 5.5vw, 76px);
}
.sec-head__title .eyebrow { margin-bottom: 20px; }
@media (max-width: 820px) {
  .sec-head { grid-template-columns: 1fr; }
}

/* --- 9. Apie mane --------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about__aside {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.about__card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}
.about__card dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 5px;
}
.about__card dd {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.about__card dd:last-of-type { margin-bottom: 0; }
.about__text > * + * { margin-top: 20px; }
.about__text .h-sub { margin-bottom: 6px; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__aside { position: static; }
}

/* --- 10. Numeruotas sąrašas (privalumai, procesas) ------------------------ */

.stack { border-top: 1px solid var(--line); }
.section--ink .stack { border-top-color: var(--ink-line); }

.stack__item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.section--ink .stack__item { border-bottom-color: var(--ink-line); }
.stack__item:hover { background: rgba(138, 102, 54, .035); }
.section--ink .stack__item:hover { background: rgba(198, 165, 111, .05); }

.stack__title {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: .01em;
}
.stack__body { color: var(--text-mid); font-size: 15px; }
.section--ink .stack__body { color: var(--on-ink-mute); }

@media (max-width: 780px) {
  .stack__item {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 8px;
    align-items: start;
  }
  .stack__body { grid-column: 2; }
}

/* --- 11. Paslaugos -------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--white);
  transition: background .25s var(--ease);
}
.service:hover { background: #FCFBF8; }
.service__num { margin-bottom: 18px; display: block; }
.service__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.service li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 5px 0 5px 16px;
  position: relative;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 1px;
  background: var(--accent);
}

/* --- 12. Patirtis --------------------------------------------------------- */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.exp {
  background: var(--paper);
  padding: clamp(24px, 2.8vw, 36px);
}
.exp__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.exp__t { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.015em; }
.exp__d { font-size: 14px; color: var(--text-mid); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.fact__v {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.fact__l { font-size: 13px; color: var(--text-mute); line-height: 1.45; }

/* --- 13. Citata ----------------------------------------------------------- */

.quote-sec { position: relative; }
.quote {
  max-width: 22ch;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.22;
  margin: 0;
}
.quote__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.quote__mark {
  font-size: 64px;
  line-height: .6;
  color: var(--accent-ink);
  margin-bottom: 18px;
  display: block;
}
.quote__by {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
}
@media (max-width: 820px) {
  .quote__wrap { grid-template-columns: 1fr; align-items: start; }
  .quote { max-width: none; }
}

/* --- 14. Objektai: paieška ------------------------------------------------ */

.filters {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(18px, 2.2vw, 26px);
  margin-bottom: 32px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.seg button {
  padding: 10px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }

.filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 7px;
}
.field select,
.field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7278' stroke-width='1.3' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}
.field select:focus,
.field input:focus { border-color: var(--accent); outline: none; }

.filters__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.filters__count {
  font-size: 13px;
  color: var(--text-mute);
  margin-right: auto;
}
.btn-reset {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
}
.btn-reset:hover { color: var(--accent); }

.sort-inline { display: flex; align-items: center; gap: 10px; }
.sort-inline label {
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mute); margin: 0;
}
.sort-inline select { height: 40px; width: auto; min-width: 170px; }

/* --- 15. Objektai: tinklelis ---------------------------------------------- */

.grid-props {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}
@media (max-width: 700px) {
  .grid-props { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: #C9C3B6; transform: translateY(-2px); }

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #E9E7E1;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.03); }

.tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 11px;
  background: rgba(18, 22, 27, .88);
  color: var(--on-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.tag--rent { background: rgba(138, 102, 54, .93); }
.tag--featured {
  left: auto; right: 12px;
  background: rgba(251, 250, 247, .93);
  color: var(--text);
}

.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.28;
  margin-bottom: 6px;
}
.card__addr { font-size: 13.5px; color: var(--text-mute); margin-bottom: 16px; }
.card__price {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-bottom: 2px;
}
.card__ppu { font-size: 12px; color: var(--text-mute); margin-bottom: 16px; }

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-mid);
}
.card__specs span { display: inline-flex; align-items: baseline; gap: 5px; }
.card__specs em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.card__cta {
  margin-top: 16px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card__cta svg { transition: transform .22s var(--ease); }
.card:hover .card__cta svg { transform: translateX(3px); }

.empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--text-mute);
}

.props__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.props__note { font-size: 12.5px; color: var(--text-mute); max-width: 56ch; }

/* --- 16. Modalinis langas ------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(0px, 4vh, 48px) clamp(0px, 4vw, 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal.is-open { display: flex; }
.modal__scrim { position: fixed; inset: 0; background: rgba(12, 15, 19, .62); }

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 1040px;
  background: var(--paper);
  border-radius: 2px;
  animation: rise .3s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: rgba(251, 250, 247, .94);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.modal__close:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.gal__main {
  aspect-ratio: 16 / 9;
  background: #DDDAD3;
  overflow: hidden;
}
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 2px; background: var(--line); }
.gal__thumbs button {
  flex: 1;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: .55;
  transition: opacity .2s var(--ease);
  background: #DDDAD3;
}
.gal__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs button[aria-current='true'],
.gal__thumbs button:hover { opacity: 1; }

.modal__body { padding: clamp(22px, 3.2vw, 40px); }
.modal__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.modal__price { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.modal__ppu { font-size: 13px; color: var(--text-mute); }

.modal__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
@media (max-width: 780px) { .modal__cols { grid-template-columns: 1fr; } }

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.specs > div { background: var(--paper); padding: 15px 16px; }
.specs dt {
  font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 5px;
}
.specs dd { margin: 0; font-size: 16px; font-weight: 500; }

.modal h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 12px;
}
.feat li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.feat li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 6px; height: 1px; background: var(--accent);
}

.modal__aside { align-self: start; }
.modal__agent {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  margin-bottom: 16px;
}
.modal__agent-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal__agent-top img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--ink);
}
.modal__agent-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.modal__agent-role { font-size: 12px; color: var(--text-mute); }
.modal__agent .btn { width: 100%; }
.modal__agent .btn + .btn { margin-top: 8px; }

.modal__map {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, var(--line-soft) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--line-soft) 23px 24px),
    var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--text-mute);
}

.note {
  font-size: 12px;
  color: var(--text-mute);
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(138, 102, 54, .05);
  margin-top: 20px;
}

/* --- 17. Investuotojams --------------------------------------------------- */

.inv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .inv__grid { grid-template-columns: 1fr; } }

.inv__media { position: relative; }
.inv__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .inv__media img { aspect-ratio: 4 / 3; }
}
.inv__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 34px;
}
.inv__tags span {
  padding: 9px 16px;
  border: 1px solid var(--ink-line);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
}

/* --- 18. Atsiliepimas ----------------------------------------------------- */

.tm {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.tm__quote {
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 22px;
}
.tm__orig {
  font-size: 14px;
  color: var(--text-mute);
  font-style: italic;
  max-width: 68ch;
  margin: 0 auto 26px;
  line-height: 1.6;
}
.tm__by {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tm__meta { color: var(--text-mute); font-weight: 400; letter-spacing: .06em; text-transform: none; }

/* --- 19. Kontaktai -------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form > * + * { margin-top: 16px; }

.form textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  resize: vertical;
  transition: border-color .2s var(--ease);
}
.form textarea:focus { border-color: var(--accent); outline: none; }
.form .field input,
.form .field select { height: 48px; font-size: 15px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.5;
}
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--accent); }

.form__status {
  font-size: 13.5px;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(138, 102, 54, .06);
  color: var(--text-mid);
}
.form__status[hidden] { display: none; }

.contact__info { border-top: 2px solid var(--ink); padding-top: 26px; }
.contact__block + .contact__block { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact__k {
  font-size: 10px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 7px;
}
/* Visos kontaktų reikšmės – vienodo dydžio, storio ir spalvos, be paryškinimo */
.contact__v,
.contact__small {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--text);
}
.contact__v a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s var(--ease); }
.contact__v a:hover { border-color: var(--accent); color: var(--accent); }

/* --- 21. Footer ----------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--on-ink);
  padding-block: clamp(52px, 6vw, 80px) 32px;
  /* Atskiria footerį nuo viršuje esančios sekcijos. Svarbu pagrindiniame
     puslapyje, kur virš jo eina tokios pat tamsios spalvos sekcija –
     be linijos jie susilieja į vieną plotą. */
  border-top: 1px solid var(--ink-line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; } }

.footer .brand__name { color: var(--on-ink); }
.footer .brand__mark { color: var(--accent-ink); border-left-color: var(--ink-line); }
.footer__tag { font-size: 14px; color: var(--on-ink-mute); margin-top: 16px; max-width: 34ch; }

.footer__h {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-ink-mute); margin-bottom: 16px;
}
.footer__nav li + li { margin-top: 9px; }
.footer__nav a,
.footer__contact a {
  font-size: 14px;
  color: var(--on-ink);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--accent-ink); }
.footer__contact li + li { margin-top: 9px; }
.footer__contact li { font-size: 14px; color: var(--on-ink-mute); }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 2px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

.legal { padding-top: 32px; }
.legal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 32px;
  margin-bottom: 28px;
}
.legal__k {
  font-size: 9.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #6E757D; margin-bottom: 5px;
}
.legal__v { font-size: 12.5px; color: var(--on-ink-mute); line-height: 1.5; }
.is-placeholder {
  color: #8A929A;
  border-bottom: 1px dashed #4A525B;
  padding-bottom: 1px;
}

.legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 12px;
}
.legal__links a { color: var(--on-ink-mute); text-decoration: none; border-bottom: 1px solid transparent; }
.legal__links a:hover { color: var(--on-ink); border-bottom-color: var(--accent-ink); }
.legal__links span.disabled { color: #5C636B; cursor: default; }

.legal__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  font-size: 12px;
  color: #6E757D;
}

.disclaimer {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px dashed #414951;
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #8A929A;
}

/* --- 22. Subtilus pasirodymas -------------------------------------------- */

.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- 23. Utilities -------------------------------------------------------- */

.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;
}
.no-scroll { overflow: hidden; }
.mt-l { margin-top: clamp(32px, 4vw, 52px); }

/* --- 24. Karjeros kelias ir išsilavinimas -------------------------------- */

.cv-block { margin-top: clamp(44px, 5.5vw, 76px); }
.cv-block__h {
  padding-bottom: 18px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--ink);
}

.cv__item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}

.cv__years {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.cv__now {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  transform: translateY(-1px);
}

.cv__role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  margin-bottom: 4px;
}
.cv__org {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent);
}

.cv__points li {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.55;
  padding: 4px 0 4px 17px;
  position: relative;
}
.cv__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 7px; height: 1px;
  background: var(--line);
}

@media (max-width: 820px) {
  .cv__item {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .cv__years { order: -1; }
}

/* Išsilavinimas */
.edu__item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.edu__school { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.edu__meta { font-size: 14px; color: var(--text-mid); margin-top: 3px; }
.edu__place {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 6px;
}
@media (max-width: 620px) {
  .edu__item { grid-template-columns: 1fr; row-gap: 8px; }
}

/* --- 25. Tuščių teisinės informacijos blokų suskleidimas ------------------ */
/* Kai teisinės informacijos laukai neužpildyti, jie nerodomi. Šios taisyklės
   pašalina po jų likusius tarpus ir kabančias linijas. */
.legal__grid:empty { margin-bottom: 0; }
.legal__links:empty { display: none; }

/* =============================================================================
   26. DAUGIAPUSLAPINĖS STRUKTŪROS KOMPONENTAI
   ========================================================================== */

/* --- Vidinis puslapis: vieta po fiksuota navigacija ---------------------- */
/* Pagrindinio puslapio hero pats turi padding-top, todėl .page jam nereikia. */
.page { padding-top: var(--nav-h); }

/* Pirmoji vidinio puslapio sekcija – šiek tiek mažesnis viršutinis tarpas */
.page-head { padding-top: clamp(48px, 6vw, 84px); }

/* --- Skaičių juosta (smėlio spalvos) ------------------------------------- */

.band {
  background: var(--sand);
  color: var(--text);
  padding-block: clamp(28px, 3.4vw, 40px);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.band__v {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}
.band__l {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(21, 22, 27, .70);
}

@media (max-width: 880px) {
  .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
}
@media (max-width: 460px) {
  .band__grid { grid-template-columns: 1fr; gap: 22px; }
  .band__item { display: flex; align-items: baseline; gap: 14px; }
  .band__v { margin-bottom: 0; flex: none; }
  .band__l { font-size: 12.5px; }
}

/* --- Citatos juosta (vidinio puslapio viršus) ---------------------------- */

.quote-band { padding-block: clamp(48px, 6vw, 76px); }
.quote-band .quote__mark { margin-bottom: 10px; }
.quote-band .quote__wrap { align-items: end; }
.quote--wide {
  max-width: 30ch;
  font-size: clamp(26px, 3.6vw, 42px);
}

/* --- Viso pločio nuotraukos juosta po navigacija ------------------------- */

.page-banner { line-height: 0; }
.page-banner img {
  width: 100%;
  /* height:auto būtina – kitaip HTML height atributas nustelbia aspect-ratio */
  height: auto;
  aspect-ratio: 1008 / 286;
  object-fit: cover;
  /* Kadro aukštis: mažesnė reikšmė = rodoma aukštesnė nuotraukos dalis,
     didesnė = žemesnė. 62 % parenka fasadą ir pirmą aukštą, be stogo. */
  object-position: center 62%;
}
@media (max-width: 900px) {
  .page-banner img { aspect-ratio: 16 / 9; }
}

/* =============================================================================
   27. MOBILI KONTAKTŲ JUOSTA
   -----------------------------------------------------------------------------
   Matoma tik telefone ir planšetėje, visuose puslapiuose, slenkant neišnyksta.
   ========================================================================== */

.mobile-bar {
  display: none;
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-inline: 14px;
  /* Leidžia paspausti turinį tarpuose tarp mygtukų */
  pointer-events: none;
}
.mobile-bar > * { pointer-events: auto; }

@media (max-width: 900px) {
  .mobile-bar { display: flex; }
  /* Vietos, kad juosta neuždengtų footerio pabaigos */
  body { padding-bottom: 88px; }
}

/* Atidarius meniu juosta netrukdo */
body:has(.nav.is-open) .mobile-bar { display: none; }

.mobile-bar__icon,
.mobile-bar__cta {
  height: 52px;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(18, 22, 27, .26);
  transition: background .2s var(--ease);
}
.mobile-bar__icon:active,
.mobile-bar__cta:active { background: var(--accent); }

.mobile-bar__icon {
  width: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.mobile-bar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}

@media (max-width: 400px) {
  .mobile-bar { gap: 8px; }
  .mobile-bar__cta { padding: 0 16px; font-size: 10.5px; letter-spacing: .07em; }
}

/* --- Footerio skiriamosios linijos per visą ekrano plotį ----------------
   Turinį riboja .wrap (iki 1280 px), todėl paprastas border nusitęstų tik
   per turinio plotį. Linija piešiama atskiru pseudoelementu, kuris
   išsitempia per visą lango plotį – kaip ir .footer viršutinė linija.

   100vw įskaičiuoja ir slinkties juostą, todėl linija būtų kelias dešimtis
   pikselių platesnė nei matomas plotas. Apkerpame ties footerio kraštais –
   overflow-x: clip (skirtingai nei hidden) nekuria slinkimo konteinerio. */

.footer { overflow-x: clip; }

.footer__top,
.legal__links,
.legal__bar {
  position: relative;
  border: 0;
}

.footer__top::after,
.legal__links::before,
.legal__bar::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--ink-line);
}

.footer__top::after   { bottom: 0; }
.legal__links::before { top: 0; }
.legal__bar::before   { top: 0; }
