.scroll-to-top {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #1d4ed8;
}
.fade-in {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.reviews-hero {
    background: linear-gradient(135deg, #e0f2fe, #f0fdf4); /* красивый мягкий фон */
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.reviews-hero-content {
    max-width: 48rem;
    margin: 0 auto;
}

.reviews-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
}

.reviews-hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.scroll-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background-color: #2563eb;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.scroll-button:hover {
    background-color: #1d4ed8;
}
.reviews-wrapper {
    max-width: 64rem;
    margin: 0 auto;
    padding: 3.5rem 1rem;
}

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.reviews-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.full-review-flex {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.photo-container {
    flex-shrink: 0;
    width: 220px;
    height: auto;
}

.photo-full {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
}

.text-container {
    flex: 1;
}

.client-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.position {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

/* Адаптив на мобильных */
@media (max-width: 768px) {
    .full-review-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .photo-container {
        width: 160px;
    }

    .client-name {
        font-size: 1.25rem;
    }

    .review-text {
        font-size: 1rem;
    }
}