/* Reviews Page Styles */
.reviews-page {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

.reviews-hero {
    text-align: center;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #333;
}

.reviews-hero .lead {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-content {
    padding: 80px 0;
}

/* Сетка отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Карточка отзыва */
.review-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.company-logo {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
}

.company-info h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.review-date {
    color: #666;
    font-size: 0.95rem;
}

.review-body {
    margin-bottom: 30px;
}

.review-text {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.review-text:last-child {
    margin-bottom: 0;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.signature {
    text-align: left;
}

.signature strong {
    display: block;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.signature p {
    margin: 0;
    color: #0066cc;
    font-weight: 600;
    font-size: 1.1rem;
}

.download-btn {
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.download-btn i {
    font-size: 1.1rem;
}

/* Секция статистики */
.stats-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 60px 40px;
    margin: 60px 0;
    text-align: center;
}

.stats-title {
    color: #0066cc;
    margin-bottom: 50px;
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Загрузка всех отзывов */
.all-reviews-download {
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.all-reviews-download h3 {
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.download-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0066cc;
    color: white;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-all-btn:hover {
    background: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.download-note {
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .reviews-hero {
        padding: 60px 0;
    }

    .reviews-hero h1 {
        font-size: 2.2rem;
    }

    .reviews-content {
        padding: 40px 0;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .company-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .review-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .signature {
        text-align: center;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .stats-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .all-reviews-download {
        padding: 40px 20px;
    }

    .all-reviews-download h3 {
        font-size: 1.6rem;
    }

    .download-all-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .reviews-hero h1 {
        font-size: 1.8rem;
    }

    .reviews-hero .lead {
        font-size: 1.1rem;
    }

    .review-card {
        padding: 25px 20px;
    }

    .company-logo {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .company-info h3 {
        font-size: 1.2rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .signature p {
        font-size: 1rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .all-reviews-download h3 {
        font-size: 1.4rem;
    }

    .download-all-btn {
        font-size: 1rem;
        padding: 14px 20px;
    }
}

/* Сообщения */
.messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    animation: fadeIn 0.3s;
}

.alert-success {
    background: #4CAF50;
    color: white;
}

.alert-error {
    background: #f44336;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}