.reviews-main {
  padding-bottom: 60px;
}

.filters-section {
  padding: 20px 0 10px;
}

.filters-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #F98820;
  color: #F98820;
}

.reviews-list {
  padding: 20px 0 10px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: box-shadow .2s ease, transform .2s ease;
}

.review-card.hidden { display: none; }

.review-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.review-rating { color: #ffb400; margin-bottom: 10px; }
.review-rating i { margin-right: 2px; }

.review-text {
  color: #333;
  line-height: 1.6;
  white-space: pre-line;
}

.review-meta {
  margin-top: 12px;
  font-size: 12px;
  color: #8c8c8c;
}

.reviews-cta {
  margin-top: 24px;
  text-align: center;
}

#loadMoreBtn {
  display: none;
  padding: 12px 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* --- Форма отзывов --- */
.leave-review { padding: 30px 0 60px; }
.review-form { background:#fff; border:1px solid #eee; border-radius:16px; padding:20px; box-shadow:0 6px 20px rgba(0,0,0,0.06); }
.review-form .form-row { display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.review-form .form-group { display:flex; flex-direction:column; gap:6px; }
.review-form .form-group.full { grid-column: 1 / -1; }
.review-form label { font-weight:600; color:#333; }
.review-form input, .review-form textarea, .review-form select { padding:12px 14px; border:1px solid #e0e0e0; border-radius:10px; font-size:14px; transition:border-color .2s ease; }
.review-form input:focus, .review-form textarea:focus, .review-form select:focus { outline:none; border-color:#F98820; }
.review-form textarea { min-height:120px; resize:vertical; }
.review-form .btn-primary { margin-top:8px; padding:12px 18px; background:linear-gradient(135deg,#F98820 0%, #ff6b35 100%); color:#fff; border:none; border-radius:10px; cursor:pointer; }
.review-form .btn-primary:hover { filter:brightness(0.95); }
.form-status { margin-top:10px; font-size:14px; }
.form-status.success { color:#22c55e; }
.form-status.error { color:#ef4444; }

/* Рейтинг звездами */
.rating-group { align-items:flex-start; }
.rating-stars { display:flex; gap:6px; font-size:20px; cursor:pointer; }
.rating-stars .star { color:#e0e0e0; transition:transform .1s ease, color .2s ease; }
.rating-stars .star.active { color:#ffc107; }
.rating-hint { font-size:12px; color:#8c8c8c; margin-top:4px; }

/* Блок Написать директору */
.director-card { margin-top:24px; background:linear-gradient(135deg,#fff 0%, #fff5ef 100%); border:1px solid #ffe1cf; border-radius:16px; padding:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.director-info h3 { margin:0 0 6px; }
.director-actions { display:flex; gap:10px; flex-wrap:wrap; }
.director-actions .btn { padding:10px 14px; border-radius:10px; background:#F98820; color:#fff; text-decoration:none; border:none; cursor:pointer; }
.director-actions .btn:hover { filter:brightness(0.95); }
.director-actions .btn-outline { padding:10px 14px; border-radius:10px; background:#fff; color:#333; border:1px solid #e0e0e0; cursor:pointer; }
.director-actions .btn-outline:hover { border-color:#F98820; color:#F98820; }

@media (max-width: 900px) {
  .review-form .form-row { grid-template-columns: 1fr; }
  .director-card { flex-direction:column; align-items:flex-start; }
}

/* =============================================== */
/*  СТРАНИЦА ОТЗЫВОВ - СОВРЕМЕННЫЙ ДИЗАЙН  */
/* =============================================== */

/* Используем стандартные контейнеры сайта */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F98820 0%, #ff6b35 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    font-size: 2rem;
    color: #22c55e;
}

.stat-item span {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-item small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Filters Section */
.filters-section {
    background: #f7f7f7;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filters-content {
    text-align: center;
}

.filter-group label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #F98820;
    color: #F98820;
}

.filter-btn.active {
    background: #F98820;
    border-color: #F98820;
    color: white;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.review-card.hidden {
    display: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F98820 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.review-info {
    flex: 1;
}

.review-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
}

.review-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-service {
    font-size: 0.85rem;
    color: #F98820;
    font-weight: 500;
    background: rgba(249, 136, 32, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

.review-content {
    margin-bottom: 20px;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-content p:last-child {
    margin-bottom: 0;
}

.review-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #F98820 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 136, 32, 0.3);
}

.load-more-btn:active {
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f7f7f7 0%, #f0f0f0 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #F98820 0%, #ff6b35 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 136, 32, 0.3);
}

.btn-secondary {
    background: white;
    color: #F98820;
    border-color: #F98820;
}

.btn-secondary:hover {
    background: #F98820;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item i {
        font-size: 1.5rem;
    }
    
    .stat-item span {
        font-size: 1.2rem;
    }
    
    .filters-section {
        padding: 30px 0;
    }
    
    .reviews-section {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeInUp 0.6s ease forwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }
.review-card:nth-child(7) { animation-delay: 0.7s; }
.review-card:nth-child(8) { animation-delay: 0.8s; }
.review-card:nth-child(9) { animation-delay: 0.9s; }
.review-card:nth-child(10) { animation-delay: 1s; }

/* =============================================== */
/*  ВИДЕО-ОТЗЫВЫ И МОДАЛЬНОЕ ОКНО  */
/* =============================================== */

/* Видео-карточки */
.video-review-card {
    position: relative;
    overflow: hidden;
}

.video-review-card .review-avatar {
    background: linear-gradient(135deg, #ff6b35 0%, #F98820 100%);
}

.video-review-preview {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.video-review-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #F98820 0%, #ff6b35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumbnail.vertical {
    height: 300px;
    max-width: 200px;
    margin: 0 auto;
}

.video-play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-button i {
    color: #F98820;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-review-preview:hover .video-play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Модальное окно для видео */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    background: #000;
}

.video-container.vertical {
    padding-bottom: 177.78%; /* 9:16 соотношение для вертикальных видео */
}

#videoIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .video-modal {
        padding: 10px;
    }
    
    .video-modal-content {
        max-width: 100%;
        max-height: 80vh;
    }
    
    .video-container.vertical {
        padding-bottom: 177.78%;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-thumbnail.vertical {
        height: 250px;
        max-width: 150px;
    }
    
    .video-play-button {
        width: 50px;
        height: 50px;
    }
    
    .video-play-button i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .video-thumbnail {
        height: 160px;
    }
    
    .video-thumbnail.vertical {
        height: 220px;
        max-width: 120px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
}

/* Анимация для видео-карточек */
.video-review-card {
    animation: fadeInUp 0.6s ease forwards;
}

.video-review-card:nth-child(11) { animation-delay: 1.1s; }
.video-review-card:nth-child(12) { animation-delay: 1.2s; }
.video-review-card:nth-child(13) { animation-delay: 1.3s; }
.video-review-card:nth-child(14) { animation-delay: 1.4s; }

/* =============================================== */
/*  ПРИНСКРИНЫ ОТЗЫВОВ  */
/* =============================================== */

.screenshot-review-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.screenshot-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.screenshot-review-preview {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.screenshot-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.screenshot-review-preview:hover .screenshot-image {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-review-preview:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-zoom-icon {
    color: white;
    font-size: 2rem;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.screenshot-review-preview:hover .screenshot-zoom-icon {
    transform: scale(1.1);
}

/* Убираем стили для screenshot-info, так как больше не используем */

/* Модальное окно для принскринов */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.screenshot-modal.active {
    opacity: 1;
    visibility: visible;
}

.screenshot-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.screenshot-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.screenshot-modal.active .screenshot-modal-content {
    transform: scale(1);
}

.screenshot-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.screenshot-modal-close:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.screenshot-modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Адаптивность для принскринов */
@media (max-width: 768px) {
    .screenshot-image {
        max-height: 250px;
    }
    
    .screenshot-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .screenshot-image {
        max-height: 200px;
    }
    
    .screenshot-zoom-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Анимации для принскринов */
.screenshot-review-card:nth-child(15) { animation-delay: 1.5s; }
.screenshot-review-card:nth-child(16) { animation-delay: 1.6s; }
.screenshot-review-card:nth-child(17) { animation-delay: 1.7s; }
.screenshot-review-card:nth-child(18) { animation-delay: 1.8s; }
.screenshot-review-card:nth-child(19) { animation-delay: 1.9s; }
.screenshot-review-card:nth-child(20) { animation-delay: 2.0s; }
.screenshot-review-card:nth-child(21) { animation-delay: 2.1s; }
.screenshot-review-card:nth-child(22) { animation-delay: 2.2s; }
.screenshot-review-card:nth-child(23) { animation-delay: 2.3s; }
.screenshot-review-card:nth-child(24) { animation-delay: 2.4s; } 