/*
    Path in theme: platform/themes/real-scout/public/css/home-page-new/testimonials.css
    Loaded via:    Theme::asset()->url('css/home-page-new/testimonials.css')

    Relies on the --header-* custom properties defined on :root in
    home-page-new/header.css (colors, fonts, --header-max-width) - that
    stylesheet must be linked before this one.
*/

.testimonials {
    background: var(--how-bg, #f6f2ea);
    padding: 90px 0;
}

.testimonials__inner {
    max-width: var(--header-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Intro ---- */
.testimonials__intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.testimonials__eyebrow {
    display: block;
    color: var(--header-gold);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.testimonials__heading {
    font-family: var(--header-font-heading);
    font-weight: 700;
    color: var(--header-navy);
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.testimonials__text {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ---- Cards ---- */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonials__card {
    background: var(--header-white);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-top: 3px solid transparent;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(26, 29, 36, 0.05);
}

.testimonials__card--featured {
    border-top-color: var(--header-gold);
}

.testimonials__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.testimonials__stars {
    color: var(--header-gold);
    font-size: 13px;
    letter-spacing: 2px;
}

.testimonials__quote-icon {
    color: rgba(224, 166, 62, 0.25);
    font-size: 26px;
}

.testimonials__quote {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.testimonials__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonials__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--header-navy);
    color: var(--header-gold);
    font-family: var(--header-font-heading);
    font-weight: 700;
    font-size: 16px;
}

.testimonials__author-name {
    font-family: var(--header-font-body);
    font-weight: 700;
    color: var(--header-navy);
    font-size: 15px;
    margin: 0 0 2px;
}

.testimonials__author-role {
    color: var(--header-gold);
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .testimonials__heading {
        font-size: 34px;
    }
}

@media (max-width: 860px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }
}
