/* =========================================
   HOMEPAGE — PARENT TESTIMONIALS
   St. Augustine School
========================================= */

.sas-home-testimonials {
    position: relative;
    padding: 100px 24px;
    background: #f7f9f6;
    overflow: hidden;
}

.sas-home-testimonials::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(20, 75, 48, 0.045);
    pointer-events: none;
}

.sas-home-testimonials::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -130px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(205, 166, 65, 0.07);
    pointer-events: none;
}

.sas-home-testimonials-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* SECTION HEADING */

.sas-home-testimonials-heading {
    max-width: 100%;
    margin: 0 0 55px;
    text-align: left;
}

.sas-home-testimonials-eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 17px;
    color: #b28a32;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.sas-home-testimonials-eyebrow span {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: #c9a64e;
}

.sas-home-testimonials-heading h2 {
    margin: 0;
    color: #153e2c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
}

.sas-home-testimonials-heading h2 em {
    color: #b18a36;
    font-weight: 500;
}

.sas-home-testimonials-heading > p:last-child {
    max-width: 680px;
    margin: 17px 0 0;
    color: #68766d;
    font-size: 15px;
    line-height: 1.8;
}

/* TESTIMONIAL GRID */

.sas-home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* TESTIMONIAL CARD */

.sas-home-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px 28px;
    background: #ffffff;
    border: 1px solid rgba(21, 62, 44, 0.09);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(20, 55, 38, 0.045);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.sas-home-testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(177, 138, 54, 0.4);
    box-shadow: 0 18px 38px rgba(20, 55, 38, 0.09);
}

/* FEATURED LABEL */

.sas-home-testimonial-featured {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 17px;
    padding: 6px 11px;
    color: #80601c;
    background: #fbf4df;
    border: 1px solid rgba(177, 138, 54, 0.2);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

/* STAR RATING */

.sas-home-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: #e8e8e8;
    font-size: 17px;
    line-height: 1;
}

.sas-home-testimonial-stars span.filled {
    color: #d3a63f;
}

/* PARENT MESSAGE */

.sas-home-testimonial-card blockquote {
    position: relative;
    flex: 1;
    margin: 0 0 27px;
    color: #526158;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.sas-home-testimonial-card blockquote::before {
    content: "“";
    display: block;
    height: 35px;
    color: rgba(177, 138, 54, 0.45);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    font-style: normal;
    line-height: 1;
}

/* PARENT DETAILS */

.sas-home-testimonial-parent {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 20px;
    border-top: 1px solid #edf0ec;
}

.sas-home-testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    color: #ffffff;
    background: linear-gradient(145deg, #24583e, #123b29);
    border: 2px solid #e8dfc6;
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 600;
}

.sas-home-testimonial-parent-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.sas-home-testimonial-parent-info strong {
    color: #183f2e;
    font-size: 14px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.sas-home-testimonial-parent-info span {
    color: #879188;
    font-size: 12px;
}

/* SCHOOL RESPONSE */

.sas-home-testimonial-reply {
    position: relative;
    margin-top: 22px;
    padding: 16px 17px 16px 19px;
    background: #f1f6f1;
    border-left: 3px solid #c4a04a;
    border-radius: 0 8px 8px 0;
}

.sas-home-testimonial-reply strong {
    display: block;
    margin-bottom: 7px;
    color: #24553b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.sas-home-testimonial-reply p {
    margin: 0;
    color: #637269;
    font-size: 12px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

/* READ ALL BUTTON */

.sas-home-testimonials-footer {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.sas-home-testimonials-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 50px;
    padding: 0 27px;
    color: #ffffff;
    background: #17462f;
    border: 1px solid #17462f;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.sas-home-testimonials-button span {
    color: #e5c36d;
    font-size: 17px;
    transition: transform 0.25s ease;
}

.sas-home-testimonials-button:hover {
    color: #ffffff;
    background: #a98232;
    border-color: #a98232;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(169, 130, 50, 0.2);
}

.sas-home-testimonials-button:hover span {
    color: #ffffff;
    transform: translate(3px, -3px);
}

/* TABLET */

@media (max-width: 1024px) {
    .sas-home-testimonials {
        padding: 80px 22px;
    }

    .sas-home-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .sas-home-testimonial-card {
        padding: 27px 24px;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .sas-home-testimonials {
        padding: 65px 18px;
    }

    .sas-home-testimonials-heading {
        margin-bottom: 35px;
    }

    .sas-home-testimonials-eyebrow {
        gap: 8px;
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .sas-home-testimonials-eyebrow span {
        width: 18px;
    }

    .sas-home-testimonials-heading h2 {
        font-size: 35px;
    }

    .sas-home-testimonials-heading > p:last-child {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.7;
    }

    .sas-home-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .sas-home-testimonial-card {
        padding: 26px 23px;
        border-radius: 12px;
    }

    .sas-home-testimonial-card blockquote {
        font-size: 15px;
        line-height: 1.8;
    }

    .sas-home-testimonials-footer {
        margin-top: 32px;
    }

    .sas-home-testimonials-button {
        width: 100%;
        min-height: 49px;
        padding: 0 15px;
        font-size: 10px;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .sas-home-testimonial-card,
    .sas-home-testimonials-button,
    .sas-home-testimonials-button span {
        transition: none;
    }

    .sas-home-testimonial-card:hover,
    .sas-home-testimonials-button:hover {
        transform: none;
    }
}