/**
 * ============================================================================
 * Kasi Mattress
 * Delivery Page
 * File: assets/css/pages/delivery.css
 * Version: 1.0.0
 * ============================================================================
 */


/* ==========================================================================
   PAGE
========================================================================== */

.km-delivery-page {
    background: #eef2f7;
    min-height: 100vh;
}


/* ==========================================================================
   HERO
========================================================================== */

.km-delivery-page .km-page-hero {
    position: relative;

    padding: 72px 0 68px;

    background:
        linear-gradient(
            135deg,
            #0f4c81 0%,
            #123f68 100%
        );

    color: #ffffff;

    border-bottom: 3px solid #f4a300;
}

.km-delivery-page .km-page-hero .km-page-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;
    padding: 7px 14px;

    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-delivery-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-delivery-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-delivery-page .km-page-content {
    padding: 60px 0 80px;
}


/* ==========================================================================
   INTRO
========================================================================== */

.km-delivery-intro {
    max-width: 800px;

    margin: 0 auto 42px;

    text-align: center;
}

.km-delivery-intro .km-section-label,
.km-delivery-section-heading .km-section-label,
.km-delivery-info-card .km-section-label,
.km-delivery-cta .km-section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #f4a300;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.km-delivery-intro h2,
.km-delivery-section-heading h2,
.km-delivery-info-card h2,
.km-delivery-cta h2 {
    margin: 0 0 12px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.km-delivery-intro h2 {
    font-size: 30px;
}

.km-delivery-intro p,
.km-delivery-section-heading p {
    margin: 0;

    color: #666666;

    font-size: 16px;
    line-height: 1.75;
}


/* ==========================================================================
   DELIVERY HIGHLIGHTS
========================================================================== */

.km-delivery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-bottom: 64px;
}


/* ==========================================================================
   DELIVERY CARD
========================================================================== */

.km-delivery-card {
    position: relative;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-top: 3px solid #f4a300;

    border-radius: 14px;

    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-delivery-card:hover {
    transform: translateY(-4px);

    border-color: #f4a300;

    box-shadow:
        0 16px 36px rgba(15, 76, 129, 0.11);
}


/* ==========================================================================
   ICON
========================================================================== */

.km-delivery-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: 19px;

    box-shadow:
        0 6px 14px rgba(15, 76, 129, 0.12);
}

.km-delivery-card h3 {
    margin: 0 0 10px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.km-delivery-card p {
    margin: 0 0 18px;

    color: #666666;

    font-size: 14px;
    line-height: 1.75;
}

.km-delivery-card strong {
    display: inline-flex;

    padding: 6px 11px;

    background: rgba(244, 163, 0, 0.10);

    border: 1px solid rgba(244, 163, 0, 0.30);
    border-radius: 999px;

    color: #b97800;

    font-size: 12px;
    font-weight: 700;
}


/* ==========================================================================
   SECTION
========================================================================== */

.km-delivery-section {
    margin-top: 64px;
}

.km-delivery-section-heading {
    max-width: 760px;

    margin-bottom: 30px;
}

.km-delivery-section-heading h2 {
    font-size: 28px;
}


/* ==========================================================================
   AREA CARDS
========================================================================== */

.km-area-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.km-area-card {
    padding: 26px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-left: 4px 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-area-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(15, 76, 129, 0.09);
}

.km-area-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 17px;
}

.km-area-card h3 {
    margin: 0 0 9px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 19px;
}

.km-area-card p {
    margin: 0 0 15px;

    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}

.km-area-card span {
    display: inline-block;

    color: #b97800;

    font-size: 13px;
    font-weight: 700;
}


/* ==========================================================================
   DELIVERY PROCESS
========================================================================== */

.km-delivery-process {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.km-delivery-step {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-radius: 12px;

    box-shadow:
        0 6px 20px rgba(15, 76, 129, 0.05);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.km-delivery-step:hover {
    transform: translateY(-3px);

    border-color: #f4a300;

    box-shadow:
        0 12px 28px rgba(15, 76, 129, 0.09);
}

.km-delivery-step-number {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.km-delivery-step h3 {
    margin: 2px 0 8px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 18px;
}

.km-delivery-step p {
    margin: 0;

    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================================
   INFORMATION CARD
========================================================================== */

.km-delivery-info-card {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 24px;

    margin-top: 64px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-top: 4px solid #f4a300;

    border-radius: 14px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, 0.06);
}

.km-delivery-info-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f4c81;

    border-radius: 12px;

    color: #f4a300;

    font-size: 20px;
}

.km-delivery-info-card h2 {
    font-size: 25px;
}

.km-delivery-info-card p {
    margin: 0 0 12px;

    color: #666666;

    font-size: 15px;
    line-height: 1.75;
}

.km-delivery-info-card p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   IMPORTANT NOTICE
========================================================================== */

.km-delivery-notice {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 22px;

    margin-top: 24px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(244, 163, 0, 0.08),
            rgba(244, 163, 0, 0.03)
        );

    border: 1px solid rgba(244, 163, 0, 0.30);
    border-left: 4px solid #f4a300;

    border-radius: 14px;
}

.km-delivery-notice-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 18px;
}

.km-delivery-notice h2 {
    margin: 0 0 16px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 23px;
}

.km-delivery-notice ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.km-delivery-notice li {
    position: relative;

    padding: 8px 0 8px 25px;

    color: #555555;

    font-size: 14px;
    line-height: 1.65;
}

.km-delivery-notice li::before {
    content: "\f00c";

    position: absolute;
    left: 0;
    top: 9px;

    color: #f4a300;

    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}


/* ==========================================================================
   ACCESS SECTION
========================================================================== */

.km-delivery-access {
    margin-top: 64px;
}

.km-access-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.km-access-item {
    display: flex;
    align-items: flex-start;

    gap: 16px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e1e7ee;
    border-radius: 12px;

    box-shadow:
        0 6px 20px rgba(15, 76, 129, 0.05);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.km-access-item:hover {
    transform: translateY(-3px);

    border-color: #f4a300;

    box-shadow:
        0 12px 28px rgba(15, 76, 129, 0.09);
}

.km-access-item > i {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0f4c81;

    border-radius: 10px;

    color: #f4a300;

    font-size: 16px;
}

.km-access-item h3 {
    margin: 0 0 7px;

    color: #0f4c81;

    font-family: "Poppins", sans-serif;
    font-size: 17px;
}

.km-access-item p {
    margin: 0;

    color: #666666;

    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================================
   CTA
========================================================================== */

.km-delivery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 64px;

    padding: 40px;

    background:
        linear-gradient(
            135deg,
            #0f4c81 0%,
            #123f68 100%
        );

    border-radius: 16px;

    box-shadow:
        0 14px 34px rgba(15, 76, 129, 0.14);
}

.km-delivery-cta .km-section-label {
    color: #f4a300;
}

.km-delivery-cta h2 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 27px;
}

.km-delivery-cta p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;
    line-height: 1.7;
}

.km-delivery-cta-actions {
    display: flex;
    flex-shrink: 0;

    align-items: center;

    gap: 12px;
}


/* ==========================================================================
   CTA BUTTONS
========================================================================== */

.km-delivery-cta .km-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    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-delivery-cta .km-btn:hover {
    transform: translateY(-2px);
}

.km-delivery-cta .km-btn-primary {
    background: #f4a300;

    border: 1px solid #f4a300;

    color: #ffffff;
}

.km-delivery-cta .km-btn-primary:hover {
    background: #d99100;

    box-shadow:
        0 8px 18px rgba(244, 163, 0, 0.28);
}

.km-delivery-cta .km-btn-secondary {
    background: #ffffff;

    border: 1px solid #ffffff;

    color: #0f4c81;
}

.km-delivery-cta .km-btn-secondary:hover {
    background: #f5f7fa;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.12);
}


/* ==========================================================================
   TABLET
========================================================================== */

@media (max-width: 1024px) {

    .km-delivery-page .km-page-hero {
        padding: 60px 0;
    }

    .km-delivery-page .km-page-content {
        padding: 50px 0 65px;
    }

    .km-delivery-grid,
    .km-area-grid,
    .km-access-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .km-delivery-process {
        grid-template-columns: 1fr;
    }

    .km-delivery-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .km-delivery-cta-actions {
        width: 100%;
    }

}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 767px) {

    .km-delivery-page .km-page-hero {
        padding: 48px 0 44px;
    }

    .km-delivery-page .km-page-hero h1 {
        font-size: 34px;
    }

    .km-delivery-page .km-page-hero p {
        font-size: 15px;
    }

    .km-delivery-page .km-page-content {
        padding: 40px 0 55px;
    }

    .km-delivery-intro {
        margin-bottom: 30px;
    }

    .km-delivery-intro h2 {
        font-size: 25px;
    }

    .km-delivery-intro p,
    .km-delivery-section-heading p {
        font-size: 14px;
    }

    .km-delivery-grid,
    .km-area-grid,
    .km-access-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .km-delivery-grid {
        margin-bottom: 48px;
    }

    .km-delivery-section,
    .km-delivery-access {
        margin-top: 48px;
    }

    .km-delivery-card,
    .km-area-card {
        padding: 24px;
    }

    .km-delivery-process {
        gap: 16px;
    }

    .km-delivery-step {
        padding: 22px;

        gap: 14px;
    }

    .km-delivery-info-card,
    .km-delivery-notice {
        grid-template-columns: 1fr;

        gap: 18px;

        padding: 24px;
    }

    .km-delivery-info-card {
        margin-top: 48px;
    }

    .km-delivery-info-card h2 {
        font-size: 22px;
    }

    .km-delivery-notice h2 {
        font-size: 21px;
    }

    .km-delivery-cta {
        margin-top: 48px;

        padding: 30px 24px;
    }

    .km-delivery-cta h2 {
        font-size: 23px;
    }

    .km-delivery-cta-actions {
        flex-direction: column;

        align-items: stretch;

        width: 100%;
    }

    .km-delivery-cta .km-btn {
        width: 100%;
    }

}