/**
 * =============================================================================
 * Mikoko Green Innovation Hub
 * =============================================================================
 *
 * File        : assets/css/pages/front-page.css
 * Version     : 3.0.0
 * Author      : Afrika Sisi Nyumbani Limited
 *
 * PURPOSE
 * -----------------------------------------------------------------------------
 *
 * Front-page-only design system for Mikoko Green Innovation Hub.
 *
 * This stylesheet is intentionally scoped to:
 *
 *     .front-page
 *
 * It must NOT control:
 *
 * - WooCommerce shop
 * - Cart
 * - Checkout
 * - My Account
 * - Dashboard
 * - Blog archives
 * - Single posts
 * - Other pages
 *
 * GLOBAL DESIGN SYSTEM:
 *
 *     assets/css/main.css
 *
 * GLOBAL HEADER / FOOTER:
 *
 *     assets/css/layout/header.css
 *     assets/css/layout/footer.css
 *
 * =============================================================================
 */


/* =============================================================================
 * 01. FRONT PAGE FOUNDATION
 * =============================================================================
 */

.front-page {
    --mgh-home-max-width: 1320px;
    --mgh-home-section-space: clamp(4.5rem, 8vw, 7rem);
    --mgh-home-radius: 24px;
    --mgh-home-radius-lg: 32px;
    --mgh-home-transition: 220ms ease;

    position: relative;
    overflow: hidden;

    background: #ffffff;
    color: #1d2939;
}


/* Prevent accidental box-model inconsistencies. */

.front-page *,
.front-page *::before,
.front-page *::after {
    box-sizing: border-box;
}


/* Main container. */

.front-page .container {
    width: min(94%, var(--mgh-home-max-width));
    margin-inline: auto;
}


/* Sections. */

.front-page > section,
.front-page section {
    position: relative;
}


/* Images. */

.front-page img {
    display: block;
    max-width: 100%;
}


/* Links. */

.front-page a {
    text-decoration: none;
    transition:
        color var(--mgh-home-transition),
        background-color var(--mgh-home-transition),
        border-color var(--mgh-home-transition),
        box-shadow var(--mgh-home-transition),
        transform var(--mgh-home-transition);
}


/* Paragraphs. */

.front-page p {
    line-height: 1.8;
}


/* =============================================================================
 * 02. SECTION TYPOGRAPHY
 * =============================================================================
 */

.front-page .section-heading {
    width: min(100%, 820px);
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.front-page .section-subtitle,
.front-page .section-heading .section-subtitle {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1rem;
    padding: .55rem 1rem;

    border: 1px solid rgba(18, 125, 79, .15);
    border-radius: 999px;

    background: rgba(18, 125, 79, .07);
    color: #087443;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.front-page .section-heading h2,
.front-page .statistics-header h2,
.front-page .esg-header h2 {
    margin: 0 0 1rem;

    color: #14212f;

    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
}

.front-page .section-heading p,
.front-page .statistics-header p {
    max-width: 720px;
    margin: 0 auto;

    color: #526071;
    font-size: 1.04rem;
}


/* =============================================================================
 * 03. BUTTON SYSTEM
 * =============================================================================
 */

.front-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;

    min-height: 52px;
    padding: .8rem 1.5rem;

    border: 2px solid transparent;
    border-radius: 999px;

    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
}

.front-page .btn-primary {
    border-color: #087443;
    background: #087443;
    color: #ffffff;
}

.front-page .btn-primary:hover,
.front-page .btn-primary:focus-visible {
    border-color: #075d37;
    background: #075d37;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(8, 116, 67, .22);
}

.front-page .btn-outline {
    border-color: #087443;
    background: transparent;
    color: #087443;
}

.front-page .btn-outline:hover,
.front-page .btn-outline:focus-visible {
    background: #087443;
    color: #ffffff;
    transform: translateY(-2px);
}

.front-page .btn-light {
    border-color: #ffffff;
    background: #ffffff;
    color: #075d37;
}

.front-page .btn-light:hover,
.front-page .btn-light:focus-visible {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}


/* =============================================================================
 * 04. HERO
 * =============================================================================
 */

.front-page .hero-section {
    min-height: min(860px, 100vh);

    display: flex;
    align-items: center;

    padding:
        clamp(7rem, 12vw, 10rem)
        0
        clamp(5rem, 8vw, 7rem);

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(4, 49, 34, .96),
            rgba(8, 116, 67, .86)
        );
}

.front-page .hero-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255,255,255,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(91, 200, 130, .12),
            transparent 35%
        );

    pointer-events: none;
}

.front-page .hero-section .container {
    position: relative;
    z-index: 2;
}

.front-page .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.front-page .hero-content {
    max-width: 720px;
}

.front-page .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;

    margin-bottom: 1.5rem;
    padding: .65rem 1rem;

    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;

    background: rgba(255,255,255,.10);

    color: #ffffff;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    backdrop-filter: blur(12px);
}

.front-page .hero-title {
    margin: 0 0 1.5rem;

    color: #ffffff;

    font-size: clamp(2.7rem, 5.5vw, 5.3rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.front-page .hero-description {
    max-width: 650px;
    margin: 0 0 2rem;

    color: rgba(255,255,255,.88);

    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.8;
}

.front-page .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.front-page .hero-buttons .btn-primary {
    border-color: #ffffff;
    background: #ffffff;
    color: #075d37;
}

.front-page .hero-buttons .btn-primary:hover {
    border-color: #ffffff;
    background: #e9f7ee;
    color: #075d37;
}

.front-page .hero-buttons .btn-outline {
    border-color: rgba(255,255,255,.8);
    color: #ffffff;
}

.front-page .hero-buttons .btn-outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #075d37;
}


/* Hero visual. */

.front-page .hero-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.front-page .hero-image img {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: var(--mgh-home-radius-lg);

    box-shadow: 0 40px 90px rgba(0,0,0,.30);
}

.front-page .hero-placeholder {
    width: 100%;
    min-height: 460px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 3rem;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--mgh-home-radius-lg);

    background: rgba(255,255,255,.08);

    text-align: center;

    backdrop-filter: blur(18px);
}

.front-page .hero-placeholder__logo img {
    width: 150px;
    height: auto;
    margin: 0 auto 1.5rem;
}

.front-page .hero-placeholder h2 {
    margin: 0 0 .75rem;
    color: #ffffff;
}

.front-page .hero-placeholder p {
    margin: 0;
    color: rgba(255,255,255,.8);
}


/* =============================================================================
 * 05. CORPORATE IMPACT BAR
 * =============================================================================
 */

.front-page .corporate-impact-bar {
    position: relative;
    z-index: 3;

    color: #ffffff;

    background:
        linear-gradient(
            110deg,
            #063d2d,
            #087443 58%,
            #159267
        );
}

.front-page .corporate-impact-bar__grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.1fr)
        minmax(340px, 1.5fr)
        auto;

    gap: 2rem;
    align-items: center;

    padding-top: 2rem;
    padding-bottom: 2rem;
}

.front-page .corporate-impact-bar .eyebrow {
    display: block;

    margin-bottom: .5rem;

    color: #bdeecb;

    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.front-page .corporate-impact-bar h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.front-page .corporate-impact-bar__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.front-page .corporate-impact-bar__points div {
    padding-left: 1rem;

    border-left: 1px solid rgba(255,255,255,.25);
}

.front-page .corporate-impact-bar__points strong,
.front-page .corporate-impact-bar__points span {
    display: block;
}

.front-page .corporate-impact-bar__points strong {
    color: #ffffff;
    font-size: .9rem;
}

.front-page .corporate-impact-bar__points span {
    margin-top: .3rem;
    color: rgba(255,255,255,.72);
    font-size: .78rem;
    line-height: 1.5;
}

.front-page .corporate-impact-bar .btn-light {
    white-space: nowrap;
}


/* =============================================================================
 * 06. INTRODUCTION
 * =============================================================================
 */

.front-page .intro-section {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}

.front-page .intro-content {
    max-width: 880px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.front-page .intro-content p {
    margin: 0 0 1rem;
    color: #526071;
    font-size: 1.05rem;
}

.front-page .intro-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.front-page .intro-highlight {
    padding: 1.75rem;

    border: 1px solid #e1e9e4;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .intro-highlight i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;

    border-radius: 16px;

    background: #e9f7ee;
    color: #087443;

    font-size: 1.25rem;
}

.front-page .intro-highlight h3 {
    margin: 0 0 .65rem;
    color: #17212b;
    font-size: 1.15rem;
}

.front-page .intro-highlight p {
    margin: 0;
    color: #667085;
    font-size: .92rem;
    line-height: 1.7;
}


/* =============================================================================
 * 07. SERVICES
 * =============================================================================
 */

.front-page .services-section {
    padding: var(--mgh-home-section-space) 0;
    background: #f5f9f6;
}

.front-page .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .service-card {
    display: flex;
    flex-direction: column;

    min-height: 100%;

    padding: 2rem;

    border: 1px solid #e0e9e3;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8,116,67,.25);
    box-shadow: 0 25px 55px rgba(18,50,35,.11);
}

.front-page .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;
    margin-bottom: 1.35rem;

    border-radius: 18px;

    background: #e9f7ee;
    color: #087443;

    font-size: 1.35rem;
}

.front-page .service-card h3 {
    margin: 0 0 .8rem;
    color: #17212b;
    font-size: 1.25rem;
}

.front-page .service-card p {
    flex: 1;

    margin: 0 0 1.5rem;

    color: #667085;
    font-size: .94rem;
    line-height: 1.75;
}

.front-page .service-footer {
    margin-top: auto;
}


/* =============================================================================
 * 08. WHY CHOOSE US
 * =============================================================================
 */

.front-page .why-us-section {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}


/* =============================================================================
 * 09. STATISTICS
 * =============================================================================
 */

.front-page .statistics-section {
    padding: var(--mgh-home-section-space) 0;

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #063d2d,
            #087443
        );
}

.front-page .statistics-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.front-page .statistics-header .section-subtitle {
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #c8f2d4;
}

.front-page .statistics-header h2 {
    color: #ffffff;
}

.front-page .statistics-header p {
    color: rgba(255,255,255,.76);
}

.front-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.front-page .stat-item {
    padding: 2rem 1rem;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;

    background: rgba(255,255,255,.07);

    text-align: center;
}

.front-page .stat-item i {
    display: block;
    margin-bottom: .8rem;
    color: #bdeecb;
    font-size: 1.45rem;
}

.front-page .stat-item h2 {
    margin: 0 0 .35rem;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.front-page .stat-item p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: .86rem;
}


/* =============================================================================
 * 10. ESG
 * =============================================================================
 */

.front-page .esg-section {
    padding: var(--mgh-home-section-space) 0;
    background: #f5f9f6;
}

.front-page .esg-header {
    max-width: 850px;
    margin: 0 auto 3rem;
    text-align: center;
}

.front-page .esg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .esg-card {
    padding: 2rem;

    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.07);
}

.front-page .esg-card--environment {
    border-top: 4px solid #2e9b58;
}

.front-page .esg-card--social {
    border-top: 4px solid #d39b26;
}

.front-page .esg-card--governance {
    border-top: 4px solid #4777a8;
}

.front-page .esg-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;

    border-radius: 18px;

    background: #eef7f1;
    color: #087443;

    font-size: 1.35rem;
}

.front-page .esg-card h3 {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
}

.front-page .esg-card p {
    margin: 0;
    color: #667085;
    font-size: .94rem;
    line-height: 1.75;
}

.front-page .esg-platform {
    margin-top: 2rem;
    padding: clamp(2rem, 5vw, 3.5rem);

    border-radius: var(--mgh-home-radius-lg);

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #063d2d,
            #0b6847
        );
}

.front-page .esg-platform-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
}

.front-page .esg-platform h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.front-page .esg-platform p {
    color: rgba(255,255,255,.78);
}

.front-page .esg-platform ul {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;

    margin: 1.5rem 0 0;
    padding: 0;

    list-style: none;
}

.front-page .esg-platform li {
    padding: .5rem .8rem;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;

    background: rgba(255,255,255,.07);

    color: #ffffff;

    font-size: .8rem;
    font-weight: 700;
}

.front-page .esg-platform-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}

.front-page .platform-stat {
    padding: 1.35rem;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;

    background: rgba(255,255,255,.07);
}

.front-page .platform-stat h3 {
    margin: 0 0 .3rem;
    color: #ffffff;
    font-size: 2rem;
}

.front-page .platform-stat span {
    color: rgba(255,255,255,.68);
    font-size: .78rem;
}


/* =============================================================================
 * 11. PROJECTS
 * =============================================================================
 */

.front-page .projects-section {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}

.front-page .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .project-card {
    overflow: hidden;

    border: 1px solid #e1e9e4;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(18,50,35,.12);
}

.front-page .project-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf3ef;
}

.front-page .project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.front-page .project-card:hover .project-card__image img {
    transform: scale(1.04);
}

.front-page .project-card__content {
    padding: 1.5rem;
}

.front-page .project-card__meta {
    margin-bottom: .7rem;
    color: #087443;
    font-size: .78rem;
}

.front-page .project-card__title {
    margin: 0 0 .75rem;
    font-size: 1.2rem;
}

.front-page .project-card__title a {
    color: #17212b;
}

.front-page .project-card__title a:hover {
    color: #087443;
}

.front-page .project-card__excerpt {
    color: #667085;
    font-size: .9rem;
    line-height: 1.7;
}

.front-page .project-card__footer {
    margin-top: 1.2rem;
}


/* =============================================================================
 * 12. COURSES
 * =============================================================================
 */

.front-page .home-courses {
    padding: var(--mgh-home-section-space) 0;
    background: #f5f9f6;
}

.front-page .courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .course-card {
    overflow: hidden;

    border: 1px solid #e1e9e4;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .course-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf3ef;
}

.front-page .course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-page .course-card__content {
    padding: 1.5rem;
}

.front-page .course-card__title {
    margin: 0 0 .75rem;
    font-size: 1.2rem;
}

.front-page .course-card__title a {
    color: #17212b;
}

.front-page .course-card__title a:hover {
    color: #087443;
}

.front-page .course-card__excerpt {
    color: #667085;
    font-size: .9rem;
    line-height: 1.7;
}

.front-page .course-card__footer {
    margin-top: 1.2rem;
}


/* =============================================================================
 * 13. MARKETPLACE
 * =============================================================================
 */

.front-page .home-shop {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}

.front-page .home-shop__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;

    margin: 0 auto 2rem;
}

.front-page .home-shop__trust span {
    padding: .55rem .85rem;

    border: 1px solid #d6e4da;
    border-radius: 999px;

    background: #f7fbf8;
    color: #246247;

    font-size: .8rem;
    font-weight: 800;
}

.front-page .home-shop .products-grid {
    display: block;
}

.front-page .home-shop .products-grid ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.front-page .home-shop .section-footer {
    margin-top: 2.5rem;
    text-align: center;
}


/* =============================================================================
 * 14. NEWS
 * =============================================================================
 */

.front-page .news-section {
    padding: var(--mgh-home-section-space) 0;
    background: #f5f9f6;
}

.front-page .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .news-card {
    overflow: hidden;

    border: 1px solid #e1e9e4;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .news-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf3ef;
}

.front-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-page .news-content {
    padding: 1.5rem;
}

.front-page .news-date {
    color: #087443;
    font-size: .78rem;
    font-weight: 700;
}

.front-page .news-content h3 {
    margin: .55rem 0 .75rem;
    font-size: 1.18rem;
}

.front-page .news-content h3 a {
    color: #17212b;
}

.front-page .news-content h3 a:hover {
    color: #087443;
}

.front-page .news-content p {
    margin: 0 0 1rem;
    color: #667085;
    font-size: .9rem;
}

.front-page .news-readmore {
    color: #087443;
    font-size: .85rem;
    font-weight: 800;
}

.front-page .news-readmore:hover {
    color: #075d37;
}


/* =============================================================================
 * 15. PARTNERS
 * =============================================================================
 */

.front-page .partners-section {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}

.front-page .partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.front-page .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 130px;
    padding: 1.5rem;

    border: 1px solid #e1e9e4;
    border-radius: 18px;

    background: #ffffff;
}

.front-page .partner-item:hover {
    border-color: rgba(8,116,67,.25);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(18,50,35,.08);
}

.front-page .partner-item img {
    width: auto;
    max-width: 160px;
    max-height: 70px;
    object-fit: contain;
}


/* =============================================================================
 * 16. TESTIMONIALS
 * =============================================================================
 */

.front-page .testimonials-section {
    padding: var(--mgh-home-section-space) 0;
    background: #f5f9f6;
}

.front-page .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.front-page .testimonial-card {
    padding: 2rem;

    border: 1px solid #e1e9e4;
    border-radius: var(--mgh-home-radius);

    background: #ffffff;

    box-shadow: 0 15px 45px rgba(18,50,35,.06);
}

.front-page .testimonial-rating {
    margin-bottom: 1rem;
    color: #d59b20;
    letter-spacing: .08em;
}

.front-page .testimonial-content p {
    margin: 0 0 1.5rem;
    color: #526071;
    font-size: .96rem;
    line-height: 1.8;
}

.front-page .testimonial-author h4 {
    margin: 0 0 .2rem;
    color: #17212b;
    font-size: .95rem;
}

.front-page .testimonial-author span {
    color: #7a8794;
    font-size: .8rem;
}


/* =============================================================================
 * 17. CTA
 * =============================================================================
 */

.front-page .cta-section {
    padding: clamp(4rem, 8vw, 6rem) 0;

    color: #ffffff;

    background:
        linear-gradient(
            120deg,
            #063d2d,
            #087443
        );

    text-align: center;
}

.front-page .cta-section h2 {
    max-width: 850px;
    margin: 0 auto 1rem;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.5rem);
}

.front-page .cta-section p {
    max-width: 760px;
    margin: 0 auto 2rem;

    color: rgba(255,255,255,.78);
}

.front-page .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}

.front-page .cta-section .btn-primary {
    border-color: #ffffff;
    background: #ffffff;
    color: #075d37;
}

.front-page .cta-section .btn-outline {
    border-color: rgba(255,255,255,.75);
    color: #ffffff;
}

.front-page .cta-section .btn-outline:hover {
    background: #ffffff;
    color: #075d37;
}


/* =============================================================================
 * 18. NEWSLETTER
 * =============================================================================
 */

.front-page .newsletter-section {
    padding: var(--mgh-home-section-space) 0;
    background: #ffffff;
}

.front-page .newsletter-wrapper {
    width: min(100%, 760px);
    margin-inline: auto;
}

.front-page .newsletter-wrapper > p {
    padding: 1rem 1.25rem;

    border: 1px solid #e1e9e4;
    border-radius: 12px;

    background: #f7fbf8;
    color: #667085;

    text-align: center;
}


/* =============================================================================
 * 19. EMPTY STATES
 * =============================================================================
 */

.front-page .section-empty {
    padding: 3rem 1.5rem;

    border: 1px dashed #cad9cf;
    border-radius: var(--mgh-home-radius);

    background: #f8fbf9;

    text-align: center;
}

.front-page .section-empty h3 {
    margin: 0;
    color: #526071;
}


/* =============================================================================
 * 20. SECTION FOOTERS
 * =============================================================================
 */

.front-page .section-footer {
    margin-top: 2.5rem;
    text-align: center;
}


/* =============================================================================
 * 21. RESPONSIVE — LARGE TABLET
 * =============================================================================
 */

@media (max-width: 1100px) {

    .front-page .hero-grid {
        grid-template-columns: 1fr;
    }

    .front-page .hero-content {
        max-width: 850px;
        margin-inline: auto;
        text-align: center;
    }

    .front-page .hero-description {
        margin-inline: auto;
    }

    .front-page .hero-buttons {
        justify-content: center;
    }

    .front-page .hero-image {
        max-width: 720px;
        margin-inline: auto;
    }

    .front-page .corporate-impact-bar__grid {
        grid-template-columns: 1fr;
    }

    .front-page .corporate-impact-bar__points {
        max-width: 850px;
    }

    .front-page .corporate-impact-bar .btn-light {
        justify-self: start;
    }

    .front-page .intro-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .front-page .services-grid,
    .front-page .projects-grid,
    .front-page .courses-grid,
    .front-page .news-grid,
    .front-page .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .front-page .esg-platform-grid {
        grid-template-columns: 1fr;
    }

    .front-page .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .front-page .home-shop .products-grid ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =============================================================================
 * 22. RESPONSIVE — TABLET
 * =============================================================================
 */

@media (max-width: 800px) {

    .front-page .hero-section {
        min-height: auto;
    }

    .front-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .front-page .esg-grid {
        grid-template-columns: 1fr;
    }

    .front-page .corporate-impact-bar__points {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .front-page .corporate-impact-bar__points div {
        min-height: auto;
    }

    .front-page .home-shop .products-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =============================================================================
 * 23. RESPONSIVE — MOBILE
 * =============================================================================
 */

@media (max-width: 600px) {

    .front-page .container {
        width: min(92%, var(--mgh-home-max-width));
    }

    .front-page .hero-section {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .front-page .hero-title {
        font-size: clamp(2.35rem, 11vw, 3.3rem);
    }

    .front-page .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .front-page .hero-buttons .btn {
        width: 100%;
    }

    .front-page .hero-placeholder {
        min-height: 360px;
    }

    .front-page .intro-highlights,
    .front-page .services-grid,
    .front-page .projects-grid,
    .front-page .courses-grid,
    .front-page .news-grid,
    .front-page .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .front-page .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .front-page .esg-platform-stats {
        grid-template-columns: 1fr 1fr;
    }

    .front-page .partner-grid {
        grid-template-columns: 1fr 1fr;
    }

    .front-page .home-shop .products-grid ul.products {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .front-page .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .front-page .cta-buttons .btn {
        width: 100%;
    }

}


/* =============================================================================
 * 24. SMALL MOBILE
 * =============================================================================
 */

@media (max-width: 420px) {

    .front-page .stats-grid,
    .front-page .esg-platform-stats,
    .front-page .partner-grid,
    .front-page .home-shop .products-grid ul.products {
        grid-template-columns: 1fr;
    }

    .front-page .section-heading h2,
    .front-page .statistics-header h2,
    .front-page .esg-header h2 {
        font-size: 2rem;
    }

}


/* =============================================================================
 * 25. REDUCED MOTION
 * =============================================================================
 */

@media (prefers-reduced-motion: reduce) {

    .front-page *,
    .front-page *::before,
    .front-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =============================================================================
 * END OF FRONT PAGE
 * =============================================================================
 */