/* ============================================
   SECTION: Why Join ANNA — Our Goal
   Cream rounded panel holding a tilted white testimonial card
   (left) and the goal statement (right).
   ============================================ */

.wja-goal {
    padding: 0 var(--section-side-padding) 72px;
    background: var(--color-white);
    overflow: visible;   /* let the quote card overhang the panel */
}

.wja-goal__panel {
    position: relative;
    max-width: var(--container-max);
    margin-inline: auto;
    min-height: 360px;
    /* extra left padding reserves room for the card;
       the goal text sits in the space on the right */
    padding: 56px 64px 56px 520px;
    background: var(--color-accent-yellow-bg-soft);   /* #fffbf1 */
    border: 2px solid var(--color-accent-yellow-bg);   /* #fcf7ea */
    border-radius: 24px;
    display: flex;
    align-items: center;
}

/* ----- Tilted testimonial card (breaks out the bottom of the panel) ----- */
.wja-goal__quote {
    position: absolute;
    left: 64px;                  /* inset inside the panel (no left overhang) */
    top: 48px;                   /* top stays inside the panel */
    bottom: -40px;               /* only the bottom breaks out */
    width: 400px;
    max-width: calc(100% - 128px);
    margin: 0;
    padding: 36px 26px;
    transform: rotate(-1deg);
    background: var(--color-white);
    border: 2px solid var(--color-surface-line-soft);   /* #f6f6f6 */
    border-radius: 12px;
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.wja-goal__quote-mark {
    display: block;
    width: 33px;
    height: 33px;
    margin-bottom: 12px;
}

.wja-goal__quote-text {
    margin: 0 0 40px;
    font-size: 21px;
    font-weight: var(--font-weight-medium);
    line-height: 34px;
    color: var(--color-text-heading);
}

.wja-goal__author {
    margin-top: auto;   /* pin author to the bottom of the taller card */
    display: flex;
    align-items: center;
    gap: 16px;
}

.wja-goal__avatar {
    display: inline-flex;
    width: 82px;
    height: 82px;
    border-radius: var(--radius-full);
    background: var(--color-primary-light);   /* #ffebf0 */
    overflow: hidden;
    flex-shrink: 0;
}
.wja-goal__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wja-goal__author-meta {
    display: flex;
    flex-direction: column;
}
.wja-goal__author-name {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    line-height: 20px;
    color: var(--color-text-heading);
}
.wja-goal__author-role {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-body);
}

/* ----- Goal statement ----- */
.wja-goal__text {
    max-width: 489px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wja-goal__eyebrow {
    color: #846c30;
    margin: 0;
}

.wja-goal__heading {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: var(--font-weight-normal);
    line-height: 44px;
    color: var(--color-accent-yellow);   /* #e09b2b */
    margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .wja-goal__panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 40px 28px;
    }
    /* card returns to normal flow, no overhang, on small screens */
    .wja-goal__quote {
        position: static;
        transform: rotate(-1deg);
        width: 100%;
        max-width: 400px;
    }
}
