/* ── Section wrapper ── */
.reviews-section {
    background: linear-gradient(165deg, #0c1d2c 0%, #0f2234 100%);
}

.gradient-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 4rem;
    overflow-x: clip;
}

/* ── Header ── */
.gradient-background_header {
    text-align: center;
    margin-bottom: 3rem;
}

.gradient-background_header span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.gradient-background_header span::before,
.gradient-background_header span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 0.6;
    transform: translateY(-50%);
}

.gradient-background_header span::before { right: 100%; }
.gradient-background_header span::after  { left: 100%; }

.gradient-background_header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* ── Horizontal scroll container ── */
.slider-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding-top: 10px;
    margin-top: -10px;
}

.slider-cards::-webkit-scrollbar { display: none; }
.slider-cards.is-dragging { cursor: grabbing; scroll-behavior: auto; }

/* ── Review cards ── */
.review-card {
    flex: 0 0 calc(33.33% - 11px);
    scroll-snap-align: start;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2.2rem 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -14px;
    left: 18px;
    font-size: 7rem;
    font-family: Georgia, serif;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.08);
}

/* Stars */
.review-box_stars {
    display: flex;
    gap: 4px;
}

.review-box_stars i {
    color: #f5b942;
    font-size: 0.9rem;
}

/* Opinion text */
.review-card p {
    text-align: center;
    flex: 1;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

/* Divider */
.review-divider {
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Author block */
.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.review-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--blue-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.review-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}

.review-author h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: center;
}


/* ── Breakpoints ── */

@media (max-width: 900px) {
    .review-card { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 560px) {
    .gradient-background { padding: 3rem 1rem; }
    .review-card         { flex: 0 0 82%; }
}
