@font-face {
  font-family: 'Manrope';
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/Manrope-Bold.ttf');
}

@font-face {
  font-family: 'Manrope';
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/Manrope-Medium.ttf');
}

@font-face {
  font-family: 'Manrope';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/Manrope-Regular.ttf');
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', serif;
  font-size: 14px;
  font-weight: 400;
  background: #FAFAFA;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.container {
  max-width: 1248px;
  width: 100%;
  padding: 0 24px;
  margin: 0 auto;
}

.products-wrapper {
  margin-top: 52px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
}

.product-card {
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0px 4px 25px 0px #38839240;
}

.product-card__img {
  height: 200px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__title {
  margin-top: 16px;
  color: #388392;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
}

.product-card__descr {
  margin-top: 16px;
  color: #1E1E1E;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

.title-container {
  margin-top: 50px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.title-container img {
  width: 100px;
  height: 100px;
}

.main-title {
  color: #1E1E1E;
  font-size: 53px;
  font-weight: 500;
  line-height: 48px;
}

.section-title {
  margin-top: 52px;
  color: #1E1E1E;
  font-size: 42px;
  font-weight: 500;
  text-align: center;
}

.partners {
  margin-top: 36px;
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-content: center;
}

.partner-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border-radius: 16px;
  box-shadow: 0px 4px 12px 0px #0000001F;
  background: #FFFFFF;
  overflow: hidden;
}

.partner-box img {
  max-width: 184px;
  max-height: 56px;
}

.contacts {
  margin-top: 36px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
}

.contact-card {
  padding: 24px;
  display: flex;
  gap: 24px;
  border-radius: 24px;
  background: #FFFFFF;
  transition: box-shadow .2s;
}

.contact-card:hover {
  box-shadow: 0px 4px 25px 0px #38839240;
}

.contact-card__img {
  width: 182px;
  height: 182px;
  border-radius: 12px;
  overflow: hidden;
}

.contact-card__img img {
  width: 100%;
  height: 100%;
}

.contact-card__content {
  flex: 1;
}

.contact-card__title {
  color: #1E1E1E;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
}

.contact-card__info {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  color: #1E1E1E;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.contact-card__info:first-of-type {
  margin-top: 16px;
}

.contact-card__icon {
  color: #388392;
  font-size: 24px;
  padding-top: 1px;
}

@media screen and (max-width: 1024px) {
  .main-title {
    font-size: 40px;
    line-height: 1.2;
  }

  .section-title {
    font-size: 36px;
    line-height: 1.2;
  }
}

@media screen and (max-width: 600px) {
  .title-container img {
    width: 75px;
    height: 75px;
  }
  
  .main-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .section-title {
    font-size: 30px;
    line-height: 1.2;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .contacts {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 470px) {
  .contact-card__img {
    width: 150px;
    height: 150px;
  }
}

@media screen and (max-width: 425px) {
  .contact-card {
    flex-direction: column;
  }
  
  .contact-card__img {
    width: 125px;
    height: 125px;
  }
}