/* ============================================================
   Social Impact page styles
   Extracted from the live site inline <style> block.
   All rules are scoped under .impact-page (added on the page wrapper).
   ============================================================ */

.impact-page {
    --impact-primary: #c10f49;
    --impact-primary-dark: #8d0c36;
    --impact-secondary: #11305d;
    --impact-accent: #f4a261;
    --impact-bg: #f6f8fc;
    --impact-surface: #ffffff;
    --impact-border: rgba(17, 48, 93, 0.1);
    --impact-text: #4f5d75;
    --impact-heading: #16325c;
    --impact-shadow: 0 20px 50px -30px rgba(17, 48, 93, 0.35);
}

.impact-page .impact-intro {
    padding-top: 60px;
}

.impact-page .impact-copy {
    max-width: 92%;
}

.impact-page .impact-copy p {
    color: var(--impact-text);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.impact-page .impact-copy p:last-child {
    margin-bottom: 0;
}

.impact-page .impact-visual {
    position: relative;
    padding-left: 26px;
}

.impact-page .impact-visual::before {
    content: "";
    position: absolute;
    inset: 22px 0 22px 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(193, 15, 73, 0.1), rgba(17, 48, 93, 0.06));
    z-index: 0;
}

.impact-page .impact-visual .about-image {
    margin-bottom: 0;
}

.impact-page .impact-visual .image-anime {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--impact-shadow);
}

.impact-page .impact-visual .image-anime img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
}

.impact-page .impact-label {
    position: absolute;
    left: 0;
    bottom: 32px;
    z-index: 2;
    max-width: 220px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(17, 48, 93, 0.94);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55);
}

.impact-page .impact-label span {
    display: block;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
}

.impact-page .impact-label strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.impact-page .impact-section-soft {
    background:
        radial-gradient(circle at top left, rgba(193, 15, 73, 0.08), transparent 30%),
        linear-gradient(180deg, #fff9fb 0%, #f6f8fc 100%);
}

.impact-page .impact-section-tint {
    background: radial-gradient(circle at top right, rgba(244, 162, 97, 0.16), transparent 28%), linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
    padding: 54px;
    border-radius: 0;
    background: radial-gradient(circle at top right, rgba(193, 15, 73, 0.14), transparent 24%), radial-gradient(circle at bottom left, rgba(244, 162, 97, 0.12), transparent 24%), linear-gradient(135deg, #fff7f9 0%, #fffdf9 48%, #f7fbff 100%);
    border: 1px solid rgba(17, 48, 93, 0.08);
    position: relative;
    overflow: hidden;
}

.impact-page .impact-grid {
    row-gap: 28px;
}

.impact-page .impact-card {
    position: relative;
    height: 100%;
    padding: 34px 28px;
    border: 1px solid var(--impact-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px -32px rgba(17, 48, 93, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.impact-page .impact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(193, 15, 73, 0.08), transparent 38%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.impact-page .impact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(193, 15, 73, 0.2);
    box-shadow: 0 28px 50px -34px rgba(17, 48, 93, 0.45);
}

.impact-page .impact-card:hover::before {
    opacity: 1;
}

.impact-page .impact-card>* {
    position: relative;
    z-index: 1;
}

.impact-page .impact-card-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(193, 15, 73, 0.12), rgba(244, 162, 97, 0.2));
    color: var(--impact-primary);
    font-size: 30px;
    box-shadow: inset 0 0 0 1px rgba(193, 15, 73, 0.08);
}

/* uploaded PNG icons (via item_icon_image) sized to match the FA glyphs */
.impact-page .impact-card-icon .pi-icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.impact-page .impact-solution-badge .pi-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.impact-page .impact-stat-icon .pi-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.impact-page .impact-card-title {
    color: var(--impact-heading);
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.impact-page .impact-card-text {
    color: var(--impact-text);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

.impact-page .impact-solution-card {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    height: 100%;
    padding: 30px 28px;
    border-radius: 26px;
    background: var(--impact-surface);
    border: 1px solid rgba(17, 48, 93, 0.09);
    box-shadow: 0 18px 44px -34px rgba(17, 48, 93, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.impact-page .impact-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px -36px rgba(17, 48, 93, 0.45);
}

.impact-page .impact-solution-badge {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--impact-primary), var(--impact-primary-dark));
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 16px 30px -20px rgba(193, 15, 73, 0.7);
}

.impact-page .impact-solution-content h3 {
    color: var(--impact-heading);
    font-size: 23px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.impact-page .impact-solution-content p {
    color: var(--impact-text);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.impact-page .impact-stats-shell {}

.impact-page .impact-stats-shell::before,
.impact-page .impact-stats-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.impact-page .impact-stats-shell::before {
    width: 220px;
    height: 220px;
    top: -110px;
    right: -40px;
    background: rgba(17, 48, 93, 0.05);
}

.impact-page .impact-stats-shell::after {
    width: 170px;
    height: 170px;
    left: -60px;
    bottom: -80px;
    background: rgba(193, 15, 73, 0.06);
}

.impact-page .impact-stats-header {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin-bottom: 36px;
}

.impact-page .impact-stats-header .sub-title,
.impact-page .impact-stats-header h2,
.impact-page .impact-stats-header p {
    color: var(--impact-heading);
}

.impact-page .impact-stats-header .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(193, 15, 73, 0.07);
    color: var(--impact-primary);
    border: 1px solid rgba(193, 15, 73, 0.1);
}

.impact-page .impact-stats-header .sub-title::before {
    content: "";
    position: static;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    transform: none;
    background: linear-gradient(135deg, #ffcfb2, #f4a261);
    box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.12);
}

.impact-page .impact-stats-header .sub-title::before {
    background-color: transparent;
}

.impact-page .impact-stats-header h2 {
    max-width: 12ch;
    margin: 18px 0 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.impact-page .impact-stats-header p {
    color: var(--impact-text);
    margin-top: 20px;
    max-width: 46ch;
    font-size: 17px;
    line-height: 1.75;
}

.impact-page .impact-stats-grid {
    position: relative;
    z-index: 1;
    row-gap: 22px;
    align-items: stretch;
}

.impact-page .impact-stat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 26px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 48, 93, 0.08);
    box-shadow: 0 20px 44px -34px rgba(17, 48, 93, 0.28);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-page .impact-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(193, 15, 73, 0.18);
    box-shadow: 0 28px 48px -34px rgba(17, 48, 93, 0.32);
}

.impact-page .impact-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.impact-page .impact-stat-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--impact-primary), var(--impact-primary-dark));
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 16px 30px -18px rgba(193, 15, 73, 0.55);
}

.impact-page .impact-stat-index {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 48, 93, 0.52);
}

.impact-page .impact-stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--impact-heading);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
}

.impact-page .impact-stat-value .plus {
    font-size: 26px;
    color: var(--impact-primary);
}

.impact-page .impact-stat-title {
    color: var(--impact-heading);
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 62px;
}

.impact-page .impact-stat-note {
    color: var(--impact-text);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    margin-top: auto;
}

.impact-page .impact-quote-wrap {
    padding: 0px 42px;
}

.impact-page .impact-quote-mark {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 15, 73, 0.14), rgba(244, 162, 97, 0.22));
    color: var(--impact-primary);
    font-size: 26px;
    margin-bottom: 22px;
}

.impact-page .impact-quote-text,
.impact-page .impact-quote-wrap .mt-0 p {
    font-size: 16px;
    line-height: 1.5;
    color: #2f3f5a;
    margin-bottom: 18px;
}

.impact-page .impact-quote-text:last-of-type,
.impact-page .impact-quote-wrap .mt-0 p:last-of-type {
    margin-bottom: 28px;
}

.impact-page .impact-quote-author {
    padding-top: 20px;
    border-top: 1px solid rgba(17, 48, 93, 0.1);
}

.impact-page .impact-quote-author strong {
    display: block;
    color: var(--impact-heading);
    font-size: 18px;
    margin-bottom: 4px;
}

.impact-page .impact-quote-author span {
    color: var(--impact-text);
    font-size: 14px;
}

.impact-page .impact-cta {
    padding: 44px 46px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(244, 162, 97, 0.18), transparent 28%),
        linear-gradient(135deg, #fff3f7 0%, #ffffff 45%, #f7faff 100%);
    border: 1px solid rgba(193, 15, 73, 0.1);
    box-shadow: 0 24px 48px -36px rgba(17, 48, 93, 0.45);
}

.impact-page .impact-cta p {
    max-width: 720px;
}

.impact-page .impact-cta-actions {
    display: flex;
    justify-content: flex-end;
}

.impact-page .impact-cta .theme-button.style-1 {
    min-width: 180px;
    justify-content: center;
}

@media (max-width: 1199px) {
    .impact-page .impact-copy {
        max-width: 100%;
    }

    .impact-page .impact-visual {
        padding-left: 0;
        margin-top: 28px;
    }

    .impact-page .impact-visual::before {
        inset: 24px 24px 24px 24px;
    }
}

@media (max-width: 991px) {
    .impact-page .impact-intro {
        padding-top: 80px;
    }

    .impact-page .impact-label {
        left: 18px;
        right: 18px;
        bottom: 18px;
        max-width: none;
    }

    .impact-page .impact-solution-card {
        padding: 26px 22px;
    }

    .impact-page .impact-stats-shell,
    .impact-page .impact-quote-wrap,
    .impact-page .impact-cta {
        padding: 32px 24px;
    }

    .impact-page .impact-stats-header h2 {
        max-width: none;
    }

    .impact-page .impact-cta-actions {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .impact-page .impact-intro {
        padding-top: 60px;
    }

    .impact-page .impact-visual .image-anime img {
        min-height: 360px;
    }

    .impact-page .impact-card,
    .impact-page .impact-solution-card,
    .impact-page .impact-stat-card {
        padding: 24px 20px;
    }

    .impact-page .impact-card-title,
    .impact-page .impact-solution-content h3,
    .impact-page .impact-stat-title {
        font-size: 20px;
    }

    .impact-page .impact-stat-value {
        font-size: 36px;
    }

    .impact-page .impact-stat-title {
        min-height: auto;
    }

    .impact-page .impact-quote-text {
        font-size: 17px;
    }
}
