/**
 * ============================================================================
 * Kasi Mattress
 * About Page
 * File: assets/css/pages/about.css
 * Version: 1.0.0
 * ============================================================================
 */


/* ==========================================================================
   PAGE
========================================================================== */

.km-about-page {
    background: #eef2f7;
    min-height: 100vh;
}


/* ==========================================================================
   HERO
========================================================================== */

.km-about-hero {
    text-align: center;
}

.km-about-hero .km-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.km-about-hero h1 {
    max-width: 820px;

    margin: 0 0 10px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

.km-about-hero h1 span {
    color: #f4a300;
}

.km-about-hero p {
    max-width: 700px;

    margin: 0 auto;

    color: #666;

    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================================
   STORY
========================================================================== */

.km-about-story {
    padding: 30px 0 70px;
}

.km-about-story-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, 0.7fr);

    gap: 30px;

    align-items: center;
}

.km-about-story-content {
    max-width: 700px;
}

.km-section-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #f4a300;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.km-about-story-content h2,
.km-about-section-heading h2,
.km-about-why-heading h2,
.km-about-sa-card h2 {
    margin: 0 0 12px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
}

.km-about-story-content p {
    margin: 0 0 14px;

    color: #666;

    font-size: 14px;
    line-height: 1.75;
}

.km-about-story-content p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   STORY PROMISE CARD
========================================================================== */

.km-about-story-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 30px;

    background: #fff;

    border: 1px solid #e1e7ee;
    border-top: 3px solid #f4a300;

    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, 0.06);
}

.km-about-story-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 19px;
}

.km-about-story-card > span {
    margin-bottom: 8px;

    color: #777;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.km-about-story-card strong {
    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 20px;
    line-height: 1.45;
}


/* ==========================================================================
   VALUES
========================================================================== */

.km-about-values {
    padding: 70px 0;

    background: #fff;
}

.km-about-section-heading {
    max-width: 650px;

    margin: 0 auto 30px;

    text-align: center;
}

.km-about-section-heading .km-section-label {
    margin-bottom: 7px;
}

.km-about-section-heading h2 {
    margin-bottom: 8px;
}

.km-about-section-heading p {
    margin: 0;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}

.km-about-values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.km-about-value-card {
    position: relative;

    padding: 25px 22px;

    background: #fff;

    border: 1px solid #e1e7ee;
    border-top: 3px solid #f4a300;

    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, 0.05);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.km-about-value-card:hover {
    transform: translateY(-3px);

    border-color: #f4a300;

    box-shadow:
        0 14px 32px rgba(15, 76, 129, 0.10);
}

.km-about-value-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 17px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.km-about-value-card:hover .km-about-value-icon {
    background: #f4a300;

    color: #0f4c81;
}

.km-about-value-card h3 {
    margin: 0 0 8px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 17px;
    line-height: 1.35;
}

.km-about-value-card p {
    margin: 0;

    color: #666;

    font-size: 13px;
    line-height: 1.7;
}


/* ==========================================================================
   WHY KASI
========================================================================== */

.km-about-why {
    padding: 70px 0;
}

.km-about-why-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 60px;

    align-items: center;
}

.km-about-why-heading h2 {
    margin-bottom: 12px;
}

.km-about-why-heading p {
    max-width: 430px;

    margin: 0;

    color: #666;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   BENEFITS
========================================================================== */

.km-about-benefits {
    display: flex;
    flex-direction: column;

    gap: 0;
}

.km-about-benefit {
    display: grid;

    grid-template-columns: 52px 1fr;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid #dce3eb;
}

.km-about-benefit:first-child {
    padding-top: 0;
}

.km-about-benefit:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.km-about-benefit-number {
    color: #f4a300;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 700;
}

.km-about-benefit h3 {
    margin: 0 0 5px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 17px;
}

.km-about-benefit p {
    margin: 0;

    color: #666;

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================================
   SOUTH AFRICA
========================================================================== */

.km-about-south-africa {
    padding: 0 0 70px;
}

.km-about-sa-card {
    display: grid;

    grid-template-columns: 54px 1fr;

    gap: 20px;

    align-items: start;

    padding: 30px;

    background: #fff;

    border: 1px solid #e1e7ee;
    border-top: 3px solid #f4a300;

    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, 0.06);
}

.km-about-sa-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 19px;
}

.km-about-sa-card h2 {
    margin-bottom: 8px;
}

.km-about-sa-card p {
    max-width: 780px;

    margin: 0;

    color: #666;

    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================================
   CTA
========================================================================== */

.km-about-cta {
    padding: 0 0 70px;
}

.km-about-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;

    padding: 30px 32px;

    background: #0f4c81;

    border-radius: 12px;

    box-shadow:
        0 12px 32px rgba(15, 76, 129, 0.12);
}

.km-about-cta-inner h2 {
    margin: 0 0 7px;

    color: #fff;

    font-family: "Poppins", sans-serif;

    font-size: 22px;
    line-height: 1.3;
}

.km-about-cta-inner p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
    line-height: 1.6;
}

.km-about-cta-inner .km-btn {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 0 20px;

    background: #f4a300;

    border-radius: 8px;

    color: #0f4c81;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.km-about-cta-inner .km-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.16);
}


/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 1024px) {

    .km-about-values-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .km-about-why-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 767px) {

    .km-about-story {
        padding: 22px 0 48px;
    }

    .km-about-story-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .km-about-values {
        padding: 48px 0;
    }

    .km-about-values-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .km-about-why {
        padding: 48px 0;
    }

    .km-about-benefit {
        grid-template-columns: 42px 1fr;

        gap: 12px;
    }

    .km-about-south-africa {
        padding-bottom: 48px;
    }

    .km-about-sa-card {
        grid-template-columns: 1fr;

        gap: 16px;

        padding: 24px 20px;
    }

    .km-about-cta {
        padding-bottom: 48px;
    }

    .km-about-cta-inner {
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 24px 20px;
    }

    .km-about-cta-inner .km-btn {
        width: 100%;
    }

}