.service {
  overflow: hidden;
}

.service__grid {
  margin-top: 4rem;
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 2rem 1rem;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
  .service__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.service__grid::before {
  position: absolute;
  content: '';
  height: calc(10% + 5rem);
  width: 100vw;
  bottom: -5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e0ebed;
  z-index: -1;
}

.service__card {
  position: relative;
  isolation: isolate;
  padding: 2rem 1rem;
  background-color: var(--white);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.service__card::before {
  position: absolute;
  content: '';
  width: 40%;
  max-width: 10rem;
  aspect-ratio: 1;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary-color);
  border-radius: 100%;
  z-index: -1;
}

.service__card img {
  max-width: 70px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.service__card p {
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.75rem;
}

.range__details .btn:nth-child(2) {
  color: var(--white);
  background-color: var(--primary-color);
}

.range__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h2,
h4 {
  letter-spacing: 1px !important;
}

@media (max-width: 767px) {
  .section__header {
    font-size: 2rem;
    line-height: 110%;
  }
}

.download h2 {
  font-size: 1.5rem;
  line-height: 110%;
}

.wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body ._lock {
  overflow: hidden;
}
body .lock {
  overflow: hidden;
}
._lock {
  overflow: hidden !important;
}
.lock {
  overflow: hidden !important;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.consultation__input {
  border-radius: 10px;
  background-color: #ffffff;
  padding: 12px 20px 12px 20px;
  color: #42494f;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
  border: 1px solid #ffffff;
  cursor: pointer;
  -webkit-transition: border 0.3s;
  transition: border 0.3s;
  border: 1px solid #aab1b7;
  padding-right: 10px;
}

.popup__button {
  font-size: 16px;
  font-weight: 600;
  background-color: #f5b754;
  color: #fefefc;
  padding: 15px 30px;
  border-radius: 6px;
  transition: all 0.3s;
}

body::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.45);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0s;
  pointer-events: none;
  z-index: 149;
}
.popup-show body::after {
  opacity: 1;
}

.contacts {
  padding: 60px 0;
}
.contacts__container {
  display: flex;
  gap: 60px;
  width: 100%;
}
.contacts__info {
  flex: 1 1 400px;
}
.contacts__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}
.contacts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  color: #222;
}
.contacts__list li {
  margin-bottom: 16px;
}
.contacts__list a {
  color: #0e75ee;
  text-decoration: none;
  font-weight: 600;
}
.contacts__map {
  flex: 1 1 700px;
  min-width: 320px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts__map-placeholder {
  width: 100%;
  height: 320px;
  background: #e3e6f0;
  border-radius: 12px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-style: italic;
}
@media (max-width: 900px) {
  .contacts__container {
    display: block;
  }
  .contacts__map {
    min-width: 0;
    width: 100%;
  }
  .contacts__map-placeholder {
    height: 220px;
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .contacts {
    padding: 40px 0;
  }
  .contacts__title {
    font-size: 22px;
  }
  .contacts__list {
    font-size: 15px;
  }
}

.header__links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__link {
  flex: 0 0 30px;
}
.header__link img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.header__phone {
  color: #222;
}
