/* ==========================================================================
   Base tweaks
   ========================================================================== */

.progress-wrap {
  bottom: 60px;
}

.page-title.style-4 .content {
  padding: 230px 100px 100px 100px;
}

  .section-process .tabs-hover-wrap {
  margin-bottom:0px;
}

/* ==========================================================================
   header
   ========================================================================== */

  header .site-logo img {
    width:270px;
  }

/* ==========================================================================
   Hero
   ========================================================================== */

#hero .content .info {
  margin-bottom: 30px;
}

#hero .content .desc {
  margin-bottom: 65px;
}

.directSale {
  font-size: 22px;
  font-weight: 900;
  color: var(--Text-secondary);
  display: flex;
  flex-direction: row;
}

.directSale ul {
  display: flex;
  gap: 4px;
}

.directSale .dot-first {
  display: none;
}

#hero .hero-cta .cta-text {
  letter-spacing: 0.07em;
}
#hero .hero-cta i{
  font-size:18px;
  line-height: 1.4;
}

#o-projektu .about-cta, #o-projektu .about-map {
  letter-spacing: 0.07em;
  align-items: center;
}
#o-projektu .about-cta span, #o-projektu .about-map span {
  align-items:center;
}
#o-projektu .about-cta i, #o-projektu .about-map i {
  font-size:18px;
  line-height: 1.25;
}


/* ==========================================================================
   Misc
   ========================================================================== */

.support {
  padding-left: 15px;
  padding-right: 15px;
}

.investor {
  margin-left: 0 !important;
  margin-top: 25px;
  color: rgb(134, 134, 134) !important;
}
.investor .mb-info {
    margin-top: 6px;
  opacity: 0.7;
  font-size: 14px;
}
.unitCol { will-change: transform; }

.card-item {
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
}

.card-item.is-hiding,
.card-item.is-showing {
  opacity: 0;
  transform: scale(.96);
}
.fillters-wrap { position: relative; } /* Isotope expects this */

.unitCol { width: 33.3333%; padding: 0 12px; margin-bottom: 24px; }
@media (max-width: 991.98px) { .unitCol { width: 50%; } }
@media (max-width: 575.98px) { .unitCol { width: 100%; } }

.cta-text-container {
  display:flex;
  gap:8px;
  align-items:center;
}
.contact-cta .tf-btn i {
  font-size: 22px;
}
.contact-cta .tf-btn i.icon-phoneCall, .contact-cta .tf-btn i.icon-whatsapp1, .contact-cta .tf-btn i.icon-viber {
  transform: translateY(1px);
}
.contact-cta .tf-btn i.icon-PhoneCall {
  font-weight: inherit;
  font-size:24px;
}
.contact-cta .icon-whatsapp1 {
  font-size:20px !important;
}

.footer-logo {
  max-width: 340px;
}
.footer-logo img {
  width:340px;
}


/* ==========================================================================
   O projektu
   ========================================================================== */

#o-projektu .number {
  color: var(--Text-secondary-2);
}

#o-projektu ul.list {
  gap: 38px;
}

#o-projektu ul li h5 {
  margin-bottom: 12px;
}

/* Divider bullet in unit cards (hidden by default) */
.bullet-divider {
  opacity: 0.6;
  display: none;
}

#o-projektu .text-body-2 {
  margin-bottom:20px;
}

/* ==========================================================================
   Stats
   ========================================================================== */

   
.section-stats {
  background-color: var(--Bg-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #000; 
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.banner .tf-container {
  display:flex;
  gap: 20px;
  justify-content: space-between;
  align-items:center;
}

/* ==========================================================================
   SOLD apartment state
   ========================================================================== */

.card-item.is-sold .img-style img {
  filter: grayscale(1);
  opacity: 0.65;
}

.card-item.is-sold .content {
  opacity: 0.6;
}

.card-item.is-sold:hover {
  transform: none !important;
}

.card-item.is-sold * {
  cursor: default !important;
}

.card-item.is-sold .overlay-link,
.card-item.is-sold .title {
  pointer-events: none;
}

.card-item.is-sold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

/* ==========================================================================
   Apartmani fixes
   ========================================================================== */

  #stanovi ul.info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--Line);
    gap: 12px 18px;
    flex-wrap: wrap;
  }
  #stanovi .img-style {
    overflow:hidden;
  }
  #stanovi .fillters-wrap {
    gap:30px 0;
  }

  .ft-about {
    max-width:520px;
  }
  footer .footer-bottom p {
    font-size:14px;
    opacity: 0.85;
  }

/* ==========================================================================
   Unit Modal
   ========================================================================== */

.shareBtn {
  color:var(--Text-primary);
  font-size:clamp(28px, 3.2vw, 48px);
  margin-left:auto;
  padding: 10px;
  opacity: 0.75;
  border-radius: 10px;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.shareBtn i {
  font-size: 20px;
}
.shareBtn:hover {
  opacity: 1;
  transform: scale(1.34);
  color: #000;
}

#unitModal .unitModal-content {
  background-color: #f8f7f3;
  color: var(--Text-primary);
  border: 0;
}

#unitModal .unitModal-header {
  border: 0;
  padding: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#unitModal .unitModal-logo {
  height: 32px;
  width: auto;
}

#unitModal .unitModal-close-btn {
  padding: 10px;
  opacity: 0.75;
  border-radius: 10px;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
  margin-left:20px;
}

#unitModal .unitModal-close-btn:hover {
  opacity: 1;
  transform: scale(1.34);
  color: #000;
}

#unitModal .unitModal-body {
  /* padding: 0 26px 28px; */
  overscroll-behavior: contain;
}

#unitModal .unitModal-grid {
  position: relative;
}

/* Typography */
#unitModal h2#modalTitle {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0;
}

#unitModal #modalDescription {
  color: var(--Text-secondary);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 18px;
}

#unitModal .unitModal-meta {
  margin-top: 1.1rem;
  margin-bottom: 2rem;
  opacity: 1;
  gap:8px;
}

#unitModal .unitMetaPill {
  font-size: 14px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--Text-secondary);
  font-weight: 800;
}

#unitModal .unitMetaPill + .unitMetaPill::before {
  content: "•";
  margin: 0 0.55rem;
  opacity: 0.45;
  color: var(--Text-secondary-2);
}

#unitModal .unitModal-desc {
  color: var(--Text-secondary);
  line-height: 1.65;
}

/* #unitModal #modalStatus {
  margin-right: 20px;
} */

/* Status badge */
.unitStatusBadge {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: 10px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.unitStatusBadge--available {
  background-color: #77f3a7;
  color: #000;
}

.unitStatusBadge--reserved {
  background: rgba(227, 162, 58, 0.24);
  border-color: rgba(227, 162, 58, 0.3);
  color: #7a4d00;
}

.unitStatusBadge--sold {
  background-color: #eb4d4d;
  color: #fff;
}

/* Rooms list */
#unitModal #modalRooms {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#unitModal #modalRooms .item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
#unitModal #modalRooms .item:nth-last-of-type(2) {
  border-bottom: none;
}

#unitModal #modalRooms .item > div {
  color: var(--Text-secondary) !important;
  font-weight: 500;
}

#unitModal #modalRooms .item span {
  color: var(--Text-primary) !important;
  font-weight: 700;
}

#unitModal #modalRooms .item:last-child {
  border-bottom: 0;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#unitModal #modalRooms .item:last-child .text-body-default {
  font-size: 16px;
}

/* UKUPNO emphasis */
#unitModal #modalRooms .item:last-child > div,
#unitModal #modalRooms .item:last-child span {
  color: var(--Text-primary) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Alternative room rows */
#unitModal #modalRooms .unitRoomRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 47, 37, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: var(--Text-primary);
  font-weight: 700;
}

#unitModal #modalRooms .unitRoomRow + .unitRoomRow {
  margin-top: 10px;
}

#unitModal #modalRooms .unitRoomRow:nth-child(even) {
  background: rgba(255, 255, 255, 0.82);
}

#unitModal #modalRooms .unitRoomRow > div:first-child {
  color: var(--Text-on-suface-2);
}

#unitModal #modalRooms .unitRoomRow > div:last-child {
  color: var(--Text-primary);
}

#unitModal #modalRooms .unitRoomRow--total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 47, 37, 0.14);
  background: rgba(227, 162, 58, 0.1);
  border-color: rgba(227, 162, 58, 0.22);
  font-weight: 900;
}

/* Utility spacing */
.properties-utility .col-utility .item:not(:last-child) {
  margin-bottom: 0;
}

/* CTA tiles */
#unitModal .unitActionTile {
  height: 114px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
}

#unitModal .unitActionTile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.16);
}

#unitModal .unitActionIcon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 40px;
  line-height: 1;
  color: var(--Text-primary);
  opacity:0.8;
}

#unitModal .unitActionLabel {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--Text-secondary);
}

#unitModal .unitActionTile--primary {
  background: rgba(227, 162, 58, 0.18);
  border-color: rgba(227, 162, 58, 0.34);
}

#unitModal .unitActionTile--primary:hover {
  background: rgba(227, 162, 58, 0.24);
  border-color: rgba(227, 162, 58, 0.46);
}

#unitModal #modalPdfMobile.unitActionTile {
  background: rgba(255, 255, 255, 0.92);
}

#unitModal .unitActionTile:focus-visible {
  outline: 3px solid rgba(227, 162, 58, 0.35);
  outline-offset: 2px;
}

/* Right side image/slider */
#unitModal .unitModal-right {
  padding-left: 0;
}

#unitModal .unitModal-swiper {
  width: 100%;
  overflow: hidden;
}

#unitModal .unitModal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 18px;
}

/* Swiper controls */
#unitModal .swiper-button-prev,
#unitModal .swiper-button-next {
  color: rgba(15, 47, 37, 0.65);
  transition: color 0.15s ease, transform 0.15s ease;
  pointer-events: auto;

}

#unitModal .swiper-button-prev:hover,
#unitModal .swiper-button-next:hover {
  color: rgba(15, 47, 37, 0.9);
  transform: scale(1.05);
}

#unitModal .swiper-button-prev::before,
#unitModal .swiper-button-next::before {
  content: '';
  position: absolute;
  top: -40px;
  bottom: -40px;
  left: -40px;
  right: -40px;
}

#unitModal .swiper-pagination-bullet {
  background: rgba(15, 47, 37, 0.55);
  opacity: 0.22;
}

#unitModal .swiper-pagination-bullet-active {
  opacity: 0.85;
}

/* Bootstrap modal content tweak */
#unitModal .modal-content {
  border-radius: 0 !important;
}

/* Action tiles (desktop/mobile variants) */
#unitModal #modalActionsDesktop .action-tile,
#unitModal #modalActionsMobile .action-tile {
  position: relative;
  height: 120px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

#unitModal #modalActionsMobile {
  margin-top: 28px !important;
}

/* ultra-subtle overlay */
.unitSpin-sliderWrap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  padding: 4px 0;
  background: transparent;
  opacity: 0.25;
  transition: opacity 0.25s ease;
}

/* show slider when user interacts */
.unitSpin-stage:hover .unitSpin-sliderWrap,
.unitSpin-stage:active .unitSpin-sliderWrap {
  opacity: 0.85;
}

/* range reset */
.unitSpin-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  height: 22px;
  cursor: pointer;
}

/* track */
.unitSpin-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
}
.unitSpin-slider::-moz-range-track {
  height: 2px;
  background: rgba(0,0,0,.35);
}

/* thumb */
.unitSpin-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: rgba(0,0,0,.75);
  border-radius: 50%;
  margin-top: -7px;
}
.unitSpin-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: rgba(0,0,0,.75);
  border-radius: 50%;
  border: none;
}

#unitModal .swiper-slide {
  margin-bottom:20px;
}
#unitMOdal .swiper-slide img {
  margin-bottom:20px;
}
.about-map {
  background-color:#fff;
  color:#000; 
  border: 2px solid #000;
}
.about-map i {
  font-weight: 600;
}
.mapModal{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}

.mapModal__header{
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.mapModal__body{
  padding: 12px 16px 16px;
}

/* Make the map tall */
.mapModal__frame{
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;

  /* key part: tall map */
  height: min(72vh, 720px);
}

.mapModal__frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mapModal__map{
  width: 100%;
  height: 100%;
}

.mapModal__frame .leaflet-container{
  width: 100%;
  height: 100%;
  font: inherit;
}

.mapModal__frame .leaflet-popup-content{
    line-height: 1.45;
}

.leaflet-pin-label{
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: #1d1d1d;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.leaflet-pin-label:before{
    display: none;
}

.mapModal__frame .leaflet-control-attribution{
    font-size: 10px;
    line-height: 1.2;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.9);
    display:none;
}
.mapModal__frame .leaflet-control-layers-toggle {
  display:none;
}

/* Optional minimal legend */
.mapModal__legend{
  display:flex;
  gap: 14px;
  align-items:center;
  margin-top: 10px;
  font-size: 14px;
  color: rgba(0,0,0,.65);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 6px;
}
.dot--primary{ background: #111; }
.dot--secondary{ background: rgba(0,0,0,.35); }

/* Make the modal use more width on large screens */
@media (min-width: 992px){
  #mapModal .modal-dialog{
    max-width: 1100px;
  }
}

/* On phones: go almost fullscreen */
@media (max-width: 576px){
  #mapModal .modal-dialog{
    margin: 10px;
  }
  .mapModal__frame{
    height: 78vh;
  }
}

/* zoom overlay */
.pswp {
  z-index: 999999 !important;
}
.pswp-link{
  position: relative;
  display: block;
  height:100%;
}

.pswp-link img{
  width: 100%;
  height: auto;
  display: block;
}

/* Zoom icon overlay */
.zoom-ui{
  position: absolute;
  bottom: 16px;
  right:16px;
  font-size:24px;
  opacity:0.85;
  display: grid;
  place-items: center;
  color: #000;
  pointer-events: none;
  z-index:2;
  background:transparent;
}
.zoom-ui:hover {
  transform: scale(1.15);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
#hero .zoom-ui {
  color: #fff;
  z-index: 99999999999999;
  pointer-events: auto;
  touch-action: none;
}


/* ==========================================================================
   Responsive / Media queries
   ========================================================================== */

   /* ultra small fix */
@media (max-width: 379.98px) {
  #stanovi ul.info li i {
    display: none;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .header .site-logo {
    padding: 12px 0;
  }
  .header .site-logo img {
    padding-left:6px;
    padding-right:6px;
  }
  .mobile-nav-wrap .offcanvas-header {
    padding: 2rem 2rem 1rem 2rem;
  }

  #hero .swiper {
    height: 55vh;
  }

  #hero .content {
    padding: 20px 15px 60px 15px;
  }

  #hero .info-address {
    font-size: 18px;
    font-weight: 500;
  }

  #hero h1 {
    font-size: 48px;
    font-weight: 800 !important;
    margin-bottom: 25px;
  }

  #hero .info {
    margin-bottom: 25px;
  }

  #hero .info-item {
    margin-bottom: 10px;
  }

  #hero .desc {
    margin-bottom: 35px;
  }

  #hero .directSale {
    font-size: 18px;
    line-height: 1.5;
    flex-direction: column;
  }

  #hero .directSale ul {
    display: grid;
    line-height: 1.5;
    grid-template-columns: auto 1fr;
  }

  #hero .directSale .dot-first {
    display: initial;
  }

  #hero .hero-cta {
    margin-top: 22px;
  }

  #o-projektu .heading-section .sub {
    letter-spacing: 1.6px;
    margin-bottom: 5px;
  }

  #o-projektu .heading-section h3 {
    margin-bottom: 16px;
  }

  #o-projektu .text-body-2 {
    line-height: 26px;
    margin-bottom: 10px;
  }

  #o-projektu .list {
    margin-top: 20px;
  }

  #o-projektu .number {
    opacity: 0.8;
  }

  #o-projektu ul.list {
    gap: 38px;
  }

  #o-projektu ul li h5 {
    margin-bottom: 12px;
  }

  #stanovi .tf-filters .btn-fillter {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--Text-secondary);
  }

  #stanovi .tf-filters .btn-fillter.active {
    color: #fff;
    background-color: var(--Text-secondary);
  }

  #stanovi .card-item {
    margin-bottom: 40px;
  }

  #stanovi ul.info {
    gap: 12px 4px;
    justify-content: space-between;
  }

  #stanovi ul.info li {
    gap: 5px;
    font-weight: 500;
    font-size: 16px;
  }

  /* #stanovi ul.info li i {
    display: none;
  } */

  #stanovi ul.info li.bullet-divider {
    display: initial;
  }

  #stanovi .unitStatusBadge {
    padding: 5px 8px;
  }

  .stat-number {
    font-size: 36px;
  }
  .stat-label {
    font-size: 12px;
  }

  #proces .content h5.title {
    margin-bottom: 4px;
  }

  #proces .content p {
    line-height: 20px;
  }

  #proces .process-item .line {
    background-color: var(--Line) !important;
    margin-bottom: 0;
  }

  #proces .process-item .title span {
    opacity: 0.5;
  }

  #proces .tabs-hover-wrap {
    margin-bottom: 0;
  }

  #proces .tabs-hover-wrap .col-lg-7 {
    display: none;
  }

  #reference .article-thumb {
    margin-bottom: 20px;
  }

  .footer .footer-bottom {
    gap: 4px;
  }

  #unitModal .unitModal-header {
    padding: 2rem 15px;
  }

  #unitModal .unitModal-logo {
    height: 26px;
  }

  #unitModal .unitStatusBadge {
    padding: 4px 12px;
  }

  #unitModal .unitModal-desc {
    margin-top: 20px;
    line-height: 1.5;
  }

  #unitModal #modalRooms .item {
    padding: 5px 0;
  }

  #unitModal #modalRooms .item span {
    font-weight: 600;
  }

  #unitModal .unitModal-image {
    padding: 0;
  }

  #unitModal .unitActionTile {
    height: 100px;
    gap: 4px;
  }

  #unitModal .unitActionLabel {
    letter-spacing: 0.03rem;
  }

  #unitModal .unitActionIcon {
    width: 46px;
    height: 46px;
  }
  .unitSpin-stage {
    aspect-ratio: 1 / 1;
  }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  header .header-right .tf-btn {
    height: 36px;
  }

  .header.style-3 .header-inner {
    margin-top: 20px;
  }

  .page-title.style-4 .content {
    padding: 60px 30px;
  }
  .mobile-nav-wrap .offcanvas-header {
    padding: 2rem 2rem 1rem 2rem;
  }

  #hero .title {
    margin-bottom: 10px;
  }

  #hero .directSale {
    margin-top: 30px;
  }

  #o-projektu .number {
    min-width: 45.5px;
  }

  #o-projektu .heading-section {
    margin-bottom: 30px;
  }

  #o-projektu .about-cta {
    margin-bottom: 30px;
  }

  #stanovi ul.info {
    gap: 12px 14px;
  }

  #stanovi ul.info li {
    gap: 3px;
    font-size: 16px;
  }

  #stanovi .unitStatusBadge {
    letter-spacing: 0.05em;
    padding: 5px 9px;
  }

  #stanovi .tf-filters .btn-fillter {
    height: 38px;
  }
  #proces .process-item .line {
    background-color: var(--Line);
  }

  #proces .process-item .title {
    margin-bottom: 6px;
  }

  #proces .tabs-hover-wrap .col-lg-7 {
    display: none;
  }

  #reference .swiper .article-thumb {
    margin-bottom: 20px;
  }

  #reference .swiper .article-content .meta-post {
    margin-bottom: 4px;
  }

  #kontakt .heading-section {
    gap: 0;
    margin-bottom: 30px;
  }

  #kontakt .heading-section .sub {
    margin-bottom: 30px;
  }

  #kontakt .heading-section h3 {
    margin-bottom: 8px;
  }

  #kontakt .contact-cta .text-button {
    margin-bottom: 14px;
  }

  #kontakt .contact-cta .text-body {
    margin-bottom: 12px;
  }

  #kontakt .contact-cta .tf-grid-layout {
    gap: 14px 16px;
  }

  footer .footer-bottom p {
    font-size: 14px;
  }
  footer .ft-about {
    max-width:430px;
  }
  footer .footer-newsletter {
    padding-top:20px;
  }

  footer .company {
    margin: 0 auto;
  }

  #unitModal .unitModal-header {
    padding: 2rem 3rem;
  }

  #unitModal .unitModal-meta {
    margin-bottom: 2.5rem;
    line-height: 2;
  }

  #unitModal .unitStatusBadge {
    padding: 5px 12px;
  }

  #unitModal #modalRooms .item {
    padding: 14px 0;
  }

  #unitModal .unitActionTile {
    gap: 8px;
  }

  #unitModal .unitActionLabel {
    font-weight: 1000;
  }
}

/* Tablet landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header.style-3 .header-inner {
    margin-top: 20px;
  }
  header .header-inner .site-logo {
    padding: 16px;
    max-width: 200px;
  }

  header .header-right .tf-btn {
    height: 38px;
  }

  #hero .content {
    padding: 125px 30px 70px 30px;
  }

  #hero .directSale ul {
    display: grid;
    line-height: 1.5;
    grid-template-columns: auto 1fr;
  }

  #hero .directSale .dot-first {
    display: initial;
  }

  #hero .content .info {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
  }

  #hero .content .desc {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.4;
  }

  #o-projektu .text-body-2 {
    line-height: 26px;
  }

  #o-projektu .heading-section {
    margin-bottom: 30px;
  }

  #o-projektu ul.list {
    gap: 34px;
  }

  #o-projektu ul li {
    gap: 20px 16px;
  }

  #o-projektu ul li h5 {
    margin-bottom: 10px;
    margin-top: 7px;
  }

  #stanovi .content .info {
    gap: 12px 7px;
  }

  #stanovi .content .info li {
    font-size: 15px;
  }

  #stanovi .content .info li.bullet-divider {
    display: initial;
  }

  #stanovi .content .info li i {
    display: none;
  }

  #stanovi .content .info li .unitStatusBadge {
    letter-spacing: 0.05em;
    padding: 5px 8px;
  }

  #proces .process-item {
    margin-bottom: 22px;
  }

  #proces .process-item .line {
    background-color: var(--Line);
  }

  #proces .process-item .content h5 {
    margin-bottom: 4px;
  }

  #proces .process-item .content p {
    line-height: 22px;
  }

  #proces .tabs-hover-wrap {
    margin-bottom: 0;
  }

  #proces .tab-content-wrap .tab-content .img-style {
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 360px;
    max-height: 480px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    overflow: hidden;
    background: #f2f2f2;
  }

  #proces .tab-content-wrap .tab-content .img-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  #reference .swiper .article-thumb {
    margin-bottom: 8px;
  }

  #reference .swiper .meta-post {
    margin-bottom: 8px;
  }

  #kontakt .heading-section {
    margin-bottom: 30px;
  }

  #kontakt .contact-cta .text-button {
    font-weight: 1000 !important;
  }

  #kontakt .contact-cta p {
    line-height: 22px;
  }

  #kontakt .contact-cta .tf-grid-layout {
    gap: 8px 10px;
  }

  #kontakt .info .item {
    gap: 14px;
  }

  footer .footer-bottom p {
    font-size: 14px;
  }

  footer .company {
    margin: 0 auto;
  }

  #unitModal .unitModal-header {
    padding: 3rem 4rem;
  }

  #unitModal .unitModal-meta {
    margin-bottom: 2.2rem;
  }
  #unitModal h2#modalTitle {
    font-size: clamp(18px, 3.2vw, 22px)
  }
  #unitModal #modalStatus {
    margin-right:10px;
    padding:4px 11px;
  }

  #unitModal #modalDescription {
    margin-bottom: 24px;
    line-height: 1.5;
  }
  #unitModal #modalRooms {
    margin-top:30px;
  }
  #unitModal #modalRooms .item {
    padding: 6px 0;
  }

  #unitModal #modalRooms .item:last-child {
    margin-top: 0;
    padding-top: 12px;
  }
  #unitModal #modalRooms .item .text-body-default {
    font-size:14px;
    line-height:20px;
  }
  #unitModal #modalRooms .item .text-button {
    font-size:15px;;
  }

  #unitModal .unitActionTile {
    height: 90px;
    gap: 4px;
  }

  #unitModal .unitActionIcon {
    width: 38px;
    height: 38px;
    font-size: 32px;
  }

  #unitModal .unitActionLabel {
    letter-spacing: 0.03em;
  }
  #unitModal #modalActionsDesktop {
    margin-top: 2.5rem !important;
  }
}

/* Laptop (short height) */
@media (min-width: 1200px) and (max-height: 800px) {
  .header .site-logo {
    max-width: 200px;
    padding: 18px;
  }

  .header .header-right .tf-btn {
    height: 42px;
  }

  #hero .content {
    padding: 200px 30px 100px 50px;
  }

  #hero .content .info {
    margin-bottom: 50px;
  }

  #hero .content .desc {
    line-height: 28px;
    margin-bottom: 30px;
  }

  #hero .content .directSale {
    font-size: 18px;
    gap: 10px;
    font-weight: 700;
  }

  #o-projektu .text-body-2 {
    margin-bottom: 20px;
  }

  #o-projektu ul.list li {
    gap: 8px;
  }

  #o-projektu ul.list li .content {
    margin-top: 6px;
  }

  #o-projektu ul.list li h5 {
    margin-bottom: 10px;
  }

  #o-projektu ul.list li p {
    line-height: 24px;
  }

  #proces .tabs-hover-wrap {
    margin-bottom: 0;
  }

  #proces .process-item:not(:last-child) {
    margin-bottom: 30px;
  }

  #proces .process-item h5 {
    margin-bottom: 4px;
  }

  #proces .process-item p {
    line-height: 22px;
  }

  #reference .swiper .article-thumb {
    margin-bottom: 8px;
  }

  #reference .swiper .meta-post {
    margin-bottom: 8px;
  }

  #kontakt .heading-section {
    margin-bottom: 30px;
  }

  #kontakt .contact-cta .text-button {
    font-weight: 1000 !important;
  }

  #kontakt .contact-cta p {
    line-height: 22px;
  }

  #kontakt .contact-cta .tf-grid-layout {
    gap: 8px 10px;
    margin-bottom: 20px;
  }

  #kontakt .info .item {
    gap: 14px;
  }

  footer .footer-bottom p {
    font-size: 14px;
  }

  .footer .company {
    margin: 0 auto;
    flex: initial;
  }

  #unitModal .unitModal-header {
    padding: 3rem 5rem;
  }

  #unitModal .row > div {
    margin-top: 0;
  }

  #unitModal .unitModal-meta {
    margin-bottom: 2.2rem;
  }

  #unitModal .unitModal-desc {
    margin-bottom: 24px;
    line-height: 1.5;
  }

  #unitModal #modalRooms .item {
    padding: 6px 0;
  }

  #unitModal #modalRooms .item:last-child {
    margin-top: 0;
    padding-top: 12px;
  }

  #unitModal .unitActionTile {
    height: 90px;
    gap: 4px;
  }

  #unitModal .unitActionIcon {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  #unitModal .unitActionLabel {
    letter-spacing: 0.04em;
  }

  #unitModal #modalActionsDesktop {
    margin-top: 2.5rem !important;
  }
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .stat-number {
    font-size: 40px;
  }
  .banner .tf-container {
    flex-direction: column;
  }
  .banner .tf-container .left-side, .banner .tf-container .right-side {
    width:100%;
  }
}

@media (min-width: 600px) and (max-width: 991px) {
  .stats-grid {
    row-gap: 40px; /* or 44px if you want it extra relaxed */
  }
}

@media (min-width: 1400px) {
  .site-logo img {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 1199px) {
  .banner h2 {
    font-size:40px !important;
    line-height:48px !important;
  }
}

/* Speed up Bootstrap modal fade/slide without changing layout */
.modal.fade .modal-dialog {
  transition: transform 0.18s ease-out;
}

.modal-backdrop.fade {
  transition: opacity 0.12s linear;
}
