/*
Theme Name: RJM Energy
Theme URI: https://rjmenergy.co.uk/
Author: Beyond Lanka
Author URI: https://beyondlanka.com/
Description: Custom RJM Energy theme with 13 services, original generated imagery, responsive service carousel, native blog and a glowing call button.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: rjm-energy
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#291d4d;--green:#6150a0;--lime:#d9eafb;--light:#f6f5fa;--muted:#6c6879;--line:#e3dfee}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:#fff;font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.65}h1,h2,h3,h4{font-family:Manrope,Arial,sans-serif;line-height:1.15;letter-spacing:-.045em;margin:0 0 22px}h1{font-size:clamp(42px,5.7vw,80px);font-weight:600}h2{font-size:clamp(32px,3.5vw,49px);font-weight:600}h3{font-size:24px;font-weight:650}p{margin:0 0 23px;color:var(--muted)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c31c9c;outline-offset:5px}img{max-width:100%;display:block}button,a{ -webkit-tap-highlight-color:transparent}.wrap{width:min(1220px,calc(100% - 80px));margin:auto}.topbar{background:var(--ink);color:#eeeafa;font-size:13px;padding:9px 0}.topbar .wrap{display:flex;justify-content:space-between}.topbar a{margin-left:24px}.header{position:sticky;top:0;z-index:20;background:#fffefef7;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.nav{display:flex;align-items:center;justify-content:space-between;gap:30px;height:90px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:92px;height:auto}.brand small{font-size:12px;letter-spacing:.15em;line-height:1.25;border-left:1px solid var(--line);padding-left:12px}.navlinks{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:600}.navlinks a:hover,.navlinks a.active{color:#a62397}.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 25px;border-radius:6px;background:var(--green);color:white;font-weight:600;font-size:14px;border:1px solid transparent;cursor:pointer;transition:background .2s,transform .2s}.button:hover{background:#4e3b87;transform:translateY(-2px)}.button.lime{background:var(--lime);color:var(--ink)}.button.lime:hover{background:#c5dff5}.button.white{background:#fff;color:var(--ink)}.button.outline{background:transparent;color:var(--ink);border-color:var(--line)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.menu{display:none;border:0;background:var(--light);padding:10px 14px;border-radius:4px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;display:block;margin-bottom:20px;color:#8661ac}.hero{padding:62px 0 0;background:#f6f5fa;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1.02fr;gap:55px;align-items:center}.hero h1 em{font-style:normal;color:#6852a3}.hero p{max-width:470px;font-size:17px}.hero-image{position:relative;height:540px;border-radius:120px 12px 12px 12px;background:var(--green)}.hero-image>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.image-tag{position:absolute;bottom:24px;left:24px;right:24px;background:#ffffffed;padding:20px 24px;border-radius:7px;display:flex;gap:16px;align-items:center;backdrop-filter:blur(10px)}.image-tag strong{display:block;font-family:Manrope;font-size:19px}.image-tag small{font-size:13px;color:var(--muted)}.circle-icon{width:47px;height:47px;background:var(--lime);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:24px}.micro{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:24px}.micro span{color:#3282b5}.hero-foot{display:grid;grid-template-columns:repeat(3,1fr);margin-top:45px;border-top:1px solid #ddd9e8;padding:24px 0}.hero-foot div{padding:0 25px;border-right:1px solid #ddd9e8;display:flex;align-items:center;gap:15px}.hero-foot div:first-child{padding-left:0}.hero-foot div:last-child{border:0}.hero-foot strong{font-family:Manrope;font-size:32px;letter-spacing:-.05em}.hero-foot span{font-size:13px;color:var(--muted);max-width:130px;line-height:1.4}.section{padding:96px 0}.section.soft{background:var(--light)}.section.dark{background:var(--ink);color:#fff}.dark p{color:#d4ccdf}.dark .eyebrow{color:var(--lime)}.section-top{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:40px}.section-top h2{max-width:650px;margin-bottom:0}.section-top p{max-width:360px;margin:0}.badges{padding:34px 0;border-bottom:1px solid var(--line)}.badges .wrap{display:grid;grid-template-columns:230px 1fr;align-items:center;gap:50px}.badges h3{font-size:21px;margin-bottom:10px}.badges p{font-size:13px;margin:0}.badges img{width:100%;max-height:168px;object-fit:contain}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}.service-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;transition:transform .25s,box-shadow .25s}.service-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #291d4d10}.service-card img{height:220px;width:100%;object-fit:cover}.card-body{padding:29px}.card-body p{font-size:15px}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid #bc57b0;padding-bottom:4px}.category-label{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#8b409b;font-weight:700;margin-bottom:12px;display:block}.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.about-picture{position:relative;padding-bottom:30px}.about-picture img{width:100%;height:450px;object-fit:cover;border-radius:10px}.stat-box{position:absolute;bottom:0;right:-25px;background:var(--lime);border-radius:7px;padding:25px 35px;max-width:225px}.stat-box strong{font:600 45px Manrope;display:block;letter-spacing:-.04em}.stat-box span{font-size:14px}.checklist{padding:0;list-style:none;margin:26px 0}.checklist li{margin:13px 0;display:flex;gap:12px}.checklist li:before{content:'✓';color:#388bc1;font-weight:700}.benefit{padding:28px;border:1px solid #635676;border-radius:8px}.benefit .num{color:var(--lime);font-size:13px;display:block;margin-bottom:30px}.benefit h3{font-size:23px}.benefit p{font-size:15px;margin-bottom:0}.process{counter-reset:step}.step{border-top:1px solid var(--line);padding-top:22px}.step b{font-size:12px;color:#9360ae}.step h3{font-size:21px;margin-top:20px}.step p{font-size:14px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.grant{background:var(--lime);padding:52px 60px;border-radius:12px;display:grid;grid-template-columns:1.4fr 1fr;gap:60px;align-items:center}.grant p{color:#565075;margin-bottom:0}.grant .eyebrow{color:#75538d}.review{border:1px solid var(--line);padding:32px;border-radius:9px;background:#fff;display:flex;flex-direction:column}.stars{color:#ba219e;font-size:19px;letter-spacing:3px;margin-bottom:18px}.review blockquote{margin:0 0 28px;font-size:17px;line-height:1.65;flex-grow:1}.review .author{border-top:1px solid var(--line);padding-top:20px;font-size:14px;font-weight:700}.review small{font-size:12px;font-weight:400;color:var(--muted);display:block}.blog-card{padding:30px;background:var(--light);border-radius:8px;border:1px solid var(--line)}.blog-card .blog-number{font:600 45px Manrope;color:#8e80af;margin-bottom:26px}.blog-card h3{font-size:23px}.blog-card p{font-size:14px}.cta{background:var(--green);color:#fff;padding:65px 0}.cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{max-width:700px;margin-bottom:13px}.cta p{color:#e0d8ec;margin-bottom:0}.footer{background:#201634;color:#fff;padding:65px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.4fr;gap:45px}.footer h3{font-size:18px;letter-spacing:0}.footer p,.footer a{color:#cdc4dc;font-size:14px}.footer a{display:block;margin:8px 0}.footer a:hover{color:var(--lime)}.footer .brandname{font:800 32px Manrope;letter-spacing:-.05em;color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:45px;padding-top:24px;border-top:1px solid #514261;font-size:12px;color:#b7a9c8}.subhero{background:var(--light);padding:62px 0 68px}.breadcrumbs{font-size:13px;color:#80758c;margin-bottom:34px}.subhero h1{font-size:clamp(38px,4.8vw,65px);max-width:850px}.subhero p{font-size:18px;max-width:740px;margin-bottom:0}.service-detail{display:grid;grid-template-columns:1.65fr 1fr;gap:65px;align-items:start}.service-detail h2{font-size:35px}.service-detail h3{font-size:23px;margin-top:32px}.sidebar{background:var(--light);padding:32px;border-radius:9px;position:sticky;top:115px}.sidebar h3{margin-top:0}.sidebar p{font-size:15px}.sidebar .button{width:100%;margin-bottom:12px}.detail-image{width:100%;height:330px;object-fit:cover;border-radius:9px;margin-bottom:35px}.faq{margin-top:35px}details{border-bottom:1px solid var(--line);padding:20px 0}summary{font-weight:600;cursor:pointer;padding-right:20px}details p{margin:15px 0 0;font-size:15px}.service-index{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.small-card{padding:28px;background:var(--light);border:1px solid var(--line);border-radius:8px}.small-card h3{font-size:22px}.small-card p{font-size:14px}.filter-bar{display:flex;gap:10px;margin-bottom:35px;flex-wrap:wrap}.filter-bar button{border:1px solid var(--line);border-radius:24px;background:white;padding:10px 22px;cursor:pointer;font-size:14px;color:var(--ink)}.filter-bar button[aria-pressed=true]{background:var(--ink);color:#fff}.contact-form{padding:40px;border:1px solid var(--line);border-radius:12px;background:#fff}.field{margin-bottom:19px}.field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid #d8cfe5;border-radius:5px;background:#fcfbfe;color:var(--ink)}.field textarea{min-height:120px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.note{font-size:13px!important}.contact-item{border-bottom:1px solid var(--line);padding:22px 0}.contact-item strong{display:block;font-size:13px;color:var(--muted);margin-bottom:7px}.contact-item a{font-size:22px}.article{max-width:800px}.article h2{font-size:32px;margin-top:40px}.article p{font-size:17px}.backtop{position:fixed;right:20px;bottom:20px;background:var(--lime);color:var(--ink);border:1px solid var(--green);border-radius:50%;height:44px;width:44px;cursor:pointer;display:none;z-index:15}.backtop.visible{display:block}.skip{position:absolute;left:-10000px}.skip:focus{left:10px;top:10px;z-index:100;background:white;padding:15px}[hidden]{display:none!important}
@media(min-width:1600px){.hero-image{height:590px}}@media(max-width:1000px){.wrap{width:calc(100% - 44px)}.navlinks{gap:16px;font-size:13px}.brand small{display:none}.hero-grid{gap:30px}.hero-image{height:480px}.hero h1{font-size:56px}.split{gap:45px}.footer-grid{gap:25px}.service-index{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.topbar .wrap>span{display:none}.topbar .wrap{justify-content:center}.topbar a{margin:0 10px}.nav{height:75px}.menu{display:block}.navlinks{display:none;position:absolute;top:75px;left:0;right:0;background:white;padding:25px;flex-direction:column;align-items:stretch;box-shadow:0 12px 15px #291d4d12}.navlinks.open{display:flex}.hero{padding-top:38px}.hero-grid,.split,.service-detail,.grant,.grid2{grid-template-columns:1fr}.hero h1{font-size:49px}.hero-image{height:390px;border-top-left-radius:80px}.hero-foot{margin-top:30px}.hero-foot div{display:block;padding:0 14px}.hero-foot strong{font-size:27px;display:block}.hero-foot span{font-size:11px}.section{padding:60px 0}.section-top{display:block}.section-top p{margin-top:22px}.section-top .button{margin-top:24px}.grid3,.grid4{grid-template-columns:1fr}.grid4{gap:25px}.badges .wrap{grid-template-columns:1fr;gap:15px;text-align:center}.badges img{max-height:none}.badges h3{margin-bottom:5px}.service-card img{height:230px}.split{gap:36px}.stat-box{right:10px}.about-picture img{height:350px}.grant{padding:35px;gap:25px}.cta .wrap{display:block}.cta .button{margin-top:25px}.footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-bottom{display:block}.service-index{grid-template-columns:1fr}.sidebar{position:static}.subhero{padding:35px 0 45px}.subhero h1{font-size:42px}.contact-form{padding:25px}.form-row{grid-template-columns:1fr;gap:0}.image-tag{left:15px;right:15px;bottom:15px;padding:15px}.brand img{width:85px}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.all-services{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.all-services a{font-size:13px;padding:8px 14px;border-radius:25px;background:var(--light);border:1px solid var(--line)}.all-services a:hover{background:var(--lime)}

/* RJM purple, blue and magenta brand accents */
.hero h1 em{background:linear-gradient(110deg,#b526a3 5%,#7460b1 52%,#318fc6 98%);background-clip:text;-webkit-background-clip:text;color:transparent}.button{background:linear-gradient(110deg,#7150a3,#547fbe)}.button:hover{background:linear-gradient(110deg,#8d3a9d,#3c84ba)}.button.lime{background:#fff;color:#493473}.dark .eyebrow{color:#a9d9fa}.cta-photo{background:linear-gradient(90deg,rgba(34,20,60,.94) 0%,rgba(72,38,94,.86) 47%,rgba(32,64,102,.6) 100%),url('assets/generated/cta.webp') center 52%/cover no-repeat;padding:100px 0}.cta-photo h2{max-width:760px;font-size:clamp(34px,4vw,55px)}.cta-photo p{color:#f0eafa;max-width:650px}.cta-photo .eyebrow{color:#b8e0ff!important}.cta-photo .wrap{align-items:center}.cta-photo .button{white-space:nowrap}.coverage-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center}.coverage-panel{background:white;padding:38px;border:1px solid var(--line);border-top:4px solid #6995cf;border-radius:10px}.coverage-services{display:grid;gap:0;margin:20px 0}.coverage-services a{padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;font-weight:600;color:#6150a0}.coverage-services a:hover{color:#b526a3}.coverage-panel p:last-child{margin:0}.blog-card{background:white;padding:0 0 28px;overflow:hidden}.blog-card>.category-label,.blog-card>h3,.blog-card>p{margin-left:26px;margin-right:26px}.blog-card>.text-link{margin-left:26px}.blog-image{display:block;margin-bottom:25px;overflow:hidden}.blog-image img{width:100%;height:215px;object-fit:cover;transition:transform .3s}.blog-card:hover .blog-image img{transform:scale(1.035)}.blog-card h3{font-size:24px}.blog-card p{min-height:68px}.grant{background:linear-gradient(115deg,#eee5f8,#e4f0fc)}.stat-box{background:#e4e5f7}.circle-icon{color:#347fb4}.navlinks a:hover,.navlinks a.active{color:#b526a3}.article a{color:#7150a3}.all-services a:hover{background:#eee1f5}
@media(max-width:760px){.coverage-grid{grid-template-columns:1fr;gap:30px}.coverage-panel{padding:26px}.cta-photo{padding:65px 0;background-position:65% center}.blog-image img{height:220px}.blog-card p{min-height:0}}

/* Complete service showcase and mobile swipe carousel */
.services-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;outline-offset:5px}.services-track .service-card{display:flex;flex-direction:column;min-width:0}.services-track .card-body{display:flex;flex-direction:column;flex:1}.services-track .card-body p{flex:1}.services-track .text-link{align-self:flex-start}.services-track .service-card img{aspect-ratio:3/2;height:auto;object-fit:cover}.services-track h3{font-size:25px}.swipe-hint,.carousel-controls{display:none}.service-index-card{overflow:hidden}.service-index-card>img{width:calc(100% + 56px);max-width:none;margin:-28px -28px 24px;height:200px;object-fit:cover}.article-cover{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin-bottom:32px}.hero-image{height:600px}.hero-image>img{object-position:center 48%}.floating-call{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));right:22px;z-index:25;display:flex;align-items:center;gap:13px;min-height:64px;padding:13px 24px 13px 18px;background:linear-gradient(125deg,#b9219b,#7053ab 52%,#2874b0);border:1px solid #e6d8ff80;border-radius:40px;color:white;box-shadow:0 5px 24px #7150a065;overflow:hidden;isolation:isolate;animation:call-glow 3.5s ease-in-out infinite}.floating-call svg{width:26px;height:26px;flex-shrink:0}.floating-call span{font-size:15px;font-weight:700;line-height:1.3}.floating-call small{display:block;font-size:12px;font-weight:500;opacity:.92;margin-top:3px}.floating-call:after{content:"";position:absolute;inset:-50% auto -50% -60%;width:35%;background:linear-gradient(90deg,transparent,#ffffff70,transparent);transform:rotate(24deg);animation:call-shine 6s ease-in-out infinite;pointer-events:none}.floating-call:hover{filter:brightness(1.1)}.backtop{bottom:108px;right:26px;background:#fff;border-color:#d8cfe5;color:#6150a0}.footer{padding-bottom:100px}@keyframes call-glow{0%,100%{box-shadow:0 5px 24px #7150a065,0 0 0 0 #a742bc20}50%{box-shadow:0 7px 32px #8f3ea190,0 0 0 9px #8f3ea109}}@keyframes call-shine{0%,60%{left:-60%}85%,100%{left:140%}}
@media(max-width:1000px) and (min-width:761px){.services-track{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-image{height:550px}}
@media(max-width:760px){.hero-image{height:440px}.services-showcase{margin:0 -22px}.services-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:22px;padding:5px 22px 22px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9b77bb #f0ebf5;-webkit-overflow-scrolling:touch}.services-track .service-card{flex:0 0 86%;scroll-snap-align:start;scroll-snap-stop:always}.services-track .service-card:hover{transform:none}.services-track .card-body{padding:24px}.services-track h3{font-size:24px}.swipe-hint{display:block;margin:0 22px 16px;font-size:13px;color:var(--muted)}.carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 22px 0}.carousel-controls button{background:white;color:#6150a0;border:1px solid #d8cfe5;border-radius:6px;min-height:44px;padding:8px 18px;font-size:14px;cursor:pointer}.carousel-controls button:disabled{opacity:.4;cursor:default}.service-position{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.floating-call{right:16px;bottom:max(16px,env(safe-area-inset-bottom));min-height:58px;padding:11px 18px 11px 15px;gap:10px}.backtop{right:23px;bottom:92px}.cta-photo{background-position:65% center}}
@media(prefers-reduced-motion:reduce){.floating-call,.floating-call:after{animation:none}.blog-image img{transition:none}}

body.admin-bar .header{top:32px}.navlinks ul{list-style:none;padding:0;margin:0;display:contents}.navlinks li{margin:0}.entry-content .wp-block-html{margin:0}.entry-content>p:empty{display:none}.wp-generic{padding:70px 0;min-height:400px}.wp-generic img{height:auto}.rjm-alert{padding:16px 20px;border:1px solid var(--line);background:#f2edf8;border-radius:6px;margin-bottom:24px}.rjm-alert.success{background:#edf7ee}.rjm-alert.error{background:#fff1f1}.rjm-honeypot{position:absolute;left:-9999px}.pagination{display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}.pagination .page-numbers{padding:8px 15px;border:1px solid var(--line);border-radius:4px}.pagination .current{background:var(--green);color:white}.comment-list{list-style:none;padding:0}.comment-list li{padding:22px;border-bottom:1px solid var(--line)}.comment-form label{display:block}.comment-form input,.comment-form textarea{max-width:100%;padding:10px;border:1px solid var(--line)}.comment-form .submit{background:var(--green);color:white;cursor:pointer;border:0;border-radius:5px;padding:12px 20px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}@media(max-width:782px){body.admin-bar .header{top:46px}}
