/* Общие стили (для всех устройств) */
html {
  box-sizing: border-box;
  background-color: #16043F;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  --white: #FFF;
  --defult: #16043F;
  --focus-color: #16043F;
  --active-color: #16043F;
  --hover-color: #16043F;
  --form-color: #9c90ba;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  padding-right: 10px;
}

@font-face {
  font-family: "Jura";
  src: local("Jura-Regular"),
    url("../fonts/Jura-Regular.woff2") format("woff2"),
    url("../fonts/Jura-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jura";
  src: local("Jura-SemiBold"),
    url("../fonts/Jura-SemiBold.woff2") format("woff2"),
    url("../fonts/Jura-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jura";
  src: local("Jura-Bold"),
    url("../fonts/Jura-Bold.woff2") format("woff2"),
    url("../fonts/Jura-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("MonserratExtraBold"),
    url("../fonts/MontserratExtraBold.woff2") format("woff2"),
    url("../fonts/MontserratExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}



body {
  min-width: 320px;
  font-family: 'Jura', sans-serif;
  font-weight: 400;

}

/* GLOB */
.list-reset {
  padding: 0;
  margin: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  margin: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.flex {
  display: flex;
}

.container {
  max-width: 1170px;

  margin: 0 auto;
  width: 100%;
}

.section-title {
  margin: 0;
  font-weight: 400;
  font-size: 48px;
  line-height: 58.51px;
}

.section-descr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
}

.btn {
  position: relative;
  outline: none;
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
  padding: 25px 39px;
  border-radius: 16px;
}

/* HEADER */
.header {
  max-width: 100%;
  margin: 0 auto;
  align-items: center;
  padding: 6px 43px;
  padding-bottom: 7px;
  margin-bottom: 159px;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 32px;
  background-color: white;
  box-shadow: 0px 5px 30px white;
}

.header__contacts {
  color: #16043f;
  display: block;
  float: right;
  position: absolute;
  font-size: 24px;
  font-weight: 400;
  margin-left: 897px;
  margin-top: 33px;
}

.text_logo {
  margin-left: 233px;
  margin-top: 159px;
}

.header__container {
  align-items: center;
  margin: 0 auto;
  max-width: 784px;
}

.header__logo {
  margin-right: auto;
}

.nav__list {
  float: right;
}

.nav__items {
  white-space: nowrap;
  font-size: 23px;
  font-weight: 400;
  line-height: 21.94px;
}

.nav__items:not(:last-child) {
  margin-right: 60px;
}

.nav__link {
  color: #16043F;
  transition: color 0.3s ease-in-out;
  cursor: pointer;
}

.nav__link:focus {
  outline-offset: 5px;
  outline: 2px solid var(--focus-color);
  cursor: pointer;
}

.nav__link:hover {
  border-bottom: solid 2px var(--hover-color);
  text-shadow: 0px 0px 5px #7151BC;
}

.nav__link:active {
  color: var(--active-color);
  border: none;
  border-bottom: solid 2px var(--active-color);
}

.header__contacts:focus {
  outline-offset: 5px;
  outline: 2px solid var(--focus-color);
}

.header__contacts:hover {
  text-shadow: 0px 0px 5px #7151BC;
  border-bottom: solid 2px var(--hover-color);
}

.header__contacts:active {
  color: var(--active-color);
  border: none;
  border-bottom: solid 2px var(--active-color);
}

/* ABOUT US */
.about_us__content {
  max-width: 1170px;
  margin: 0 auto;
  align-items: center;
  padding: 48px 101px;
  margin-bottom: 159px;
  background-color: white;
  border-radius: 32px;
  box-shadow: 0px 0px 30px white;
}

.about_us__title {
  margin: 0 auto;
  padding-left: 105px;
  color: white;
  margin-bottom: 31px;
  text-shadow: 0px 0px 5px white;
}

.about-us__descr {
  color: var(--defult);
  font-size: 25px;
  line-height: 30px;
  font-weight: 400;
  text-align: justify;
}

/* PRODUCTS */
.products {
  margin-bottom: 159px;
}

.products__content {
  max-width: 1170px;
  margin: 0 auto;
  align-items: center;
  padding: 133px 101px;
  margin-bottom: 83px;
  background-color: white;
  border-radius: 32px;
  box-shadow: 0px 0px 30px white;
}

.products__title {
  margin: 0 auto;
  padding-left: 105px;
  color: white;
  margin-bottom: 31px;
  text-shadow: 0px 0px 5px white;
}

.products__descr-text {
  color: var(--defult);
  font-size: 25px;
  line-height: 30px;
  font-weight: 400;
  text-align: justify;
}

.products__img_2 {
  background-image: url(../img/stanok1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 32px;
  width: 100%;
  height: 596px;
  box-shadow: 0px 0px 30px white;
}

.products__img_1 {
  display: flex;
  margin-bottom: 20px;
  gap: 37px;
}

.products__img_1_1 {
  background-image: url(../img/stanok2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 32px;
  width: 644px;
  height: 596px;
  box-shadow: 0px 0px 30px white;
}

.products__img_1_2 {
  background-image: url(../img/stanok3.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 32px;
  width: 498px;
  height: 596px;
  box-shadow: 0px 0px 30px white;
}

/* CONTACTS */
.contacts {
  margin-bottom: 159px
}

.contacts__adress {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 32px;
  box-shadow: 0px 0px 30px white;
  width: 1170px;
  height: 596px;
  padding: 70px 100px;
}

.contacts__title {
  margin: 0 auto;
  padding-left: 105px;
  color: white;
  margin-bottom: 31px;
  text-shadow: 0px 0px 5px white;
}

.contacts__list {
  flex-direction: column;
  margin-right: 52px;
}

.contacts__items {
  border-bottom: 1px solid #E9E9E9;
  margin-bottom: 25px;
  width: 585px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contacts__items-last {
  margin-bottom: 45px;
}

.contacts__caption-items {
  color: var(--defult);
  width: 145px;
  font-style: normal;
  font-size: 40px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
}

.contacts__descr {
  color: var(--defult);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-size: 26px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  padding-top: 39px;
  cursor: pointer;
}

.contacts__descr-1 {
  color: var(--defult);
  width: 429px;
  flex-wrap: wrap;
  font-size: 26px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: right;
  padding-top: 39px;
}

.contacts__text {
  font-style: normal;
}

.contacts__link-text {
  color: var(--defult);
}

.contacts__link-descr {
  color: var(--defult);
}

.contacts__descr:focus {
  outline-offset: 5px;
  outline: 2px solid var(--focus-color);
}

.contacts__descr:hover {
  text-shadow: 0px 0px 5px #7151BC;
}

.contacts__descr:active {
  color: var(--active-color);
  border: none;
}

.contacts__map {
  margin-top: 98px;
  margin-left: 50px;
  width: 300px;
  height: 300px;
}

/* QUESTIONS */
.questions__title {
  margin-bottom: var(--gap);
}

.questions__list {
  display: flex;
  flex-wrap: wrap;
  --offset: 2;
  gap: var(--gap);
  margin-bottom: 97px;
}

.questions__items {
  padding: 60px 60px 60px 55px;
  border: 1px solid var(--grey);
  border-radius: 32px;
  max-width: 596px;
  width: calc((100% - var(--gap) * var(--offset)) / (var(--offset) + 1));
}

.questions__items-title {
  max-width: 412px;
  margin: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29.26px;
}

.questions__items-descr {
  max-width: 450px;
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
}

/* FOOTER */
.footer {
  width: 100%;
  margin: 0 auto;
  align-items: center;
  padding: 6px 200px;
  padding-bottom: 7px;
  border-top-right-radius: 32px;
  border-top-left-radius: 32px;
  background-color: white;
  box-shadow: 0px 5px 30px white;
}

.footer__content {
  margin: 0;

  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
}

.footer__left {
  max-width: 252px;
}

.footer__logo {
  margin-bottom: 20px;
  fill: wheat;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  color: var(--grey);
  padding-left: 25px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 18px;
  line-height: 36px;
}

.footer__nav-link {
  margin: 0;
  transition: 0.3s ease-in-out;
}

.footer__nav-link:focus {
  outline-offset: 5px;
  outline: 2px solid var(--focus-color);
  cursor: pointer
}

.footer__nav-link:hover {
  border-bottom: solid 2px var(--hover-color);
  text-shadow: 0px 0px 5px #7151BC;
}

.footer__nav-link:active {
  color: var(--active-color);
  border: none;
  border-bottom: solid 2px var(--active-color);
}

.footer__middle {
  width: 32%;
  padding-top: 57px;
}

.footer__links {
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding-left: 25px;
}

.footer__right {
  width: 32%;
  padding-top: 57px;
}

.footer__descr {
  color: var(--defult);
  font-weight: 400;
  font-size: 32px;
  line-height: 51px;
}

.footer__titile-form {
  margin: 0;
  color: var(--defult);
  font-weight: 400;
  font-size: 33px;
  line-height: 58.51px;
  margin-bottom: 25px;
}

.form__wrapper-top {
  display: flex;
  flex-direction: column;
}

.form__input {
  align-items: center;
  padding-left: 24px;
  border: 1px solid var(--defult);
  border-radius: 16px;
  min-height: 51px;
  max-width: 271px;
  margin-bottom: 25px;
}

.form__input:focus {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);;
  border-radius: 16px;
}

.form__input:hover {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);;
  border-radius: 16px;
}

.form__input:active {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);;
  border-radius: 16px;
}

.form__textarea {
  padding-top: 14px;
  padding-left: 24px;
  border: 1px solid var(--defult);
  border-radius: 16px;
  min-height: 82px;
  margin-bottom: 30px;
  box-sizing: border-box;
  resize: none;
}

.form__textarea:focus {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);;
  border-radius: 16px;
}

.form__textarea:hover {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);;
  border-radius: 16px;
}

.form__textarea:active {
  outline: none;
  border: 1px solid var(--defult);
  box-shadow: 0 0 30px var(--defult);
  border-radius: 16px;
}

.form__wrapper-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.form__btn {
  background-color: var(--defult);
  color: white;
  text-shadow: 0px 0px 5px white;
  width: 269px;
  min-height: 58px;
  font-weight: 700;
  font-size: 16px;
  line-height: 12px;
  align-items: center;
}

.form__btn:focus {
  background-color: var(--focus-color);
}

.form__btn:hover {
  background-color: var(--hover-color);
}

.form__btn:active {
  background-color: var(--active-color);
}

.form-label {
  display: flex;
  align-items: center;
  color: var(--defult);
  font-weight: 400;
  font-size: 15px;
}

.form__check {
  display: none;
}

.form-label .form__check-custom {
  cursor: pointer;
  position: relative;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  background-color: transparent;
  border: 1px solid var(--defult);
  border-radius: 2px;
}

.form__check-custom .form__chec-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.form-label input:checked+.form__check-custom .form__chec-checkmark {
  display: block;
}

.footer__links-item-img svg {
  fill: var(--grey1);
  transition: 0.3s ease-in-out;
}

.footer__links-item-img:focus svg {
  outline-offset: 5px;
  outline: 1px solid var(--focus-color);
}

.footer__links-item-img:hover svg {
  fill: var(--hover-color);
}

.footer__links-item-img:active svg {
  fill: var(--active-color);
}

/* ========== АДАПТИВНАЯ ВЕРСИЯ ДЛЯ ПЛАНШЕТОВ (768px - 1024px) ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 80%;

  }

  .header {
    max-width: 80%;
    margin-bottom: 100px;
  }

  .img {
    padding-right: 10px;
  }

  .header__contacts {
    margin-left: 650px;
    font-size: 20px;
  }

  .text_logo {
    margin-left: 150px;
    margin-top: 100px;
  }

  .nav__items {
    font-size: 18px;
  }

 

  .nav__items:not(:last-child) {
    margin-right: 40px;
  }

  .about_us__content,
  .products__content {
    padding: 40px 70px;
    margin-bottom: 100px;
  }

  .about-us__descr,
  .products__descr-text {
    font-size: 25px;
    line-height: 25px;
  }

  .products__img_1 {
    flex-direction: column;
    gap: 20px;
  }

  .products__img_1_1,
  .products__img_1_2 {
    width: 100%;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-color: white;
  }

  .products__img_2 {
    background-color: white;
    height: 400px;
    background-size: contain;
    background-position: center;
  }

  .contacts__adress {
    width: 100%;
    height: auto;
    padding: 50px;
    flex-direction: column;
  }

  .contacts__list {
    margin-right: 0;
    width: 100%;
  }

  .contacts__items {
    width: 100%;
  }

  .contacts__caption-items {
    font-size: 32px;
  }

  .contacts__descr,
  .contacts__descr-1 {
    font-size: 22px;
    padding-top: 20px;
  }

  .contacts__map {
    margin: 40px auto;
    /*width: 100%;*/
    height: 300px;
  }

  .footer__content {
    flex-wrap: wrap;
  }

  .footer__left,
  .footer__middle,
  .footer__right {
    width: 100%;
    padding-top: 20px;
  }

  .footer__descr,
  .footer__titile-form {
    font-size: 28px;
  }
}

/* ========== АДАПТИВНАЯ ВЕРСИЯ ДЛЯ МОБИЛЬНЫХ (до 767px) ========== */
@media (max-width: 767px) {
  .container {
    max-width: 80%;
    
  }

  .header {
    max-width: 80%;
    padding: 10px 15px;
    margin-bottom: 50px;
    position: relative;
  }

  .header__contacts {
    position: static;
    float: none;
    margin: 15px 0;
    text-align: center;
    font-size: 18px;
  }

  .text_logo {
    margin: 50px 0 0 0;
    text-align: center;
  }

  .header__container {
    flex-direction: column;
  }

  .header__logo {
    margin: 0 auto 15px;
  }

  .nav__list {
    float: none;
    text-align: center;
  }

  .nav__items {
    display: inline-block;
    font-size: 16px;
    margin: 0 10px 10px;
  }

  .nav__items:not(:last-child) {
    margin-right: 10px;
  }

  .section-title {
    font-size: 36px;
    line-height: 46px;
    padding-left: 0;
    text-align: center;
  }

  .about_us__content,
  .products__content {
    padding: 30px 20px;
    margin-bottom: 50px;
  }

  .about-us__descr,
  .products__descr-text {
    font-size: 24px;
    line-height: 34px;
  }

  .products__img_1_1,
  .products__img_1_2,
  .products__img_2 {
    height: 250px;
    background-size: contain;
    background-position: center;
    background-color: white;
  }

  .contacts__adress {
    padding: 30px 20px;
  }

  .contacts__caption-items {
    font-size: 24px;
    line-height: 30px;
    width: 100%;
  }

  .contacts__descr,
  .contacts__descr-1 {
    font-size: 18px;
    line-height: 24px;
    width: 100%;
    text-align: left;
    padding-top: 10px;
  }

  .contacts__map {
    height: 200px;
    width: 200px;
  }

  .questions__items {
    padding: 30px;
    width: 100%;
    max-width: 100%;
  }

  .footer {
    padding: 20px 15px;
    max-width: 80%;
  }

  .footer__nav {
    padding-left: 0;
  }

  .footer__links {
    padding-left: 0;
  }

  .form__input,
  .form__textarea {
    max-width: 100%;
  }

  .form__btn {
    width: 100%;
  }
}