*{
  margin: 0;
  padding: 0;
  font-weight: 400;
  list-style: none;
  text-decoration: none;
  font-family: 'Inter';
  box-sizing: border-box;
  -ms-overflow-style: none;
  transition: all 0.3s ease;
}

/* COLORS */
:root{
  --white: #ffffff;
  --black: #022239;
  --red: #EF282B;
  --dark: #16364D;
  --hint: #738694;
  --defender: #B9C3CA;
  --grey: #D9DDE3;
  --grey-light: #E3E7ED;
  --bg: #F3F5F6;
  --blue: #007BE1;
}
.white{
  color: var(--white) !important;
}
.black{
  color: var(--black) !important;
}
.dark{
  color: var(--dark) !important;
}
.red{
  color: var(--red) !important;
}
.blue{
  color: var(--blue) !important;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 1px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background-color: var(--blue);
}
/* Edge */
*::-webkit-scrollbar {
  width: 1px;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--blue);
}
/* Firefox */
*{
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--bg);
}

/* CONTAINER */
.container{
  max-width: 1340px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.distance{
  margin-top: 140px;
}
.under-space{
  padding: 120px 0 140px 0;
}

/* BUTTONS */
button{
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.btn{
  font-weight: 600;
  padding: 12px 32px 14px 32px;
  font-size: 18px;
  line-height: 150%;
  background: var(--blue);
  color: var(--white);
  white-space: nowrap;
  height: max-content;
  width: max-content;
  display: block;
  text-align: center;
}
.btn:disabled{
  opacity: .5;
}
.btn:hover{
  background: var(--dark);
}
.btn-border{
  padding: 11px 31px 13px 31px;
  background: var(--white);
  border: 1px solid var(--blue);
  color: var(--blue);
}
.btn-border:hover{
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.btn-border:hover svg path{
  stroke: var(--white);
}
.btn-white{
  background: var(--white) !important;
  color: var(--blue) !important;
}
.btn-white:hover{
  color: var(--dark) !important;
}

/* BODY */
body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg);
}
body.noscroll{
  overflow: hidden;
}
main{
  padding-top: 80px;
}
.white-bg{
  background-color: var(--white) !important;
}
.black-bg{
  background-color: var(--black) !important;
}
.grey-bg{
  background-color: var(--grey) !important;
}
.grey-light-bg{
  background-color: var(--grey-light) !important;
}
.dark-bg{
  background-color: var(--dark) !important;
}
.red-bg{
  background-color: var(--red) !important;
}

/* INPUTS */
input{
  outline: unset;
  cursor: pointer;
}
input[type="checkbox"] {
  appearance: none;
  border: 1px solid var(--blue);
  min-width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
input[type="checkbox"]:checked{
  background-image: url('../images/checked.svg');
  background-color: var(--blue);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea{
  border: unset;
  border-bottom: 1px solid var(--hint);
  background: var(--white);
  padding: 0px 20px 16px 20px;
  resize: unset;
  font-size: 18px;
  line-height: 150%;
  color: var(--hint);
  outline: unset;
}
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder{
  color: var(--hint);
}
input[type="text"].disabled,
input[type="tel"].disabled,
input[type="email"].disabled,
textarea.disabled{
  opacity: .5;
  pointer-events: none;
}
.input input,
.input textarea{
  width: 100%;
}
.input input.filled,
.input textarea.filled{
  font-weight: 500;
  border-color: var(--blue);
  color: var(--black);
}
.input.invalid textarea,
.input.invalid input{
  border-color: var(--red);
  color: var(--red);
}
.input.invalid textarea::placeholder,
.input.invalid input::placeholder{
  color: var(--red);;
}

/* FORM POLICY */
.form-policy{
  display: flex;
  gap: 8px;
  cursor: pointer;
  text-align: left;
}
.form-policy p{
  font-size: 18px;
  color: var(--dark);
}
.form-policy a{
  color: var(--blue);
}

/* TITLES */
.title{
  font-size: 40px;
  line-height: 120%;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
}
.small-title{
  font-size: 32px;
  line-height: 135%;
  font-weight: 600;
  color: var(--black);
}
p{
  font-size: 18px;
  line-height: 150%;
  color: var(--dark);
}
s{
  text-decoration: line-through;
}
img{
  display: block;
  object-fit: cover;
}

/* HEADER */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 0;
  background-color: var(--white);
}
header a{
  font-size: 18px;
  line-height: 150%;
  color: var(--black);
}
header a:hover{
  color: var(--blue);
}
.header-menu{
  display: flex;
  align-items: center;
}
.menu{
  display: flex;
  align-items: center;
  gap: 30px;
}

/* BURGER */
.burger-toggle{
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.burger-modal{
  position: fixed;
  top: 0;
  z-index: 12;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  padding: 20px;
  overflow: hidden;
  padding: 20px 20px 30px 20px;
}
.burger-modal.show{
  right: 0;
}
.burger-menu .menu{
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 30px;
}
.burger-modal a{
  font-size: 28px;
  line-height: 150%;
  color: var(--black);
}

/* MODAL */
.modal{
  z-index: 12;
  position: fixed;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal.show{
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.modal-frame{
  max-width: 610px;
  margin: 200px 20px 20px 20px;
  width: 100%;
  height: max-content;
  background-color: var(--white);
  padding: 30px;
  position: relative;
}
.close-modal{
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -80px;
  top: 0;
}

/* BACKGROUND */
.background{
  background: var(--dark);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  opacity: 0;
  z-index: 11;
  pointer-events: none;
}
.background.show{
  opacity: .9;
  pointer-events: all;
}

/* FOOTER */
footer{
  padding: 120px 0;
  background-color: var(--dark);
  position: relative;
  overflow: hidden;
}
.footer{
  position: relative;
  z-index: 1;
}
footer a:hover{
  color: var(--blue);
}
.footer-address{
  font-size: 18px;
  line-height: 150%;
  font-weight: 600;
  color: var(--white);
}
.footer-phone,
.footer-email{
  font-size: 32px;
  line-height: 120%;
  font-weight: 600;
  color: var(--white);
}
.footer-bottom p{
  color: var(--defender);
}
.footer-bottom_spot{
  min-width: 713px;
  min-height: 713px;
  border-radius: 50%;
  filter: blur(277px);
  background: #022239;
  position: absolute;
}
.footer-bottom_spot.left{
  top: -115px;
  left: -230px;
}
.footer-bottom_spot.right{
  top: 140px;
  right: 0;
}


@media(max-width: 1199px){
  .menu{
    gap: 20px;
  }
  .distance{
    margin-top: 120px;
  }
  .under-space{
    padding: 100px 0 120px 0;
  }
  .footer-bottom_spot.left{
    left: -441px;
  }
  .footer-bottom_spot.right{
    top: 208px;
    right: -312px;
  }
}
@media(max-width: 959px){
  .header-menu{
    display: none;
  }
  .close-modal{
    top: -80px;
    right: 0;
  }
}
@media(max-width: 767px){
  .title{
    font-size: 28px !important;
  }
  .distance{
    margin-top: 80px;
  }
  .under-space,
  footer{
    padding: 70px 0 80px 0;
  }
  .footer-address{
    font-size: 17px;
  }
  .footer-phone,
  .footer-email{
    font-size: 28px;
  }
  .footer-bottom p{
    font-size: 15px;
  }
  .footer-bottom_spot.right{
    top: 208px;
    right: -600px;
  }
  .modal-frame{
    margin: 70px 20px 20px 20px;
    padding: 20px;
  }
  .close-modal{
    width: 50px;
    height: 50px;
    top: -50px;
  }
  .close-modal svg{
    width: 50px;
    height: 50px;
  }
}
@media(max-width: 575px){
  .small-title{
    font-size: 28px;
  }
  #contactModal .contacts-text .small-title{
    font-size: 20px;
  }
}