/*
Theme Name: chat
Author: Spectre
Author URI: https://spectre-studio.net/
*/


:root {
    --white: #fff;
    --red: #bb162b;
    --dark: #1d1d1d;
    --gray: #555;
    --light-gray: #ccc;
    --super-light-gray: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Montserrat', sans-serif;
    color: var(--dark);

    text-decoration: none;
}


body {
    width: 100vw;
    height: 100vh;
    background:
        linear-gradient(0deg, rgba(29, 29, 29, 0) 40%, rgba(29, 29, 29, 1) 100%) center center / cover no-repeat fixed,
        var(--bg) center center / cover no-repeat fixed;
    overflow: hidden;
}

img {
    display: block;
}

input:not([type=radio]):not([type=checkbox]):not([type=range]) {
    padding: 13px 20px;
    width: 100%;
    max-width: 260px;
    display: block;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    color: var(--gray);
    outline: none;
}
input[hidden] {
    display: none !important;
}



button {
    cursor: pointer;
}


.btn {
    padding: 10px 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 100px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1;
    color: var(--white);
    text-align: center;
}


.wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}
.wrapper::-webkit-scrollbar {
    display: none;
}



.header {
    width: 100vw;
    background: var(--white);
}
.header__container {
    margin: 0 auto;
    padding: 20px 15px;
    width: 100%;
    max-width: 1300px;
}
.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header__logo-image {
    width: 100%;
    max-width: 128px;
}
.header__logo-image img {
    width: 100%;
}
.header__logo-text {
    padding: 10px 20px;
    border-left: 1px solid var(--light-gray);
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--gray);
    white-space: nowrap;
}
.header__block {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.header__block * {
    text-align: right;
}
.header__phone {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 600;
    color: var(--gray);
}
.header__location {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header__burger {
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 3px;
    border-radius: 100px;
    background: var(--super-light-gray);
}
.header__burger span,
.header__burger::before,
.header__burger::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: var(--dark);
}


.mobileMenu {
    position: fixed;
    inset: 0;
    z-index: 30;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    display: none;
}
.mobileMenu.is-opened {
    display: block;
}
.mobileMenu__container {
    padding: 40px 15px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    background: var(--white);
    border-radius: 0 0 30px 30px;
}
.mobileMenu__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.mobileMenu__close {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--super-light-gray);
    border-radius: 100px;
    font-size: 30px;
    line-height: 1;
}
.mobileMenu__policy {
    text-decoration: underline;
}
.mobileMenu__content * {
    text-align: center;
}



.details {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    width: 100%;
    max-width: 260px;
}
.details * {
    font-size: 12px;
    line-height: 1.4;
    color: var(--light-gray);
}
.details a {
    text-decoration: underline;
}



.cookie {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    padding: 20px 30px;
    width: 100%;
    max-width: 400px;
    background: rgba(0, 0, 0, .7);
    border-radius: 20px;
}
.cookie p {
    font-size: 14px;
    color: var(--white);
}
.cookie a {
    font-size: 14px;
    color: var(--white);
    text-decoration: underline;
}
.cookie__btn {
    margin: 15px auto 0;
    padding: 12px 20px;
    width: 200px;
    font-size: 14px;
}
.cookie.is-hidden {
    display: none;
}



@media (max-width: 1240px) {
    .details {
        display: none;
    }
}
@media (max-width: 800px) {
    .header__container {
        padding: 10px 15px 20px;
    }
    .header__content {
        flex-direction: column;
    }
    .header__block {
        align-items: center;
    }
    .header__block * {
        text-align: center;
    }
}
@media (max-width: 600px) {
    .header__content {
        gap: 20px;
    }
    .header__logo {
        flex-direction: column;
        gap: 10px;
    }
    .header__logo-text {
        border-left: none;
        padding: 0;
    }
    .cookie {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
        padding: 12px 20px;
    }
    .cookie p,
    .cookie a {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
    }
    .header__container {
        padding: 20px 15px 10px;
    }
    .header__content {
        flex-direction: row;
    }
    .header__logo-image {
        max-width: 100px;
    }
    .header__block {
        max-width: 200px;
        flex-direction: row;
        justify-content: flex-end;
        gap: 15px;
    }
    .header .header__logo-text,
    .header .header__address,
    .header .header__location {
        display: none;
    }
    .header__burger {
        display: flex;
    }
}