/* Home Sweet Home Pros: trust redesign for the homepage (index.html) ONLY.
   Not linked from /lp/roofing/ or any other page. Overrides the homepage's inline <style> blocks. */
:root{--t-ink:#14213D;--t-blue:#1F56D6;--t-blue-d:#1844AD;--t-green:#1B7A43;--t-green-d:#156537;--t-band:#F3F5F8;--t-line:#C5CEDC;--t-sec:#33415C;
  --hsh-font-head:"Source Serif 4",Georgia,"Times New Roman",serif;--hsh-font-body:"Public Sans",Arial,Helvetica,sans-serif;--hsh-font-label:"Public Sans",Arial,Helvetica,sans-serif;--hsh-navy:#14213D;--hsh-radius:4px}
body{font-family:var(--hsh-font-body);font-size:17px;line-height:1.55;color:var(--t-ink);overflow-x:clip}
h1,h2,h3{font-family:var(--hsh-font-head);font-weight:700;letter-spacing:0;line-height:1.15}
h2{font-size:30px}
.lead,.trades-head p{color:var(--t-sec)}
.label,.tag,.eyebrow{text-transform:none;letter-spacing:0;font-family:var(--hsh-font-body);font-weight:600;font-size:14px}
section{padding:56px 0}
.sky{background:var(--t-band)}

/* buttons: 4px, no pills, no glow. Next-step = blue */
.btn{border-radius:4px;font:700 17px/1 var(--hsh-font-body);background:var(--t-blue);border-color:var(--t-blue);min-height:48px;box-shadow:none}
.btn:hover{background:var(--t-blue-d);border-color:var(--t-blue-d)}

/* header */
header{background:#fff;backdrop-filter:none;border-bottom:1px solid var(--t-line)}
nav a{color:var(--t-ink);font-weight:600}
nav .join{border:0;padding:0;border-radius:0;color:var(--t-ink)}
.burger{border-radius:4px;background:#fff;border:1px solid var(--t-line)}
.burger svg{stroke:var(--t-ink)}
.hcta{border-radius:4px;font-size:15px;padding:0 14px;min-height:44px;position:relative;overflow:hidden;box-shadow:0 4px 14px rgba(31,86,214,.38)}
.hcta:hover{box-shadow:0 6px 18px rgba(31,86,214,.5)}
.hcta:after{content:"";position:absolute;top:0;bottom:0;left:-55%;width:38%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);transform:skewX(-18deg);pointer-events:none}
@media (prefers-reduced-motion:no-preference){.hcta:after{animation:hctaShine 3.4s ease-in-out infinite}}
@keyframes hctaShine{0%{transform:translateX(0) skewX(-18deg)}35%,100%{transform:translateX(420%) skewX(-18deg)}}
.mnav a{color:var(--t-ink);font-weight:600}

/* hero: full-width photo + navy overlay, centred copy and search panel */
.hero{padding:56px 0 64px;text-align:center;color:#fff;
  background-color:var(--t-ink);
  background-image:linear-gradient(rgba(13,24,48,.66),rgba(13,24,48,.66)),url(img/northeast/ne-street-hero-800.webp);
  background-size:cover;background-position:center 55%;background-repeat:no-repeat}
@media (min-width:800px){.hero{background-image:linear-gradient(rgba(13,24,48,.66),rgba(13,24,48,.66)),url(img/northeast/ne-street-hero.webp)}}
.hero:before{display:none}
.hero-grid{display:block}
.hero-copy{max-width:860px;margin:0 auto}
.hero h1{color:#fff;font-size:31px;line-height:1.12;margin:0 0 16px}
.hero p.sub{color:#E8EDF5;font-size:18px;margin:0 auto 26px;max-width:680px}
.finder{background:#fff;border-radius:4px;padding:12px;box-shadow:0 18px 40px rgba(8,15,32,.35);text-align:left}  /* allowed shadow #2 */
.field{border:1px solid #8A96AB;border-radius:4px}
.field:focus-within{border-color:var(--t-blue);box-shadow:0 0 0 3px rgba(31,86,214,.2)}
.field label{font-family:var(--hsh-font-body);text-transform:none;letter-spacing:0;font-size:13px;font-weight:600;color:var(--t-sec)}
.field select,.field input{font:500 17px var(--hsh-font-body);color:var(--t-ink);border-radius:4px}
.finder .btn-find{background:var(--t-green);border-color:var(--t-green);color:#fff;min-height:56px}
.finder .btn-find:hover{background:var(--t-green-d);border-color:var(--t-green-d)}
.assure-row{justify-content:center;color:#fff;font-weight:600;font-size:16px;gap:8px 28px;margin-top:18px}
.assure-row span{position:relative;padding-left:24px}
.assure-row span:before{content:"";position:absolute;left:4px;top:3px;width:7px;height:13px;border:solid #7BE0A4;border-width:0 3px 3px 0;transform:rotate(45deg)}
.ferr{color:#B42318;background:#fff;padding:6px 8px;border-radius:4px}
@media (min-width:1024px){
  .hero{padding:96px 0 104px!important}
  .hero h1{font-size:48px}
  .hero p.sub{font-size:20px}
  .finder{grid-template-columns:1.25fr 1fr auto;padding:12px}
}

/* project grid: white bordered tiles, blue 44px line icon above the name */
.trades{padding:56px 0 64px}
.trades-head h2{font-size:30px}
.trade{align-items:center;text-align:center;justify-content:flex-start;border:1px solid var(--t-line);border-radius:4px;box-shadow:none;transition:border-color .15s;min-height:150px;gap:10px}
.trade:hover,.trade.demo{transform:none;box-shadow:none;border-color:var(--t-blue)}
.ticon,.ticon.c1,.ticon.c2,.ticon.c3,.ticon.c4{background:none!important;color:var(--t-blue)!important;width:44px;height:44px;border-radius:0}
.ticon .ic{width:44px!important;height:44px!important;stroke:var(--t-blue);stroke-width:1.5}
.trade b{font:700 17px/1.25 var(--hsh-font-body);color:var(--t-ink)}
.trade small{margin-top:auto;color:var(--t-blue);font-weight:600;font-size:14px;justify-content:center}
.trade.alt{background:#fff;border-color:var(--t-line);color:var(--t-ink)}
.trade.alt .ticon{background:none!important;color:var(--t-blue)!important}
.trade.alt small{color:var(--t-blue)}
@media (min-width:1024px){.trade{min-height:180px;padding:22px 14px 18px}.trades-head h2{font-size:36px}}

/* how it works: navy band */
.how{background:var(--t-ink);color:#fff}
.how h2{color:#fff;margin:0 0 24px}
.how-steps{list-style:none;margin:0;padding:0;display:grid;gap:24px;counter-reset:hw}
.how-steps li{counter-increment:hw;border-top:3px solid #fff;padding-top:14px}
.how-steps li:before{content:counter(hw);display:block;font:700 28px/1 var(--hsh-font-head);margin-bottom:8px}
.how-steps b{display:block;font-size:19px;margin-bottom:4px}
.how-steps span{color:#D5DCE8}
@media (min-width:720px){.how-steps{grid-template-columns:repeat(3,1fr);gap:32px}}

/* find pros near you (coverage map and stats removed) */
#near .map-grid{display:block;max-width:760px}
.mini{border-radius:4px;box-shadow:none;border:1px solid var(--t-line)}

/* cost calculators: no empty price range, no hover lift */
.calc{border:1px solid var(--t-line);border-radius:4px;transition:border-color .2s}
.calc:hover,.calc.demo{transform:none;box-shadow:none;border-color:var(--t-blue)}
.calc:hover .calc-img img,.calc.demo .calc-img img{transform:none}
.calc-img:after{display:none}
.calc-badge{border-radius:4px;box-shadow:none;border:1px solid var(--t-line)}
.calc .label{font-size:17px;font-weight:700;color:var(--t-ink);margin-top:2px}
.calc .go{font:600 16px var(--hsh-font-body);color:var(--t-blue);border-top:1px solid var(--t-line)}

/* what you can expect from us */
.trust{background:var(--t-band);border:0;padding:56px 0}
.trust h2{text-align:left;font-size:30px}
.expect{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:16px}
.expect li{background:#fff;border:1px solid var(--t-line);border-radius:4px;padding:18px 18px 18px 50px;position:relative}
.expect li:before{content:"";position:absolute;left:20px;top:21px;width:8px;height:15px;border:solid var(--t-green);border-width:0 3px 3px 0;transform:rotate(45deg)}
.expect b{display:block;font-size:18px}
.expect span{color:var(--t-sec)}
@media (min-width:720px){.expect{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.expect{grid-template-columns:repeat(4,1fr)}.trust h2{font-size:36px}}

/* guides: photo on top, title underneath */
.post{border-radius:4px;box-shadow:none;border:1px solid var(--t-line)}
.post-art,.g1,.g2,.g3{background:var(--t-band)}
.post-art{aspect-ratio:3/2}
.post h3{font-size:21px;line-height:1.25}
.tag{color:var(--t-sec)}
.read,.seeall{color:var(--t-blue);font-weight:600}

/* footer: navy, white links */
footer{background:var(--t-ink);color:#D5DCE8}
.ftag{color:#fff;font-weight:600;margin:10px 0 16px}
.fcta{margin:0 0 26px;background:var(--t-blue);border-color:var(--t-blue)}
.flinks a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.disc{border-top:1px solid rgba(255,255,255,.2);color:#C9D1DE}

/* mobile sticky bar: "Get a free quote" (no phone number on the homepage) */
.sticky{box-shadow:none;border-top:1px solid var(--t-line)}
.sticky .btn{min-height:52px}
@media (min-width:1024px){section{padding:88px 0}.trades{padding:72px 0 88px}h2{font-size:36px}}
@media (max-width:379px){.hero h1{font-size:28px}}
nav a{display:inline-flex;align-items:center;min-height:44px}
/* header CTA label: always visible on mobile (the old inline rule hid it under 380px) */
@media (max-width:1023px){
  .hero p.sub{display:none!important}
  .hcta .hcta-m{display:inline}
  .hcta{font-size:12.5px;padding:6px 10px;line-height:1.2;white-space:normal;text-align:center;height:auto;max-width:min(200px,52vw)}
}
