.esg-impact {
    padding: 92px 0 118px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 70%, rgba(31, 80, 227, 0.07), transparent 42%),
        #fff;
}

.esg-impact-header {
    text-align: center;
}

.esg-impact-header h2 {
    margin: 0;
    background: linear-gradient(116.154deg, #000 2.024%, #737373 60.323%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 45px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1.5px;
}

.esg-impact-header p {
    max-width: 1280px;
    margin: 35px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

.esg-impact-map {
    display: grid;
    grid-template-columns: minmax(0, 500px) 240px minmax(0, 500px);
    grid-template-rows: auto 90px auto;
    justify-content: center;
    align-items: stretch;
    max-width: 1280px;
    margin: 82px auto 0;
}

.esg-impact-card {
    min-height: 250px;
    padding: 38px 40px;
    border-radius: 0 0 20px 20px;
    background-color: #fff;
    background-image:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.95) 43%, rgba(255, 255, 255, 0.2) 76%),
        linear-gradient(rgba(23, 57, 147, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 57, 147, 0.09) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    box-shadow: 0 15px 26px rgba(0, 0, 0, 0.12);
}

.esg-impact-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.esg-impact-card ul {
    margin: 0;
    padding-left: 19px;
}

.esg-impact-card li {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.35;
}

.esg-impact-card--employee { grid-area: 1 / 1; }
.esg-impact-card--community { grid-area: 1 / 3; }
.esg-impact-card--environment { grid-area: 3 / 1; }
.esg-impact-card--ai { grid-area: 3 / 3; }

.esg-impact-line {
    align-self: stretch;
    justify-self: stretch;
}

.esg-impact-line--top {
    grid-area: 1 / 2;
    justify-self: center;
    width: 6px;
    background: linear-gradient(#1f50e3, #173993);
}

.esg-impact-line--left {
    grid-area: 2 / 1;
    align-self: center;
    height: 6px;
    background: linear-gradient(90deg, #112c7d, #1f50e3);
}

.esg-impact-line--right {
    grid-area: 2 / 3;
    align-self: center;
    height: 6px;
    background: linear-gradient(90deg, #1f50e3, #255cf3);
}

.esg-impact-line--bottom {
    grid-area: 3 / 2;
    justify-self: center;
    width: 6px;
    background: linear-gradient(#173993, #112c7d);
}

.esg-impact-hub {
    grid-area: 2 / 2;
    z-index: 1;
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: stretch;
    min-height: 90px;
    border-radius: 11px;
    background: linear-gradient(110deg, #285de8 0%, #112c7d 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

@media (max-width: 1199px) {
    .esg-impact {
        padding: 80px 0 96px;
    }

    .esg-impact-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 32px;
        margin-top: 64px;
    }

    .esg-impact-line {
        display: none;
    }

    .esg-impact-card,
    .esg-impact-hub {
        grid-area: auto;
    }

    .esg-impact-hub {
        grid-column: 1 / -1;
        width: min(240px, 100%);
        justify-self: center;
    }
}

@media (max-width: 767px) {
    .esg-impact {
        padding: 64px 0 76px;
    }

    .esg-impact-header h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .esg-impact-header p {
        margin-top: 24px;
        font-size: 15px;
    }

    .esg-impact-map {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .esg-impact-card {
        min-height: 0;
        padding: 30px 26px;
        border-radius: 14px;
    }

    .esg-impact-card h3 {
        font-size: 21px;
    }

    .esg-impact-hub {
        grid-column: auto;
        min-height: 70px;
        font-size: 19px;
    }
}
