/* Custom HVAC System Design & Engineering pages (/hvac-design-engineering and /dubai/hvac-design-engineering).
   Extends the shared .dxb-* / .vrf-* components in style.css. */

/* hero backgrounds */
.dxb-hero--design,
.dxb-hero--design-dxb{
    padding: 110px 0 80px;
}
.dxb-hero--design{
    background: linear-gradient(90deg, rgba(0, 20, 52, .94) 0%, rgba(0, 41, 104, .82) 55%, rgba(0, 41, 104, .5) 100%), url('../images/hvac-design/rak-hero-rooftop-chiller-plant.webp') center/cover no-repeat;
}
.dxb-hero--design-dxb{
    background: linear-gradient(90deg, rgba(0, 20, 52, .94) 0%, rgba(0, 41, 104, .82) 55%, rgba(0, 41, 104, .5) 100%), url('../images/hvac-design/dubai-hero-highrise-towers.webp') center/cover no-repeat;
}
.dxb-hero--design .dxb-hero-title,
.dxb-hero--design-dxb .dxb-hero-title{
    font-size: 42px;
    max-width: 900px;
}

/* wide banner image inside a section */
.hde-banner{
    margin: 0 0 44px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}
.hde-banner img{
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* CTA with a photographic background */
.dxb-cta--design{
    background: linear-gradient(90deg, rgba(0, 41, 104, .95) 0%, rgba(0, 59, 150, .88) 100%), url('../images/hvac-design/cta-construction-skyline.webp') center/cover no-repeat;
}
.dxb-cta--design-dxb{
    background: linear-gradient(90deg, rgba(0, 41, 104, .95) 0%, rgba(0, 59, 150, .88) 100%), url('../images/hvac-design/cta-design-drawings.webp') center/cover no-repeat;
}

/* three design phases */
.hde-phases{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hde-phase{
    display: flex;
    flex-direction: column;
}
.hde-phase-tag{
    align-self: flex-start;
    background-color: var(--primary-col);
    color: var(--white-col);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 14px;
}
.hde-phase h3{
    color: var(--primary-col);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}
.hde-output{
    color: #42526E;
    font-size: 15px;
    margin: 0 0 6px;
}
.hde-output strong{
    color: var(--secondary-col);
}
.hde-phase .dxb-checks{
    margin-top: 14px;
}
.hde-phase .dxb-checks li{
    margin-bottom: 14px;
}
.hde-phase .dxb-checks b{
    display: block;
    font-weight: 600;
}
.hde-phase .dxb-checks span{
    display: block;
    color: #42526E;
    font-size: 14px;
    line-height: 1.45;
}

/* industry photo cards — override parent .vrf-partners grid */
.hde-industries.vrf-partners{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hde-industries.vrf-partners article{
    background: var(--white-col);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    padding: 0;
}
.hde-industries.vrf-partners article:hover{
    box-shadow: 0 8px 24px rgba(0,41,104,.12);
}
.hde-industries article img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.hde-ind-body{
    padding: 16px 18px 20px;
}
.hde-industries article h3{
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--primary-col);
}
.hde-industries .hde-label{
    display: block;
    color: var(--secondary-col);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 10px 0 2px;
}
.hde-industries article p{
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #42526E;
}
.hde-industries article p + .hde-label{
    margin-top: 10px;
}

/* brand-neutral advice panel */
.hde-neutral{
    max-width: 760px;
    margin: 0 auto;
}
.hde-neutral p{
    line-height: 1.7;
    text-align: center;
}
.hde-neutral p + p{
    margin-top: 18px;
}

@media only screen and (max-width:999px){
    .hde-phases{
        grid-template-columns: 1fr;
    }
    .hde-industries.vrf-partners{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width:767px){
    .dxb-hero--design,
    .dxb-hero--design-dxb{
        padding: 70px 0 50px;
    }
    .dxb-hero--design .dxb-hero-title,
    .dxb-hero--design-dxb .dxb-hero-title{
        font-size: 28px;
    }
    .hde-banner img{
        height: 200px;
    }
    .hde-banner{
        margin-bottom: 32px;
    }
    .hde-industries.vrf-partners{
        grid-template-columns: 1fr;
    }
    .hde-industries article img{
        height: 200px;
    }
}

/* dark mode */
:where(html[data-theme="dark"]) .hde-phase h3{
    color: #DCE6F7;
}
:where(html[data-theme="dark"]) .hde-output,
:where(html[data-theme="dark"]) .hde-phase .dxb-checks span{
    color: #B8C2D3;
}
:where(html[data-theme="dark"]) .hde-output strong,
:where(html[data-theme="dark"]) .hde-industries .hde-label{
    color: #93B6EE;
}
:where(html[data-theme="dark"]) .hde-industries article{
    background: #1a2744;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
:where(html[data-theme="dark"]) .hde-industries article h3{
    color: #DCE6F7;
}
:where(html[data-theme="dark"]) .hde-industries article p{
    color: #B8C2D3;
}
:where(html[data-theme="dark"]) .hde-phase-tag{
    background-color: #1F4FA8;
}
