/*
Theme Name: Roof Right Solutions
Theme URI: https://example.com/
Author: Digital Business Solutions
Description: Responsive roofing company theme with service pages, contact forms and SEO-friendly markup.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: roof-right-solutions
*/
:root{--navy:#183463;--ink:#14243b;--grey:#5e6875;--pale:#f3f6fa;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.65}a{color:var(--navy)}.wrap{width:min(1160px,92%);margin:auto}.site-header{background:white;box-shadow:0 2px 18px #132b4a14;position:relative;z-index:5}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:12px 0}.brand img{width:155px;height:100px;object-fit:contain}.menu{display:flex;flex-wrap:wrap;gap:17px;list-style:none;margin:0;padding:0}.menu a{text-decoration:none;font-size:14px;font-weight:700}.menu li{position:relative}.sub-menu{display:none;position:absolute;top:100%;left:0;background:white;min-width:220px;padding:12px;list-style:none;box-shadow:0 12px 24px #0002}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.sub-menu li{padding:5px}.btn{display:inline-block;background:var(--navy);color:white;text-decoration:none;padding:14px 23px;border-radius:6px;font-weight:bold;border:0;cursor:pointer}.btn.light{background:white;color:var(--navy)}.hero{background:linear-gradient(95deg,#0c203cdd,#17375b9c),url('https://images.unsplash.com/photo-1635424710928-0544e8512eae?auto=format&fit=crop&w=1800&q=80') center/cover;min-height:520px;display:flex;align-items:center;color:white}.hero h1{font-size:clamp(35px,5vw,62px);line-height:1.12;max-width:750px;margin:0 0 20px}.hero p{max-width:600px;font-size:19px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:800}.section{padding:75px 0}.section.alt{background:var(--pale)}h2{font-size:clamp(28px,3vw,40px);line-height:1.2;margin:0 0 18px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}.card{background:white;border-radius:10px;overflow:hidden;box-shadow:0 8px 28px #152c4612}.card img{width:100%;height:205px;object-fit:cover}.card-body{padding:25px}.card h3{margin:0 0 10px}.card a{text-decoration:none;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.split img{width:100%;border-radius:12px}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.trust div{border-left:4px solid var(--navy);padding:12px 22px;background:white}.cta{background:var(--navy);color:white;text-align:center;padding:70px 0}.cta h2{color:white}.page-hero{background:var(--navy);color:white;padding:65px 0}.page-hero h1{font-size:clamp(32px,4vw,52px);margin:0}.content{max-width:850px}.content img{max-width:100%;height:auto}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.field{margin-bottom:15px}.field label{display:block;font-weight:bold;margin-bottom:5px}.field input,.field textarea,.field select{width:100%;border:1px solid #c9d1dc;padding:13px;border-radius:5px;font:inherit}.site-footer{background:#101f36;color:#e6ebf3;padding:50px 0 20px}.site-footer a{color:white}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-bottom{border-top:1px solid #ffffff33;margin-top:35px;padding-top:20px;font-size:13px}.mobile-toggle{display:none;background:var(--navy);color:white;border:0;padding:10px 14px;border-radius:5px}.cookie{position:fixed;bottom:16px;left:16px;right:16px;max-width:620px;background:white;box-shadow:0 5px 30px #0003;border-radius:10px;padding:20px;z-index:99}.cookie button{margin-right:8px}.notice{padding:12px 16px;background:#edf5ed;border-left:4px solid #478447;margin:15px 0}@media(max-width:900px){.mobile-toggle{display:block}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:20px 4%;box-shadow:0 15px 25px #0002}.nav.open{display:block}.menu{display:block}.menu>li{padding:10px 0}.sub-menu{display:block;position:static;box-shadow:none;padding:5px 0 5px 18px}.cards,.trust{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.cards,.trust,.split,.contact-grid,.footer-grid{grid-template-columns:1fr}.brand img{width:120px;height:76px}.hero{min-height:470px}.section{padding:48px 0}}

/* Premium header & footer — v1.3 */
:root{--navy:#183463;--deep:#101e34;--sky:#e9f0f9}
.rrs-topbar{background:var(--deep);color:#dce6f4;font-size:12px;letter-spacing:.035em}.rrs-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:35px;gap:12px}.rrs-topbar a{color:#fff;text-decoration:none;font-weight:700}.rrs-topbar strong{color:white}
.site-header{position:sticky;top:0;z-index:80;box-shadow:0 4px 24px #122a4a12}.header-inner{min-height:98px;padding:9px 0;gap:24px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{width:142px;height:78px;object-fit:contain}.nav{flex:1;min-width:0}.menu{align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(9px,1.3vw,21px)}.menu a{font-size:13px;color:#243b59;white-space:nowrap;transition:color .2s}.menu a:hover,.menu .current-menu-item>a{color:#2862a0}.menu>li>a{display:block;padding:16px 0}.menu .sub-menu{top:100%;border-radius:9px;border:1px solid #e9edf3;min-width:235px;padding:10px;box-shadow:0 16px 40px #0d244a22}.menu .sub-menu li a{display:block;padding:7px 10px;white-space:normal}.menu .sub-menu li a:hover{background:#edf3fa;border-radius:5px}.rrs-header-actions{display:flex;align-items:center;gap:14px;flex:0 0 auto}.rrs-header-phone{display:flex;align-items:center;gap:8px;color:var(--navy);text-decoration:none;white-space:nowrap}.rrs-header-phone small{display:block;font-size:10px;line-height:1.4;color:#657387}.rrs-header-phone strong{display:block;font-size:14px;line-height:1.4}.rrs-phone-icon{display:grid;place-items:center;background:var(--sky);width:36px;height:36px;border-radius:50%;font-size:17px}.header-call{padding:12px 16px;border-radius:5px;font-size:12px;white-space:nowrap}.header-call:hover{background:#254f8e}
.rrs-footer-cta{padding:50px 0;text-align:left;background:linear-gradient(115deg,#1b3a6b,#112847)}.rrs-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:36px}.rrs-footer-cta h2{margin:9px 0;font-size:clamp(29px,3.4vw,43px)}.rrs-footer-cta p{margin:0;max-width:630px;color:#e0e8f4}.rrs-footer-cta .eyebrow{color:#c7d9ef;font-size:11px}.rrs-cta-actions{display:flex;flex-direction:column;align-items:center;gap:12px;flex-shrink:0}.rrs-cta-actions .btn{padding:15px 23px;white-space:nowrap}.rrs-cta-call{color:white;text-decoration:none;font-size:13px;font-weight:700}
.site-footer{background:#0d1a2d;padding:60px 0 22px;color:#d3ddeb}.footer-grid{grid-template-columns:1.55fr .8fr 1fr 1.15fr;gap:clamp(20px,3vw,50px)}.site-footer h3{font-size:15px;color:white;margin:4px 0 20px}.rrs-footer-logo{display:inline-flex;background:white;border-radius:6px;padding:5px 15px;margin-bottom:16px}.rrs-footer-logo img{width:126px;height:77px;object-fit:contain}.rrs-footer-about p{max-width:285px;color:#b5c3d5;font-size:13px;line-height:1.8}.rrs-footer-service-area{display:inline-block;margin-top:12px;color:#e5effb;font-size:12px;font-weight:700;border:1px solid #456080;border-radius:40px;padding:6px 12px}.rrs-footer-links{list-style:none;margin:0;padding:0}.rrs-footer-links li{margin:0 0 10px}.rrs-footer-links a,.rrs-footer-muted{color:#b5c3d5;text-decoration:none;font-size:13px}.rrs-footer-links a:hover,.footer-bottom a:hover{color:white;text-decoration:underline}.rrs-footer-contact{display:block;color:white!important;font-weight:800;font-size:20px;text-decoration:none;margin:18px 0 10px;white-space:nowrap}.rrs-footer-email{display:block;font-size:13px;overflow-wrap:anywhere}.rrs-footer-quote{display:inline-block;margin-top:22px;padding:10px 15px;border:1px solid #5c7597;border-radius:5px;font-size:13px;text-decoration:none;font-weight:700}.rrs-footer-quote:hover{background:#fff;color:#0d1a2d}.footer-bottom{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid #ffffff25;margin-top:50px;padding-top:22px;color:#a8b7c9;font-size:12px}.footer-bottom a{color:#dce5f0;text-decoration:none}.rrs-sep{padding:0 10px}
.mobile-toggle{width:44px;height:42px;display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}.mobile-toggle span{display:block;width:20px;height:2px;background:white;border-radius:2px}
@media(max-width:1240px){.rrs-header-phone{display:none}.header-inner{gap:15px}.menu{gap:12px}.brand img{width:123px;height:72px}}
@media(max-width:1000px){.mobile-toggle{display:flex;flex:0 0 auto}.header-inner{min-height:76px}.brand img{width:125px;height:66px}.rrs-header-actions{margin-left:auto}.nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 90px);overflow-y:auto;background:white;padding:14px 5% 24px;box-shadow:0 18px 30px #0002}.nav.open{display:block}.menu{display:block}.menu>li{border-bottom:1px solid #edf1f6;padding:0}.menu>li>a{padding:12px 0}.menu .sub-menu{display:block;position:static;box-shadow:none;border:0;padding:0 0 8px 16px;min-width:0}.menu .sub-menu li a{padding:7px 0}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:34px}}
@media(max-width:650px){.rrs-topbar-inner{justify-content:center}.rrs-topbar-inner>span{display:none}.header-inner{gap:10px}.brand img{width:110px;height:62px}.header-call{padding:10px 11px;font-size:11px}.rrs-cta-inner{display:block}.rrs-cta-actions{align-items:flex-start;margin-top:25px}.rrs-footer-cta{padding:42px 0}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.rrs-footer-about{grid-column:1/-1}.rrs-footer-contact{font-size:16px;white-space:normal}.footer-bottom{display:block}.footer-bottom>div{margin-top:12px}}
@media(max-width:390px){.footer-grid{grid-template-columns:1fr}.rrs-footer-about{grid-column:auto}.header-call{font-size:10px}}
