
html {
  scroll-behavior: smooth;
}
@media (max-width: 576px){
  .row{ margin-left: 0; margin-right: 0; }
}
/* === Baziniai stiliai === */
body {
  font-family: 'Inter', sans-serif;
  color: #444;
  background-color: #fff;
}

/* === Header === */
.btn-contact {
  background-color: #fafaff;
  border: 1px solid #d9d8e8;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 15px;
  color: #444;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-contact svg {
  stroke: #6f6f7d;
}
.btn-contact:hover {
  background-color: #f3f2ff;
  border-color: #c6c4f9;
  color: #444;
}
.header-logo{
  margin-left: -20px; /* pabandyk -4, -6, -8 pagal akis */
}

.btn-menu {
  color: #444;
  font-size: 15px;
  font-weight: 300;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-menu:hover,
.btn-menu:focus {
  color: #242424;
  /* font-weight: 600; */
  text-decoration: none;
  outline: none;
}

/* === Projektų kortelės === */
.projects-section {
  margin-top: -50px;
}


.project-card {
  aspect-ratio: 1 / 1;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

/* Overlay dengia pusę (ar daugiau) nuotraukos */
.project-card .overlay-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 65%;                 /* 👈 ČIA ESMĖ */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 22px 16px 16px;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.72) 15%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.22) 60%,
    rgba(0,0,0,0.00) 90%
  );
}



.overlay-text h6 {
  font-weight: 300;
  font-size: 17px;
  margin-bottom: 3px;
}
.overlay-text p {
  font-size: 14px;
  color: #eee;
  margin: 0;
}

.price-tag{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  padding: 6px 14px;                 /* daugiau oro aplink tekstą */
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  font-weight: 300;

  background: rgba(0,0,0,0.28);      /* šiek tiek šviesesnis fonas */
  backdrop-filter: blur(14px);       /* 👈 svarbiausia */
  -webkit-backdrop-filter: blur(14px);

  border-radius: 999px;

  /* minkšti kraštai */
  box-shadow:
    0 6px 18px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}



/* === Mygtukas „Apie rangovą“ === */
.btn-about-text {
  display: inline-block;
  background-color: rgba(169, 143, 118, 0.5);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  color: #444;
  cursor: default;
  user-select: none;
}

/* === Fullscreen meniu (finalinė išlyginta versija) === */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background-color: #1e2239;
  color: #fff;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  font-family: 'Inter', sans-serif;
  overflow-y: auto;
}

.fullscreen-menu.active {
  opacity: 1;
  pointer-events: all;
}

.menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  transform-origin: top center;
  transition: transform 0.3s ease;
}

/* Kairė pusė */
.menu-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px 0 40px 0;
}

.menu-left-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 40px;
}

.menu-left-bottom {
  text-align: left;
  margin-top: auto;
}

.menu-left-bottom p,
.menu-left-bottom a {
  color: #bfc3d9;
  font-size: 13px;
  line-height: 1.6;
}

.menu-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  margin-left: -200px;
}

.menu-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 80px;
}

.menu-left ul li {
  margin-bottom: 6px;
}

.menu-left ul li a {
  color: #bfc3d9;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.menu-left ul li a:hover {
  color: #ffffff;
}

.menu-left ul li a::before {
  content: '↗';
  margin-right: 6px;
  color: #bfc3d9;
  font-size: 10px;
  position: relative;
  top: -1px;
}

.menu-left p,
.menu-left a {
  color: #bfc3d9;
  font-size: 13px;
  line-height: 1.6;
}

.menu-left .fw-semibold {
  color: #fff;
}

/* Dešinė pusė */
.menu-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 40px;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-links li {
  margin: 16px 0;
}

.menu-links a {
  font-size: 52px;
  font-weight: 300;
  color: #bfc3d9;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-links a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* Uždarymo mygtukas */
.btn-close-menu {
  position: absolute;
  top: 40px;
  right: 60px;
  background: none;
  border: none;
  color: #bfc3d9;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-close-menu:hover {
  color: #ffffff;
}

/* Desktop lygiavimas + logo virš socialų */
@media (min-width: 992px) {
  /* kad necentruotų vertikaliai, o startuotų nuo viršaus */
  .menu-content{
    align-items: start;
  }

  /* abi kolonos pradeda nuo vienodo viršaus */
  .menu-left,
  .menu-right{
    padding-top: 70px;
  }

  /* nuimam "stumdymus" */
  .menu-left-top{
    margin-top: 0;
  }

  .menu-left ul{
    margin-top: 0;
  }

  .menu-logo-desktop{
    height: 48px;
    width: auto;
    display: block;
    margin-top: 30px;
    margin-bottom: 120px;
    margin-left: -22px;
  }

  /* kairė kolona užima visą meniu aukštį */
  .menu-left{
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* apačia nusistumia į lango dugną */
  .menu-left-bottom{
    margin-top: auto;
    padding-bottom: 30px;
  }
}


/* === Apie rangovą sekcija === */
.about-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.about-title {
  padding-top: 16px;
  font-size: 44px;
  color: #1e2239;
  line-height: 1.2;
  font-weight: 200;
}

.about-text {
  font-size: 12px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 22px;
}

.text-highlight {
  color: #1e2239;

}
.about-title .text-highlight {
  display: inline-block;
  margin-left: 120px;
}

/* Mygtukas */
.btn-primary-dark {
  display: inline-block;
  background-color: #272c49;
  color: #fff;
  border-radius: 50px;

  padding: 10px 40px;   /* 👈 daugiau mėlyno šonuose */
  font-size: 18px;
  font-weight: 300;

  text-decoration: none;
  transition: background-color 0.3s ease;
}


.btn-primary-dark:hover {
  background-color: #2c3150;
}

/* === Statistika (didesnis tarpas + didesni elementai) === */
.stats{
  margin-top: 90px !important; /* buvo ~mt-5 (48px) -> dabar daugiau oro */
}

.stats-icon{
  width: 80px;   /* buvo 48px */
  opacity: 0.65;
}

.stats-number{
  font-size: 26px;  /* buvo 22px */
  margin-bottom: 4px;
}

.stats-label{
  font-size: 15px;  /* buvo 14px */
}


/* === Parduodami butai sekcija === */
.flats-section {
  background: #f7f8fc;
}

.flat-address {
  color: #1e2239;
  font-weight: 300;
  margin-bottom: 14px; /* 🔼 daugiau tarpo po adresu */
}

.section-title {
  font-size: 32px;
  color: #1e2239;
  font-weight: 300
}

.flat-card{
  border-radius: 32px;
  background: #fff;

  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); /* 👈 1:1 kaip shadow-sm */

  transition: box-shadow 0.3s ease;
}


/* Hover – platesnis, labiau išplaukęs */
.flat-card:hover{
  box-shadow:
    0 .5rem 1.25rem rgba(0,0,0,.10);
}



/* Nuotrauka */
.flat-image {
  overflow: hidden; /* 🔑 kad zoom nepabėgtų už kortelės */
}

.flat-image img {
  border-bottom: 1px solid #eee;
  max-height: 200px;
  transition: transform 0.45s ease; /* 🔥 smooth zoom */
  transform: scale(1);
  
}

/* Zoom on hover */
.flat-card:hover .flat-image img {
  transform: scale(1.15);
}

.flat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2d2f48;
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 300;
}

/* Kaina */
.flat-card h5 {
  color: #1e2239;
  margin-bottom: 18px !important; /* 🔥 permuša mb-2 */
}

/* Adresas */
.flat-card .flat-address {
  margin-bottom: 16px !important; /* 🔥 permuša mb-1 */
}

/* Parametrų eilutė */
.flat-card .d-flex.gap-3 {
  margin-top: 10px !important; /* 🔥 permuša mt-2 */
}


.flat-card p,
.flat-card span {
  color: #555;
}

.flat-card svg {
  margin-right: 4px;
  vertical-align: -2px;
  opacity: 0.7;
}

/* Parametrų eilutė (m² / kambariai / apdaila) */
.flat-card .d-flex.gap-3 {
  margin-top: 6px; /* 🔼 daugiau oro nuo adreso */
}


/* === Susisiekite su mumis sekcija === */
.contact-section {
  background-color: #ffffff;
}

.contact-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* === Kontaktų kortelė === */
.contact-box {
  width: 280px;
  margin: 0 auto;

  border: 1px solid #e6e6e6;
  border-radius: 16px;
  background-color: #ffffff;

  overflow: hidden; /* 🔑 hover fonui per visą plotį */
}

/* Viena eilutė */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;   
  gap: 8px;
  width: 100%;

  padding: 15px 0;                 /* 🔥 +5px viršuj/apačioj */
  box-sizing: border-box;

  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

/* Hover – toks pats tonas */
.contact-item:hover {
  background-color: #f3f2ff;
}

/* Ikona */
.contact-icon {
  width: 22px;
  height: 22px;
  opacity: 0.75;
  flex-shrink: 0;
}

/* Tekstas */
.contact-item a {
  color: #1e2239;
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  line-height: 1;
}

/* Linija tarp eilučių */
.contact-item + .contact-item {
  border-top: 1px solid #e6e6e6;
}




/* === Ką mes siūlome sekcija === */
.offer-section {
  background-color: #fff;
}

.offer-card {
  background-color: #FAF9FC;
  height: 320px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.offer-card:hover .offer-content {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.97);
  pointer-events: none;
}

.offer-card:hover .offer-text {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.offer-card:hover .offer-toggle svg {
  transform: rotate(180deg);
  stroke: #272c49;
}

/* Rodyklė */
.offer-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f2f1ff;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.offer-toggle:hover {
  background: #d0cefd;
}

.offer-toggle:hover {
  background: #dfdefd;
}

.offer-toggle svg {
  transition: transform 0.3s ease;
}

.offer-card.active .offer-toggle svg {
  transform: rotate(180deg);
  stroke: #272c49;
}

/* Turinys (ikona + pavadinimas) */
.offer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.offer-main-icon {
  width: 60px;
  height: 60px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.offer-card:hover .offer-main-icon {
  opacity: 1;
}

/* Tekstas, kai atsidaro */
.offer-text {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 20px));
  transition: all 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  pointer-events: none;
}

/* Aktyvi kortelė */
.offer-card.active .offer-content {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.offer-card.active .offer-text {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.offer-card.active .offer-toggle svg {
  transform: rotate(180deg);
  stroke: #272c49;
}


/* === FOOTER === */
.footer {
  background-color: #1e2239;
  color: #fff;
  padding: 80px 0 40px;
  font-size: 14px;
  
}


.footer-title {
  font-size: 13px;
  /* font-weight: 600; */
  color: #c9c9d9;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.footer-links li a {
  display: block;
  color: #bfc3d9;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 5px;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #c9c9d9;
}

.footer-social li a {
  display: block;
  color: #bfc3d9;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 5px;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-social li a:hover {
  color: #c9c9d9;
}

.footer-arrow {
  background: #c9c9d9;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1e2239;
  transition: all 0.3s ease;
}

.footer-arrow:hover {
  background: #c6c4f9;
  transform: translateY(-3px);
}
.footer-arrow img{
  width: 16px;
  height: 16px;
  display: block;
  transform: translateX(1px); 

}

.footer-arrow img path{
  vector-effect: non-scaling-stroke;
}

.footer-contacts {
  color: #c9c9d9;
}

.footer-label {
  color: #a5a8c4;
  font-size: 12px;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-contact {
  color: #c9c9d9;
  font-size: 14px;
  text-decoration: none;
}

.footer-contact:hover {
  color: #c6c4f9;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2); 
}


.contact-section .row {
  margin-top: 20px;
}

/* Papildomas tekstas butų puslapyje */
.section-subtext {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .contact-box {
    width: 80%;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 28px;
    text-align: center;
  }
}

/* Statistika */
.stats-label {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .stats {
    text-align: left;
  }

  .stats-icon {
    width: 40px;
    margin-right: 12px;
  }

  .stats-number {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .btn-contact {
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .btn-contact svg {
    width: 14px;
    height: 14px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-title {
    font-size: 34px;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
  .btn-primary-dark {
    display: block;
    margin: 0 auto;
  }
  .about-title .text-highlight {
    margin-left: 40px;
  }
}

/* Mobilus */
@media (max-width: 992px) {
  .menu-content {
    grid-template-columns: 1fr;
    height: auto;
    justify-items: center;
    text-align: center;
  }
  .menu-left,
  .menu-right {
    align-items: center;
  }
  .menu-links a {
    font-size: 26px;
  }
}

@media (max-width: 1700px) {
  .menu-content {
    transform: scale(0.95);
  }
}

@media (max-width: 1500px) {
  .menu-content {
    transform: scale(0.9);
  }
}

@media (max-width: 1300px) {
  .menu-content {
    transform: scale(0.85);
  }
}

@media (max-width: 1100px) {
  .menu-content {
    transform: scale(0.8);
  }
}

@media (max-width: 900px) {
  .menu-content {
    transform: scale(0.75);
  }
}

/* ==== BUTO PUSLAPIS ==== */
.apartment-page {
  background-color: #f7f7fb;
}

/* Mygtukas "Atgal į butus" kaip pille */
.back-link {
  font-size: 14px;
  color: #272c49;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #f7f7fb;
  border: 1px solid #e1e1f2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-link:hover {
  background-color: #f0f0ff;
  text-decoration: none;
}

.back-link-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e1e1f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-link svg {
  stroke: #272c49;
}

.back-link:hover {
  text-decoration: underline;
}

/* Pavadinimas nebūtų paryškintas ir šiek tiek paslinktas į dešinę */
.apartment-title {
  font-size: 22px;
  font-weight: 300;
  color: #1e2239;
  margin-left: 10px;
}

/* Galerija */
.gallery-main {
  aspect-ratio: 16/9;
  width: 82%;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

@media (max-width: 768px) {
  .gallery-main {
    width: 100%;
  }
}

.main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-main {
    height: 360px;
  }
}

/* vietoj outline ant active — stabilus rėmelis be “mirksėjimo” */
.gallery-thumbs .gallery-thumb{
  position: relative;
  border-radius: 12px;
}

/* rezervuojam vietą rėmeliui visada (kad nešokinėtų) */
.gallery-thumbs .gallery-thumb::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid transparent;   /* visada yra, tik permatomas */
  pointer-events: none;
  transition: border-color .15s ease;
}

/* aktyvus – nusidažo */
.gallery-thumbs .gallery-thumb.active::after{
  border-color: #272c49;
}

/* (nebūtina) jei buvo palikta outline kažkur – nuimam */
.gallery-thumb.active{
  outline: none !important;
}


.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  cursor: pointer;
}

.gallery-arrow-prev {
  left: 20px;
}

.gallery-arrow-next {
  right: 20px;
}

.gallery-thumbs .gallery-thumb {
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  position: relative;
}

.gallery-thumb img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.gallery-thumb.active {
  outline: 2px solid #272c49;
  outline-offset: 0;
}

.gallery-thumb-more .thumb-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 300;
  font-size: 16px;
}

/* Info kortelė */
.apartment-info-card {
  position: sticky;
  top: 110px;
  margin-top: -55px;
  margin-bottom: 40px;
  height: fit-content;
}

/* Info lentelės tarpai */
.apartment-info-card p,
.apartment-info-card li {
  line-height: 1.7;
  margin-bottom: 10px;
}


.apartment-info-card .price {
  font-size: 32px;
  color: #1e2239;
  font-weight: 300;
}

.apartment-info-card .info-main li {
  font-size: 14px;
  color: #444;
}

.apartment-info-card .info-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
  opacity: 0.85;
}


.apartment-info-card .info-details .label {
  display: inline-block;
  width: 180px;
  color: #777;
}

/* Vienodas tarpas visoms info eilutėms */
.apartment-info-card .info-main li,
.apartment-info-card .info-details p {
  margin-bottom: 15px;
}

/* Aprašymas */
.apartment-description .description-text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.apartment-description .desc-title {
  font-size: 20px;
  font-weight: 300;
  color: #1e2239;
  margin-bottom: 8px;
}

.description-block p {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.65;
}

/* FULLSCREEN LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-arrow-prev {
  left: 40px;
}

.lightbox-arrow-next {
  right: 40px;
}

@media (max-width: 768px) {
  .gallery-thumb img {
    width: 80px;
    height: 60px;
  }

  .apartment-info-card .info-details .label {
    width: 140px;
  }

  .lightbox-arrow-prev {
    left: 16px;
  }
  .lightbox-arrow-next {
    right: 16px;
  }
}

.apartment-address span {
  font-size: 15px;
  color: #1e2239;
}

.apartment-address .info-icon {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

/* Desktop sticky */
@media (min-width: 992px) {
  .apartment-info-card.d-lg-block {
    position: sticky;
    top: 110px;
    height: fit-content;
  }
}

/* Mobile – be sticky */
@media (max-width: 991.98px) {
  .apartment-info-card {
    position: static;
    margin-top: 0;
  }
}

/* Vieta žemėlapyje */
.map-section {
  margin-top: 16px;
}

.map-card {
  width: 82%;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #e5edf7;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.map-card iframe {
  width: 100%;
  border: 0;
  min-height: 360px;
}

.map-route-btn {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #1e2239;
  color: #ffffff;
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.map-route-btn:hover {
  text-decoration: none;
  background: #242947;
}

@media (max-width: 992px) {
  .menu-left-bottom {
    margin-top: 30px !important;
    text-align: center !important;
  }

  .menu-left-bottom p {
    margin-top: 10px;
    line-height: 1.6;
  }
}

/* =========================================================
   VIENODI TARPAI: btn-about-text -> title (30px)
                   title -> turinys (60px)
   ========================================================= */
.section-kicker {
  margin-bottom: 30px !important;
}

.section-title {
  margin-bottom: 60px !important;
}

/* panaikinam tavo ankstesnius "80px" ant btn-about-text (kad nelaužytų vienodumo) */
.flats-section .btn-about-text,
.contact-section .btn-about-text {
  margin-top: 0 !important;
}



/* =========================================
   INVESTUOTOJAMS – PLATESNĖS KORTELĖS (DESKTOP)
   ========================================= */

/* Centruojam */
.offer-section:has(.btn-about-text) .row {
  justify-content: center;
}

/* Desktop: platesnės kortelės */
@media (min-width: 992px) {
  .offer-section:has(.btn-about-text) .col-lg-3 {
    flex: 0 0 auto;
    width: 380px; /* buvo ~260px → dabar vizualiai platesnės */
      justify-content: center;
  }

  /* Didesnis tarpas tarp kortelių */
  .offer-section:has(.btn-about-text) .row {
    column-gap: 48px; /* reguliuok: 32 / 48 / 64 */
  }
}

/* Tablet */
@media (max-width: 991px) {
  .offer-section:has(.btn-about-text) .col-sm-6 {
    width: 320px;
  }
}

/* Mobile – nieko nekeičiam */
@media (max-width: 575px) {
  .offer-section:has(.btn-about-text) .col-sm-6 {
    width: 100%;
  }
}

@media (min-width: 992px) {
  /* Nuimam Bootstrap row neigiamus marginus, kurie stumia į kairę */
  .offer-section:has(.btn-about-text) .row {
    justify-content: center;
    column-gap: 48px;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Kad tarpai tarp col'ų būtų valdomi per gap, o ne per padding */
  .offer-section:has(.btn-about-text) .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .offer-section:has(.btn-about-text) .col-lg-3 {
    flex: 0 0 auto;
    width: 380px;
  }
}

/* =========================
   MASTERPLAN (interaktyvus)
   ========================= */

   

.masterplan-wrap {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #000;
}

.masterplan-img {
  width: 100%;
  height: auto;
  display: block;
}

.masterplan-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
    opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none; /* kad nehoverintų kol neužkrauta */
}
.masterplan-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* kai užsikrauna – parodom */
.masterplan-wrap.is-ready .masterplan-svg{
  opacity: 1;
  pointer-events: auto;
}
/* --- FREE UNIT (sklypas be namo) --- */
.unit .plot-fill {
  vector-effect: non-scaling-stroke;
  stroke-width: 3;
  fill: rgba(0,0,0,0);
  stroke: rgba(0,0,0,0);
  pointer-events: none; /* hover/click gaudo hit polygon */
}

.unit[data-status="free"] .plot-hit {
  fill: rgba(0,0,0,0); /* nematomas */
  stroke: rgba(0,0,0,0);
  pointer-events: all;
  cursor: pointer;
}

/* hover -> žalia tik sklypui (per mask) */
.unit[data-status="free"]:hover .plot-fill,
.unit[data-status="free"].is-active .plot-fill {
  fill: rgba(212, 254, 135, 0.2);
  stroke: #CAFFA9;
}

/* --- RESERVED / SOLD (kaip buvo) --- */
.plot {
  vector-effect: non-scaling-stroke;
  stroke-width: 3;
}

.plot[data-status="reserved"] {
  fill: rgba(219, 166, 20, 0.5);
  pointer-events: none;
}

.plot[data-status="sold"] {
  fill: rgba(219, 73, 20, 0.5);
  pointer-events: none;
}

/* Popup */
.plot-popup {
  position: absolute;
  z-index: 5;
  width: 310px;
  max-width: 80vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,0.20);
  padding: 18px;
  transform: translate(-50%, -110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  
}

.plot-popup.is-open {
  opacity: 1;
  pointer-events: none;
}

.plot-popup-title {
  font-size: 20px;
  /* font-weight: 600; */
  color: #1e2239;
  text-align: center;
  margin-bottom: 10px;
}

.plot-popup-status {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.plot-popup-status .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  background: #60DB14;
}

.plot-popup-price {
  text-align: center;
  font-size: 22px;
  /* font-weight: 600; */
  color: #1e2239;
  margin-bottom: 14px;
}

.plot-popup-meta {
  display: flex;
  gap: 14px;
  justify-content: center;
  color: #666;
  font-size: 13px;
}

/* =========================
   UNIT LIST (kortelės kaip SS)
   ========================= */

.units-list-section {
  background: #f7f7fb;
}

/* unitai siauresni ir centruoti */
.units-list {
  display: flex;
  flex-direction: column;
  gap: 18px;

  max-width: 1120px;   /* reguliuok: 1040 / 1080 / 1120 */
  margin: 0 auto;
}

/* visa kortelė kaip linkas */
.unit-row {
  display: grid;
  grid-template-columns: 420px 1fr 110px; /* nuotrauka didesnė */
  align-items: center;
  gap: 28px;

  background: #ffffff;
  border-radius: 24px;
  overflow: hidden; /* kad nuotrauka su kairiniais kampais tvarkingai "įsėstų" */
  padding: 0;       /* padding perkeliame į turinį, kad nuotrauka būtų "priklijuota" */

  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
}

.unit-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}

/* kairė nuotrauka */
.unit-thumb {
  position: relative;
  overflow: hidden;

  height: 220px;                 /* buvo 160px -> aukštesnė */
  border-radius: 24px 0 0 24px;  /* tik kairė apvali, dešinė stati */
}

/* jei kortelės radius 24px, tada ir čia 24px kad sutaptų */
.unit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.08); /* priartinam jei reikia */
  transform-origin: center;
}

/* dešinės pusės turinys */
.unit-body {
  min-width: 0;
  padding: 28px 0;  /* vertikalus padding turiniui */
}

/* status pill */
.unit-badge {
  position: absolute;
  top: 14px;
  left: 14px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: #1e2239;
}

.unit-badge .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #60DB14;
}

/* kaina */
.unit-price {
  font-size: 24px;
  /* font-weight: 600; */
  color: #1e2239;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.unit-price span {
  font-weight: 300;
  color: #7b7f92;
  font-size: 20px;
}

/* location row */
.unit-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b7f92;
  font-size: 13px;
  margin-bottom: 40px;
}

.unit-ico {
  width: 16px;
  height: 16px;
  opacity: 0.85;
  flex-shrink: 0;
}

/* meta row */
.unit-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #1e2239;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #7b7f92;
}

/* rodyklės kolona (su padding kad atrodytų kaip SS) */
.unit-arrow {
  display: flex;
  align-items: center;
    justify-content: flex-start; /* vietoj center */
  padding-left: 0px;          /* reguliuok: 8–24px */
  
}

/* rodyklė – BE circle */
.unit-arrow span {
  width: 62px;
  height: 2px;
  background: rgba(30,34,57,0.35);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}

.unit-arrow span::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(30,34,57,0.35);
  border-top: 2px solid rgba(30,34,57,0.35);
}

.unit-row:hover .unit-arrow span {
  transform: translateX(4px);
  background: rgba(30,34,57,0.45);
}

.unit-row:hover .unit-arrow span::after {
  border-right-color: rgba(30,34,57,0.45);
  border-top-color: rgba(30,34,57,0.45);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .units-list {
    max-width: 100%;
  }

  .unit-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    overflow: visible; /* mobiliai nebereikia "klijuoti" */
  }

  .unit-thumb {
    height: 210px;
    border-radius: 18px; /* mobiliai vėl apvali visa */
  }

  .unit-thumb img {
    transform: scale(1.05);
  }

  .unit-body {
    padding: 0;
  }

  .unit-arrow {
    display: none;
  }

  .unit-price {
    font-size: 22px;
  }

  .unit-price span {
    font-size: 18px;
  }

  .unit-meta {
    gap: 18px;
  }
}

/* =========================
   PROJECT GALLERY
   ========================= */

.gallery-section {
  background: #ffffff;
}

/* GRID */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* IMAGE */
.gallery-item {
  width: 100%;
  aspect-ratio: 1.577 / 1;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================
   LIGHTBOX
   ========================= */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.gallery-lightbox.active {
  display: flex;
}

.gl-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* CLOSE */
.gl-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 42px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ARROWS */
.gl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: background .2s ease;
}

.gl-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.gl-prev { left: 40px; }
.gl-next { right: 40px; }

@media (max-width: 768px) {
  .gl-prev { left: 16px; }
  .gl-next { right: 16px; }
}

/* =========================
   PROJECT FEATURES (4 eilutės kaip SS)
   ========================= */

.project-features-section {
  background: #fff;
  padding: 60px 0 20px;

}

.project-features {
  border-top: none;
  max-width: 1100px;   /* arba 1040 / 1080 – pagal akis */
  margin: 0 auto;      /* 🔑 CENTRAVIMAS */
  
}

.feature-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;            /* buvo 90px */
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(30,34,57,0.10);
}
.feature-row:last-child {
  border-bottom: none;
}

.feature-title {
  font-size: 28px;
  font-weight: 300;
  color: #1e2239;
  letter-spacing: 0.2px;
}

.feature-text {
  font-size: 13px;
  line-height: 1.75;
  color: #7b7f92;
  max-width: none;      /* buvo 520px */
}


/* =========================
   MAP
   ========================= */

.project-map-section {
  /* background: #fff; */
  padding: 10px 0 70px;
  
}

.project-map-card {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #e5edf7;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.project-map-card iframe {
  width: 100%;
  height: 580px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .feature-title {
    font-size: 22px;
  }

  .feature-text {
    max-width: 100%;
  }

  .project-map-card iframe {
    height: 340px;
  }
}


/* =========================
   PROGRESS (statybų eigos galerija)
   ========================= */

.progress-section {
  margin-top: 26px;
}

.progress-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

/* LEFT */
.progress-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #e9e9f1;
  min-height: 360px;
}

.progress-main-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.progress-next {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #1e2239;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.progress-next:hover {
  background: rgba(255,255,255,0.95);
}

/* RIGHT */
.progress-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* viską stumiam žemyn */
}

.progress-side-top {
  margin-bottom: 16px;
}

.progress-side-title {
  font-size: 14px;
  font-weight: 300;
  color: #1e2239;
  margin-bottom: 8px;
}



.progress-side-text {
  font-size: 12px;
  line-height: 1.65;
  color: #7b7f92;
  max-width: 380px;
}

/* thumbs grid */
.progress-thumbs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 420px;
}

.progress-thumb {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  outline: 0;
}

.progress-thumb img {
  width: 100%;
  height: 74px;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}

.progress-thumb.is-active{
  outline: none;
}
.progress-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:14px;
  border:1px solid transparent;
  pointer-events:none;
  transition:border-color .15s ease;
}
.progress-thumb.is-active::after{
  border-color:#272c49;
}

.progress-thumb-more .progress-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,34,57,0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  /* font-weight: 600; */
}

/* Lightbox */
.progress-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.progress-lightbox.is-open {
  display: flex;
}

.progress-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.50);
}

.progress-lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.progress-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.progress-lightbox-prev { left: 22px; }
.progress-lightbox-next { right: 22px; }

/* Responsive */
@media (max-width: 992px) {
  .progress-grid {
    grid-template-columns: 1fr;
  }

  .progress-thumbs {
    max-width: 100%;
  }

  .progress-side-text {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .progress-thumb img {
    height: 64px;
  }
}
/* Aruodas mygtukas (kaip ss) */
.aruodas-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 65%;
  padding: 12px 14px;
  border-radius: 999px;
  background: #272c49;              /* tamsiai mėlynas */
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  font-size: 12px;
  line-height: 1;
  transition: transform .12s ease, opacity .12s ease;
}

.aruodas-btn:hover{
  opacity: .92;
  transform: translateY(-1px);
  color: #fff;
}

.aruodas-btn__icon{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.aruodas-btn__icon img{
  width: 16px;
  height: 16px;
  display: block;
}

.aruodas-btn__text{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.about-hero{
  border-radius: 28px;
  overflow: hidden;
  background: #f3f4f6;
}

.about-hero-img{
  width: 100%;
  height: clamp(260px, 42vw, 420px);
  object-fit: cover;
  display: block;
}

/* Tik šitai sekcijai: stabilus 4-col grid be persidengimų */
.offer-section--tight .row{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;                 /* didesnis tarpas, kad neliptų */
  margin: 0 !important;      /* nuimam bootstrap row -margin */
  padding: 0 !important;
  width: 100%;
  isolation: isolate;        /* atskiria stacking context */
}

.offer-section--tight .row > [class*="col-"]{
  padding: 0 !important;     /* nuimam bootstrap gutter padding */
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  position: relative;
  z-index: 0;
}

.offer-section--tight .offer-card{
  width: 100% !important;
  min-width: 0 !important;
  min-height: 200px;
  position: relative;
  z-index: 1;
  overflow: hidden;          /* jei viduje kažkas "išlenda" */
}

/* Responsyvas */
@media (max-width: 991.98px){
  .offer-section--tight .row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px){
  .offer-section--tight .row{ grid-template-columns: 1fr; }
}
.zigzag-section{
  background: #f7f8fc; /* švelnus fonas kaip ss */
}

.zigzag-title{
  font-size: 49px;
  font-weight: 100; 
  letter-spacing: -0.02em;
  color: #272c49;
  margin-bottom: 14px;
}
.zigzag-gap {
  margin-bottom: 128px;
}

@media (max-width: 768px) {
  .zigzag-gap {
    margin-bottom: 64px;
  }
}


.zigzag-text{
  color: #6b7280;
  line-height: 1.7;
  max-width: 520px;
}

.zigzag-media{
  border-radius: 18px;
  overflow: hidden;
  background: #e9ecf5;
  aspect-ratio: 1 / 0.7;   /* 👈 KVADRATAS */
}

.zigzag-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Kontaktų sekcija – zigzag fonas */
.contact-section--zigzag{
  background: #f7f8fc; /* tas pats kaip zigzag-section */
}
/* Tik „tarpas“ prieš footerį, ne pats footer */
.footer--with-gap{
  position: relative;
}
@media (max-width: 768px) {

  /* paslepiam viršutinę footer dalį */
  .footer .row {
    display: none;
  }

  /* paslepiam kontaktus */
  .footer-contacts {
    display: none;
  }

  /* rodyklė lieka viena */
  .footer-bottom {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

}
/* Šita dalis yra buvęs mt-5 */
.footer--with-gap::before{
  content: "";
  display: block;
  height: 3rem;           /* tas pats kaip mt-5 */
  background: #f7f8fc;    /* zigzag spalva */
}
/* =========================
   GLOBAL SECTION SPACING
   ========================= */

section {
  padding-top: 90px;
  padding-bottom: 90px;
}
section.py-5 {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}


@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* =========================
   PROGRESS LIGHTBOX THUMBS
   ========================= */

.progress-lightbox-inner{
  width: min(90vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.progress-lightbox-img{
  width: 100%;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain; /* lightbox'e dažniausiai gražiau contain */
}

/* Thumbs juosta per visą didelės nuotraukos plotį */
.progress-lb-thumbs{
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;          /* jei mažai – centruojam */
  overflow-x: auto;                 /* jei daug – scroll */
  padding: 8px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* kai daug thumbs – persijungiam į "start" (uždės JS klasę) */
.progress-lb-thumbs.is-scrollable{
  justify-content: flex-start;
}

/* paslepiam scrollbar (daugumoje naršyklių) */
.progress-lb-thumbs::-webkit-scrollbar{ height: 8px; }
.progress-lb-thumbs::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}
.progress-lb-thumbs{ scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.18) transparent; }

.progress-lb-thumb{
  flex: 0 0 auto;
  width: 110px;
  height: 74px;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  position: relative;
  scroll-snap-align: center;
  outline: none;
}

.progress-lb-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

/* Active rėmelis (stabilus, nešokinėja) */
.progress-lb-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  border:2px solid transparent;
  pointer-events:none;
  transition:border-color .15s ease;
}
.progress-lb-thumb.is-active::after{
  border-color: rgba(255,255,255,0.95);
}

/* Mobile mažesnės */
@media (max-width: 576px){
  .progress-lb-thumb{ width: 86px; height: 58px; }
}

/* =========================
   PROGRESS MAIN – ARROWS
   ========================= */

.progress-main{
  position: relative;
}

/* pernaudojam gallery-arrow stilių */
.progress-main .progress-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* kairė / dešinė */
.progress-main .gallery-arrow-prev{
  left: 14px;
}

.progress-main .gallery-arrow-next{
  right: 14px;
}

/* subtilus hover */
.progress-main .gallery-arrow{
  background: rgba(255,255,255,0.9);
}

.progress-main .gallery-arrow:hover{
  background: rgba(255,255,255,1);
}
/* ===== Lightbox arrows ONLY (nepaveikia puslapio rodyklių) ===== */
#lightbox .lb-arrow,
#progressLightbox .lb-arrow,
#galleryLightbox .lb-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;

  width: 90px;
  height: 160px;          /* aukštesnis bg */
  border-radius: 25px;    /* ne per daug apvalinta */

  border: 0;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  line-height: 0;
  cursor: pointer;

  transition: background .15s ease, transform .15s ease;
}

#lightbox .lb-arrow:hover,
#progressLightbox .lb-arrow:hover,
#galleryLightbox .lb-arrow:hover{
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.02);
}

#lightbox .lb-arrow:active,
#progressLightbox .lb-arrow:active,
#galleryLightbox .lb-arrow:active{
  transform: translateY(-50%) scale(0.98);
}

#lightbox .lb-arrow svg,
#progressLightbox .lb-arrow svg,
#galleryLightbox .lb-arrow svg{
  display: block;
  stroke: #fff;
}
@media (max-width: 768px) {

  #lightbox .lb-arrow,
  #progressLightbox .lb-arrow,
  #galleryLightbox .lb-arrow{

    width: 44px;
    height: 44px;
    border-radius: 50%;

    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    box-shadow: none;
  }

  #lightbox .lb-arrow svg,
  #progressLightbox .lb-arrow svg,
  #galleryLightbox .lb-arrow svg{
    width: 24px;
    height: 24px;
  }

  #lightbox .lb-arrow:hover,
  #progressLightbox .lb-arrow:hover,
  #galleryLightbox .lb-arrow:hover{
    background: transparent;
    transform: translateY(-50%);
  }
}
/* FLAT CARD shadow = 1:1 kaip UNIT ROW */
.flat-card{
  box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
  transition: box-shadow 0.2s ease !important;
}

.flat-card:hover{
  box-shadow: 0 18px 44px rgba(0,0,0,0.08) !important;
}
.flat-card .p-3{
  padding-top: 26px !important;
}

.flat-card h5{
  margin-bottom: 24px !important;
}
.contact-photo{
  margin-bottom: 32px !important; /* buvo ~16px */
}
.lightbox,
.gallery-lightbox,
.progress-lightbox{
  -webkit-user-select: none;
  user-select: none;
}

.lightbox img,
.gallery-lightbox img,
.progress-lightbox img{
  -webkit-user-drag: none;
  user-drag: none;
}
/* FORMA PAGE */
.form-page{
  min-height: 60vh;
}

.form-hero{
  padding: 72px 0 64px;
}

.form-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.form-title{
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(28px, 4vw, 54px);
  margin-bottom: 34px;
  color: #1f2a44;
}

.form-card{
  width: 100%;
  max-width: 420px;
}

.form-fields{
  display: grid;
  gap: 14px;
}

/* Bendras input/select vaizdas */
.form-pill{
  border-radius: 999px !important;
  padding: 12px 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  box-shadow: none !important;
  outline: none !important;
  color: #1f2a44;
}

/* Placeholder (input) */
.form-pill::placeholder{
  color: #b8c2d6;
  opacity: 1;
}

.form-pill::-webkit-input-placeholder{
  color: #b8c2d6;
}

/* Focus – švelnus, be mėlynų default outline */
.form-pill:focus{
  background: #fff;
  border-color: rgba(31, 42, 68, .28);
  box-shadow: 0 0 0 4px rgba(31, 42, 68, .06) !important;
  outline: none !important;
}

/* SELECT – modernus */
.form-select.form-pill{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 12px 44px 12px 18px; 
  cursor: pointer;

  background-color: rgba(0,0,0,.02);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa4bf' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

/* pilkas tik uždarytam select'ui, kai value="" (invalid) */
.form-select:required:invalid{
  color: #b8c2d6 !important;
}

/* kai pasirinkta – normalus tekstas */
.form-select:required:valid{
  color: #1f2a44 !important;
}

/* OPTIONAI – visada juodi (kiek leidžia browseris) */
.form-select option{
  color: #1f2a44;
}

/* placeholder option – paliekam pilką, bet jis hidden, tai sąraše dažniausiai nesirodys */
.form-select option[value=""]{
  color: #b8c2d6;
}


/* Checkbox / consent */
.form-consent{
  margin-top: 6px;
  text-align: left;
  font-size: 12px;
  opacity: .9;
}

.form-consent .form-check-input{
  margin-top: 3px;
  box-shadow: none !important;
}

.form-consent .form-check-input:focus{
  box-shadow: none !important;
}

.privacy-link{
  color: inherit;
  text-decoration: none;
}

.privacy-link:hover{
  text-decoration: underline;
}
/* Custom select wrapper */
.eh-select{
  width: 100%;
  position: relative;
}

/* Button looks like your pills */
.eh-select__btn{
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  border-radius: 999px;
  padding: 12px 44px 12px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: none;
}

.eh-select__btn:focus{
  outline: none;
  background: #fff;
  border-color: rgba(31, 42, 68, .28);
  box-shadow: 0 0 0 4px rgba(31, 42, 68, .06);
}

.eh-select__label{
  color: #1f2a44;
}

.eh-select__label.is-placeholder{
  color: #b8c2d6;
}

/* Chevron */
.eh-select__chev{
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa4bf' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Dropdown menu */
.eh-select__menu{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  display: none;
  z-index: 20;
}

.eh-select.is-open .eh-select__menu{
  display: block;
}

.eh-select__opt{
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: #1f2a44;
  font-weight: 500;
}

.eh-select__opt:hover{
  background: rgba(31, 42, 68, .06);
}
.eh-select__btn{
  width: 100%;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  border-radius: 999px;
  padding: 12px 18px;
  text-align: left;

  display: flex;
  align-items: center;
  justify-content: space-between; /* <- svarbiausia */
  gap: 12px;                     /* <- tarpas tarp teksto ir rodyklės */
  cursor: pointer;

  box-shadow: none;
}

/* kad tekstas užimtų vietą ir neįstumtų rodyklės */
.eh-select__label{
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* rodyklė fiksuoto pločio, visada dešinėje */
.eh-select__chev{
  flex: 0 0 auto;
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa4bf' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.page-forma #susisiekti{
  display: none !important;
}
/* PRIVATUMAS PAGE */
.page-privacy{
  background: #fbfbfd; /* kaip ss – labai šviesus */
}

.privacy-hero{
  padding: 90px 0 80px; /* dideli tarpai kaip ss */
}

/* Layout kaip screenshot: title viršuje kairėje, turinys žemiau, su dideliu oro kiekiu */
.privacy-grid{
  max-width: 1080px; /* panašus plotis kaip ss */
}

.privacy-title{
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(40px, 5vw, 64px);
  color: #1f2a44;
  margin: 0 0 44px 0;
}

.privacy-content{
  max-width: 920px;
}

/* H2 kaip ss – ne per bold, daug tarpo */
.privacy-h2{
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1f2a44;
  font-size: 22px;
  margin: 0 0 14px 0;
}

.privacy-h2--big{
  font-size: 26px;
  margin-top: 56px;   /* didelis tarpas prieš šitą bloką */
  margin-bottom: 14px;
}

/* Tekstas – mažesnis, švelnus, tankus kaip ss */
.privacy-text{
  font-size: 12px;
  line-height: 1.7;
  color: rgba(31, 42, 68, .70);
  margin: 0 0 16px 0;
  max-width: 860px;
}

/* Dideli tarpai tarp sekcijų kaip screenshot */
.privacy-h2 + .privacy-text{
  margin-bottom: 22px;
}

.privacy-list{
  margin: 8px 0 0 0;
  padding-left: 18px;
  max-width: 860px;
  color: rgba(31, 42, 68, .70);
  font-size: 12px;
  line-height: 1.8;
}

.privacy-list li{
  margin-bottom: 10px;
}

/* Responsive: kad ant mob nebūtų per dideli tarpai */
@media (max-width: 576px){
  .privacy-hero{ padding: 64px 0 56px; }
  .privacy-title{ margin-bottom: 28px; }
  .privacy-h2--big{ margin-top: 36px; }
}
/* =========================
   INVESTUOTOJAMS – 2 BANNERIAI (kaip screenshot)
   ========================= */

.offer-section.offer-banners .offer-banners-list{
  display: grid;
  gap: 60px; /* 👈 tikslus tarpas tarp pasiūlymų */
}

/* pats banneris */
.offer-banner{
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 210px;

  box-shadow: 0 18px 44px rgba(0,0,0,0.14);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}

.offer-banner:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

/* paveikslas per visą */
.offer-banner__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* tamsus overlay kairėje (kaip ss) */
.offer-banner__overlay{
  position: absolute;
  inset: 0;
}

/* turinys */
.offer-banner__content{
  position: relative;
  z-index: 2;

  padding: 50px 34px 32px 50px; 
  /* top 60px (buvo 34)
     left 60px (buvo 34)
     = ~1.5x daugiau */

  max-width: 460px;
}

.offer-banner__pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 162px;
  height: 42px;

  padding: 7px 10px; /* vertikalus 7, horizontalus 10 */

  border-radius: 34px;

  background: rgba(255,255,255,0.90);
  color: #1e2239;

  font-size: 13px;
  font-weight: 400;

  box-shadow: 0 10px 22px rgba(0,0,0,0.10);

  margin-bottom: 102px; 
}



/* title */
.offer-banner__title{
  margin: 0 0 30px 0; /* 🔥 tikslus tarpas tarp title ir text */
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}


/* text */
.offer-banner__text{
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px){
  .offer-banner{
    min-height: 200px;
  }

  .offer-banner__content{
    padding: 26px 22px 22px;
    max-width: 100%;
  }

  .offer-banner__title{
    font-size: 20px;
  }
}
@media (min-width: 992px){
  .offer-banner{
    min-height: 407px; /* buvo ~210px -> x1.5 */
  }
}

.offer-banners-cta{
  margin-top: 60px;
}
.mobile-plot-panel{
  display: none;
}
/* =========================================
   MASTERPLAN MOBILE – FINAL FIX
   ========================================= */

@media (max-width: 768px){

  .masterplan-section{
    padding: 0 !important;
    background: #f5f5f8;
  }

 .masterplan-wrap{
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  background: #000;
  margin-bottom: 0 !important;
}

.masterplan-img{
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.masterplan-svg{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

  .plot-popup{
    display: none !important;
  }

  .unit[data-status="free"]:hover .plot-fill{
    fill: rgba(0,0,0,0) !important;
    stroke: rgba(0,0,0,0) !important;
  }

  .unit[data-status="free"].is-active .plot-fill{
    fill: rgba(212,254,135,0.28) !important;
    stroke: #d4fe87 !important;
    stroke-width: 1 !important;
  }

  .mobile-plot-panel{
    display: none;
    position: relative !important;
    width: 100% !important;
    clear: both;
    z-index: 2;

    background: #ffffff;
    padding: 22px 26px 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  }

  .mobile-plot-panel.is-open{
    display: block !important;
  }

  .mobile-plot-close{
    position: absolute;
    top: -17px;
    right: 21px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: #e9e9ea;
    color: #5f6368;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
  }

  .mobile-plot-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 18px;
  }

  .mobile-plot-left{
    min-width: 0;
  }

  .mobile-plot-left h3{
    margin: 0 0 18px;

    font-size: 19px;
    line-height: 1.15;
    font-weight: 600;

    color: #1e2239;
  }

  .mobile-plot-price{
    margin: 0 0 20px;

    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;

    color: #1e2239;
  }

  .mobile-plot-meta{
    display: grid;
    grid-template-columns: 16px max-content 16px max-content;
    align-items: center;
    column-gap: 8px;

    color: #6f7385;
    font-size: 12px;
    line-height: 1;

    white-space: nowrap;
  }

  .mobile-plot-meta .unit-ico{
    width: 16px;
    height: 16px;
    margin: 0 !important;
    opacity: .85;
    flex-shrink: 0;
  }

  .mobile-plot-middle,
  .mobile-plot-letter{
    display: none !important;
  }

  .mobile-plot-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;

    min-width: 126px;
    padding-top: 6px;
  }

  .mobile-plot-status{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;

    color: #6f7385;
    font-size: 13px;
    line-height: 1;
    margin-right: 12px;
    white-space: nowrap;
  }

  .mobile-plot-status .dot{
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .mobile-plot-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 112px;
    height: 38px;

    padding: 0 22px;

    border-radius: 999px;

    background: #272c49;
    color: #ffffff !important;

    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;

    white-space: nowrap;
  }

  .mobile-plot-btn:hover{
    background: #2f3558;
    color: #ffffff !important;
    text-decoration: none;
  }
}