/* =========================================================
   HOME COMPANY HIGHLIGHTS
========================================================= */

section[data-module="home-company-highlights"] {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 58px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 50%, #ffffff 100%);
}

section[data-module="home-company-highlights"] *,
section[data-module="home-company-highlights"] *::before,
section[data-module="home-company-highlights"] *::after {
    box-sizing: border-box;
}

section[data-module="home-company-highlights"] .companyhighlights-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: min(90%, 1500px);
    margin: 0 auto;
}

/* =========================================================
   BACKGROUND DETAILS
========================================================= */

section[data-module="home-company-highlights"] .companyhighlights-glow {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

section[data-module="home-company-highlights"] .companyhighlights-glow-left {
    bottom: -230px;
    left: -170px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(69, 183, 238, 0.1) 0%, rgba(69, 183, 238, 0) 70%);
}

section[data-module="home-company-highlights"] .companyhighlights-glow-right {
    top: -240px;
    right: -170px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(17, 76, 146, 0.07) 0%, rgba(17, 76, 146, 0) 70%);
}

/* =========================================================
   HIGHLIGHT CARD
========================================================= */

section[data-module="home-company-highlights"] .companyhighlights-card {
    position: relative;
    min-width: 0;
    min-height: 168px;
    padding: 31px 70px 28px 32px;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 45px rgba(19, 46, 86, 0.055);
    animation: companyhighlightsCardIn 0.65s ease both;
    animation-delay: var(--companyhighlights-delay, 0ms);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

section[data-module="home-company-highlights"] .companyhighlights-card:hover {
    border-color: rgba(69, 183, 238, 0.65);
    box-shadow: 0 24px 55px rgba(17, 76, 146, 0.12);
    transform: translateY(-5px);
}

section[data-module="home-company-highlights"] .companyhighlights-card-accent {
    position: absolute;
    top: 31px;
    left: 0;
    width: 3px;
    height: 38px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--color-primary-light, #45b7ee), var(--color-primary-dark, #114c92));
    transition: height 0.35s ease, background-color 0.35s ease;
}

section[data-module="home-company-highlights"] .companyhighlights-card:hover .companyhighlights-card-accent {
    height: calc(100% - 62px);
}

section[data-module="home-company-highlights"] .companyhighlights-number {
    position: absolute;
    top: 21px;
    right: 25px;
    color: rgba(17, 76, 146, 0.075);
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 47px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
    transition: color 0.3s ease, transform 0.3s ease;
}

section[data-module="home-company-highlights"] .companyhighlights-card:hover .companyhighlights-number {
    color: rgba(69, 183, 238, 0.16);
    transform: translateY(-3px);
}

section[data-module="home-company-highlights"] .companyhighlights-label {
    margin: 0 0 11px;
    color: var(--color-primary-light, #45b7ee);
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

section[data-module="home-company-highlights"] .companyhighlights-card h2 {
    margin: 0 0 9px;
    color: #132139;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

section[data-module="home-company-highlights"] .companyhighlights-detail {
    color: #68758a;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: 14px;
    line-height: 1.6;
}

section[data-module="home-company-highlights"] .companyhighlights-detail p {
    margin: 0;
}

@keyframes companyhighlightsCardIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    section[data-module="home-company-highlights"] .companyhighlights-wrapper {
        width: 92%;
        gap: 16px;
    }

    section[data-module="home-company-highlights"] .companyhighlights-card {
        padding: 28px 58px 26px 26px;
    }
}

@media (max-width: 1024px) {
    section[data-module="home-company-highlights"] {
        padding: 48px 0;
    }

    section[data-module="home-company-highlights"] .companyhighlights-card h2 {
        font-size: 17px;
    }

    section[data-module="home-company-highlights"] .companyhighlights-number {
        right: 18px;
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    section[data-module="home-company-highlights"] {
        padding: 38px 0;
    }

    section[data-module="home-company-highlights"] .companyhighlights-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        width: calc(100% - 36px);
    }

    section[data-module="home-company-highlights"] .companyhighlights-card {
        min-height: 0;
        padding: 26px 66px 24px 25px;
        border-radius: 15px;
    }

    section[data-module="home-company-highlights"] .companyhighlights-card h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    section[data-module="home-company-highlights"] .companyhighlights-label,
    section[data-module="home-company-highlights"] .companyhighlights-detail {
        font-size: 13px;
    }

    section[data-module="home-company-highlights"] .companyhighlights-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    section[data-module="home-company-highlights"] .companyhighlights-card,
    section[data-module="home-company-highlights"] .companyhighlights-card-accent,
    section[data-module="home-company-highlights"] .companyhighlights-number {
        animation: none;
        transition: none;
    }
}
