/**
 * Premium stack: Lenis + Swiper + typography — يكمّل home-landing والـ cinematic.
 */

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
    html.lenis {
        scroll-behavior: auto;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Swiper — آراء العملاء */
.swiper-premium-testimonials {
    --swiper-theme-color: rgb(6 182 212);
    --swiper-pagination-bullet-size: 10px;
    --swiper-pagination-bullet-horizontal-gap: 6px;
    padding-bottom: 2.75rem !important;
}

.swiper-premium-testimonials .swiper-pagination-bullet {
    background: rgb(148 163 184);
    opacity: 0.55;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
}

.swiper-premium-testimonials .swiper-pagination-bullet-active {
    opacity: 1;
    background: rgb(6 182 212);
    transform: scale(1.15);
}

.swiper-premium-testimonials .swiper-button-prev,
.swiper-premium-testimonials .swiper-button-next {
    color: rgb(15 23 42);
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -2rem;
    border-radius: 0.75rem;
    border: 2px solid rgb(203 213 225);
    background: rgb(255 255 255);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.swiper-premium-testimonials .swiper-button-prev::after,
.swiper-premium-testimonials .swiper-button-next::after {
    font-size: 0.85rem;
    font-weight: 900;
}

.swiper-premium-testimonials .swiper-button-prev:hover,
.swiper-premium-testimonials .swiper-button-next:hover {
    border-color: rgb(34 211 238);
    color: rgb(8 145 178);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .swiper-premium-testimonials .swiper-button-prev,
    .swiper-premium-testimonials .swiper-button-next {
        display: none;
    }
}

/* طبقة ضوضاء خفيفة للهيرو الداكن — عمق بصري */
.premium-hero-grain {
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
