/**
 * HCT Client01 — Why Choose Us V2
 * --------------------------------------------------------------------------
 * Design goals:
 * - Match the supplied Bé Ơi desktop composition.
 * - Keep five compact benefit columns inside the left content area.
 * - Render each red icon as a transparent image inside a CSS white circle.
 * - Keep the child artwork visually merged with the section background.
 * - Preserve readable spacing at tablet and mobile breakpoints.
 */

/* ========================================================================== 
   SECTION
   ========================================================================== */

.hctclient01-why-choose-us {
    padding: 72px 0;
    background: var(--hctclient01-color-primary-soft);
}

.hctclient01-why-choose-us__panel {
    display: grid;
    grid-template-columns: minmax(0, 72%) minmax(280px, 28%);
    align-items: stretch;
    overflow: hidden;
    background: var(--hctclient01-color-primary-soft);
}

/* ========================================================================== 
   LEFT CONTENT
   ========================================================================== */

.hctclient01-why-choose-us__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 42px 14px 42px 22px;
}

.hctclient01-why-choose-us .hctclient01-section-heading {
    margin: 0 0 44px;
}

.hctclient01-why-choose-us .hctclient01-section-heading__title-row {
    justify-content: center;
}

.hctclient01-why-choose-us {
    /* ~2/3 --hctclient01-text-section-title (clamp(1.75rem,1.55rem+0.85vw,2.25rem)) — chỉ áp dụng riêng box này. */
    --hctclient01-text-section-title-half: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
}

.hctclient01-why-choose-us .hctclient01-section-heading__title {
    color: var(--hctclient01-color-primary);
    font-size: var(--hctclient01-text-section-title-half);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hctclient01-why-choose-us .hctclient01-section-heading__ornament {
    width: 31px;
    height: 27px;
}

/* ========================================================================== 
   BENEFIT ITEMS
   ========================================================================== */

.hctclient01-why-choose-us__items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
}

.hctclient01-why-choose-us__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 5px;
    text-align: center;
}

.hctclient01-why-choose-us__item:not(:last-child)::after {
    position: absolute;
    top: 22px;
    right: 0;
    bottom: 4px;
    width: 1px;
    background: #f2b8b8;
    content: '';
}

/* ========================================================================== 
   BENEFIT ICON
   ========================================================================== */

.hctclient01-why-choose-us__icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 0 16px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(186, 43, 39, 0.08);
}

.hctclient01-why-choose-us__icon-image {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* ==========================================================================
   BENEFIT TYPOGRAPHY
   ========================================================================== */

.hctclient01-why-choose-us__item-title {
    margin: 0 0 7px;
    color: #111111;
    font-size: var(--hctclient01-text-card-title);
    font-weight: 800;
    line-height: 1.3;
}

.hctclient01-why-choose-us__item-description {
    margin: 0;
    color: #252525;
    font-size: var(--hctclient01-text-body);
    font-weight: 500;
    line-height: 1.48;
}

/* ========================================================================== 
   RIGHT ARTWORK
   ========================================================================== */

.hctclient01-why-choose-us__artwork {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--hctclient01-color-primary-soft);
}

/*
 * Wrapper co khít theo đúng ảnh thật (không kéo giãn hết chiều cao cột như
 * <figure> cha) — để trái tim doodle định vị theo % đúng vị trí ảnh thay vì
 * lệch lên vùng trống phía trên do object-fit:contain để lại.
 */
.hctclient01-why-choose-us__artwork-media {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    line-height: 0;
}

.hctclient01-why-choose-us__artwork-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.hctclient01-why-choose-us__artwork-heart {
    position: absolute;
    top: 4%;
    right:0;
    width: 56px;
    height: 56px;
    z-index: 1;
}

/* ========================================================================== 
   INTERACTION
   ========================================================================== */

.hctclient01-why-choose-us__item,
.hctclient01-why-choose-us__icon-circle {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.hctclient01-why-choose-us__item:hover {
    transform: translateY(-3px);
}

.hctclient01-why-choose-us__item:hover .hctclient01-why-choose-us__icon-circle {
    box-shadow: 0 12px 28px rgba(186, 43, 39, 0.14);
}

/* ========================================================================== 
   RESPONSIVE — DESKTOP
   ========================================================================== */

@media (max-width: 1399px) {
    .hctclient01-why-choose-us__panel {
        grid-template-columns: minmax(0, 70%) minmax(280px, 30%);
    }

    .hctclient01-why-choose-us__content {
        padding-left: 14px;
    }

    .hctclient01-why-choose-us__item {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hctclient01-why-choose-us__icon-circle {
        width: 74px;
        height: 74px;
    }

    .hctclient01-why-choose-us__icon-image {
        width: 50px;
        height: 50px;
    }
}

/* ========================================================================== 
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1099px) {
    .hctclient01-why-choose-us__panel {
        grid-template-columns: 1fr;
    }

    .hctclient01-why-choose-us__content {
        padding: 46px 26px 34px;
    }

    .hctclient01-why-choose-us__items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 34px;
    }

    .hctclient01-why-choose-us__item:nth-child(3)::after,
    .hctclient01-why-choose-us__item:last-child::after {
        display: none;
    }

    .hctclient01-why-choose-us__artwork {
        max-height: 360px;
    }

    .hctclient01-why-choose-us__artwork-image {
        width: min(100%, 640px);
    }
}

/* ========================================================================== 
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 699px) {
    .hctclient01-why-choose-us {
        padding: 48px 0;
    }

    .hctclient01-why-choose-us__content {
        padding: 36px 18px 28px;
    }

    .hctclient01-why-choose-us .hctclient01-section-heading {
        margin-bottom: 28px;
    }

    .hctclient01-why-choose-us__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .hctclient01-why-choose-us__item {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hctclient01-why-choose-us__item:nth-child(3)::after {
        display: block;
    }

    .hctclient01-why-choose-us__item:nth-child(even)::after,
    .hctclient01-why-choose-us__item:last-child::after {
        display: none;
    }

    .hctclient01-why-choose-us__icon-circle {
        width: 70px;
        height: 70px;
    }

    .hctclient01-why-choose-us__icon-image {
        width: 48px;
        height: 48px;
    }

    .hctclient01-why-choose-us__artwork {
        max-height: 300px;
    }
}

@media (max-width: 459px) {
    .hctclient01-why-choose-us__items {
        grid-template-columns: 1fr;
    }

    .hctclient01-why-choose-us__item::after {
        display: none !important;
    }

    .hctclient01-why-choose-us__item:not(:last-child) {
        padding-bottom: 24px;
        border-bottom: 1px solid #f2b8b8;
    }
}

/* ========================================================================== 
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hctclient01-why-choose-us__item,
    .hctclient01-why-choose-us__icon-circle {
        transition: none;
    }

    .hctclient01-why-choose-us__item:hover {
        transform: none;
    }
}