/* ============================================================
   HOME PAGE ONLY  (loaded by index.php after styles.css)
   Layout refresh — Oct 2026
   ============================================================ */

/* One font system: "Sora" was referenced but never loaded */
.home-page .nps,
.home-page .svc-section{
  --font-display:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --font-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* Reveal: main.js adds .in, older inline script added .is-in — accept both */
.home-page .reveal.in,
.home-page .reveal.is-in{opacity:1;transform:none}

/* Tighter, consistent section rhythm */
.home-page .nps,
.home-page .svc-section{padding:clamp(56px,7vw,92px) 0}
.home-page .nps-head{margin-bottom:clamp(28px,4vw,44px)}
.home-page .nps-head h2,
.home-page .nps h2.nps-title,
.home-page .svc-head h2{font-size:clamp(1.75rem,3.4vw,2.5rem)}

/* ---------- Hero ---------- */
.home-page .hero-copy .lede{max-width:42ch}
.home-page .hero-cta .btn{white-space:nowrap}
.home-page .hero-cta .btn svg{flex:none}
/* desktop already shows the quote form beside the copy */
@media (min-width:1181px){ .home-page .hero-cta-quote{display:none} }
.home-page .hero-quote-card .quote-form{padding:20px 26px 22px}
.home-page .hero-quote-card .field{margin-bottom:11px}

/* ---------- Services ---------- */
.home-page .svc-head{margin-bottom:clamp(28px,4vw,40px)}
.home-page .svc-card .svc-media{display:block}
.home-page .svc-card .svc-body{padding:20px 22px 22px}
.home-page .svc-card h3{margin:6px 0 8px}
.home-page .svc-card p{font-size:.93rem}
.home-page .svc-featured .svc-media{min-height:340px}
.home-page .svc-featured .svc-checks{margin-bottom:26px}

/* ---------- Deals ---------- */
.home-page .deal-body h3{margin-bottom:4px}
.home-page .deal-media{aspect-ratio:16/11}

/* ---------- Why (merged intro + why us) ---------- */
.home-page .why-collage .img-main{aspect-ratio:5/4}
.home-page .why-collage .img-small{width:38%;bottom:48px;aspect-ratio:3/4}
.home-page .why-copy .check-list{margin:20px 0 4px}
.home-page .why-copy .cta-row{margin-top:26px}

/* ---------- How it works: photo steps ---------- */
.hp-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,22px);counter-reset:none}
.hp-step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease}
.hp-step:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover)}
.hp-step-img{position:relative;aspect-ratio:4/3;overflow:hidden}
.hp-step-img img{width:100%;height:100%;object-fit:cover}
.hp-step-num{position:absolute;left:14px;bottom:-20px;width:44px;height:44px;border-radius:14px;background:var(--spruce);color:var(--amber);font-family:var(--font-display);font-weight:800;font-size:1.05rem;display:flex;align-items:center;justify-content:center;border:3px solid #fff;box-shadow:var(--shadow)}
.hp-step-img{overflow:visible}
.hp-step-img img{border-radius:var(--radius) var(--radius) 0 0}
.hp-step h3{font-family:var(--font-display);font-size:1.04rem;font-weight:700;color:var(--spruce);line-height:1.3;margin:32px 20px 6px}
.hp-step p{font-size:.9rem;line-height:1.55;color:var(--ink-soft);margin:0 20px 22px}

/* ---------- Homes & businesses: photo tiles ---------- */
.hp-aud-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,20px)}
.hp-aud{position:relative;display:block;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);text-decoration:none;isolation:isolate}
.hp-aud img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease;z-index:-2}
.hp-aud::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(16,49,43,0) 35%,rgba(16,49,43,.92) 100%)}
.hp-aud:hover img{transform:scale(1.06)}
.hp-aud-body{position:absolute;left:0;right:0;bottom:0;padding:20px 20px 22px;color:#fff;display:flex;flex-direction:column;gap:4px}
.hp-aud-body h3{color:#fff;font-family:var(--font-display);font-size:1.12rem;font-weight:700;line-height:1.25}
.hp-aud-body span{font-size:.85rem;color:#C9DAD2}
.hp-aud .hp-go{position:absolute;top:-34px;right:18px;width:40px;height:40px;border-radius:50%;background:var(--amber);color:var(--amber-ink);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.05rem;transition:transform .25s ease}
.hp-aud:hover .hp-go{transform:translateX(4px)}
.hp-aud:focus-visible{outline:3px solid var(--amber);outline-offset:3px}

/* ---------- Signs: photo tiles ---------- */
.hp-signs{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.8vw,18px);margin-bottom:clamp(28px,4vw,40px)}
.hp-sign{position:relative;aspect-ratio:16/10;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);isolation:isolate}
.hp-sign img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s ease}
.hp-sign:hover img{transform:scale(1.05)}
.hp-sign::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(16,49,43,0) 40%,rgba(16,49,43,.9) 100%)}
.hp-sign span{position:absolute;left:18px;right:18px;bottom:16px;color:#fff;font-weight:700;font-size:.98rem;line-height:1.35;display:flex;gap:10px;align-items:flex-start}
.hp-sign span::before{content:"!";flex:none;width:22px;height:22px;border-radius:50%;background:var(--amber);color:var(--amber-ink);display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:900;margin-top:1px}

/* ---------- Seasonal calendar: photo cards ---------- */
.hp-seasons{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,20px)}
.hp-season{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hp-season-img{position:relative;aspect-ratio:4/3;overflow:hidden}
.hp-season-img img{width:100%;height:100%;object-fit:cover}
.hp-season-tag{position:absolute;left:12px;top:12px;background:var(--spruce);color:#fff;font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:6px 12px;border-radius:999px}
.hp-season p{padding:16px 18px 20px;font-size:.92rem;line-height:1.55;color:var(--ink);margin:0}
.hp-season p a{color:var(--brand-dark);font-weight:700}

/* ---------- DIY vs pro: table + photo ---------- */
.hp-diy{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(24px,4vw,52px);align-items:center}
.hp-diy-copy .nps-title{margin:14px 0 22px}
.hp-diy .cmp-table td.no{color:#A04A1C;font-weight:600}
.hp-diy .cmp-table td.yes{color:var(--brand-dark);font-weight:800}
.hp-diy .table-wrap .cmp-table{min-width:480px}
.hp-diy-img{margin:0;border-radius:calc(var(--radius) + 6px);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5}
.hp-diy-img img{width:100%;height:100%;object-fit:cover}

/* ---------- Areas: city photo cards ---------- */
.hp-areas{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.8vw,18px)}
.hp-areas a{position:relative;display:block;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);isolation:isolate;text-decoration:none}
.hp-areas img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s ease}
.hp-areas a::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(16,49,43,.05) 30%,rgba(16,49,43,.82) 100%)}
.hp-areas a:hover img{transform:scale(1.06)}
.hp-areas span{position:absolute;left:18px;right:18px;bottom:14px;color:#fff;font-family:var(--font-display);font-weight:800;font-size:1.2rem;display:flex;justify-content:space-between;align-items:center}
.hp-areas span::after{content:"\2192";width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.18);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;font-size:1rem;transition:background .2s ease}
.hp-areas a:hover span::after{background:var(--amber);color:var(--amber-ink)}
.hp-areas a:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.hp-emergency{margin-top:clamp(20px,3vw,28px);display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:var(--spruce);color:#fff;border-radius:var(--radius);padding:18px 22px}
.hp-emergency svg{color:var(--amber);flex:none}
.hp-emergency p{flex:1;min-width:220px;margin:0;color:#DDE9E3}
.hp-emergency strong{color:#fff}
.hp-emergency .btn{white-space:nowrap}

/* ---------- Blog ---------- */
.home-page .blog-grid{grid-template-columns:repeat(3,1fr)}

/* ---------- FAQ: photo + accordion ---------- */
.hp-faq{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(24px,4vw,56px);align-items:start}
.hp-faq-side{position:sticky;top:120px}
.hp-faq-side .nps-title{margin:14px 0 20px}
.hp-faq-side figure{margin:0;border-radius:calc(var(--radius) + 6px);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}
.hp-faq-side figure img{width:100%;height:100%;object-fit:cover}
.hp-faq .svc-faq{max-width:none;margin:0}
.hp-faq .faq-item:last-child{margin-bottom:0}

/* ---------- Final CTA with photo ---------- */
.hp-cta-wrap{padding-top:0 !important}
.hp-cta{isolation:isolate;min-height:260px}
.hp-cta .hp-cta-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hp-cta::before{z-index:-1 !important;background:linear-gradient(90deg,rgba(16,49,43,.96) 0%,rgba(16,49,43,.86) 45%,rgba(16,49,43,.45) 100%) !important}
.hp-cta > div{position:relative}

/* ---------- Mobile sticky contact bar ---------- */
.hp-mbar{display:none}

/* ============ Responsive ============ */
@media (max-width:1180px){
  .home-page .hero{padding:96px 0 48px}
}
@media (max-width:1024px){
  .hp-steps,.hp-aud-grid,.hp-seasons{grid-template-columns:repeat(2,1fr)}
  .hp-aud{aspect-ratio:4/3}
  .home-page .blog-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .hp-diy,.hp-faq{grid-template-columns:1fr}
  .hp-diy-img{aspect-ratio:16/9;order:-1}
  .hp-faq-side{position:static}
  .hp-faq-side figure{display:none}
  .hp-signs,.hp-areas{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .home-page .hero{padding:84px 0 40px}
  .home-page .hero-cta .btn{flex:1 1 100%;justify-content:center}
  .home-page .trust-strip{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:16px}
  .home-page .trust-strip li{font-size:.8rem}
  .hp-steps,.hp-seasons,.home-page .blog-grid{grid-template-columns:1fr}
  .hp-steps{gap:16px}
  .hp-step-img{aspect-ratio:16/9}
  .hp-aud-grid{grid-template-columns:1fr 1fr;gap:12px}
  .hp-aud{aspect-ratio:3/4}
  .hp-aud-body{padding:14px}
  .hp-aud-body h3{font-size:.95rem}
  .hp-aud-body span:not(.hp-go){display:none}
  .hp-aud .hp-go{width:32px;height:32px;top:-28px;right:12px;font-size:.9rem}
  .hp-signs{grid-template-columns:1fr 1fr;gap:10px}
  .hp-sign{aspect-ratio:1/1}
  .hp-sign span{left:12px;right:12px;bottom:12px;font-size:.84rem}
  .hp-sign span::before{display:none}
  .hp-areas{grid-template-columns:1fr 1fr;gap:10px}
  .hp-areas a{aspect-ratio:4/3}
  .hp-areas span{font-size:1rem;left:12px;right:12px;bottom:10px}
  .hp-areas span::after{width:28px;height:28px}
  .home-page .why-collage .img-small{display:none}
  .home-page .badge-float{left:12px;bottom:-18px}
  .hp-emergency .btn{width:100%;justify-content:center}
  .hp-cta .hp-cta-bg{object-position:70% center}
  .hp-cta::before{background:rgba(16,49,43,.86) !important}
  .home-page .rev-topbar .btn{width:100%;justify-content:center}

  /* sticky contact bar */
  .home-page{padding-bottom:64px}
  .hp-mbar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:120;box-shadow:0 -8px 24px -10px rgba(9,45,27,.4)}
  .hp-mbar a,.hp-mbar button{display:flex;align-items:center;justify-content:center;gap:8px;height:56px;font-weight:700;font-size:.95rem;border:0;font-family:var(--font-body)}
  .hp-mbar a{background:var(--brand);color:#fff}
  .hp-mbar button{background:var(--amber);color:var(--amber-ink)}
}

/* tweaks after review */
.home-page .rev-topbar .nps-head{max-width:760px}
.home-page .rev-dot{background:#C5D6CC}
.hp-cta::before{background:linear-gradient(90deg,rgba(16,49,43,.96) 0%,rgba(16,49,43,.82) 50%,rgba(16,49,43,.3) 100%) !important}
@media (max-width:960px){
  .home-page .svc-featured{grid-template-columns:minmax(0,1fr)}
  .home-page .svc-featured > *{min-width:0}
  .home-page .svc-featured .svc-media{min-height:230px}
  .home-page .svc-featured .btn{white-space:normal;text-align:center;justify-content:center}
}
.hp-diy > *, .hp-faq > *{min-width:0}
@media (max-width:900px){ .hp-diy,.hp-faq{grid-template-columns:minmax(0,1fr)} }
@media (max-width:640px){
  .hp-diy .table-wrap .cmp-table{min-width:0;font-size:.82rem}
  .hp-diy .cmp-table th,.hp-diy .cmp-table td{padding:10px 9px}
}

/* ---------- Mobile: shorter page — compact grids & swipe rows ---------- */
@media (max-width:640px){
  /* services: 2-up compact cards */
  .home-page .svc-grid{grid-template-columns:1fr 1fr;gap:12px}
  .home-page .svc-card .svc-media{aspect-ratio:4/3}
  .home-page .svc-card .svc-body{padding:12px 12px 14px}
  .home-page .svc-card .svc-tag,
  .home-page .svc-card p{display:none}
  .home-page .svc-card h3{font-size:.92rem;margin:0 0 10px;line-height:1.3}
  .home-page .svc-card .svc-link{margin-top:auto;font-size:0;padding:0;border:0;background:none;width:100%}
  .home-page .svc-card .svc-link::after{content:"View service \2192";font-size:.8rem;display:block;width:100%;text-align:center;padding:8px 10px;border:1.5px solid var(--brand);border-radius:999px;color:var(--brand-dark)}
  .home-page .svc-featured .svc-checks li{font-size:.92rem}

  /* swipe rows */
  .home-page .deal-grid,
  .hp-steps,
  .hp-seasons{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin-inline:-16px;padding:4px 16px 14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .home-page .deal-grid::-webkit-scrollbar,.hp-steps::-webkit-scrollbar,.hp-seasons::-webkit-scrollbar{display:none}
  .home-page .deal-card,
  .hp-step,
  .hp-season{flex:0 0 82%;scroll-snap-align:start}
  .hp-step:hover,.home-page .deal-card:hover{transform:none}
}
@media (max-width:640px){
  .home-page .deal-grid,.hp-steps,.hp-seasons,.home-page .blog-grid{scroll-padding-inline:16px}
  .home-page .blog-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;margin-inline:-16px;padding:4px 16px 14px;scrollbar-width:none}
  .home-page .blog-grid::-webkit-scrollbar{display:none}
  .home-page .blog-card{flex:0 0 82%;scroll-snap-align:start}
}
