/* =========================================================================
   Testimonials page. Scoped under .lsa-home so it reuses the home design
   tokens (--green, --ink, --line, --r-*, --shadow-*) and shared .wrap / .btn /
   .cta-card primitives.
   ========================================================================= */

.lsa-home.lsa-testimonials {
    background: var(--bg);
}

.lsa-home.lsa-testimonials .t-section {
    padding: clamp(56px, 8vw, 104px) 0;
}

.lsa-home.lsa-testimonials .t-section--tint {
    background: var(--green-soft);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.lsa-home.lsa-testimonials .t-section--white {
    background: var(--surface);
}

/* ---------- Hero ---------- */
.lsa-home .t-hero {
    padding: clamp(52px, 7vw, 96px) 0 clamp(36px, 5vw, 60px);
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--bg) 100%);
    text-align: center;
}

.lsa-home .t-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.lsa-home .t-hero .section-eyebrow {
    justify-content: center;
}

.lsa-home .t-hero h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0 16px;
    text-wrap: balance;
}

.lsa-home .t-hero h1 .accent {
    color: var(--green);
}

.lsa-home .t-hero__lead {
    color: var(--ink-2);
    font-size: clamp(16px, 1.4vw, 18.5px);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Rating summary */
.lsa-home .t-summary {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
    padding: 16px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.lsa-home .t-summary__score {
    font-family: var(--lsa-font-num);
    font-size: 34px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.lsa-home .t-summary__stars {
    color: #F59E0B;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
}

.lsa-home .t-summary__meta {
    text-align: left;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
}

.lsa-home .t-summary__divider {
    width: 1px;
    align-self: stretch;
    background: var(--line);
}

.lsa-home .t-summary__avatars {
    display: flex;
    align-items: center;
}

.lsa-home .t-summary__avatars .av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--lsa-font-num);
    border: 2px solid #fff;
    margin-left: -12px;
}

.lsa-home .t-summary__avatars .av:first-child {
    margin-left: 0;
}

/* ---------- Featured ---------- */
.lsa-home .t-featured {
    padding: clamp(48px, 7vw, 88px) 0;
}

.lsa-home .t-featured__card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(32px, 5vw, 64px);
}

.lsa-home .t-featured__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 70% at 100% 0%, rgba(255, 255, 255, .1), transparent 60%),
        radial-gradient(40% 60% at 0% 100%, rgba(220, 38, 38, .14), transparent 60%);
    pointer-events: none;
}

.lsa-home .t-featured__mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 90px;
    line-height: .6;
    color: rgba(255, 255, 255, .28);
    position: relative;
}

.lsa-home .t-featured__stars {
    color: #FBBF24;
    font-size: 18px;
    letter-spacing: 3px;
    position: relative;
    margin: 6px 0 14px;
}

.lsa-home .t-featured__quote {
    position: relative;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.01em;
    max-width: 900px;
    margin: 0 0 28px;
    text-wrap: balance;
    color: #fff;
}

.lsa-home .t-featured__by {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lsa-home .t-featured__by .av {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    font-family: var(--lsa-font-num);
    border: 1px solid rgba(255, 255, 255, .25);
}

.lsa-home .t-featured__by b {
    display: block;
    font-size: 16px;
    color: #fff;
}

.lsa-home .t-featured__by span {
    font-size: 13.5px;
    color: #B7D3C0;
}

/* ---------- Masonry grid of cards ---------- */
.lsa-home .t-grid {
    column-count: 3;
    column-gap: 24px;
}

.lsa-home .t-card {
    break-inside: avoid;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    position: relative;
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}

.lsa-home .t-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-tint);
}

.lsa-home .t-card__mark {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1;
    color: var(--green-tint);
}

.lsa-home .t-card__stars {
    color: #F59E0B;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 14px;
}

.lsa-home .t-card__quote {
    margin: 0 0 20px;
    color: var(--ink-2);
    font-size: 15.5px;
    line-height: 1.68;
}

.lsa-home .t-card__by {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.lsa-home .t-card__by .av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--lsa-font-num);
    flex-shrink: 0;
}

.lsa-home .t-card__by b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.lsa-home .t-card__by span {
    font-size: 13px;
    color: var(--muted);
}

.lsa-home .t-empty {
    color: var(--muted);
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .lsa-home .t-grid {
        column-count: 2;
    }

    .lsa-home .t-summary__divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .lsa-home .t-grid {
        column-count: 1;
    }

    .lsa-home .t-summary {
        gap: 16px;
        padding: 14px 20px;
    }
}
