/* ==========================================================================
   Anmol Digital — Testimonials Compact Premium V1
   Styles only /testimonials. No additional sections.
   ========================================================================== */

.testimonials-page {
    background: #f3f3ef;
}

.testimonials-page main {
    overflow: hidden;
}

.testimonials-page .page-banner {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.testimonials-page .breadcrumb-bar {
    position: relative;
    z-index: 4;
}

/* --------------------------------------------------------------------------
   Main testimonials section
   -------------------------------------------------------------------------- */

.testimonials-page__content {
    padding: clamp(48px, 5.5vw, 84px) 0;
    background:
        radial-gradient(
            circle at 92% 0,
            rgba(0, 0, 0, .035),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f2f2ee
        );
}

/* Compact premium heading card */

.testimonials-page__content > .container-fluid > .section-heading {
    max-width: 1080px;
    margin: 0 auto clamp(30px, 4vw, 48px);
    padding: clamp(24px, 3vw, 38px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(270px, .72fr);
    align-items: center;
    gap: clamp(24px, 4.5vw, 64px);
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(0, 0, 0, .035),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f7f7f3
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .98) inset,
        0 20px 52px rgba(0, 0, 0, .07);
    text-align: left;
}

.testimonials-page__content .section-heading::before,
.testimonials-page__content .section-heading::after {
    display: none;
}

.testimonials-page__content .section-heading__eyebrow {
    width: fit-content;
    margin: 0 0 14px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            #202020,
            #080808
        );
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .12) inset,
        0 10px 22px rgba(0, 0, 0, .15);
}

.testimonials-page__content .section-heading__eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .10);
}

.testimonials-page__content .section-heading h2 {
    max-width: 700px;
    margin: 0;
    color: #111111;
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.058em;
    text-wrap: balance;
}

.testimonials-page__content .section-heading__description {
    max-width: 430px;
    margin: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(0, 0, 0, .13);
    color: #656565;
    font-size: 14.5px;
    line-height: 1.7;
    text-align: left;
}

/* --------------------------------------------------------------------------
   Testimonial card grid
   -------------------------------------------------------------------------- */

.testimonials-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.testimonials-page .testimonial-card--page {
    position: relative;
    min-height: 310px;
    padding: clamp(22px, 2.8vw, 31px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(0, 0, 0, .035),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f8f8f4
        );
    color: #111111;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .98) inset,
        0 16px 40px rgba(0, 0, 0, .055);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.testimonials-page .testimonial-card--page::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -100px;
    width: 205px;
    height: 205px;
    border: 1px solid rgba(0, 0, 0, .045);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-page .testimonial-card--page:hover {
    border-color: rgba(0, 0, 0, .18);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(0, 0, 0, .04),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f8f8f4
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .98) inset,
        0 24px 58px rgba(0, 0, 0, .09);
    transform: translateY(-4px);
}

.testimonials-page .testimonial-card__top,
.testimonials-page .testimonial-card blockquote,
.testimonials-page .testimonial-card__client {
    position: relative;
    z-index: 1;
}

.testimonials-page .testimonial-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.testimonials-page .testimonial-card__quote {
    color: rgba(0, 0, 0, .12);
    font-size: 34px;
    line-height: 1;
}

.testimonials-page .testimonial-card__rating {
    margin: 0;
    gap: 3px;
    color: #111111;
    font-size: 11px;
}

.testimonials-page .testimonial-card blockquote {
    margin: 0;
    align-self: start;
}

.testimonials-page .testimonial-card blockquote p {
    max-width: 700px;
    margin: 0;
    color: #343434;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 510;
    line-height: 1.72;
}

.testimonials-page .testimonial-card__client {
    margin-top: 0;
    padding-top: 17px;
    gap: 11px;
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.testimonials-page .testimonial-card__client img,
.testimonials-page .testimonial-card__avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(0, 0, 0, .08);
    background:
        linear-gradient(
            180deg,
            #202020,
            #080808
        );
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .12);
}

.testimonials-page .testimonial-card__client cite {
    color: #111111;
    font-size: 13px;
    font-weight: 850;
}

.testimonials-page .testimonial-card__client span {
    margin-top: 3px;
    color: #767676;
    font-size: 11px;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Existing compact CTA
   -------------------------------------------------------------------------- */

.testimonials-page .page-cta {
    padding: 44px 0 62px;
    background: #efefeb;
}

.testimonials-page .page-cta__panel {
    padding: clamp(28px, 3.8vw, 46px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 23px;
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(255, 255, 255, .09),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #090909,
            #1d1d1d 58%,
            #080808
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .07) inset,
        0 25px 64px rgba(0, 0, 0, .15);
    text-align: left;
}

.testimonials-page .page-cta__panel > div {
    max-width: 760px;
}

.testimonials-page .page-cta__eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .48);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.testimonials-page .page-cta h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.052em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 820px) {
    .testimonials-page__content > .container-fluid > .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonials-page__content .section-heading__description {
        max-width: 680px;
    }

    .testimonials-page .page-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .testimonials-page__grid {
        grid-template-columns: 1fr;
    }

    .testimonials-page .testimonial-card--page {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .testimonials-page__content {
        padding: 32px 0 58px;
    }

    .testimonials-page__content > .container-fluid > .section-heading {
        padding: 21px 18px;
        border-radius: 20px;
    }

    .testimonials-page__content .section-heading h2 {
        font-size: clamp(33px, 10vw, 43px);
    }

    .testimonials-page__content .section-heading__description {
        padding-left: 14px;
        font-size: 14px;
    }

    .testimonials-page .testimonial-card--page {
        min-height: auto;
        padding: 20px 18px;
        gap: 17px;
        border-radius: 18px;
    }

    .testimonials-page .testimonial-card__quote {
        font-size: 29px;
    }

    .testimonials-page .testimonial-card blockquote p {
        font-size: 15px;
        line-height: 1.66;
    }

    .testimonials-page .testimonial-card__client img,
    .testimonials-page .testimonial-card__avatar {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .testimonials-page .page-cta {
        padding: 38px 0 50px;
    }

    .testimonials-page .page-cta__panel {
        padding: 23px 18px;
        border-radius: 19px;
    }

    .testimonials-page .page-cta h2 {
        font-size: clamp(28px, 8.8vw, 38px);
    }
}
