/* 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: #292725;
    --blue: #74ABDE;
    --blue-light: #ECEFFB;
    --blue-dark: #688EB2;
    --gray: #AFB1BD;
    --gray-light: #F9F9F9;
    --gray-dark: #67686B;
    --alert: #FF7171;
    --success: #0BC275;
}


/*  Default */
body{
    display: flex;
    flex-direction: column;
    background-color: #fff;
    min-height: 100vh;
    color: var(--text-color);
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 155%;
    -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: 950px;
    margin: 0 auto;
    padding: 0 15px;
}
.section{
    padding-top: 50px;
}
.section-subtitle{
    margin-bottom: 10px;
    color: var(--blue-dark);
    line-height: 155%;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}
.section-title{
    margin-bottom: 20px;
    font: 400 32px/155% "Merriweather", serif;
}
.section-header{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.section-header .section-title{
    margin: 0 auto 0 0;
}
.section-image{
    overflow: hidden;
}
.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(--blue-dark);
    border-radius: 24px;
    height: 48px;
    padding: 0 12px;
    color: var(--blue-dark);
    cursor: pointer;
}
.btn-primary{
    background-color: var(--blue);
    color: #fff;
}
.btn-block{
    display: flex;
}
.form-group{
    display: block;
    margin-bottom: 20px;
    position: relative;
}
.form-input{
    border: none;
    border-bottom: 1px solid var(--gray);
    background-color: transparent;
    width: 100%;
    height: 53px;
    padding: 0;
}
.form-input::placeholder {
    color: transparent;
}
.form-label{
    height: 22px;
    color: var(--gray);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(15px);
    transition: transform 0.2s linear 0s;
    letter-spacing: 0.28px;
}
.form-input:-webkit-autofill ~ .form-group_label {
    font-size: 12px;
    transform: translateY(-5px);
}
.form-input:focus ~ .form-label, .form-input:not(:placeholder-shown) ~ .form-label {
    font-size: 12px;
    transform: translateY(-5px);
}
.is-error, .is-error .form-label{
    color: var(--alert);
}
.is-error .form-input{
    border-bottom-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;
    justify-content: space-between;
    background-color: var(--blue-light);
    border: 1px solid var(--blue-dark);
    border-radius: 10px;
    padding: 10px;
    gap: 0 15px;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    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: 33px;
    height: 32px;
    color: var(--success);
}


/* Header */
.header{
    background-color: var(--blue-light);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
}
.header .container{
    display: flex;
    align-items: center;
}
.header .btn{
    width: 160px;
}
.logo{
    width: 122px;
    height: 48px;
    margin-right: auto;
    cursor: pointer;
}
.nav{
    display: none;
}


/* Intro */
.section-intro{
    background: linear-gradient(180deg, var(--blue-light) 0%, rgba(236, 239, 251, 0.35) 78.12%, rgba(236, 239, 251, 0.00) 100%);
}
.section-intro .btn{
    width: 140px;
}


/* Services */
.features-item{
    margin-bottom: 15px;
}
.features-number{
    display: flex;
    align-items: flex-end;
    border: 1px solid;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    color: var(--blue-dark);
}
.features-number-value{
    background-color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.64px;
    transform: translate(18px, 2px);
}


/* Brands */
.card-list{
    margin-bottom: -30px;
}
.card{
    margin-bottom: 30px;
    cursor: pointer;
}
.card-image{
    margin-bottom: 15px;
}
.card-title{
    display: flex;
    justify-content: center;
}


/* Partners */
.carousel {
    overflow: hidden;
}
.carousel, .carousel-list {
    position: relative;
}
.carousel-list {
    display: block;
    font-size: 0;
    white-space: nowrap;
}
.carousel-item {
    display: inline-flex;
    align-items: center;
    vertical-align: top;
    width: 170px;
    height: 92px;
    margin-right: 15px;
    padding: 16px 20px;
}
.carousel-controls {
    display: none;
}
.carousel-control {
    width: 55px;
    height: 38px;
    color: var(--blue-dark);
    cursor: pointer;
}
.carousel-item span{
    cursor: pointer;
}


/* Contacts */
.section-contacts h3{
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 155%;
    letter-spacing: 0.28px;
}
.map{
    display: flex;
    align-items: center;
    height: 130px;
    margin: 0 -15px;
    overflow: hidden;
}
.map-image{
    transform: translateY(-14%);
    width: 100%;
    height: auto;
}
.section-form{
    background-color: var(--gray-light);
    margin: 0 -15px;
    padding: 30px 15px;
}



/* Footer */
.footer{
    background: linear-gradient(180deg, var(--blue-light) 0%, rgba(236, 239, 251, 0.30) 100%);
    margin-top: auto;
    padding: 20px 0;
}
.footer-nav, .footer-button{
    display: none;
}
.footer-copyright{
    color: var(--gray-dark);
    font-size: 12px;
    line-height: 155%;
    letter-spacing: 0.24px;
}
.localization{
    margin-bottom: 15px;
    position: relative;
}
.localization-title{
    position: absolute;
    top: 20px;
    font-weight: 500;
    letter-spacing: 0.28px;
}
.footer-contacts{
    margin-bottom: 30px;
}
.footer-contacts p{
    margin-bottom: 5px;
}


/* Brand */
.brand{
    padding: 30px 0 40px;
}
.brand-logo{
    margin-bottom: 20px;
}
.brand-logo img{
    height: 60px;
}
.brand-content{
    margin-bottom: 20px;
}
.brand-link{
    color: var(--blue-dark);
}


/* 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;
    }


    /* Intro */
    .section-intro .btn{
        display: none;
    }
    .section-intro .section-image{
        border-radius: 90px 0 90px 0;
    }
}


@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;
    }
    .section{
        display: flex;
        align-items: center;
        gap: 0 50px;
    }
    .section-image, .section-content, .section-form{
        flex: 1;
    }
    .section-intro .section-image, .section-services .section-image, .section-form{
        max-width: 480px;
    }
    .alert{
        width: 345px;
        left: 50%;
        right: auto;
        bottom: 30px;
        transform: translateX(-50%);
    }


    /* Footer */
    .footer{
        padding: 40px 0 30px;
    }
    .footer .container{
        display: grid;
        grid-template-areas: 'nav localozation contacts' 'copyright copyright copyright';
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
    }
    .footer-nav{
        display: block;
        grid-area: nav;
    }
    .footer-nav li{
        margin-bottom: 25px;
    }
    .footer-nav span{
        text-decoration: underline;
        cursor: pointer;
    }
    .footer-nav a:hover,.footer-button:hover .footer-button-text{
        text-decoration: none;
    }
    .footer-contacts{
        grid-area: contacts;
        max-width: 200px;
    }
    .footer-button{
        display: flex;
        align-items: center;
        gap: 0 15px;
        position: absolute;
        right: 0;
        top: -114px;
        cursor: pointer;
    }
    .footer-button-icon{
        width: 36px;
        height: 54px;
        color: var(--blue-dark);
    }
    .footer-button-text{
        transform: translateY(5px);
        text-decoration: underline;
    }
    .localization{
        grid-area: localozation;
    }
    .footer-copyright{
        grid-area: copyright;
        text-align: left;
    }



    /* Intro */
    .section-intro{
        display: block;
    }
    .section-intro .container{
        display: flex;
        align-items: center;
        gap: 0 50px;
    }
    .section-intro .section-image{
        border-radius: 100px 0;
        max-width: 480px;
    }


    /* Services */
    .features{
        display: flex;
        flex-wrap: wrap;
        margin: 0 -25px;
    }
    .features-item{
        width: 50%;
        margin-bottom: 20px;
        padding: 0 25px;
    }
    .features-item:last-child{
        width: 100%;
        margin-bottom: 0;
    }


    /* Brands */
    .section-brands{
        display: block;
    }
    .card-list{
        display: flex;
        gap: 0 30px;
    }


    /* Partners */
    .section-partners{
        display: block;
    }
    .carousel-controls{
        display: flex;
        gap: 0 20px;
    }


    /* About */
    .section-about{
        flex-direction: row-reverse;
    }


    /* Contacts */
    .section-contacts{
        align-items: stretch;
        margin-bottom: 40px;
    }
    .section-form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 100px 0;
        margin: 0;
        padding: 50px;
    }
    .section-form .section-title{
        margin-bottom: 15px;
        font-size: 24px;
    }
    .map{
        border-radius: 0 100px;
        height: 325px;
        margin: 0;
    }
    .map-image{
        transform: none;
    }
    .row{
        display: flex;
        gap: 0 65px;
    }
    .col{
        flex: 1;
    }


    /* Brands */
    .brand .container{
        display: flex;
        gap: 0 40px;
    }
    .brand-image{
        width: 100%;
        max-width: 445px;
        flex-shrink: 0;
    }
}


@media (min-width: 1024px) {
    /* Header */
    .nav{
        display: block;
    }
    .nav-list{
        display: flex;
        gap: 0 30px;
        margin-right: 100px;
    }
    .nav-link{
        cursor: pointer;
    }
}