* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: unset;
}

body {
    font-size: 24px;
    background-color: #0C0C0C;
    font-family: 'Lora', sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #E5E5E5;
}

body.scroll-lock {
    overflow: hidden;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

.pointer {
    cursor: pointer;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 500;
    font-size: 160px;
    line-height: 110px;
    letter-spacing: -5px;
    color: #E5E5E5;
    word-break: break-word;
}

.skiptranslate {
    display: none;
}

header {
    width: 100%;
    height: 7vh;
    min-height: 40px;
    background: rgba(12, 12, 12, 0.2);
    position: fixed;
    top: 0;
    z-index: 10;
    transition: 1s ease;
}

.item-header-wrapper.item-language {
    position: relative;
}


.lang-switch-bar > .button-modal {
    width: 125px;
    font-size: 19px;
    padding: 6px 30px;
    display: flex;
    background-color: #0C0C0C;
}

.low-h1 {
    font-size: 110px;
    line-height: 110px;
}

.ka-head {
    font-size: 90px;
    line-height: 70px;
}

.lang-switch-bar {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.sublabel-header {
    font-size: 14px;
    align-items: center;
}

.header-slide {
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    background-color: black;
    background-size: cover;
    background-clip: content-box;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: left;
}

.item-header-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.wrapper-header {
    justify-content: space-between;
    max-width: 1660px;
    margin: 0 auto;
}

.item-button {
    display: none;
}

.button {
    cursor: pointer;
    border: 1px solid #D0D5DD;
    border-radius: 10px;
    padding-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 80px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.vertical-center {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.item-label {
    padding-left: 60px;
}

.icon {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.item-language {
    padding-left: 38px;
    align-items: center;
}

.item-icon {
    padding-right: 8px;
    padding-left: 8px;
}

.header-title {
    padding-top: 200px;
    text-align: right;
}

.header-description {
    padding-top: 80px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 19px;
}

.description-label {
    max-width: 450px;
}

.sublabel-header {
    gap: 6px;
}

section {
    padding: 100px 0;
}

.title>h1 {
    color: #444444;
}

.about-wrapper {
    padding-top: 40px;
    padding-left: 204px;
}

.about-description {
    padding-top: 60px;
}

.about-table {
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-table-row {
    padding: 16px 0;
    border-bottom: 3px solid #444444;
}

.gallery {
    padding-top: 60px;
    justify-content: space-between;
}

.gallery-item {
    width: 24.5%;
    height: 800px;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.7s;
}

.gallery-image:hover {
    background-size: 105%;
    transition: 0.7s;
}

.gallery-name {
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    padding-top: 40px;
    padding-left: 24px;
}

.gallery-description-wrapper {
    color: #E5E5E5;
    padding-bottom: 40px;
    padding-left: 24px;
}

.gallery-label > ul {
    padding-left: 24px;
    padding-bottom: 6px;
}

.gallery-label > ul > li {
    color: #E5E5E5;
}

.partners-wrapper {
    padding-top: 100px;
    justify-content: space-between;
}

.partners-left {
    width: 40%;
}

.partners-right {
    width: 59%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.partner-image {
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 486px;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

.partner-selected {
    outline: 1px solid #D0D5DD;
    box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
    border-radius: 20px;
    display: none;
}

.selected {
    display: block;
}

.partner-description-wrapper {
    padding: 20px;
}

.partners-wrapper {
    height: 771px;
}

.partner-title {
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
}

.partner-description {
    padding-top: 16px;
    padding-bottom: 16px;
}

.partner-item {
    width: 100%;
    height: 19.5%;
    display: flex;
    align-items: center;
}

.partner-item-image {
    background-repeat: no-repeat;
    background-size: contain;
    width: 700px;
    height: 100%;
    cursor: pointer;
}


.left-wrapper-table {
    min-width: 280px;
}

.right-wrapper-table {
    width: fit-content;
    width: -webkit-fill-available;
}

.table-overview {
    padding-top: 100px;
}

.overview-item {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.overview-label {
    padding-left: 48px;
    padding-right: 67px;
}

.overview-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.7s;
}

.overview-image:hover {
    transform: scale(1.1);
    transition: 0.7s;
}

#circled_item {
    background-color: #FE2D29;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.circled-svg {
    animation: rotate 15s infinite linear;
}

.circled-text {
    font-size: 4pt;
    fill: #E5E5E5;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 100px;
    padding-bottom: 1px;
}

.viewport {
    width: 80%;
    white-space: nowrap;
    max-width: 1696px;
    user-select: none;
}

.slide-item {
    margin-right: 24px;
    max-width: 400px;
    outline: 1px solid #D0D5DD;
    box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.03), 0px 20px 24px -4px rgba(16, 24, 40, 0.08);
    border-radius: 20px;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}


.slide-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    height: 320px;
}

.slide-button > a {
    display: flex;
}

.slide-image {
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 19px 19px 0 0;
    width: 400px;
    height: 400px;
}

/* .slide-information {
    padding: 32px 16px;
} */

.slide-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #E5E5E5;
}

.slide-date {
    color: #FE2D29;
}

.slide-title {
    padding-top: 8px;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
}

.slide-description {
    padding-top: 8px;
}

.slide-button {
    padding-top: 60px;
}

.slide-button-icon {
    padding-left: 8px;
}

.account-column {
    padding-left: 16px;
}

.account-date {
    font-size: 14px;
    color: #444444;
}

.review-information {
    justify-content: normal;
    padding: 50px 18px;
    height: unset;
}

.account-name {
    font-family: 'Lora';
    font-weight: 600;
}

.account-profession {
    font-weight: 400;
    font-size: 24px;
    font-family: 'Lora';
}

.account-description {
    padding-top: 32px;
}

.map {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
}

.map-section {
    padding-top: 0;
    padding-bottom: 0;
}

.footer {
    padding-bottom: 0;
}

.row-footer {
    justify-content: space-between;
}

.icon-item-footer,
.label-item-footer {
    display: flex;
    justify-content: center;
}

.label-item-footer {
    text-align: center;
    padding-top: 30px;
}

.item-footer {
    width: 320px;
}

.wrapper-footer {
    padding-top: 100px;
}

.column-footer-item {
    justify-content: center;
}

.column-footer-item {
    padding-top: 24px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.button:hover {
    background-color: #E5E5E5;
    color: #0C0C0C;
    transition: 0.3s;
}

.item {
    cursor: pointer;
    transition: 0.3s;
}

.item:hover {
    color: #fff;
    transition: 0.3s;
}

.icon:hover {
    background-color: unset;
    outline: 1px solid #fff;
    transition: 0.3s;
}

.icon:hover > svg > path {
    fill: #fff;
    transition: 0.3s;
}

.modal-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(10px);
}

.modal {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu {
    padding-top: 55px;
    width: 100%;
    display: flex;
    align-items: center;
}

.menu-item {
    padding-top: 40px;
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 75%;
    text-align: center;
}

.button-modal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.button-modal {
    width: 215px;
    padding: 10px 30px;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
}

.button-modal.selected {
    text-decoration: underline;
}

.languages {
    padding-top: 50px;
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.lang-button {
    width: 40% !important;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-item-footer {
    padding-top: 10px;
}

.item-footer-wrapper > a > .icon {
    width: 30px;
    height: 30px;
}

.selected-lang {
    text-decoration: underline;
}

.additional-outer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.additional-wrapper {
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid #444444;
    gap: 16px;
}

.button-margin-top {
    margin-top: 45px;
}

.additional-wrapper-outer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.additional-item-prices {
    gap: 21px;
}

.additional-price {
    text-wrap: nowrap;
}

.additional-title{
    width: 586px;
}

.additional-description {
    padding-bottom: 16px;
    font-size: 16px;
}

.additional-subtitle {
    text-decoration: underline;
    padding: 24px 0;
}

.office-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hide {
    display: none;
}
.services-list{
    list-style-position: inside;
}




@media (max-width: 1660px) {
    .wrapper-header {
        max-width: 1400px;
    }

    .header-slide {
        background-position-x: 40%;
    }

}

@media (max-width: 1600px) {
    .wrapper-header {
        max-width: 1200px;
    }

    .header-slide {
        background-position-x: 40%;
    }

    .low-font h1 {
        font-size: 90px;
        line-height: 75px;
    }

    .low-font .gallery-name {
        font-size: 30px;
        line-height: 28px;
    }
}

@media (max-width: 1200px) {
    .wrapper-header {
        max-width: 1000px;
    }

    .header-slide {
        background-position-x: 50%;
    }

    h1 {
        font-size: 130px;
        line-height: 95px;
    }
}

@media (max-width: 1400px) {
    body {
        font-size: 20px;
    }

    .low-font, .low-font-ru {
        font-size: 16px;
    }

    .low-font h1 {
        font-size: 50px;
        line-height: 45px;
    }

    .low-font .gallery-name {
        font-size: 34px;
    }

    .low-font-ru h1 {
        font-size: 70px;
        line-height: 56px;
    }

    .wrapper-header {
        max-width: 900px;
    }

    .wrapper {
        max-width: 904px;
    }

    .header-slide {
        background-position-x: 50%;
        background-size: cover;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .icon > svg {
        width: 12px;
        height: 12px;
    }

    .item-label {
        font-size: 20px;
        padding-left: 20px;
    }

    .item-header-wrapper {
        display: flex;
        align-items: center;
    }

    .about-wrapper {
        padding-left: 0;
    }

    .overview-item {
        width: 226px;
        height: 226px;
    }

    .gallery-item {
        height: 628px;
    }

    .partners-wrapper {
        height: 596px;
    }

    .partner-image {
        height: 380px;
    }

    .partner-title {
        font-size: 32px;
    }

    .partner-description {
        font-size: 16px;
    }

    .partner-button > a >.button {
        width: auto;
    }

    .overview-label {
        padding-left: 0;
        max-width: 135px;
        padding-left: 30px;
    }

    section {
        padding: 60px 0;
    }

    .item-button {
        display: none;
    }

    .icon-item-footer > a> svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .item-button {
        display: flex;
    }
    .wrapper {
        max-width: 400px;
    }

    .wrapper-header {
        max-width: 400px;
    }

    .header-slide {
        height: 1140px;
        background-image: url(../../img/index/bg_mobile.png) !important;
        background-position-x: 40%;
    }

    #gallery1 {
        background-position-y: 60%;
    }

    #gallery2 {
        background-position-y: 15%;
    }

    #gallery3 {
        background-position-y: 15%;
    }

    #gallery4 {
        background-position-y: 35%;
    }

    .header-title {
        padding-top: 120px;
    }

    h1 {
        font-size: 80px;
        line-height: 60px;
    }

    .header-description {
        padding-top: 16px;
    }

    .item-label, .right-wrapper > .item-icon, .item-language {
        display: none;
    }

    .button {
        justify-content: center;
    }

    .about {
        padding-top: 71px;
    }

    .about-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .partner-selected {
        margin-bottom: 10px;
    }

    .title {
        text-align: center;
    }

    .about-table-row {
        flex-direction: column;
    }


    .gallery {
        flex-direction: column;
        padding-top: 100px;
    }

    .gallery-item {
        margin-top: 10px;
        width: 100%;
        height: 300px;
    }
 
    .left-wrapper-table {
        font-size: 24px;
        padding-bottom: 40px;
    }

    .right-wrapper-table {
        text-align: right;
        width: 100%;
    }

    .about-button-wrapper {
        display: flex;
        justify-content: center;
    }

    .partners-wrapper {
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
        height: auto;
    }

    .partner-image {
        background-size: cover;
        transition: 0.5s;
        height: 0;
    }

    .partner-image-shown {
        height: 380px;
    }

    .partners-left {
        width: 100%;
    }

    .partners-right {
        margin-top: 20px;
        width: 100%;
    }

    .partner-item-image {
        height: 90px;
    }

    .row-overview-element {
        flex-direction: column;
        padding: 0 8px;
    }

    .overview-item {
        width: 50%;
        height: 200px;
    }

    #second-row, #third-row, #six-row {
        flex-direction: row-reverse;
    }

    #second-row > .overview-item > .overview-label,
    #fourth-row > .overview-item > .overview-label,
    #six-row > .overview-item > .overview-label {
        padding-left: 24px;
    }

    .slide-item {
        width: 240px;
        height: 518px;
    }

    .slide-image {
        width: 240px;
        height: 238px;
    }

    .slide-information {
        padding: 16px 8px 16px 8px;
    }
    .slide-title {
        font-size: 20px;
    }
    .slide-description {
        font-size: 16px;
    }

    .slide-button {
    padding-top: 0;
    }

    .slide-information {
        height: 253px;
    }

    .splide-review {
        height: unset;
    }

    .review-information {
        height: unset !important;
    }

    .item-footer {
        width: 140px;
    }

    .label-item-footer {
        font-size: 12px;
    }

    .icon-item-footer > a> svg {
        width: 45px;
        height: 45px;
    }

    .footer {
        padding-top: 30px;
    }

    .wrapper-footer {
        padding-top: 60px;
    }

    .hide {
        display: none;
    }

    .map {
        height: 120px;
        background-size: 300%;
        background-position-y: 50%;
    }
}

@media (max-width: 410px) {
    .wrapper, .wrapper-header {
        max-width: 390px;
    }
}

@media (max-width: 400px) {
    .wrapper, .wrapper-header {
        max-width: 380px;
    }
}

/* Общие стили для чат-виджета */
.chat-widget-container {
    position: fixed; /* Прибивает виджет к окну просмотра */
    bottom: 20px;    /* Отступ от нижнего края */
    right: 20px;     /* Отступ от правого края */
    z-index: 1000;   /* Гарантирует, что виджет будет поверх другого контента */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Чтобы кнопка была справа от чата, если он открыт */
}

/* Стили для кнопки переключения (иконки чата) */
.chat-toggle-button {
    background-color: white;
    color: white;
    width: 60px; /* Размер кнопки */
    height: 60px;
    border-radius: 50%; /* Круглая форма */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em; /* Размер иконки */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    /* Скрываем кнопку при открытом чате */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.chat-toggle-button:hover {
    transform: scale(1.05);
}

.chat-toggle-button.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Отключает клики, когда скрыта */
}


/* Стили для самого контейнера чата */
.chat-container {
    font-size: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 700px; /* Ширина виджета чата */
    height: 600px; /* Высота виджета чата */
    position: relative; /* Для позиционирования кнопки закрытия */

    /* Анимация сворачивания/разворачивания */
    transform: scale(1);
    opacity: 1;
    transform-origin: bottom right; /* Точка трансформации */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
@media (max-width: 768px) {
    .chat-container{
        width: 500px;
    }
}
@media (max-width: 540px) {
    .chat-container{
        width: 300px;
    }
}
/* Состояние "свернут" */
.chat-container.collapsed {
    transform: scale(0); /* Сворачивает виджет в точку */
    opacity: 0;
    pointer-events: none; /* Отключает взаимодействие, когда свернут */
    position: absolute; /* Делает его "невидимым" за кнопкой */
    bottom: 0;
    right: 0;
    /* Убедимся, что свернутый виджет не занимает место и не мешает кнопке */
    height: 0;
    width: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Кнопка закрытия внутри чата */
.close-chat-button {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.8em;
    color: black;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: font-size, 0.5s;
}



/* Стили для элементов чата (копируем из предыдущего примера, но без body/chat-container, которые уже есть выше) */
.chat-header {
    background-color: white;
    color: black;
    padding: 15px;
    font-size: 1.2em;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative; /* Для кнопки закрытия */
}
.chat-messages {
    flex-grow: 1;
    padding: 15px; /* Уменьшим padding для виджета */
    overflow-y: auto;
    background-color: #e9ebee;
    display: flex;
    flex-direction: column;
}
.message-bubble {
    max-width: 80%;
    padding: 8px 12px; /* Уменьшим padding */
    border-radius: 18px; /* Немного уменьшим радиус */
    margin-bottom: 8px; /* Уменьшим margin */
    line-height: 1.4;
    word-wrap: break-word;
}
.message-bubble ol,
.message-bubble ul {
    margin: .25em 0;          /* убираем большие внешние отступы */
    padding-left: 0;          /* убираем левый внутренний отступ */
    list-style-position: inside; /* номера/буллеты внутри пузыря */
}

.message-bubble li { margin: .2em 0; }
.user-message {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
    border-bottom-right-radius: 4px; /* Немного уменьшим радиус */
}
.bot-message {
    align-self: flex-start;
    background-color: #fefefe;
    color: #333;
    border: 1px solid #ddd;
    border-bottom-left-radius: 4px; /* Немного уменьшим радиус */
}
.chat-input-area {
    display: flex;
    padding: 10px; /* Уменьшим padding */
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
}
.chat-input-area input[type="text"] {
    flex-grow: 1;
    padding: 8px 12px; /* Уменьшим padding */
    border: 1px solid #ddd;
    border-radius: 18px; /* Немного уменьшим радиус */
    font-size: 0.9em; /* Немного уменьшим шрифт */
    margin-right: 8px; /* Уменьшим margin */
}
.chat-input-area button {
    display: flex;
    background-color: black;
    color: white;
    border: 2px black solid;
    padding: 8px 15px; /* Уменьшим padding */
    border-radius: 18px; /* Немного уменьшим радиус */
    cursor: pointer;
    font-size: 0.9em; /* Немного уменьшим шрифт */
    transition: background-color 0.7s ease;
}
.chat-input-area button .send-icon path {
    stroke: white;
    width: 100%;
    height: 100%;
    transition: stroke 0.7s ease;
}
.chat-input-area button:hover {
    background-color: white;
    color: black;
}
.chat-input-area button:hover .send-icon path{
    stroke: black;
}
/* Loading indicator */
.loading-dots {
    display: inline-block;
    margin-left: 5px;
}
.loading-dots span {
    display: inline-block;
    width: 6px; /* Уменьшим размер точек */
    height: 6px;
    border-radius: 50%;
    background-color: #888;
    margin: 0 1px; /* Уменьшим отступ */
    animation: bounce 1s infinite ease-in-out;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
