:root {
  --cream: #e7e9e4;
  --ink: #121410;
  --muted: #5c635c;
  --sage: #a8b89a;
  --sage-deep: #8f9f82;
  --dark: #121410;
  --accent: #2f5c45;
  --price: #8ed4a8;
  --line: rgba(18, 20, 16, 0.14);
  --card: #f7f7f4;
  --radius-btn: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0c1612; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.hero-wallpaper { display: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.4rem 0.7rem;
  z-index: 50;
}
.skip:focus { top: 0.6rem; }

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + 0.85rem) 1.15rem 0.85rem;
  color: #fff;
  background: transparent;
}
.top a { text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.top .brand,
.top nav > a {
  color: #fff;
}
.top .brand.on-light,
.top nav > a.on-light {
  color: #121410;
}
.top .brand { font-weight: 700; letter-spacing: -0.03em; }
.top nav { display: flex; gap: 1.2rem; align-items: center; }
.top .cta {
  position: relative;
  z-index: 2;
  background: #f4f5f2;
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-btn);
  mix-blend-mode: normal;
}
.top .cta.on-light {
  background: #121410;
  color: #f4f5f2;
}
.menu { position: relative; }
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.7rem;
  height: 2.45rem;
  padding: 0.55rem 0.62rem;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 0;
  transition: transform 0.18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.42rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.42rem) rotate(-45deg); }
.menu-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 5;
  min-width: 13rem;
  padding: 0.35rem 0;
  background: #121410;
  color: #f4f5f2;
  border-radius: var(--radius-btn);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.menu-panel[hidden] { display: none; }
.menu-panel a {
  display: block;
  padding: 0.72rem 1rem;
  color: #f4f5f2;
  mix-blend-mode: normal;
}
.menu-panel a:hover { background: rgba(255, 255, 255, 0.08); }
.to-top {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-btn);
  background: #121410;
  color: #f4f5f2;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--accent); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100lvh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + 5rem) 1.25rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
  box-sizing: border-box;
  background-color: #0c1612;
  background-image: url("images/hero-desktop.jpg?v=3");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-brand,
.brand,
.contact-info h2,
.site-foot .brand-line {
  text-transform: none;
  letter-spacing: -0.03em;
}

.hero-brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  line-height: 1.05;
}
.hero .sub {
  margin: 1.4rem auto 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.78rem 1.25rem;
  border-radius: var(--radius-btn);
  border: 0;
  cursor: pointer;
  font: inherit;
}
.btn-gold { background: #fff; color: var(--ink); }
.btn-gold:hover { background: var(--sage); }
.band-dark .btn-gold,
.contact-form .btn-gold { background: var(--accent); color: #fff; }
.band-dark .btn-gold:hover,
.contact-form .btn-gold:hover { background: #244836; }
.band {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3.5rem);
}
.band-sage { background: var(--sage); color: var(--ink); }
.band-dark { background: var(--dark); color: #f4f5f2; }
.band-light { background: #fff; }
#eiga { padding-bottom: 1.15rem; }
#kaina { padding-top: 1.15rem; }

.split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker.is-brand {
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
  font-weight: 700;
}
.split h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}
.split p { margin: 0 0 1rem; color: inherit; opacity: 0.92; }
.split p:last-child { margin-bottom: 0; }
.about-split { align-items: center; }
.slide-x > figure,
.slide-x > div {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-x > figure { translate: max(-3.25rem, -8vw) 0; }
.slide-x > div { translate: min(3.25rem, 8vw) 0; transition-delay: 0.08s; }
.slide-x.offer-reverse > figure { translate: min(3.25rem, 8vw) 0; }
.slide-x.offer-reverse > div { translate: max(-3.25rem, -8vw) 0; }
.slide-x.is-in > figure,
.slide-x.is-in > div {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .slide-x > figure,
  .slide-x > div {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
.fade-photo {
  display: grid;
  margin: 0;
}
.fade-photo::before,
.fade-photo img {
  border-radius: var(--radius-btn);
  clip-path: inset(0 round var(--radius-btn));
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent),
    linear-gradient(to bottom, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent),
    linear-gradient(to bottom, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  mask-composite: intersect;
}
.fade-photo::before {
  content: "";
  grid-area: 1 / 1;
  background: var(--photo) center / cover no-repeat;
  filter: blur(6px);
}
.fade-photo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.section-head h2 {
  margin: 0.35rem 0 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  text-transform: uppercase;
  font-weight: 600;
}
.section-head p { margin: 0; color: var(--muted); }

.grid-prog {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.prog {
  padding: 1.75rem 1.4rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.prog:nth-child(3n) { border-right: 0; }
.prog-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.prog h3 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prog p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

.cta-split {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
.cta-split figure { margin: 0; min-height: 280px; }
.cta-split img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-copy h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}
.cta-copy p { margin: 0 0 1.4rem; color: rgba(244, 245, 242, 0.82); max-width: 26rem; }

.gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.gallery a {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-weight: 600;
  font-size: 0.88rem;
}

.offer {
  background: #fff;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}
.band.offer:has(+ .band-dark) {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}
.offer-split { align-items: center; }
.offer-split figure { margin: 0; }
.offer-split img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.offer-reverse figure { order: 2; }
.offer h2 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: none;
}
.offer p { margin: 0 0 0.75rem; }

.stats {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 1rem;
}
.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.steps li {
  background: var(--card);
  padding: 1.35rem 1.2rem;
  border: 1px solid var(--line);
}
.steps strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; }
.steps span { color: var(--muted); font-size: 0.92rem; }

.pricing { max-width: 1100px; margin: 0 auto; }
.plan-picker { display: none; }
.plan-picker button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.plan-picker button[aria-selected="true"] { background: var(--dark); color: #fff; }
.plan-picker-price { color: #2f8f5b; font-weight: 700; }
.plan-picker button[aria-selected="true"] .plan-picker-price { color: var(--price); }
#kaina .section-head h2 {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 700;
}
.sheet-wrap {
  margin-top: 0;
  overflow-x: auto;
  border-radius: 0;
  background: #fff;
  border: 1px solid var(--line);
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td {
  padding: 0.8rem 0.85rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 0.92rem;
}
th.feat, td.feat {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
  font-weight: 600;
  min-width: 13.5rem;
}
thead th {
  background: var(--dark);
  color: #f4f5f2;
  border-bottom: 0;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}
thead th.feat { background: var(--dark); z-index: 2; }
.pname {
  display: block;
  color: #f4f5f2;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: none;
}
.psum {
  display: block;
  margin-top: 0.28rem;
  color: #62b07e;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.yes, .no {
  display: inline;
  font-weight: 700;
  line-height: 1;
  background: none;
  border-radius: 0;
}
.yes { color: #2f8f5b; font-size: 1.05rem; }
.no { color: #a8aea6; font-size: 1rem; }
td.soft { color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
tr.group th {
  text-align: left;
  background: #eef0ea;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-info { padding: clamp(2rem, 5vw, 3rem); }
.contact-info h2 {
  margin: 0 0 1rem;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
}
.contact-info p { margin: 0 0 1.25rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.65rem; font-weight: 600; }
.contact-list img { width: 18px; height: 18px; flex: none; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form {
  background: var(--dark);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
}
.contact-form label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; opacity: 0.75; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font: inherit;
  border-radius: var(--radius-btn);
}
.contact-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.contact-form textarea { min-height: 6rem; resize: vertical; }
.contact-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.1rem 0 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  line-height: 1.45;
}
.contact-form .check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  flex: none;
  accent-color: #fff;
}
.contact-form .check a { color: inherit; }
.contact-form .form-status { margin: 0.85rem 0 0; font-size: 0.92rem; line-height: 1.4; }
.contact-form .form-status.is-error { color: #ffc7b8; }
.contact-form button:disabled { opacity: 0.7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-foot {
  padding: 2.4rem 1.5rem calc(2.6rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: rgba(244, 245, 242, 0.88);
  font-size: 0.88rem;
  border-top: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  background: #0c1612 url("images/hero-floor.jpg?v=3") center bottom / cover no-repeat;
}
.site-foot a { font-weight: 600; color: #f4f5f2; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-legal { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.65rem; }

.uzklausa-langas {
  width: min(1100px, calc(100vw - 2.4rem));
  height: min(820px, calc(100vh - 2.4rem));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #121410;
  overflow: hidden;
}
.uzklausa-langas::backdrop { background: rgba(8, 10, 8, 0.62); }
.uzklausa-langas iframe { width: 100%; height: 100%; border: 0; background: #121410; }
.uzklausa-uzdaryti {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(244, 245, 242, 0.35);
  border-radius: var(--radius-btn);
  background: transparent;
  color: #f4f5f2;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}

@media (min-width: 1500px) {
  .split { max-width: 1400px; }
  .cta-split { max-width: 1500px; }
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html:has(.hero),
  body:has(.hero) { background: #0c1612; }

  .hero-wallpaper {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    z-index: 0;
    background: #0c1612 url("images/hero-desktop.jpg?v=3") center center / cover no-repeat;
    pointer-events: none;
  }

  .hero,
  .band,
  .site-foot {
    position: relative;
    z-index: 1;
  }

  .hero {
    min-height: 100lvh;
    background: none;
  }

  .top nav .hide-sm { display: none; }
  .split, .cta-split, .contact-wrap, .contact-form .row { grid-template-columns: 1fr; }
  .grid-prog { grid-template-columns: 1fr; }
  .prog { border-right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .offer-reverse figure { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .plan-picker { display: grid; gap: 0.5rem; }
  #kaina caption { display: none; }
  .sheet-wrap { overflow-x: visible; }
  table { min-width: 0; table-layout: fixed; }
  th.feat, td.feat { position: static; width: 58%; font-size: 0.85rem; }
  thead th:not(.feat), tbody td:not(:first-child) { width: 42%; }
  .sheet-wrap thead th:nth-child(2),
  .sheet-wrap thead th:nth-child(3),
  .sheet-wrap thead th:nth-child(4),
  .sheet-wrap tbody td:nth-child(2),
  .sheet-wrap tbody td:nth-child(3),
  .sheet-wrap tbody td:nth-child(4) { display: none; }
  .sheet-wrap[data-plan="0"] thead th:nth-child(2),
  .sheet-wrap[data-plan="0"] tbody td:nth-child(2),
  .sheet-wrap[data-plan="1"] thead th:nth-child(3),
  .sheet-wrap[data-plan="1"] tbody td:nth-child(3),
  .sheet-wrap[data-plan="2"] thead th:nth-child(4),
  .sheet-wrap[data-plan="2"] tbody td:nth-child(4) { display: table-cell; }
}

@media (max-aspect-ratio: 3/4) {
  .hero-wallpaper {
    background-image: url("images/hero-mobile.jpg?v=3");
    background-position: center center;
  }
}

@media (max-aspect-ratio: 3/4) and (min-width: 901px) and (hover: hover) {
  .hero {
    background-image: url("images/hero-mobile.jpg?v=3");
    background-position: center center;
  }
}
