:root{
  --bg:#0A0B0D;
  --bg2:#111318;
  --card:#14161A;
  --line:rgba(255,255,255,.10);
  --text:#F2F4F8;
  --muted:#9AA3B5;
  --brand:#F97316;
  --brand-hover:#fb923c;
  --ok:#34d399;
  --star:#FBBF24;
  --font:"Inter",ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  --max:1000px;
  --radius:10px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(900px 420px at 10% -10%,rgba(249,115,22,.16),transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.wrap{width:min(var(--max),calc(100% - 2rem));margin:0 auto}
.nav{
  position:sticky;top:0;z-index:30;
  backdrop-filter:blur(14px);
  background:rgba(10,11,13,.88);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;justify-content:space-between;align-items:center;padding:.95rem 0;gap:1rem}
.nav nav{display:flex;gap:.95rem;flex-wrap:wrap;align-items:center}
.logo{font-weight:800;letter-spacing:-.02em;font-size:1.05rem}
.logo span{color:var(--brand)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.78rem 1.1rem;border-radius:999px;font-weight:750;
  border:1px solid transparent;cursor:pointer;font:inherit;
  transition:background .15s,border-color .15s,transform .15s;
}
.btn:active{transform:translateY(1px)}
.btn-call,.btn-primary{background:var(--brand);color:#111}
.btn-call:hover,.btn-primary:hover{background:var(--brand-hover)}
.btn-quote{
  background:transparent;
  border-color:rgba(249,115,22,.55);
  color:var(--text);
}
.btn-quote:hover{border-color:var(--brand);color:#fff}
.btn-block{width:100%}
.badge{
  display:inline-block;font-size:.7rem;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;color:var(--brand);
}
.hero{padding:2.75rem 0 1.6rem}
.hero h1{
  font-size:clamp(1.95rem,4.4vw,2.85rem);
  line-height:1.06;letter-spacing:-.035em;
  margin:.5rem 0 .9rem;max-width:16ch;
}
.hero .lede{color:var(--muted);max-width:38rem;margin:0;font-size:1.02rem}
.phone{font-size:1.45rem;font-weight:850;color:var(--brand);margin:1.1rem 0 0}
.phone a{color:inherit}
.hero-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}
.reviews{
  display:flex;flex-wrap:wrap;gap:.75rem 1.15rem;
  align-items:center;margin-top:1.45rem;
  padding:1rem 1.15rem;border:1px solid var(--line);
  border-radius:14px;background:rgba(255,255,255,.035);
}
.stars{color:var(--star);letter-spacing:.08em;font-size:1.05rem;font-weight:700}
.reviews .score{font-weight:800}
.reviews .muted{margin:0;font-size:.92rem;flex:1 1 220px}
section{padding:2.1rem 0}
h2{font-size:1.4rem;margin:0 0 .95rem;letter-spacing:-.02em}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 42%),var(--card);
  border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.15rem;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.card h3{margin:0 0 .4rem;font-size:1.02rem}
.card p,.muted{margin:0;color:var(--muted);font-size:.95rem}
.band{
  border:1px solid var(--line);border-radius:16px;padding:1.35rem 1.4rem;
  background:linear-gradient(135deg,rgba(249,115,22,.10),rgba(255,255,255,.02));
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
}
label{display:block;font-size:.82rem;color:var(--muted);margin:.7rem 0 .3rem;font-weight:600}
input,select,textarea{
  width:100%;padding:.8rem .9rem;border-radius:10px;
  border:1px solid var(--line);background:var(--bg2);color:var(--text);font:inherit;
}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:rgba(249,115,22,.55);
  box-shadow:0 0 0 3px rgba(249,115,22,.14);
}
.sticky{
  display:none;position:fixed;left:0;right:0;bottom:0;
  padding:.7rem;gap:.55rem;
  background:rgba(10,11,13,.96);
  border-top:1px solid var(--line);z-index:40;
}
@media(max-width:720px){
  .sticky{display:flex}
  .sticky .btn{flex:1}
  body{padding-bottom:4.6rem}
  .nav nav a:not(.btn){display:none}
}
footer{
  border-top:1px solid var(--line);
  padding:2rem 0 3rem;color:var(--muted);font-size:.9rem;margin-top:1rem;
}
.theme-template,.theme-hvac,.theme-plumbing{--brand:#F97316;--brand-hover:#fb923c}
.list{margin:.5rem 0 0;padding-left:1.1rem;color:var(--muted)}
.list li{margin:.3rem 0}

/* --- Trade photo funnel slots (hub .hero / .trade-photo match) --- */
.hero.hero-photo{
  position:relative;
  height:42vh;
  max-height:440px;
  min-height:280px;
  padding:0;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:var(--text);
}
.hero.hero-photo .hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero.hero-photo .hero-bg picture,
.hero.hero-photo .hero-bg img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero.hero-photo .hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(105deg,rgba(10,11,13,.92) 0%,rgba(10,11,13,.72) 42%,rgba(10,11,13,.38) 72%,rgba(10,11,13,.28) 100%),
    linear-gradient(to top,rgba(10,11,13,.72) 0%,rgba(10,11,13,.18) 48%,transparent 72%);
}
.hero.hero-photo .hero-content,
.hero.hero-photo > .wrap{
  position:relative;
  z-index:2;
  width:min(var(--max),calc(100% - 2rem));
  margin:0 auto;
  padding:1.85rem 0 1.35rem;
}
.hero.hero-photo h1{
  max-width:18ch;
  text-shadow:0 1px 18px rgba(0,0,0,.45);
  margin:.4rem 0 .65rem;
}
.hero.hero-photo .lede{
  color:rgba(242,244,248,.88);
  text-shadow:0 1px 10px rgba(0,0,0,.35);
  max-width:36rem;
}
.hero.hero-photo .phone{margin:.75rem 0 0}
.hero.hero-photo .hero-actions{margin-top:.95rem}
.hero.hero-photo .reviews{display:none} /* reviews live in proof only */

.service-tiles{
  display:grid;
  gap:.85rem;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.service-tiles .card{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.service-tiles .card .tile-body{padding:.75rem .9rem .9rem}
.service-tiles .card h3{margin:0 0 .2rem;font-size:.98rem}
.service-tiles .card p{
  margin:0;
  font-size:.84rem;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
/* Fixed crop band — hub .trade-photo pattern; never tall billboards */
.service-tiles .tile-photo,
.service-tiles .card > picture{
  display:block;
  width:100%;
  height:110px;
  max-height:110px;
  overflow:hidden;
  background:var(--bg2);
  flex-shrink:0;
}
.service-tiles .tile-photo img,
.service-tiles .card > picture img,
.service-tiles .tile-img{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center center;
  border-radius:0;
}

.proof-row{
  display:grid;
  gap:1.15rem;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);
  align-items:center;
}
.proof-row .proof-img,
.proof-row picture.proof-img{
  display:block;
  width:100%;
}
.proof-row img{
  width:100%;
  height:auto;
  max-height:240px;
  object-fit:cover;
  object-position:center center;
  border-radius:14px;
  border:1px solid var(--line);
  display:block;
}
.proof-row .reviews{margin-top:0}

@media(max-width:640px){
  .hero.hero-photo{
    height:auto;
    max-height:32vh;
    min-height:0;
  }
  .hero.hero-photo .hero-content,
  .hero.hero-photo > .wrap{
    padding:1.05rem 0 .9rem;
  }
  .hero.hero-photo h1{
    font-size:clamp(1.35rem,5.8vw,1.75rem);
    margin:.25rem 0 .4rem;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .hero.hero-photo .lede{display:none} /* cut mobile scroll bulk */
  .hero.hero-photo .phone{display:none} /* CTAs cover call; saves fold height */
  .hero.hero-photo .hero-actions{margin-top:.55rem;gap:.45rem}
  .hero.hero-photo .hero-actions .btn{padding:.62rem .9rem}

  .service-tiles{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.5rem;
  }
  .service-tiles .tile-photo,
  .service-tiles .card > picture{
    height:72px;
    max-height:72px;
  }
  .service-tiles .card .tile-body{padding:.45rem .5rem .55rem}
  .service-tiles .card h3{font-size:.78rem}
  .service-tiles .card p{font-size:.68rem}

  .proof-row{grid-template-columns:1fr}
  /* Mobile scroll killer: hide full-width proof photo; reviews only */
  .proof-row .proof-img{display:none}
}
@media(max-width:420px){
  .service-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
