/* ============================================
   SECTION: ABA Therapy — About Program
   Full-width pink band. Sticky intro on the left,
   four stacked info cards on the right. Decorative
   swirl pinned to the bottom-left. Same sticky-intro
   layout family as the home Our Services section.
   ============================================ */

.aba-program {
    position: relative;
    /* `clip` (not `hidden`) clips the swirl WITHOUT creating a scroll
       container — so the sticky intro below still works. */
    overflow: clip;
    padding: 100px var(--section-side-padding);
    background: var(--color-primary-light);   /* #ffebf0 — full screen width */
}

/* Decorative swirl, bottom-left */
.aba-program__swirl {
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 700px;
    max-width: 55%;
    aspect-ratio: 1160 / 740;
    background: url("../../../images/aba-therapy/pink-swirl.e7a665262b8c.png") no-repeat left bottom / contain;
    pointer-events: none;
}

.aba-program__inner {
    position: relative;
    z-index: 1;                      /* content above the swirl */
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

/* ----- Sticky intro (left) ----- */
.aba-program__intro {
    flex: 0 1 468px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;                      /* clears the sticky navbar */
    align-self: flex-start;
}

.aba-program__heading {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-weight-normal);
    line-height: 50px;
    letter-spacing: -0.03em;   /* Figma: -3% */
    color: var(--color-text-heading);
    margin: 0;
    max-width: 468px;
}

.aba-program__heading .accent-script {
    color: var(--color-primary);
    letter-spacing: -0.03em;
}

/* ----- Cards (right) ----- */
.aba-program__cards {
    flex: 0 1 610px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aba-program-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 32px;
    background: var(--color-white);
    border: 2px solid var(--color-surface-line-soft);
    border-radius: 12px;
}

.aba-program-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.aba-program-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aba-program-card__title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: var(--font-weight-medium);
    line-height: 32px;
    color: var(--color-text-heading);
    margin: 0;
}

.aba-program-card__desc {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-muted);
    margin: 0;
}

.aba-program-card__link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .aba-program__inner {
        flex-direction: column;
        gap: 40px;
    }
    .aba-program__intro,
    .aba-program__cards {
        flex: initial;
        max-width: none;
        width: 100%;
        position: static;            /* stop sticking once stacked */
    }
}

@media (max-width: 768px) {
    .aba-program {
        padding: 60px var(--section-side-padding);
    }
    .aba-program__heading {
        font-size: 32px;
        line-height: 38px;
    }
    .aba-program-card {
        padding: 24px;
    }
    .aba-program__swirl {
        max-width: 80%;
    }
}
