/* Global module - Impact at a Glance (quote card with the survey split + stat tiles) */
.el-impact {
    background: linear-gradient(180deg, #f4f8fb, #eaf1f6);
}

.el-impact-head {
    max-width: 780px;
    margin: 0 auto clamp(32px, calc(32px + 20 * (100vw - 1280px) / 640), 52px);
    text-align: center;
}

.el-impact-title {
    margin: 0 0 14px;
}

.el-impact-intro {
    margin: 0;
    font-size: clamp(17px, 1.1vw, 19px);
    color: var(--el-color-muted);
}

.el-impact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 1.6vw, 30px);
}

/* Quote card */
.el-impact-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: clamp(28px, 3vw, 56px);
    border-radius: clamp(24px, 2.2vw, 40px);
    background: var(--el-color-navy);
    color: var(--el-color-white);
}

.el-impact-quote > :not(.el-impact-mark) {
    position: relative;
}

.el-impact-mark {
    position: absolute;
    right: -6px;
    bottom: -0.32em;
    font-family: var(--el-font-heading);
    font-size: clamp(190px, 16vw, 300px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(185, 203, 216, 0.12);
    pointer-events: none;
    user-select: none;
}

.el-impact-quote-text {
    margin: 0 0 14px;
    font-family: var(--el-font-heading);
    font-size: clamp(30px, 2.4vw, 46px);
    line-height: 1.2;
    color: var(--el-color-white);
}

.el-impact-quote figcaption {
    margin-bottom: clamp(28px, 2.6vw, 44px);
    padding-bottom: clamp(0px, 4vw, 60px);
    font-size: 15px;
    color: #a3adb7;
}

/* Survey split: one bar, then a key */
.el-impact-nps {
    margin-top: auto;
}

.el-impact-nps-bar {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.el-impact-nps-bar .is-promoters,
.el-impact-nps-key .is-promoters::before {
    background: var(--el-color-orange);
}

.el-impact-nps-bar .is-passives,
.el-impact-nps-key .is-passives::before {
    background: #a3adb7;
}

.el-impact-nps-bar .is-detractors,
.el-impact-nps-key .is-detractors::before {
    background: #5b7186;
}

.el-impact-nps-key {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.el-impact-nps-key li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 3px;
}

.el-impact-nps-key b {
    margin-right: 4px;
    font-weight: 600;
    color: var(--el-color-white);
}

/* Stat tiles */
.el-impact-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.2vw, 20px);
    margin: 0;
}

.el-impact-stat {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(22px, 2vw, 36px);
    border: 1px solid #e3eaf0;
    border-radius: clamp(20px, 1.8vw, 32px);
    background: var(--el-color-white);
}

.el-impact-stat dt {
    font-family: var(--el-font-heading);
    font-size: clamp(56px, 4.6vw, 88px);
    line-height: 1;
    color: var(--el-color-heading);
}

.el-impact-stat dt::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin: 18px 0;
    background: var(--el-color-orange);
}

.el-impact-stat dd {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    color: var(--el-color-muted);
}

.el-impact-stat strong {
    display: block;
    font-family: var(--el-font-heading);
    font-size: clamp(20px, 1.35vw, 26px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--el-color-blue-dark);
}

@media (max-width: 991px) {
    .el-impact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .el-impact-stat {
        padding: 20px 18px;
    }

    .el-impact-stat dt {
        font-size: 48px;
    }

    .el-impact-stat dd {
        font-size: 15px;
    }
}

/* Eyebrow on the dark card is white (orange only on light backgrounds). */
.el-impact-quote .el-eyebrow {
    color: var(--el-color-white);
}
