/**
 * ============================================================================
 * Kasi Mattress
 * Warranty Page
 * File: assets/css/pages/warranty.css
 * Version: 1.0.0
 * ============================================================================
 */


/* ==========================================================================
   PAGE
========================================================================== */

.km-warranty-page {
    background: #eef2f7;
    min-height: 100vh;
}


/* ==========================================================================
   HERO
========================================================================== */

.km-warranty-page .km-page-hero {
    background:
        linear-gradient(
            135deg,
            #0f4c81 0%,
            #123f68 100%
        );

    color: #ffffff;

    padding: 72px 0 68px;

    border-bottom: 3px solid #f4a300;
}

.km-warranty-page .km-page-hero .km-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;
    padding: 6px 13px;

    background: rgba(244, 163, 0, 0.14);

    border: 1px solid rgba(244, 163, 0, 0.55);
    border-radius: 999px;

    color: #f4a300;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.km-warranty-page .km-page-hero h1 {
    margin: 0 0 14px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

.km-warranty-page .km-page-hero p {
    max-width: 760px;

    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.75;
}


/* ==========================================================================
   CONTENT
========================================================================== */

.km-warranty-page .km-page-content {
    padding: 60px 0 80px;
}


/* ==========================================================================
   INTRO
========================================================================== */

.km-warranty-intro {
    max-width: 820px;

    margin: 0 auto 42px;

    text-align: center;
}

.km-warranty-intro h2 {
    margin: 0 0 12px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.km-warranty-intro p {
    max-width: 720px;

    margin: 0 auto;

    color: #666666;

    font-size: 16px;
    line-height: 1.75;
}


/* ==========================================================================
   WARRANTY HIGHLIGHT GRID
========================================================================== */

.km-warranty-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-bottom: 60px;
}


/* ==========================================================================
   WARRANTY CARD
========================================================================== */

.km-warranty-card {
    position: relative;

    background: #ffffff;

    border: 1px solid #dfe6ee;
    border-top: 3px solid #f4a300;

    border-radius: 14px;

    padding: 30px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.km-warranty-card:hover {
    transform: translateY(-4px);

    border-color: #f4a300;

    box-shadow:
        0 16px 36px rgba(15, 76, 129, 0.12);
}


/* ==========================================================================
   CARD ICON
========================================================================== */

.km-warranty-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #0f4c81;

    border-radius: 12px;

    color: #f4a300;

    font-size: 20px;
}


/* ==========================================================================
   CARD HEADING
========================================================================== */

.km-warranty-card h3 {
    margin: 0 0 10px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.35;
}


/* ==========================================================================
   CARD TEXT
========================================================================== */

.km-warranty-card p {
    margin: 0;

    color: #666666;

    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================================
   SECTION
========================================================================== */

.km-warranty-section {
    margin-top: 52px;
}


/* ==========================================================================
   SECTION HEADING
========================================================================== */

.km-warranty-section-heading {
    max-width: 760px;

    margin-bottom: 28px;
}

.km-warranty-section-heading h2 {
    margin: 0 0 10px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.3;
}

.km-warranty-section-heading p {
    margin: 0;

    color: #666666;

    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================================
   COVERAGE LIST
========================================================================== */

.km-warranty-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.km-warranty-list-item {
    display: flex;
    gap: 16px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #dfe6ee;
    border-left: 3px solid #f4a300;

    border-radius: 12px;

    box-shadow:
        0 6px 20px rgba(15, 76, 129, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.km-warranty-list-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(15, 76, 129, 0.09);
}

.km-warranty-list-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(244, 163, 0, 0.12);

    border-radius: 50%;

    color: #f4a300;

    font-size: 13px;
}

.km-warranty-list-item h3 {
    margin: 0 0 6px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 17px;
    font-weight: 600;
}

.km-warranty-list-item p {
    margin: 0;

    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   EXCLUSIONS
========================================================================== */

.km-warranty-exclusions {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.km-warranty-exclusion {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 58px;

    padding: 14px 18px;

    background: #ffffff;

    border: 1px solid #dfe6ee;
    border-left: 3px solid #d7dde5;

    border-radius: 10px;

    color: #444444;

    font-size: 14px;
    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.km-warranty-exclusion:hover {
    border-left-color: #f4a300;

    box-shadow:
        0 6px 18px rgba(15, 76, 129, 0.06);
}

.km-warranty-exclusion i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    background: rgba(15, 76, 129, 0.08);

    border-radius: 50%;

    color: #0f4c81;

    font-size: 11px;
}


/* ==========================================================================
   RESPONSIBILITIES
========================================================================== */

.km-warranty-responsibilities {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 42px;

    align-items: center;

    margin-top: 60px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    border: 1px solid #dfe6ee;
    border-left: 4px solid #f4a300;

    border-radius: 16px;

    box-shadow:
        0 10px 28px rgba(15, 76, 129, 0.07);
}

.km-warranty-responsibilities h2 {
    margin: 0 0 10px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 27px;
    font-weight: 700;
}

.km-warranty-responsibilities p {
    margin: 0;

    color: #666666;

    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================================
   RESPONSIBILITY GRID
========================================================================== */

.km-warranty-responsibility-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.km-warranty-responsibility {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #e3e8ee;

    border-radius: 10px;

    color: #444444;

    font-size: 14px;
    line-height: 1.55;
}

.km-warranty-responsibility i {
    margin-top: 2px;

    color: #f4a300;

    font-size: 13px;
}


/* ==========================================================================
   CLAIM STEPS
========================================================================== */

.km-warranty-steps {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.km-warranty-step {
    position: relative;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #dfe6ee;
    border-top: 3px solid #f4a300;

    border-radius: 14px;

    box-shadow:
        0 7px 22px rgba(15, 76, 129, 0.05);
}

.km-warranty-step-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 18px;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 700;
}

.km-warranty-step h3 {
    margin: 0 0 8px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;

    font-size: 18px;
    font-weight: 600;
}

.km-warranty-step p {
    margin: 0;

    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   CTA
========================================================================== */

.km-warranty-cta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;

    margin-top: 60px;

    padding: 42px 38px;

    background:
        linear-gradient(
            135deg,
            #0f4c81 0%,
            #123f68 100%
        );

    border: 1px solid rgba(244, 163, 0, 0.35);
    border-top: 3px solid #f4a300;

    border-radius: 16px;

    box-shadow:
        0 14px 34px rgba(15, 76, 129, 0.14);
}

.km-warranty-cta h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 27px;
    font-weight: 700;
}

.km-warranty-cta p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;
    line-height: 1.7;
}


/* ==========================================================================
   CTA ACTIONS
========================================================================== */

.km-warranty-cta-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.km-warranty-cta-actions .km-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.km-warranty-cta-actions .km-btn-primary {
    background: #f4a300;

    border: 1px solid #f4a300;

    color: #ffffff;
}

.km-warranty-cta-actions .km-btn-primary:hover {
    background: #d99100;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(244, 163, 0, 0.28);
}

.km-warranty-cta-actions .km-btn-secondary {
    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #ffffff;
}

.km-warranty-cta-actions .km-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);

    border-color: #f4a300;

    transform: translateY(-2px);
}


/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 1024px) {

    .km-warranty-page .km-page-hero {
        padding: 60px 0;
    }

    .km-warranty-page .km-page-content {
        padding: 50px 0 65px;
    }

    .km-warranty-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .km-warranty-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .km-warranty-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .km-warranty-responsibilities {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .km-warranty-cta {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 767px) {

    .km-warranty-page .km-page-hero {
        padding: 48px 0 44px;
    }

    .km-warranty-page .km-page-hero h1 {
        font-size: 34px;
    }

    .km-warranty-page .km-page-hero p {
        font-size: 15px;
    }

    .km-warranty-page .km-page-content {
        padding: 40px 0 55px;
    }

    .km-warranty-intro {
        margin-bottom: 30px;
    }

    .km-warranty-intro h2 {
        font-size: 24px;
    }

    .km-warranty-intro p {
        font-size: 14px;
    }

    .km-warranty-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-bottom: 42px;
    }

    .km-warranty-card {
        padding: 24px;
    }

    .km-warranty-card h3 {
        font-size: 18px;
    }

    .km-warranty-section {
        margin-top: 40px;
    }

    .km-warranty-section-heading h2 {
        font-size: 24px;
    }

    .km-warranty-list {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .km-warranty-list-item {
        padding: 20px;
    }

    .km-warranty-exclusions {
        grid-template-columns: 1fr;
    }

    .km-warranty-responsibilities {
        margin-top: 42px;

        padding: 26px 22px;
    }

    .km-warranty-responsibilities h2 {
        font-size: 23px;
    }

    .km-warranty-responsibility-grid {
        grid-template-columns: 1fr;
    }

    .km-warranty-steps {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .km-warranty-step {
        padding: 22px;
    }

    .km-warranty-cta {
        margin-top: 42px;

        padding: 32px 22px;

        border-radius: 14px;
    }

    .km-warranty-cta h2 {
        font-size: 23px;
    }

    .km-warranty-cta-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }

    .km-warranty-cta-actions .km-btn {
        width: 100%;
    }

}