/* Reviews section */
.reviews-section {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 119, 198, 0.18), transparent 34%),
                radial-gradient(circle at bottom right, rgba(120, 119, 255, 0.18), transparent 36%),
                #fff7fb;
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 14px;
}

.reviews-section .section-subtitle {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
    color: #6b5d73;
    font-size: 18px;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-card,
.review-form-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(195, 125, 210, 0.22);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(99, 62, 128, 0.12);
    backdrop-filter: blur(8px);
}

.review-card {
    padding: 22px;
}

.review-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-card__name {
    margin: 0;
    font-size: 18px;
    color: #392043;
}

.review-card__stars {
    color: #ffb703;
    white-space: nowrap;
    font-size: 15px;
}

.review-card__text {
    margin: 0 0 14px;
    color: #4c4054;
    line-height: 1.55;
}

.review-card__date {
    font-size: 13px;
    color: #8a7d91;
}

.review-empty,
.review-error {
    grid-column: 1 / -1;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    color: #6b5d73;
    text-align: center;
}

.review-form-card {
    padding: 26px;
    position: sticky;
    top: 18px;
}

.review-form-card h3 {
    margin: 0 0 10px;
    color: #392043;
    font-size: 24px;
}

.review-form-card p {
    margin: 0 0 18px;
    color: #6b5d73;
}

.review-form {
    display: grid;
    gap: 14px;
}

.review-form label {
    display: grid;
    gap: 7px;
    color: #4c4054;
    font-weight: 600;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    border: 1px solid rgba(116, 82, 132, 0.22);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: #392043;
    background: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.review-form textarea {
    min-height: 128px;
    resize: vertical;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    border-color: rgba(179, 84, 210, 0.72);
    box-shadow: 0 0 0 4px rgba(179, 84, 210, 0.12);
}

.review-form__note,
.review-form__status {
    font-size: 13px;
    color: #7d7085;
}

.review-form__status.is-success {
    color: #178245;
}

.review-form__status.is-error {
    color: #c43030;
}

.review-honeypot {
    display: none !important;
}

@media (max-width: 900px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }
    .review-form-card {
        position: static;
    }
}

@media (max-width: 620px) {
    .reviews-section {
        padding: 64px 0;
    }
    .reviews-list {
        grid-template-columns: 1fr;
    }
}
