.main {
  padding: 0 4rem 2rem 4rem;
}

.services-page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 4rem;
}

.services-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  align-items: center;
  border-radius: 3.2rem;
  overflow: hidden;
}

.services-hero__content {
  padding: 7rem 0 7rem 4rem;
  z-index: 1;
  width: 100%;
}
/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.8rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FEFEF499;
  margin-bottom: 2.4rem;
  FONT-WEIGHT: 500;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #fff;
}

/* Title */
.services-hero__title {
  font-size: 7.4rem;
  font-weight: 700;
  color: #FEFEF4;
  margin-bottom: 2.4rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.services-hero__highlight {
  background-color: #d4c4a8;
  color: #221f1f;
  padding: 0 0.8rem;
  border-radius: 0.4rem;
  display: inline-block;
}

/* Text */
.services-hero__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3.2rem;
  max-width: 48rem;
}

/* Buttons */
.services-hero__buttons {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.btn--white {
  background-color: #fff;
  color: #221f1f;
  padding: 0.4rem 0.4rem 0.4rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s;
  border: 0.15rem solid #fff;
  text-decoration: none;
}

.btn--white:hover {
  background-color: #fefef4;
  transform: translateY(-0.2rem);
}

.btn__icon {
  width: 4rem;
  height: 4rem;
  background-color: #221f1f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
}

.btn--white:hover .btn__icon {
  transform: rotate(37.5deg);
}

.btn--outline-white {
  background-color: transparent;
  color: #fff;
  padding: 1.4rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s;
  border: 0.15rem solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  cursor: pointer;
  max-height: 4.8rem;
  height: 100%;
}

.btn--outline-white:hover {
  background-color: #fff;
  color: #221f1f;
  border-color: #fff;
  transform: translateY(-0.2rem);
}

/* Image */
.services-hero__image {
  position: absolute;
  border-radius: 2.4rem;
  overflow: hidden;
  height: 100%;
  min-height: 40rem;
  width: 100%;
}

.services-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === CONSULTATION CTA SECTION === */
.consultation-section {
  padding: 5rem 0 0 0;
  background-color: #fefef4;
}

.consultation-container {
  position: relative;
  border-radius: 3.2rem;
  overflow: hidden;
  min-height: 48rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image */
.consultation-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.consultation-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark Overlay */
.consultation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
  pointer-events: none;
}

/* Content */
.consultation-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 72rem;
  padding: 0;
}

.consultation-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: #FEFEF4;
  margin-bottom: 2.4rem;
  line-height: 1.2;
}

.consultation-subtitle {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #FEFEF4;
  margin-bottom: 6rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Form */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
}

.consultation-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  width: 100%;
  max-width: 64rem;
}

.consultation-form__input {
  width: 100%;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: 5rem;
  background-color: #fff;
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  color: #221f1f;
  transition: all 0.3s;
}

.consultation-form__input::placeholder {
  color: #999;
}

.consultation-form__input:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(212, 196, 168, 0.5);
  background-color: #fefef4;
}

.consultation-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: #fefef4;
  color: #221f1f;
  padding: 0.4rem 0.4rem 0.4rem 2.5rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: 'Montserrat',sans-serif;
}

.consultation-form__btn:hover {
  background-color: #fff;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.3);
}

.consultation-form__btn-icon {
  width: 4rem;
  height: 4rem;
  background-color: #221f1f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.consultation-form__btn:hover .consultation-form__btn-icon {
  transform: rotate(37.5deg);
}

/* === PROJECT OVERVIEW SECTION === */
.project-overview-section {
  padding: 4rem 0 2rem;
  background-color: #fefef4;
}

.overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 48rem;
  gap: 2rem;
}

.overview-card__content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 4rem;
  background-color: #EDEBDF;
}

.overview-card__location {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9D9A8C;
  margin-bottom: 1.2rem;
}

.overview-card__title {
  font-size: 4rem;
  font-weight: 700;
  color: #221F1F;
  margin-bottom: 2.4rem;
  line-height: 1.2;
}

.overview-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #221F1F;
}

.meta-item svg {
  color: #d4c4a8;
}

.overview-card__desc {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #221F1F;
  margin-bottom: 2.4rem;
}

.overview-card__divider {
  width: 8rem;
  height: 0.1rem;
  background-color: #575451;
  margin-bottom: 2.4rem;
}

.overview-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.overview-card__list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: #221F1F;
  font-weight: 600;
}

.overview-card__list li svg {
  color: #d4c4a8;
  flex-shrink: 0;
}

.overview-card__image {
  height: 100%;
  min-height: 40rem;
  overflow: hidden;
  border-radius: 4rem;
}

.overview-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === PROJECT GALLERY SECTION === */
.project-gallery-section {
  padding: 2rem 0 5rem;
}

.gallery-item img {
  width: 100%;
  height: 44.2rem;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
}

.project-gallery .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  bottom: 0;
}

/* === BEFORE & AFTER SECTION === */
.ba-section {
  padding: 5rem 0;
}

.ba-header {
  margin-bottom: 4rem;
  max-width: 50rem;
}

.ba-header h2 {
  font-size: 4.8rem;
  font-weight: 600;
  color: #221F1F;
  margin-bottom: 1.2rem;
}

.ba-header p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #221F1F;
  font-weight: 500;
}

/* Slider Container */
.ba-slider {
  position: relative;
  width: 100%;
  border-radius: 3.2rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-height: 60rem;
  cursor: -webkit-grab;
  user-select: none;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* "After" Layer (Bottom) */
.ba-slide--after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* "Before" Layer (Top - Clipped) */
.ba-slide--before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  border-right: 0.2rem solid #fff;
}

.ba-before-img {
  width: 100%;
  max-width: none !important;
  display: block;
}

/* Handle (Button) */
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6.4rem;
  height: 6.4rem;
  background: #edebdf33;
  color: #221f1f;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
  z-index: 3;
}

div#baHandle svg {
  width: 4.8rem;
  height: 4.8rem;
}
/* Labels */
.ba-label {
  position: absolute;
  top: 2.4rem;
  padding: 0.8rem 1.6rem;
  background-color: #fff;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #221f1f;
  z-index: 4;
  pointer-events: none;
}

.ba-label--before {
  left: 2.4rem;
}
.ba-label--after {
  right: 2.4rem;
}

/* === RESULT SECTION === */
.result-section {
  padding: 5rem 0;
  background-color: #fefef4;
}

.result-header {
  margin-bottom: 3.2rem;
  max-width: 50rem;
}

.result-header h2 {
  font-size: 4.8rem;
  font-weight: 600;
  color: #221F1F;
  margin-bottom: 1.6rem;
}

.result-header p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #221F1F;
  font-weight: 500;
}

/* Slider Wrapper */
.result-slider-wrapper {
  position: relative;
  width: 100%;
  max-height: 53.6rem;
}

.result-swiper {
  border-radius: 3.2rem;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.result-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.result-swiper img {
  width: 100%;
  object-fit: cover;
  display: block;
  max-height: 53.6rem;
}

/* Pagination */
.result-pagination {
  position: absolute;
  bottom: 2.4rem !important;
  left: 50% !important;
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

 .result-pagination span.swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background: #ffffff6e;
    border-radius: 50%;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s;
}

.result-pagination .swiper-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
}

.result-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #ffffffed;
    width: 2rem;
    border-radius: 1rem;
}
  























  

.result-pagination .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 !important;
}

.result-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  width: 2.4rem;
  border-radius: 1.2rem;
}

@media (min-width: 1024px) {
  .project-gallery.swiper {
    overflow: visible;
  }

  .project-gallery .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    height: auto !important;
    width: 100% !important;
    transform: none !important;
  }

  .project-gallery .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
  }

  .project-gallery .swiper-pagination {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .project-gallery .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  .main {
    padding: 2.4rem 1.6rem 0.8rem;
  }
  .services-page-hero {
    padding: 0;
    border-radius: 2rem;
  }

  .services-hero__container {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .services-hero__content {
    order: 1;
    padding: 2.4rem 1.6rem;
  }
.breadcrumb {
  font-size:1.4rem;
}
  .services-hero__image {
    order: 2;
    min-height: 28rem;
    border-radius: 2rem;
  }

  .services-hero__title {
    font-size: 3.2rem;
    margin-bottom: 4rem;
  }

  .services-hero__text {
    font-size: 1.5rem;
    margin-bottom: 2.4rem;
  }

  .services-hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn--white,
  .btn--outline-white {
    width: 100%;
    justify-content: space-between;
  }
  .consultation-section {
    padding: 4rem 0 0;
  }

  .consultation-container {
    border-radius: 2.4rem;
    min-height: auto;
  }

  .consultation-content {
    padding: 3.2rem 2.4rem;
  }

  .consultation-title {
    font-size: 3.2rem;
  }

  .consultation-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.4rem;
  }

  .consultation-form__row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .consultation-form__input {
    padding: 1.2rem 2rem;
  }

  .consultation-form__btn {
    width: 100%;
    justify-content: center;
  }

  .consultation-content {
    padding: 2.4rem 1.6rem;
  }

  .consultation-title {
    font-size: 2.6rem;
  }

  .consultation-subtitle {
    font-size: 1.4rem;
  }

  .consultation-form__btn {
    padding: 0.4rem 0.4rem 0.4rem 2.4rem;
    justify-content: space-between;
  }

  .consultation-form__btn-icon {
    width: 3.6rem;
    height: 3.6rem;
  }

  .project-overview-section {
    padding: 2.4rem 0;
  }

  .overview-card {
    grid-template-columns: 1fr;
    border-radius: 2.4rem;
    min-height: auto;
  }

  .overview-card__image {
    order: -1; /* ÐšÐ°Ñ€Ñ‚Ð¸Ð½ÐºÐ° ÑÐ²ÐµÑ€Ñ…Ñƒ */
    min-height: 28rem;
    border-radius: 2rem;
    margin-bottom: -10rem;
    position: relative;
  }

  .overview-card__content {
    padding: 12rem 1.6rem 4rem;
  }

  .overview-card__title {
    font-size: 2.8rem;
  }

  .overview-card__meta {
    gap: 1.6rem;
  }

  .project-gallery-section {
    padding: 0 0 4rem;
  }

  .project-gallery {
    border-radius: 2rem;
  }

  .gallery-item {
    height: 28rem;
    border-radius: 2rem;
  }

  .ba-section {
    padding: 4rem 0;
  }

  .ba-header h2 {
    font-size: 3.2rem;
  }

  .ba-slider {
    border-radius: 2rem;
    aspect-ratio: 1/1;
    max-height: 50rem;
  }

  .ba-label {
    top: 1.6rem;
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }

  .ba-label--before {
    left: 1.6rem;
  }
  .ba-label--after {
    right: 1.6rem;
  }

  .ba-handle {
    width: 4rem;
    height: 4rem;
  }

  .result-section {
    padding: 4rem 0;
  }

  .result-header h2 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
  }

  .result-header p {
    font-size: 1.6rem;
  }

  .result-swiper {
    border-radius: 2.4rem;
  }

  .result-swiper img {
    min-height: 53.6rem;
    border-radius:2rem
  }

  .result-pagination {
    bottom: 1.6rem!important;
    left: 44%!important;
    width: auto!important;
  }
  span.swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background: #221f1f6e;
    border-radius: 50%;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s;
}

.swiper-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #221f1fed;
    width: 2rem;
    border-radius: 1rem;
}
  
.result-header {
  margin-bottom: 4rem;
}
}
