/* ============================================
   SECTION: Neuroaffirming — Our Services
   "What this looks like in practice" — header + two
   equal-height service cards on a cream background.
   Each card: copy on top, a full-width photo bleeding
   across the bottom (swirls baked into the photo assets).
   Mirrors the Our Approach services section.
   ============================================ */

.neuro-services {
    padding: 80px var(--section-side-padding);
    background: #fef9ee;          /* cream section background */
}

.neuro-services__inner {
    max-width: var(--container-max);
    margin-inline: auto;
}

/* ----- Header (eyebrow + heading) ----- */
.neuro-services__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
}

.neuro-services__heading {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-weight-normal);
    line-height: 50px;
    color: var(--color-text-heading);
    margin: 0;
    max-width: 473px;
}

.neuro-services__heading .accent-script {
    color: var(--color-primary);
}

/* ----- Cards ----- */
.neuro-services__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;          /* both cards share the taller height */
}

.neuro-service-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 2px solid var(--color-surface-line-soft);
    border-radius: 12px;
    overflow: hidden;              /* clips the photo to the rounded corners */
}

.neuro-service-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px;
}

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

.neuro-service-card__desc {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-faint);
    margin: 0;
}

.neuro-service-card__cta {
    margin-top: 8px;
}

.neuro-service-card__media {
    margin-top: auto;              /* push the photo to the bottom of the card */
}

.neuro-service-card__photo {
    display: block;
    width: 100%;                   /* full card width (assets are 610px wide) */
    height: auto;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .neuro-services__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .neuro-services {
        padding: 56px var(--section-side-padding);
    }
    .neuro-services__heading {
        font-size: 32px;
        line-height: 38px;
    }
    .neuro-service-card__body {
        padding: 28px;
    }
}
