/* Shared layout for the industry sector pages (agriculture, food & beverage, manufacturing, retail).
   Load after style.css and accessibility.css, before the page's own stylesheet, which keeps each
   sector's unique sections and imagery. Buttons are the site-wide .primary/.secondary from style.css;
   colours come from the shared tokens so dark and light themes both follow them. */

.sector-hero{
    position:relative;
    width:100%;
    max-width:1660px;
    min-height:740px;
    margin:auto;
    padding:clamp(70px,8vw,120px) var(--page);
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    align-items:center;
    gap:clamp(48px,7vw,105px);
}

.sector-hero h1{
    max-width:760px;
    margin-top:26px;
    font-size:clamp(52px,6vw,88px);
    line-height:.98;
}

.sector-hero h1 span{
    color:var(--blue);
}

.sector-lead{
    max-width:690px;
    margin-top:28px;
    color:var(--muted);
    font-size:clamp(17px,1.45vw,21px);
    line-height:1.7;
    font-weight:600;
}

.sector-actions{
    margin-top:36px;
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.sector-cta{
    max-width:calc(1660px - (var(--page) * 2));
    margin:50px auto 110px;
    padding:clamp(43px,6vw,75px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:48px;
    border:1px solid var(--line-blue);
    border-radius:28px;
    background:radial-gradient(circle at 20% 0,rgba(0,140,255,.15),transparent 42%),rgba(255,255,255,.025);
}

.sector-cta>div>span{
    color:var(--blue);
    font-size:12px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.sector-cta h2{
    max-width:800px;
    margin-top:14px;
    font-size:clamp(32px,4vw,52px);
}

.sector-cta p{
    max-width:720px;
    margin-top:16px;
    color:var(--muted);
    font-size:16px;
    line-height:1.65;
    font-weight:600;
}

.sector-cta>.primary{
    flex:0 0 auto;
}

@media(max-width:1100px){
    .sector-hero{
        min-height:auto;
        grid-template-columns:1fr;
    }

    .sector-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:767px){
    .sector-hero{
        padding-top:50px;
    }

    .sector-hero h1{
        font-size:47px;
    }

    .sector-actions{
        flex-direction:column;
    }

    /* Long sector labels wrap inside full-width buttons instead of overflowing narrow screens. */
    .sector-actions>a,
    .sector-cta>.primary{
        width:100%;
        padding-inline:22px;
        white-space:normal;
        text-align:center;
    }

    .sector-cta{
        margin:0 var(--page) 70px;
        padding:34px 24px;
    }
}

@media(max-width:480px){
    .sector-hero h1{
        font-size:41px;
    }

    .sector-cta{
        margin-inline:16px;
    }
}

html[data-theme="light"] .sector-cta{
    border-color:rgba(0,116,212,.2);
    background:radial-gradient(circle at 20% 0,rgba(0,116,212,.11),transparent 42%),rgba(255,255,255,.62);
    box-shadow:0 24px 65px rgba(35,72,98,.1);
}
