* {
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
}
body {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.section_wrapper {
  box-sizing: border-box;padding: 1px 20px;width: 100%;}
.section {
  max-width: 1100px;width: 100%;margin: auto;}
.header {
  margin: -4px auto -6px;padding-left: 6px;display: flex;justify-content: space-between;align-items: center;}
.header_label {
  font-weight: 700;
  font-size: 16px;
  text-align: right;
  color: #1b1b1b;
}
.header_phone {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-weight: 500;
    font-size: 20px;
    color: #3864eb;
    line-height: 24px;
}
.header_label {
  margin-bottom: 4px;
}
.header_logo img {
  display: block;
}
.header_logo-mobile {
  display: none;
}
.banner_wrapper {
  background: #D5D1CA;position: relative;}
.banner_wrapper::after {
  content: ''; background: rgba(0, 0, 0, 0.6);position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: 0;}
.banner {
  margin-top: 39px;
  margin-bottom: 175px;
  color: white;
  z-index: 1;
  position: relative;
  max-width: 800px;
}
.banner_subtitle {
  font-weight: 400; font-size: 18px;text-align: center;text-transform: uppercase;}
.banner_title {
  font-weight: 400;font-size: 40px;text-align: center;margin-top: 4px;}
.banner_wrapper {
  background-image: url(../img/banner.jpg);background-repeat: no-repeat;background-size: cover;background-position: center;}
.banner_action {
  margin-top: 93px;display: flex; align-items: center;flex-direction: column;}
  
.banner_select,
.banner_input {
  padding: 11px 18px 9px 18px;
  font-family: "Montserrat", sans-serif;
  width: 339px;
  max-width: 100%;
  height: 40px;
  font-weight: 500;
  font-size: 16px;
  color: #1e1e1e;
  margin-bottom: 10px;
  outline: none;
  box-shadow: none;
  border: none;
  border-radius: 0px;
}
.banner_select {
      padding-left: 16px;
  }
.banner_select.error,
.banner_input.error {
  background: #ffe2e2;
}
.banner_label {
  font-size: 16px;
  text-align: center;
  color: #fff;
  font-weight: 500;
  margin-bottom: 19px;
}
.banner_label strong {
  font-weight: 700;
}
.cards {
  margin: 69px auto 59px;
}
.cards_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.cards_top {
  overflow: hidden;
  border-radius: 9px;
  margin-bottom: 10px;
}
.cards_list img {
  object-fit: cover;
  width: 100%;
  display: block;
}
.cards_col {
  width: 260px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05);
}
.cards_col:hover .cards_bottom {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
}
.cards_col:first-of-type .cards_descr {
  padding: 0 9px;
  margin-left: 4px;
}
.cards_col:first-of-type .cards_title {
  margin-left: 4px;
}
.cards_col:last-of-type .cards_descr {
  padding: 0 9px;
/*
  padding-right: 25px;
  padding-left: 25px;
*/
}
.cards_title {
  position: relative;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.cards_title::after {
  content: '';
  position: absolute;
  height: 1px;
  background: #3864eb;
  width: 50px;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 13px);
}
.cards_bottom {
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 25px 16px 41px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s box-shadow;
}
.footer_wrapper {
  background: #d1d1d7;
  padding-top: 20px;
  padding-bottom: 26px;
}
.footer_top {
  color: #333;
}
.footer_top strong {
  color: #000;
}

.footer_bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
}
.footer_copyright {
  font-weight: 400;
  font-size: 10px;
  color: #1d1d1d;
  margin-top: -3px;
}
.footer_right {
  display: flex;
  gap: 190px;
  color: #1d1d1d;
  padding-top: 18px;
  padding-right: 154px;
}
.footer_right ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: 12px;
}
.footer_right ul li {
  margin-top: 14px;
}
.footer_right a {
  color: inherit;
  text-decoration: none;
}
.footer_label {
  font-weight: 700;
  font-size: 16px;
}
.footer_logo img {
  display: block;
  max-width: 100%;
}
@media screen and (max-width: 940px){
  .banner_title {
    font-size: 34px;
  }
  .footer_right {
    padding-right: 50px;
    gap: 140px;
  }
  .header {
    padding-left: 0;
  }
  .header_logo {
    width: 200px;
  }
  .header_logo img,
  .header_logo-mobile img{
    max-width: 100%;
    max-height: 100%;
    display: block;
  }
}
@media screen and (max-width: 768px){
  .footer_right {
    padding-right: 20px;
    gap: 51px;
  }
  .banner_title {
    font-size: 31px;
  }
  .banner {
    margin-bottom: 100px;
  }
  .footer_wrapper {
    font-size: 14px;
  }
  .quiz_wrapper {
    padding-top: 25px !important;
    padding-left: 25px !important;
  }
}
@media screen and (max-width: 640px) {
  .quiz_section {
    padding-right: 20px;
    padding-left: 20px;
  }
  .footer_bottom {
    flex-direction: column;
  }
  .footer_right {
    gap: 34px;
    flex-direction: column;
  }
  .footer {
    position: relative;
    padding-bottom: 45px;
  }
  .footer_copyright {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
  }
  .quiz_subtitle {
    font-size: 16px;
  }
  .wpcf7-list-item-label {
    font-size: 12px;
  }
}
@media screen and (max-width: 540px) {
  .header_wrapper {
    padding-right: 15px;
    padding-left: 12px;
  }
  .header {
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header_logo {
    display: none;
  }
  .header_logo-mobile {
    display: block;
    height: 50px;
  }
  .banner_title {
    font-size: 27px;
    margin-top: 15px;
  }
  .banner_subtitle {
    font-size: 16px;
  }
  .SectionContacts__container .wpcf7.js {
    padding-right: 0 !important;
    border-right: 0 !important;
  }
  .ContactsHero__container {
    min-height: auto !important;
  }
  .quiz_btn {
    max-width: 100%;
  }
}