/* PROMISE theme, shared styles for the Services hub and every service pillar page.
   Ported 1:1 from the mockups. Enqueued on the Services page and any of its child pages. */

/* ===== page hero ===== */
.phero{position:relative;min-height:75vh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--green)}
.phero-bg{position:absolute;inset:0;background-position:center;background-size:cover;z-index:0}
/* When .phero-bg is a <picture> (responsive img) instead of a plain background-image
   div, this fills/crops the same way background-size:cover did. Additive only — the
   background-image rule above still drives any page still using the old div markup. */
.phero-bg img{display:block;width:100%;height:100%;object-fit:cover}
.phero-tint{position:absolute;inset:0;z-index:1;background:linear-gradient(100deg,#04240F 0%,rgba(4,36,15,.9) 34%,rgba(5,53,28,.55) 72%,rgba(5,53,28,.3) 100%)}
.phero-check{position:absolute;right:5%;bottom:14%;width:220px;height:220px;opacity:.09;z-index:1}
.phero-in{position:relative;z-index:3;max-width:820px;padding:126px 0 74px}
.crumb{font-family:'Montserrat';font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#9fd3b1;margin-bottom:18px}
.crumb span{opacity:.55;margin:0 9px}
.phero-in h1{color:#fff;font-size:52px;font-weight:800;margin-bottom:20px}
.phero-in p{font-size:20px;color:#d9e5dd;max-width:660px;margin-bottom:32px}
.phero-in .cta-row{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.phero-in .cta-row .tlink{color:#fff}

/* ===== no-photo graphic hero (service pillar & sub-pages only, matches
   Mockup_ServicePage_NoPhoto_SameLayout.html; scoped via the svc-nophoto body
   class so the Services hub, which still has its own hero photo, is untouched) ===== */
body.svc-nophoto .phero{min-height:58vh}
body.svc-nophoto .phero::before{content:"";position:absolute;inset:0;z-index:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px);background-size:100% 42px}
body.svc-nophoto .phero::after{content:"";position:absolute;top:-120px;right:-80px;width:520px;height:520px;z-index:0;background:radial-gradient(circle,rgba(62,142,90,.55),transparent 62%)}
body.svc-nophoto .phero-in{padding:100px 0 64px}
body.svc-nophoto .phero-in .accent{width:46px;height:3px;background:var(--acc);border-radius:2px;margin:14px 0 2px}
body.svc-nophoto .phero-check{right:2%;bottom:-30px;width:320px;height:320px;opacity:.07}

/* ===== full-width sections ===== */
.sec{padding:104px 0;scroll-margin-top:132px}
.sec.alt{background:var(--paper)}
.shead{max-width:760px;margin:0 auto 56px;text-align:center}
.shead .eyebrow{display:block;margin-bottom:12px}
.shead h2{font-size:40px;font-weight:800;color:var(--green);margin-bottom:16px}
.shead p{color:var(--grey);font-size:18px}

/* ===== grids and cards ===== */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px 32px;transition:.25s;border-top:3px solid transparent;height:100%}
.card:hover{border-top-color:var(--acc);box-shadow:0 22px 50px -30px rgba(5,53,28,.32);transform:translateY(-3px)}
.card h3{font-size:20px;color:var(--green);margin-bottom:10px}
.card h4{font-size:18px;color:var(--green);margin-bottom:10px}
.card p{color:var(--grey);font-size:15px}
.card .hk{color:var(--grey);font-size:15px;margin-bottom:18px}
.explore{font-family:'Montserrat';font-weight:600;font-size:14px;color:var(--green);display:inline-flex;gap:7px;align-items:center;margin-top:6px}
.explore svg{width:15px;height:15px;flex-shrink:0}

/* ===== chip row (platform/capability tags) ===== */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.chips span{font-family:'Montserrat';font-weight:600;font-size:12px;color:var(--mid);background:var(--tint);padding:6px 12px;border-radius:20px}

/* ===== closing cta ===== */
.ctaband{background:var(--green);color:#fff;text-align:center;position:relative;overflow:hidden;padding:104px 0}
.ctaband .wm{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:360px;height:360px;opacity:.07}
.ctaband .in{position:relative;z-index:2}
.ctaband h2{color:#fff;font-size:38px;max-width:780px;margin:0 auto 14px}
.ctaband p{color:#c9dccf;font-size:18px;margin-bottom:30px}

@media(max-width:960px){
	.phero-in h1{font-size:36px}
	.phero-in{padding:110px 0 60px}
	.shead h2{font-size:29px}
	.grid3,.grid4{grid-template-columns:1fr}
	.phero-check{display:none}
	body.svc-nophoto .phero{min-height:auto}
}
