/* HPE Industries — fused hero + icon-led industry directory */

.hpe-industries-section {
    position: relative;
    overflow: hidden;
    padding: 20px 0 88px;
    background: #f5f5f2;
    color: #111820;
}

.hpe-industries-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17,24,32,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,24,32,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.hpe-industries-shell {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100% - 68px));
    margin: 0 auto;
}

/* HERO: content and approved visual are fused into one composition. */
.hpe-industries-hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #f7f8f7;
}

.hpe-industries-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hpe-industries-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hpe-industries-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(247,248,247,1) 0%,
            rgba(247,248,247,.98) 22%,
            rgba(247,248,247,.87) 34%,
            rgba(247,248,247,.48) 47%,
            rgba(247,248,247,.08) 63%,
            rgba(247,248,247,0) 75%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(17,24,32,.02));
    pointer-events: none;
}

.hpe-industries-hero-content {
    position: relative;
    z-index: 2;
    width: 52%;
    max-width: 680px;
    padding: 88px 0 82px 52px;
    align-self: center;
}

.hpe-industries-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
    color: #a97924;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em;
    line-height: 1;
}

.hpe-industries-eyebrow span {
    width: 38px;
    height: 2px;
    display: block;
    background: #c59a45;
}

.hpe-industries-hero-content h2 {
    max-width: 590px;
    margin: 0 0 24px;
    color: #111820;
    font-size: clamp(46px, 5.2vw, 74px);
    font-weight: 760;
    line-height: .97;
    letter-spacing: -.048em;
}

.hpe-industries-hero-content p {
    max-width: 610px;
    margin: 0 0 34px;
    color: #526172;
    font-size: 17px;
    line-height: 1.62;
}

.hpe-industries-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 0 26px;
    background: #c59a45;
    border: 1px solid #c59a45;
    color: #111820 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 12px 28px rgba(17,24,32,.12);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.hpe-industries-button span {
    font-size: 20px;
    line-height: 1;
}

.hpe-industries-button:hover {
    transform: translateY(-2px);
    background: #d0aa62;
    border-color: #d0aa62;
    color: #111820 !important;
    box-shadow: 0 16px 32px rgba(17,24,32,.16);
}

/* INDUSTRY DIRECTORY */
.hpe-industries-directory {
    margin-top: 34px;
    padding: 44px;
    background: rgba(255,255,255,.84);
    border-top: 1px solid rgba(17,24,32,.08);
    border-bottom: 1px solid rgba(17,24,32,.08);
}

.hpe-industries-directory-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 26px;
}

.hpe-industries-mini-label {
    display: block;
    margin-bottom: 10px;
    color: #a97924;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .23em;
}

.hpe-industries-directory-head h3 {
    margin: 0;
    color: #111820;
    font-size: clamp(25px, 2.3vw, 34px);
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.hpe-industries-directory-head > p {
    max-width: 390px;
    margin: 0 0 2px;
    color: #687585;
    font-size: 14px;
    line-height: 1.55;
    text-align: right;
}

.hpe-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #dedfdd;
    border-left: 1px solid #dedfdd;
}

.hpe-industry-card {
    position: relative;
    min-height: 168px;
    display: flex;
    gap: 18px;
    padding: 25px 22px 22px;
    background: #fff;
    border-right: 1px solid #dedfdd;
    border-bottom: 1px solid #dedfdd;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hpe-industry-card:hover {
    z-index: 2;
    transform: translateY(-3px);
    border-color: #c59a45;
    box-shadow: 0 14px 30px rgba(17,24,32,.09);
}

.hpe-industry-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #183c69;
    background: #f7f7f4;
    border: 1px solid #e2e2de;
    border-radius: 50%;
}

.hpe-industry-icon svg {
    width: 28px;
    height: 28px;
}

.hpe-industry-card-body {
    min-width: 0;
    padding-right: 12px;
}

.hpe-industry-number {
    display: block;
    margin-bottom: 7px;
    color: #b48836;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.hpe-industry-card h4 {
    margin: 0 0 7px;
    color: #111820;
    font-size: 16px;
    font-weight: 720;
    line-height: 1.2;
}

.hpe-industry-card p {
    margin: 0;
    color: #6b7580;
    font-size: 12px;
    line-height: 1.45;
}

.hpe-industry-arrow {
    position: absolute;
    right: 18px;
    bottom: 17px;
    color: #b48836;
    font-size: 17px;
    line-height: 1;
    opacity: .8;
}

.hpe-industries-directory-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 25px;
}

.hpe-industries-directory-cta > span {
    color: #727c86;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hpe-industries-directory-cta a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 46px;
    padding: 0 21px;
    background: #111820;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 750;
    transition: transform .2s ease, background .2s ease;
}

.hpe-industries-directory-cta a span {
    color: #d0aa62;
    font-size: 18px;
}

.hpe-industries-directory-cta a:hover {
    transform: translateY(-2px);
    background: #1d2a37;
}

@media (max-width: 1150px) {
    .hpe-industries-hero {
        min-height: 560px;
    }

    .hpe-industries-hero-content {
        width: 57%;
        padding-left: 42px;
    }

    .hpe-industries-hero::after {
        background:
            linear-gradient(90deg,
                rgba(247,248,247,1) 0%,
                rgba(247,248,247,.98) 25%,
                rgba(247,248,247,.78) 42%,
                rgba(247,248,247,.18) 64%,
                rgba(247,248,247,0) 78%);
    }

    .hpe-industries-directory {
        padding: 34px;
    }

    .hpe-industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .hpe-industries-section {
        padding: 20px 0 64px;
    }

    .hpe-industries-shell {
        width: calc(100% - 30px);
    }

    .hpe-industries-hero {
        min-height: 690px;
        display: block;
    }

    .hpe-industries-hero-image {
        height: 100%;
    }

    .hpe-industries-hero-image img {
        object-position: 67% center;
    }

    .hpe-industries-hero::after {
        background:
            linear-gradient(180deg,
                rgba(247,248,247,0) 0%,
                rgba(247,248,247,.05) 25%,
                rgba(247,248,247,.60) 52%,
                rgba(247,248,247,.96) 69%,
                rgba(247,248,247,1) 82%);
    }

    .hpe-industries-hero-content {
        width: auto;
        max-width: none;
        padding: 50px 30px 46px;
    }

    .hpe-industries-hero-content h2 {
        font-size: 48px;
    }

    .hpe-industries-directory-head {
        display: block;
    }

    .hpe-industries-directory-head > p {
        max-width: 520px;
        margin-top: 12px;
        text-align: left;
    }

    .hpe-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hpe-industries-shell {
        width: calc(100% - 20px);
    }

    .hpe-industries-hero {
        min-height: 650px;
    }

    .hpe-industries-hero-image img {
        object-position: 70% center;
    }

    .hpe-industries-hero-content {
        padding: 38px 21px 40px;
    }

    .hpe-industries-hero-content h2 {
        font-size: 39px;
        margin-bottom: 18px;
    }

    .hpe-industries-hero-content p {
        font-size: 15px;
        line-height: 1.55;
    }

    .hpe-industries-directory {
        margin-top: 24px;
        padding: 25px 16px 22px;
    }

    .hpe-industries-directory-head h3 {
        font-size: 25px;
    }

    .hpe-industries-grid {
        grid-template-columns: 1fr;
    }

    .hpe-industry-card {
        min-height: 138px;
        padding: 21px 18px;
    }

    .hpe-industries-directory-cta {
        display: block;
    }

    .hpe-industries-directory-cta > span {
        display: block;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .hpe-industries-directory-cta a {
        width: 100%;
        justify-content: center;
    }
}
