* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'TT Norms';
}

img {
  max-width: 100%;
}

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

.container {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
}

.header {
  background: #fff;
}

.header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.header-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.header-logo-text {
  max-width: 392px;
  font-size: 16px;
  line-height: 140%;
  color: #ffffff;
  font-weight: 300;
}

.header-logo-text span {
  font-weight: 700;
}

.header__phone {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #3465a4;
  font-size: 24px;
  font-weight: 600;
  line-height: 140%;
  flex-shrink: 0;
}

.main {
  padding-top: 120px;
  /* padding-bottom: 250px; */
  background: url('../images/main/main-bg.jpg') center center no-repeat;
  background-size: cover;
  overflow: hidden;
}

.main__title {
  font-size: 52px;
  line-height: 140%;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 5px;
}

.main__title span {
  font-weight: 700;
}

.main__descr {
  font-size: 24px;
  line-height: 140%;
  color: #fff;
  max-width: 500px;
  margin-bottom: 40px;
}

.main-info {
  max-width: 710px;
}

.main-features {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 14px;
  margin-bottom: 65px;
}

.main-features-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}

.main-features-item-text__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 4px;
}

.main-features-item-text__descr {
  font-size: 16px;
  line-height: 140%;
  max-width: 210px;
}

.main-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.main__img {
  margin-right: -70px;
}

.button {
  height: 62px;
  padding: 0px 40px;
  font-family: 'TT Norms';
  font-size: 16px;
  font-weight: 500;
  color: #654C23;
  border: none;
  outline: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #EEDBB3 0%, #E9D5A4 100%);
  box-shadow: 0px 4px 0px 0px #A89263;
}

.main__button {
  width: 268px;
  cursor: pointer;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
  .main {
    padding-top: 1px;
    padding-bottom: 80px;
    background-position: center center;
  }
  .main__title {
    font-size: 32px;
  }
  .main__descr {
    font-size: 18px;
  }
  .main-features-item-text__title {
    font-size: 18px;
  }
  .main-features-item-text__descr {
    font-size: 14px;
  }
  .main__img {
    display: none;
  }
  .main-features {
    grid-template-columns: 100%;
    margin-bottom: 30px;
  }
  .header-logo-text {
    display: none;
  }
  .header-block {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header {
    padding-top: 10px;
  }
  .header-logo img {
    width: 80px;
  }
  .header__phone {
    font-size: 16px;
  }
  .header__phone img{
    width: 20px;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .main__img {
    margin-right: -210px;
  }
}