*{box-sizing:border-box}body{margin:0;background:#0a1420;color:white;font-family:Arial,sans-serif}header{display:flex;justify-content:space-between;align-items:center;padding:18px 6%;background:#08121d}header strong{font-size:19px;letter-spacing:.5px}nav a{color:#dce8f5;margin-left:20px;text-decoration:none}.hero{min-height:780px;background:linear-gradient(90deg,rgba(5,13,24,.10),rgba(5,13,24,.00)),url('../images/lincoln-roofing-hero.webp') center top/contain no-repeat;display:flex;align-items:end;justify-content:center;text-align:center;padding:32px}.hero-content{background:rgba(3,12,22,.83);padding:25px 35px;border-radius:14px;max-width:760px}.hero h1{font-size:clamp(27px,5vw,47px);margin:0 0 12px}.hero p{color:#e0e9f2;font-size:18px}.btn{display:inline-block;background:#168ae2;color:white;padding:15px 25px;border-radius:7px;text-decoration:none;font-weight:bold;margin:8px}.btn.secondary{background:transparent;border:1px solid #9fb4c7}section{padding:60px 7%;text-align:center}h2{font-size:32px;margin:0 0 14px}.sub{color:#b8c9d9}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}.card{background:#14283c;border:1px solid #28425a;border-radius:12px;padding:28px 20px;text-align:left}.card h3{margin-top:0}.card p{color:#b9cbd9;line-height:1.5}.cta{background:#102b44}footer{text-align:center;padding:28px;color:#b3c3d3;background:#07111b}@media(max-width:700px){nav{display:none}.hero{min-height:650px;background-position:center top}.cards{grid-template-columns:1fr}.hero{display:block;padding:0;background-size:100% auto;padding-top:calc(100vw * 1.38)}.hero-content{padding:20px 14px;border-radius:0;background:#08121d}section{padding:45px 6%}}
.hero{background-blend-mode:normal;background-position:center center;} .hero-content{background:rgba(5,13,24,.28);padding:16px 22px;border-radius:12px;max-width:760px;}



#gallery{padding:65px 6%;background:#0c1c2c;text-align:center}#gallery h2{font-size:32px;margin:0 0 12px}#gallery p{color:#c9d8e7} .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;max-width:1100px;margin:30px auto}.gallery-tile{aspect-ratio:4/3;border:1px dashed #517391;border-radius:12px;background:linear-gradient(135deg,#172e45,#0a1727);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;overflow:hidden;cursor:pointer;color:white;font-size:16px}.gallery-tile img{width:100%;height:100%;object-fit:cover}.gallery-tile .camera{font-size:32px}.gallery-upload{display:inline-block;background:#0751ac;color:white;padding:13px 20px;border-radius:9px;font-weight:bold;cursor:pointer}.gallery-upload input{display:none}#gallery-lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.94);z-index:9999;align-items:center;justify-content:center;padding:35px}#gallery-lightbox img{max-width:100%;max-height:85vh;object-fit:contain}#gallery-close{position:absolute;right:18px;top:12px;background:transparent;color:white;border:0;font-size:38px;cursor:pointer}@media(max-width:650px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#gallery{padding:45px 4%}}


#testimonials{background:#101f30;text-align:center}#testimonials .review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1100px;margin:28px auto}.review-card{border:1px solid #35516c;background:#152b41;padding:25px 20px;border-radius:12px;text-align:left}.review-card h3{margin:0 0 12px;color:#fff}.review-card p{color:#c9d8e7;line-height:1.55}.review-card .pending{font-size:13px;color:#9eb5c9}@media(max-width:700px){#testimonials .review-grid{grid-template-columns:1fr}}

.demo-stars{color:#f8c75e;font-size:23px;letter-spacing:3px;margin-bottom:14px}.demo-type{color:#aabdd0;font-size:13px}.review-card h3{margin-top:20px!important}.review-card p{line-height:1.65} .work-photo{margin:0;border-radius:10px;overflow:hidden;background:#172e45;text-align:left}.work-photo img{width:100%;height:220px;object-fit:cover;display:block;cursor:pointer}.work-photo figcaption{padding:12px;font-size:14px;color:#f3f7ff}@media(max-width:650px){.work-photo img{height:145px}} 


.roof-projects{max-width:1100px;margin:30px auto 0;text-align:left}
.roof-project{margin:0 0 32px;background:#11273b;border:1px solid #34516a;border-radius:14px;padding:16px}
.roof-project h3,.completed-roofs h3{margin:0 0 14px;color:#fff;font-size:clamp(19px,3vw,25px)}
.before-after-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch}
.before-after-pair figure{min-width:0;margin:0;position:relative;overflow:hidden;border-radius:9px;background:#0b1824}
.before-after-pair img{width:100%;height:100%;min-height:150px;max-height:350px;aspect-ratio:1.1;object-fit:cover;display:block}
.before-after-pair figcaption{position:absolute;top:9px;left:9px;background:#08213a;color:#fff;padding:6px 12px;border-radius:5px;font-weight:800;font-size:13px;letter-spacing:.07em}
.before-after-pair figure:nth-child(2) figcaption{background:#087a60}
.completed-roofs{margin-top:36px}
.completed-roofs .gallery-grid{margin-top:16px}
@media(max-width:550px){.roof-project{padding:9px}.before-after-pair{gap:6px}.before-after-pair img{min-height:125px;aspect-ratio:.9}.before-after-pair figcaption{font-size:11px;padding:5px 7px;top:5px;left:5px}}



#cookie-consent-panel[hidden]{display:none!important}#cookie-consent-panel{position:fixed;z-index:99999;bottom:16px;left:16px;right:16px;max-width:600px;margin:auto;padding:20px;background:#102336;border:1px solid #6d8195;border-radius:12px;box-shadow:0 8px 40px #0009;color:white;font:15px/1.5 Arial,sans-serif}
#cookie-consent-panel p{margin:7px 0 16px}#cookie-consent-panel button{padding:11px 18px;margin:0 8px 8px 0;border-radius:6px;border:1px solid #ffffff66;cursor:pointer;background:#fff;color:#091623;font-weight:bold}#cookie-consent-panel button.accept{background:#f5b942;border-color:#f5b942}

.inline-rule-1{grid-template-columns:1fr;max-width:1100px}

.inline-rule-2{height:auto;max-height:none;aspect-ratio:auto}

.inline-rule-3{background:#101d2c;padding:60px 5%;text-align:center;}

.inline-rule-4{display:block;width:100%;max-width:1100px;height:auto;margin:22px auto 12px;border-radius:15px;object-fit:cover;}

.inline-rule-5{color:#a9d4ff}

.inline-rule-6{line-height:1.8}

.inline-rule-7{color:#a9d4ff}

.inline-rule-8{color:#a9d4ff}

/* Small accessibility/SEO additions; the original Lincoln site design is retained. */
[data-lightbox="true"]:focus-visible, button:focus-visible, a:focus-visible{outline:3px solid #ffc966;outline-offset:3px}
#gallery-lightbox.is-open{display:flex}
#faq{background:#0c1c2c;padding:60px 6%;}
#faq .faq-inner{max-width:1050px;margin:auto}
#faq h2{text-align:center;font-size:clamp(26px,4vw,34px);margin:0 0 26px}
#faq details{border:1px solid #35516c;border-radius:9px;background:#10283d;padding:17px 20px;margin-bottom:12px}
#faq summary{font-size:18px;cursor:pointer;font-weight:bold}
#faq details p{color:#d1e0ee;line-height:1.6;margin-bottom:0}
@media(max-width:650px){#faq{padding:45px 5%}#faq summary{font-size:16px}}
