:root{
  --navy:#0b3556;
  --navy-2:#082943;
  --blue:#078fd1;
  --blue-dark:#066fa7;
  --sky:#eef8fd;
  --ink:#173047;
  --muted:#5b6c7b;
  --line:#dce5ec;
  --white:#fff;
  --shadow:0 14px 36px rgba(8,41,67,.12);
  --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.68;background:#fff}
a{color:var(--blue-dark)}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.98);border-bottom:1px solid #e5ebf0;box-shadow:0 2px 12px rgba(8,41,67,.07)}
.site-header .bar{max-width:1800px;margin:auto;min-height:76px;padding:9px 24px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.brand{justify-self:start;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.brand-mark{width:46px;height:46px;border:3px solid var(--navy);border-radius:9px 9px 14px 14px;display:grid;place-items:center;position:relative;background:#fff;overflow:hidden}
.brand-mark:before{content:"";position:absolute;width:30px;height:30px;border-left:3px solid var(--blue);border-top:3px solid var(--blue);transform:rotate(45deg);top:9px}
.brand-mark:after{content:"";position:absolute;width:14px;height:19px;background:var(--navy);bottom:0;border-radius:4px 4px 0 0}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-copy strong{font-size:1.2rem;letter-spacing:-.02em}
.brand-copy small{font-size:.72rem;letter-spacing:.1em;margin-top:4px;color:#2a4050;font-weight:800}
.header-phone{justify-self:end;order:3;color:#fff;background:var(--blue);text-decoration:none;font-size:1rem;font-weight:800;padding:11px 18px;border-radius:7px;box-shadow:0 5px 14px rgba(7,143,209,.22)}
.header-phone:before{content:"";margin-right:0}
.header-phone:hover{background:var(--blue-dark)}
.menu-toggle{display:none}
.site-menu{justify-self:center;display:flex;align-items:center;gap:4px}
.site-menu>a,.menu-group>summary{display:flex;align-items:center;gap:5px;color:var(--ink);text-decoration:none;font-size:.93rem;font-weight:700;padding:11px 12px;border-radius:7px;cursor:pointer;list-style:none;white-space:nowrap}
.site-menu>a:hover,.menu-group>summary:hover{background:var(--sky);color:var(--navy)}
.menu-group{position:relative}
.menu-group>summary::-webkit-details-marker{display:none}
.menu-group>summary:after{content:"⌄";font-size:.8rem;color:#6d7c88}
.menu-group[open]>summary:after{content:"⌃"}
.menu-links{position:absolute;top:calc(100% + 8px);left:0;width:290px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:8px;display:grid;grid-template-columns:1fr}
.menu-links>a{display:block;color:var(--ink);text-decoration:none;padding:8px 10px;border-radius:6px;font-size:.9rem}
.menu-links>a:hover{background:var(--sky);color:var(--blue-dark)}
.menu-phone{display:none!important}
.page-shell{max-width:1800px;margin:auto;padding:42px 24px 100px}
.content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:42px;align-items:start}
.content{min-width:0}
.content>article{min-width:0}
.content h1{font-size:clamp(2.25rem,4.3vw,3.7rem);line-height:1.08;letter-spacing:-.035em;color:var(--navy);margin:0 0 18px}
.content h2,.home-copy h2{font-size:clamp(1.55rem,2.5vw,2.05rem);line-height:1.18;color:var(--navy);margin:2.6rem 0 1rem;letter-spacing:-.02em}
.content h3{font-size:1.22rem;color:var(--navy);margin:1.8rem 0 .45rem}
.content p,.content li{font-size:1.03rem}
.content ul{padding-left:1.25rem}
.hero{font-size:1.18rem!important;line-height:1.65;font-weight:600;color:#385369}
.breadcrumbs{font-size:.86rem;margin:0 0 16px;color:#687986;line-height:1.4}
.breadcrumbs a{color:#687986;text-decoration:none}
.breadcrumbs a:hover{color:var(--blue-dark);text-decoration:underline}


.service-card{background:var(--navy);color:#fff;border-radius:12px;padding:26px;position:sticky;top:98px;box-shadow:0 18px 40px rgba(8,41,67,.22)}
.service-card h2{color:#fff!important;margin:0 0 7px!important;font-size:1.7rem!important}
.service-card:before{content:"FAST • LOCAL • STRAIGHTFORWARD";display:block;font-size:.68rem;letter-spacing:.12em;color:#8edcff;font-weight:800;margin-bottom:9px}
.service-card .call-cta{display:block;text-align:center;text-decoration:none;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:7px;padding:10px;margin:12px 0 14px;font-weight:800}
.service-form label{display:block;font-weight:700;font-size:.87rem;margin:.68rem 0 .25rem;color:#fff}
.service-form input,.service-form select,.service-form textarea{width:100%;border:1px solid #cbd8e2;border-radius:7px;padding:11px 12px;font:inherit;background:#fff;color:var(--ink);outline:none}
.service-form input:focus,.service-form select:focus,.service-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(7,143,209,.18)}
.service-form textarea{min-height:112px;resize:vertical}
.service-form button{width:100%;border:0;border-radius:7px;padding:13px 16px;background:var(--blue);color:#fff;font-weight:800;cursor:pointer;text-align:center;font-size:.98rem;margin-top:15px}
.service-form button:hover{background:#0aa0e6}
.honeypot{display:none}.form-status{margin-top:9px;color:#d8f4ff}
.home-top{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:30px;align-items:stretch;margin:-42px -24px 0;padding:0 24px;min-height:510px;overflow:hidden}
.home-hero{position:relative;min-height:510px;display:flex;flex-direction:column;justify-content:center;padding:72px 38px 42px;color:#fff;overflow:hidden;border-radius:0;background:#041d31 url("images/home-hero.webp") center/cover no-repeat}
.home-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,29,49,.82) 0%,rgba(4,29,49,.66) 48%,rgba(4,29,49,.25) 100%);z-index:1}
.home-hero h1,.home-hero .home-call,.home-hero:before{position:relative;z-index:2}
.home-hero:before{content:"QUAD CITIES REMODELING";font-size:.78rem;letter-spacing:.14em;font-weight:800;color:#9ddfff;margin-bottom:14px}
.home-hero h1{font-size:clamp(2.55rem,5vw,4.35rem);line-height:1.04;letter-spacing:-.045em;color:#fff;margin:0 0 20px;max-width:720px}
.home-hero .page-photo+ .home-call{margin-top:0}
.home-call{display:inline-block;align-self:flex-start;text-decoration:none;color:#fff!important;background:var(--blue);padding:13px 22px;border-radius:7px;font-size:1rem;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.home-call:hover{background:#0aa0e6}
.home-top>.service-card{align-self:center;margin-right:0}
.home-copy{padding-top:44px;max-width:1160px}
.home-copy>.hero{max-width:920px;margin:0 0 2rem;color:#36556d}
.home-copy h2{margin-top:2.2rem}
.home-service-intro,.home-locations{margin-top:46px;background:var(--sky);padding:34px;border-radius:12px}
.home-service-intro h2,.home-locations h2{margin-top:0}
.home-service-intro p,.home-locations p{max-width:1000px}
.link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 0}
.link-card{display:flex;flex-direction:column;gap:8px;padding:21px 20px;border:1px solid #d5e3ec;border-radius:10px;text-decoration:none;background:#fff;color:inherit;min-height:145px;box-shadow:0 5px 18px rgba(8,41,67,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.link-card:before{content:"→";display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e5f5fd;color:var(--blue-dark);font-weight:900;font-size:1.1rem}
.link-card:hover{box-shadow:0 12px 26px rgba(8,41,67,.11);transform:translateY(-2px);border-color:#b7d7e8}
.link-card strong{color:var(--navy);font-size:1.02rem;line-height:1.25}
.link-card span{color:var(--muted);line-height:1.48;font-size:.92rem}
.home-locations{background:#fff;border:1px solid var(--line);display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:center}
.home-locations:after{content:"QUAD CITIES\A IA • IL";white-space:pre;text-align:center;display:grid;place-items:center;min-height:230px;border-radius:10px;background:linear-gradient(135deg,#d9eef8,#f4f9fc);color:var(--navy);font-size:1.5rem;font-weight:900;letter-spacing:.08em;line-height:1.8}
.home-copy a{color:var(--blue-dark);text-underline-offset:3px}
.home-copy a:hover{text-decoration-thickness:2px}
.site-footer{background:var(--navy-2);color:#dcecf5;padding:46px 24px 110px;margin-top:20px}
.site-footer-inner{max-width:1800px;margin:auto;display:grid;grid-template-columns:1.25fr 1fr 1.4fr;gap:40px}
.site-footer strong{color:#fff;font-size:1.05rem}.site-footer a{color:#dcecf5}.footer-areas{min-width:0}.footer-area-links{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:10px}.footer-area-links a{text-decoration:none;font-size:.9rem}.footer-area-links a:hover{text-decoration:underline;color:#fff}
.sticky-actions{position:fixed;left:0;right:0;bottom:0;z-index:1200;display:flex;justify-content:center;gap:12px;padding:10px 16px;background:rgba(8,41,67,.97);box-shadow:0 -4px 18px rgba(0,0,0,.16)}
.sticky-actions a{display:block;min-width:210px;padding:11px 18px;text-align:center;text-decoration:none;border-radius:7px;font-weight:800}.sticky-call{background:#fff;color:var(--navy)}.sticky-request{background:var(--blue);color:#fff}.site-footer{padding-bottom:92px}
.about-legal{margin-top:3rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.85rem}.about-legal a{color:#52616d;text-decoration:underline}
@media(max-width:1050px){
  .site-header .bar{grid-template-columns:auto 1fr auto}.brand{justify-self:start}.site-menu{gap:0}.site-menu>a,.menu-group>summary{padding:10px 8px;font-size:.87rem}.header-phone{font-size:.9rem;padding:10px 13px}
  .home-top{grid-template-columns:minmax(0,1fr) 330px}.link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  body{padding-bottom:64px}.site-header .bar{min-height:68px;padding:9px 15px;grid-template-columns:1fr auto}.site-header .bar{grid-template-columns:1fr auto auto;gap:8px}.header-phone{order:2;justify-self:end;font-size:.82rem;padding:9px 10px;white-space:nowrap}.header-phone:before{margin-right:4px}.menu-toggle{order:3}.brand-mark{width:40px;height:40px}.brand-copy strong{font-size:1.03rem}.brand-copy small{font-size:.62rem;letter-spacing:.08em;color:#2a4050;font-weight:800}.menu-toggle{display:flex;justify-self:end;width:44px;height:40px;border:1px solid #b8c6d0;background:#fff;border-radius:7px;flex-direction:column;justify-content:center;gap:5px;padding:0 10px;cursor:pointer}.menu-toggle span{display:block;height:2px;background:var(--navy);width:100%}
  .site-menu{position:absolute;right:12px;top:64px;width:calc(100vw - 24px);max-height:calc(100vh - 76px);overflow:auto;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);padding:8px;display:none;flex-direction:column;align-items:stretch;gap:0}.site-menu.open{display:flex}.site-menu>a,.menu-group>summary{width:100%;font-size:1rem;padding:11px 12px}.menu-group{border-top:1px solid #edf1f4}.menu-links{position:static;width:auto;box-shadow:none;border:0;padding:0 8px 8px;background:#f7fbfd}.menu-links>a{font-size:.95rem}.menu-phone{display:block!important;border:1px solid var(--blue)!important;text-align:center;color:var(--blue-dark)!important;margin-top:7px}
  .page-shell{padding:28px 16px 78px}.content-wrap{grid-template-columns:1fr;gap:28px}.service-card{position:static}.content h1{font-size:clamp(2rem,8vw,3rem)}
  .home-top{display:block;margin:-28px -16px 0;padding:0;min-height:0}.home-hero{min-height:470px;padding:52px 24px 32px}.home-hero h1{font-size:clamp(2.35rem,10vw,3.6rem)}.home-top>.service-card{margin:0;border-radius:0;box-shadow:none}.home-copy{padding-top:34px}.home-service-intro,.home-locations{padding:25px 20px}.link-grid{grid-template-columns:1fr}.home-locations{grid-template-columns:1fr}.home-locations:after{min-height:150px}
  .site-footer-inner{grid-template-columns:1fr;gap:24px}.sticky-actions{gap:8px;padding:8px 10px}.sticky-actions a{min-width:0;flex:1;padding:10px 8px;font-size:.92rem}
}
@media(max-width:380px){.site-header .bar{padding:9px 10px;gap:6px}.header-phone{font-size:.76rem;padding:9px 8px}.header-phone:before{display:none}.brand-copy small{display:block!important;font-size:.58rem;letter-spacing:.06em;color:#1e3344;font-weight:800}.brand-mark{width:34px;height:34px}.menu-toggle{width:40px}}

@media(max-width:700px){}

/* Hero photos — single image, mobile-friendly */
.page-photo{
  margin: 0.75rem 0 1.15rem;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef2;
  max-width: 100%;
}
.page-photo{position:relative;overflow:hidden}
.page-photo img{filter:saturate(.84) contrast(1.035) brightness(1.025);transition:filter .2s ease}
.page-photo:after{content:"";position:absolute;inset:0;background:rgba(7,91,139,.055);mix-blend-mode:color;pointer-events:none}

.page-photo img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px){
  .page-photo img{
    max-height: 200px;
  }
}

.home-hero .page-photo{display:none!important}






/* Desktop: float bottom-right, leave page free */
@media(min-width:801px){
  
  
}

/* Mobile: sit above sticky bar if present */
@media(max-width:800px){
  
  
  
  
}

/* Dim overlay (visual only) + card — page stays navigable */
#call-overlay{
  position:fixed;inset:0;z-index:2500;
  display:none;
  align-items:flex-end;justify-content:center;
  padding:12px 12px 72px;
  background:rgba(4,29,49,.4);
  pointer-events:none; /* clicks pass through to the site */
}
#call-overlay.is-visible{display:flex}
#call-dialog{
  pointer-events:auto;
  width:100%;max-width:340px;
  background:#fff;border-radius:14px;
  padding:16px 16px 14px;
  box-shadow:0 12px 40px rgba(0,0,0,.3);
  text-align:center;
  margin-bottom:4px;
}
#call-dialog h2{
  margin:0 0 6px;font-size:1.05rem;color:var(--navy);letter-spacing:-.02em;line-height:1.25;
}
#call-dialog p{
  margin:0 0 14px;font-size:.88rem;color:#4a6578;line-height:1.4;
}
#call-dialog .call-actions{display:flex;flex-direction:column;gap:8px}
#call-dialog a.call-now{
  display:block;text-decoration:none;text-align:center;
  background:var(--blue);color:#fff!important;font-weight:800;font-size:.98rem;
  padding:12px 14px;border-radius:9px;
  border-bottom:3px solid transparent;
  box-shadow:0 4px 12px rgba(14,165,233,.3);
}
#call-dialog a.call-now:hover{background:#0aa0e6}
#call-dialog button.not-now{
  display:block;width:100%;border:1px solid #c5d4df;background:#f7fafc;
  color:#3d5568;font-weight:700;font-size:.9rem;padding:10px 14px;border-radius:9px;cursor:pointer;
}
@keyframes callNowBorderFlash{
  0%,100%{box-shadow:0 4px 12px rgba(14,165,233,.3);border-bottom-color:transparent;transform:scale(1)}
  25%{box-shadow:0 6px 18px rgba(34,197,94,.5);border-bottom-color:#22c55e;transform:scale(1.04)}
  50%{box-shadow:0 4px 12px rgba(14,165,233,.3);border-bottom-color:#16a34a;transform:scale(1)}
  75%{box-shadow:0 6px 18px rgba(34,197,94,.55);border-bottom-color:#22c55e;transform:scale(1.04)}
}
#call-dialog a.call-now.is-flashing{
  animation:callNowBorderFlash .55s ease-in-out 4;
}
@media(min-width:801px){
  #call-overlay{align-items:flex-end;justify-content:flex-end;padding:24px 24px 84px}
  #call-dialog{margin:0}
}
@media(max-width:800px){
  #call-overlay{padding:10px 10px 70px}
  #call-dialog{max-width:100%}
}

/* Footer: legal links — small text line at the very bottom */
.footer-legal{max-width:1800px;margin:28px auto 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);text-align:center;font-size:.8rem;line-height:1.4}
.footer-legal a{color:#b9cfdc;text-decoration:none}
.footer-legal a:hover{color:#fff;text-decoration:underline}
.footer-legal span{margin:0 10px;color:#7f97a8}

/* Lead form on inner pages: stay pinned only when the whole card fits on screen.
   On shorter screens it scrolls with the page, so no field is ever cut off or unreachable. */
.service-card{scroll-margin-top:96px}
@media(min-width:851px){.content-wrap>.service-card{position:static}}
@media(min-width:851px) and (min-height:1110px){.content-wrap>.service-card{position:sticky}}

/* Secondary contact method: email link next to the Call button */
.email-cta{display:block;text-align:center;text-decoration:none;color:#bfe6ff;font-size:.86rem;font-weight:700;margin:-6px 0 14px;word-break:break-all}
.email-cta:hover{color:#fff;text-decoration:underline}
.footer-email{margin-top:6px}
.footer-email a{font-size:.9rem}
