/*
 * Products Hub page styles
 * @author Fudo
 * @date   2026-05-05
 */

/* ── INTRO ── */
.products-intro {
    padding: var(--space-12) 0 var(--space-8);
    background: #fff;
}

.products-intro__copy h2 {
    font-size: var(--text-3xl);
    color: var(--navy-800);
    margin: 0 0 var(--space-3);
    line-height: 1.2;
}

.products-intro__copy p {
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 640px;
}

/* ── PRODUCT GRID — styles moved to components.css ── */

/* ── TESTIMONIALS ── */
.products-testi {
    background: var(--navy-900);
    padding: var(--space-16) 0;
}

.products-testi__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.products-testi__left .eyebrow {
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.12em;
}

.products-testi__left h2 {
    font-size: var(--text-3xl);
    color: #fff;
    margin: var(--space-3) 0 var(--space-5);
    line-height: 1.2;
}

.products-testi__left p {
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
}

.products-testi__right {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.products-testi__slider {
    min-height: 260px;
}

.products-testi__slide {
    display: none;
}

.products-testi__slide.is-active {
    display: block;
    animation: fadeInSlide 0.4s ease;
}

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

.products-testi__card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius-lg, 12px);
    padding: 50px;
    position: relative;
}

.products-testi__quote-icon {
    font-size: 3rem;
    color: var(--orange);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-4);
    font-family: Georgia, serif;
}

.products-testi__card blockquote {
    margin: 0 0 var(--space-6);
    color: rgba(255,255,255,0.88);
    font-size: var(--text-base);
    line-height: 1.75;
    border: none;
    padding: 0;
    font-style: italic;
}

.products-testi__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.products-testi__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: var(--text-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-testi__author strong {
    display: block;
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 700;
}

.products-testi__author span {
    display: block;
    color: rgba(255,255,255,0.55);
    font-size: var(--text-xs);
    margin-top: 3px;
}

.products-testi__dots {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.products-testi__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.products-testi__dot.is-active {
    background: var(--orange);
    transform: scale(1.25);
}

/* ── RESPONSIVE ── *//* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .products-grid__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid__row {
        grid-template-columns: 1fr;
    }

    .products-testi__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}
