/* ========================================================
   AET ENERGY — HUMAN, HEALTH & ENVIRONMENT SECTIONS
   Load this file after public.css
======================================================== */

.public-impact {
    background:
        radial-gradient(circle at 10% 20%, rgba(60, 146, 111, 0.09), transparent 34%),
        radial-gradient(circle at 90% 85%, rgba(67, 145, 184, 0.10), transparent 32%),
        #f7faf8;
}


/* AUDIENCE IMAGES */

.audience-card {
    overflow: hidden;
}

.audience-card > img {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    height: 220px;
    margin: -24px -24px 24px;
    object-fit: cover;
}

.audience-card > span {
    display: inline-block;
}

.impact-story {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(42px, 7vw, 96px);
}

.impact-story + .impact-story {
    margin-top: clamp(80px, 10vw, 140px);
}

.impact-story-reverse .impact-story-image {
    order: 2;
}

.impact-story-reverse .impact-story-copy {
    order: 1;
}

.impact-story-image {
    position: relative;
}

.impact-story-image::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 42%;
    height: 42%;
    border-right: 2px solid rgba(40, 122, 87, 0.30);
    border-bottom: 2px solid rgba(49, 127, 163, 0.30);
    border-radius: 0 0 28px 0;
    pointer-events: none;
}

.impact-story-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(22, 58, 45, 0.13);
}

.impact-story-copy {
    max-width: 620px;
}

.impact-story-copy h2 {
    margin: 12px 0 22px;
    color: #153c31;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.impact-story-copy p:not(.public-section-label) {
    margin-top: 16px;
    color: #526b62;
    font-size: 1.04rem;
    line-height: 1.8;
}

.impact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.impact-tags span {
    padding: 9px 14px;
    border: 1px solid rgba(40, 122, 87, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #28694f;
    font-size: 0.86rem;
    font-weight: 700;
}


/* CONSULTING FLOW */

.consulting-flow {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-top: 52px;
}

.flow-step {
    flex: 1 1 0;
    min-width: 0;
    padding: 28px 22px;
    border: 1px solid rgba(40, 122, 87, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(27, 72, 56, 0.07);
}

.flow-step-number {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #e9f5ef;
    color: #287a57;
    font-size: 0.78rem;
    font-weight: 900;
}

.flow-step h3 {
    margin-bottom: 10px;
    color: #153c31;
    font-size: 1rem;
    line-height: 1.3;
}

.flow-step p {
    color: #657a72;
    font-size: 0.89rem;
    line-height: 1.6;
}

.flow-arrow {
    align-self: center;
    color: #4b94b3;
    font-size: 1.55rem;
    font-weight: 700;
}


/* Small refinements for the new hero story */

.public-hero-copy h1 {
    max-width: 760px;
}

.public-hero-visual img {
    object-position: center;
}


@media (max-width: 1100px) {

    .consulting-flow {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flow-arrow {
        display: none;
    }
}


@media (max-width: 850px) {

    .impact-story,
    .impact-story-reverse {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .impact-story-reverse .impact-story-image,
    .impact-story-reverse .impact-story-copy {
        order: initial;
    }

    .impact-story-image::after {
        right: -8px;
        bottom: -8px;
    }
}


@media (max-width: 620px) {

    .consulting-flow {
        grid-template-columns: 1fr;
    }

    .impact-story-image img {
        aspect-ratio: 16 / 11;
        border-radius: 20px;
    }

    .impact-story-copy h2 {
        font-size: 2rem;
    }

    .audience-card > img {
        height: 200px;
    }
}
