/* Стили для секции отзывов */
.reviews {
    padding: 80px 0;
    position: relative;
    background-color: #f9f8f6;
}

.reviews:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('./images/pattern-bg.png');
    background-size: contain;
    opacity: 0.07;
    pointer-events: none;
}

.reviews .section-header {
    margin-bottom: 60px;
}

.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reviews-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.review-card {
    background-color: white;
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-card:hover:after {
    content: 'Подробнее';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.review-card:hover:after:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стили для карточек Отзовика - используем Pantone 7466 C */
.review-card.otzovik {
    border-top: 3px solid #00B2B0;
}

/* Стили для карточек IRecommend - используем Pantone 4103 C */
.review-card.irecommend {
    border-top: 3px solid #4D342A;
}

.review-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-logo {
    font-weight: bold;
    color: #666;
}

.otzovik .service-logo span {
    color: #00B2B0; /* Pantone 7466 C */
    position: relative;
    padding-left: 0;
}

.otzovik .service-logo span:before {
    content: "";
    display: none;
    visibility: hidden;
}

.irecommend .service-logo span {
    color: #4D342A; /* Pantone 4103 C */
    position: relative;
    padding-left: 0;
}

.irecommend .service-logo span:before {
    content: "";
    display: none;
    visibility: hidden;
}

.review-rating {
    display: none;
}

.review-stars {
    display: none;
}

.review-stars .material-symbols-outlined {
    color: #FFD700;
    font-size: 18px;
    margin-right: 0;
}

.otzovik .review-score {
    display: none;
}

.irecommend-meter {
    display: none;
}

.meter-text {
    display: none;
}

.meter-value {
    display: none;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    min-height: 120px;
}

.review-author {
    display: none;
}

.review-name {
    font-weight: bold;
    color: #4D342A; /* Pantone 4103 C */
    margin: 0;
    font-size: 14px;
    position: relative;
}

.otzovik .review-name {
    color: #00B2B0; /* Pantone 7466 C */
    text-decoration: underline;
}

.irecommend .review-name {
    color: #4D342A; /* Pantone 4103 C */
    font-style: italic;
}

.review-date {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.review-benefit {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #4D342A; /* Pantone 4103 C */
}

.benefit-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #00B2B0; /* Pantone 7466 C */
    color: white;
    border-radius: 50%;
    margin-right: 5px;
    font-weight: bold;
}

.benefit-text {
    color: #666;
}

.review-product-line {
    margin-bottom: 15px;
}

.product-line-name {
    font-weight: bold;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
}

.product-line-name:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Стили для разных линеек продуктов */
.product-line-name.classico {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #4D342A;
}

.product-line-name.perfetto {
    font-family: var(--font-accent);
    font-style: italic;
    color: #00B2B0;
}

.product-line-name.uno {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4D342A;
}

.product-line-name.faretti {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00B2B0;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .reviews-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reviews {
        padding: 60px 0;
    }
    
    .reviews-cards {
        grid-template-columns: 1fr;
    }
    
    .review-text {
        min-height: auto;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-benefit {
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .review-service {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-text {
        margin-bottom: 60px;
    }
}