/*******************************
   TESTIMONIALS SPREAD SECTION
*******************************/
.tm-section {
    background: radial-gradient(63.94% 63.94% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.00) 100%), #010314;
}

.tm-section {
    position: relative;
}

.tm-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ── Logo ─────────────────────────────────────────────────────── */

.tm-logo {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.tm-google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 18px;
    opacity: 0.6;
    margin: 0 0 10px;
    color: var(--text-light);
}

.tm-google-rating svg path {
    fill: var(--text-light);
}

.tm-logo-mark {
    margin: 0 auto;
    width: clamp(150px, 14.32vw + 96.3px, 288px);
    font-weight: 700;
    filter: invert();
    letter-spacing: -0.02em;
    line-height: 1;
}

/* ── Cards (shared) ───────────────────────────────────────────── */

.tm-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    color: #fff;
}

.tm-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-stars {
    font-size: 15px;
    color: var(--text-light);
}

.tm-date {
    font-size: 15px;
    opacity: 0.5;
}

.tm-text {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0 0 16px;
    color: var(--white);
}

.tm-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-img-holder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
}

.tm-author img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-author {
    font-weight: 500;
    color: var(--white);
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.tm-author span {
    font-size: 16px;
    color: var(--text-light);
}

/* ── Desktop: sticky stage, no pin ───────────────────────────── */
@media (min-width: 992px) {
    .tm-stage {
        position: sticky;
        top: 0;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
    }


    .tm-card {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 440px;
        padding: 32px;
        background: rgba(63, 63, 63, 0.18);
        backdrop-filter: blur(8px);
        /* transform handled fully by GSAP */
    }

    .author-img-holder {
        width: 46px;
        height: 46px;
    }
}

/* ── Mobile: stacked cards, solid background ─────────────────── */
@media (max-width: 991px) {
    .tm-stage {
        height: 100vh;
        overflow: hidden;
    }

    .tm-card {
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(100% - 48px);
        max-width: 420px;
        /* Solid background — no transparency so text is readable */
        background: rgba(7, 9, 25, 0.4);
        backdrop-filter: blur(25px);
        border-color: rgba(255, 255, 255, 0.12);
    }

    /* Logo sits just below the card stack */
    .tm-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        text-align: center;
    }
}