.center-section:not(.home-hero-copy) {
        text-align: center;
        margin: 40px 0 0 0;
        padding-left: 120px;
}

@media (max-width: 1200px) {
    .center-section:not(.home-hero-copy) {
        padding-left: 0;
    }
}
/* =====================================================
   home.css
   ใช้กับ: homepage.php
   ===================================================== */
@import url('brand_logo.css');
@import url('touch_feedback.css');

:root {
    --dd-green: #597d57;
    --dd-coral: #df4e35;
    --dd-yellow: #f8ce32;
    --danger-red: #df4e35;
    --stories-bg: #3f4f9a;
    --yellow-bg: #f8ce32;
    --dd-navy: #2c3e50;
    --dd-cream: #f7ecde;
    --dd-cream-deep: #f5ede0;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 28px rgba(44, 62, 80, 0.08);
    --shadow-card: 0 16px 40px rgba(89, 125, 87, 0.14);
}

/* ===== Platform intro + 3 channels ===== */
.home-platform {
    background: #f7ecde;
}

.home-platform__channels {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.home-platform__channels-title {
    color: var(--dd-navy);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.45;
}

.home-channel {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-channel-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-decoration: none;
    color: transparent;
    background: transparent;
    -webkit-tap-highlight-color: rgba(60, 80, 153, 0.12);
    touch-action: manipulation;
}

.home-channel__btn {
    position: relative;
    z-index: 2;
}

.home-channel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(44, 62, 80, 0.16);
}

.home-channel__media {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-channel__media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.25rem 1.35rem;
    color: #fff;
}

/* อุปการะเด็ก.png — ไม่ทับไล่เฉด เพื่อให้เห็นข้อความบนภาพ */
.home-channel__media--sponsor {
    background-position: center top;
}

.home-channel--coral .home-channel__media-overlay--sponsor {
    background: none;
}

.home-channel--coral .home-channel__media-overlay--sponsor .home-channel__name,
.home-channel--coral .home-channel__media-overlay--sponsor .home-channel__en {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.home-channel--coral .home-channel__media-overlay--sponsor .home-channel__icon {
    background: rgba(255, 255, 255, 0.92);
    color: var(--dd-coral);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
    .home-channel__media--sponsor {
        background-position: center top;
    }
}

.home-channel--green .home-channel__media-overlay {
    background: linear-gradient(
        125deg,
        rgba(89, 125, 87, 0.88) 0%,
        rgba(89, 125, 87, 0.55) 32%,
        transparent 50%
    );
}

/* โครงการเด็ก.png — โชว์ข้อความบนภาพด้านขวา (ร่วมสนับสนุนโครงการ…) */
.home-channel__media--project {
    background-position: 72% 22%;
}

.home-channel--green .home-channel__media-overlay--project {
    background: linear-gradient(
        125deg,
        rgba(89, 125, 87, 0.88) 0%,
        rgba(89, 125, 87, 0.55) 32%,
        transparent 48%
    );
    justify-content: flex-end;
    max-width: 52%;
}

@media (max-width: 991.98px) {
    .home-channel__media {
        min-height: 240px;
    }

    .home-channel__media--project {
        background-position: 78% 18%;
    }

    .home-channel--green .home-channel__media-overlay--project {
        max-width: 62%;
    }
}

/* สิ่งของเด็ก.png — ไม่ทับไล่เฉด เพื่อให้เห็นข้อความบนภาพ */
.home-channel__media--need {
    background-position: center top;
}

.home-channel--yellow .home-channel__media-overlay--need {
    background: none;
}

.home-channel--yellow .home-channel__media-overlay--need .home-channel__name,
.home-channel--yellow .home-channel__media-overlay--need .home-channel__en {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.home-channel--yellow .home-channel__media-overlay--need .home-channel__icon {
    background: rgba(255, 255, 255, 0.92);
    color: #9a7b00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
    .home-channel__media--need {
        background-position: center top;
    }
}

.home-channel__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.home-channel__name {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}

.home-channel__en {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

.home-channel__body {
    padding: 1.15rem 1.35rem 1.35rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-channel__body p {
    color: #5c6b7a;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 1.1rem;
    flex-grow: 1;
}

.home-channel__btn {
    display: inline-block;
    align-self: flex-start;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: var(--dd-navy);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--dd-navy);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-channel--coral .home-channel__btn:hover {
    background: var(--dd-coral);
    border-color: var(--dd-coral);
    color: #fff;
}

.home-channel--green .home-channel__btn:hover {
    background: var(--dd-green);
    border-color: var(--dd-green);
    color: #fff;
}

.home-channel--yellow .home-channel__btn:hover {
    background: var(--dd-yellow);
    border-color: var(--dd-yellow);
    color: var(--dd-navy);
}

/* ===== แบนเนอร์สไลด์หน้าแรก ===== */
.home-banner-carousel {
    width: 100%;
    background: #fff;
    padding: 1rem 0 1.25rem;
}

.home-banner-carousel__frame {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}

.home-banner-carousel__viewport {
    position: relative;
    flex: 1;
    min-width: 0;
}

.home-banner-carousel__track {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
}

.home-banner-carousel__slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    pointer-events: none;
}

.home-banner-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}

.home-banner-carousel__img {
    width: 100%;
    height: clamp(200px, 22vw, 340px);
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-banner-carousel__nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.home-banner-carousel__nav:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
}

.home-banner-carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.home-banner-carousel__dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-banner-carousel__dot.is-active {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.15);
}

.home-banner-carousel__dot:focus-visible,
.home-banner-carousel__nav:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .home-banner-carousel__frame {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .home-banner-carousel__img {
        height: clamp(150px, 38vw, 220px);
    }

    .home-banner-carousel__nav {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .home-hero .home-hero-copy {
        text-align: center;
    }
}

/* =====  homepage.php ===== */
.home-section.home-hero {
    background: #fff;
}
    .home-section.home-hero {
        position: relative;
    }

.portrait-wrapper {
    position: relative;
    width: 400px; /* ลดขนาดความกว้าง */
    height: 400px; /* ลดขนาดความสูง */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-left: 5%; /* ลด margin ซ้าย */
}
.portrait-wrapper {
    position: absolute;
    left: -40px;
    bottom: 0;
    width: 700px;
    height: 900px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .portrait-wrapper {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 2rem;
    }
}

.home-hero .container .row {
        min-height: 650px;
        position: relative;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.center-section {
    text-align: center;
    margin: 40px 0 0 0;
}

.center-section h2 {
    color: #2e7d32;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.center-section h3 {
    color: #222;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.8em;
}

.center-section p {
    color: #222;
    font-size: 1.15rem;
    margin-bottom: 0.5em;
}

.home-hero .home-hero-copy {
    text-align: left;
    max-width: 36rem;
    margin: 40px 0 0 0;
    padding-left: 0 !important;
}

.home-hero .home-hero__brand-logo {
    display: block;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    align-self: flex-start;
}

.home-hero__title {
    color: var(--dd-navy);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 0.85rem;
}

.home-hero__intro {
    color: var(--dd-navy);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background-color: #F5C842;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-hero:hover {
    background-color: #e6b830;
    transform: translateY(-2px);
}

.btn-hero:active { transform: translateY(0); }

.highlight { color: var(--danger-red); }

.donation-image {
    width: 560px;
    height: 560px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20%;
}

.donation-image img { width: 100%; height: 100%; object-fit: cover; }

.donation-amounts {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    justify-content: center;
}

.amount-btn {
    width: 160px;
    padding: 16px 0;
    border: 2px solid #d8cfc7;
    background: #fff;
    color: #222;
    font-size: 20px;
    font-weight: 800;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s;
}

.amount-btn:hover {
    border-color: var(--danger-red);
    color: var(--danger-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

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

.selected-amount {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 520px;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

#selectedAmountDisplay {
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.clear-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.clear-btn:hover { color: var(--danger-red); }

.btn-donate {
    width: 520px;
    padding: 18px 28px;
    background: var(--yellow-bg);
    color: #222;
    border-radius: var(--radius-md);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(244, 201, 72, 0.25);
    margin: 0 auto;
    display: block;
    border: none;
}

.btn-donate:hover { box-shadow: 0 8px 22px rgba(244, 201, 72, 0.35); }

.btn-home {
    border-radius: 20px;
    font-size: 20px;
}

.rights-box {
    background: #fcf5ea;

/* =============================
     Responsive สำหรับ Mobile
     ============================= */
@media (max-width: 600px) {
    /* ส่วนกลางของหน้า */
    .center-section {
        padding-left: 0;
        margin: 20px 0 0 0;
    }
    .center-section h2 {
        font-size: 1.3rem;
    }
    .center-section h3 {
        font-size: 1.1rem;
    }
    .center-section p {
        font-size: 1rem;
    }

    /* ปรับขนาดรูปภาพและ container หลัก */
    .portrait-wrapper {
        width: min(92vw, 400px);
        height: auto;
        aspect-ratio: 1;
        min-width: 180px;
        min-height: 180px;
        max-width: 100%;
        max-height: none;
        left: 0;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1rem;
        position: static;
        justify-content: center;
        align-items: center;
    }

    .portrait-img {
        object-fit: contain;
        object-position: center center;
    }

    .donation-image {
        width: min(92vw, 520px);
        height: auto;
        aspect-ratio: 1;
        min-width: 180px;
        min-height: 180px;
        max-width: 100%;
        max-height: none;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* ปุ่มและกล่องจำนวนเงิน */
    .donation-amounts {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .amount-btn {
        width: 90vw;
        font-size: 1rem;
        padding: 10px 0;
    }
    .selected-amount, .btn-donate {
        width: 90vw;
        font-size: 1rem;
        padding: 12px 10px;
    }
    .btn-donate {
        margin: 0 auto 1rem auto;
    }

    /* ปุ่มทั่วไป */
    .btn-hero, .btn-home {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }

    /* ปรับ layout ให้แนวตั้ง */
    .hero-actions {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
}
    border: 2px solid #d9cbb0;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.rights-content {
    flex: 1 1 0;
    min-width: 260px;
}

.rights-content h4 {
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
    font-size: 2rem;
}

.rights-content p {
    margin-bottom: 28px;
    color: #222;
    font-size: 1.15rem;
}

.rights-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rights-image { flex: 0 0 260px; }
.rights-image img { max-width: 260px; width: 100%; height: auto; }

.btn-radis { border-radius: 20px; }

.home-section.stories {
    background: #fff;
    color: #1a1a1a;
}

.home-section.stories h3 {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
}

.story-text,
.card-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .center-section h3 { font-size: 1.6rem; }

    .rights-box {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .rights-actions { justify-content: center; }
    .rights-image { flex: 0 0 auto; }
}

/* ===== ย้ายจาก homepage.php <style> ===== */
body { overflow-x: hidden; }

.home-hero {
    background: #fff;
}

.home-hero .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home-hero .row {
    min-height: 628px;
}

.home-hero .hero-image-col {
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
}

.home-hero .portrait-wrapper {
    margin-left: 0 !important;
}

/* มือถือ / แท็บเล็ก: จัดรูป hero (วงกลม) และรูปบ้านบริจาคให้อยู่กลางจอ */
@media (max-width: 991.98px) {
    .home-hero .hero-image-col {
        justify-content: center !important;
        align-items: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    .home-hero .portrait-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-hero .row {
        min-height: 0;
    }

    .donation-image {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.home-hero .hero-text-col {
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (min-width: 992px) {
    .home-hero .row.align-items-center {
        --bs-gutter-x: 3rem;
    }

    .home-hero .hero-text-col {
        padding-left: clamp(2.5rem, 5vw, 5.5rem);
        padding-right: 1rem;
    }

    .home-hero .home-hero-copy {
        margin-left: 0;
        padding-left: 0 !important;
    }

    .home-hero .hero-actions {
        justify-content: flex-start;
    }
}

.home-contact-section {
    background-color: #fff;
    min-height: 441px;
    display: flex;
    align-items: center;
}

.home-about-yellow {
    background-color: var(--dd-cream);
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .home-contact-section,
    .home-about-yellow {
        min-height: auto;
    }
}

.home-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left:  calc(-0.5 * var(--bs-gutter-x));
    gap: 0 !important;
}

.home-hero .row {
    gap: 0 !important;
}

.home-section .container {
    background: transparent !important;
    max-width: 1400px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-section .rights-box {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.stories h3,
.stories p {
    color: #1a1a1a !important;
}

.stories .btn-home {
    background-color: #e06a4a !important;
    border-color: #e06a4a !important;
    color: #ffffff !important;
    border-radius: 999px;
    padding: 10px 26px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.stories .btn-home:hover {
    background-color: #cf5a3a !important;
    border-color: #cf5a3a !important;
    color: #ffffff !important;
}

.home-section.stories {
    min-height: auto !important;
    padding-top: 52px !important;
    padding-bottom: 2rem !important;
}

.home-section.stories .container {
    padding-bottom: 6px !important;
}

.footer-contact-col {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .footer-contact-col {
        padding-top: 1.75rem;
    }
}

.site-footer .footer-contact-col {
    padding-top: 0 !important;
}

.footer-contact-title {
    margin-top: 0;
}

.footer-address {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-link {
    color: #ffffff;
    font-size: 1.85rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ===== Homepage impact stats (live data) ===== */
.home-impact {
    background: #fff;
    padding: 2.5rem 0 4.5rem;
    margin-top: 0;
}

.home-impact--after-stories {
    padding-top: 3rem;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.home-impact__title {
    color: var(--dd-navy);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin-bottom: 0.65rem;
    letter-spacing: 0.01em;
}

.home-impact__lead {
    color: #5a6b8a;
    font-size: clamp(1.05rem, 1.8vw, 1.15rem);
    max-width: 32rem;
    margin: 0 auto 2.25rem;
}

.home-impact__card {
    height: 100%;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.35rem 1rem 1.5rem;
    box-shadow: none;
    cursor: default;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.home-impact__card:hover {
    transform: translateY(-6px) scale(1.03);
    background: rgba(247, 236, 222, 0.55);
    border-color: rgba(223, 78, 53, 0.2);
    box-shadow: 0 14px 32px rgba(44, 62, 80, 0.12);
}

.home-impact__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    font-size: 1.65rem;
    margin-bottom: 1rem;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.home-impact__card:hover .home-impact__card-icon {
    transform: scale(1.12);
}

.home-impact__card-icon--coral {
    background: rgba(223, 78, 53, 0.12);
    color: var(--dd-coral);
}

.home-impact__card:hover .home-impact__card-icon--coral {
    background: rgba(223, 78, 53, 0.22);
}

.home-impact__card-icon--green {
    background: rgba(89, 125, 87, 0.15);
    color: var(--dd-green);
}

.home-impact__card:hover .home-impact__card-icon--green {
    background: rgba(89, 125, 87, 0.28);
}

.home-impact__card-icon--blue {
    background: rgba(89, 125, 87, 0.15);
    color: var(--dd-green);
}

.home-impact__card-icon--yellow {
    background: rgba(248, 206, 50, 0.45);
    color: #9a7b00;
}

.home-impact__card:hover .home-impact__card-icon--yellow {
    background: rgba(248, 206, 50, 0.65);
}

.home-impact__label {
    color: #4a5568;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.home-impact__card:hover .home-impact__label {
    color: var(--dd-navy);
}

.home-impact__value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    line-height: 1.1;
}

.home-impact__number {
    color: var(--dd-coral);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.25s ease, color 0.2s ease;
}

.home-impact__card:hover .home-impact__number {
    transform: scale(1.06);
    color: #c93d28;
}

.home-impact__unit {
    color: var(--dd-navy);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-impact__card:hover .home-impact__unit {
    color: var(--dd-navy);
}

@media (prefers-reduced-motion: reduce) {
    .home-impact__card,
    .home-impact__card-icon,
    .home-impact__number {
        transition: none;
    }

    .home-impact__card:hover {
        transform: none;
    }

    .home-impact__card:hover .home-impact__card-icon,
    .home-impact__card:hover .home-impact__number {
        transform: none;
    }
}

