/* =========================================================
   SPC TESTIMONIALS PAGE
   ========================================================= */

.spc-testimonials-page {
    --test-primary: #197da6;
    --test-primary-dark: #125e7c;
    --test-dark: #17343d;
    --test-text: #40535a;
    --test-muted: #718087;
    --test-accent: #d59a3a;
    --test-bg: #f7f4ed;
    --test-surface: #fffdf8;
    --test-border: rgba(23, 52, 61, 0.10);

    background: var(--test-bg);
    color: var(--test-dark);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.spc-testimonials-page h1,
.spc-testimonials-page h2,
.spc-testimonials-page h3 {
    font-family: "Manrope", sans-serif;
}

.spc-testimonials-page a {
    text-decoration: none;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

[data-testimonial-reveal] {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-testimonial-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.testimonial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--test-primary);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.testimonial-eyebrow i {
    font-size: 0.95rem;
}


/* =========================================================
   HERO
   ========================================================= */

.testimonial-hero {
    position: relative;

    padding: 110px 0 90px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(25, 125, 166, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(213, 154, 58, 0.10),
            transparent 30%
        ),
        var(--test-bg);

    overflow: hidden;
}

.testimonial-hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    top: 80px;

    border: 1px solid rgba(25, 125, 166, 0.15);
    border-radius: 50%;
}

.testimonial-hero__title {
    max-width: 760px;

    margin: 20px 0;

    color: var(--test-dark);

    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.05;
    font-weight: 800;

    letter-spacing: -0.045em;
}

.testimonial-hero__title span,
.testimonial-intro h2 span,
.testimonial-experience h2 span,
.testimonial-cta h2 span {
    color: var(--test-primary);
}

.testimonial-hero__text {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--test-text);

    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.testimonial-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.testimonial-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 23px;

    border-radius: 12px;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.testimonial-btn:hover {
    transform: translateY(-3px);
}

.testimonial-btn--primary {
    color: #fff;
    background: var(--test-primary);
    box-shadow: 0 12px 28px rgba(25, 125, 166, 0.20);
}

.testimonial-btn--primary:hover {
    color: #fff;
    background: var(--test-primary-dark);
    box-shadow: 0 16px 32px rgba(25, 125, 166, 0.28);
}

.testimonial-btn--outline {
    color: var(--test-dark);
    border: 1px solid var(--test-border);
    background: rgba(255, 253, 248, 0.7);
}

.testimonial-btn--outline:hover {
    color: var(--test-primary);
    border-color: rgba(25, 125, 166, 0.3);
    background: var(--test-surface);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.testimonial-hero__visual {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-quote-icon {
    position: absolute;

    width: 235px;
    height: 235px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(25, 125, 166, 0.10);

    background: rgba(25, 125, 166, 0.06);

    font-size: 10rem;

    transform: rotate(-8deg);
}

.hero-student-card {
    position: relative;
    z-index: 2;

    width: min(100%, 370px);

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;

    background: rgba(255, 253, 248, 0.88);

    box-shadow: 0 24px 60px rgba(23, 52, 61, 0.13);

    backdrop-filter: blur(14px);

    animation: testimonialFloat 5s ease-in-out infinite;
}

.hero-student-avatar {
    flex: 0 0 60px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    color: #fff;
    background: var(--test-primary);

    font-size: 1.45rem;
}

.hero-student-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--test-dark);
    font-size: 1rem;
}

.hero-student-card p {
    margin: 0;

    color: var(--test-muted);

    font-size: 0.88rem;
    line-height: 1.5;
}

.hero-rating {
    position: absolute;
    z-index: 3;

    right: 0;
    bottom: 18px;

    padding: 17px 20px;

    border-radius: 16px;

    background: var(--test-dark);
    color: #fff;

    box-shadow: 0 15px 35px rgba(23, 52, 61, 0.18);

    animation: testimonialFloat 5s ease-in-out 1s infinite;
}

.hero-stars {
    display: flex;
    gap: 4px;

    margin-bottom: 7px;

    color: var(--test-accent);
}

.hero-rating strong {
    font-size: 0.83rem;
}

@keyframes testimonialFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   STATS
   ========================================================= */

.testimonial-stats {
    padding: 0 0 80px;
}

.testimonial-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--test-border);
    border-radius: 22px;

    background: var(--test-surface);

    box-shadow: 0 18px 45px rgba(23, 52, 61, 0.06);

    overflow: hidden;
}

.testimonial-stat {
    position: relative;

    padding: 28px 20px;

    text-align: center;

    border-right: 1px solid var(--test-border);
}

.testimonial-stat:last-child {
    border-right: none;
}

.testimonial-stat__icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 13px;

    border-radius: 13px;

    color: var(--test-primary);
    background: rgba(25, 125, 166, 0.09);

    font-size: 1.1rem;
}

.testimonial-stat strong {
    display: block;

    color: var(--test-dark);

    font-family: "Manrope", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.testimonial-stat span {
    display: block;

    margin-top: 4px;

    color: var(--test-muted);

    font-size: 0.84rem;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.testimonial-intro {
    padding: 20px 0 65px;
}

.section-heading {
    max-width: 780px;
    margin: auto;

    text-align: center;
}

.section-heading h2 {
    margin: 16px 0;

    color: var(--test-dark);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 690px;

    margin: auto;

    color: var(--test-text);

    line-height: 1.75;
}


/* =========================================================
   TESTIMONIAL CARDS
   ========================================================= */

.testimonials-section {
    padding: 0 0 110px;
}

.testimonial-card {
    position: relative;

    height: 100%;

    padding: 28px;

    border: 1px solid var(--test-border);
    border-radius: 20px;

    background: var(--test-surface);

    box-shadow: 0 12px 30px rgba(23, 52, 61, 0.055);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.testimonial-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -50px;
    top: -50px;

    border-radius: 50%;

    background: rgba(25, 125, 166, 0.06);

    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);

    border-color: rgba(25, 125, 166, 0.20);

    box-shadow: 0 22px 45px rgba(23, 52, 61, 0.11);
}

.testimonial-card:hover::before {
    transform: scale(1.7);
}

.testimonial-card__top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 19px;
}

.testimonial-avatar {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--test-primary),
            var(--test-primary-dark)
        );

    font-family: "Manrope", sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
}

.testimonial-person {
    min-width: 0;
}

.testimonial-person h3 {
    margin: 0 0 3px;

    color: var(--test-dark);

    font-size: 1rem;
    font-weight: 800;
}

.testimonial-person span {
    color: var(--test-muted);

    font-size: 0.76rem;
}

.testimonial-card__quote {
    margin-left: auto;

    color: rgba(25, 125, 166, 0.20);

    font-size: 1.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 3px;

    margin-bottom: 15px;

    color: var(--test-accent);

    font-size: 0.82rem;
}

.testimonial-card p {
    min-height: 120px;

    margin: 0 0 20px;

    color: var(--test-text);

    font-size: 0.91rem;
    line-height: 1.75;
}

.testimonial-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 8px;

    color: var(--test-primary);
    background: rgba(25, 125, 166, 0.075);

    font-size: 0.72rem;
    font-weight: 700;
}

.testimonial-card__tag i {
    font-size: 0.75rem;
}


/* =========================================================
   EXPERIENCE SECTION
   ========================================================= */

.testimonial-experience {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            rgba(25, 125, 166, 0.08),
            rgba(213, 154, 58, 0.05)
        );
}

.testimonial-experience h2 {
    margin: 17px 0;

    color: var(--test-dark);

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.testimonial-experience > .container > .row > div:first-child > p {
    max-width: 610px;

    color: var(--test-text);

    line-height: 1.8;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;

    margin-top: 30px;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.experience-item > span {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: var(--test-primary);
    background: rgba(25, 125, 166, 0.10);
}

.experience-item strong {
    display: block;

    margin-bottom: 3px;

    color: var(--test-dark);

    font-size: 0.95rem;
}

.experience-item p {
    margin: 0;

    color: var(--test-muted);

    font-size: 0.84rem;
    line-height: 1.6;
}


/* =========================================================
   EXPERIENCE VISUAL
   ========================================================= */

.experience-visual {
    position: relative;

    min-height: 390px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-code-card {
    width: min(100%, 400px);

    padding: 24px;

    border-radius: 20px;

    background: var(--test-dark);

    box-shadow: 0 28px 55px rgba(23, 52, 61, 0.20);

    transform: rotate(2deg);

    transition: transform 0.4s ease;
}

.experience-code-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.code-card__header {
    display: flex;
    gap: 7px;

    margin-bottom: 30px;
}

.code-card__header span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 14px;

    font-family: monospace;
    font-size: 1rem;
}

.code-lines span {
    color: rgba(255, 255, 255, 0.62);
}

.code-lines strong {
    color: #fff;
}

.experience-floating-card {
    position: absolute;

    right: 0;
    bottom: 22px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;

    background: var(--test-surface);

    box-shadow: 0 18px 38px rgba(23, 52, 61, 0.13);

    animation: testimonialFloat 4s ease-in-out infinite;
}

.experience-floating-card > i {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--test-accent);
    background: rgba(213, 154, 58, 0.12);
}

.experience-floating-card strong,
.experience-floating-card span {
    display: block;
}

.experience-floating-card strong {
    color: var(--test-dark);
    font-size: 0.85rem;
}

.experience-floating-card span {
    margin-top: 2px;

    color: var(--test-muted);
    font-size: 0.72rem;
}


/* =========================================================
   CTA
   ========================================================= */

.testimonial-cta {
    padding: 100px 0;
}

.testimonial-cta__inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 55px;

    border-radius: 25px;

    color: #fff;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 255, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--test-dark),
            #215a6b
        );

    box-shadow: 0 25px 60px rgba(23, 52, 61, 0.18);

    overflow: hidden;
}

.testimonial-cta__inner::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    bottom: -100px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.testimonial-cta__content {
    position: relative;
    z-index: 1;
}

.testimonial-cta .testimonial-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.testimonial-cta h2 {
    max-width: 650px;

    margin: 15px 0 10px;

    color: #fff;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
}

.testimonial-cta h2 span {
    color: #fff;
}

.testimonial-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.7;
}

.testimonial-cta__actions {
    position: relative;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    flex-shrink: 0;
}

.testimonial-btn--light {
    color: var(--test-dark);
    background: #fff;
}

.testimonial-btn--light:hover {
    color: var(--test-dark);
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-btn--glass {
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.08);
}

.testimonial-btn--glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .testimonial-hero {
        padding: 85px 0 70px;
    }

    .testimonial-hero__visual {
        min-height: 330px;
    }

    .testimonial-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-stat:nth-child(2) {
        border-right: none;
    }

    .testimonial-stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--test-border);
    }

    .testimonial-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .testimonial-hero {
        padding: 70px 0 60px;
    }

    .testimonial-hero__title {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .testimonial-hero__text {
        font-size: 0.98rem;
    }

    .testimonial-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonial-btn {
        width: 100%;
    }

    .testimonial-hero__visual {
        min-height: 290px;
    }

    .hero-quote-icon {
        width: 180px;
        height: 180px;

        font-size: 7rem;
    }

    .hero-student-card {
        padding: 19px;
    }

    .hero-rating {
        right: 0;
        bottom: 5px;
    }

    .testimonial-stats {
        padding-bottom: 60px;
    }

    .testimonial-stat {
        padding: 22px 12px;
    }

    .testimonial-stat strong {
        font-size: 1.5rem;
    }

    .testimonial-intro {
        padding-bottom: 45px;
    }

    .testimonials-section {
        padding-bottom: 75px;
    }

    .testimonial-card {
        padding: 23px;
    }

    .testimonial-card p {
        min-height: auto;
    }

    .testimonial-experience {
        padding: 75px 0;
    }

    .experience-visual {
        min-height: 320px;
    }

    .experience-floating-card {
        right: 0;
        bottom: 5px;
    }

    .testimonial-cta {
        padding: 70px 0;
    }

    .testimonial-cta__inner {
        padding: 35px 25px;
        border-radius: 20px;
    }

    .testimonial-cta__actions {
        width: 100%;
        flex-direction: column;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .testimonial-hero__visual {
        min-height: 260px;
    }

    .hero-student-card {
        gap: 12px;
        padding: 16px;
    }

    .hero-student-avatar {
        flex-basis: 50px;

        width: 50px;
        height: 50px;
    }

    .hero-student-card strong {
        font-size: 0.9rem;
    }

    .hero-student-card p {
        font-size: 0.78rem;
    }

    .hero-rating {
        padding: 13px 15px;
    }

    .hero-rating strong {
        font-size: 0.74rem;
    }

    .testimonial-stats__grid {
        grid-template-columns: 1fr;
    }

    .testimonial-stat {
        border-right: none;
        border-bottom: 1px solid var(--test-border);
    }

    .testimonial-stat:last-child {
        border-bottom: none;
    }

    .testimonial-card__top {
        gap: 10px;
    }

    .testimonial-avatar {
        flex-basis: 46px;

        width: 46px;
        height: 46px;
    }

    .testimonial-card__quote {
        font-size: 1.5rem;
    }

    .experience-code-card {
        padding: 20px;
    }

    .experience-floating-card {
        padding: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    [data-testimonial-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-student-card,
    .hero-rating,
    .experience-floating-card {
        animation: none;
    }

    .testimonial-card,
    .experience-code-card,
    .testimonial-btn {
        transition: none;
    }

}

/* =========================================================
   SPC DESIGN SYSTEM — FINAL COMPATIBILITY / RESPONSIVE LAYER
   ========================================================= */

.spc-testimonials-page {
    --test-primary: #197da6;
    --test-primary-dark: #125f7c;
    --test-primary-light: #e7f3f7;
    --test-accent: #d59a3a;
    --test-dark: #17343d;
    --test-dark-soft: #244952;
    --test-text: #43565d;
    --test-muted: #748188;
    --test-bg: #f7f4ed;
    --test-surface: #fffdf8;
    --test-border: rgba(23,52,61,.10);
    max-width: 100%;
    overflow-x: clip;
}

.spc-testimonials-page *,
.spc-testimonials-page *::before,
.spc-testimonials-page *::after {
    box-sizing: border-box;
}

.spc-testimonials-page img,
.spc-testimonials-page svg,
.spc-testimonials-page video,
.spc-testimonials-page iframe {
    max-width: 100%;
}

.spc-testimonials-page p,
.spc-testimonials-page h1,
.spc-testimonials-page h2,
.spc-testimonials-page h3 {
    overflow-wrap: break-word;
}

.testimonial-hero__title,
.section-heading h2,
.testimonial-experience h2,
.testimonial-cta h2 {
    text-wrap: balance;
}

.testimonial-card {
    min-width: 0;
}

.testimonial-card p {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .testimonial-hero {
        padding-top: 70px;
    }

    .testimonial-hero__visual {
        margin-top: 15px;
    }

    .testimonial-cta__inner {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .testimonial-hero {
        padding: 55px 0 55px;
    }

    .testimonial-hero__title {
        font-size: clamp(2.15rem, 10.5vw, 3rem);
        line-height: 1.08;
    }

    .testimonial-hero__text {
        font-size: .92rem;
        line-height: 1.7;
    }

    .testimonial-hero__visual {
        min-height: 250px;
        margin-top: 8px;
    }

    .hero-student-card {
        width: min(100%, 350px);
    }

    .hero-rating {
        right: 4px;
        max-width: 48%;
    }

    .testimonial-stat strong {
        font-size: 1.4rem;
    }

    .testimonial-card {
        padding: 21px;
    }

    .testimonial-card p {
        font-size: .88rem;
        line-height: 1.7;
    }

    .testimonial-experience h2,
    .section-heading h2,
    .testimonial-cta h2 {
        font-size: 2rem;
    }

    .experience-visual {
        min-height: 280px;
        margin-top: 10px;
    }

    .experience-code-card {
        width: min(100%, 360px);
        transform: none;
    }

    .experience-floating-card {
        max-width: 70%;
    }

    .testimonial-cta__inner {
        gap: 28px;
    }

    .testimonial-cta__actions {
        align-items: stretch;
    }

    .testimonial-cta__actions .testimonial-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .testimonial-hero {
        padding: 48px 0 45px;
    }

    .testimonial-hero__title {
        font-size: 2.15rem;
        letter-spacing: -.04em;
    }

    .testimonial-hero__text {
        font-size: .86rem;
    }

    .testimonial-hero__actions {
        gap: 9px;
    }

    .testimonial-btn {
        min-height: 48px;
        padding: 0 17px;
        font-size: .86rem;
    }

    .testimonial-hero__visual {
        min-height: 225px;
    }

    .hero-quote-icon {
        width: 150px;
        height: 150px;
        font-size: 5.8rem;
    }

    .hero-student-card {
        gap: 10px;
        padding: 14px;
        border-radius: 17px;
    }

    .hero-student-card p {
        line-height: 1.4;
    }

    .hero-rating {
        right: 0;
        bottom: 0;
        padding: 10px 12px;
    }

    .hero-stars {
        margin-bottom: 4px;
    }

    .testimonial-stat {
        padding: 19px 14px;
    }

    .testimonial-intro {
        padding-top: 5px;
    }

    .testimonial-card {
        padding: 19px;
        border-radius: 17px;
    }

    .testimonial-avatar {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .testimonial-person h3 {
        font-size: .9rem;
    }

    .testimonial-person span {
        font-size: .7rem;
    }

    .experience-visual {
        min-height: 235px;
    }

    .experience-code-card {
        padding: 17px;
        border-radius: 17px;
    }

    .code-card__header {
        margin-bottom: 20px;
    }

    .code-lines {
        gap: 10px;
        font-size: .78rem;
        overflow-x: auto;
    }

    .experience-floating-card {
        max-width: 78%;
        padding: 10px 12px;
    }

    .testimonial-cta__inner {
        padding: 28px 20px;
        border-radius: 18px;
    }
}

@media (max-width: 360px) {
    .testimonial-hero__title {
        font-size: 1.95rem;
    }

    .testimonial-hero__text {
        font-size: .82rem;
    }

    .hero-rating {
        transform: scale(.9);
        transform-origin: bottom right;
    }

    .testimonial-card {
        padding: 17px;
    }

    .experience-floating-card {
        max-width: 82%;
    }

    .testimonial-cta__inner {
        padding: 25px 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card:hover,
    .testimonial-btn:hover,
    .experience-code-card:hover {
        transform: none;
    }

    .testimonial-card::before {
        transition: none;
    }
}
