.rv-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(193, 164, 112, 0.08), transparent 22%),
        radial-gradient(circle at 90% 85%, rgba(193, 164, 112, 0.06), transparent 20%),
        linear-gradient(180deg, #fcfbf8 0%, #f5efe7 42%, #fcfbf8 100%);
}

/* hero */
.rv-hero {
    padding: 34px 0 26px;
}

.rv-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(36, 27, 18, 0.07);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
}

.rv-mini-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #9c7c55;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-family: "Montserrat", Arial, sans-serif;
}

.rv-hero-title,
.rv-section-head h2,
.rv-form-intro h2 {
    margin: 0;
    color: #17120d;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-weight: 700;
    line-height: 0.95;
}

.rv-hero-title {
    font-size: clamp(40px, 5vw, 72px);
    max-width: 760px;
}

.rv-hero-text {
    max-width: 650px;
    margin: 20px 0 28px;
    color: #6d6257;
    font-size: 16px;
    line-height: 1.9;
}

.rv-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
}

.rv-stat-card {
    padding: 20px 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,240,233,0.98) 100%);
    border: 1px solid rgba(45, 33, 21, 0.07);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
}

.rv-stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: #17120d;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.rv-stat-card span {
    color: #786d61;
    font-size: 13px;
    line-height: 1.6;
}

.rv-hero-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rv-hero-panel-card {
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.85), rgba(255,255,255,0.25) 30%, transparent 48%),
        linear-gradient(180deg, #f4ece2 0%, #ebe1d5 100%);
    border: 1px solid rgba(36, 27, 18, 0.08);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.65);
}

.rv-panel-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #17120d;
    color: #f1d9b0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rv-panel-rating-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.rv-panel-score {
    font-size: 58px;
    line-height: 1;
    color: #17120d;
    font-weight: 800;
}

.rv-panel-stars {
    color: #b68b4d;
    font-size: 24px;
    letter-spacing: 3px;
}

.rv-hero-panel-card p {
    margin: 0 0 18px;
    color: #5f5448;
    font-size: 15px;
    line-height: 1.9;
}

.rv-panel-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #17120d;
    font-size: 14px;
}

.rv-user-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, #c9a167 0%, #9c7440 100%);
    box-shadow: 0 0 0 6px rgba(201, 161, 103, 0.12);
}

/* summary */
.rv-summary-section {
    padding: 10px 0 24px;
}

.rv-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.rv-summary-card {
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(36, 27, 18, 0.06);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.05);
}

.rv-summary-main {
    grid-column: span 3;
    padding: 26px 26px;
}

.rv-card-mini {
    display: inline-block;
    margin-bottom: 14px;
    color: #9b7b57;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.rv-main-rating-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
}

.rv-main-rating-number {
    font-size: 70px;
    line-height: 1;
    color: #17120d;
    font-weight: 800;
}

.rv-main-stars {
    color: #b68b4d;
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.rv-main-caption {
    margin: 0;
    color: #6d6257;
    font-size: 15px;
    line-height: 1.8;
}

.rv-progress-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rv-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rv-progress-head span {
    color: #5b5146;
    font-size: 14px;
    font-weight: 600;
}

.rv-progress-head strong {
    color: #17120d;
    font-size: 18px;
    font-weight: 800;
}

.rv-progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #efe7de;
}

.rv-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cfa66c 0%, #9b7443 100%);
}

/* reviews */
.rv-reviews-section {
    padding: 24px 0 30px;
}

.rv-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.rv-section-head h2 {
    font-size: 52px;
}

.rv-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rv-filter-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(23, 18, 13, 0.11);
    background: rgba(255,255,255,0.9);
    color: #17120d;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.rv-filter-btn:hover,
.rv-filter-btn.active {
    background: #17120d;
    color: #fff;
    border-color: #17120d;
    transform: translateY(-2px);
}

.rv-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.rv-review-card {
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,239,233,0.98) 100%);
    border: 1px solid rgba(43, 33, 22, 0.07);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rv-review-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);
    border-color: rgba(181, 144, 89, 0.18);
}

.rv-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.rv-review-tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #9b7b57;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.rv-review-top h3 {
    margin: 0;
    color: #17120d;
    font-size: 28px;
    line-height: 1;
    font-family: "Cormorant Garamond", serif;
}

.rv-stars {
    color: #b68b4d;
    font-size: 18px;
    white-space: nowrap;
    letter-spacing: 2px;
}

.rv-review-card p {
    margin: 0 0 18px;
    color: #665c52;
    font-size: 14px;
    line-height: 1.9;
}

.rv-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.rv-review-meta span {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f6eee5;
    color: #7a6853;
    font-size: 12px;
    font-weight: 700;
}

.rv-review-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(50, 40, 29, 0.08);
}

.rv-review-user strong {
    color: #17120d;
    font-size: 14px;
}

.rv-review-user span {
    color: #8a7a67;
    font-size: 13px;
}

/* form */
.rv-form-section {
    padding: 24px 0 80px;
}

.rv-form-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    align-items: start;
}

.rv-form-intro {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(43, 33, 22, 0.07);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 120px;
}

.rv-form-intro h2 {
    font-size: 50px;
    margin-bottom: 14px;
}

.rv-form-intro p {
    margin: 0 0 22px;
    color: #665c52;
    font-size: 15px;
    line-height: 1.9;
}

.rv-intro-points {
    display: grid;
    gap: 14px;
}

.rv-intro-point {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8f3ed 0%, #f2e9de 100%);
    border: 1px solid rgba(43, 33, 22, 0.06);
}

.rv-intro-point strong {
    display: block;
    margin-bottom: 6px;
    color: #17120d;
    font-size: 15px;
}

.rv-intro-point span {
    color: #75695c;
    font-size: 13px;
    line-height: 1.7;
}

.rv-form-card {
    padding: 28px;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,240,233,0.98) 100%);
    border: 1px solid rgba(43, 33, 22, 0.07);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.72);
}

.rv-review-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rv-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rv-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rv-field label,
.rv-rate-item label {
    color: #17120d;
    font-size: 14px;
    font-weight: 700;
}

.rv-field input,
.rv-field textarea {
    width: 100%;
    border: 1px solid #e7ddd1;
    background: #fff;
    color: #1d1712;
    border-radius: 16px;
    padding: 15px 16px;
    outline: none;
    transition: all 0.25s ease;
}

.rv-field textarea {
    resize: vertical;
    min-height: 130px;
}

.rv-field input:focus,
.rv-field textarea:focus {
    border-color: rgba(167, 133, 78, 0.44);
    box-shadow: 0 0 0 4px rgba(167, 133, 78, 0.08);
}

.rv-rating-block {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(43, 33, 22, 0.07);
}

.rv-rating-block h3 {
    margin: 0 0 18px;
    color: #17120d;
    font-size: 30px;
    line-height: 1;
    font-family: "Cormorant Garamond", serif;
}

.rv-rating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.rv-rate-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rv-star-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rv-star-select button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(23, 18, 13, 0.12);
    border-radius: 14px;
    background: #fff;
    color: #c8b39a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rv-star-select button:hover,
.rv-star-select button.active {
    background: #17120d;
    color: #f1d39d;
    border-color: #17120d;
    transform: translateY(-2px);
}

.rv-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: #5f5448;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}

.rv-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #17120d;
    flex-shrink: 0;
}

.rv-form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rv-submit-btn {
    min-width: 210px;
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #211912 0%, #120d09 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 16px 30px rgba(20, 13, 9, 0.16);
}

.rv-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(20, 13, 9, 0.2);
}

.rv-submit-note {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #7b684f;
}

.rv-error {
    min-height: 16px;
    color: #c14949;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.rv-rating-error {
    margin-top: 10px;
    display: block;
}

/* hidden filter state */
.rv-review-card.rv-hidden {
    display: none;
}

/* responsive */
@media (max-width: 1399px) {
    .rv-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .rv-hero-shell,
    .rv-form-shell {
        grid-template-columns: 1fr;
    }

    .rv-form-intro {
        position: relative;
        top: 0;
    }

    .rv-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rv-summary-main {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .rv-hero {
        padding: 18px 0 18px;
    }

    .rv-hero-shell,
    .rv-form-card,
    .rv-form-intro {
        padding: 20px;
        border-radius: 24px;
    }

    .rv-hero-title {
        font-size: 36px;
        line-height: 1.02;
    }

    .rv-hero-text {
        font-size: 14px;
        margin: 14px 0 18px;
    }

    .rv-hero-stats,
    .rv-summary-grid,
    .rv-review-grid,
    .rv-form-grid,
    .rv-rating-grid {
        grid-template-columns: 1fr;
    }

    .rv-summary-main {
        grid-column: span 1;
    }

    .rv-main-rating-wrap,
    .rv-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .rv-main-rating-number {
        font-size: 52px;
    }

    .rv-section-head h2,
    .rv-form-intro h2 {
        font-size: 38px;
    }

    .rv-review-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .rv-review-top h3 {
        font-size: 24px;
    }

    .rv-star-select button {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 20px;
    }

    .rv-submit-btn {
        width: 100%;
    }
}