.header {
  box-shadow: 0px 1px 5px rgba(90, 86, 86, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
}
.header-contacts {
  margin-left: auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-contacts__phone {
  color: #25294a;
  margin: 14px 0 0;
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding-left: 16px;
  margin-top: 0;
  text-decoration: none;
}
.header-contacts__phone:hover {
  color: #007b8c !important;
}
.header-contacts__link {
  color: #25294a;
  font-size: 14px;
  font-weight: 500;
  padding-left: 16px;
  text-decoration: none;
}
@media (max-width: 569px) {
  .header-contacts__link.desktop {
    display: none;
  }
}
.header-contacts__link.mobile {
  display: none;
}
@media (max-width: 569px) {
  .header-contacts__link.mobile {
    display: block;
  }
}
.header-contacts__link:hover {
  color: #007b8c !important;
}
.header-contacts__link img {
  width: 18px;
  height: 19px;
  margin-right: 8px;
  margin-right: 8px;
}
.header-contacts__list {
  position: relative;
}
.header-contacts__list__content {
  max-height: 0px;
  transition: max-height 0.7s;
  overflow-y: hidden;
  position: absolute;
  z-index: 1;
  box-shadow: 0px 1px 13px #9f9494;
  top: 100%;
  right: 0;
  background-color: #f7f8fa;
  display: flex;
  flex-direction: column;
  width: 185px;
  align-items: flex-start;
  border-radius: 8px;
}
.header-contacts__list__content .header-contacts__link {
  padding-bottom: 16px;
}
.header-contacts__list__content .header-contacts__link:first-of-type {
  padding-top: 8px;
}
.header-contacts__list:hover .header-contacts__list__content {
  max-height: 400px;
}

.sectionTitle {
  font-size: 32px;
  font-weight: 700;
  color: #39484F;
  margin: 1.5rem 0;
  text-align: center;
}

.sectionSubTitle {
  font-size: 24px;
  font-weight: 500;
  color: #39484F;
  margin: 1rem 0;
  text-align: center;
}

.footer {
  margin-top: 2rem;
  max-width: 1800px;
  width: 100%;
  background-color: #000000;
  padding: 0.5rem 1.5rem;
}
.footer__copyright {
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  color: #ffffff;
  margin-bottom: 0;
}

.mainServices__container {
  text-align: center;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 1800px;
  width: 100%;
}
.mainServices__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
  gap: 2rem;
}
@media (max-width: 1200px) {
  .mainServices__list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 991px) {
  .mainServices__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .mainServices__list {
    grid-template-columns: 1fr;
  }
}
.mainServices__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 1.5rem;
}
@media (max-width: 991px) {
  .mainServices__footer {
    flex-direction: column;
  }
}
.mainServices__footer__text {
  font-size: 0.875rem;
  margin-bottom: 0;
  color: #7A7E84;
}
@media (max-width: 991px) {
  .mainServices__footer__text {
    margin-right: auto;
  }
}
.mainServices__footer__link {
  font-size: 0.875rem;
  font-weight: bold;
  color: #1081EB;
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 991px) {
  .mainServices__footer__link {
    margin-left: auto;
    margin-top: 0.5rem;
  }
}

.serviceCard {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  width: 100%;
  background-color: #f3f3f3;
  text-decoration: none;
}
.serviceCard:hover {
  box-shadow: 0px 0px 12px rgb(207, 196, 196);
}
.serviceCard__img {
  height: 150px;
  width: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.serviceCard__title {
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: bold;
  color: #39484F;
}

.services {
  margin-top: 80px;
  min-height: calc(100vh - 146px);
}