@import url(reset.min.css);

/* fonts */
/* font-family: 'Red Rose', cursive; */
@import url("https://fonts.googleapis.com/css2?family=Red+Rose:wght@400;700&display=swap");
/* font-family: 'Montserrat', sans-serif; */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");

/* general */
body,
html {
    height: 100%;
}
body {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 30px;
    color: #404040;
    background-color: #fffbf5;
}
.wrapper {
    min-height: 100vh;
    position: relative;
}
.main {
    max-width: 1197px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 6.6vw;
}
.logo img {
    display: block;
    max-width: 100%;
}
.open-menu {
    overflow: hidden;
    height: 100vh;
}
@media (max-width: 1440px) {
    body {
        font-size: 15px;
        line-height: 28px;
    }
    .main {
        max-width: 892px;
        padding-left: 4.3vw;
    }
    .logo {
        max-width: 200px;
    }
}
@media (max-width: 768px) {
    section.screen .main {
        padding: 106px 37px 0;
    }
    .logo {
        max-width: 77px;
    }
}

/* text */
.title {
    font-size: 50px;
    line-height: 60px;
    font-family: "Red Rose", cursive;
    padding-bottom: 34px;
}
.text {
    padding-bottom: 10px;
}
.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.col {
    width: 100%;
    max-width: 48%;
}
.text b {
    font-weight: bold;
}
.screen.screen.active .title {
    -webkit-animation: showTopToBottom 0.5s ease forwards;
    animation: showTopToBottom 0.5s ease forwards;
}
@media (max-width: 1440px) {
    .title {
        font-size: 36px;
        line-height: 46px;
        max-width: 650px;
    }
}
@media (max-width: 768px) {
    .title {
        padding-bottom: 27px;
    }
    .row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .col {
        max-width: 100%;
    }
}

/* btn */
.btn {
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    display: inline-block;
    background-color: #ffba00;
    padding: 14px 43px;
    border: 1px solid #ffba00;
    text-align: center;
    color: #404040;
}
.btn-outline {
    color: #ffba00;
    background-color: transparent;
}
.wrapper-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
@media (max-width: 1440px) {
    .btn {
        padding: 9px 38px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 260px;
    }
    .wrapper-btn {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

/* navbar */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 1;
    width: 426px;
    padding: 9vh 0 33px 68px;
    background: #ffffff;
    border-right: 1px solid #ebe4cb;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
@media (max-width: 1440px) {
    .navbar {
        width: 332px;
        padding: 11vh 0 24px 68px;
    }
}
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #ebe4cb;
        border-right: none;
        padding: 10px 20px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

/* menu-list */
.menu-list {
    padding: 20px 10px 20px 54px;
    width: 100%;
}
.menu-link {
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
}
.menu-item {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}
.menu-item::after {
    content: "";
    position: absolute;
    background: #ffba00;
    width: 6px;
    height: 6px;
    left: -51px;
    top: 11px;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    opacity: 0;
}
.menu-item::before {
    content: "";
    position: absolute;
    background: #ebe4cb;
    width: 0;
    height: 1px;
    left: -50px;
    bottom: 0;
}
.menu-link:hover,
.menu-item.active .menu-link {
    color: #ffba00;
}
.menu-item.active .menu-link {
    pointer-events: none;
}
.menu-item.active::after {
    opacity: 1;
}
.menu-item.active::before {
    width: calc(100% + 120px);
}
.menu-left-border {
    display: block;
    position: absolute;
    left: 72px;
    bottom: 140px;
    width: 1px;
    background: #ebe4cb;
}
.btn-menu {
    display: none;
    position: relative;
    width: 40px;
    height: 25px;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
}
.btn-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    -webkit-box-shadow: 0 -2px 0px 0px #efefef;
    box-shadow: 0 -2px 0px 0px #efefef;
    background-color: #000000;
    left: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.btn-menu span:nth-child(1) {
    top: 0;
}
.btn-menu span:nth-child(2) {
    top: calc(50% - 2px);
}
.btn-menu span:nth-child(3) {
    bottom: 0;
}
.btn-menu.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
}
.btn-menu.open span:nth-child(2) {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    opacity: 0;
}
.btn-menu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 11px;
}
@media (max-width: 1440px) {
    .menu-list {
        padding-top: 10px;
    }
    .menu-item {
        margin-bottom: 30px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .menu-list {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: #efefef;
        padding: 114px 10px 20px 111px;
        -webkit-transition: -webkit-transform 0.5s ease;
        transition: -webkit-transform 0.5s ease;
        -o-transition: transform 0.5s ease;
        transition: transform 0.5s ease;
        transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    }
    .menu-list.open {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .menu-item.active::before {
        width: calc(100% + 20px);
    }
    .menu-left-border {
        left: 61px;
        bottom: 20vh;
    }
    .btn-menu {
        display: block;
        width: 23px;
        height: 17px;
    }
    .btn-menu span {
        height: 2px;
        -webkit-box-shadow: 0 -1px 0px 0px #efefef;
        box-shadow: 0 -1px 0px 0px #efefef;
    }
    .btn-menu span:nth-child(2) {
        top: calc(50% - 1px);
    }
    .btn-menu.open span:nth-child(1) {
        top: 7px;
    }
    .btn-menu.open span:nth-child(3) {
        bottom: 8px;
    }
}

/* footer */
.footer-mob {
    display: none;
}
.footer-item {
    font-size: 13px;
}
.footer-item:first-child {
    padding-right: 25px;
}
a.footer-item:hover,
a.footer-item:focus,
a.footer-item:active {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer {
        display: none;
    }
    .footer-mob {
        display: block;
        text-align: center;
        padding-bottom: 20px;
    }
}

/* content */
.content {
    margin-left: 426px;
    display: block;
}
.content-terms {
    max-width: 1400px;
    margin: 0 auto;
    padding: 150px 20px 40px;
}
@media (max-width: 1440px) {
    .content {
        margin-left: 332px;
    }
}
@media (max-width: 768px) {
    .content {
        margin-left: 0;
    }
}

/* screens */
.wrapper-screens {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}
.screen {
    height: 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    -webkit-transform: translate3d(-200%, 0, 0);
    transform: translate3d(-200%, 0, 0);
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    overflow: auto;
}
.screen.active {
    height: 100%;
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
@media (max-width: 768px) {
    .screen {
        height: auto;
        opacity: 1;
        visibility: visible;
        position: relative;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

/* section-home */
.section-home .main {
    padding-top: 35vh;
}
@media (max-width: 1440px) {
    .section-home .main {
        padding-top: 34vh;
    }
}
@media (max-width: 768px) {
}

/* section-about-us */
.section-about-us .main {
    padding-top: 35vh;
}
@media (max-width: 1440px) {
    .section-about-us .main {
        padding-top: 31vh;
    }
}
@media (max-width: 768px) {
    .section-about-us .title {
        padding-bottom: 21px;
    }
}

/* section-services */
.section-services .main {
    padding-top: 12vh;
}
.section-services .title {
    padding-bottom: 12px;
}
.section-services .text {
    padding-bottom: 4vh;
}
.service-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 870px;
    padding-top: 40px;
}
.service-pic {
    width: 100%;
    max-width: 38%;
    height: auto;
    display: block;
    margin-right: 20px;
}
.service-text {
    max-width: 55%;
}
.service-title {
    font-weight: bold;
    font-family: "Red Rose", cursive;
    text-transform: uppercase;
    font-size: 20px;
}
.service-text p {
    padding-bottom: 10px;
}
@media (max-width: 1440px) {
    .section-services .text {
        display: none;
    }
    .service-item {
        padding-top: 37px;
    }
    .service-pic {
        max-width: 33%;
    }
    .service-text {
        max-width: 61%;
    }
    .service-title {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    section.section-services .main {
        padding-top: 73px;
    }
    .service-item {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 18px 6px 0px;
    }
    .service-pic {
        max-width: 244px;
        margin-bottom: 15px;
    }
    .service-text {
        max-width: 100%;
    }
}

/* section-benefits */
.section-benefits .main {
    padding-top: 21vh;
}
.section-benefits .title {
    padding-bottom: 4vh;
}
.benefits-list {
    max-width: 980px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.benefits-title {
    font-size: 20px;
    padding-bottom: 11px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Red Rose", cursive;
}
.benefits-item {
    padding-bottom: 30px;
}
.benefits-item:nth-child(2n-1) {
    max-width: 45%;
}
.benefits-item:nth-child(2n) {
    max-width: 47%;
}
@media (max-width: 1440px) {
    .section-benefits .main {
        padding-top: 11vh;
    }
    .section-benefits .title {
        padding-bottom: 5vh;
    }
    .benefits-title {
        font-size: 18px;
    }
    .benefits-item:nth-child(2n-1) {
        max-width: 46%;
    }
}
@media (max-width: 768px) {
    .section-benefits .title {
        padding-bottom: 24px;
    }
    .benefits-list {
        display: block;
    }
    .benefits-item {
        padding-bottom: 13px;
    }
}

/* section-contact */
.section-contact .main {
    padding-top: 23vh;
}
.section-contact .title {
    padding-bottom: 15px;
}
@media (max-width: 1440px) {
    .section-contact .main {
        padding-top: 15vh;
    }
    .section-contact .title {
        padding-bottom: 10px;
    }
}
@media (max-width: 768px) {
    section.section-contact .main {
        padding-top: 79px;
    }
    .section-contact .title {
        padding-bottom: 7px;
    }
}

/* section-terms */
.section-terms {
    max-width: 1400px;
    padding: 100px 35px 20px 5vw;
}
.section-terms h2 {
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 20px;
    padding-top: 10px;
}
.section-terms p {
    padding-bottom: 20px;
}
.section-terms b {
    font-weight: bold;
}
.section-terms ul {
    padding-left: 20px;
    padding-bottom: 10px;
}
.section-terms li {
    list-style-type: disc;
    padding-bottom: 10px;
}
.section-terms a {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .section-terms {
        padding-left: 35px;
    }
}

/* form */
.form {
    max-width: 755px;
    position: relative;
    padding-top: 4vh;
}
.form-note {
    padding-bottom: 10px;
}
.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.form-row .form-item {
    max-width: 48%;
}
.form-item {
    width: 100%;
    padding-bottom: 32px;
    position: relative;
}
.form-captcha {
    padding-bottom: 32px;
    position: relative;
}
.form-item-textarea {
    padding-bottom: 10px;
}
.form-control {
    background-color: #fff;
    border: 1px solid #ebe4cb;
    width: 100%;
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    padding: 10px 10px 10px 39px;
    height: 50px;
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: 13px center;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
    -webkit-appearance: none;
    border-radius: 0;
}
.form-control-name {
    background-image: url(../images/contact/user.svg);
}
.form-control-email {
    background-image: url(../images/contact/envelope.svg);
}
.form-control-message {
    background-image: url(../images/contact/message.svg);
    background-position-y: 14px;
    background-size: 19px;
}
textarea.form-control {
    height: 130px;
    resize: none;
}
.form-error {
    position: absolute;
    right: 0;
    bottom: 4px;
    font-size: 13px;
    color: #ff3000;
}
.form-item-textarea .form-error {
    bottom: -7px;
}
.has-error .form-control {
    -webkit-box-shadow: 0 2px 0px 0px #ff3000;
    box-shadow: 0 2px 0px 0px #ff3000;
}
@media (max-width: 1440px) {
    .form-error {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .form {
        padding-bottom: 83px;
        padding-top: 14px;
    }
    .form-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .form-row .form-item,
    .form-row .form-captcha,
    .form-row .form-btn {
        width: 100%;
        max-width: 100%;
    }
    .form-captcha {
        padding-bottom: 32px;
    }
    .form .btn {
        margin: 0 auto;
        display: block;
    }
    .form-error {
        font-size: 13px;
        bottom: 7px;
    }
    .form-item-textarea .form-error {
        bottom: -3px;
    }
}

/* popup */
.popup {
    position: fixed;
    background-color: #ffffff;
    z-index: 900;
    padding: 39px 45px 49px;
    border: 1px solid #ebe4cb;
    max-width: 589px;
    -webkit-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
    display: none;
}
.popup.show {
    display: block;
    -webkit-animation: showTopToBottom 0.7s 0.5s ease forwards;
    animation: showTopToBottom 0.7s 0.5s ease forwards;
}
.popup-text {
    padding-bottom: 27px;
    line-height: 26px;
    font-size: 16px;
}
.popup-text a:hover,
.popup-text a:focus,
.popup-text a:active {
    text-decoration: underline;
}
.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.popup-close::after,
.popup-close::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #ebe4cb;
    right: 0;
    top: 10px;
}
.popup-close::after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.popup-close::before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.popup-cookies {
    right: 20px;
    bottom: 20px;
}
.popup-thanks {
    position: absolute;
    top: 20px;
    left: calc(50% - 392px / 2);
}
.popup-thanks .btn {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 150px;
    padding-top: 13px;
    padding-bottom: 13px;
}
@media (max-width: 1440px) {
    .popup {
        padding: 29px 38px 39px;
        max-width: 478px;
    }
    .popup-text {
        font-size: 15px;
    }
    .popup .btn {
        padding: 9px 31px;
    }
}
@media (max-width: 768px) {
    .popup {
        padding: 18px 30px 12px;
        max-width: 478px;
    }
    .popup-text {
        padding-bottom: 16px;
        line-height: 28px;
    }
    .popup .btn {
        margin: 0 auto 15px;
    }
    .popup-cookies {
        right: 10px;
        left: 10px;
        bottom: 10px;
    }
    .popup-thanks {
        max-width: 300px;
        top: 20%;
        left: calc(50% - 300px / 2);
        text-align: center;
    }
}

/* slick */
.slick-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    top: -4px;
}
.slick-dots button {
    font-size: 0px;
    line-height: 0px;
    height: 10px;
    width: 10px;
    background-color: #404040;
    border: 1px solid #404040;
    margin: 0 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}
.slick-dots button::before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    background-color: #ffb900;
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    z-index: -1;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0;
}
.slick-active button {
    border-color: #ebe4cb;
    background-color: #fff;
}
.slick-active button::before {
    opacity: 1;
}

/* animation */
@-webkit-keyframes showTopToBottom {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}
@keyframes showTopToBottom {
    0% {
        -webkit-transform: translateY(-50px);
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}
