/* Reset */
html {
    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
*{
    box-sizing: border-box;
}
*::before, *::after{
    box-sizing: inherit;
}
*:focus{
    outline: none;
}
body {
    margin: 0;
}
article, aside, footer, header, nav, section, figcaption, figure, main{
    display: block;
}
h1, h2, h3, h4, h5, h6, figure, p, dl, dd{
    margin: 0;
}
hr {
    border: none;
    box-sizing: content-box;
    height: 1px;
    overflow: visible;
}
a {
    background-color: transparent;
    color: inherit;
    text-decoration:none;
    -webkit-text-decoration-skip: objects;
    outline: none;
}
a:active, a:hover {
    outline-width: 0;
}
ul{
    list-style:none;
}
ol{
    list-style-position: inside;
}
ul, ol, li{
    margin:0;
    padding:0;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
td, th {
    padding: 0;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
small {
    font-size: 80%;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
mark{
    background: none;
}
audio, video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
img {
    border-style: none;
}
svg:not(:root) {
    overflow: hidden;
}
button, input, optgroup, select, textarea {
    border-radius: 0;
    font: inherit;
    margin: 0;
}
optgroup {
    font-weight: bold;
}
button, input {
    border: none;
    overflow: visible;
}
button, select {
    text-transform: none;
}
button {
    background: none;
    border: none;
    -webkit-appearance: button;
    -moz-appearance: button;
    padding: 0;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}
legend {
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
textarea {
    border: none;
    overflow: auto;
}
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
input::-ms-clear, [hidden] {
    display: none;
}

@media print {
    *, *::before, *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    blockquote {
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}


/* Variablse */
:root {
    --text-color: #333;
    --primary: #C00A2B;
    --alert: #FF7171;
    --success: #0BC275;
}


/* Fonts */
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(Gilroy-Regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(Gilroy-Medium.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(Gilroy-SemiBold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/*  Default */
body{
    background-color: #fff;
    color: var(--text-color);
    font: 400 14px/155% 'Gilroy';
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
svg{
    fill: currentColor;
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}
.container{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}
.section{
    padding-top: 50px;
}
.section-title{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}
.section-title:before, .section-title:after{
    content: '';
    flex: 1;
    height: 2px;
}
.section-title:before{
    background: linear-gradient(90deg, #FFF 0%, var(--primary) 100%);
}
.section-title:after{
    background: linear-gradient(90deg, var(--primary) 0%, #FFF 100%);
}
.hide{
    display: none !important;
}
.is-loading{
    background-size: 40px 40px;
    background-image: linear-gradient(45deg,rgba(255,255,255,.5) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.5) 75%,transparent 75%,transparent);
    animation: progress-bar-stripes 2s linear infinite;
    pointer-events: none;
}
@keyframes progress-bar-stripes {
    from {background-position: 40px 0;}
    to {background-position: 0 0;}
}
p{
    margin-bottom: 20px;
    line-height: 155%;
}
img{
    display: block;
    max-width: 100%;
}
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    height: 40px;
    padding: 0 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24px;
    text-transform: uppercase;
    cursor: pointer;
}
.btn-primary{
    background-color: var(--primary);
    color: #fff;
}
.btn-block{
    display: flex;
}
.form-group{
    display: block;
    margin-bottom: 20px;
    position: relative;
}
.form-input{
    border: 1px solid #fff;
    background-color: transparent;
    width: 100%;
    height: 40px;
    padding: 0 12px;
}
.is-error, .is-error .form-label{
    color: var(--alert);
}
.is-error .form-input{
    border-color: var(--alert);
}
.modal {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    outline: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
.modal-close {
    width: 42px;
    height: 42px;
    padding: 9px;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    color: var(--blue-dark);
    cursor: pointer;
}
.modal-mode {
    overflow: hidden !important;
}
.modal-open {
    display: flex;
}
.modal-content {
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}
.modal-header {
    padding: 20px 15px 10px;
}
.modal-body {
    padding: 0 20px;
}
.modal-footer {
    padding: 15px 20px;
}
.modal-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 155%;
    letter-spacing: 0.24px;
    text-align: center;
}
.alert{
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px 20px;
    gap: 0 20px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.28px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.12);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s linear 0s;
}
.alert-show{
    opacity: 1;
    z-index: 10;
}
.alert-icon{
    width: 24px;
    height: 24px;
    color: var(--primary);
}


/* Header */
.header{
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}
.header .container{
    display: flex;
    align-items: center;
}
.header .btn{
    width: 160px;
}
.logo{
    width: 143px;
    height: 40px;
    margin-right: auto;
    cursor: pointer;
}
.nav{
    display: none;
}


/* Intro */
.section-intro{
    background: linear-gradient(222deg, rgba(0, 0, 0, 0.00) -55.88%, rgba(0, 0, 0, 0.90) 80.5%), url(/images/header-lg.jpg) no-repeat center / auto 100%;
    color: #fff;
    padding: 60px 30px;
}
.section-intro h1{
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.section-intro p{
    margin-bottom: 0;
    font-size: 16px;
}


    /* About */
.section-about picture{
    display: block;
    margin-bottom: 14px;
}
.section-about ul{
    margin-bottom: -30px;
}
.section-about li{
    margin-bottom: 30px;
    line-height: 160%;
}


/* Services */
.section-services ul{
    counter-reset: services;
    background: linear-gradient(222deg, rgba(0, 0, 0, 0.00) -55.88%, rgba(0, 0, 0, 0.90) 80.5%), url(/images/banner-lg.jpg) no-repeat center / auto 100%;
    margin-bottom: -20px;
    padding: 30px;
    color: #fff;
}
.section-services li{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.section-services li:before{
    counter-increment: services;
    content: counter(services);
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 16px;
    font-weight: 700;
}


/* Partners */
.section-partners ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -7.5px -20px;
}
.section-partners li{
    width: 33.3333%;
    margin-bottom: 20px;
    padding: 0 7.5px;
}
.section-partners dl{
    background-color: var(--text-color);
    margin: 0;
    padding: 5px 0;
    color: #fff;
    text-align: center;
}
.section-partners dt{
    margin-bottom: -10px;
    font-size: 27px;
    font-weight: 700;
    line-height: 155%;
    letter-spacing: 1.08px;
}
.section-partners dd{
    font-weight: 500;
    line-height: 155%;
    letter-spacing: 0.56px;
}


/* Contacts */
.section-contacts dl{
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}
.section-contacts dt{
    width: 24px;
    height: 24px;
    margin-right: 16px;
    flex-shrink: 0;
    color: var(--primary);
}
.section-contacts img{
    margin-top: 16px;
}
.contacts{
    margin-bottom: 30px;
}
.form{
    background-color: var(--primary);
    padding: 30px;
    color: #fff;
}
.form-title{
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 700;
    line-height: 155%;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}
.form .btn{
    background-color: #fff;
    color: var(--primary);
}
.form svg{
    width: 21px;
    height: 6px;
    margin-left: 12px;
}
.form .form-input{
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}


/* Footer */
.footer{
    margin-top: 40px;
}
.footer .container{
    position: relative;
    padding-top: 27px;
    padding-bottom: 25px;
}
.footer .container:before{
    content: '';
    background: linear-gradient(90deg, #FFF 0%, var(--primary) 50.5%, #FFF 100%);
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.footer-nav{
    display: none;
}
.footer-contacts{
    margin-bottom: 20px;
}
.footer-button{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.14px solid;
    width: 40px;
    height: 40px;
    color: var(--primary);
    cursor: pointer;
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.footer-button svg{
    width: 6px;
    height: 11px;
}


/* Media Queries */
@media (min-width: 0) and (max-width: 767px) {
    .modal-content {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        max-height: 100%;
    }
    .modal-header {
        background-color: #fff;
        position: sticky;
        top: 0;
        z-index: 5;
    }
    .modal-footer {
        background-color: #fff;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 5;
        margin-top: auto;
    }
}


@media (min-width: 768px) {
    .modal-open {
        display: flex;
    }
    .modal-open .modal-dialog {
        transform: translate(0, 0);
    }
    .modal-content {
        position: relative;
    }
    .modal-dialog {
        position: relative;
        width: 100%;
        max-width: 590px;
        margin: auto;
        padding: 20px;
    }
    .modal-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 15px;
    }
    .modal-footer .btn {
        display: flex;
        flex: 1;
    }
    .alert{
        width: 345px;
        left: 50%;
        right: auto;
        bottom: 30px;
        transform: translateX(-50%);
    }


    .section-intro{
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-size: auto;
        height: 400px;
    }
    .section-intro h1, .section-intro p{
        max-width: 500px;
    }
    .section-about ul{
        display: flex;
        gap: 0 30px;
    }
    .section-about li{
        flex: 1;
    }

    .section-services ul{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        height: 400px;
    }
    .section-services li{
        width: 420px;
    }

    .section-partners li{
        width: 25%;
    }
}


@media (min-width: 1024px) {
    .nav{
        display: block;
    }
    .nav-list{
        display: flex;
        gap: 0 30px;
        margin-right: 100px;
    }
    .nav-link{
        cursor: pointer;
    }


    .footer .container{
        display: grid;
        grid-template-areas: 'nav contacts' 'copyright contacts';
    }
    .footer-nav{
        display: flex;
        gap: 0 30px;
        grid-area: nav;
        margin-bottom: 20px;
    }
    .footer-button{
        top: 50%;
        right: 0;
        bottom: auto;
        transform: translateY(-50%);
    }
    .footer-contacts{
        display: block;
        margin-right: 150px;
        margin-bottom: 0;
        grid-area: contacts;
    }
    .footer-copyright{
        grid-area: copyright;
    }


    .section-about ul{
        gap: 0 50px;
    }
    .section-partners ul{
        margin-left: -13px;
        margin-right: -13px;
    }
    .section-partners li{
        width: 16.6666%;
        padding: 0 13px;
    }

    .section-contacts .section-content{
        display: flex;
        flex-direction: row-reverse;
        gap: 0 60px;
    }
    .contacts{
        flex: 1;
    }
    .contacts dl{
        margin-bottom: 20px;
    }
    .contacts img{
        margin-top: 10px;
    }
    .form{
        width: 400px;
        flex-shrink: 0;
    }
}