/* Fonts */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* Root */
:root {
    --font-main: 'Magistral', sans-serif;
    --main-color: #f75922;
    --main-hover: #e64d17;
    --text-color: #111111;
    --white-color: #ffffff;
    --grey-color: #f5f5f5;
    --radius: 16px;
    --container: 1320px;
    --transition: .3s ease;
}

/* Reset */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: var(--font-main), sans-serif;
    color: var(--text-color);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}

/* Grid */
.container,
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.container {
    max-width: 100%;
    max-width: 1500px;
    padding: 0 100px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
[class*="col-"] {
  padding-right: 15px;
  padding-left: 15px;
}
.col {
  flex: 1 0 0%;
}
.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }
@media (min-width: 576px) {
  .col-sm-1 { width: 8.333333%; }
  .col-sm-2 { width: 16.666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.333333%; }
  .col-sm-5 { width: 41.666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.333333%; }
  .col-sm-8 { width: 66.666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.333333%; }
  .col-sm-11 { width: 91.666667%; }
  .col-sm-12 { width: 100%; }
}
@media (min-width: 768px) {
  .col-md-1 { width: 8.333333%; }
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-8 { width: 66.666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-1 { width: 8.333333%; }
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  .col-lg-11 { width: 91.666667%; }
  .col-lg-12 { width: 100%; }
}
@media (min-width: 1200px) {
  .col-xl-1 { width: 8.333333%; }
  .col-xl-2 { width: 16.666667%; }
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.333333%; }
  .col-xl-5 { width: 41.666667%; }
  .col-xl-6 { width: 50%; }
  .col-xl-7 { width: 58.333333%; }
  .col-xl-8 { width: 66.666667%; }
  .col-xl-9 { width: 75%; }
  .col-xl-10 { width: 83.333333%; }
  .col-xl-11 { width: 91.666667%; }
  .col-xl-12 { width: 100%; }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal__dialog {
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
}
.modal__header,
.modal__body,
.modal__footer {
    padding: 30px;
}
.modal__header {
    position: relative;
    text-align: center;
}
.modal__title {
    margin: 0;
    padding-top: 55px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}
.modal__title span {
    color: #f75922;
}
.modal__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}
.modal__close img {
    width: 30px;
    height: 30px;
    display: block;
}
.modal__body {
    padding: 20px 80px;
}
.modal__body .form-group {
    margin-bottom: 20px;
}
.modal__body .form-group input {
    width: 100%;
    height: 60px;
    padding: 10px 20px;
    border: 0;
    border-radius: 15px;
    background: #eaeaea;
    font-family: var(--font-main), sans-serif;
    font-size: 20px;
    font-weight: 300;
}
.modal__body .form-group input:focus {
    outline: none;
}
.modal__footer {
    padding: 0 80px 60px;
    text-align: center;
}
.modal__footer button {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 15px;
    font-family: var(--font-main), sans-serif;
    font-weight: 900;
    cursor: pointer;
}

/* Меню мобила */
.mobile-toggle {
    display: none;
    width: 28px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 10001;
    cursor: pointer;
    float: right;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #113386;
    margin: 6px 0;
    border-radius: 10px;
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: .3s;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
    font-family: var(--font-main);
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.header .mobile-nav .has-child > a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 10px;
    width: 21px;
    height: 21px;
    background: url(../img/icon/arrow-right.svg) no-repeat center / contain;
}
.mobile-nav.active {
    right: 0;
}
.mobile-menu-head {
    padding: 24px 24px 14px;
}
.mobile-toggle {
    display: none;
    width: 28px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 10001;
    cursor: pointer;
    float: right;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #113386;
    margin: 6px 0;
    border-radius: 10px;
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: .3s;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
    font-family: var(--font-main);
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav.active {
    right: 0;
}
.mobile-menu-head {
    padding: 24px 24px 14px;
}
.mobile-menu-close {
    border: 0;
    background: #08256f;
    color: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-main);
    margin: 15px 20px 0;
    width: 90%;
}
.mobile-first-level,
.mobile-menu-list,
.mobile-submenu {
    max-width: 100%;
    overflow-x: hidden !important;
}
.mobile-first-level {
    overflow: visible;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
.mobile-menu-list,
.mobile-submenu {
    list-style: none;
    margin: 0;
}
.mobile-menu-list {
    height: auto;
    overflow: visible;
    padding: 15px 20px;
}
.mobile-menu-list li,
.mobile-submenu li {
    margin-bottom: 10px;
}
.mobile-menu-list a,
.mobile-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f2f2;
    color: #222;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: 16px;
    line-height: 0.9;
    font-weight: 500;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.menu-arrow {
    flex: 0 0 auto;
    font-size: 34px;
    line-height: 1;
    margin-left: 12px;
    display: none;
}
.mobile-submenu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 80%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    transform: none;
    transition: .3s;
    overflow-y: auto;
    overflow-x: hidden !important;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-submenu.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}
.mobile-submenu.active .mobile-submenu {
    visibility: hidden;
    pointer-events: none;
}
.mobile-submenu.active .mobile-submenu.active {
    visibility: visible;
    pointer-events: auto;
}
.submenu-header {
    padding: 15px 20px;
}
.mobile-submenu-back {
    border: 0;
    background: #113386;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 18px;
    padding: 10px 30px;
    cursor: pointer;
    font-family: var(--font-main);
    border-radius: 10px;
    line-height: 1;
}
.submenu-title {
    font-size: 20px;
    font-weight: 700;
    color: #242424;
}
.mobile-submenu li {
    margin: 0 20px 10px;
}
.mobile-submenu.submenu-locked {
    overflow: hidden;
}
.mobile-menu-list a:focus,
.mobile-submenu a:focus,
.mobile-menu-close:focus,
.mobile-submenu-back:focus,
.mobile-toggle:focus {
    outline: none;
}
body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}
body.mobile-menu-open .mobile-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.mobile-menu-contacts {
    padding: 10px 25px calc(40px + env(safe-area-inset-bottom));
}
.mobile-menu-phone {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #222;
    text-decoration: none;
    margin-bottom: 10px;
}
.mobile-menu-address {
    font-size: 16px;
    line-height: 1.45;
    color: #555;
    margin-bottom: 16px;
}
.mobile-menu-address a {
    color: #242424;
}
.mobile-menu-address a span {
    color: #113386;
    font-weight: 700;
}
.mobile-menu-whatsapp {
    display: block;
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
}
@media (max-width: 1023px) {
    .mobile-toggle {
        display: block;
    }
}

/* Header */

/* Footer */


/* Mobile */
@media (max-width: 768px) {
    .col-6,
    .col-4,
    .col-3 {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .modal {
        padding: 15px;
    }
    .modal__header {
        padding: 25px 20px 20px;
    }
    .modal__body {
        padding: 20px;
    }
    .modal__footer {
        padding: 0 20px 30px;
    }
    .modal__title {
        padding-top: 35px;
        font-size: 22px;
    }
    .modal__close {
        top: 15px;
        right: 15px;
    }
    .modal__body .form-group input {
        height: 55px;
        font-size: 18px;
    }
    .modal__footer button {
        height: 55px;
    }
}