/* Define colors */

:root {
    --clr-background: #F9F9F9;
    --clr-accent: #AA957C;
    --clr-biege: #EBDBCA;
    --clr-brown: #38322E;
    --clr-black: #0E0D0A;
}

/* Global CSS */

*,
::before,
::after {
    box-sizing: border-box;
}


body,
button,
input,
textarea {
    font-family: 'Gotham Pro', Arial, Helvetica, sans-serif;
}


body {
    margin: 0;
    color: var(--clr-black);
    line-height: 24px;
    background-color: var(--clr-background);
}


img {
    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-decoration: none;
    transition: color 300ms ease;
}

a:hover {
    color: var(--clr-accent);
}


button {
    cursor: pointer;
}


input {
    height: 48px;
    padding: 0 18px;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid var(--clr-accent);
    border-radius: 4px;
    transition: border-color 300ms ease;
}

input:focus {
    border-color: var(--clr-biege);
    outline: none;
}

input::placeholder {
    color: #575653;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h2 {
    font-size: 36px;
    line-height: 1;
}

/* Site Header */

.site-header{
    padding-top: 40px;
    padding-bottom: 59px;
}

.site-header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    display: grid;
    grid-template-columns: 40px 105px;
    column-gap: 16px;
}

.pl .logo{
    grid-template-columns: 40px 125px;
}

.logo__title{
    max-width: 105px;
    font-size: 11.5px;
    line-height: 14px;
    text-transform: uppercase;
    color: var(--clr-black);
}

.pl .logo__title{
    min-width: 125px;
}

.phone-link{
    display: flex;
}

.phone-link__button{
    display: flex;
    align-items: center;
    margin-right: 26px;
}

.phone-link__button-link{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--clr-black);
}

.phone-link__button-link::before{
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    top: -2px;
    right: -2px;
    border-radius: 50%;
    background-color: #9BD71B;
    z-index: 1;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(1.0,0,0,1.0);
    animation-duration: 0.9s;
    -webkit-animation-name: blink;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
    -webkit-animation-duration: 0.9s;
}

.phone-link__button-link::after{
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    position: absolute;
    top: -12px;
    left: -12px;
    background-image: url(/assets/img/phone-link-bg.png);
    background-position: 50%;
    animation: spin 1.5s linear infinite;
}

.phone-link__title{
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--clr-black);
}

.phone-link__number{
    font-size: 36px;
    font-weight: 700;
    color: var(--clr-black);
}

.position__wrap{
    display: flex;
}

.position{
    display: flex;
    height: fit-content;
    margin-right: 14px;
    padding: 6px 16px;
    border-radius: 55px;
    background-color: #000;
    filter: drop-shadow(0px 1px 13px rgba(0, 0, 0, 0.25));
}

.position > svg{
    position: relative;
    top: 4px;
}

.position__text{
    margin-left: 10px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.lang-switcher{
    display: flex;
    align-items: center;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.lang-switcher__current{
    margin-right: 3px;
}

.lang-switcher__current, .lang-switcher__item a{
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    color: var(--clr-black);
}

.lang-switcher__list{
    margin: 0;
    padding: 0;
    position: absolute;
    top: 103%;
    left: 0px;
    list-style: none;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
}

.lang-switcher:hover .lang-switcher__list{
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: initial;
}

.lang-switcher__item a{
    display: block;
    min-width: 35.5px;
    padding: 7px 0;
}

.lang-switcher__item a:hover{
    color: var(--clr-accent);
}

/* Hero section */

.hero{
    position: relative;
}

.hero__overtitle{
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
    color: var(--clr-accent);
}

.hero__title{
    margin: 27px 0 9px;
    font-size: 52px;
    font-weight: 900;
    line-height: 62px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--clr-black);
}

.hero__desc{
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

.hero__benefits-list{
    margin: 20px 0 44px;
    padding: 0;
    list-style: none;
}

.hero__benefits-item{
    position: relative;
    padding-left: 78px;
}

.hero__benefits-item:not(:last-child){
    margin-bottom: 8px;
}

.hero__benefits-item::before{
    content: '';
    display: block;
    width: 29px;
    height: 19px;
    position: absolute;
    top: 4px;
    left: 40px;
    background: url(/assets/img/icons/check.svg);
}

.discount-text{
    margin-bottom: 34px;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
    color: var(--clr-black);
}

.discount-text__value{
    font-size: 36px;
    font-weight: 700;
    line-height: 100%;
    color: #D61C26;
}

.btn{
    position: relative;
    background: linear-gradient(293.62deg, #FFC700 14.29%, #FFE177 80.48%);
    border: none;
    box-shadow: 0px 1px 13px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--clr-black);
}

.book-button{
    margin-bottom: 51px;
    padding: 39.5px 184px 38.5px 35px;
}

.book-button::after{
    content: '';
    display: block;
    width: 104px;
    height: 20px;
    position: absolute;
    bottom: -50px;
    right: 50px;
    background: #AA957C;
    filter: blur(12.5px);
    opacity: 0.63;
    pointer-events: none;
}

.book-button__image{
    position: absolute;
    top: -32px;
    right: 20px;
    pointer-events: none;
}

.hero__apparatus{
    position: absolute;
    top: -25px;
    right: -80px;
    z-index: -1;
}

.hero__apparatus::after{
    content: '';
    display: block;
    width: 340px;
    height: 436px;
    position: absolute;
    top: 140px;
    right: 38.5px;
    background-color: #AA957C;
    filter: blur(85px);
    pointer-events: none;
    z-index: -2;
}

.video-section{
    display: flex;
    align-items: center;
}

.video-section__video{
    min-width: 91px;
    width: 91px;
    height: 71px;
    position: relative;
    margin-right: 30px;
    background: url(/assets/img/video-preview.png) no-repeat;
    background-size: contain;
    border: 3px solid #EBEBEB;
    filter: drop-shadow(0px 1px 13px rgba(0, 0, 0, 0.25));
    cursor: pointer;
}

.video-section__video::after{
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 8px;
    left: 23px;
    background: url(/assets/img/icons/play.svg);
    opacity: 0.7;
    z-index: 2;
}

.video-section__text{
    max-width: 433px;
    font-size: 16px;
    line-height: 24px;
    color: var(--clr-black);
}

.modal-video{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.modal-video--active{
    display: flex;
}

.modal-video__dimmer{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e1e1e;
    opacity: 0.9;
}

.modal-video__inner{
    animation: kf_scaleInReverse .3s ease;
    z-index: 100;
}

.modal-video--active .modal-video__inner{
    animation: kf_scaleIn .3s ease;
}

.modal-video__inner iframe{
    width: 461px;
    height: 819px;
}

.modal-video__close{
    position: absolute;
    top: 8%;
    right: 8%;
    background: transparent;
    border: none;
    z-index: 5;
    animation: kf_fadeOut .3s ease;
}

.modal-video--active .modal-video__close{
    animation: kf_fadeIn .3s ease;
}

.modal{
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.modal--active{
    display: flex;
}

.modal__dimmer{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(122.84deg, #9D9388 26.95%, #20180F 184.7%);
    opacity: 0.76;
}

.modal__inner{
    position: relative;
    max-width: 450px;
    height: fit-content;
    padding: 58px 46px 62px 54px;
    background: linear-gradient(136.07deg, #FCF8F7 0%, #E9DED3 133.4%);
    box-shadow: 0px 1px 54px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    animation: kf_scaleInReverse .3s ease;
    z-index: 5;
}

.modal--active .modal__inner{
    animation: kf_scaleIn .3s ease;
}

.modal__inner-form--hidden{
    display: none;
}

.modal__inner.modal__success{
    max-width: 390px;
    padding: 61px 50px 48px 50px;
}

.modal__success--hidden{
    display: none;
}

.modal__success .modal__header{
    display: flex;
    flex-wrap: wrap;
}

.modal__header-title{
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    color: var(--clr-black);
}

.modal__success .modal__header-title{
    margin: 0 0 20px 10px;
}

.modal__success svg{
    width: 38px;
    height: 25px;
    margin-top: 5px;
}

.modal__header-desc{
    margin-bottom: 19px;
    font-size: 14px;
    line-height: 17px;
    color: #575653;
}

.form{
    max-width: 338px;
}

.form--sending{
    pointer-events: none;
    opacity: .5;
}

.form__select-wrapper{
    position: absolute;
    width: 82px;
}

.form__select-wrapper::after{
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 14px;
    background-color: #DDDCDC;
    top: 17px;
    left: 81px;
}

.form__select{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.form__select-input{
    width: 82px;
    border: none;
    background: transparent url(/assets/img/icons/chevron-down.svg) no-repeat 84% 50%;
}

.form__input{
    width: 100%;
    padding: 17px 19px 18px 91px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    font-size: 14px;
    line-height: 13px;
    color: #575653;
}

.modal__form-btn{
    margin-top: 34px;
    padding: 39.5px 164.5px 38.5px 28.5px;
}

.modal__btn-image{
    position: absolute;
    top: -29px;
    right: 10px;
    pointer-events: none;
}

.modal__close{
    position: absolute;
    top: 110px;
    right: 163px;
    background: transparent;
    border: none;
    z-index: 5;
    animation: kf_fadeOut .3s ease;
}

.modal--active .modal__close{
    animation: kf_fadeIn .3s ease;
}

.modal__close svg{
    pointer-events: none;
}

.form__response{
    margin-top: 20px;
}

/**
 *  Book Online
 */

 .fixed-contacts {
    position: fixed;
    right: 40px;
    bottom: 14%;
    z-index: 100;
}

.fixed-contacts__links {
    list-style: none;
    margin: 0;
    padding: 0 0 20px;
    text-align: center;
    pointer-events: none;
}

.fixed-contacts--active .fixed-contacts__links {
    pointer-events: initial;
}

.fixed-contacts__links > li:not(:last-child) {
    margin-bottom: 15px;
}

.fixed-contacts__links > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--clr-black);
    border-radius: 50%;
    transform: translateY(10px) rotateZ(45deg);
    opacity: 0;
    transition: transform 250ms ease-out, opacity 250ms ease-out;
}

.fixed-contacts__link-booksy > svg{
    margin-right: 4px;
}

.fixed-contacts__link-wa > svg{
    margin-bottom: 2px;
}

.fixed-contacts__links a[data-link="telegram"] {
    padding-right: 4px;
}

.fixed-contacts__links a[data-link="instagram"] {
    padding-right: 2px;
}

.fixed-contacts__links > li:nth-child(1) > a {
    transition-delay: 225ms;
}

.fixed-contacts__links > li:nth-child(2) > a {
    transition-delay: 150ms;
}

.fixed-contacts__links > li:nth-child(3) > a {
    transition-delay: 75ms;
}

.fixed-contacts--active .fixed-contacts__links > li > a {
    transform: translateY(0) rotateZ(0deg);
    opacity: 1;
}

.fixed-contacts__links > li > a > svg {
    fill: #FFFFFF;
    transition: fill 200ms ease;
}

.fixed-contacts__links > li > a:hover{
    background-color: #fff;
}

.fixed-contacts__links > li > a:hover > svg, .fixed-contacts__links > li > a:hover > svg path{
    fill: #0BA3AD;
}

.fixed-contacts__links > li > a.fixed-contacts__link-wa:hover > svg, .fixed-contacts__links > li > a.fixed-contacts__link-wa:hover > svg path{
    fill: #41C452;
}

.fixed-contacts__trigger {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background: var(--clr-black);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: background 200ms ease;
}

.fixed-contacts__trigger > div {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: transform 500ms ease;
}

.fixed-contacts__trigger > div:nth-child(1) {
    padding-right: 4px;
}

.fixed-contacts__trigger > div:nth-child(2) {
    transform: translateY(100%);
}

.fixed-contacts--active .fixed-contacts__trigger > div:nth-child(1) {
    transform: translateY(-100%);
}

.fixed-contacts--active .fixed-contacts__trigger > div:nth-child(2) {
    transform: translateY(0);
}

.fixed-contacts__trigger > div > svg {
    fill: #FFFFFF;
    transition: fill 200ms ease;
}

.fixed-contacts__title {
    position: relative;
    margin-top: 10px;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    text-transform: uppercase;
    transition: color 200ms ease;
}

.fixed-contacts__title::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    position: absolute;
    top: -57px;
    right: -2px;
    border-radius: 50%;
    background-color: #9BD71B;
    z-index: 1;
}

.fixed-contacts--inverted .fixed-contacts__links > li > a {
    background: #FFFFFF;
}

.fixed-contacts--inverted .fixed-contacts__links > li > a > svg {
    fill: var(--black-color);
}

.fixed-contacts--inverted .fixed-contacts__trigger {
    background: #FFFFFF;
}

.fixed-contacts--inverted .fixed-contacts__trigger > div > svg, .fixed-contacts--inverted .fixed-contacts__trigger > div > svg path, .fixed-contacts--inverted .fixed-contacts__links > li > a svg path {
    fill: var(--black-color);
}

.fixed-contacts--inverted .fixed-contacts__title {
    color: #FFFFFF;
}


body{
    min-height: 100vh;
    background: linear-gradient(122.84deg, #FAF5F2 26.95%, #AA957C 184.7%);
    overflow: hidden;
    overflow-y: scroll;
}

.container{
    max-width: 1112px;
    margin: 0 auto;
    padding: 0 10px;
}

.position--mobile{
    display: none;
}

/**
 *  Animation
 */

@keyframes kf_scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes kf_scaleInReverse {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

@keyframes kf_fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes kf_fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes blink {
    from { opacity: 1.0; }
    to { opacity: 0.0; }
}

@keyframes spin {
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

/**
 *  Media query
 */

@media screen and (max-height: 916px) {
    main{
        padding-bottom: 45px;
    }
}

@media screen and (max-width: 1251px) {
    body{
        overflow: hidden;
    }
}

@media screen and (max-width: 1130px) {
    main{
        overflow: hidden;
    }
    .hero__title{
        font-size: 48px;
    }
    .hero__desc{
        width: 75%;
    }
    .hero__apparatus{
        top: 70px;
        right: -110px;
    }
    .hero__apparatus-img{
        width: 75%;
    }
    .hero__apparatus::after{
        width: 255px;
        height: 327px;
        top: 105px;
        right: 128px;
    }
}

@media screen and (max-width: 992px){
    body{
        overflow-y: scroll;
    }
    .hero__title{
        width: 80%;
    }
}

@media screen and (max-width: 920px){
    .position{
        display: none;
    }
    .modal__close{
        right: 10%;
    }
}

@media screen and (max-width: 768px){
    .hero__title{
        width: 65%;
        font-size: 40px;
        line-height: 52px;
    }
    .hero__desc {
        width: 70%;
    }
    .hero__benefits-item {
        padding-left: 38px;
    }
    .hero__benefits-item::before{
        left: 0px;
    }
    .discount-text{
        font-size: 22px;
        line-height: 24px;
    }
    .hero__apparatus {
        top: 5px;
        right: -140px;
    }
    .modal-video__inner{
        position: relative;
        width: 100%;
        height: 75%;
        padding-top: 56.25%;
    }
    .modal-video__inner iframe{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }
}

@media screen and (max-width: 660px){
    .site-header {
        padding-top: 20px;
        padding-bottom: 29px;
        background: linear-gradient(90deg, rgba(251, 247, 245, 0.8) 0%, rgba(230, 222, 214, 0.8) 100%);
        backdrop-filter: blur(5px);
    }
    .logo{
        grid-template-columns: 40px;
        margin-right: 7.5px;
    }
    .pl .logo{
        grid-template-columns: 40px;
    }
    .logo__title{
        display: none;
    }
    .phone-link__button{
        margin-right: 20px;
    }
    .phone-link__button-link{
        width: 28px;
        height: 28px;
    }
    .phone-link__button-link svg{
        width: 11.5px;
        height: 11.5px;
    }
    .phone-link__button-link::before{
        width: 8.5px;
        height: 8.5px;
        right: 1px;
    }
    .phone-link__button-link::after{
        width: 45px;
        height: 45px;
        top: -8.5px;
        left: -8.5px;
        background-image: url(/assets/img/phone-link-bg-mobile.png);
    }
    .phone-link{
        order: 3;
    }
    .phone-link__title{
        margin-bottom: 0;
        font-size: 14px;
        line-height: 18px;
    }
    .phone-link__title span{
        display: none;
    }
    .phone-link__number{
        font-size: 24px;
        line-height: 28px;
    }
    .position__wrap{
        margin-right: auto;
        order: 2;
    }
    .hero{
        display: flex;
        flex-wrap: wrap;
    }
    .hero__heading{
        order: 1;
    }
    .hero__overtitle{
        margin: 19px 0 12px;
    }
    .hero__title{
        width: 100%;
        margin: 0 0 12px 0;
    }
    .hero__desc {
        width: 90%;
    }
    .hero__benefits-list{
        width: 100%;
        margin: 0 0 80px 0;
        order: 3;
    }
    .hero__apparatus{
        top: 270px;
        right: -200px;
    }
    .hero__apparatus-img{
        width: 50%;
    }
    .hero__apparatus::after{
        width: 181.5px;
        height: 232.5px;
        right: 220px;
        top: 55px;
    }
    .discount-text{
        margin: 36px 0;
        order: 2;
    }
    .discount-text__value{
        display: block;
        margin: 3px 0 4px 0;
    }
    .book-button{
        margin: 8px 0 0 0;
        order: 6;
    }
    .book-button::after{
        display: none;
    }
    .book-button span{
        display: none;
    }
    .video-section{
        margin-bottom: 33px;
        order: 4;
    }
    .position--mobile{
        display: flex;
        order: 5;
    }
    .fixed-contacts{
        display: none;
    }
}

@media screen and (max-width: 576px){
    .hero__overtitle{
        margin-top: 19px;
        font-size: 18px;
        line-height: 22px;
    }
    .hero__title{
        font-size: 26px;
        line-height: 34px
    }
    .hero__desc{
        font-size: 18px;
        line-height: 22px;
    }
    .discount-text{
        font-size: 18px;
        line-height: 22px;
    }
    .discount-text__value{
        font-size: 24px;
        line-height: 28px;
    }
    .hero__benefits-item{
        font-size: 14px;
        line-height: 18px;
    }
    .hero__apparatus {
        top: 145px;
        right: -240px;
    }
    .hero__benefits-item:not(:last-child){
        margin-bottom: 14px;
    }
    .modal__inner{
        padding: 41px 24px 32px 24px;
    }
    .modal__header-title{
        margin-bottom: 13px;
        font-size: 24px;
        line-height: 28px;
    }
    .modal__header-desc{
        margin-bottom: 16px;
    }
    .form{
        max-width: none;
    }
    .modal__form-btn{
        width: 100%;
        margin-top: 31px;
        padding-right: 0px;
        text-align: left;
    }
    .modal__success svg{
        height: 21px;
        margin-top: 2px;
    }
    .modal__success .modal__header-title{
        margin: 0 0 9px 5px;
    }
}

@media screen and (max-width: 480px){
    main{
        overflow: hidden;
    }
    .hero__benefits-item {
        max-width: 200px;
    }
    .hero__apparatus {
        top: 235px;
    }
    .hero__benefits-item::before{
        top: 7px;
    }
    .book-button{
        width: 100%;
        padding-right: 0px;
        text-align: left;
    }
    .book-button__image{
        width: 134px;
        top: -29px;
        right: -25px;
    }
    .video-section__video{
        margin-right: 10px;
    }
    .video-section__text{
        font-size: 14px;
        line-height: 18px;
    }
    .modal__inner{
        margin: 0 10px;
    }
    .modal__btn-image{
        width: 142px;
        top: -27px;
        right: 0px;
    }
    .modal__inner.modal__success{
        padding: 24px 33px 27px 33px;
    }
}