/* =========================================================
   Impact page (resources/views/annual-report.blade.php)
   Brand: Plus Jakarta Sans headings, Open Sans body,
   black + red, broken white (#e9e5dd) for light sections.
========================================================= */

.impact-page {
    --impact-black: #0a0a0a;
    --impact-charcoal: #1b1b1d;
    --impact-line: rgba(255, 255, 255, 0.14);
    background: var(--impact-black);
    color: #fff;
    overflow-x: hidden;
}

.impact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 992px) {
    .impact-container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

.impact-page h1,
.impact-page h2,
.impact-page h3,
.impact-page h4,
.impact-btn,
.impact-label,
.impact-eyebrow,
.impact-stat-value {
    font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
}

/* ---------- shared bits ---------- */

.impact-label,
.impact-eyebrow {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.impact-label-light {
    color: rgba(255, 255, 255, 0.85);
}

.impact-muted {
    color: #8b8b8b;
    font-size: 0.9rem;
    margin: 0;
}

.impact-body {
    color: #c9c9c9;
    font-size: 1rem;
    line-height: 1.75;
}

.impact-rule {
    width: 48px;
    height: 2px;
    margin: 2rem 0 1.25rem;
    border: 0;
    opacity: 1;
    background: var(--red);
}

.impact-quote {
    color: #e6e6e6;
    font-size: 1.05rem;
    max-width: 22rem;
}

.impact-section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.impact-section-title strong {
    font-weight: 800;
}

/* ---------- buttons ---------- */

.impact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 2rem;
}

.impact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.95rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.impact-btn i {
    color: inherit;
}

.impact-btn-red {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.impact-btn-red:hover {
    background: color-mix(in srgb, var(--red) 85%, black);
    border-color: color-mix(in srgb, var(--red) 85%, black);
    color: #fff;
}

.impact-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.impact-btn-outline:hover {
    background: #fff;
    color: #000;
}

.impact-btn-white {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.impact-btn-white:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* ---------- hero ---------- */

.impact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(78vh, 720px);
    padding: 6rem 0 5rem;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.25) 100%),
        var(--impact-hero-image) center / cover no-repeat;
}

.impact-hero-title {
    max-width: 14ch;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.impact-hero-title span {
    font-weight: 300;
}

.impact-hero-text {
    max-width: 38rem;
    color: #d6d6d6;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- report story ---------- */

.impact-story {
    padding: 5rem 0;
    background: var(--impact-black);
}

.impact-story-title {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 1.75rem;
}

.impact-story-title strong {
    font-weight: 800;
}

.impact-cover {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    border-radius: 4px;
}

.impact-actions-cover {
    max-width: 520px;
    margin-left: auto;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
    gap: 12px;
}

.impact-actions-cover .impact-btn {
    flex: 1 1 0;
}

@media (max-width: 575.98px) {
    .impact-actions-cover {
        flex-direction: column;
    }
}

/* ---------- numbers ---------- */

.impact-numbers {
    padding: 5rem 0;
    background: var(--broken-white, #e9e5dd);
    color: #111;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.impact-stat {
    padding: 2rem 1.5rem 0.5rem 0;
}

.impact-stat + .impact-stat {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
}

.impact-stat-index {
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
}

.impact-stat-value {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.impact-stat-value em {
    color: var(--red);
    font-style: normal;
}

.impact-stat-name {
    margin: 0.5rem 0 0.25rem;
    font-weight: 700;
}

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

    .impact-stat,
    .impact-stat + .impact-stat {
        padding: 1.5rem 0;
        border-left: 0;
    }

    .impact-stat + .impact-stat {
        border-top: 1px solid rgba(0, 0, 0, 0.18);
    }
}

/* ---------- more reports ---------- */

.impact-reports {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.impact-reports-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.impact-report-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.impact-report-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s;
}

.impact-report-card:hover img {
    transform: translateY(-4px);
}

.impact-report-card span {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
}

/* ---------- pillars ---------- */

.impact-pillars {
    padding: 5rem 0;
    background: var(--impact-charcoal);
}

.impact-pillar {
    height: 100%;
    background: var(--impact-black);
}

.impact-pillar img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.impact-pillar-body {
    padding: 1.5rem;
}

.impact-pillar-body h3 {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 800;
}

.impact-pillar-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.impact-pillar-body p {
    color: #c9c9c9;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- call to action ---------- */

.impact-cta {
    padding: 6rem 0;
    background-color: var(--red);
    background-image: var(--impact-cta-pattern);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center bottom;
}

.impact-cta-title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.impact-cta-title span {
    font-weight: 300;
}

.impact-cta-text {
    max-width: 28rem;
    margin: 1.5rem 0 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.impact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.impact-cta-mail {
    color: #fff;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.impact-cta-mail:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.impact-cta-mail i {
    color: inherit;
    margin-right: 0.35rem;
}

/* ---------- pop-ups ---------- */

.impact-modal .modal-content {
    background: #fff;
    color: #111;
    border: 0;
    border-radius: 12px;
}

.impact-modal .modal-title {
    font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 1.4rem;
    font-weight: 800;
}

.impact-modal-lead {
    color: #555;
}

.impact-modal .form-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.impact-input {
    padding: 0.7rem 0.9rem;
    border-radius: 6px;
}

.impact-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 0.2rem rgba(185, 18, 2, 0.15);
}

.impact-modal .impact-btn {
    padding: 0.9rem 1.4rem;
}
