/* reviews.css — стили для страницы отзывов */

.reviews-page {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    min-height: 70vh;
}

/* Хлебные крошки (единый стиль с другими страницами) */
.breadcrumbs {
    margin-bottom: 20px;
    padding: 0;
    font-size: 14px;
    color: #666;
}
.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.breadcrumbs a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
.breadcrumbs span {
    color: var(--text-dark);
    font-weight: 500;
}

.reviews-header {
    text-align: center;
    margin-bottom: 50px;
}
.reviews-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.reviews-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.rating-card {
    background: white;
    border-radius: 20px;
    padding: 25px 40px;
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 5px solid #3c9ae5;
}
.rating-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}
.rating-stars {
    color: #ffc107;
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}
.rating-text {
    color: var(--text-light);
    font-size: 1rem;
}

.reviews-widget-container {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.reviews-widget-container h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reviews-widget-container h2 i {
    color: #3c9ae5;
}
.yandex-widget-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}
.yandex-widget-wrapper > div {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 500px;
}
.yandex-widget-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px;
}
.widget-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}
.widget-footer i {
    color: #ffc107;
}
.widget-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}
.widget-footer a:hover {
    text-decoration: underline;
}

/* Доступность */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
button:focus-visible,
a:focus-visible,
.rating-card:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(52,152,219,0.2);
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media (prefers-contrast: high) {
    .rating-card,
    .reviews-widget-container {
        border: 2px solid currentColor;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-header h1 {
        font-size: 2rem;
    }
    .rating-card {
        padding: 20px 30px;
    }
    .rating-number {
        font-size: 3rem;
    }
    .rating-stars {
        font-size: 1.5rem;
    }
    .reviews-widget-container {
        padding: 20px;
    }
    .breadcrumbs {
        font-size: 12px;
    }
}