@charset "UTF-8";
@import 'font.css';

* {
    max-height: 100000px;
    -webkit-text-size-adjust: none;
}

/* General styles */
html {
    width: 100%;
    height: 100%;
}
body, input, select, textarea, button, label, table, tbody, tfoot, thead, tr, th, td {
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}
body {
    width: 100%;
    height: 100%;
    min-width: 300px;
}
* html #container {
    height: 100%;
}
#wrapper {
    width: 100%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    background: url("../images/bg.jpg") no-repeat 50% 100%;
    background-size: cover;
}
section {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.center {
    width: calc(100% - 160px);
    max-width: 1030px;
    margin: 0 auto;
    position: relative;
}
a {
    color: black;
}
sup {
    font-size: 60%;
    line-height: 0;
    position: relative;
}
:focus {
    outline: none;
}
.btn {
    height: 55px;
    background-color: #E99210;
    background-image: linear-gradient(190deg, #E99210 0%, #FF4500 100%);
    border-radius: 28px;
    padding: 0 30px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Form style */
.form h2 {
    margin-bottom: 23px;
    font: 700 24px/27px 'Gotham Pro';
    color: #000000;
    text-align: center;
}
.form label {
    display: block;
    text-align: center;
    color: #9e9e9e;
    font-family: 'Gotham Pro', sans-serif;
    font-size: 9px;
    font-weight: 400;
}
.form label a {
    color: #9e9e9e;
}
.form input[type=text],.form input[type=email]  {
    display: block;
    width: 100%;
    height: 55px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    background-color: #f4f4f4;
    border-radius: 28px;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    color: #1c1c1c;
    font-size: 18px;
    font-weight: 400;
    line-height: 40px;
}
.form input[type=text]::placeholder {
    opacity: 0.5;
}
.form input[type=text]:focus {
    background-color: #c4c1d2;
}
.form label input[type=checkbox] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border: 1px solid #9e9e9e;
    flex: 0 0 auto;
    margin: -3px 4px 0 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    cursor: pointer;
}
.form label input[type=checkbox]::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background-color: #9e9e9e;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 1px;
    margin: 1px 0;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
}
.form label input[type=checkbox]:checked::after {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}


/* Header */
header {
    width: calc(100% - 60px);
    max-width: 1170px;
    display: flex;
    margin: 18px auto 0;
    justify-content: space-between;
}
header .logo {
    opacity: 0.98;
    color: white;
    font-family: 'Gotham Pro', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    text-decoration: none;
}
header .right {
    display: flex;
    justify-content: flex-end;
}
header .phone {
    opacity: 0.98;
    color: white;
    font-family: 'Gotham Pro', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
}
header .phone .time {
    display: block;
    font-size: 18px;
    font-weight: 400;
    margin-top: 5px;
}
header .btn {
    height: 44px;
    margin: 4px 0 0 29px;
    padding: 0 24px 3px;
    border-radius: 22px;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.3px;
}

/* First Block */
.firstBlock {
    margin-top: 75px;
}
.firstBlock h1 {
    text-align: center;
    color: white;
    font-family: 'Gotham Pro', sans-serif;
    font-size: 53px;
    font-weight: 900;
    line-height: 63px;
}
.firstBlock .content {
    margin: 30px 0 0;
    padding: 31px 0 14px;
    background-color: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 18px 2px rgba(0, 4, 7, 0.2);
    position: relative;
    z-index: 1;
}
.firstBlock .content::after {
    content: '';
    display: block;
    width: 255px;
    height: 419px;
    background: url("../images/content-bg.png") no-repeat 0 0;
    position: absolute;
    top: -30px;
    right: -167px;
    z-index: -1;
}
.firstBlock .brands {
    margin: 0 30px;
    padding: 0 35px 0 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 7px 18px 2px rgba(0, 4, 7, 0.2);
}
.firstBlock .brands .slick-list::before {
    content: '';
    display: block;
    width: 2px;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.firstBlock .brands .slick-list::after {
    content: '';
    display: block;
    width: 7px;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    right: -4px;
    z-index: 2;
}
.firstBlock .brands .item {
    display: flex;
    height: 172px;
    justify-content: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-position: 50% 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.firstBlock .brands .item::after {
    content: '';
    display: block;
    width: 1px;
    height: 136px;
    background-color: #bcbcbc;
    border-radius: 1px;
    position: absolute;
    top: 18px;
    right: -1px;
}
.firstBlock .brands .item img {
    display: block;
    max-width: 70%;
}
.firstBlock .brands .slick-arrow {
    width: 22px;
    height: 41px;
    margin-top: -20px;
    background: url("../images/arrow.png") no-repeat 0 0;
    border: none;
    font-size: 0;
    position: absolute;
    top: 50%;
    z-index: 2;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.firstBlock .brands .slick-arrow.slick-prev {
    left: 28px;
}
.firstBlock .brands .slick-arrow.slick-next {
    right: 28px;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
.firstBlock .brands .slick-dots {
    width: calc(100% - 61px);
    position: absolute;
    bottom: 10px;
    text-align: center;
    z-index: 10;
}
.firstBlock .brands .slick-dots li {
    display: inline-block;
    margin: 0 3px;
}
.firstBlock .brands .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #a0a0a0;
    background: none;
    font-size: 0;
    line-height: 0;
}
.firstBlock .brands .slick-dots li.slick-active button {
    background-color: #a0a0a0;
    background-image: linear-gradient(179deg, transparent 0%, rgba(7, 7, 7, 0.11) 100%);
}
.forms {
    display: flex;
    margin: 33px -70px 0;
    align-items: flex-start;
    justify-content: space-between;
}
.forms .form {
    width: calc((100% - 302px) / 2);
    margin-bottom: 41px;
    padding: 26px 32px 34px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 7px 18px 2px rgba(0, 4, 7, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.forms .form .btn {
    width: 100%;
    margin-bottom: 14px;
    padding-bottom: 5px;
}
.main-image {
    flex: 0 0 auto;
    width: 346px;
    margin: 25px -40px 0 -19px;
    z-index: 2;
}
.forms .form h2 {
    margin-bottom: 26px;
    line-height: 28px;
}


/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    margin: -26px 29px 0;
}
footer .copyright {
    color: #787878;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    width: 136px;
    height: 38px;
    background: url('../images/reqs.png');
}
footer .social {
    display: flex;
    margin: 3px 0 0;
}
footer .social a {
    display: inline-flex;
    margin: 0 1px 0 9px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.9);
    opacity: 0.55;
}
/*footer .social img {

}*/

/* Popups */
.popup {
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #ffffff;
    max-width: 95%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Popup Brand */

.popupBrand {
    width: 929px;
    padding: 34px 36px 20px;
}
.popupBrand .logo {
    display: block;
    margin: 0 auto 0;
}
.popupBrand .text {
    column-count: 2;
    column-gap: 26px;
    margin: 27px 0 0;
    height: 307px;
    overflow: hidden;
}
.popupBrand .text p {
    color: #1c1c1c;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.6px;
    margin-bottom: 26px;
}
.popupBrand .text img {
    margin: 0 20px 0 auto;
    display: block;
}
.popupBrand[data-brand=feirelend] .text img{
    position: relative;
    top: 50px;
}
.popupBrand[data-brand=galaxy] .text img{
    position: relative;
    top: -30px;
}
.popupBrand .form {
    border-top: 1px solid rgba(0,0,0,0.2);
    margin: 32px 0 0;
    padding: 29px 0 0;
}
.popupBrand .form h2 {
    width: 100%;
    margin-bottom: 23px;
}
.popupBrand .form input[type=text] {
    width: 210px;
    font-size: 14px;
}
.popupBrand .form .btn {
    width: 191px;
    font-size: 14px;
}
.popupBrand .form form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.popupBrand .form label {
    width: 100%;
}

/* Popup Form */
.popupForm {
    width: 435px;
    padding: 31px 29px 25px;
}
.popupForm .btn {
    width: 100%;
    margin: 0 0 20px;
}

/* Popup Thanks */
.popupThanks {
    width: 943px;
    padding: 40px 57px 30px 56px;
    overflow: visible;
}
.popupThanks h2 {
    font: 900 24px/29px 'Gotham Pro';
    color: #000;
    text-align: center;
}
.popupThanks .content {
    display: flex;
    align-items: center;
    margin: 41px 0 0;
    padding: 30px 0 33px 30px;
    box-shadow: 0 7px 18px 2px rgba(0, 4, 7, 0.2);
    border-radius: 20px;
    background-color: #fff;
}
.popupThanks .content .text {
    margin: -2px 0 -25px 36px;
}
.popupThanks .content .text p {
    color: #1c1c1c;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}
.popupThanks .btn {
    display: block;
    margin: 45px auto 0;
    width: 370px;
    height: 55px;
}
.popupThanks .social {
    display: flex;
    margin: 3px 0 0;
    justify-content: center;
    position: absolute;
    width: 100%;
    bottom: -60px;
    left: -6px;
}
.popupThanks .social a {
    display: flex;
    margin: 0 1px 0 9px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #fff;
}
.popupThanks .social a img {
    filter: invert(100%);
}

input.error {
    box-shadow: 0 0 10px rgba(255,0,0,0.6);
}


.fancybox-close-small {
    width: 19px;
    height: 19px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAp0lEQVQ4T73UYQeAMBAG4E2KqET0/39fn1IRI3qPjZndbss0Lqrd07qraaVUi5gQBnEiSseIhA5xaBwWe0LIjdgLtBlzezvfEEby4AG5oA9R+kUYjfCGBEbnO6wEZB/sYzlg8g1CLAWKpYhhMfDBxUZqEofFQGexzUlhlLwGK6IVbtx3+MvKwmJ/rhnXteJuSgnZ35kEubqLf0AulASr7xpV97NqO+0LbqU+XgSxvYwAAAAASUVORK5CYII=') no-repeat 0 0;
    top: 18px;
    right: 18px;
}
.fancybox-close-small::after {
    display: none;
}

@media (max-width: 1100px) {
    .firstBlock h1 {
        font-size: 48px;
        line-height: 58px;
    }
    .forms .form h2 {
        font-size: 19px;
        line-height: 22px;
    }
    .forms .form {
        padding: 26px 22px 24px;
    }
}

@media (max-width: 1024px) {
    .firstBlock h1 {
        font-size: 42px;
        line-height: 52px;
    }
    .forms .form h2 {
        font-size: 18px;
        line-height: 21px;
    }
    .form input[type=text] {
        font-size: 16px;
        line-height: 19px;
    }
    .forms .form .btn {
        padding: 0;
        font-size: 14px;
        line-height: 17px;
    }
    .popupBrand .form input[type=text] {
        width: 100%;
    }
    .popupBrand .form .btn {
        width: 100%;
        margin-bottom: 20px;
    }
    .popupBrand .text {
        height: auto;
    }
}

@media (max-width: 980px) {
    .firstBlock h1 {
        font-size: 36px;
        line-height: 46px;
    }
    .main-image {
        width: 286px;
        margin: 25px -81px 0 -60px;
    }
    .forms .form {
        width: calc((100% - 252px) / 2);
        margin-bottom: 41px;
        padding: 20px 20px 24px;
    }
    .form input[type=text] {
        font-size: 14px;
        line-height: 17px;
    }
}

@media (max-width: 860px) {
    .firstBlock .brands {
        padding-bottom: 12px;
    }
    .forms {
        flex-wrap: wrap;
        /* justify-content: center; */
    }
    .forms .form:first-of-type {
        display: flex;
        width: calc(100% - 367px);
        order: 2;
        justify-content: center;
    }
    .forms .form:last-of-type {
         max-width: 390px;
         width: 100%;
         order: 3;
         justify-content: center;
         margin: 10px auto 70px;
         display: flex;
         justify-content: center;
     }
    .main-image {
        width: 346px;
        margin: 25px -80px 0 55px;
        order: 1;
    }
}
@media (max-width: 767px) {
    .popupBrand {
        padding: 34px 26px 20px;
    }
    .popupBrand .form h2 {
        margin: 0 10px 10px;
    }
    .popupBrand .form {
        margin-top: 0;
        padding-top: 13px;
    }
    .popupBrand .text {
        column-count: 1;
        height: auto;
    }

    .popupBrand .text p {
        font-size: 16px;
        line-height: 19px;
    }
    .popup h2 {
        font-size: 15px;
        line-height: 22px;
    }
    .popupThanks {
        padding: 30px 15px 30px;
        margin-bottom: 100px;
    }
    .popupThanks .content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .popupThanks .content .text {
        margin: 20px 10px 0;
    }
    .popupThanks .content .text p {
        font-size: 16px;
        line-height: 19px;
    }
    .popupThanks .btn {
        width: 100%;
    }
    .popupBrand .text img,
    .popupBrand[data-brand=feirelend] .text img,
    .popupBrand[data-brand=galaxy] .text img {
        margin: 0 auto 50px;
        top: 0;
        left: 0;
    }
}

@media (max-width: 700px) {
    .center {
        width: calc(100% - 40px);
    }
    header {
        width: calc(100% - 40px);
    }
    header .logo {
        font-size: 16px;
        line-height: 21px;
    }
    header .phone {
        font-size: 17px;
        line-height: 18px;
    }
    header .phone .time {
        font-size: 15px;
    }
    header .right {
        display: block;
        text-align: right;
    }
    header .btn {
        margin-top: 10px;
        font-size: 12px;
    }
    .firstBlock {
        margin-top: 30px;
    }
    .firstBlock h1 {
        font-size: 28px;
        line-height: 31px;
    }
    .firstBlock .content::after {
        display: none;
    }
    .firstBlock .brands .item::after {
        display: none;
    }
    .forms {
        flex-direction: column;
        align-items: center;
        margin: 33px 0 0;
    }
    .forms .form {
        width: 100%;
    }
    .forms .form:first-of-type {
        width: 100%;
        max-width: 390px;
        order: 1;
    }

    .main-image {
        max-width: 100%;
        margin: 0 0 0;
        order: 2;
    }
}

@media (max-width: 500px) {
    .center {
        width: calc(100% - 20px);
    }
    header {
        width: calc(100% - 20px);
    }
    .firstBlock .brands {
        padding: 0 15px 15px;
    }
    .firstBlock .brands .slick-arrow.slick-prev {
        left: 10px;
    }
    .firstBlock .brands .slick-arrow.slick-next {
        right: 10px;
    }
    .forms .form:first-of-type,
    .forms .form:last-of-type {
        max-width: 280px;
    }
    .forms .form:last-of-type {
        margin-bottom: 45px;
    }
    .main-image {
        max-width: 250px;
    }
    footer {
        flex-direction: column;
        align-items: center;
    }
    footer .social {
        order: 1;
        margin: 0 0 16px -10px;
    }
    footer .copyright {
        order: 2;
    }
}