/* PROJECTS SECTION */

.projects {
  padding: 78px 0;
  background: #000;
}

.projects-title {
  color: #fff;
  line-height: 1.1;
}

.projects-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  position: relative;
}

.projects-result {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.projects-city {
  line-height: 1;
  font-size: 28px;
  font-weight: 500;
}

.projects-count {
  font-size: 90px;
  font-weight: 500;
  line-height: 1;
}

.projects-count .count-line {
  display: block;
  min-height: 1em;
}

.projects-map {
  position: absolute;
  top: 0;
  right: 0;
}

.projects-result .btn-outline:hover {
  color: var(--btnOutlineHover);
  box-shadow: 0px 0px 0px 1px rgb(197, 197, 197) inset;
  -webkit-box-shadow: 0x 0px 0px 1px rgb(197, 197, 197) inset;
  -moz-box-shadow: 0px 0px 0px 1px rgb(197, 197, 197) inset;
}

@media (max-width: 1439px) {
  .projects-count {
    font-size: 64px;
  }

  .projects-map svg {
    transform: scale(0.9);
    transform-origin: top right;
  }
}

@media (max-width: 1240px) {
  .projects-count {
    font-size: 44px;
  }

  .projects-map svg {
    transform: scale(0.8);
  }
}

@media (max-width: 1024px) {
  .projects {
    padding: 64px 0;
  }

  .projects-content {
    gap: 20px;
    min-height: 550px;
  }

  .projects-map svg {
    transform: scale(0.9);
  }
}

@media (max-width: 1023px) {
  .projects-content {
    min-height: auto;
  }

  .projects-map {
    position: relative;
  }

  .projects-map svg {
    width: 100%;
    height: auto;
    transform: scale(1);
  }

  .projects-city {
    font-size: 20px;
  }

  .projects-count {
    font-size: 74px;
  }
}

@media (max-width: 767px) {
  .projects {
    padding: 44px 0;
  }

  .projects-title {
    font-size: 28px;
  }

  .projects-count {
    font-size: 44px;
  }
}

.projects-map svg path {
  transition: fill 0.3s ease-in-out;
  position: relative;
}

.projects-map svg path.active {
  fill: #2561ff;
}

.has-objects:hover {
  cursor: pointer;
  fill: #2561ff;
}

#Kyiv {
  position: relative;
}

.region-label {
  pointer-events: none;
  font-family: inherit;
}

.projects-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.projects {
  padding-top: 150px;
  position: relative;
  overflow: hidden;
}

.projects-bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-bg:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
  -webkit-box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
  -moz-box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
}

.projects-title-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projects-desc {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  opacity: 0.2;
}

@media (max-width: 1024px) {
  .projects-desc {
    max-width: 200px;
    font-size: 16px;
  }
}

@media (max-width: 820px) {
  .projects-desc {
    max-width: 100%;
    font-size: 20px;
  }

  .projects {
    padding-top: 100px;
  }

  .projects-bg {
    height: 150px;
  }
}

@media (max-width: 767px) {

  .projects-bg:after {
    box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
    -webkit-box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
    -moz-box-shadow: 0px -53px 66px 0px rgba(0, 0, 0, 1) inset;
  }
    
  .projects-desc {
    font-size: 16px;
  }
}

.all-projects-btn {
    box-shadow: none;
    padding: 24px 40px;
    font-size: 22px;
    margin-top: 20px;
}

/* All projects button highlight + pulse */
.all-projects-btn.is-highlighted {
  background: #2561ff;
  border-color: #2561ff;
  color: #fff;
}

.all-projects-btn.is-pulsing {
  animation: allProjectsPulse 0.7s ease-out 2;
}

@keyframes allProjectsPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 97, 255, 0.55);
    transform: translateZ(0) scale(1);
  }
  70% {
    box-shadow: 0 0 0 30px rgba(37, 97, 255, 0);
    transform: translateZ(0) scale(1.07);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 97, 255, 0);
    transform: translateZ(0) scale(1);
  }
}

/* ----- PROJECTS SECTION ----- */

/* LISTING SECTION */

/*.listing {*/
/*  background: #fff;*/
/*  padding: 55px 0;*/
/*}*/

/*.listing-content {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 24px;*/
/*}*/

/*.listing-title-area {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: flex-end;*/
/*}*/

/*.listing-title {*/
/*  color: #000;*/
/*}*/

/*.listing-filters {*/
/*  display: flex;*/
/*  gap: 24px;*/
/*}*/

/*.sorting {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 10px;*/
/*}*/

/*.fiters-title {*/
/*  font-size: 14px;*/
/*  font-weight: 500;*/
/*  color: #000;*/
/*  opacity: 0.4;*/
/*}*/

/*.filters-btn {*/
/*  display: flex;*/
/*}*/

/*.filter-btn {*/
/*  font-size: 15px;*/
/*  padding: 20px 27px;*/
/*  border-radius: 4px;*/
/*  background-color: #eef2fa;*/
/*  color: #000;*/
/*  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;*/
/*  cursor: pointer;*/
/*}*/

/*.filter-btn.active {*/
/*  background-color: #000;*/
/*  color: #fff;*/
/*}*/

/*.listing-area {*/
/*  padding: 24px 20px 80px 20px;*/
/*  background: #eef2fa;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 24px;*/
/*  position: relative;*/
/*}*/

/*.listing-navigation {*/
/*  position: absolute;*/
/*  bottom: 20px;*/
/*  left: 24px;*/
/*  display: none;*/
/*}*/

/*.slider-navigation-btn {*/
/*  width: 51px;*/
/*  height: 51px;*/
/*  border-radius: 50px;*/
/*  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;*/
/*  -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;*/
/*  -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  cursor: pointer;*/
/*  transition: opacity 0.2s ease-in-out;*/
/*}*/

/*.swiper-button-disabled {*/
/*  opacity: 0.3;*/
/*}*/

/*.listing-area-title {*/
/*  color: #000;*/
/*  font-size: 24px;*/
/*  font-weight: 500;*/
/*  line-height: 1;*/
/*}*/

/*.listing-items {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  gap: 10px;*/
/*}*/

/*.listing-item {*/
/*  width: calc((100% - 30px) / 4);*/
/*  padding: 20px 24px 30px 24px;*/
/*  background: #fff;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: space-between;*/
/*  height: 376px;*/
/*  border-radius: 6px;*/
/*  cursor: pointer;*/
/*  transition: box-shadow 0.3s ease-in-out;*/
/*}*/

/*.listing-item:hover {*/
/*  box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;*/
/*  -webkit-box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;*/
/*  -moz-box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;*/
/*}*/

/*.listing-info {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 14px;*/
/*}*/

/*.listing-text-block {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  gap: 8px;*/
/*  color: #000;*/
/*}*/

/*.listing-block-name {*/
/*  font-size: 14px;*/
/*  font-weight: 500;*/
/*  line-height: 1;*/
/*  opacity: 0.4;*/
/*}*/

/*.listing-block-value {*/
/*  font-size: 16px;*/
/*  font-weight: 500;*/
/*  line-height: 1.2;*/
/*}*/

/*.listing-block-client {*/
/*  font-size: 20px;*/
/*}*/

/*.listing-item-btn {*/
/*  font-size: 12px;*/
/*  font-weight: 500;*/
/*  line-height: 1;*/
/*  background-color: #000;*/
/*  border-radius: 4px;*/
/*  padding: 8.5px 21px;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  color: #fff;*/
/*  max-width: fit-content;*/
/*  cursor: pointer;*/
/*  transition: background-color 0.3s ease-in-out;*/
/*}*/

/*.listing-item:hover .listing-item-btn {*/
/*  background-color: #2561ff;*/
/*}*/

/*@media (max-width: 1024px) {*/
/*  .listing-item {*/
/*    width: calc((100% - 20px) / 3);*/
/*  }*/
/*}*/

/*@media (max-width: 1023px) {*/
/*  .listing-items {*/
/*    display: block;*/
/*    width: 100%;*/
/*  }*/
/*  .listing-item {*/
/*    display: flex !important;*/
/*    height: 376px !important;*/
/*  }*/
  
/*  .listing-navigation {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*  }*/
/*}*/

/*@media (max-width: 767px) {*/
/*  .listing-title-area {*/
/*    flex-direction: column;*/
/*    align-items: flex-start;*/
/*    gap: 8px;*/
/*  }*/
  
/*  .listing-area {*/
/*      padding: 44px 16px 136px 16px;*/
/*  }*/
/*}*/

/* ----- LISTING SECTION ----- */

/* LISTING SECTION ------------------------------------------------------------------ */

.listing {
  background: #fff;
  padding: 55px 0;
}

.listing-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.listing-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.listing-title {
  color: #000;
}

.listing-filters {
  display: flex;
  gap: 24px;
}

.sorting {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fiters-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  opacity: 0.4;
}

.filters-btn {
  display: flex;
}

.filter-btn {
  font-size: 15px;
  padding: 20px 27px;
  border-radius: 4px;
  background-color: #eef2fa;
  color: #000;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
}

.filter-btn.active {
  background-color: #000;
  color: #fff;
}

/* Area block */
.listing-area {
  padding: 24px 20px 80px 20px;
  background: #eef2fa;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.listing-area-title {
  color: #000;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

/* Navigation (now visible on desktop too) */
.listing-navigation {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: flex;
  gap: 8px;
}

.slider-navigation-btn {
  width: 51px;
  height: 51px;
  border-radius: 50px;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;
  -webkit-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;
  -moz-box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 1) inset;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

.swiper-button-disabled {
  opacity: 0.3;
}

/* Swiper container: always slider */
.listing-items {
  width: 100%;
  overflow: hidden; /* keeps slides clipped nicely */
}

/* Swiper wrapper */
.listing-items .swiper-wrapper {
  display: flex;
}

/* Slide: don't set width here, Swiper handles it */
.listing-item {
  padding: 20px 24px 30px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 376px;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
}

.listing-item:hover {
  box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;
  -webkit-box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;
  -moz-box-shadow: 0px 0px 0px 2px rgba(168, 181, 208, 1) inset;
}

.listing-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.listing-text-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #000;
}

.listing-block-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.4;
}

.listing-block-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.listing-block-client {
  font-size: 20px;
}

.listing-item-btn {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  background-color: #000;
  border-radius: 4px;
  padding: 8.5px 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  max-width: fit-content;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.listing-item:hover .listing-item-btn {
  background-color: #2561ff;
}

/* Responsive */
@media (max-width: 1023px) {
  .listing-navigation {
    left: 16px;
  }
}

@media (max-width: 767px) {
  .listing-title-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .listing-area {
    padding: 44px 16px 136px 16px;
  }
}

/* ----- LISTING SECTION ----- */

.listing-block-client {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

