/* ==========================================================================
   SECTION: CORE VALUES / GIÁ TRỊ CỐT LÕI - BEM STANDARD
   Sử dụng toàn bộ Design Tokens từ global.css
   ========================================================================== */

.sec-core-values {
    width: 100% !important;
    background-color: #EDF3F7;
    padding-top: var(--section-gap, 30px) !important;
    padding-bottom: var(--section-gap, 30px) !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.sec-core-values__container {
    width: 100%;
    max-width: var(--container-max-w, 1200px);
    margin: 0 auto;
    padding-left: var(--container-pad-x, 15px);
    padding-right: var(--container-pad-x, 15px);
    box-sizing: border-box;
}

/* KHỐI TIÊU ĐỀ SECTION */
.sec-core-values__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto calc(var(--section-gap, 30px) * 1.5) auto;
}

.sec-core-values__subtitle {
    display: block;
    font-family: var(--font-lexend), sans-serif;
    font-size: var(--fs-caption, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark, #000000);
    margin-bottom: var(--space-heading-bottom, 8px);
}

.sec-core-values__title {
    font-family: var(--ff-h2-m, var(--font-lexend)), sans-serif;
    font-size: var(--fs-h2-m, 32px);
    font-weight: var(--fw-h2-m, 600);
    line-height: var(--lh-h2-m, 1.25);
    color: var(--text-title, #000000);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* LƯỚI 4 CỘT (DESKTOP) */
.sec-core-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
}

/* TỪNG CỘT CÓ VÁCH NGĂN TINH TẾ */
.sec-core-values__item {
    box-sizing: border-box;
    padding: 0 32px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.sec-core-values__item:last-child {
    border-right: none;
}

/* NỘI DUNG CARD */
.core-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

.core-value-card__icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.core-value-card__icon {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sec-core-values__item:hover .core-value-card__icon {
    transform: translateY(-4px) scale(1.05);
}

.core-value-card__title {
    font-family: var(--font-lexend), sans-serif;
    font-size: var(--fs-h4, 20px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-title, #000000);
    margin-top: 0;
    margin-bottom: 12px;
}

.core-value-card__desc {
    color: #555555;
    font-family: var(--ff-body-s, var(--font-lexend)), sans-serif;
    font-size: var(--fs-body-s, 14px);
    font-weight: var(--fw-body-s, 300);
    line-height: 1.65;
    text-align: center;
}

.core-value-card__desc p {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.core-value-card__desc p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE TABLET & MOBILE
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .sec-core-values__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .sec-core-values__item {
        padding: 0 24px;
    }

    .sec-core-values__item:nth-child(2n) {
        border-right: none;
    }

    .sec-core-values__item:nth-child(1),
    .sec-core-values__item:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 36px;
    }
}

@media screen and (max-width: 767px) {
    .sec-core-values {
        padding-top: var(--section-gap, 30px) !important;
        padding-bottom: var(--section-gap, 30px) !important;
    }

    .sec-core-values__header {
        margin-bottom: var(--section-gap, 24px);
    }

    .sec-core-values__title {
        font-size: var(--fs-h2, 24px);
    }

    .sec-core-values__grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .sec-core-values__item {
        padding: 0 16px 28px 16px;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .sec-core-values__item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
