.reviews-company-block{
    margin-top: 30px;
}
.flex-group-fields{
  display: flex;
  gap: 30px;
}
.flex-group-fields>div{
  width: 50%;
}
.feedback-reviews {
    background: #ffffff;
    width: 100%;
    padding: 32px 30px 40px;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
    margin-top: 30px;
}
.feedback-reviews h2 {
    font-weight: 600;
    font-size: 24px;
    color: #1e293b;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feedback-reviews .subhead {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 28px;
    border-left: 3px solid #2c6478;
    padding-left: 12px;
}
.feedback-reviews .form-group {
    margin-bottom: 22px;
}
.feedback-reviews label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 6px;
}
.feedback-reviews label i {
    color: #94a3b8;
    margin-right: 6px;
    width: 18px;
}
.feedback-reviews input, .feedback-reviews textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    background: #fafcff;
    transition: 0.2s;
    outline: none;
    font-family: inherit;
}
.feedback-reviews input:focus, .feedback-reviews textarea:focus {
    border-color: #2c6478;
    box-shadow: 0 0 3px 5px rgb(44 100 120 / 8%);
    background: #ffffff;
}
.feedback-reviews textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-reviews .rating-section {
    margin-bottom: 28px;
}
.feedback-reviews .rating-section .label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.feedback-reviews .rating-section .label-wrap i {
    color: #2c6478;
}
.feedback-reviews .stars {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.feedback-reviews .stars input {
    opacity: 0;
  width: 1px;
  height: 1px;
}
.feedback-reviews .stars label {
    font-size: 32px;
    color: #d1d5db; /* цвет пустой звезды */
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    margin: 0;
    line-height: 1;
}
.feedback-reviews .stars label:hover,
.feedback-reviews .stars label:hover ~ label i,
.feedback-reviews .stars input:checked ~ label i {
    color: #2c6478; /* золото */
}
.feedback-reviews .stars label:hover {
    transform: scale(1.08);
}
.feedback-reviews .stars:hover label {
    color: #d1d5db;
}
.feedback-reviews .stars:hover label:hover i,
.feedback-reviews .stars:hover label:hover ~ label i,
.feedback-reviews .stars input:checked ~ label i{
    color: #2c6478;
}


.feedback-reviews .btn-submit {
    background: #2c6478;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px; 
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 6px;
    letter-spacing: 0.3px;
}
.feedback-reviews .btn-submit i {
    font-size: 18px;
}
.feedback-reviews .btn-submit:hover {
    background: #0f172a;
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.feedback-reviews .btn-submit:active {
    transform: scale(0.98);
}

.feedback-reviews .stars label i {
    font-style: normal; /* иконки fontawesome */
}

@media (max-width: 480px) {
    .feedback-reviews .feedback-card {
        padding: 24px 20px 30px;
    }
    .feedback-reviews .stars label {
        font-size: 28px;
    }
}



.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviews-header h2 {
    font-size: 28px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-header h2 i {
    color: #facc15;
}

.reviews-count {
    background: #e2e8f0;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.reviews-count span {
    font-weight: 700;
    color: #1e293b;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 !important;
    margin-bottom: 20px;
    margin-top: 20px;
}
.reviews-list .review-card:nth-child(n+5) {
    display: none;
}
.review-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Аватарка */
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.avatar-1 { background: #2b6478; }


.review-name {
    font-weight: 600;
    font-size: 17px;
    color: #1e293b;
}

.review-email {
    font-size: 13px;
    color: #94a3b8;
    display: block;
    margin-top: 2px;
}

.review-date {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

.review-date i {
    margin-right: 4px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 8px 0 12px 0;
}

.review-rating .star {
    color: #e2e8f0;
    font-size: 18px;
}

.review-rating .star.filled {
    color: #facc15;
}

.review-rating .rating-value {
    margin-left: 10px;
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-top: 4px;
}

.review-text p {
    margin-bottom: 0;
}
.review-text .detail-text-review{
    max-height: 51px;
    overflow: hidden;   
}
.review-text .detail-text-review.showAll{
    max-height: inherit;
}
/* ============================================
   ПУСТОЕ СОСТОЯНИЕ
   ============================================ */
.empty-reviews {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.empty-reviews i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-reviews h3 {
    color: #475569;
    font-weight: 500;
    font-size: 18px;
}

.empty-reviews p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 6px;
}
.show_all_reviews{
    text-align: center;
    margin-bottom: 40px;
}
.show_all_reviews a{
    padding: 10px 18px;
    background: #2c6478;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
}
.show-full-reviews{
    display: none;
}
.show-full-reviews.show{
    display: block;
}
.show-full-reviews span{
    color: #999;
    border-bottom: 1px dashed #999;
    cursor: pointer;
}
@media (max-width: 600px) {
    .show_all_reviews.hide_mobile{
        display: none;
    }
    .review-text .detail-text-review{
        max-height: 25.5px;
        overflow: hidden;   
    }
    .reviews-list .review-card:nth-child(n+5) {
        display: block;
    }
    .reviews-list .review-card:nth-child(n+7) {
        display: none;
    }
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .flex-group-fields{
        flex-direction: column;
        gap: 0;
    }
    .review-card {
        padding: 18px 20px;
    }
    .flex-group-fields>div{
        width: 100%;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-date {
        white-space: normal;
    }
}
.sucess-send-reviews{
    text-align: center;
    font-weight: bold;
    font-size: 20px; 
    display: none;   
}
.center-reviews-title{
    text-align: center;
}