body {
    
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 0;
}
/* Главный баннер */
.hero {
    background-color: #f5f5f5;
    padding: 150px 0;
    text-align: center;
    margin-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #666;
}

/* О нас */
.about {
    padding: 0;
    position: relative;
    background-image: url('/static/photo/various-vases-pottery-indoors-workshop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1161px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    width: 100%;
}

.about-text {
    margin: auto 0;
}

.about-text h2 {
    color: rgb(255, 255, 255);
    font-family: 'Philosopher', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 78px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    white-space: pre-line;
}

.about-text .cta-button {
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-family: 'Philosopher', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0%;
    text-align: left;
    padding: 15px 20px;
    border: 2px solid #ffffff;
    border-radius: 15px;
    cursor: pointer;
    transition: color 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-text .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transition: left 0.5s ease;
    z-index: -1;
    border-radius: 13px;
}

.about-text .cta-button:hover {
    color: rgb(107, 39, 55);
}

.about-text .cta-button:hover::before {
    left: 0;
}
.discount-text {
    color: rgb(255, 255, 255);
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
/* Мастер-классы */
.workshops {
    background-color: #fff;
}

.workshops h2 {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 10px;
}

.workshops-subtitle {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;

    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: left;
}

.workshop-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.workshop-card {
    background-color: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 0;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 20px;
}


.workshop-card .content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workshop-card h3 {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0%;
    text-align: left;
    margin: 0 20px 10px;
}

.workshop-card .duration {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: left;
    margin: 0 20px 15px;
}

.workshop-card .description {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: left;
    margin: 0 20px 20px;
}

.price-block {
    margin: 0 20px 20px;
}

.price-item {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 5px;
}

.price {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: left;
}
.red-text{
    color: rgb(107, 39, 55);
}
.book-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    background-color: transparent;
    color: rgb(107, 39, 55);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: center;
    padding: 10px 0;
    border: 1px solid rgb(107, 39, 55);
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.5s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.book-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgb(107, 39, 55);
    transition: left 0.5s ease;
    z-index: -1;
    border-radius: 9px;
}


.book-button:hover {
    color: #fff;
}

.book-button:hover::before {
    left: 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}
.modal h3 {
    color: #6B2737;
    font-family: 'Philosopher', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    padding-right: 30px;
    text-align: center;
}
.booking-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Кастомизация input type="date" и type="time" */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    -webkit-appearance: none;
    opacity: 0;
    cursor: pointer;
}
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    -webkit-appearance: none;

}

input[type="date"]::-webkit-calendar-picker-indicator {
  padding: 0;
  margin: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    
}
.form-fields-container {
    width: 620px;
    padding: 35px 61px 35px 61px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    gap: 33px
}

.form-group {
    margin-bottom: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: left;
    margin-right: 20px;
    flex: 0 0 auto;
    width: 280px;
}

.input-wrapper {
    position: relative;
    display: inline-block;
    align-items: left;
    width: 221px;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    height: 1.5em; /* Размер иконки - подберите под ваши нужды */
    pointer-events: none;
    left: auto; /* Убираем возможное левое позиционирование */
    margin: 0; /* Сбрасываем возможные отступы */
}

.form-group input {
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid rgb(107, 39, 55);
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    color: rgb(33, 33, 33);
    font-size: 20px;
    font-weight: 400;
    /* line-height: 23px; */ /* Старое значение */
    line-height: 29px; /* Новое значение для вертикального центрирования (31px высота - 2px рамка) */
    letter-spacing: 0%;
    text-align: left;
    background-color: #fff;
    height: 31px;
    width: 221px; /* Добавлено, чтобы инпуты занимали всю ширину обертки */
}
.form-group select {
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid rgb(107, 39, 55);
    border-radius: 10px;
    font-family: 'Work Sans', sans-serif;
    color: rgb(33, 33, 33);
    font-size: 20px;
    font-weight: 400;
    /* line-height: 23px; */ /* Старое значение */
    line-height: 29px; /* Новое значение для вертикального центрирования (31px высота - 2px рамка) */
    letter-spacing: 0%;
    text-align: left;
    background-color: #fff;
    height: 31px;
    width: 221px; /* Добавлено, чтобы инпуты занимали всю ширину обертки */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.form-group input:focus {
    outline: none;
    border-color: #6B2737;
}

.continue-btn {
    width: 300px;
    padding: 12px;
    background-color: #6B2737;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0;
}

.continue-btn:hover {
    background-color: #8B3447;
}
#potteryWheelModalStep2 .modal-content {
    position: relative;
    background: #fff;
    margin: 2% auto;
    padding: 32px 36px 32px 36px;
    width: 100%;
    max-width: 814px;
    min-width: 320px;
    max-height: 80vh; /* Ограничиваем максимальную высоту */
    overflow-y: auto; /* Добавляем прокрутку при необходимости */
    border-radius: 10px;
    border: 2px solid #6B2737;
    box-shadow: 0 2px 12px rgba(107, 39, 55, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

#potteryWheelModalStep2 .back-btn {
    position: absolute;
    left: 18px;
    top: 16px;
    background: none;
    border: none;
    color: #6B2737;
    font-size: 16px;
    font-family: 'Work Sans', sans-serif;
    cursor: pointer;
    z-index: 2;
    padding: 0;
}

#potteryWheelModalStep2 .close-modal {
    position: absolute;
    right: 18px;
    top: 16px;
    cursor: pointer;
    z-index: 2;
}

#potteryWheelModalStep2 .modal-title {
    color: #6B2737;
    font-family: 'Philosopher', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 0;
}

#potteryWheelModalStep2 .step2-info-block {
    background: #FAF8F8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(107, 39, 55, 0.08);
    padding: 24px 92px 18px 92px;
    margin: 0 auto 18px auto;
    width: 680px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow-y: visible; /* Убираем прокрутку */
    max-height: none; /* Убираем ограничение высоты */
}

#potteryWheelModalStep2 .step2-date-row {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #6B2737;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#potteryWheelModalStep2 .step2-date-label {
    font-weight: 700;
    color: #6B2737;
    font-size: 20px;
}

#potteryWheelModalStep2 .step2-date-value {
    font-weight: 400;
    color: #222;
    font-size: 20px;
}

#potteryWheelModalStep2 .step2-participants {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#potteryWheelModalStep2 .step2-participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px; /* Добавляем отступ между строками */
    gap: 12px;
}

#potteryWheelModalStep2 .step2-participant-row label {
    min-width: 90px;
    color: #222;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
    text-align: left;
    flex: 0 0 auto; /* Не растягиваем метку */
}

#potteryWheelModalStep2 .step2-participant-row input[type="text"],
#potteryWheelModalStep2 .step2-participant-row input[type="tel"] {
    width: 160px;
    height: 31px;
    border: 1px solid #6B2737;
    border-radius: 8px;
    padding: 0 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #6B2737;
    background: #fff;
    outline: none;
    transition: border 0.2s;
    box-sizing: border-box;
}
#potteryWheelModalStep2 .step2-participant-row input[type="text"]:focus,
#potteryWheelModalStep2 .step2-participant-row input[type="tel"]:focus {
    border: 1.5px solid #8B3447;
}

#potteryWheelModalStep2 .step2-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: #222;
    margin: 18px 0 18px 0;
    text-align: center;
    width: 100%;
}

#potteryWheelModalStep2 .step2-submit {
    width: 260px;
    margin: 0 auto;
    display: block;
    background: #6B2737;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s;
}
#potteryWheelModalStep2 .step2-submit:hover {
    background: #8B3447;
}
/* Отзывы */

.reviews h2 {
    color: rgb(107, 39, 55);
    font-family: Philosopher;
    font-size: 48px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 20px;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 5px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    padding: 21px 0;
}

.reviews-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/photo/various-vases-pottery-indoors-workshop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
}

.reviews-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.review-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 18px;
    border: 2px solid rgb(107, 39, 55);
    width: 773px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 40px);
}

.review-header {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-name {
    color: rgb(107, 39, 55);
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.rating {
    color: rgb(107, 39, 55);
    font-size: 18px;
}

.review-text {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.reviews-more {
    text-align: right;
    margin-top: 0px;
}
/* === Уникальные стили для модального окна аренды rentModal === */
.rent-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(107, 39, 55, 0.45);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
}

.rent-modal.show {
    display: flex;
}

.rent-modal-content {
    position: relative;
    background: #fff;
    margin: 5% auto;
    padding: 36px 32px 28px 32px;
    width: 814px;
    max-width: 98vw;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(107,39,55,0.18);
    border: 2px solid #6B2737;
    animation: rentModalFadeIn 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.rent-modal-content img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    vertical-align: middle;
}

.rent-modal-close img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s;
}

.rent-modal-close:hover img {
    opacity: 1;
}

@keyframes rentModalFadeIn {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.rent-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.rent-modal-close:hover {
    opacity: 1;
}

.rent-modal-title {
    color: rgb(107, 39, 55);
font-family: Philosopher;
font-size: 30px;
font-weight: 700;
line-height: 34px;
letter-spacing: 0%;
text-align: center;
}

.rent-modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 620px;
    height: 345px;
    padding: 30px 30px;
    border-radius: 10px;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
    background: rgb(248, 246, 246);
}

.rent-modal-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
    position: relative;
    justify-content: space-between; 


}

.rent-modal-group label {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: left;
    
}

.rent-modal-group #rentName,
.rent-modal-group #rentPhone {
    box-sizing: border-box;
    border: 1px solid rgb(107, 39, 55);
    border-radius: 10px;
    background: rgb(255, 255, 255);
    width: 153px;
    height: 32px;
    text-align: left;
}
.rent-modal-form #rentDescription {

    width: 501px;
    height: 136px;
    box-sizing: border-box;
    border: 1px solid rgb(107, 39, 55);
    border-radius: 10px;

    background: rgb(255, 255, 255);
}

.rent-modal-input:focus,
.rent-modal-select:focus {
    outline: none;
    border-color: #8B3447;
    background: #fff;
}

.rent-modal-select {
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px 18px;
}

.rent-modal-calendar-icon,
.rent-modal-time-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    pointer-events: none;
    opacity: 0.7;
}

.rent-modal-group input[type="date"]::-webkit-calendar-picker-indicator,
.rent-modal-group input[type="time"]::-webkit-calendar-picker-indicator {

    opacity: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.rent-modal-group input[type="number"]::-webkit-inner-spin-button,
.rent-modal-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.submit-rent {
    background: #6B2737;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    padding: 12px 0;
    margin-top: 10px;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    transition: background 0.2s;
    width: 220px;
    align-self: center;
    display: block;
}
.rent-modal-submit:hover {
    background: #8B3447;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .rent-modal-content {
        padding: 18px 6px 16px 6px;
        max-width: 99vw;
        width: 99vw;
    }
    .rent-modal-title {
        font-size: 20px;
    }
    .rent-modal-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .rent-modal-group label {
        min-width: 0;
        font-size: 14px;
    }
    .rent-modal-group input,
    .rent-modal-group select {
        font-size: 14px;
    }
    .rent-modal-submit {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
    }
    .rent-modal-calendar-icon,
    .rent-modal-time-icon {
        width: 18px;
        height: 18px;
    }
}


#successModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #6B2737;
    padding: 20px 50px 20px 50px;
    box-sizing: border-box;
}

#successModal .success-modal-title {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 21px;
}

#successModal p {
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 19px;
    letter-spacing: 0%;
    text-align: center;
}

#successModal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Fullscreen Gallery Modal */
.fullscreen-gallery-modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery-window .close-modal-gallery {
    position: absolute;
    top : 5px;
    right: 5px;
    height: 25px;
    width: 25px;
    color: #fff;

    font-weight: bold;
    cursor: pointer;
    z-index: 2002;
}
.close-modal-gallery img {
    position: relative;
    height: 25px;
    width: 25px;
}
.fullscreen-gallery-modal .close-modal-gallery:hover,
.fullscreen-gallery-modal .close-modal-gallery:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.fullscreen-gallery-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(245, 245, 245, 0.3);
    width: 100%;
    height: 100%;
}
.gallery-window{
    display: inline-flex;

    position: relative;
    width:440px;
    max-height: 580px;

    box-sizing: border-box;
    border: 1px solid rgb(107, 39, 55);
    padding: 2% 2% 2% 2%;
    border-radius: 10px;

    background: rgb(255, 254, 254);
}
#fullscreenImage {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}
.nav-btn.prev-btn {
    position: absolute;
    background: none;
    border: none;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
}
.nav-btn.next-btn{
    right: -45px;
    background: none;
    position: absolute;
    border: none;
    top: 50%;
    transform: translateY(-50%);
}
.fullscreen-gallery-content .nav-buttons-gallery {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #fff;
    font-size: 50px;
    z-index: 2002;
}

.fullscreen-gallery-content .nav-btn img {
    width: 50px;
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.fullscreen-gallery-content .nav-btn:hover img {
    opacity: 1;
}



/* Галерея */
.gallery {
    background-color: #fff;
    padding: 0 0;
}

.gallery h2 {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 54px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 4px;
}

.gallery-subtitle {
    color: rgb(33, 33, 33);
    color: rgb(0, 0, 0);
    font-family: Work Sans, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 31px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(2) {
    grid-column: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(5) {
    grid-column: span 2;
}

.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item:nth-child(7) {
    grid-column: span 1;
}

.gallery-item:nth-child(8) {
    grid-column: span 1;
}

.gallery-item:nth-child(9) {
    grid-column: span 2;
}
.gallery-item:nth-child(10) {
    grid-column: span 2;
    
    
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    text-align: right;
    margin-top: 20px;
}

.more-link {
    color: #000;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.more-link:hover {
    opacity: 0.8;
}
/* FAQ (Вопросы и ответы) */
.faq {
    background: #fff;
    padding: 0 0;
}

.faq-title {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 17px;
    text-align: left;
}

.faq-list {
    max-width: 1120px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(107,39,55,0.04);
    background: #fff;
    padding: 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.faq-item + .faq-item {
    border-top: 1px solid #000;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-family: 'Philosopher', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
    color: rgb(45, 45, 45);
    letter-spacing: 0%;
    text-align: left;
    padding: 24px 20px 24px 20px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-arrow {
    font-size: 24px;
    color: rgb(107, 39, 55);
    margin-left: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #faf7f7;
    color: rgb(45, 45, 45);
    font-size: 18px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0%;
    text-align: left;
    padding: 0 20px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0px 20px 22px 20px;
    max-height: 300px;
}