/* =========================================================
   SOURCINGMART — WHY SOURCINGMART
   COMPLETELY ISOLATED SECTION
========================================================= */

section.sm-why {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 90px 0;
    box-sizing: border-box;

    background: #f6f4ef;
    color: #171717;

    position: relative;
    isolation: isolate;
}


/* =========================================================
   CONTAINER
========================================================= */

section.sm-why .sm-why-container {
    width: min(1400px, calc(100% - 50px));
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   HEADING
========================================================= */

section.sm-why .sm-why-heading {
    max-width: 780px;
    margin: 0 auto 55px;

    text-align: center;
    box-sizing: border-box;
}

section.sm-why .sm-why-eyebrow {
    display: inline-block;

    margin: 0 0 13px;

    color: #a47842;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
    line-height: 1.4;
}

section.sm-why .sm-why-heading h2 {
    margin: 0 0 17px;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;

    line-height: 1.1;
}

section.sm-why .sm-why-heading h2 span {
    color: #a47842;
}

section.sm-why .sm-why-heading p {
    max-width: 700px;

    margin: 0 auto;

    color: #6d6d6d;

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   CARD GRID
========================================================= */

section.sm-why .sm-why-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

section.sm-why .sm-why-card {
    position: relative;

    min-height: 300px;

    padding: 30px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3dfd7;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

section.sm-why .sm-why-card:hover {
    transform: translateY(-5px);

    border-color: #d2c2aa;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .09);
}


/* =========================================================
   CARD TOP
========================================================= */

section.sm-why .sm-why-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}


/* =========================================================
   NUMBER
========================================================= */

section.sm-why .sm-why-number {
    color: #b7b0a5;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    letter-spacing: 1px;
}


/* =========================================================
   SMALL ICON
========================================================= */

section.sm-why .sm-why-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #d8cbb9;

    border-radius: 50%;

    background: #faf8f4;

    color: #a47842;

    font-size: 17px;

    line-height: 1;
}

section.sm-why .sm-why-icon span {
    display: block;

    font-size: 17px;

    line-height: 1;
}


/* =========================================================
   CARD TITLE
========================================================= */

section.sm-why .sm-why-card h3 {
    margin: 0 0 13px;

    color: #191919;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    font-weight: 400;

    line-height: 1.25;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

section.sm-why .sm-why-card p {
    margin: 0;

    color: #727272;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   SUBTLE CARD GOLD LINE
========================================================= */

section.sm-why .sm-why-card::after {
    content: "";

    position: absolute;

    left: 30px;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #a47842;

    transition: width .35s ease;
}

section.sm-why .sm-why-card:hover::after {
    width: 55px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

section.sm-why .sm-why-trust {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    margin-top: 45px;

    border-top: 1px solid #ddd7ce;
    border-bottom: 1px solid #ddd7ce;

    background: rgba(255,255,255,.35);
}


/* =========================================================
   TRUST ITEM
========================================================= */

section.sm-why .sm-why-trust-item {
    padding: 24px 20px;

    text-align: center;

    border-right: 1px solid #ddd7ce;

    box-sizing: border-box;
}

section.sm-why .sm-why-trust-item:last-child {
    border-right: 0;
}

section.sm-why .sm-why-trust-item strong {
    display: block;

    margin-bottom: 5px;

    color: #191919;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;
}

section.sm-why .sm-why-trust-item span {
    display: block;

    color: #888;

    font-size: 11px;

    letter-spacing: .4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    section.sm-why {
        padding: 70px 0;
    }

    section.sm-why .sm-why-container {
        width: calc(100% - 40px);
    }

    section.sm-why .sm-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    section.sm-why {
        padding: 60px 0;
    }

    section.sm-why .sm-why-container {
        width: calc(100% - 30px);
    }

    section.sm-why .sm-why-heading {
        margin-bottom: 40px;
    }

    section.sm-why .sm-why-heading h2 {
        font-size: 36px;
    }

    section.sm-why .sm-why-heading p {
        font-size: 14px;
    }

    section.sm-why .sm-why-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    section.sm-why .sm-why-card {
        min-height: auto;

        padding: 27px;
    }

    section.sm-why .sm-why-card-top {
        margin-bottom: 24px;
    }

    section.sm-why .sm-why-card h3 {
        font-size: 21px;
    }

    section.sm-why .sm-why-trust {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        margin-top: 30px;
    }

    section.sm-why .sm-why-trust-item:nth-child(2) {
        border-right: 0;
    }

    section.sm-why .sm-why-trust-item:nth-child(3),
    section.sm-why .sm-why-trust-item:nth-child(4) {
        border-top: 1px solid #ddd7ce;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    section.sm-why .sm-why-heading h2 {
        font-size: 32px;
    }

    section.sm-why .sm-why-card {
        padding: 24px;
    }

    section.sm-why .sm-why-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    section.sm-why .sm-why-trust {
        grid-template-columns: 1fr;
    }

    section.sm-why .sm-why-trust-item {
        border-right: 0 !important;
        border-top: 1px solid #ddd7ce;
    }

    section.sm-why .sm-why-trust-item:first-child {
        border-top: 0;
    }

}