.home-reviews {
  position: relative;
  overflow: hidden;
  color: #f7f3eb;
  background: #161616;
}

.home-reviews__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 8rem 2rem;
}

@media (min-width: 768px) {
  .home-reviews__inner {
    padding: 14rem 12rem;
  }
}

.home-reviews__head {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .home-reviews__head {
    margin-bottom: 7rem;
  }
}

.home-reviews__head h2 {
  margin: 0;
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 0;
}

@media (min-width: 768px) {
  .home-reviews__head h2 {
    font-size: 9rem;
  }
}

.home-reviews-swiper {
  overflow: hidden;
  touch-action: pan-y;
}

.home-reviews:not(.home-reviews--static) .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.home-reviews:not(.home-reviews--static) .swiper-slide {
  flex-shrink: 0;
  height: auto;
}

.home-review-card {
  display: flex;
  flex-direction: column;
  min-height: 32rem;
  height: 100%;
  padding: 2.4rem;
  color: #f7f3eb;
  background: #202020;
  border: 1px solid rgba(247, 243, 235, 0.14);
  border-radius: 8px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .home-review-card {
    min-height: 36rem;
    padding: 3rem;
  }
}

a.home-review-card:hover {
  color: #fff;
  border-color: rgba(247, 243, 235, 0.28);
  text-decoration: none;
}

.home-review-card__rating {
  margin-bottom: 2rem;
  color: #d8bf7d;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.home-review-card__text {
  margin: 0 0 2.4rem;
  color: rgba(247, 243, 235, 0.9);
  font-size: 2rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .home-review-card__text {
    font-size: 2.3rem;
  }
}

.home-review-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.6rem;
  margin-top: auto;
}

.home-review-card__name {
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.3;
}

.home-review-card__link {
  flex: 0 0 auto;
  color: rgba(247, 243, 235, 0.72);
  font-size: 1.5rem;
  line-height: 1.2;
}

.home-reviews__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  margin-top: 3rem;
}

.home-reviews__pagination {
  position: static;
  min-height: 2.8rem;
}

.home-reviews .swiper-pagination-bullet {
  width: 0.9rem;
  height: 0.9rem;
  background: rgba(247, 243, 235, 0.42);
  opacity: 1;
}

.home-reviews .swiper-pagination-bullet-active {
  background: #f7f3eb;
}

.home-reviews__arrow {
  display: none;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  color: #f7f3eb;
  background: transparent;
  border: 1px solid rgba(247, 243, 235, 0.3);
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .home-reviews__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.home-reviews__arrow::before {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.home-reviews__arrow--prev::before {
  content: "<";
}

.home-reviews__arrow--next::before {
  content: ">";
}

.home-reviews__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.home-reviews--static .swiper-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

@media (min-width: 768px) {
  .home-reviews--static .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-reviews--static .swiper-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contacts-page {
  min-height: 100vh;
  margin: 0;
  color: #111;
  background: #f7f7f5;
  font-family: Manrope, Arial, sans-serif;
}

.contacts-page * {
  box-sizing: border-box;
}

.contacts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
}

.contacts-logo,
.contacts-nav a,
.contacts-button {
  color: inherit;
  text-decoration: none;
}

.contacts-logo {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contacts-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 28px;
  font-size: 15px;
  line-height: 1.2;
}

.contacts-nav a {
  color: rgba(17, 17, 17, 0.68);
}

.contacts-nav a:hover,
.contacts-nav a[aria-current="page"] {
  color: #111;
}

.contacts-main {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.contacts-hero {
  max-width: 980px;
  margin-bottom: 48px;
}

.contacts-kicker {
  margin: 0 0 18px;
  color: rgba(17, 17, 17, 0.58);
  font-size: 15px;
  line-height: 1.35;
  text-transform: uppercase;
}

.contacts-hero h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.95;
  letter-spacing: 0;
}

.contacts-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(17, 17, 17, 0.76);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.16;
  text-transform: uppercase;
}

.contacts-card {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.contacts-item h2,
.contacts-map-placeholder h2 {
  margin: 0 0 10px;
  color: rgba(17, 17, 17, 0.52);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.contacts-item p {
  margin: 0;
  font-size: 22px;
  line-height: 1.32;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contacts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  color: #111;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.contacts-button--primary {
  color: #fff;
  background: #111;
  border-color: #111;
}

.contacts-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  margin-top: 28px;
  padding: 32px;
  background: #ecece8;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
}

.contacts-map-placeholder {
  max-width: 680px;
  text-align: center;
}

.contacts-map-placeholder p {
  margin: 0;
  font-weight: 600;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.05;
}

.contacts-map-placeholder span {
  display: block;
  margin-top: 18px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 18px;
  line-height: 1.35;
}

.contacts-map--embed {
  padding: 0;
  overflow: hidden;
}

.contacts-map--embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

@media (max-width: 767px) {
  .contacts-header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 32px, 1360px);
    padding: 22px 0;
  }

  .contacts-nav {
    justify-content: flex-start;
    gap: 12px 18px;
    font-size: 14px;
  }

  .contacts-main {
    width: min(100% - 32px, 1360px);
    padding: 42px 0 64px;
  }

  .contacts-hero {
    margin-bottom: 32px;
  }

  .contacts-card {
    padding: 22px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contacts-item p {
    font-size: 19px;
  }

  .contacts-actions {
    flex-direction: column;
  }

  .contacts-map {
    min-height: 340px;
    padding: 24px;
  }
}
