/* Homepage company profile, adapted from the supplied layout using Hongxin's own content. */
.hongxin-minimal .hongxin-home-original-product-supply {
    display: none !important;
}

/* The homepage solutions section follows the hidden product-supply block. Keep it image-led. */
.hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group {
    border: 0 !important;
    background: #0b1e3d !important;
    box-shadow: 0 14px 34px rgba(11, 30, 61, 0.13) !important;
}

.hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group > .relative {
    height: clamp(280px, 23vw, 410px) !important;
}

.hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group > .p-5 {
    display: none !important;
}

.hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group img {
    object-fit: cover !important;
}

.hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group > .relative > div:last-child {
    right: 24px;
    bottom: 24px;
}

@media (max-width: 767px) {
    .hongxin-minimal .hongxin-home-original-product-supply + section > div > .grid > .group > .relative {
        height: clamp(260px, 78vw, 340px) !important;
    }
}

.hongxin-minimal .hongxin-home-company-profile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(76px, 7vw, 132px) 0;
    background:
        linear-gradient(128deg, rgba(11, 30, 61, 0.025) 0 19%, transparent 19% 43%, rgba(11, 30, 61, 0.018) 43% 60%, transparent 60%),
        #ffffff;
    border-bottom: 1px solid #e1e8f0;
}

.hongxin-minimal .hongxin-home-company-profile::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 69%, rgba(0, 197, 220, 0.025) 69% 82%, transparent 82%);
    pointer-events: none;
}

.hongxin-home-company-profile__inner {
    width: min(1720px, calc(100% - 96px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(330px, 0.95fr) minmax(480px, 1.35fr) minmax(170px, 0.42fr);
    gap: clamp(42px, 4vw, 82px);
    align-items: center;
}

.hongxin-home-company-profile__content {
    min-width: 0;
}

.hongxin-home-company-profile__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    margin-bottom: 54px;
    padding: 0 20px;
    background: #0b1e3d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hongxin-home-company-profile__badge-mark {
    color: #00c5dc;
    font-size: 18px;
    line-height: 1;
}

.hongxin-home-company-profile__title {
    margin: 0 0 16px;
    color: #0b1e3d;
    font-family: "Rajdhani", "DM Sans", Arial, sans-serif;
    font-size: clamp(44px, 4vw, 68px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

.hongxin-home-company-profile__company {
    margin: 0 0 46px;
    color: #1e3150;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: clamp(20px, 1.7vw, 28px);
    font-weight: 500;
    line-height: 1.35;
}

.hongxin-home-company-profile__copy {
    margin: 0 0 18px;
    color: #56677e;
    font-size: 15px;
    line-height: 1.9;
}

.hongxin-home-company-profile__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 180px;
    min-height: 56px;
    margin-top: 24px;
    padding: 0 24px;
    border: 1px solid #c4d2e0;
    color: #0b1e3d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.hongxin-home-company-profile__link:hover {
    border-color: #0b1e3d;
    background: #0b1e3d;
    color: #ffffff;
}

.hongxin-home-company-profile__visual {
    position: relative;
    min-width: 0;
    background: #e9eef5;
    box-shadow: 0 20px 52px rgba(11, 30, 61, 0.12);
}

.hongxin-home-company-profile__visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1.34 / 1;
    object-fit: cover;
}

.hongxin-home-company-profile__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(11, 30, 61, 0.08);
    pointer-events: none;
}

.hongxin-home-company-profile__stats {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
}

.hongxin-home-company-profile__stat {
    display: flex;
    min-height: 148px;
    padding: 25px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #d7e0e9;
}

.hongxin-home-company-profile__stat:first-child {
    border-top: 1px solid #d7e0e9;
}

.hongxin-home-company-profile__stat-value {
    color: #0b1e3d;
    font-family: "Rajdhani", "DM Sans", Arial, sans-serif;
    font-size: clamp(38px, 3.2vw, 58px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hongxin-home-company-profile__stat-value span {
    color: #1a4b7a;
}

.hongxin-home-company-profile__stat-label {
    margin-top: 10px;
    color: #56677e;
    font-size: 13px;
    line-height: 1.45;
}

/* Refinements from the homepage UI review: stronger separation and designed data cards. */
.hongxin-home-company-profile__inner {
    gap: clamp(48px, 4.4vw, 76px);
}

.hongxin-home-company-profile__stats {
    gap: 14px;
}

.hongxin-home-company-profile__stat,
.hongxin-home-company-profile__stat:first-child {
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e8f1;
    background: linear-gradient(145deg, #f8fafc, #f0f5fa);
}

.hongxin-home-company-profile__stat::before {
    position: absolute;
    top: -36px;
    right: -32px;
    width: 98px;
    height: 98px;
    content: '';
    border: 1px solid rgba(0, 197, 220, 0.12);
    border-radius: 50%;
}

.hongxin-home-company-profile__stat::after {
    width: 34px;
    height: 2px;
    margin-top: 12px;
    content: '';
    background: #00c5dc;
}

.hongxin-minimal .hongxin-home-industry-solutions {
    padding-top: clamp(88px, 6.4vw, 112px) !important;
    padding-bottom: clamp(88px, 6.4vw, 112px) !important;
}

#hongxin-home-company-profile,
#hongxin-home-industry-solutions {
    padding-top: clamp(88px, 6.4vw, 112px) !important;
    padding-bottom: clamp(88px, 6.4vw, 112px) !important;
}

.hongxin-minimal .hongxin-home-industry-solutions > div > .grid > .group > .relative::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62%;
    content: '';
    background: linear-gradient(to top, rgba(2, 10, 24, 0.84), rgba(2, 10, 24, 0.22) 62%, transparent);
    pointer-events: none;
}

.hongxin-minimal .hongxin-home-industry-solutions > div > .grid > .group > .relative > div {
    z-index: 2;
}

@media (max-width: 1180px) {
    .hongxin-home-company-profile__inner {
        width: min(1080px, calc(100% - 64px));
        grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.2fr);
        gap: 44px;
    }

    .hongxin-home-company-profile__stats {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hongxin-home-company-profile__stat {
        min-height: 116px;
        border-top: 1px solid #d7e0e9;
        border-right: 1px solid #d7e0e9;
        border-bottom: 1px solid #d7e0e9;
    }

    .hongxin-home-company-profile__stat:last-child {
        border-right: 0;
    }
}

@media (max-width: 820px) {
    .hongxin-minimal .hongxin-home-company-profile {
        padding: 64px 0;
    }

    .hongxin-home-company-profile__inner {
        width: min(100% - 40px, 680px);
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hongxin-home-company-profile__badge {
        margin-bottom: 34px;
    }

    .hongxin-home-company-profile__company {
        margin-bottom: 30px;
    }

    .hongxin-home-company-profile__visual {
        grid-row: 2;
    }

    .hongxin-home-company-profile__stats {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .hongxin-home-company-profile__stat,
    .hongxin-home-company-profile__stat:first-child {
        min-height: 96px;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid #d7e0e9;
    }

    .hongxin-home-company-profile__stat:first-child {
        border-top: 1px solid #d7e0e9;
    }
}
