.main {
  padding: 0.4rem 4rem 2.4rem;
}

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

.services-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 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 {
  display: flex;
  gap: 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.4rem;
}

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

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

.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;
}

.services-hero__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #fefef4;
  margin-bottom: 3.2rem;
  max-width: 58.8rem;
}

.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;
}

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

.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-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;
}

.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;
}

.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;
}

.consultation-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 89.8rem;
}

.consultation-title {
  font-size: 5.6rem;
  font-weight: 600;
  color: #fefef4;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

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

.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;
}

.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);
}

.projects-filter-section {
  padding: 4rem 0 5rem;
  background-color: #fefef4;
}

.filter-tabs {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 3.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  flex-shrink: 0;
  padding: 0.4rem 2.4rem 0.4rem 0.4rem;
  border-radius: 5rem;
  border: none;
  background-color: #edebdf;
  color: #221f1f;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}
.filter-tab svg {
  width: 4.8rem;
  height: 4.8rem;
  fill: #d8d4c18a;
}
.filter-tab.active {
  background-color: #221f1f;
  color: #fff;
}
.filter-tab.active svg {
  fill: #fff;
}

.filter-tab:hover:not(.active) {
  background-color: #d4c4a8;
}
.filter-tab:hover:not(.active) svg {
  fill: #fff;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 4rem;
}

.project-card {
  background-color: #edebdf;
  border-radius: 4rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 36rem;
  transition: transform 0.3s;
}

.project-card__slider {
  flex: 0 0 45%;
  position: relative;
  border-radius: 4rem;
  overflow: hidden;
}
.project-card__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__pagination {
  position: absolute;
  bottom: 2rem !important;
  left: 50% !important;
  display: flex;
  gap: 0.6rem;
  z-index: 2;
  width: max-content !important;
}
.project-card__pagination .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s;
}
.project-card__pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 2rem;
  border-radius: 1rem;
}

.project-card__content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
}

.project-card__category {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9d9a8c;
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.project-card__title {
  font-size: 4rem;
  font-weight: 700;
  color: #221f1f;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.project-card__meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #221f1f;
}
.project-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-card__desc {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #221f1f;
  margin-bottom: 2rem;
  font-weight: 400;
}

.project-card__divider {
  width: 8rem;
  height: 0.1rem;
  background: #575451;
  margin-bottom: 2rem;
}

.project-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.project-card__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: #221f1f;
  font-weight: 600;
}
.project-card__list li svg {
  width: 2rem;
  height: 2rem;
  color: #d4c4a8;
  flex-shrink: 0;
  stroke: #221f1f;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5.6rem;
}

.project-card__btn {
  padding: 1.2rem 4rem;
  border: 0.15rem solid #221f1f;
  border-radius: 5rem;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 500;
  color: #221f1f;
  cursor: pointer;
  transition: all 0.3s;
}
.project-card__btn:hover {
  background: #221f1f;
  color: #fff;
}

.project-card__nav {
  display: flex;
  gap: 1.2rem;
}
.project-card__nav-btn {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 0.15rem solid #221f1f;
  background: transparent;
  color: #221f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.project-card__nav-btn svg {
  stroke: #221f1f;
}

.project-card__nav-btn:hover {
  background: #221f1f;
  color: #fff;
}

.project-card__nav-btn:hover svg {
  stroke: #fff;
}

.project-card__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.pagination-btn,
.pagination-page {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 500;
  color: #221f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-btn svg {
  stroke: #292929;
}

.pagination-btn:hover,
.pagination-page:hover:not(.active) {
  background: #edebdf;
}
.pagination-page.active {
  background: #221f1f;
  color: #fff;
}

@media (max-width: 1023px) {
  .main {
    padding: 2.4rem 1.6rem 0;
  }

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

  .services-hero__content {
    order: 1;
    padding: 2.4rem 1.6rem;
    height: 56rem;
  }
  .breadcrumb {
    font-size: 1.4rem;
  }

  .services-hero__image {
    order: 2;
    min-height: 28rem;
    border-radius: 2rem;
  }

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

  .services-hero__text {
    font-size: 1.6rem;
    margin-bottom: 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.8rem;
  }

  .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: 3.2rem;
    text-align: left;
  }

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

  .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-card__slider img {
    width: 100%;
  }

  .project-card__pagination {
    position: absolute;
    bottom: 2rem !important;
    left: 44% !important;
    display: flex;
    gap: 0.6rem;
    z-index: 2;
  }

  .projects-filter-section {
    padding: 4rem 0;
  }

  .filter-tabs {
    padding-bottom: 0;
    margin-bottom: 4rem;
  }

  .filter-tab svg {
    width: 4rem;
    height: 4rem;
  }

  .project-card {
    flex-direction: column;
    min-height: auto;
    border-radius: 2rem;
  }
  .project-card__slider {
    flex: none;
    height: 28rem;
    border-radius: 2rem;
    width: 100%;
  }
  .project-card__content {
    padding: 4rem 1.6rem 1.6rem;
  }
  .project-card__title {
    font-size: 2.4rem;
  }
  .project-card__footer {
    flex-direction: column;
    gap: 1.6rem;
    align-items: stretch;
  }
  .project-card__btn {
    width: 100%;
    text-align: center;
  }
  .project-card__nav {
    justify-content: flex-end;
  }
}
