/* ============================================================
   Location Spoke — Testimonials
   File: assets/css/spoke/spoke-testimonials.css
   Scope: .spoke-testimonials__* classes only
   Figma: node 2196:945 — white section, navy quote card in a
   Swiper carousel with a white result pill.
   ============================================================ */

.spoke-testimonials {
    background: var(--spoke-white);
    color: var(--spoke-navy);
    overflow: hidden;
}

.spoke-testimonials__header {
    text-align: center;
    max-width: 825px;
    margin: 0 auto 50px;
}

.spoke-testimonials__heading {
    color: var(--spoke-navy);
}

/* ---- Carousel shell ---- */
.spoke-testimonials__swiper {
    position: relative; /* contains the absolutely-positioned nav arrows */
    max-width: 1220px;
    margin: 0 auto;
}

/* ---- Navy quote card ---- */
.spoke-testimonials__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: var(--spoke-navy);
    color: var(--spoke-white);
    border-radius: var(--spoke-radius-card);
    padding: 50px 100px;
    text-align: center;
    height: 100%;
}

/* ---- Opening quote mark (top of card) ---- */
.spoke-testimonials__quote-icon {
    width: 29px;
    height: 24px;
    flex-shrink: 0;
    margin-bottom: 30px; /* + 20px card gap = 50px to stars (Figma) */
}

.spoke-testimonials__stars {
    width: 103px;
    height: 16px;
    flex-shrink: 0;
}

.spoke-testimonials__quote {
    max-width: 800px;
    margin: 0;
    font-family: var(--spoke-font-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--spoke-white);
}

.spoke-testimonials__author {
    margin: 0;
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--spoke-blue-2);
}

/* ---- White result pill: coin icon + value/label (Figma row) ---- */
.spoke-testimonials__result {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    background: var(--spoke-white);
    border-radius: var(--spoke-radius-pill);
    padding: 18px 36px 18px 24px;
    margin-top: 30px; /* + 20px card gap = 50px from author (Figma) */
    /* Figma: gold shape offset ~7px right / ~8px down behind the white pill
       (hard, unblurred) → layered "stacked card" look. */
    box-shadow: 6px 8px 0 0 var(--spoke-gold);
}

.spoke-testimonials__result-icon {
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    display: block;
}

.spoke-testimonials__result-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.spoke-testimonials__result-value {
    font-family: var(--spoke-font-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
}

.spoke-testimonials__result-label {
    font-family: var(--spoke-font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: var(--spoke-navy);
}

/* ---- Pagination ---- */
.spoke-testimonials__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.spoke-testimonials__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--spoke-border);
    opacity: 1;
    transition: background 0.15s;
}

.spoke-testimonials__pagination .swiper-pagination-bullet-active {
    background: var(--spoke-blue);
}

/* ---- Nav arrows: solid blue circles (matches hub treatment) ---- */
.spoke-testimonials__swiper .swiper-button-next,
.spoke-testimonials__swiper .swiper-button-prev {
    top: 50%;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    background: var(--spoke-blue);
    border-radius: 50%;
    --swiper-navigation-color: var(--spoke-white);
    --swiper-navigation-size: 16px;
    transition: opacity 0.15s;
}

.spoke-testimonials__swiper .swiper-button-next {
    right: 24px;
}

.spoke-testimonials__swiper .swiper-button-prev {
    left: 24px;
}

.spoke-testimonials__swiper .swiper-button-next:hover,
.spoke-testimonials__swiper .swiper-button-prev:hover {
    opacity: 0.88;
}

.spoke-testimonials__swiper .swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}


/* ============================
   RESPONSIVE — TESTIMONIALS
   ============================ */

@media (max-width: 1024px) {
    .spoke-testimonials__card {
        padding: 48px 56px;
    }

    .spoke-testimonials__quote {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .spoke-testimonials__card {
        padding: 40px 24px;
        gap: 16px;
    }

    .spoke-testimonials__quote {
        font-size: 21px;
    }

    /* Mobile relies on touch/swipe scrolling, not the arrow controls */
    .spoke-testimonials__swiper .swiper-button-next,
    .spoke-testimonials__swiper .swiper-button-prev {
        display: none;
    }
}
