/* ============================================
   SECTION: Diagnostic Evaluation Process — Definitions
   Full-width pink band. Sticky intro on the left, a list of
   tool-definition cards on the right. Decorative swirl pinned
   to the bottom-left. Same sticky-intro layout as aba/program.
   ============================================ */

.de-definitions {
    position: relative;
    overflow: clip;                   /* clip swirl without breaking sticky */
    padding: 100px var(--section-side-padding);
    background: var(--color-primary-light);   /* #ffebf0 */
}

/* Decorative swirl, bottom-left */
.de-definitions__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;
}

.de-definitions__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

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

.de-definitions__heading {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-weight-normal);
    line-height: 50px;
    letter-spacing: -1.26px;
    color: var(--color-text-heading);
    margin: 0;
    max-width: 468px;
}

.de-definitions__heading .accent-script {
    color: var(--color-accent-yellow);   /* #e09b2b */
}

.de-definitions__lede {
    max-width: 468px;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-faint);
    margin: 0;
}

.de-definitions__email {
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

/* ----- Definition cards (right) ----- */
.de-definitions__cards {
    flex: 0 1 610px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.de-def-card {
    padding: 16px 20px;
    background: var(--color-white);
    border: 2px solid var(--color-surface-line-soft);   /* #f6f6f6 */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.de-def-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.de-def-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--font-weight-normal);
    line-height: 28px;
    color: #3e2e2d;
    margin: 0;
}

.de-def-card__chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.de-def-card__desc {
    max-width: 490px;
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-faint);
    margin: 0;
}

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

@media (max-width: 768px) {
    .de-definitions {
        padding: 60px var(--section-side-padding);
    }
    .de-definitions__heading {
        font-size: 32px;
        line-height: 38px;
    }
    .de-definitions__swirl {
        max-width: 80%;
    }
}
