*{box-sizing:border-box} :root{--g:#123D7A;--g2:#0D5FB8;--y:#FFC629;--ink:#17345F;--muted:#65776e;--line:#DFE8F5;--pale:#F2F6FC}
body{margin:0;font-family:Poppins,Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}a{color:var(--g2);text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(1200px,92%);margin:auto}
.topline{background:var(--g);color:#E2ECFA;font-size:10px;letter-spacing:.35px}.topline-in{display:flex;justify-content:space-between;padding:7px 0}
.header{background:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #E7EEF8;box-shadow:0 5px 20px #123D7A09}.header-in{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{width:230px;flex:none}.logo img{width:100%;height:76px;object-fit:contain;object-position:left center}.main-nav{display:flex;align-items:center;gap:21px}.main-nav a{font-size:12px;font-weight:600;color:#355348;white-space:nowrap}.main-nav a:hover{color:#b98a00}.header-actions{display:flex;gap:9px;white-space:nowrap}.menu-toggle{display:none;border:0;background:transparent;font-size:25px;color:var(--g)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:12px 17px;font-size:12px;font-weight:700;transition:.2s;border:1px solid transparent}.btn:hover{transform:translateY(-2px)}.btn-green{background:var(--g);color:white}.btn-yellow{background:var(--y);color:#17345F}.btn-light{border-color:#b9c9bf;color:var(--g);background:#fff}
.hero{background:#F2F6FC;position:relative;overflow:hidden;min-height:515px;display:flex;align-items:center}.hero-photo{position:absolute;right:0;top:0;width:55%;height:100%;object-fit:cover;object-position:center}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#F2F6FC 0%,#F2F6FC 40%,rgba(241,247,242,.82) 53%,rgba(241,247,242,.03) 78%)}.hero .wrap{position:relative;z-index:2}.hero-copy{max-width:620px;padding:68px 0}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#b18400;text-transform:uppercase}.hero h1{font-size:clamp(36px,4.2vw,55px);line-height:1.13;letter-spacing:-1.6px;color:var(--g);margin:15px 0}.hero p{font-size:15px;color:#50675c;max-width:555px;margin:0}.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.hero-tags{display:flex;gap:18px;flex-wrap:wrap;margin-top:32px;font-size:11px;font-weight:600;color:#355b49}.hero-tags span:before{content:"✓";color:#b98a00;margin-right:7px;font-weight:800}
.section{padding:76px 0}.section.alt{background:#F5F8FC}.section-head{max-width:740px;margin-bottom:30px}.section h2{font-size:clamp(27px,3vw,36px);line-height:1.22;color:var(--g);margin:8px 0 12px;letter-spacing:-.7px}.section-head p,.muted{color:var(--muted);font-size:13px}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:19px}.tile{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 7px 24px #123D7A09;transition:.2s}.tile:hover{transform:translateY(-4px);box-shadow:0 14px 30px #123D7A17}.tile img{width:100%;height:178px;object-fit:cover}.tile-body{padding:17px 18px 20px}.tile h3{font-size:16px;color:var(--g);margin:0 0 7px}.tile p{font-size:11px;color:var(--muted);margin:0 0 13px}.tile a{font-size:11px;font-weight:800}
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}.split-photo{width:100%;height:390px;object-fit:cover;border-radius:14px;box-shadow:0 15px 40px #123D7A18}.ticks{padding-left:19px;color:#52675c;font-size:13px}.ticks li{padding:5px 0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:28px}.step{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px}.step b{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#fff3c4;color:#705300;margin-bottom:10px;font-size:12px}.step h3{font-size:14px;color:var(--g);margin:0 0 5px}.step p{font-size:11px;color:var(--muted);margin:0}
.quote-area{background:#EEF3FA}.quote-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;align-items:center}.quote-photo{width:100%;height:210px;object-fit:cover;border-radius:12px;margin-top:20px}.form-card{background:#fff;padding:27px;border:1px solid var(--line);border-radius:13px;box-shadow:0 12px 32px #123D7A0d}.form-card h3{margin:0 0 18px;color:var(--g);font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{margin-bottom:12px}.field label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #d4dfd7;border-radius:6px;font:inherit;font-size:12px;background:white}.field textarea{min-height:90px}.consent{font-size:10px;color:#52665b;display:flex;gap:8px;align-items:flex-start}.consent input{width:auto;margin-top:3px}
.cta-band{background:var(--g);color:white;padding:40px 0}.cta-band .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-band h2{color:#fff;font-size:25px;margin:0 0 5px}.cta-band p{color:#D6E3F5;font-size:12px;margin:0}
.footer{background:#082650;color:#E6EFFB;padding:48px 0 18px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}.footer-brand img{width:225px;height:92px;object-fit:contain;object-position:left center;background:#fff;border-radius:5px;padding:3px;margin-bottom:10px}.footer h4{font-size:13px;color:#fff;margin:0 0 12px}.footer a,.footer p{display:block;color:#D1DFF2;font-size:11px;margin:6px 0}.foot-muted{color:#9eb8aa!important}.foot-bottom{border-top:1px solid #315248;margin-top:28px;padding-top:15px;font-size:10px;color:#adc3b7;display:flex;justify-content:space-between}
.flash{background:#E9F1FC;border-left:4px solid #23834c;padding:12px 15px;border-radius:5px;margin:0 0 18px;font-size:12px}.pill{display:inline-block;border-radius:30px;padding:4px 9px;background:#E9F1FC;color:#0D5FB8;font-size:10px;font-weight:700}
.page-hero{background:linear-gradient(120deg,#EAF1FB,#F8FAFD);padding:58px 0}.page-hero h1{font-size:38px;color:var(--g);margin:8px 0}.page-hero p{color:var(--muted);max-width:700px;font-size:13px}
.admin-body{background:#f3f6f4;min-height:100vh}.admin-layout{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.admin-side{background:linear-gradient(180deg,#123D7A,#092d25);color:#fff;padding:20px 15px;position:sticky;top:0;height:100vh;overflow:auto}.admin-logo{background:#fff;border-radius:8px;padding:5px;margin:0 5px 18px}.admin-logo img{width:100%;height:80px;object-fit:contain}.admin-label{font-size:9px;letter-spacing:1.5px;color:#9fbeae;text-transform:uppercase;padding:15px 10px 6px}.admin-side a{display:flex;gap:11px;align-items:center;color:#E5EFFB;padding:11px 12px;border-radius:7px;font-size:12px;margin:2px 0}.admin-side a:hover,.admin-side a.active{background:#ffffff1d;color:#fff}.admin-side a span{width:18px;color:#FFC629}.admin-main{padding:30px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.admin-top h1{font-size:24px;color:var(--g);margin:0}.admin-top p{font-size:11px;color:#7b8982;margin:3px 0}.admin-who{background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:8px;font-size:11px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat{background:#fff;border:1px solid #E5ECF5;border-radius:10px;padding:17px;box-shadow:0 5px 18px #123D7A07}.stat-label{font-size:10px;color:#718078}.stat-num{font-size:27px;color:var(--g);font-weight:800;line-height:1.4}.stat-note{font-size:9px;color:#8b9991}.admin-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.panel{background:#fff;border:1px solid #E5ECF5;border-radius:10px;padding:18px;min-width:0;box-shadow:0 5px 18px #123D7A07}.panel h2{font-size:14px;color:var(--g);margin:0 0 14px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick{border:1px solid var(--line);border-radius:8px;padding:12px;font-size:11px;font-weight:700;color:var(--g)}.quick small{display:block;font-size:9px;color:#839188;font-weight:400;margin-top:4px}.table-wrap{overflow:auto}.admin-table{border-collapse:collapse;width:100%;min-width:570px}.admin-table th,.admin-table td{padding:11px 9px;text-align:left;border-bottom:1px solid #EDF2F9;font-size:10px;vertical-align:top}.admin-table th{background:#F7F9FD;color:#78867f;text-transform:uppercase;font-size:9px;letter-spacing:.5px}.state{display:inline-block;border-radius:20px;padding:3px 8px;font-size:9px;font-weight:800;background:#e8f1ff;color:#315b8b}.state.pending{background:#fff3cb;color:#8a6500}.state.approved{background:#E4EFFB;color:#1a7042}.state.demo{background:#fce8dd;color:#99511e}
.admin-form{background:#fff;border:1px solid #E5ECF5;border-radius:10px;padding:23px;max-width:850px}.admin-form h2{margin:0 0 17px;color:var(--g);font-size:16px}.admin-form .field{margin-bottom:16px}.admin-form .field label{font-size:11px;color:#53685d}.admin-form button,.admin-table button{cursor:pointer}.auth{max-width:430px;margin:65px auto;background:#fff;border:1px solid var(--line);border-radius:13px;padding:30px;box-shadow:0 10px 30px #123D7A10}.auth h1{color:var(--g);margin-top:0}.auth .field{margin:15px 0}
@media(max-width:1100px){.main-nav{gap:11px}.main-nav a{font-size:10px}.logo{width:190px}.header-actions .btn{padding:10px 12px}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.menu-toggle{display:block;margin-left:auto}.main-nav,.header-actions{display:none}.menu-open .main-nav{display:flex;position:absolute;left:0;right:0;top:100%;background:#fff;padding:18px 4%;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line);box-shadow:0 12px 20px #0001}.menu-open .header-actions{display:flex;position:absolute;top:calc(100% + 235px);left:0;right:0;padding:12px 4%;background:#fff}.hero-photo{width:100%;opacity:.32}.hero-overlay{background:linear-gradient(90deg,#F2F6FC 0%,rgba(241,247,242,.92) 65%,rgba(241,247,242,.5))}.tiles{grid-template-columns:repeat(2,1fr)}.split,.quote-grid{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}.admin-side{height:auto;position:relative}.admin-logo{width:220px;margin-bottom:8px}.admin-side .admin-label{display:none}.admin-side a{display:inline-flex;margin:3px}.admin-columns{grid-template-columns:1fr}}
@media(max-width:560px){.topline-in span:last-child{display:none}.header-in{min-height:70px}.logo{width:180px}.hero{min-height:450px}.hero h1{font-size:36px}.hero-copy{padding:55px 0}.hero-tags{gap:10px}.section{padding:55px 0}.tiles,.form-grid,.footer-grid,.admin-stats,.quick-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}.tile img{height:190px}.foot-bottom{display:block}.foot-bottom span{display:block;margin-top:5px}.admin-main{padding:16px}.admin-top{display:block}.admin-who{display:inline-block;margin-top:10px}.page-hero h1{font-size:30px}}


/* =========================================================
   RESPONSIVE VISIBILITY PATCH – desktop, tablet and mobile
   Tuned for narrow screens and older iOS / Android devices.
   ========================================================= */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{font-size:16px;line-height:1.65;overflow-x:hidden}
img{height:auto}
.wrap{width:min(1200px,92%);width:92%;max-width:1200px}
.topline{font-size:12px}
.header-in{min-height:94px}
.logo{width:245px}
.logo img{height:82px}
.main-nav{gap:20px}
.main-nav a{font-size:13px}
.btn{font-size:14px;padding:13px 19px}
.hero{min-height:560px}
.hero-photo{width:56%;object-fit:cover}
.hero-copy{max-width:650px;padding:76px 0}
.eyebrow{font-size:13px;letter-spacing:1.5px}
.hero h1{font-size:54px;font-size:clamp(42px,4.2vw,58px);line-height:1.14}
.hero p{font-size:17px;line-height:1.75;max-width:570px}
.hero-tags{font-size:13px;gap:20px}
.section{padding:84px 0}
.section h2{font-size:38px;font-size:clamp(30px,3vw,40px)}
.section-head p,.muted{font-size:15px;line-height:1.75}
.tile img{height:205px}
.tile-body{padding:20px}
.tile h3{font-size:19px}
.tile p{font-size:14px;line-height:1.65}
.tile a{font-size:14px}
.step{padding:22px}
.step h3{font-size:16px}
.step p{font-size:13px;line-height:1.6}
.ticks{font-size:15px;line-height:1.75}
.form-card{padding:30px}
.form-card h3{font-size:23px}
.field label{font-size:13px}
.field input,.field select,.field textarea{font-size:16px;padding:13px 14px;min-height:48px}
.field textarea{min-height:110px}
.consent{font-size:12px;line-height:1.6}
.footer{font-size:14px}
.footer h4{font-size:15px}
.footer a,.footer p{font-size:13px;line-height:1.7}
.page-hero{padding:68px 0}
.page-hero h1{font-size:42px;line-height:1.2}
.page-hero p{font-size:16px;line-height:1.75}
.admin-main{padding:34px}
.admin-top h1{font-size:28px}
.admin-top p{font-size:14px}
.admin-label{font-size:11px}
.admin-side a{font-size:14px;padding:12px}
.stat-label{font-size:13px}
.stat-num{font-size:32px}
.stat-note{font-size:12px}
.panel h2{font-size:17px}
.admin-table th{font-size:11px}
.admin-table td{font-size:13px}
.quick{font-size:13px}
.quick small{font-size:11px}
.admin-form .field label{font-size:13px}
.auth{padding:34px}
.auth h1{font-size:28px}

/* Large tablets and small laptops */
@media (max-width:1100px){
 .header-in{gap:14px}
 .logo{width:205px}
 .main-nav{gap:12px}
 .main-nav a{font-size:12px}
 .header-actions .btn{font-size:12px;padding:11px 13px}
 .hero h1{font-size:46px}
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Tablets and phones */
@media (max-width:850px){
 .wrap{width:90%}
 .header-in{min-height:78px}
 .logo{width:205px}
 .logo img{height:68px}
 .menu-toggle{display:block;font-size:29px;padding:10px 4px;min-width:44px;min-height:44px}
 .main-nav,.header-actions{display:none}
 .menu-open .main-nav{
   display:flex;position:absolute;left:0;right:0;top:100%;background:#fff;
   padding:14px 5% 18px;flex-direction:column;align-items:stretch;gap:0;
   border-top:1px solid var(--line);box-shadow:0 12px 20px #0001
 }
 .menu-open .main-nav a{font-size:16px;padding:12px 4px;border-bottom:1px solid #EDF2F9}
 .menu-open .header-actions{display:none}
 .hero{min-height:0;display:flex;flex-direction:column;align-items:stretch;background:#F2F6FC}
 .hero-photo{position:relative;order:0;display:block;right:auto;top:auto;width:100%;height:270px;min-height:0;object-fit:cover;opacity:1}
 .hero-overlay{display:none}
 .hero .wrap{order:1;width:90%}
 .hero-copy{max-width:none;padding:34px 0 38px}
 .hero h1{font-size:42px;line-height:1.16;letter-spacing:-.8px;margin:12px 0}
 .hero p{font-size:16px;line-height:1.7}
 .hero-tags{font-size:12px;gap:10px 17px;margin-top:22px}
 .section{padding:62px 0}
 .section h2{font-size:32px}
 .section-head{margin-bottom:24px}
 .split,.quote-grid{grid-template-columns:1fr;gap:28px}
 .split-photo{height:300px}
 .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .tile img{height:180px}
 .tile-body{padding:16px}
 .tile h3{font-size:17px}
 .tile p{font-size:13px}
 .cta-band .wrap{align-items:flex-start;flex-direction:column}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
 .admin-layout{grid-template-columns:1fr}
 .admin-side{height:auto;position:relative;padding:12px}
 .admin-logo{width:210px;margin:0 0 10px}
 .admin-side .admin-label{display:block;padding:8px 8px 3px}
 .admin-side a{display:inline-flex;margin:2px;padding:9px 10px;font-size:12px}
 .admin-main{padding:22px}
 .admin-columns{grid-template-columns:1fr}
 .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Standard mobile */
@media (max-width:600px){
 body{font-size:16px}
 .topline{font-size:11px}
 .topline-in{padding:6px 0}
 .header-in{min-height:72px}
 .logo{width:185px}
 .logo img{height:62px}
 .hero-photo{height:230px}
 .hero-copy{padding:28px 0 34px}
 .eyebrow{font-size:11px;letter-spacing:1.1px}
 .hero h1{font-size:34px;line-height:1.2;letter-spacing:-.5px}
 .hero p{font-size:15px;line-height:1.7}
 .hero-ctas{gap:9px;margin-top:19px}
 .btn{font-size:13px;padding:12px 14px;min-height:44px}
 .hero-tags{font-size:11px;line-height:1.5}
 .section{padding:48px 0}
 .section h2{font-size:28px;line-height:1.25}
 .section-head p,.muted{font-size:14px}
 .tiles{grid-template-columns:1fr;gap:16px}
 .tile img{height:210px}
 .tile-body{padding:18px}
 .tile h3{font-size:19px}
 .tile p{font-size:14px}
 .tile a{font-size:14px}
 .split-photo{height:235px}
 .steps{grid-template-columns:1fr 1fr;gap:10px}
 .step{padding:15px}
 .step h3{font-size:14px}
 .step p{font-size:12px}
 .quote-grid{gap:20px}
 .form-card{padding:19px}
 .form-card h3{font-size:21px}
 .form-grid{grid-template-columns:1fr}
 .field{margin-bottom:10px}
 .field label{font-size:13px}
 .field input,.field select,.field textarea{font-size:16px;min-height:48px;padding:12px}
 .consent{font-size:11px}
 .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
 .footer-brand{grid-column:1/-1}
 .footer-brand img{width:205px;height:82px}
 .footer h4{font-size:14px}
 .footer a,.footer p{font-size:12px}
 .foot-bottom{font-size:10px;line-height:1.7}
 .page-hero{padding:42px 0}
 .page-hero h1{font-size:31px}
 .page-hero p{font-size:14px}
 .admin-main{padding:15px}
 .admin-top h1{font-size:23px}
 .admin-top p{font-size:12px}
 .admin-stats{gap:9px}
 .stat{padding:13px}
 .stat-label{font-size:11px}
 .stat-num{font-size:26px}
 .stat-note{font-size:10px}
 .panel{padding:13px}
 .panel h2{font-size:15px}
 .admin-table th{font-size:10px}
 .admin-table td{font-size:12px;padding:10px 8px}
 .admin-form{padding:17px}
 .auth{margin:25px auto;padding:23px;width:92%}
}

/* Narrow / older small-screen phones */
@media (max-width:380px){
 .wrap{width:92%}
 .logo{width:165px}
 .hero-photo{height:205px}
 .hero h1{font-size:30px}
 .hero p{font-size:14px}
 .hero-ctas{flex-direction:column;align-items:stretch}
 .hero-ctas .btn{width:100%}
 .hero-tags{display:grid;grid-template-columns:1fr 1fr}
 .steps{grid-template-columns:1fr}
 .footer-grid{grid-template-columns:1fr}
 .footer-brand{grid-column:auto}
 .admin-side a{font-size:11px;padding:8px}
 .admin-stats{grid-template-columns:1fr 1fr}
}

/* Avoid unsupported clamp() on older browsers: preceding fixed sizes remain as fallback. */

/* Legal page editor and public policy typography */
.legal-content{max-width:900px}
.legal-content h2{font-size:19px;color:var(--g);margin:28px 0 8px;line-height:1.35}
.legal-content p{font-size:13px;line-height:1.85;color:#5c7065;margin:0 0 17px}
.legal-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.legal-tabs a{display:inline-flex;padding:10px 16px;border:1px solid #D8E3F2;border-radius:7px;background:#fff;color:var(--g);font-size:12px;font-weight:700}
.legal-tabs a.active{background:var(--g);color:#fff;border-color:var(--g)}
.legal-editor{max-width:1000px}
.legal-textarea{min-height:420px;font-family:Arial,sans-serif;line-height:1.65;white-space:pre-wrap}
.legal-editor .field small{display:block;color:var(--muted);font-size:11px;margin-top:7px}
@media(max-width:650px){.legal-tabs a{flex:1;justify-content:center}.legal-textarea{min-height:340px}}

.seo-admin-form .field small{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.6}
.seo-help{margin-top:20px;padding:20px}.seo-help h2{margin-top:0}.seo-help li{margin:8px 0;color:#52675d;font-size:12px;line-height:1.6}

/* SolarDaam brand accent */
:root{--orange:#F05A00;--blue:#123D7A;--blue2:#0D5FB8}
.btn-orange{background:var(--orange);color:#fff}
.eyebrow{color:var(--orange)}
\n
/* SolarDaam homepage hero quick enquiry add-on */
.hero-highlight{color:#F0A900}
.hero-quick-quote{margin-top:25px;max-width:930px;background:#fff;border:1px solid #e2e9f3;border-radius:13px;padding:17px 18px 12px;box-shadow:0 12px 34px rgba(10,39,77,.13);position:relative;z-index:3}
.quick-quote-heading{font-size:10px;font-weight:800;letter-spacing:1.1px;color:#123D7A;margin:0 0 11px}
.quick-quote-fields{display:grid;grid-template-columns:1.05fr 1fr 1fr auto;gap:10px;align-items:end}
.quick-quote-fields label{display:block;min-width:0;font-size:9px;font-weight:800;letter-spacing:.45px;color:#344d6b}
.quick-quote-fields input,.quick-quote-fields select{display:block;width:100%;height:45px;margin-top:6px;padding:0 11px;border:1px solid #d7e1ef;border-radius:7px;background:#fff;color:#18365d;font:600 12px inherit;min-width:0}
.quick-quote-fields input:focus,.quick-quote-fields select:focus{outline:2px solid rgba(240,90,0,.18);border-color:#F05A00}
.quick-quote-button{height:45px;white-space:nowrap;border:0;cursor:pointer;font-weight:800;padding:0 18px}
.quick-quote-note{font-size:10px;color:#718096;margin-top:8px}
.hero-ctas{margin-top:14px}
@media(max-width:900px){
 .quick-quote-fields{grid-template-columns:1fr 1fr}
 .quick-quote-button{width:100%}
}
@media(max-width:600px){
 .hero-quick-quote{margin-top:20px;padding:15px 13px}
 .quick-quote-fields{grid-template-columns:1fr;gap:9px}
 .quick-quote-fields label{font-size:10px}
 .quick-quote-fields input,.quick-quote-fields select{height:46px;font-size:14px}
 .quick-quote-button{height:48px;font-size:13px}
 .hero-tags{margin-top:18px}
}


/* Hero visual refinement: full-width rooftop image, dark overlay and legible enquiry bar */
.hero{
  min-height:600px !important;
  display:flex !important;
  align-items:center !important;
  background:#082b59 !important;
  position:relative !important;
  overflow:hidden !important;
  padding:0 !important;
}
.hero-photo{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 54% !important;
  opacity:1 !important;
}
.hero-overlay{
  position:absolute !important;
  inset:0 !important;
  background:linear-gradient(90deg,rgba(5,31,68,.94) 0%,rgba(7,43,88,.88) 42%,rgba(8,48,91,.60) 72%,rgba(6,35,71,.42) 100%) !important;
  z-index:1 !important;
}
.hero .wrap{width:min(1180px,92%) !important;position:relative !important;z-index:2 !important}
.hero-copy{max-width:100% !important;width:100% !important;padding:54px 0 48px !important}
.hero .eyebrow{color:#ffd34d !important;font-size:11px !important;letter-spacing:1.6px !important;margin-bottom:8px !important}
.hero h1{max-width:820px !important;color:#fff !important;font-size:clamp(38px,4.4vw,58px) !important;line-height:1.12 !important;letter-spacing:-1.2px !important;margin:12px 0 15px !important}
.hero-highlight{color:#ffc928 !important}
.hero p{max-width:760px !important;color:rgba(255,255,255,.94) !important;font-size:16px !important;line-height:1.7 !important}
.hero-tags{display:flex !important;flex-wrap:wrap !important;gap:12px 26px !important;margin-top:20px !important;margin-bottom:0 !important;color:#fff !important;font-size:12px !important;font-weight:700 !important}
.hero-tags span:before{color:#ffd34d !important}
.hero-quick-quote{
  width:100% !important;max-width:1120px !important;margin:30px 0 0 !important;
  padding:17px 18px 12px !important;background:#fff !important;border:1px solid rgba(255,255,255,.75) !important;
  border-radius:15px !important;box-shadow:0 16px 42px rgba(0,0,0,.22) !important;
}
.quick-quote-heading{font-size:10px !important;letter-spacing:1.1px !important;color:#173e70 !important;margin-bottom:12px !important}
.quick-quote-fields{display:grid !important;grid-template-columns:1.08fr 1fr 1fr auto !important;gap:12px !important;align-items:end !important}
.quick-quote-fields label{font-size:9px !important;color:#314a69 !important;letter-spacing:.55px !important;font-weight:800 !important}
.quick-quote-fields input,.quick-quote-fields select{
  box-sizing:border-box !important;width:100% !important;height:48px !important;margin-top:7px !important;
  padding:0 13px !important;border:1px solid #d8e1ec !important;border-radius:8px !important;
  background:#fff !important;color:#203b5d !important;font:600 13px Arial,sans-serif !important;
}
.quick-quote-fields input::placeholder{color:#7c8999 !important}
.quick-quote-fields input:focus,.quick-quote-fields select:focus{outline:2px solid rgba(240,90,0,.2) !important;border-color:#f05a00 !important}
.quick-quote-button{height:48px !important;min-width:190px !important;padding:0 20px !important;border:0 !important;border-radius:9px !important;background:#f05a00 !important;color:#fff !important;font-size:12px !important;font-weight:800 !important;white-space:nowrap !important;cursor:pointer !important}
.quick-quote-button:hover{background:#d94f00 !important}
.quick-quote-note{font-size:10px !important;color:#6c7b8e !important;margin-top:9px !important}
.hero .hero-ctas{margin-top:14px !important}
.hero .hero-ctas .btn-light{background:rgba(255,255,255,.10) !important;border:1px solid rgba(255,255,255,.5) !important;color:#fff !important}
@media(max-width:900px){
 .hero{min-height:0 !important}
 .hero-copy{padding:48px 0 42px !important}
 .quick-quote-fields{grid-template-columns:1fr 1fr !important}
 .quick-quote-button{width:100% !important;min-width:0 !important}
}
@media(max-width:600px){
 .hero{min-height:0 !important}
 .hero-photo{height:100% !important;min-height:100% !important;object-position:58% center !important}
 .hero-overlay{background:linear-gradient(90deg,rgba(5,31,68,.94),rgba(7,43,88,.84)) !important}
 .hero-copy{padding:38px 0 32px !important}
 .hero h1{font-size:34px !important;line-height:1.16 !important;letter-spacing:-.5px !important;margin:10px 0 13px !important}
 .hero p{font-size:14px !important;line-height:1.65 !important}
 .hero-tags{display:flex !important;gap:8px 15px !important;margin-top:16px !important;font-size:10px !important}
 .hero-quick-quote{margin-top:20px !important;padding:15px 13px 11px !important;border-radius:12px !important}
 .quick-quote-fields{grid-template-columns:1fr !important;gap:10px !important}
 .quick-quote-fields label{font-size:9px !important}
 .quick-quote-fields input,.quick-quote-fields select{height:46px !important;font-size:14px !important}
 .quick-quote-button{height:48px !important;font-size:13px !important}
 .hero .hero-ctas{margin-top:12px !important}
}

/* FINAL OVERRIDE - SolarDaam homepage hero */
html body .hero{min-height:590px!important;position:relative!important;display:flex!important;align-items:center!important;overflow:hidden!important;background:#082b59!important;padding:0!important}
html body .hero>img.hero-photo{position:absolute!important;inset:0!important;right:auto!important;top:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 52%!important;opacity:1!important;z-index:0!important}
html body .hero>.hero-overlay{position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(4,28,64,.96) 0%,rgba(5,39,83,.91) 48%,rgba(5,39,83,.68) 100%)!important}
html body .hero>.wrap{position:relative!important;z-index:2!important;width:min(1180px,92%)!important;margin:0 auto!important}
html body .hero .hero-copy{width:100%!important;max-width:100%!important;padding:54px 0 46px!important}
html body .hero .eyebrow{color:#ffd44f!important;font-size:11px!important;letter-spacing:1.5px!important;margin:0 0 10px!important}
html body .hero h1{max-width:850px!important;color:#fff!important;font-size:clamp(38px,4.2vw,58px)!important;line-height:1.12!important;letter-spacing:-1.1px!important;margin:10px 0 14px!important}
html body .hero .hero-highlight{color:#ffc928!important}
html body .hero p{max-width:760px!important;color:#fff!important;font-size:16px!important;line-height:1.65!important;margin:0!important}
html body .hero .hero-tags{display:flex!important;flex-wrap:wrap!important;gap:10px 25px!important;margin:20px 0 0!important;color:#fff!important;font-size:12px!important;font-weight:700!important}
html body .hero .hero-quick-quote{display:block!important;position:relative!important;z-index:3!important;width:100%!important;max-width:1120px!important;box-sizing:border-box!important;margin:27px 0 0!important;padding:17px 18px 12px!important;background:#fff!important;border:1px solid #e5ebf2!important;border-radius:14px!important;box-shadow:0 15px 40px rgba(0,0,0,.24)!important}
html body .hero .quick-quote-heading{color:#183c6b!important;font-size:10px!important;font-weight:800!important;letter-spacing:1px!important;margin:0 0 11px!important}
html body .hero .quick-quote-fields{display:grid!important;grid-template-columns:1.05fr 1fr 1fr auto!important;gap:12px!important;align-items:end!important}
html body .hero .quick-quote-fields label{display:block!important;min-width:0!important;color:#304967!important;font-size:9px!important;font-weight:800!important;letter-spacing:.45px!important}
html body .hero .quick-quote-fields input,html body .hero .quick-quote-fields select{display:block!important;box-sizing:border-box!important;width:100%!important;height:47px!important;margin:7px 0 0!important;padding:0 12px!important;border:1px solid #d7e1ed!important;border-radius:8px!important;background:#fff!important;color:#1c3556!important;font:600 13px Poppins,Arial,sans-serif!important}
html body .hero .quick-quote-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:47px!important;min-width:190px!important;padding:0 17px!important;border:0!important;border-radius:8px!important;background:#f05a00!important;color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important}
html body .hero .quick-quote-note{margin-top:8px!important;color:#718096!important;font-size:10px!important}
html body .hero .hero-ctas{margin-top:13px!important}
html body .hero .hero-ctas .btn-light{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.55)!important;color:#fff!important}
@media(max-width:900px){html body .hero .quick-quote-fields{grid-template-columns:1fr 1fr!important}html body .hero .quick-quote-button{width:100%!important;min-width:0!important}}
@media(max-width:600px){html body .hero{min-height:0!important}html body .hero .hero-copy{padding:38px 0 30px!important}html body .hero h1{font-size:34px!important;line-height:1.15!important}html body .hero p{font-size:14px!important}html body .hero .quick-quote-fields{grid-template-columns:1fr!important}html body .hero .hero-quick-quote{margin-top:20px!important;padding:14px!important}html body .hero .quick-quote-button{height:48px!important}}


/* MOBILE BACKGROUND MATCH: retain the same full-bleed rooftop image and navy overlay as desktop */
@media (max-width: 600px){
  html body .hero{
    min-height: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    background: #082b59 !important;
    isolation: isolate !important;
  }
  html body .hero > img.hero-photo{
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 62% center !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }
  html body .hero > .hero-overlay{
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    /* Same dark navy treatment as desktop; slightly stronger for small-screen text contrast */
    background: linear-gradient(90deg, rgba(4,28,64,.94) 0%, rgba(5,39,83,.88) 58%, rgba(5,39,83,.78) 100%) !important;
  }
  html body .hero > .wrap{position: relative !important; z-index: 2 !important; width: 90% !important;}
  html body .hero .hero-copy{padding: 36px 0 30px !important;}
  html body .hero h1{font-size: 32px !important; line-height: 1.14 !important; color:#fff !important;}
  html body .hero p{font-size: 14px !important; line-height: 1.6 !important; color:rgba(255,255,255,.96) !important;}
  html body .hero .hero-tags{color:#fff !important; gap:8px 14px !important;}
  html body .hero .hero-quick-quote{background:#fff !important; margin-top:18px !important;}
}


/* MOBILE HERO CONTRAST FIX v2 — force desktop-style navy treatment on phones */
@media screen and (max-width: 600px) {
  html body .hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: #062653 !important;
  }
  html body .hero > img.hero-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    /* Frame lower/right area so the rooftop solar installation is more visible */
    object-position: 72% 72% !important;
    opacity: 1 !important;
    z-index: -2 !important;
  }
  /* Use a separate pseudo overlay so other theme rules cannot wash it out */
  html body .hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    background: linear-gradient(
      180deg,
      rgba(4, 28, 64, .86) 0%,
      rgba(5, 35, 76, .84) 48%,
      rgba(5, 31, 68, .90) 100%
    ) !important;
    z-index: -1 !important;
  }
  html body .hero > .hero-overlay {
    background: transparent !important;
    opacity: 0 !important;
  }
  html body .hero > .wrap {
    position: relative !important;
    z-index: 1 !important;
  }
  html body .hero .hero-copy {
    padding: 36px 0 30px !important;
  }
  html body .hero .eyebrow,
  html body .hero h1,
  html body .hero p,
  html body .hero .hero-tags {
    color: #fff !important;
  }
  html body .hero .hero-highlight {
    color: #ffc928 !important;
  }
  html body .hero .hero-quick-quote {
    background: #fff !important;
    border: 1px solid #e4eaf2 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.25) !important;
  }
}


/* DEFINITIVE MOBILE HERO LAYER FIX v3
   Correct stacking: image (0), dark overlay (1), content/form (2).
   Do not hide or transparentize .hero-overlay on mobile. */
@media screen and (max-width: 600px) {
  html body section.hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    min-height: 0 !important;
    background: #062653 !important;
  }
  html body section.hero img.hero-photo {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 68% center !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }
  html body section.hero div.hero-overlay {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    z-index: 1 !important;
    background: linear-gradient(
      180deg,
      rgba(4, 24, 58, .58) 0%,
      rgba(4, 29, 68, .66) 42%,
      rgba(4, 25, 58, .72) 100%
    ) !important;
    pointer-events: none !important;
  }
  html body section.hero > div.wrap {
    position: relative !important;
    z-index: 2 !important;
  }
  html body section.hero .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    padding: 36px 0 30px !important;
  }
  html body section.hero .eyebrow,
  html body section.hero h1,
  html body section.hero p,
  html body section.hero .hero-tags {
    color: #fff !important;
  }
  html body section.hero .hero-highlight {
    color: #ffc928 !important;
  }
  html body section.hero .hero-quick-quote {
    position: relative !important;
    z-index: 3 !important;
    background: #fff !important;
  }
}


/* MOBILE BACKGROUND BALANCE: keep the rooftop solar image subtly visible */
@media screen and (max-width: 600px) {
  html body section.hero div.hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 24, 58, .58) 0%,
      rgba(4, 29, 68, .66) 42%,
      rgba(4, 25, 58, .72) 100%
    ) !important;
  }
}
