*{
  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: #111111;
  --dark: #1B1B1B;
  --bg: #ECECED;
  --grey: #DEDDDD;
  --grey-light: #F6F6F7;
  --grey-dark: #4F5054;
  --red: #C71717;
  --red-middle: #D85D5D;
  --red-light: #E38B8B;
  --green: #3FA963;
  --green-light: #E3F6E7;
}
.white{
  color: var(--white) !important;
}
.black{
  color: var(--black) !important;
}
.grey-light{
  color: var(--grey-light) !important;
}
.grey-dark{
  color: var(--grey-dark) !important;
}
.green{
  color: var(--green) !important;
}
.red{
  color: var(--red) !important;
}
.grey-light-bg{
  background-color: var(--grey-light) !important;
}
.grey-dark-bg{
  background-color: var(--grey-dark) !important;
}
.white-bg{
  background-color: var(--white) !important;
}
.black-bg{
  background-color: var(--black) !important;
}
.dark-bg{
  background-color: var(--dark) !important;
}
.red-bg{
  background-color: var(--red) !important;
}
.grey-bg{
  background-color: var(--grey);
}
.green-light-bg{
  background-color: var(--green-light);
}
.bg{
  background-color: var(--bg);
}
.border-red{
  border: 1px solid var(--red);
}
.border-green{
  border: 1px solid var(--green);
}

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

/* CONTAINER */
.container{
  width: 100%;
  max-width: 1470px;
  padding: 0 20px;
  margin: 0 auto;
}
.radius{
  border-radius: 8px;
}
.under-space{
  padding: 100px 0;
}
.distance{
  margin-top: 80px;
  margin-bottom: 100px;
}
.under-distance{
  padding-top: 80px;
  padding-bottom: 100px;
}
.space-section{
  padding: 60px;
}

/* BUTTONS */
button{
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.btn{
  font-weight: 500;
  padding: 11px 30px 12px 30px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  border: 1px solid var(--red);
  white-space: nowrap;
  height: max-content;
  width: max-content;
  display: block;
  text-align: center;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}
.btn:disabled{
  opacity: .5;
}
.btn-white{
  background-color: var(--white);
  border-color: var(--white);
  color: var(--red);
}
.btn-white:hover{
  opacity: .9;
}
.btn-border{
  background-color: transparent;
  border-color: var(--red-light);
  color: var(--black);
}
.btn-border:hover{
  background-color: var(--white);
  border-color: var(--white);
  color: var(--red) !important;
}
.btn-border:hover:not(.btn-border.white){
  background-color: var(--red);
  border-color: var(--red);
  color: var(--white) !important;
}
.btn-red{
  background-color: var(--red);
  color: var(--white);
}
.btn-red:hover{
  background-color: #DB2B2B;
  border-color: #DB2B2B;
}

/* BODY */
body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
}
body.noscroll{
  overflow: hidden;
}
main{
  padding-top: 128px;
}

/* INPUTS */
input{
  outline: unset;
  cursor: pointer;
}
input[type="checkbox"] {
  appearance: none;
  border: 1px solid var(--red);
  min-width: 24px;
  height: 24px;
  background-color: var(--white);
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  border-radius: 4px;
}
input[type="checkbox"]:checked{
  background-image: url('../images/icons/checked.svg');
  background-color: var(--red);
}
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;
  background: var(--white);
  padding: 8px 16px 10px 16px;
  resize: unset;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
  outline: unset;
  display: block;
  border-radius: 4px;
  opacity: .8;
}
input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder{
  font-size: 16px;
}
input[type="text"].disabled,
input[type="tel"].disabled,
input[type="email"].disabled,
textarea.disabled{
  opacity: .3;
  pointer-events: none;
}
.input input,
.input textarea{
  width: 100%;
}
.input input.filled,
.input textarea.filled{
  opacity: 1;
}
.input.invalid textarea,
.input.invalid input{
  color: var(--red) !important;
}
.input.invalid textarea::placeholder,
.input.invalid input::placeholder{
  color: var(--red) !important;
}

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

/* TITLES */
.big-title{
  font-size: 44px;
  line-height: 120%;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
}
.title{
  font-size: 36px;
  line-height: 130%;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
}
.small-title{
  font-size: 28px;
  line-height: 130%;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
}
.sub-title{
  font-size: 17px;
  line-height: 150%;
  color: var(--grey-dark);
  text-transform: uppercase;
}
.sub-title a{
  color: var(--grey-dark);
}
.sub-title a:hover{
  color: var(--red);
}
.title-section .title{
  margin: 16px 0;
}
.title-section .desc-title{
  font-size: 18px;
  opacity: .8;
}
@media(min-width: 1279px){
  .title-section{
    max-width: 830px;
  }
}
p,
li{
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
}
s{
  text-decoration: line-through;
}
img{
  display: block;
  object-fit: cover;
}
svg{
  flex-shrink: 0;
}
strong{
  font-weight: 700;
}

/* HEADER */
header{
  position: fixed;
  width: 100%;
  z-index: 10;
  top: 0;
  left: 0;
}
.header-top,
.header-bottom{
  padding: 10px 0;
}
.header a,
.header-phone,
.header-menu a{
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
}
.header a:hover,
.header li.current-menu-item a,
.header-menu a:hover,
.header-menu li.current-menu-item a{
  color: var(--red);
}
.header-logo p{
  font-size: 9px;
  line-height: 12px;
}
.header .menu{
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-lang a{
  font-size: 14px;
  line-height: 19px;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
}
.header-lang .current-lang{
  opacity: .5;
  pointer-events: none;
}
.header-btn{
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--red);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* LINK */
.link{
  font-size: 16px;
  line-height: 150%;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.link:hover{
  opacity: .8;
}
.link::after{
  content: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.1665 10H15.8332M9.99984 15.8333L15.8332 10L9.99984 4.16666" stroke="%23D85D5D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* BURGER */
.burger-toggle span{
  width: 20px;
  height: 2px;
  background-color: black;
  border-radius: 50%;
}
.burger-modal{
  position: fixed;
  top: 0;
  z-index: 12;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: calc(100vh);
  overflow: hidden;
}
.burger-modal.show{
  right: 0;
}
.burger-menu_header{
  padding: 10px 16px;
  background-color: var(--grey-light);
}
.burger-menu_body{
  padding: 40px 20px 30px 20px;
  height: calc(100% - 64px);
}
.burger-menu_body .header-menu .menu{
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* MODAL */
.modal{
  z-index: 12;
  position: fixed;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: right;
  width: 100%;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal.show{
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.modal-frame{
  max-width: 738px;
  width: 100%;
  min-height: 550px;
  margin: 20px;
  height: max-content;
  background-color: var(--white);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}
.close-modal{
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 40px;
  top: 40px;
}

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

/* OWL CAROUSEL */
.owl-stage-outer{
  z-index: 1;
}
.owl-carousel .owl-stage{
  display: flex;
}
.owl-dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: absolute;
  z-index: 2;
}
.owl-dot{
  width: 8px;
  height: 8px;
  background-color: #7C77A6;
  opacity: .5;
  border-radius: 50%;
}
.owl-dot.active{
  width: 30px;
  opacity: 1;
  border-radius: 32px;
}
.white-dots .owl-dot{
  background-color: var(--white);
}
.owl-nav button{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.owl-prev,
.owl-next{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.owl-prev{
  left: -70px;
}
.owl-next{
  right: -70px;
}

/* SELECT */
.select{
  width: 100%;
  position: relative;
  user-select: none;
}
.select span{
  padding: 8px 40px 10px 16px;
  border: 1px solid var(--violet-bg);
  background-color: var(--violet-bg);
  border-radius: 12px;
  display: block;
}
.selected{
  cursor: pointer;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.select.active .selected,
.select .selected.have-value{
  border-color: var(--violet);
}
.selected:after{
  content: '';
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.75 0.75L7.75 14.75M7.75 14.75L14.75 7.75M7.75 14.75L0.75 7.75" stroke="%23857AE3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: contain;
  background-position: center;
  transition: all 0.3s ease;
}
.select.active .selected:after{
  transform: rotate(-180deg) translateY(50%);
  background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.75 0.75L7.75 14.75M7.75 14.75L14.75 7.75M7.75 14.75L0.75 7.75" stroke="%2368A362" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.select-options{
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background-color: var(--violet-bg);
  display: none;
  border-radius: 12px;
  z-index: 9;
  padding: 8px 16px;
  flex-direction: column;
  gap: 8px;
}
.select.active .select-options{
  display: flex;
}
.select-option{
  cursor: pointer;
  text-align: start;
}
.select-option:hover{
  color: var(--green);
}

/* SOCIALS */
.socials a{
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--grey-dark);
}
.socials a:hover{
  background-color: var(--red-middle);
}

/* SHARE */
.share{
  position: relative;
  z-index: 1;
}
.share a{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: var(--grey-light);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FOOTER */
footer{
  padding: 100px 0;
}
footer *{
  color: var(--white);
}
.footer-bottom *{
  opacity: .6;
}
footer a:hover{
  opacity: 1 !important;
  color: var(--red-middle);
}
.footer-info{
  width: 350px;
}
.footer-info_phone{
  font-size: 28px;
  line-height: 130%;
  font-weight: 600;
}
.footer-info_address{
  line-height: 150%;
}
.footer-menu{
  max-width: 830px;
  width: 100%;
  grid-template-columns: 1.3fr 1.3fr 1fr;
}
.footer-menu_links{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-menu_links a{
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  text-transform: uppercase;
}
.footer-menu_links a.d-block{
  margin-bottom: 24px;
}
.footer-menu_links ul li a{
  font-weight: 400;
  text-transform: unset;
  font-size: 16px;
  opacity: .8;
}

@media(max-width: 1439px){
  .space-section{
    padding: 60px 20px;
  }
}
@media(max-width: 1279px){
  .under-space{
    padding: 70px 0;
  }
  .space-section{
    padding: 40px 20px;
  }
  .header-menu{
    width: 100%;
  }
  .header .menu{
    justify-content: space-between;
    gap: 20px;
  }
  .header-bottom{
    padding: 22px 0;
  }
  .header-logo img{
    max-width: 106px;
  }
  .header-logo p{
    font-size: 8px;
    line-height: 11px;
  }
  footer{
    padding: 70px 0;
  }
  .footer-info{
    width: 100%;
  }
  .footer-menu{
    max-width: 100%;
    grid-template-columns: 1.2fr 1.4fr 1fr;
  }
  .footer-logo{
    min-width: 210px;
  }
  .big-title{
    font-size: 40px;
  }
  .title{
    font-size: 32px;
  }
  .under-distance {
    padding-top: 60px;
    padding-bottom: 70px;
  }
  .distance {
    margin-top: 60px;
    margin-bottom: 70px;
  }
}
@media(max-width: 959px){
  main{
    padding-top: 64px;
  }
  .footer-menu{
    grid-template-columns: 1fr 1.5fr 1fr;
  }
  
}
@media(max-width: 767px){
  .under-space{
    padding: 40px 0;
  }
  .space-section{
    padding: 30px 16px 40px 16px;
  }
  .container{
    padding: 0 16px;
  }
  footer{
    padding: 40px 0;
  }
  .footer-menu{
    grid-template-columns: 1fr 1fr;
  }
  .footer-menu_links:nth-last-of-type(1){
    grid-column: span 2;
  }
  .big-title{
    font-size: 32px;
  }
  .title{
    font-size: 24px;
  }
  .sub-title{
    font-size: 14px;
  }
  .small-title{
    font-size: 20px;
  }
  .title-section .title{
    margin: 8px 0;
  }
  .title-section .desc-title{
    font-size: 15px;
  }
  .form-policy p{
    font-size: 15px;
  }
  .under-distance {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .distance {
    margin-top: 30px;
    margin-bottom: 40px;
  }
}
@media(max-width: 575px){
  
}
@media(max-width: 479px){
  .header-logo p{
    font-size: 6px;
    line-height: 10px;
  }
  .header .header-phone{
    display: none;
  }
  .header-phone_mobile{
    display: flex !important;
  }
  .footer-menu{
    grid-template-columns: 1fr;
  }
  .footer-menu_links:nth-last-of-type(1){
    grid-column: unset;
    grid-template-columns: 1fr;
  }
  .footer-menu_links a.d-block{
    margin-bottom: 0;
  }
}