.hero--contacts{
  position: relative;
  overflow: hidden;
  min-height: 756px;
  background:
    linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.40)),
    url('/img/services/komp_hero.jpg') center center / cover no-repeat;
}

.hero--contacts::before{
  display: none;
}

.hero--contacts .hero__inner{
  min-height: 756px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 180px;
  padding-bottom: 60px;
}

.hero__inner--single{
  width: 100%;
}

.hero-service__content--full{
  width: 100%;
  max-width: 100%;
}

.hero-service__title{
  margin: 0 0 24px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 75px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FDFDFD;
}

.hero-service__text{
  max-width: 930px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #FDFDFD;
}

.contacts-main{
  padding: 120px 0 0;
  background: #FDFDFD;
}

.contacts-main__top{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-main__kicker{
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: rgba(0,0,0,0.5);
}

.contacts-main__intro{
  max-width: 980px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.contacts-grid{
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 15px;
}

.contacts-card{
  min-height: 300px;
  background: #E1F9ED;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-card--large{
  background: #01373E;
}

.contacts-card__label{
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.55);
}

.contacts-card--large .contacts-card__label{
  color: rgba(253, 253, 253, 0.65);
}

.contacts-card__value{
  margin-top: 18px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: #1D201F;
}

.contacts-card__value--link{
  text-decoration: none;
  transition: opacity .2s ease;
}

.contacts-card__value--link:hover{
  opacity: .8;
}

.contacts-card--large .contacts-card__value{
  color: #FDFDFD;
}

.contacts-card__text{
  margin-top: 24px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.65);
}

.contacts-card--large .contacts-card__text{
  color: rgba(253, 253, 253, 0.72);
}

.contacts-details{
  padding: 120px 0 0;
  background: #FDFDFD;
}

.contacts-details__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 15px;
}

.contacts-panel{
  background: #F7F7F7;
  border-radius: 20px;
  padding: 30px;
}

.contacts-panel--accent{
  background: #E1F9ED;
}

.contacts-panel__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.contacts-list{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contacts-list__item{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
}

.contacts-list__num{
  font-family: "SF Pro Display", Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(29, 32, 31, 0.45);
}

.contacts-list__head{
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #1D201F;
}

.contacts-list__text{
  margin-top: 12px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.7);
}

.schedule-box{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule-box__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(29, 32, 31, 0.18);
}

.schedule-box__day,
.schedule-box__time{
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.schedule-box__day{
  font-weight: 500;
}

.schedule-box__time{
  font-weight: 400;
  text-align: right;
}

.contacts-panel__note{
  margin-top: 30px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.7);
}

.contacts-panel__btn{
  margin-top: 30px;
}

.contacts-socials{
  padding: 120px 0 0;
  background: #FDFDFD;
}

.contacts-socials__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.contacts-socials__title{
  max-width: 760px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.contacts-socials__text{
  max-width: 420px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.65);
}

.contacts-socials__grid{
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.social-card{
  min-height: 260px;
  background: #F7F7F7;
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.social-card:hover{
  transform: translateY(-2px);
  background: #E1F9ED;
}

.social-card__head{
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-card__icon{
  width: 32px;
  height: 32px;
  display: inline-block;
  background: #01373E;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex: 0 0 32px;
}

.social-card__icon--tg{
  -webkit-mask-image: url("/img/tg.svg");
  mask-image: url("/img/tg.svg");
}

.social-card__icon--vk{
  -webkit-mask-image: url("/img/vk.svg");
  mask-image: url("/img/vk.svg");
}

.social-card__icon--max{
  -webkit-mask-image: url("/img/max.svg");
  mask-image: url("/img/max.svg");
}

.social-card__name{
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.social-card__text{
  margin-top: 24px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: rgba(29, 32, 31, 0.65);
}

@media (max-width: 1280px){
  .hero-service__title{
    font-size: 65px;
  }

  .hero-service__text{
    font-size: 20px;
    max-width: 820px;
  }

  .contacts-socials__title{
    font-size: 65px;
  }

  .contacts-main__intro{
    font-size: 26px;
  }

  .contacts-panel__title{
    font-size: 44px;
  }

  .contacts-card__value{
    font-size: 30px;
  }
}

@media (max-width: 980px){
  .hero--contacts{
    min-height: 640px;
  }

  .hero--contacts .hero__inner{
    min-height: 640px;
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .hero-service__title{
    font-size: 55px;
  }

  .hero-service__text{
    font-size: 18px;
    max-width: 100%;
    line-height: 1.3;
  }

  .contacts-main,
  .contacts-details,
  .contacts-socials{
    padding-top: 90px;
  }

  .contacts-main__top{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts-main__intro{
    font-size: 24px;
  }

  .contacts-grid{
    grid-template-columns: 1fr;
  }

  .contacts-details__grid{
    grid-template-columns: 1fr;
  }

  .contacts-socials__top{
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts-socials__title{
    font-size: 55px;
  }

  .contacts-socials__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .hero--contacts{
    min-height: 618px;
  }

  .hero--contacts .hero__inner{
    min-height: 618px;
    padding-top: 110px;
    padding-bottom: 36px;
  }

  .hero-service__title{
    font-size: 50px;
  }

  .contacts-main__kicker{
    font-size: 18px;
  }

  .contacts-main__intro{
    font-size: 22px;
  }

  .contacts-panel__title{
    font-size: 40px;
  }

  .contacts-socials__title{
    font-size: 50px;
  }

  .contacts-card,
  .contacts-panel,
  .social-card{
    padding: 24px;
  }

  .contacts-list__item{
    grid-template-columns: 54px 1fr;
  }

  .contacts-card__value{
    font-size: 26px;
  }
}

@media (max-width: 480px){
  .hero-service__title{
    font-size: 40px;
  }

  .hero-service__text{
    font-size: 16px;
  }

  .contacts-main,
  .contacts-details,
  .contacts-socials{
    padding-top: 60px;
  }

  .contacts-main__intro{
    font-size: 18px;
    line-height: 1.3;
  }

  .contacts-panel__title{
    font-size: 32px;
    line-height: 1.05;
  }

  .contacts-socials__title{
    font-size: 40px;
  }

  .contacts-card__value{
    font-size: 22px;
    line-height: 1.15;
  }

  .contacts-card__text,
  .contacts-list__text,
  .contacts-panel__note,
  .social-card__text{
    font-size: 16px;
    line-height: 1.35;
  }

  .contacts-list__head,
  .social-card__name{
    font-size: 20px;
    line-height: 1.15;
  }

  .schedule-box__day,
  .schedule-box__time{
    font-size: 18px;
  }

  .schedule-box__row{
    align-items: flex-start;
    flex-direction: column;
  }
}