/* ==================================================
   Homepage Recent Reviews — dark, single-review spotlight.
   One review shown at a time, centered, auto-fading to the next in a
   loop (home-reviews.js) -- same behavior at every screen size, so
   there's no separate "static 3-column" state to keep in sync.
   ================================================== */
:root {
    --hr-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    --hr-orange: #ff5e14;
    --hr-muted: #9a9ea8;
}

.amzy-reviews,
.amzy-reviews * {
    all: revert;
    box-sizing: border-box;
}

.amzy-reviews {
    display: block;
    background: linear-gradient(135deg, #16181d 0%, #23262c 100%);
    padding: 64px 0 72px;
    font-family: var(--hr-font);
}

.amzy-reviews .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.amzy-reviews-title {
    display: block;
    text-align: center;
    font-family: var(--hr-font);
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 30px);
    color: #fff;
    margin: 0 0 40px;
}

.amzy-reviews-grid {
    position: relative;
    min-height: 130px;
}

.amzy-review {
    display: none;
    text-align: center;
    padding: 0 12px;
}

.amzy-review.is-active {
    display: block;
    animation: amzyReviewFade 0.5s ease;
}

.amzy-review-name {
    font-family: var(--hr-font);
    font-weight: 700;
    font-size: 16px;
    color: var(--hr-orange);
    margin: 0 0 12px;
}

.amzy-review-text {
    font-family: var(--hr-font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--hr-muted);
    margin: 0;
}

@keyframes amzyReviewFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.amzy-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
}

.amzy-reviews-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.amzy-reviews-dots span.is-active {
    background: var(--hr-orange);
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .amzy-reviews { padding: 52px 0 56px; }
    .amzy-reviews-title { font-size: 21px; margin-bottom: 30px; }
    .amzy-reviews-grid { min-height: 150px; }
    .amzy-review-name { font-size: 14.5px; margin-bottom: 10px; }
    .amzy-review-text { font-size: 13px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
    .amzy-review.is-active { animation: none; }
}
