/* SDCG v52 — photographic homepage hero, training and local presence */
body.page-home .home-art{position:relative!important;transform:none!important;overflow:visible!important;width:100%!important;max-width:560px!important;height:390px!important;margin:0 auto!important;justify-self:center!important;align-self:center!important}
body.page-home .home-art>.hero-slide{position:absolute;inset:0;height:100%!important;width:100%!important;overflow:hidden!important;border-radius:16px!important;transform:none!important}
body.page-home .home-art>.hero-slide.hero-photo-slide{height:100%!important}
body.page-home .home-art>.hero-slide img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92)}
body.page-home .hero-slider-controls{bottom:-18px!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important;display:flex;justify-content:center;align-items:center;gap:12px;padding:11px 17px;border:1px solid rgba(255,255,255,.2);background:rgba(14,35,56,.93);border-radius:50px;box-shadow:0 10px 22px rgba(0,0,0,.23)}
body.page-home .hero-slider-controls .hero-dot{width:11px;height:11px;min-width:11px;min-height:11px;border:0;background:#8bacc0;border-radius:50%;padding:0;cursor:pointer;transition:transform .2s,background .2s}
body.page-home .hero-slider-controls .hero-dot.active{background:#00b8f7;transform:scale(1.2)}
body.page-home .hero-slider-controls .hero-dot:focus-visible{outline:2px solid white;outline-offset:4px}
body.page-home .hero-slider-controls .hero-prev,body.page-home .hero-slider-controls .hero-next{display:none!important}
body.page-home .home-art .slide-caption{left:23px;bottom:24px;right:18px}
body.page-home .home-art .slide-caption b{font-size:1.14rem}
body.page-home .home-art .slide-caption small{font-size:.78rem;line-height:1.4}
body.page-home .home-hero-split{align-items:center}
body.page-home .home-hero{overflow:hidden;padding-bottom:22px}
/* Real editorial imagery inside the ERP explainer. */
body.page-home .answer-section img[src$="about-hero-team.jpg"]{width:100%;height:100%;min-height:280px;object-fit:cover;display:block;border-radius:15px}
body.page-home .p52-home-training{background:#fff;padding:83px 0}
.p52-home-training-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:64px;align-items:center}
.p52-home-training-photo{position:relative;overflow:hidden;border-radius:15px;min-height:440px;box-shadow:0 21px 47px rgba(19,45,74,.13)}
.p52-home-training-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.p52-home-training-photo:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(0deg,rgba(13,36,61,.7),transparent)}
.p52-home-training-photo span{position:absolute;z-index:2;bottom:20px;left:23px;color:white;font-weight:800;font-size:.72rem;letter-spacing:.13em}
.p52-home-training-copy h2{font-size:clamp(2.1rem,3.4vw,3.1rem);line-height:1.17;letter-spacing:-.045em;margin:14px 0 22px;max-width:660px}
.p52-home-training-copy>p{max-width:610px;line-height:1.88;font-size:.97rem;color:#526276}
.p52-training-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0 25px}
.p52-training-choices>a{border:1px solid #d9e7ef;background:#f7fbfd;border-radius:11px;padding:20px 18px;display:flex;flex-direction:column;gap:8px;transition:transform .2s,border-color .2s}
.p52-training-choices>a:hover{transform:translateY(-2px);border-color:#89cbea}
.p52-training-choices strong{font-size:.95rem;color:#202a37}
.p52-training-choices span{font-size:.8rem;line-height:1.5;color:#007fc7;font-weight:680}
body.page-home .p52-region{padding:68px 0;background:#f5f9fb}
.p52-region-grid{display:grid;grid-template-columns:1fr .95fr;gap:56px;align-items:center}
.p52-region-grid h2{font-size:clamp(1.95rem,2.9vw,2.75rem);line-height:1.16;margin:15px 0;letter-spacing:-.035em}
.p52-region-grid p{font-size:.94rem;line-height:1.82;color:#526276;max-width:640px}
.p52-region-link{display:inline-block;margin-top:18px;color:#007fc7;font-size:.89rem;font-weight:780}
.p52-region-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.p52-region-cards>div{border-radius:11px;border:1px solid #dce8ee;border-top:3px solid #50b848;background:#fff;padding:23px 15px;display:flex;flex-direction:column;gap:9px;min-width:0}
.p52-region-cards strong{font-size:1.1rem;color:#202a37}
.p52-region-cards span{font-size:.8rem;line-height:1.45;color:#637a8c}
@media(max-width:1080px){
 body.page-home .home-art{height:345px!important;max-width:480px!important}
 .p52-home-training-grid{gap:30px}
 .p52-region-grid{gap:26px}
}
@media(max-width:820px){
 body.page-home .home-art{height:345px!important;max-width:640px!important}
 body.page-home .home-hero-split{padding-bottom:40px!important}
 .p52-home-training-grid,.p52-region-grid{grid-template-columns:1fr}
 .p52-home-training-photo{min-height:300px;max-width:700px}
 .p52-region-cards{max-width:740px}
}
@media(max-width:600px){
 body.page-home .home-art{height:246px!important;max-width:100%!important;overflow:visible!important}
 body.page-home .home-hero-split{padding-bottom:38px!important}
 body.page-home .home-art .slide-caption{left:16px;bottom:15px}
 body.page-home .home-art .slide-caption b{font-size:.94rem}
 body.page-home .home-art .slide-caption small{font-size:.68rem}
 body.page-home .hero-slider-controls{bottom:-16px!important;padding:9px 15px}
 body.page-home .p52-home-training{padding:58px 0}
 .p52-home-training-photo{min-height:220px}
 .p52-home-training-copy h2{font-size:clamp(1.95rem,7vw,2.5rem)}
 .p52-training-choices{grid-template-columns:1fr}
 .p52-region-cards{grid-template-columns:1fr 1fr}
 .p52-region-cards>div:last-child{grid-column:span 2}
 body.page-home .p52-region{padding:56px 0}
}
/* Override v16's highly-specific mobile carousel controls: keep dots outside the photograph. */
body.page-home .home-art .hero-slider-controls{bottom:-25px!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important}
@media(max-width:600px){body.page-home .home-hero-split{padding-bottom:65px!important}}
@media(max-width:600px){
 body.page-home .section-proof>.wrap:first-child{grid-template-columns:minmax(0,1fr)!important}
 body.page-home .section-proof .proof-stats{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 body.page-home .section-proof .proof-stats>div{min-width:0;padding:12px 4px;align-items:center;text-align:center}
 body.page-home .section-proof .proof-stats strong{font-size:1.75rem}
 body.page-home .section-proof .proof-stats span{overflow-wrap:anywhere;font-size:.68rem}
}
