.res31{--navy:#082c46;--deep:#052237;--orange:#ff9f00;--yellow:#ffce00;--green:#16a15d;color:var(--navy);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;overflow:hidden}.res31 *{box-sizing:border-box}.res31 h1,.res31 h2,.res31 h3,.res31 p{margin-top:0}.res31 h1,.res31 h2,.res31 h3{line-height:1.15;font-weight:800;letter-spacing:-.025em}.res31 h2{font-size:clamp(30px,3.4vw,47px);margin-bottom:18px}.res31 h3{font-size:20px}.res31 p{line-height:1.7}.res31 a{text-decoration:none}.res31-container{width:min(1180px,calc(100% - 48px));margin:0 auto}.res31-eyebrow{color:var(--orange);font-size:12px;letter-spacing:.19em;font-weight:800;margin-bottom:24px!important}.res31-hero{min-height:570px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(3,31,50,.97) 0%,rgba(3,39,63,.87) 40%,rgba(4,45,65,.24) 100%),url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=2000&q=85') center 58%/cover no-repeat}.res31-hero-inner{padding:94px 0}.res31-hero h1{font-size:clamp(42px,5.3vw,72px);max-width:800px;margin-bottom:24px}.res31-hero h1 span,.res31-bess h2 span{color:var(--orange)}.res31-lead{max-width:640px;font-size:17px}.res31-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.res31-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:999px;padding:14px 25px;font-weight:800;font-size:14px;min-height:50px;transition:transform .2s,background .2s}.res31-btn:hover{transform:translateY(-2px)}.res31-btn-primary{background:linear-gradient(90deg,var(--orange),var(--yellow));color:#09263b!important}.res31-btn-outline{border:1px solid #fff;color:#fff!important}.res31-section{padding:90px 0}.res31-intro{max-width:700px;color:#526a7c;margin-bottom:36px}.res31-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.res31-service-card{border:1px solid #e2e9ed;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 10px 25px rgba(3,32,53,.07)}.res31-card-photo{height:160px;background-position:center;background-size:cover;background-color:#b4c9d2}.res31-photo-grid{background-image:url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=750&q=80')}.res31-photo-solar{background-image:url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=750&q=80')}.res31-photo-storage{background-image:url('https://images.unsplash.com/photo-1581092335878-2d9ff86ca2bf?auto=format&fit=crop&w=750&q=80')}.res31-photo-management{background-image:url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=750&q=80')}.res31-card-content{padding:23px 20px 25px}.res31-card-number{display:block;color:#e88d00;font-size:10px;letter-spacing:.12em;font-weight:800;margin-bottom:10px}.res31-service-card h3{margin-bottom:12px;font-size:19px}.res31-service-card p{font-size:14px;color:#506678;margin:0}.res31-service-featured{border:2px solid #f5a800;position:relative}.res31-service-featured:before{content:'FEATURED';position:absolute;right:12px;top:12px;background:#ffb100;color:#09263b;font-size:10px;letter-spacing:.08em;font-weight:800;padding:5px 10px;border-radius:20px}.res31-service-featured a{display:inline-block;margin-top:14px;font-size:13px;color:#006c55;font-weight:800}.res31-bess{padding:90px 0 56px;background:radial-gradient(circle at 90% 10%,#0c675e 0%,transparent 48%),linear-gradient(110deg,#06283f,#083b48);color:#fff}.res31-bess-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.res31-bess h2{font-size:clamp(35px,4vw,54px);margin:20px 0}.res31-bess p{color:#e0eef0}.res31-highlight-tag{display:inline-block;background:rgba(255,171,0,.14);border:1px solid #ffb100;color:#ffc13d;font-size:12px;font-weight:800;letter-spacing:.14em;padding:7px 13px;border-radius:6px}.res31-bess-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px}.res31-bess-benefits>div{background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.2);border-radius:13px;padding:23px}.res31-benefit-icon{font-size:28px;color:#ffbc22}.res31-bess-benefits h3{font-size:18px;margin:12px 0}.res31-bess-benefits p{font-size:13px;margin:0}.res31-bess-applications{margin-top:48px;border-top:1px solid rgba(255,255,255,.23);padding-top:23px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}.res31-bess-applications strong{margin-right:10px;color:#ffc033}.res31-bess-applications span{padding:7px 13px;border:1px solid rgba(255,255,255,.27);border-radius:30px}.res31-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:38px}.res31-steps article{border-top:2px solid #d9e3e7;padding-top:20px;position:relative}.res31-steps article:not(:last-child):after{content:'→';position:absolute;right:0;top:-20px;color:#e99b00;font-size:24px}.res31-step-symbol{font-size:23px;color:#0c8869;display:block}.res31-step-number{display:block;color:#f59b00;font-weight:800;font-size:24px;margin:12px 0 2px}.res31-steps h3{margin:0 0 12px}.res31-steps p{color:#526b7d;font-size:14px}.res31-cta{background:#082c46;color:#fff;padding:60px 0}.res31-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.res31-cta h2{font-size:clamp(28px,3vw,40px);margin-bottom:10px}.res31-cta p:not(.res31-eyebrow){margin:0;color:#d4e5ed}.res31-cta-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.res31-text-link{color:#fff!important;font-weight:700;font-size:14px}.res31 a:focus-visible{outline:3px solid #ffce00;outline-offset:4px}@media(max-width:1000px){.res31-card-grid{grid-template-columns:repeat(2,1fr)}.res31-bess-layout{gap:32px}}@media(max-width:700px){.res31-container{width:min(100% - 32px,1180px)}.res31-hero{min-height:520px;background-position:60% center}.res31-hero-inner{padding:68px 0}.res31-hero h1{font-size:clamp(38px,10vw,54px)}.res31-lead{font-size:15px}.res31-section{padding:64px 0}.res31-card-grid,.res31-bess-layout,.res31-steps{grid-template-columns:1fr}.res31-card-photo{height:200px}.res31-bess{padding:68px 0 42px}.res31-bess-benefits{grid-template-columns:1fr 1fr;gap:10px}.res31-bess-benefits>div{padding:17px}.res31-bess-benefits h3{font-size:16px}.res31-steps article:not(:last-child):after{display:none}.res31-cta-inner{display:block}.res31-cta-links{justify-content:flex-start;margin-top:25px}}@media(max-width:410px){.res31-bess-benefits{grid-template-columns:1fr}.res31-actions .res31-btn{width:100%}.res31-card-photo{height:175px}}

/* V3.2 contrast, CTA and responsive refinements */
.res31 .res31-hero h1,.res31 .res31-bess h2,.res31 .res31-bess-benefits h3,.res31 .res31-cta h2{color:#fff!important}
.res31 .res31-hero h1 span,.res31 .res31-bess h2 span{color:#ffab08!important}
.res31 .res31-bess-benefits h3{color:#fff!important}
.res31 .res31-bess-benefits p,.res31 .res31-bess p{color:#eaf5f5!important}
.res31 .res31-btn,.res31 .res31-btn:hover,.res31 .res31-btn:focus,.res31 .res31-text-link,.res31 .res31-service-featured a{text-decoration:none!important}
.res31 .res31-cta h2{color:#fff!important}
.res31 .res31-hero{min-height:510px}
.res31 .res31-hero-inner{padding:78px 0}
.res31 .res31-service-featured{box-shadow:0 16px 35px rgba(2,38,57,.15)}
.res31 .res31-photo-storage{position:relative;overflow:hidden;background:linear-gradient(150deg,#d9e9ee,#8baeb8 54%,#345a65);display:flex;align-items:center;justify-content:center}
.res31 .res31-bess-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:linear-gradient(165deg,transparent 60%,rgba(3,39,56,.22) 61%)}
.res31 .res31-bess-unit{position:relative;display:block;width:66%;height:62%;background:linear-gradient(90deg,#e5ebee,#fff 18%,#c3d0d6 92%,#8fa3ae);border:3px solid #7b939e;border-radius:5px;box-shadow:12px 13px 0 rgba(10,45,62,.25),0 14px 30px rgba(0,0,0,.2);transform:skewY(-3deg)}
.res31 .res31-bess-unit-label{position:absolute;top:13%;left:9%;font-size:clamp(10px,1.1vw,14px);letter-spacing:.09em;font-weight:900;color:#092e45}
.res31 .res31-bess-unit-grid{position:absolute;left:9%;right:9%;bottom:15%;height:37%;background:repeating-linear-gradient(90deg,#7e9ba6 0 2px,transparent 2px 22px),repeating-linear-gradient(0deg,#7e9ba6 0 2px,transparent 2px 16px);border:1px solid #8aa0aa;opacity:.65}
.res31 .res31-bess-bolt{position:absolute;right:10%;top:17%;background:#ffad05;color:#082c46;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:28px;font-weight:bold}
@media(max-width:700px){.res31 .res31-hero{min-height:460px}.res31 .res31-hero-inner{padding:62px 0}.res31 .res31-cta{padding:52px 0}}

/* Version 3.3: full-viewport hero, preserving the Version 3.2 visual treatment.
   Only the hero breaks out of the Astra/Elementor content width. */
.res31{overflow:visible;}
.res31 .res31-hero{width:100vw;width:100dvw;max-width:none;position:relative;left:50%;margin-left:-50vw;margin-left:-50dvw;min-height:560px;background-position:center 58%;}
.res31 .res31-hero-inner{width:min(1180px,calc(100% - 48px));margin-inline:auto;padding:92px 0;}
@media(max-width:700px){.res31 .res31-hero{min-height:490px;background-position:60% center}.res31 .res31-hero-inner{width:calc(100% - 32px);padding:66px 0}}

/* Version 3.4: full-width BESS blue section and refreshed, bundled solar-farm hero. */
.res31 .res31-hero{
 background-image:linear-gradient(90deg,rgba(3,30,49,.96) 0%,rgba(4,37,57,.88) 33%,rgba(4,42,59,.48) 65%,rgba(4,42,59,.12) 100%),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-hero-v34.webp');
 background-position:center center;
 background-size:cover;
}
.res31 .res31-bess{
 width:100vw;width:100dvw;max-width:none;
 position:relative;left:50%;margin-left:-50vw;margin-left:-50dvw;
 background:radial-gradient(circle at 90% 10%,#0c675e 0%,transparent 48%),linear-gradient(110deg,#06283f,#083b48);
}
.res31 .res31-bess > .res31-container{width:min(1180px,calc(100% - 48px));margin-inline:auto;}
@media(max-width:700px){
 .res31 .res31-hero{background-position:57% center;}
 .res31 .res31-bess > .res31-container{width:calc(100% - 32px);}
}

/* Version 3.5: new Mobile BESS + solar background, reduced gap under header. */
.res31 .res31-hero{background-image:linear-gradient(90deg,rgba(3,30,49,.97) 0%,rgba(3,35,55,.93) 31%,rgba(3,36,54,.63) 53%,rgba(3,35,50,.05) 100%),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-mobile-bess-hero-v35.webp');background-position:center center;background-size:cover;}
/* Remove Astra content padding before the hero only on this Services page. */
body:has(.res31) .site-content > .ast-container,body:has(.res31) .site-content > .ast-container > .content-area{padding-top:0!important;margin-top:0!important;}
body:has(.res31) .entry-content,body:has(.res31) .entry-content > .wp-block-group:first-child{margin-top:0!important;}
body:has(.res31) .site-main > article,body:has(.res31) .site-main > .page{padding-top:0!important;}
body:has(.res31) .res31{margin-top:0!important;}
@media(max-width:700px){.res31 .res31-hero{background-position:64% center;}}

/* Version 3.6: feathered photo (no baked-in vertical seam) and flush header-to-hero spacing. */
.res31 .res31-hero{background-image:linear-gradient(90deg,rgba(3,30,49,.97) 0%,rgba(3,35,55,.93) 30%,rgba(3,36,54,.67) 52%,rgba(3,35,50,.06) 100%),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-mobile-bess-hero-v36.webp');margin-top:-30px!important;}
body:has(.res31) .site-content,body:has(.res31) .site-content > .ast-container,body:has(.res31) .site-main,body:has(.res31) .entry-content{padding-top:0!important;}
@media(max-width:700px){.res31 .res31-hero{margin-top:-20px!important;background-position:64% center;}}

/* Version 3.7: consistent outlined process icons, tighter section rhythm, full-bleed closing CTA. */
.res31 .res31-process{padding-bottom:52px!important;}
.res31 .res31-steps{margin-top:32px;}
.res31 .res31-step-symbol{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#eaf7f2;color:#087a62;margin:4px 0 12px;}
.res31 .res31-step-icon{display:block;width:25px;height:25px;flex:none;}
.res31 .res31-step-number{margin-top:5px;}
.res31 .res31-cta{width:100vw;width:100dvw;max-width:none;position:relative;left:50%;margin-left:-50vw;margin-left:-50dvw;background:#082c46;}
.res31 .res31-cta > .res31-container{width:min(1180px,calc(100% - 48px));margin-inline:auto;}
@media(max-width:700px){.res31 .res31-process{padding-bottom:36px!important;}.res31 .res31-steps{margin-top:25px;}.res31 .res31-cta > .res31-container{width:calc(100% - 32px);}}

/* Version 3.8 premium visual upgrade */
.res31 .res31-hero{min-height:620px!important;margin-top:0!important;background-image:linear-gradient(92deg,rgba(2,29,49,.97),rgba(2,33,54,.89) 31%,rgba(4,39,59,.42) 68%,rgba(4,35,53,.12)),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-mobile-bess-hero-v36.webp')!important}
.res31 .res31-hero-inner{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:112px 0 105px!important}
.res31 .res38-hero-copy{max-width:760px}.res31 .res31-hero h1{font-size:clamp(48px,5.6vw,80px);line-height:1.06;text-shadow:0 4px 22px rgba(0,0,0,.15)}
.res31 .res38-hero-aside{width:205px;flex-shrink:0;padding:18px;border-left:3px solid #00aa85;background:linear-gradient(90deg,rgba(1,33,51,.72),transparent);color:#fff}
.res31 .res38-hero-aside strong{display:block;font-size:14px;line-height:1.45;letter-spacing:.055em}.res31 .res38-hero-aside span{display:block;font-size:12px;line-height:1.5;color:#bde4e1;margin-top:10px}
.res31 .res31-services{background:linear-gradient(180deg,#fff,#f5fafb);padding-top:95px}.res31 .res31-card-grid{gap:22px}
.res31 .res31-service-card{border:1px solid #e5ebee;border-radius:19px;box-shadow:0 15px 36px rgba(3,38,58,.1);transition:transform .25s,box-shadow .25s}
.res31 .res31-service-card:hover{transform:translateY(-7px);box-shadow:0 24px 44px rgba(3,38,58,.17)}
.res31 .res31-card-photo{height:195px}.res31 .res31-card-content{padding:27px 23px 30px}.res31 .res31-service-card h3{font-size:20px;min-height:48px}
.res31 .res31-service-featured{border:2px solid #ffb000;box-shadow:0 18px 44px rgba(255,165,0,.15)}
.res31 .res31-bess{background:radial-gradient(circle at 85% 20%,rgba(10,135,114,.32),transparent 43%),linear-gradient(115deg,#041d32,#073d4b)!important;padding:98px 0 55px}
.res31 .res31-bess-layout{grid-template-columns:1fr 1.05fr;gap:62px}.res31 .res38-bess-right{min-width:0}
.res31 .res38-bess-visual{height:240px;border-radius:18px;margin-bottom:16px;background:url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-mobile-bess-hero-v36.webp') center 65%/cover;box-shadow:0 20px 44px rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.18)}
.res31 .res31-bess-benefits{gap:12px}.res31 .res31-bess-benefits>div{background:rgba(255,255,255,.095);border-color:rgba(255,255,255,.15)}
.res31 .res31-process{background:linear-gradient(120deg,#eff9f6,#fff 65%);padding:94px 0 95px!important}.res31 .res38-process-intro{max-width:620px;color:#516b78;margin-bottom:35px}
.res31 .res31-steps{gap:16px;margin-top:20px}.res31 .res31-steps article{background:#fff;border:1px solid #e1e9e9;border-top:4px solid #0b9278;border-radius:17px;padding:25px 23px;box-shadow:0 12px 28px rgba(4,44,61,.07)}
.res31 .res31-steps article:nth-child(even){border-top-color:#ffb000}.res31 .res31-steps article:not(:last-child):after{content:'→';right:-17px;top:42%;z-index:2;background:#ffb000;color:#062e43;border-radius:50%;width:27px;height:27px;font-size:20px;display:grid;place-items:center;line-height:1}
.res31 .res31-step-symbol{width:58px;height:58px;border-radius:50%;margin-bottom:15px}.res31 .res31-step-icon{width:30px;height:30px}
.res31 .res31-cta{background:linear-gradient(95deg,rgba(3,35,57,.97),rgba(5,48,72,.9)),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/solar-mobile-bess-hero-v36.webp') center 60%/cover!important;padding:90px 0!important}.res31 .res31-cta h2{font-size:clamp(32px,3.6vw,50px)}
@media(max-width:1050px){.res31 .res38-hero-aside{display:none}.res31 .res31-bess-layout{gap:30px}.res31 .res31-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.res31 .res31-hero{min-height:550px!important}.res31 .res31-hero-inner{padding:85px 0 75px!important}.res31 .res31-hero h1{font-size:clamp(40px,10vw,55px)}.res31 .res31-services{padding-top:70px}.res31 .res31-card-grid,.res31 .res31-bess-layout,.res31 .res31-steps{grid-template-columns:1fr}.res31 .res31-card-photo{height:205px}.res31 .res31-service-card h3{min-height:0}.res31 .res31-bess{padding:70px 0 42px}.res31 .res38-bess-visual{height:200px}.res31 .res31-process{padding:65px 0!important}.res31 .res31-steps article:not(:last-child):after{display:none}.res31 .res31-cta{padding:66px 0!important}}
@media(prefers-reduced-motion:reduce){.res31 .res31-service-card{transition:none!important}}

/* Version 3.9: approved Mobile BESS container hero photo. No page content or shortcode changes. */
.res31 .res31-hero{
 background-image:linear-gradient(90deg,rgba(2,28,47,.98) 0%,rgba(2,32,52,.94) 28%,rgba(2,34,54,.77) 47%,rgba(3,36,55,.28) 73%,rgba(3,36,55,.08) 100%),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/mobile-bess-hero-v39.webp')!important;
 background-position:center 52%!important;
 background-size:cover!important;
 background-repeat:no-repeat!important;
}
.res31 .res38-bess-visual{
 background-image:linear-gradient(90deg,rgba(3,31,48,.08),rgba(3,31,48,.04)),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/mobile-bess-hero-v39.webp')!important;
 background-position:center 52%!important;
 background-size:cover!important;
}
@media(max-width:700px){.res31 .res31-hero{background-position:62% center!important;background-image:linear-gradient(90deg,rgba(2,28,47,.98),rgba(2,28,47,.84) 65%,rgba(2,28,47,.58)),url('https://realrenewablesphil.com/wp-content/plugins/real-energy-services-v3-1/assets/mobile-bess-hero-v39.webp')!important}}

/* Version 3.10: compact Astra header logo on Services page only. */
body.re-services-header-compact .site-header .custom-logo-link,
body.re-services-header-compact .site-header .site-logo-img,
body.re-services-header-compact .site-header .ast-site-identity {max-width:160px!important;}
body.re-services-header-compact .site-header img.custom-logo,
body.re-services-header-compact .site-header .custom-logo-link img,
body.re-services-header-compact .site-header .site-logo-img img,
body.re-services-header-compact .site-header .site-branding img {
 width:auto!important;max-width:150px!important;max-height:95px!important;height:auto!important;object-fit:contain!important;
}
body.re-services-header-compact .site-header .ast-primary-header-bar .site-primary-header-wrap,
body.re-services-header-compact .site-header .ast-builder-grid-row {min-height:110px!important;align-items:center!important;}
body.re-services-header-compact .site-header .site-branding,
body.re-services-header-compact .site-header .ast-site-identity {padding-top:5px!important;padding-bottom:5px!important;}
@media(max-width:921px){
 body.re-services-header-compact .site-header img.custom-logo,
 body.re-services-header-compact .site-header .custom-logo-link img,
 body.re-services-header-compact .site-header .site-logo-img img,
 body.re-services-header-compact .site-header .site-branding img {max-width:115px!important;max-height:75px!important;}
 body.re-services-header-compact .site-header .ast-primary-header-bar .site-primary-header-wrap,
 body.re-services-header-compact .site-header .ast-builder-grid-row {min-height:82px!important;}
}
