.services-page-head{
  padding: 60px 0 30px;
}

.services-page-head__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.services-page-head__nav{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-page-head__nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #E1F9ED;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
  transition: background .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.services-page-head__nav-link:hover{
  background: #01373E;
  color: #FDFDFD;
  transform: translateY(-1px);
}

.services-page-directions{
  padding: 30px 0 40px;
}

.services-page-section{
  padding: 40px 0 0;
}

.services-page-section:last-of-type{
  padding-bottom: 120px;
}

.services-page-section__top{
	margin-bottom: 30px;
	display: flex;
	gap: 60px;
	align-items: center;
}


.services-page-section__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.services-page-section__text{
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1D201F;
  opacity: 0.8;
}

.services-page-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.service-card{
  width: 100%;
  min-height: 373px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: #d9d9d9;
  display: block;
}

.service-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform .55s ease;
  will-change: transform;
}

.service-card:hover::before{
  transform: scale(1.12);
}

.service-card__cta{
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  z-index: 2;
}

.service-card__cta-text{
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
  padding: 17px 0 17px 20px;
}

.service-card__cta-icon{
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #1D201F;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-card__cta-icon::before{
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  display: block;
}

.service-card--consult{
  cursor: pointer;
}

@media (max-width: 1280px){
  .services-page-head__title{
    font-size: 65px;
  }

  .services-page-section__top{
    grid-template-columns: 150px minmax(260px, 360px) minmax(280px, 1fr);
    gap: 24px;
  }

  .services-page-section__title{
    font-size: 36px;
  }

  .services-page-section__text{
    font-size: 18px;
  }
}

@media (max-width: 980px){
  .services-page-head{
    padding: 40px 0 20px;
  }

  .services-page-head__title{
    font-size: 55px;
  }

  .services-page-section__top{
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .services-page-section__title{
    font-size: 34px;
  }

  .services-page-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card{
    min-height: 340px;
  }

  .services-page-section:last-of-type{
    padding-bottom: 90px;
  }
}

@media (max-width: 767px){
  .services-page-head__title{
    font-size: 50px;
  }

  .services-page-head__nav{
    margin-top: 24px;
    gap: 10px;
  }

  .services-page-head__nav-link{
    min-height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }

  .services-page-directions{
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .services-page-section{
    padding-top: 30px;
  }

  .services-page-grid{
    grid-template-columns: 1fr;
  }

  .service-card{
    min-height: 320px;
  }

  .service-card::before,
  .service-card:hover::before{
    transform: scale(1);
  }

  .service-card__cta{
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px 20px;
  }

  .service-card__cta-text{
    font-size: 18px;
    padding: 0;
  }
}

@media (max-width: 480px){
  .services-page-head__title{
    font-size: 40px;
  }

  .services-page-section__title{
    font-size: 30px;
  }

  .services-page-section__text{
    font-size: 16px;
    line-height: 1.35;
  }

  .services-page-head__nav-link{
    width: 100%;
    justify-content: center;
  }

  .service-card{
    min-height: 290px;
  }

  .service-card__cta{
    gap: 12px;
  }

  .service-card__cta-text{
    font-size: 16px;
  }
}

@media (max-width: 360px){
  .services-page-head__title{
    font-size: 35px;
  }

  .services-page-section__title{
    font-size: 26px;
  }
}