/* ========================================
   HM CARE - CHAM SOC & NUOI DUONG
======================================== */

.hm-care {
    --care-green: #16864A;
    --care-dark: #08613D;
    --care-text: #294438;
    --care-muted: #718078;
    --care-light: #E8F6E9;
    --care-orange: #FF8A24;

    position: relative;
    overflow: hidden;
    padding: 85px 24px;
    background: #FFF9E9;
    color: var(--care-text);
    font-family: 'Be Vietnam Pro', sans-serif;
}

.hm-care *,
.hm-care *::before,
.hm-care *::after {
    box-sizing: border-box;
}

.hm-care-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* HEADER */

.hm-care-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.hm-care-eyebrow {
    display: inline-block;
    padding: 9px 17px;
    border: 1px solid #D5EAD6;
    border-radius: 50px;
    background: #E8F6E9;
    color: var(--care-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.hm-care-header h2 {
    margin: 22px 0 15px;
    color: var(--care-dark);
    font-family: 'Nunito', sans-serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase!important;
}

.hm-care-header h2 span {
    display: block;
    color: var(--care-green);
}

.hm-care-header > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--care-muted);
    font-size: 14px;
    line-height: 1.9;
}


/* MAIN GRID */

.hm-care-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 65px;
}


/* IMAGE */

.hm-care-visual {
    position: relative;
    min-width: 0;
    padding: 15px 20px 30px 0;
}

.hm-care-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    height: 520px;
    border: 7px solid #FFFFFF;
    border-radius: 28px;
    background: #E8F6E9;
    box-shadow: 0 20px 55px rgba(29, 79, 45, 0.12);
}

.hm-care-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hm-care-image:hover > img {
    transform: scale(1.04);
}

.hm-care-image-badge {
    position: absolute;
    right: 15px;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.hm-care-badge-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: #E8F6E9;
    font-size: 23px;
}

.hm-care-image-badge strong,
.hm-care-image-badge div > span {
    display: block;
}

.hm-care-image-badge strong {
    margin-bottom: 4px;
    color: var(--care-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 900;
}

.hm-care-image-badge div > span {
    color: var(--care-muted);
    font-size: 11px;
    line-height: 1.6;
}

.hm-care-deco {
    position: absolute;
    border-radius: 50%;
}

.hm-care-deco-one {
    top: 0;
    right: 0;
    width: 105px;
    height: 105px;
    background: #FFD84D;
    opacity: 0.65;
}

.hm-care-deco-two {
    bottom: 5px;
    left: -20px;
    width: 85px;
    height: 85px;
    background: #BDE8C6;
}


/* CARE ITEMS */

.hm-care-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hm-care-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 23px;
    border: 1px solid #EAEFE5;
    border-radius: 21px;
    background: #FFFFFF;
    box-shadow: 0 6px 22px rgba(29, 79, 45, 0.035);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.hm-care-item:hover {
    transform: translateY(-4px);
    border-color: #C8E7C8;
    box-shadow: 0 14px 35px rgba(29, 79, 45, 0.08);
}

.hm-care-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    border-radius: 17px;
}

.hm-care-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hm-care-icon-green {
    background: #E4F6E5;
    color: #16864A;
}

.hm-care-icon-orange {
    background: #FFF0DF;
    color: #E77B20;
}

.hm-care-icon-blue {
    background: #E5F4FF;
    color: #2588C9;
}

.hm-care-item-content {
    min-width: 0;
}

.hm-care-number {
    display: block;
    margin-bottom: 8px;
    color: var(--care-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.hm-care-item h3 {
    margin: 0 0 9px;
    color: var(--care-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.45;
}

.hm-care-item p {
    margin: 0;
    color: var(--care-muted);
    font-size: 12px;
    line-height: 1.9;
}


/* BOTTOM CTA */

.hm-care-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 65px;
    padding: 28px 32px;
    border: 1px solid #DDEDD9;
    border-radius: 23px;
    background: #E8F6E9;
}

.hm-care-bottom-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 17px;
    background: #FFFFFF;
    font-size: 27px;
}

.hm-care-bottom-text {
    flex: 1;
    min-width: 0;
}

.hm-care-bottom-text h3 {
    margin: 0 0 7px;
    color: var(--care-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase!important;
}

.hm-care-bottom-text p {
    margin: 0;
    color: var(--care-muted);
    font-size: 12px;
    line-height: 1.8;
}

.hm-care-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 22px;
    border-radius: 12px;
    background: var(--care-orange);
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hm-care-button:hover {
    transform: translateY(-2px);
    background: #E87516;
}

.hm-care-button span {
    font-size: 20px;
}


/* RESPONSIVE */

@media (max-width: 1024px) {
    .hm-care {
        padding: 65px 22px;
    }

    .hm-care-grid {
        gap: 35px;
    }

    .hm-care-image {
        height: 450px;
    }

    .hm-care-item {
        gap: 14px;
        padding: 21px 17px;
    }

    .hm-care-item h3 {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .hm-care {
        padding: 48px 16px;
    }

    .hm-care-header {
        margin-bottom: 35px;
    }

    .hm-care-header h2 {
        font-size: 26px;
    }

    .hm-care-header > p {
        font-size: 12px;
    }

    .hm-care-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hm-care-visual {
        padding: 10px 12px 20px 0;
    }

    .hm-care-image {
        height: 370px;
        border-width: 5px;
        border-radius: 22px;
    }

    .hm-care-image-badge {
        right: 10px;
        bottom: 10px;
        left: 10px;
        gap: 9px;
        padding: 12px;
    }

    .hm-care-badge-icon {
        width: 39px;
        height: 39px;
        font-size: 20px;
    }

    .hm-care-image-badge strong {
        font-size: 13px;
    }

    .hm-care-image-badge div > span {
        font-size: 10px;
    }

    .hm-care-list {
        gap: 12px;
    }

    .hm-care-item {
        gap: 13px;
        padding: 19px 15px;
        border-radius: 17px;
    }

    .hm-care-icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .hm-care-icon svg {
        width: 23px;
        height: 23px;
    }

    .hm-care-item h3 {
        font-size: 16px;
    }

    .hm-care-item p {
        font-size: 11px;
    }

    .hm-care-bottom {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        margin-top: 35px;
        padding: 22px 17px;
        border-radius: 18px;
    }

    .hm-care-bottom-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
        font-size: 23px;
    }

    .hm-care-bottom-text h3 {
        font-size: 17px;
    }

    .hm-care-bottom-text p {
        font-size: 11px;
    }

    .hm-care-button {
        width: 100%;
        padding: 14px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-care *,
    .hm-care *::before,
    .hm-care *::after {
        transition: none !important;
    }
}