/*
Theme Name: SDT Roofing
Theme URI: https://sdtroofing.com
Author: SDT Roofing
Description: Custom multi-page WordPress theme for SDT Roofing.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: sdt-roofing
*/

/* SDT typography — Google Fonts (fallbacks remain available). */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --sdt-red:#b91c43;
  --sdt-red-dark:#981735;
  --sdt-black:#151515;
  --sdt-charcoal:#252525;
  --sdt-ink:#222222;
  --sdt-muted:#666666;
  --sdt-pale:#f6f6f6;
  --sdt-white:#ffffff;
  --sdt-border:#e5e5e5;
  --sdt-blue:#0b5fa5;
  --sdt-max:1180px;
  --sdt-shadow:0 12px 32px rgba(0,0,0,.08);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--sdt-white);
  color:var(--sdt-ink);
  font-family:'Source Sans 3',Arial,Helvetica,sans-serif;
  line-height:1.65;
}

body.admin-bar .site-header{
  top:32px;
}

img{
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
}

.wrap{
  width:min(92%,var(--sdt-max));
  margin:auto;
}

.section{
  padding:82px 0;
}

.pale{
  background:var(--sdt-pale);
}

.center{
  text-align:center;
}

.eyebrow{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:2.8px;
  font-weight:900;
  color:var(--sdt-red);
}

h1,
h2,
h3,
h4{
  font-family:'Manrope','Source Sans 3',Arial,sans-serif;
  color:var(--sdt-black);
}

h1{
  font-size:clamp(42px,5.8vw,72px);
  line-height:1.02;
  letter-spacing:-1.8px;
  margin:16px 0 20px;
  font-weight:800;
}

h2{
  font-size:clamp(29px,3.4vw,44px);
  line-height:1.12;
  letter-spacing:-.8px;
  margin:0 0 15px;
  font-weight:800;
}

h3{
  font-size:21px;
  line-height:1.25;
  margin:0 0 10px;
  font-weight:800;
}

p{
  margin-top:0;
}

.intro{
  max-width:780px;
  margin:0 auto 42px;
  color:var(--sdt-muted);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--sdt-red);
  color:#fff!important;
  border:2px solid var(--sdt-red);
  padding:14px 22px;
  border-radius:4px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  transition:.2s ease;
  cursor:pointer;
}

.btn:hover,
.btn:focus-visible{
  background:var(--sdt-red-dark);
  border-color:var(--sdt-red-dark);
  transform:translateY(-1px);
}

.btn-outline{
  background:transparent;
  color:var(--sdt-red)!important;
}

.btn-outline:hover{
  color:#fff!important;
}

:focus-visible{
  outline:3px solid rgba(185,28,67,.32);
  outline-offset:3px;
}


/* Utility bar + header */

.utility-bar{
  background:var(--sdt-black);
  color:#eee;
  border-bottom:3px solid var(--sdt-red);
  font-size:13px;
  padding:8px 0;
}

.utility-bar .wrap{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.utility-bar a{
  text-decoration:none;
}

.utility-bar a:hover{
  color:#fff;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:#fff;
  box-shadow:0 2px 14px rgba(0,0,0,.08);
}

.site-nav{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.site-logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0;
}

.site-logo img,
.custom-logo-link img,
.logo-brand img{
  width:135px!important;
  max-width:135px!important;
  height:auto!important;
  max-height:100px!important;
  object-fit:contain;
  display:block;
}

.custom-logo-link{
  display:flex;
  align-items:center;
}

.menu-toggle{
  display:none;
  border:1px solid var(--sdt-border);
  background:#fff;
  padding:10px 12px;
  border-radius:4px;
  font-weight:800;
}

.primary-menu{
  display:flex;
  align-items:center;
  gap:24px;
}

.primary-menu ul{
  list-style:none;
  padding:0;
  margin:0;
}

.primary-menu>ul{
  display:flex;
  align-items:center;
  gap:24px;
}

.primary-menu a{
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  color:var(--sdt-black);
}

.primary-menu a:hover,
.primary-menu .current-menu-item>a{
  color:var(--sdt-red);
}

.menu-item-has-children{
  position:relative;
}

.sub-menu{
  display:none!important;
  position:absolute;
  top:100%;
  left:-14px;
  min-width:220px;
  background:#fff;
  padding:10px!important;
  box-shadow:var(--sdt-shadow);
  border-top:3px solid var(--sdt-red);
}

.menu-item-has-children:hover>.sub-menu,
.menu-item-has-children:focus-within>.sub-menu{
  display:block!important;
}

.sub-menu li a{
  display:block;
  padding:9px 10px;
}

.header-cta{
  margin-left:6px;
}


/* Hero */

.hero{
  min-height:560px;
  display:flex;
  align-items:center;
  color:#fff;
  border-bottom:5px solid var(--sdt-red);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  position:relative;
}

.hero:before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(15,15,15,.91),
    rgba(15,15,15,.52)
  );
}

.hero .wrap{
  position:relative;
  z-index:1;
}

.hero-inner{
  max-width:760px;
}

.hero h1,
.hero .eyebrow{
  color:#fff;
}

.hero .eyebrow{
  display:inline-block;
  padding-left:12px;
  border-left:4px solid var(--sdt-red);
}

.hero p{
  font-size:18px;
  color:#eee;
  max-width:675px;
  margin-bottom:30px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero .btn-secondary{
  background:rgba(255,255,255,.08);
  border-color:#fff;
  color:#fff!important;
}

.hero .btn-secondary:hover{
  background:#fff;
  color:var(--sdt-black)!important;
}

.page-hero{
  padding:88px 0;
  background:var(--sdt-black);
  color:#fff;
  border-bottom:5px solid var(--sdt-red);
}

.page-hero h1,
.page-hero h2,
.page-hero .eyebrow{
  color:#fff;
}

.page-hero p{
  max-width:760px;
  color:#ddd;
  font-size:18px;
}

.page-hero.compact{
  padding:65px 0;
}


/* BBB Accredited Business Trust Strip */

.trust-strip{
  background:#fff;
  border-bottom:1px solid var(--sdt-border);
}

.trust-strip-inner{
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  padding:16px 0;
}

.bbb-accredited-seal{
  display:block;
  flex-shrink:0;
  text-decoration:none;
  transition:transform .2s ease;
}

.bbb-accredited-seal:hover{
  transform:translateY(-2px);
}

.bbb-accredited-seal img{
  display:block;
  width:145px;
  max-width:145px;
  height:auto;
}

.trust-copy{
  line-height:1.35;
}

.trust-copy strong{
  display:block;
  font-family:'Manrope','Source Sans 3',Arial,sans-serif;
  font-size:18px;
  color:var(--sdt-black);
  margin-bottom:4px;
}

.trust-copy span{
  font-size:14px;
  color:var(--sdt-muted);
}

.trust-copy a{
  color:var(--sdt-red);
  font-weight:800;
  text-decoration:none;
}

.trust-copy a:hover{
  text-decoration:underline;
}


/* Services */

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.service-card{
  position:relative;
  background:#fff;
  border:1px solid var(--sdt-border);
  border-top:4px solid transparent;
  border-radius:5px;
  padding:30px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
  overflow:hidden;
  transition:.28s ease;
  min-height:225px;
  isolation:isolate;
}

.service-card::before{
  content:'';
  position:absolute;
  inset:-12px;
  background-image:var(--service-bg);
  background-size:cover;
  background-position:center;
  filter:blur(5px) saturate(.85);
  transform:scale(1.05);
  opacity:.62;
  transition:filter .3s ease,opacity .3s ease,transform .3s ease;
  z-index:-2;
}

.service-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.58);
  transition:background .3s ease;
  z-index:-1;
}

.service-card:hover,
.service-card:focus-within,
.service-card.is-open{
  transform:translateY(-5px);
  border-top-color:var(--sdt-red);
  box-shadow:var(--sdt-shadow);
}

.service-card:hover::before,
.service-card:focus-within::before,
.service-card.is-open::before{
  filter:blur(1px) saturate(1);
  opacity:.72;
  transform:scale(1.02);
}

.service-card:hover::after,
.service-card:focus-within::after,
.service-card.is-open::after{
  background:rgba(255,255,255,.52);
}

.service-number{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--sdt-black);
  color:#fff;
  font-weight:900;
  margin-bottom:18px;
}

.service-summary{
  color:var(--sdt-muted);
  margin-bottom:0;
}

.service-more{
  max-height:0;
  opacity:0;
  overflow:hidden;
  transform:translateY(7px);
  transition:max-height .35s ease,opacity .25s ease,transform .25s ease;
}

.service-card:hover .service-more,
.service-card:focus-within .service-more,
.service-card.is-open .service-more{
  max-height:650px;
  opacity:1;
  transform:none;
  margin-top:18px;
}

.service-image{
  width:100%;
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:5px;
  margin-bottom:16px;
  background:#eee;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}

.service-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.service-card:hover .service-image img,
.service-card:focus-within .service-image img,
.service-card.is-open .service-image img{
  transform:scale(1.02);
}

.service-more p{
  color:var(--sdt-muted);
  margin-bottom:12px;
}

.service-more a{
  color:var(--sdt-red);
  font-weight:800;
  text-decoration:none;
}

.service-more a:hover{
  text-decoration:underline;
}

.service-toggle{
  display:none;
  margin-top:12px;
  border:0;
  background:none;
  color:var(--sdt-red);
  font-weight:800;
  padding:0;
  cursor:pointer;
}


/* Cards / grids */

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.photo-panel{
  min-height:420px;
  border-radius:5px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  box-shadow:var(--sdt-shadow);
}

.checks{
  list-style:none;
  padding:0;
  margin:20px 0;
}

.checks li{
  position:relative;
  padding:7px 0 7px 29px;
}

.checks li:before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--sdt-red);
  font-weight:900;
}

.value-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.value-card{
  background:#fff;
  border:1px solid var(--sdt-border);
  border-top:4px solid var(--sdt-red);
  border-radius:5px;
  padding:28px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.value-card p{
  color:var(--sdt-muted);
  margin-bottom:0;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.project-card{
  background:#fff;
  border:1px solid var(--sdt-border);
  border-radius:5px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
  transition:.25s ease;
}

.project-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--sdt-shadow);
}

.project-thumb{
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eee;
}

.project-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.project-card:hover .project-thumb img{
  transform:scale(1.03);
}

.project-card-body{
  padding:22px;
}

.project-meta{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--sdt-red);
  font-weight:800;
}

.project-card a{
  text-decoration:none;
}

.project-card .read-more{
  color:var(--sdt-red);
  font-weight:800;
}

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.testimonial{
  background:#fff;
  border:1px solid var(--sdt-border);
  padding:26px;
  border-radius:5px;
}

.testimonial blockquote{
  margin:0 0 16px;
  font-size:16px;
}

.testimonial cite{
  font-style:normal;
  font-weight:800;
}

.testimonial .source{
  display:block;
  font-size:13px;
  color:var(--sdt-muted);
  font-weight:400;
}


/* FAQ */

.faq-list{
  max-width:900px;
  margin:0 auto;
}

.faq-item{
  border-bottom:1px solid var(--sdt-border);
}

.faq-question{
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  background:none;
  border:0;
  padding:20px 0;
  text-align:left;
  font-weight:800;
  font-family:'Manrope',Arial,sans-serif;
  font-size:17px;
  cursor:pointer;
}

.faq-answer{
  display:none;
  padding:0 0 20px;
  color:var(--sdt-muted);
}

.faq-item.is-open .faq-answer{
  display:block;
}

.faq-icon{
  color:var(--sdt-red);
  font-size:22px;
}


/* Forms */

.form-wrap{
  max-width:900px;
  margin:auto;
}

.sdt-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.sdt-form .full{
  grid-column:1/-1;
}

.sdt-form label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
}

.sdt-form input,
.sdt-form select,
.sdt-form textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfcfcf;
  border-radius:4px;
  font:inherit;
  background:#fff;
}

.sdt-form textarea{
  min-height:140px;
  resize:vertical;
}

.form-note{
  font-size:13px;
  color:var(--sdt-muted);
}

.form-status{
  padding:14px 16px;
  border-radius:4px;
  margin-bottom:20px;
}

.form-status.success{
  background:#edf8ef;
  color:#165b27;
}

.form-status.error{
  background:#fff0f2;
  color:#8c1831;
}


/* CTA */

.callout{
  background:var(--sdt-black);
  color:#fff;
  border-left:6px solid var(--sdt-red);
  border-radius:5px;
  padding:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.callout h2{
  color:#fff;
  margin-bottom:6px;
}

.callout p{
  color:#ddd;
  margin:0;
}


/* Content */

.content-narrow{
  max-width:850px;
  margin:auto;
}

.content-narrow h2{
  margin-top:35px;
}

.notice{
  border-left:4px solid var(--sdt-red);
  background:var(--sdt-pale);
  padding:18px 20px;
}

.empty-state{
  padding:28px;
  background:var(--sdt-pale);
  border:1px dashed #ccc;
  text-align:center;
  border-radius:5px;
  color:var(--sdt-muted);
}

.project-detail-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:40px;
}

.project-facts{
  background:var(--sdt-pale);
  padding:24px;
  border-radius:5px;
}

.project-facts dl{
  margin:0;
}

.project-facts dt{
  font-weight:800;
}

.project-facts dd{
  margin:0 0 14px;
  color:var(--sdt-muted);
}


/* Footer */

.site-footer{
  background:var(--sdt-black);
  color:#ddd;
  padding:50px 0 22px;
  border-top:5px solid var(--sdt-red);
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:30px;
}

.site-footer h3{
  color:#fff;
  font-size:17px;
}

.site-footer a{
  color:#ddd;
  text-decoration:none;
}

.site-footer a:hover{
  color:#fff;
}

.footer-logo img{
  background:#fff;
  padding:6px;
  border-radius:3px;
  width:165px;
  max-height:68px;
  object-fit:contain;
}

.copyright{
  border-top:1px solid rgba(255,255,255,.15);
  margin-top:32px;
  padding-top:18px;
  font-size:12px;
  color:#aaa;
}

.mobile-cta{
  display:none;
}


/* Tablet */

@media(max-width:900px){

  body.admin-bar .site-header{
    top:46px;
  }

  .menu-toggle{
    display:block;
  }

  .primary-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    padding:16px 4%;
    box-shadow:var(--sdt-shadow);
  }

  .primary-menu.is-open{
    display:block;
  }

  .primary-menu>ul{
    display:block;
  }

  .primary-menu li{
    margin:4px 0;
  }

  .primary-menu a{
    display:block;
    padding:10px 0;
  }

  .sub-menu{
    display:block!important;
    position:static;
    box-shadow:none;
    border:0;
    padding:0 0 0 16px!important;
  }

  .header-cta{
    display:none;
  }

  .service-grid,
  .project-grid,
  .value-grid,
  .testimonial-grid{
    grid-template-columns:1fr 1fr;
  }

  .split,
  .project-detail-grid{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero{
    min-height:500px;
  }

  .photo-panel{
    min-height:340px;
  }

  .service-toggle{
    display:inline-block;
  }

  .service-more{
    max-height:none;
    display:none;
    opacity:1;
    transform:none;
  }

  .service-card.is-open .service-more{
    display:block;
    margin-top:14px;
  }

  .service-card:hover .service-more{
    display:none;
  }

  .service-card.is-open:hover .service-more{
    display:block;
  }

  .mobile-cta{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:120;
    background:#fff;
    border-top:1px solid var(--sdt-border);
    box-shadow:0 -6px 20px rgba(0,0,0,.08);
  }

  .mobile-cta a{
    flex:1;
    text-align:center;
    padding:13px 8px;
    text-decoration:none;
    font-weight:800;
  }

  .mobile-cta .call{
    color:var(--sdt-black);
  }

  .mobile-cta .estimate{
    background:var(--sdt-red);
    color:#fff;
  }

  .site-footer{
    padding-bottom:78px;
  }

}


/* Mobile */

@media(max-width:620px){

  .section{
    padding:62px 0;
  }

  .hero{
    min-height:465px;
  }

  .hero p{
    font-size:16px;
  }

  .service-grid,
  .project-grid,
  .value-grid,
  .testimonial-grid,
  .footer-grid,
  .sdt-form{
    grid-template-columns:1fr;
  }

  .sdt-form .full{
    grid-column:auto;
  }

  .callout{
    align-items:flex-start;
    flex-direction:column;
    padding:32px;
  }

  .site-logo img{
    width:145px;
  }

  .utility-bar .wrap{
    font-size:12px;
  }

  .trust-strip-inner{
    justify-content:center;
    text-align:center;
    flex-direction:column;
    gap:12px;
    padding:20px 0;
  }

  .bbb-accredited-seal img{
    width:95px;
    max-width:95px;
  }

  .project-thumb{
    aspect-ratio:16/10;
  }

}


@media(prefers-reduced-motion:reduce){

  *{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }

}

/* ==========================================================
   SDT HOMEPAGE HERO + ESTIMATE FORM OVERRIDES
   Added 2026-10-29
   ========================================================== */

.hero.hero-estimate{
  min-height:720px;
  padding:58px 0;
  display:flex;
  align-items:center;
  color:#fff;
  border-bottom:5px solid var(--sdt-red);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  position:relative;
}

.hero.hero-estimate:before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(10,20,28,.94) 0%,rgba(10,20,28,.88) 44%,rgba(10,20,28,.68) 68%,rgba(10,20,28,.50) 100%);
}

.hero.hero-estimate .wrap{
  position:relative;
  z-index:1;
}

.hero-estimate-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.72fr);
  gap:58px;
  align-items:center;
}

.hero-estimate-copy{
  max-width:720px;
}

.hero-trust-pill{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:8px 14px;
  margin-bottom:18px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
}

.hero-estimate .eyebrow,
.hero-estimate h1{
  color:#fff;
}

.hero-estimate .eyebrow{
  display:inline-block;
  padding-left:12px;
  border-left:4px solid var(--sdt-red);
}

.hero-estimate h1{
  max-width:690px;
  font-size:clamp(48px,5.5vw,76px);
  line-height:.98;
  letter-spacing:-2.4px;
  margin:16px 0 22px;
}

.hero-estimate .hero-lead{
  max-width:650px;
  margin:0 0 23px;
  color:#f1f1f1;
  font-size:18px;
  line-height:1.65;
}

.hero-proof-list{
  list-style:none;
  margin:0 0 28px;
  padding:0;
  display:grid;
  gap:9px;
}

.hero-proof-list li{
  position:relative;
  padding-left:26px;
  color:#fff;
  font-weight:600;
  font-size:15px;
}

.hero-proof-list li:before{
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  color:#fff;
  font-weight:900;
}

.hero-estimate .hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-estimate .btn-secondary{
  background:#fff;
  border-color:#fff;
  color:var(--sdt-black)!important;
}

.hero-estimate .btn-secondary:hover{
  background:#f3f3f3;
  border-color:#f3f3f3;
  color:var(--sdt-black)!important;
}

.hero-response-note{
  margin-top:14px;
  color:rgba(255,255,255,.80);
  font-size:13px;
  font-weight:700;
}

.hero-estimate-card{
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  color:var(--sdt-ink);
  box-shadow:0 24px 60px rgba(0,0,0,.32);
}

.hero-estimate-card-head{
  padding:24px 26px 22px;
  background:#182c3c;
  color:#fff;
  border-bottom:4px solid var(--sdt-red);
}

.hero-estimate-card-head span{
  display:block;
  margin-bottom:3px;
  color:#fff;
  font-family:'Manrope','Source Sans 3',Arial,sans-serif;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1.8px;
}

.hero-estimate-card-head strong{
  display:block;
  margin-bottom:2px;
  color:#fff;
  font-family:'Manrope','Source Sans 3',Arial,sans-serif;
  font-size:25px;
  line-height:1.2;
}

.hero-estimate-card-head small{
  color:#d7dfe5;
  font-size:13px;
}

.hero-estimate-form{
  padding:24px 26px 22px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px;
}

.hero-estimate-form label{
  display:block;
  margin:0;
}

.hero-estimate-form label > span{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.hero-estimate-form input,
.hero-estimate-form select,
.hero-estimate-form textarea{
  width:100%;
  border:1px solid #d8dee4;
  border-radius:5px;
  background:#fff;
  color:var(--sdt-ink);
  padding:14px;
  font:inherit;
  font-size:14px;
  outline:none;
}

.hero-estimate-form input,
.hero-estimate-form select{
  min-height:50px;
}

.hero-estimate-form textarea{
  min-height:92px;
  resize:vertical;
}

.hero-estimate-form input:focus,
.hero-estimate-form select:focus,
.hero-estimate-form textarea:focus{
  border-color:var(--sdt-red);
  box-shadow:0 0 0 3px rgba(185,28,67,.10);
}

.hero-form-full{
  grid-column:1 / -1;
}

.hero-estimate-submit{
  grid-column:1 / -1;
  width:100%;
  min-height:52px;
  border:0;
  border-radius:5px;
  background:var(--sdt-red);
  color:#fff;
  font:inherit;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
}

.hero-estimate-submit:hover,
.hero-estimate-submit:focus-visible{
  background:var(--sdt-red-dark);
}

.hero-form-note{
  grid-column:1 / -1;
  margin:0!important;
  color:#777!important;
  font-size:11px!important;
  line-height:1.45!important;
}

.hero-form-status{
  margin:18px 26px 0;
  padding:12px 14px;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
}

.hero-form-status.success{
  background:#edf8ef;
  color:#165b27;
}

.hero-form-status.error{
  background:#fff0f2;
  color:#8c1831;
}

@media(max-width:900px){
  .hero.hero-estimate{
    min-height:auto;
    padding:48px 0;
  }

  .hero-estimate-grid{
    grid-template-columns:1fr;
    gap:36px;
  }

  .hero-estimate-copy{
    max-width:760px;
  }

  .hero-estimate-card{
    max-width:680px;
  }
}

@media(max-width:620px){
  .hero.hero-estimate{
    padding:38px 0;
  }

  .hero-estimate h1{
    font-size:clamp(42px,12vw,58px);
    letter-spacing:-1.7px;
  }

  .hero-trust-pill{
    font-size:12px;
  }

  .hero-estimate .hero-lead{
    font-size:16px;
  }

  .hero-estimate-form{
    grid-template-columns:1fr;
    padding:20px;
  }

  .hero-form-full,
  .hero-estimate-submit,
  .hero-form-note{
    grid-column:auto;
  }

  .hero-estimate-card-head{
    padding:21px 20px 19px;
  }

  .hero-estimate-card-head strong{
    font-size:22px;
  }

  .hero-form-status{
    margin:16px 20px 0;
  }
}

/* ==========================================================
   HEADER CERTIFICATION BADGES
   IKO + BBB to the left of SDT logo
   ========================================================== */

.header-brand-group{
  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0;
}

.header-certifications{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.header-cert-link{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.header-cert-logo{
  display:block;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  object-fit:contain;
}

.header-cert-iko{
  width:48px!important;
  max-width:48px!important;
}

.header-cert-bbb{
  width:88px!important;
  max-width:88px!important;
}

.header-cert-link:hover{
  transform:translateY(-1px);
}

.logo-brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

@media(max-width:1080px){
  .site-nav{
    gap:16px;
  }

  .primary-menu>ul{
    gap:16px;
  }

  .primary-menu a{
    font-size:13px;
  }

  .header-brand-group{
    gap:12px;
  }

  .header-certifications{
    gap:7px;
  }

  .header-cert-iko{
    width:42px!important;
    max-width:42px!important;
  }

  .header-cert-bbb{
    width:76px!important;
    max-width:76px!important;
  }

  .logo-brand img{
    width:120px!important;
    max-width:120px!important;
  }
}

@media(max-width:900px){
  .header-brand-group{
    gap:10px;
  }

  .header-certifications{
    display:flex;
    align-items:center;
    gap:6px;
  }

  .header-cert-iko{
    width:34px!important;
    max-width:34px!important;
  }

  .header-cert-bbb{
    width:60px!important;
    max-width:60px!important;
  }

  .logo-brand img{
    width:108px!important;
    max-width:108px!important;
  }
}




/* ==========================================================
   MOBILE HEADER BADGES + SERVICE PHOTO VISIBILITY
   ========================================================== */

@media(max-width:620px){

  .site-nav{
    min-height:76px;
    gap:10px;
  }

  .header-brand-group{
    gap:8px;
    min-width:0;
  }

  .header-certifications{
    display:flex!important;
    align-items:center;
    gap:5px;
    flex-shrink:0;
  }

  .header-cert-iko{
    width:30px!important;
    max-width:30px!important;
  }

  .header-cert-bbb{
    width:52px!important;
    max-width:52px!important;
  }

  .logo-brand img,
  .site-logo img,
  .custom-logo-link img{
    width:92px!important;
    max-width:92px!important;
    max-height:72px!important;
  }

  .service-card::before{
    filter:blur(4px) saturate(.9);
    opacity:.58;
  }

  .service-card::after{
    background:rgba(255,255,255,.60);
  }

  .service-card.is-open::before{
    filter:blur(0) saturate(1);
    opacity:.78;
    transform:scale(1.01);
  }

  .service-card.is-open::after{
    background:rgba(255,255,255,.50);
  }

  .service-image{
    aspect-ratio:16/10;
    margin-top:4px;
  }

  .service-image img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
}


/* ==========================================================
   SERVICES PAGE REDESIGN
   Added 2026-11-01
   ========================================================== */

.services-page-hero{
  padding:72px 0 76px;
}

.services-page-hero .services-hero-inner{
  max-width:790px;
}

.services-page-hero h1{
  max-width:760px;
  margin-bottom:20px;
}

.services-page-hero p{
  max-width:760px;
  margin-bottom:28px;
}

.services-overview-intro{
  padding:72px 0 46px;
  background:#fff;
}

.services-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:70px;
  align-items:start;
}

.services-intro-grid h2{
  max-width:520px;
}

.services-intro-copy{
  padding-top:4px;
}

.services-intro-copy p{
  color:var(--sdt-muted);
  font-size:17px;
  line-height:1.75;
  margin-bottom:14px;
}

.services-showcase{
  padding:28px 0 88px;
  background:#fff;
}

.services-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.services-detail-card{
  background:#fff;
  border:1px solid var(--sdt-border);
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.055);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.services-detail-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#d8d8d8;
}

.services-detail-image{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e9e9e9;
}

.services-detail-image:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.26),
    rgba(0,0,0,0) 52%
  );
  pointer-events:none;
}

.services-detail-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .4s ease;
}

.services-detail-card:hover .services-detail-image img{
  transform:scale(1.035);
}


.services-detail-content{
  padding:30px 30px 32px;
}

.services-detail-label{
  margin-bottom:8px;
  color:var(--sdt-red);
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
}

.services-detail-content h2{
  font-size:clamp(25px,2.1vw,32px);
  line-height:1.15;
  margin-bottom:15px;
}

.services-detail-content > p{
  color:var(--sdt-muted);
  line-height:1.72;
  margin-bottom:20px;
}

.services-feature-list{
  list-style:none;
  margin:0 0 24px;
  padding:0;
  display:grid;
  gap:9px;
}

.services-feature-list li{
  position:relative;
  padding-left:25px;
  color:#3f3f3f;
  font-size:14px;
  line-height:1.55;
}

.services-feature-list li:before{
  content:'✓';
  position:absolute;
  left:0;
  top:0;
  color:var(--sdt-red);
  font-weight:900;
}

.services-text-link{
  display:inline-flex;
  align-items:center;
  color:var(--sdt-red);
  font-weight:900;
  text-decoration:none;
  font-size:14px;
}

.services-text-link:hover{
  text-decoration:underline;
}

.services-small-note{
  padding:12px 14px;
  margin:-3px 0 20px!important;
  background:var(--sdt-pale);
  border-left:3px solid var(--sdt-red);
  color:#666!important;
  font-size:12px!important;
  line-height:1.55!important;
}

.services-process-section{
  padding:82px 0;
  background:var(--sdt-pale);
  border-top:1px solid var(--sdt-border);
  border-bottom:1px solid var(--sdt-border);
}

.services-process-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:40px;
}

.services-process-card{
  background:#fff;
  border:1px solid var(--sdt-border);
  border-top:4px solid var(--sdt-red);
  border-radius:6px;
  padding:27px;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}


.services-process-card h3{
  margin-bottom:8px;
}

.services-process-card p{
  margin-bottom:0;
  color:var(--sdt-muted);
}

@media(max-width:900px){

  .services-intro-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .services-detail-grid{
    grid-template-columns:1fr;
  }

  .services-detail-card{
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  }

  .services-detail-image{
    aspect-ratio:auto;
    min-height:100%;
  }

  .services-process-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){

  .services-page-hero{
    padding:54px 0 58px;
  }

  .services-page-hero h1{
    font-size:clamp(40px,12vw,56px);
  }

  .services-overview-intro{
    padding:56px 0 32px;
  }

  .services-showcase{
    padding:20px 0 64px;
  }

  .services-detail-card{
    display:block;
  }

  .services-detail-image{
    aspect-ratio:16/10;
    min-height:0;
  }

  .services-detail-content{
    padding:24px 22px 27px;
  }

  .services-detail-content h2{
    font-size:25px;
  }

  .services-process-section{
    padding:62px 0;
  }
}


/* ==========================================================
   HOMEPAGE CUSTOMER SUCCESS STORIES GRID
   ========================================================== */

.homepage-project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  max-width:1180px;
  margin:0 auto;
}

.homepage-project-grid > a{
  transition:transform .25s ease,box-shadow .25s ease;
}

.homepage-project-grid > a:hover{
  transform:translateY(-4px);
  box-shadow:var(--sdt-shadow)!important;
}

@media(max-width:900px){
  .homepage-project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .homepage-project-grid{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   GOOGLE REVIEW LINK — HEADER UTILITY BAR
   Added 2026-11-08
   The homepage review panel already has its own scoped styling.
   ========================================================== */

.utility-bar a[href="https://g.page/r/CZqYmtAaRxPJEAE/review"]{
  color:#fff;
  font-weight:800!important;
  text-decoration:none;
  white-space:nowrap;
  transition:color .2s ease;
}

.utility-bar a[href="https://g.page/r/CZqYmtAaRxPJEAE/review"]:hover{
  color:#ffb7c9;
}

.utility-bar a[href="https://g.page/r/CZqYmtAaRxPJEAE/review"]:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}

@media(max-width:620px){
  .utility-bar .wrap{
    align-items:center;
    justify-content:center;
    text-align:center;
    row-gap:4px;
  }
  .utility-bar .wrap > span{
    max-width:100%;
  }
  .utility-bar a[href="https://g.page/r/CZqYmtAaRxPJEAE/review"]{
    display:inline-block;
    padding:2px 0;
  }
}


/* ==============================================================
   SDT 2026 VISUAL REFRESH — site-wide identity
   Retains original markup and responsive behavior above.
   ============================================================== */
:root{
  --sdt-red:#b91c43;
  --sdt-red-dark:#8f1735;
  --sdt-black:#151515;
  --sdt-charcoal:#26232a;
  --sdt-pale:#f7f6f7;
  --sdt-border:#e6e2e5;
  --sdt-shadow:0 18px 45px rgba(16,12,17,.10);
  --sdt-red-gradient:linear-gradient(125deg,#821b36 0%,#b91c43 60%,#d02d52 100%);
  --sdt-dark-gradient:linear-gradient(120deg,#121316 0%,#26232a 58%,#4b1d2b 100%);
  --sdt-soft-gradient:linear-gradient(140deg,#fff 0%,#f8f5f6 50%,#f0eaed 100%);
}
body{font-family:'Source Sans 3',Arial,sans-serif;font-size:17px;line-height:1.65}
h1,h2,h3,h4,.faq-question,.trust-copy strong,.hero-estimate-card-head strong{
  font-family:'Manrope',Arial,sans-serif;letter-spacing:-.035em;
}
h1,h2{font-weight:800}
h3{font-weight:800}
.eyebrow{font-family:'Manrope',Arial,sans-serif;font-weight:800;letter-spacing:.17em}
.section{padding:88px 0}
.section.pale,.pale{background:var(--sdt-soft-gradient)}
.section:not(.pale) + .section:not(.pale){border-top:1px solid #f1edef}
.page-hero{background:var(--sdt-dark-gradient);border-bottom-color:var(--sdt-red)}
.page-hero.compact{background:linear-gradient(112deg,#171719 0%,#2b2027 65%,#761932 100%)}
.hero:before{background:linear-gradient(95deg,rgba(10,11,13,.94) 0%,rgba(26,20,25,.78) 58%,rgba(93,20,43,.32) 100%)}
.hero.hero-estimate:before{
  background:linear-gradient(101deg,rgba(13,14,16,.96) 0%,rgba(23,22,26,.91) 42%,rgba(62,23,38,.72) 70%,rgba(100,26,48,.40) 100%);
}
.hero-estimate h1{letter-spacing:-.045em;line-height:1.06}
.hero-estimate .hero-lead{line-height:1.55}
.hero-trust-pill{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.28);backdrop-filter:blur(8px)}
.btn,.hero-estimate-submit,.sdt-google-review-button{
  font-family:'Manrope',Arial,sans-serif;font-weight:800;border-radius:7px;
  background:var(--sdt-red-gradient);border-color:#b91c43;
  box-shadow:0 7px 17px rgba(139,22,53,.15);
  transition:background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.btn:hover,.hero-estimate-submit:hover,.sdt-google-review-button:hover{
  background:linear-gradient(125deg,#75182e,#a1193c);box-shadow:0 12px 24px rgba(139,22,53,.20);
  transform:translateY(-2px)
}
.btn-outline{background:transparent;box-shadow:none;color:var(--sdt-red)!important}
.btn-outline:hover{color:#fff!important}
.hero .btn-secondary,.hero-estimate .btn-secondary{box-shadow:none}
.hero-estimate-card{border:1px solid rgba(255,255,255,.5);border-radius:12px;box-shadow:0 25px 65px rgba(0,0,0,.30)}
.hero-estimate-card-head{background:var(--sdt-dark-gradient);border-bottom:4px solid var(--sdt-red)}
.hero-estimate-card-head span{font-family:'Manrope',Arial,sans-serif}
.hero-estimate-submit{border:0}
.hero-estimate-form input,.hero-estimate-form select,.hero-estimate-form textarea,.sdt-form input,.sdt-form select,.sdt-form textarea{border-radius:7px}
.utility-bar{background:linear-gradient(100deg,#161517,#2a2328);border-bottom:2px solid var(--sdt-red)}
.site-header{background:rgba(255,255,255,.98);box-shadow:0 6px 22px rgba(0,0,0,.065)}
.primary-menu a{font-family:'Manrope',Arial,sans-serif;font-weight:700;letter-spacing:-.01em}
.primary-menu a:hover,.primary-menu .current-menu-item>a{color:var(--sdt-red)}
.header-cta{white-space:nowrap}
.service-card,.value-card,.project-card,.testimonial,.services-detail-card,.services-process-card,.sdt-trust-card{
  border-radius:10px;box-shadow:0 10px 26px rgba(20,13,19,.06);
}
.service-card,.services-detail-card,.project-card{transition:transform .25s ease,box-shadow .25s ease}
.service-card:hover,.services-detail-card:hover,.project-card:hover{box-shadow:var(--sdt-shadow)}
.service-number{background:var(--sdt-dark-gradient);font-family:'Manrope',Arial,sans-serif}
.value-card,.services-process-card,.sdt-trust-card{border-top:4px solid var(--sdt-red)}
.photo-panel{border-radius:11px;box-shadow:var(--sdt-shadow)}
.callout{background:var(--sdt-dark-gradient);border-left-color:var(--sdt-red);border-radius:12px}
.site-footer{background:var(--sdt-dark-gradient);border-top:5px solid var(--sdt-red)}
.site-footer h3{letter-spacing:-.02em}
.footer-logo img{background:#fff}
.sdt-google-review-section{background:var(--sdt-dark-gradient)!important}
.sdt-google-review-button{border-radius:7px!important}
/* Homepage trust strip and project cards have some inline styling. */
.sdt-home-bbb-strip{background:var(--sdt-soft-gradient)!important}
.homepage-project-grid > a{border-radius:10px!important;transition:transform .25s ease,box-shadow .25s ease}
.homepage-project-grid > a:hover{box-shadow:var(--sdt-shadow)!important;transform:translateY(-5px)}
.homepage-project-grid > a img{transition:transform .35s ease}
.homepage-project-grid > a:hover img{transform:scale(1.035)}
.sdt-trust-card{background:linear-gradient(145deg,#fff,#faf7f8)!important;border-radius:10px!important}
/* Accessible mobile spacing and reduced-motion behavior. */
@media(max-width:900px){.section{padding:70px 0}.primary-menu{background:#fff}.site-nav{gap:14px}}
@media(max-width:620px){
  .section{padding:58px 0}
  .hero-estimate h1{letter-spacing:-.035em}
  .hero.hero-estimate:before{background:linear-gradient(145deg,rgba(17,17,20,.96),rgba(49,23,34,.79))}
  .sdt-google-review-button{box-shadow:none}
}
@media(prefers-reduced-motion:reduce){.btn,.hero-estimate-submit,.sdt-google-review-button{transform:none!important}}
