.reviews-section {
    background-color: #2D2826;
    color: #DDCEBC;
    text-align: center;
    padding: 50px 20px 60px;
    font-family: 'Playfair Display', serif;
}

.reviews-main-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.reviews-carousel-wrap {
    max-width: 1000px;
    margin: 0 auto 50px;
    position: relative;
    padding: 0 55px;
}

.reviews-wrap-prev,
.reviews-wrap-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #DDCEBC;
    font-size: 22px;
    z-index: 10;
    transition: opacity 0.2s;
    user-select: none;
}

.reviews-wrap-prev { left: 4px; }
.reviews-wrap-next { right: 4px; }

.reviews-wrap-prev:hover,
.reviews-wrap-next:hover { opacity: 0.6; }

.reviews-wrap-prev.disabled,
.reviews-wrap-next.disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.reviews-track::-webkit-scrollbar { display: none; }

.reviews-track .review-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    min-width: 0;
}

/* Mobile */
@media (max-width: 1023px) {
    .reviews-carousel-wrap {
        padding: 0 10px;
    }
    .reviews-wrap-prev,
    .reviews-wrap-next {
        display: none;
    }
    .reviews-track .review-card {
        flex: 0 0 85vw;
        max-width: 340px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .reviews-track .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

.review-card {
    background: rgba(221, 206, 188, 0.08);
    border: 1px solid rgba(221, 206, 188, 0.2);
    border-radius: 12px;
    padding: 24px 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.review-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #DDCEBC;
}

.review-card-date {
    font-size: 13px;
    color: rgba(221, 206, 188, 0.55);
    white-space: nowrap;
}

.review-card-stars {
    color: #b08968;
    font-size: 20px;
    letter-spacing: 2px;
}

.review-card-message {
    font-size: 15px;
    font-weight: 400;
    color: rgba(221, 206, 188, 0.85);
    line-height: 1.6;
}



.reviews-empty {
    font-size: 18px;
    color: rgba(221, 206, 188, 0.5);
    margin-top: 10px;
}

.reviews-form-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.reviews-form-title {
    font-size: 24px;
    margin-bottom: 28px;
    text-align: center;
    color: #DDCEBC;
}

.reviews-form-row {
    position: relative;
    margin-bottom: 24px;
}

.reviews-form-row input,
.reviews-form-row textarea {
    width: 100%;
    background: rgba(221, 206, 188, 0.07);
    border: 1px solid rgba(221, 206, 188, 0.3);
    border-radius: 8px;
    padding: 18px 14px 8px;
    color: #DDCEBC;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    resize: none;
}

.reviews-form-row input:focus,
.reviews-form-row textarea:focus {
    border-color: #b08968;
}

.reviews-form-row label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 15px;
    color: rgba(221, 206, 188, 0.5);
    pointer-events: none;
    transition: top 0.2s, font-size 0.2s, color 0.2s;
}

.reviews-form-row input:focus ~ label,
.reviews-form-row input:not(:placeholder-shown) ~ label,
.reviews-form-row textarea:focus ~ label,
.reviews-form-row textarea:not(:placeholder-shown) ~ label {
    top: 5px;
    font-size: 11px;
    color: #b08968;
}

.reviews-star-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.reviews-star-label {
    font-size: 15px;
    color: rgba(221, 206, 188, 0.5);
    white-space: nowrap;
}

.stars-input {
    display: flex;
    gap: 4px;
}

.stars-input .star {
    font-size: 32px;
    color: rgba(221, 206, 188, 0.2);
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
    user-select: none;
}

.stars-input .star.hovered,
.stars-input .star.selected {
    color: #b08968;
    transform: scale(1.15);
}

.reviews-gdpr-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.reviews-gdpr-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #b08968;
    cursor: pointer;
}

.reviews-gdpr-row label {
    font-size: 13px;
    color: rgba(221, 206, 188, 0.65);
    line-height: 1.5;
    cursor: pointer;
}

.reviews-submit-btn {
    width: 100%;
    padding: 13px 20px;
    background-color: #b08968;
    color: #2D2826;
    border: none;
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.reviews-submit-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.reviews-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.reviews-feedback {
    margin-top: 14px;
    font-size: 15px;
    text-align: center;
    min-height: 22px;
}

.reviews-feedback.success { color: #7ec87e; }
.reviews-feedback.error   { color: #e07070; }

@media (min-width: 1024px) {
    .reviews-section {
        background-color: #DDCEBC;
        color: #2D2826;
    }

    .reviews-main-title {
        color: #2D2826;
    }

    .review-card {
        background: rgba(45, 40, 38, 0.06);
        border-color: rgba(45, 40, 38, 0.15);
    }

    .review-card-name {
        color: #2D2826;
    }

    .review-card-date {
        color: rgba(45, 40, 38, 0.45);
    }

    .review-card-stars {
        color: #b08968;
    }

    .review-card-message {
        color: rgba(45, 40, 38, 0.8);
    }

    .reviews-wrap-prev,
    .reviews-wrap-next {
        color: #2D2826;
    }
    .reviews-track .review-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .reviews-empty {
        color: rgba(45, 40, 38, 0.45);
    }

    .reviews-form-title {
        color: #2D2826;
    }

    .reviews-form-row input,
    .reviews-form-row textarea {
        background: rgba(45, 40, 38, 0.05);
        border-color: rgba(45, 40, 38, 0.25);
        color: #2D2826;
    }

    .reviews-form-row input:focus,
    .reviews-form-row textarea:focus {
        border-color: #b08968;
    }

    .reviews-form-row label {
        color: rgba(45, 40, 38, 0.45);
    }

    .reviews-star-label {
        color: rgba(45, 40, 38, 0.5);
    }

    .stars-input .star {
        color: rgba(45, 40, 38, 0.15);
    }

    .reviews-gdpr-row label {
        color: rgba(45, 40, 38, 0.6);
    }

    .reviews-submit-btn {
        background-color: #2D2826;
        color: #DDCEBC;
    }
}

.field-error {
    display: block;
    font-size: 12px;
    color: #e07070;
    margin-top: 5px;
    min-height: 16px;
    font-family: 'Playfair Display', serif;
}

.reviews-form-row input.invalid,
.reviews-form-row textarea.invalid {
    border-color: #e07070 !important;
}

.reviews-gdpr-row.invalid label {
    color: #e07070;
}

.stars-input.invalid .star {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-4px); }
    75%       { transform: translateX(4px); }
}

@media (min-width: 1024px) {
    .field-error {
        color: #c0392b;
    }
}
