/* =========================================================
   TK B2B SOLUTIONS v1.0
   ========================================================= */

.tk-b2b {
    position: relative;

    padding: 56px 0;

    background: #f7f8f5;
}


/* =========================================================
   WIDE CONTENT AREA
   Đồng bộ với Categories / Products
   ========================================================= */

.tk-b2b > .tk-container {
    width: calc(100% - 80px);
    max-width: 1560px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.tk-b2b__heading {
    max-width: 800px;

    margin: 0 auto 28px;

    text-align: center;
}

.tk-b2b__eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #9a1f20;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: .12em;
}

.tk-b2b__heading h2 {
    margin: 0;

    color: #153d34;

    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 800;

    letter-spacing: -.025em;
}

.tk-b2b__heading h2 span {
    display: block;
}

.tk-b2b__heading p {
    max-width: none;
    width: 100%;

    margin: 14px auto 0;

    color: #68746f;

    font-size: 16px;
    line-height: 1.6;

    white-space: nowrap;
}


/* =========================================================
   GRID
   ========================================================= */

.tk-b2b__grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.tk-b2b-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 220px;

    padding: 22px 22px 20px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(21, 61, 52, .08);
    border-radius: 16px;

    box-shadow:
        0 8px 28px rgba(21, 61, 52, .045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tk-b2b-card:hover {
    transform: translateY(-5px);

    border-color: rgba(154, 31, 32, .18);

    box-shadow:
        0 16px 36px rgba(21, 61, 52, .09);
}


/* =========================================================
   NUMBER
   ========================================================= */

.tk-b2b-card__number {
    color: rgba(154, 31, 32, .30);

    font-size: 13px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: .08em;
}


/* =========================================================
   CONTENT
   ========================================================= */

.tk-b2b-card__content {
    margin-top: 22px;
}

.tk-b2b-card__content h3 {
    margin: 0;

    color: #153d34;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;

    letter-spacing: -.015em;
}

.tk-b2b-card__content p {
    margin: 12px 0 0;

    color: #68746f;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   ARROW
   ========================================================= */

.tk-b2b-card__arrow {
    margin-top: auto;
    padding-top: 16px;

    color: #9a1f20;

    font-size: 22px;
    line-height: 1;
    font-weight: 700;

    transition: transform .2s ease;
}

.tk-b2b-card:hover .tk-b2b-card__arrow {
    transform: translateX(5px);
}


/* =========================================================
   ACCENT LINE
   ========================================================= */

.tk-b2b-card::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #9a1f20;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .25s ease;
}

.tk-b2b-card:hover::before {
    transform: scaleX(1);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .tk-b2b__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 991px) {

    .tk-b2b {
        padding: 40px 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .tk-b2b {
        padding: 32px 0;
    }

    .tk-b2b__heading {
        margin-bottom: 22px;
    }

    .tk-b2b__heading h2 {
        font-size: 28px;
    }

    .tk-b2b__heading p {
        font-size: 14px;
    }

    .tk-b2b__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tk-b2b-card {
        min-height: 220px;

        padding: 20px 18px 18px;
    }

}
@media (max-width: 991px) {

    .tk-b2b__heading p {
        white-space: normal;
    }

}