/* ============================================================
   Fenwick Plumbing & Heating — Design Lab demo stylesheet
   Heritage trade · deep navy/teal · copper & brass accents
   ============================================================ */

:root {
  /* Brand palette */
  --navy:        #0e2433;
  --navy-deep:   #081722;
  --teal:        #134e54;
  --teal-soft:   #1c6a72;
  --copper:      #c0744a;
  --copper-lit:  #dd9367;
  --brass:       #c7a34f;
  --brass-lit:   #e0c47e;
  --cream:       #f4ede1;
  --paper:       #faf6ee;
  --ink:         #16242e;
  --ink-soft:    #46586280;
  --line:        #d7cab4;
  --line-dark:   #1c3a48;
  --emerald:     #1f9e6a;
  --white:       #ffffff;

  /* Type */
  --display: "Roslindale", "Zilla Slab", Georgia, serif;
  --body:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Structure */
  --wrap: 1180px;
  --r:    6px;
  --r-lg: 14px;
  --shadow: 0 18px 50px -22px rgba(8,23,34,.5);
  --shadow-soft: 0 10px 30px -18px rgba(8,23,34,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.06; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 26px; height: 2px; background: var(--copper);
  transform: translateY(-50%);
}
.eyebrow.on-dark { color: var(--brass-lit); }
.eyebrow.on-dark::before { background: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 700;
  font-size: .92rem; letter-spacing: .02em;
  padding: .92em 1.5em; border-radius: var(--r);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid { background: var(--copper); color: var(--white); box-shadow: 0 10px 24px -12px rgba(192,116,74,.8); }
.btn-solid:hover { background: var(--copper-lit); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: var(--brass-lit); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(244,237,225,.5); color: var(--cream); }
.btn-outline-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-dark);
}
.topbar {
  background: var(--teal);
  color: var(--cream);
  font-size: .76rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 8px; padding-bottom: 8px; }
.topbar .tb-r { display: flex; gap: 1.4rem; align-items: center; }
.topbar a { color: var(--brass-lit); font-weight: 700; }
.topbar svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; margin-right: 5px; stroke: var(--brass-lit); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 16px 28px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.28rem; color: var(--cream); letter-spacing: -.01em; }
.brand-name b { color: var(--brass-lit); font-weight: 600; }
.brand-sub { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--copper-lit); margin-top: 4px; }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--cream); font-weight: 600; font-size: .94rem; position: relative; padding: 6px 0; opacity: .82; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--copper); transition: width .3s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { color: var(--brass-lit); font-weight: 700; font-size: .95rem; white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--cream); transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 18%, rgba(28,106,114,.5), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(192,116,74,.22), transparent 55%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 92px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin: .4rem 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--brass-lit); }
.hero-tag { font-size: 1.12rem; max-width: 30ch; color: #d6dce0; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust span { display: flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .05em; color: #c4cdd3; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--brass-lit); }

.hero-media { position: relative; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4)); }
.hero-est {
  position: absolute; bottom: -22px; left: -18px;
  background: var(--cream); color: var(--navy);
  border-radius: 50%; width: 122px; height: 122px;
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--copper);
}
.hero-est .n { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.hero-est .l { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; color: var(--teal); }

/* ---------- Credential / trust badges ---------- */
.creds { background: var(--navy-deep); border-top: 1px solid var(--line-dark); }
.creds .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; background: var(--line-dark); }
.cred {
  background: var(--navy-deep); color: var(--cream);
  padding: 30px 26px; display: flex; gap: 16px; align-items: center;
}
.cred svg { width: 38px; height: 38px; flex: 0 0 auto; stroke: var(--brass-lit); }
.cred h4 { font-family: var(--body); font-weight: 700; font-size: .98rem; color: var(--white); margin-bottom: 3px; }
.cred p { margin: 0; font-size: .8rem; color: #9fadb5; }

/* ---------- Stat strip ---------- */
.stats { background: var(--teal); color: var(--cream); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 56px 0; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -1rem; top: 12%; height: 76%; width: 1px; background: rgba(244,237,225,.2); }
.stat .n { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--brass-lit); line-height: 1; }
.stat .l { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 10px; color: #cdd6d8; }

/* ---------- Generic section ---------- */
.section { padding: 96px 0; }
.section.paper { background: var(--paper); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--cream); }
.section.tight { padding: 70px 0; }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { padding-left: 0; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.sec-head p { color: #4a5a62; font-size: 1.06rem; }
.section.navy .sec-head p { color: #c4cdd3; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--copper), var(--brass)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc-ico { width: 54px; height: 54px; border-radius: 12px; background: var(--cream); display: grid; place-content: center; margin-bottom: 20px; border: 1px solid var(--line); }
.svc-ico svg { width: 30px; height: 30px; stroke: var(--teal); }
.svc h3 { font-size: 1.32rem; margin-bottom: 10px; color: var(--navy); }
.svc p { font-size: .94rem; color: #56656c; }
.svc-price { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--teal); font-size: .9rem; }
.svc-price b { font-family: var(--display); font-size: 1.4rem; color: var(--copper); }
.svc-price .from { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; align-items: center; }
.filter-btn {
  font-family: var(--body); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; padding: .6em 1.1em; border-radius: 40px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy); cursor: pointer; transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--copper); color: var(--copper); }
.filter-btn.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.filter-count { margin-left: auto; font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }
.filter-count b { color: var(--copper); }
[data-listing].hide { display: none; }

/* ---------- Price table (services page) ---------- */
.price-list { display: grid; gap: 14px; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 26px; transition: border-color .25s, transform .25s;
}
.price-row:hover { border-color: var(--copper); transform: translateX(4px); }
.price-row h4 { font-family: var(--display); font-size: 1.18rem; color: var(--navy); margin-bottom: 3px; }
.price-row p { margin: 0; font-size: .86rem; color: #61707700; color: #617077; }
.price-row .price { text-align: right; white-space: nowrap; }
.price-row .price b { font-family: var(--display); font-size: 1.5rem; color: var(--copper); }
.price-row .price .from { display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Promise steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 30px 24px 30px 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-size: 2.4rem; color: var(--copper);
  display: block; margin-bottom: 14px; opacity: .9;
}
.step:not(:last-child)::after { content: ""; position: absolute; right: 24px; top: 52px; width: 8px; height: 8px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: rotate(45deg); }
.step h4 { font-family: var(--display); font-size: 1.22rem; color: var(--navy); margin-bottom: 8px; }
.section.navy .step h4 { color: var(--cream); }
.step p { font-size: .9rem; color: #58666d; margin: 0; }
.section.navy .step p { color: #b9c3c8; }

/* ---------- Emergency feature ---------- */
.emergency { position: relative; overflow: hidden; }
.emergency .wrap { position: relative; z-index: 2; }
.emergency::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 85% 30%, rgba(192,116,74,.3), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.015) 22px 44px);
}
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.emergency h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.emergency .big-num { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); color: var(--brass-lit); }
.emergency ul { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 12px; }
.emergency li { display: flex; gap: 12px; align-items: flex-start; color: #d6dce0; font-size: .98rem; }
.emergency li svg { width: 20px; height: 20px; stroke: var(--emerald); flex: 0 0 auto; margin-top: 3px; }
.call-card {
  background: var(--cream); color: var(--navy); border-radius: var(--r-lg);
  padding: 38px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.call-card .lbl { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.call-card .tel { font-family: var(--display); font-size: 2.3rem; color: var(--navy); margin: 8px 0 4px; display: block; }
.call-card .sub { font-size: .88rem; color: #58666d; margin-bottom: 22px; }
.call-card .avail { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; color: var(--emerald); margin-bottom: 22px; }
.call-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(31,158,106,.18); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 30px; position: relative;
}
.review .stars { color: var(--brass); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review .quote-mark { font-family: var(--display); font-size: 4rem; line-height: 0; color: var(--copper); opacity: .18; position: absolute; top: 30px; right: 26px; }
.review p { font-size: 1rem; color: #2f3e45; font-style: italic; }
.review .by { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: var(--cream); display: grid; place-content: center; font-family: var(--display); font-size: 1.1rem; }
.review .who { font-weight: 700; font-size: .92rem; color: var(--navy); }
.review .where { font-size: .78rem; color: var(--ink-soft); }

/* ---------- Blog teaser / list ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-img { height: 170px; position: relative; overflow: hidden; }
.post-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.post .tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--copper); }
.post h3 { font-size: 1.24rem; margin: 10px 0 10px; color: var(--navy); line-height: 1.18; }
.post p { font-size: .9rem; color: #5a686f; flex: 1; }
.post .meta { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; }
.post .read { font-weight: 700; color: var(--copper); font-size: .86rem; margin-top: 12px; }

.featured-post {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--navy); color: var(--cream); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 52px; box-shadow: var(--shadow);
}
.featured-post .fp-art { position: relative; min-height: 320px; }
.featured-post .fp-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-post .fp-body { padding: 50px 46px; }
.featured-post .tag { color: var(--brass-lit); }
.featured-post h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 14px 0 14px; }
.featured-post p { color: #c4cdd3; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--copper); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(0,0,0,.05) 30px 60px); }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: var(--white); max-width: 18ch; }
.cta-band p { color: #ffe9dc; margin: 10px 0 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--body); font-size: .98rem;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper);
  color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-card { background: var(--navy); color: var(--cream); border-radius: var(--r-lg); padding: 36px; margin-bottom: 26px; }
.info-card h3 { color: var(--cream); font-size: 1.4rem; margin-bottom: 18px; }
.nap { display: grid; gap: 16px; }
.nap-row { display: flex; gap: 14px; align-items: flex-start; }
.nap-row svg { width: 22px; height: 22px; stroke: var(--brass-lit); flex: 0 0 auto; margin-top: 2px; }
.nap-row .l { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-lit); }
.nap-row .v { font-size: .98rem; color: #e3e8eb; }
.nap-row .v a { color: var(--brass-lit); font-weight: 700; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 700; color: var(--navy); }
.hours .time { color: #58666d; }
.hours .open { color: var(--emerald); font-weight: 700; }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: #e9eef0; }
.map-frame svg { width: 100%; height: 340px; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebac1; padding: 70px 0 0; border-top: 4px solid var(--copper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.5rem; color: var(--cream); }
.footer-brand .brand-name b { color: var(--brass-lit); }
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 34ch; }
.footer-col h5 { font-family: var(--body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-lit); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: .9rem; color: #aebac1; transition: color .2s; }
.footer-col a:hover { color: var(--copper-lit); }
.footer-col svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 7px; stroke: var(--copper-lit); display: inline; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; font-size: .78rem; color: #7e8d95; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-gas { display: inline-flex; align-items: center; gap: 8px; }
.footer-gas svg { width: 26px; height: 26px; }
.disclaimer { background: var(--navy); color: #6f7e86; font-size: .74rem; text-align: center; padding: 16px 28px; line-height: 1.5; border-top: 1px solid var(--line-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: var(--navy); color: var(--cream); padding: 70px 0 76px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% 20%, rgba(28,106,114,.45), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero .crumb { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-lit); margin-bottom: 14px; }
.page-hero .crumb a { color: var(--brass-lit); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-hero p { color: #c4cdd3; max-width: 54ch; font-size: 1.08rem; }

/* ---------- Misc ---------- */
.lead { font-size: 1.16rem; color: #3a4a52; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; stroke: var(--emerald); flex: 0 0 auto; margin-top: 2px; }
.pipe-rule { height: 2px; background: linear-gradient(90deg, var(--copper), transparent); border: 0; margin: 0 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-est { left: auto; right: 0; }
  .creds .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 36px 1rem; }
  .svc-grid, .review-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .emergency-grid, .contact-grid, .featured-post { grid-template-columns: 1fr; gap: 36px; }
  .featured-post .fp-art { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .tb-l { display: none; }
  .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy-deep);
    padding: 0; max-height: 0; overflow: hidden;
    border-bottom: 1px solid var(--line-dark);
    transition: max-height .4s var(--ease);
  }
  .nav.open .nav-links { max-height: 360px; }
  .nav-links li { border-top: 1px solid var(--line-dark); }
  .nav-links a { display: block; padding: 16px 28px; opacity: 1; }
  .nav-links a::after { display: none; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .creds .wrap { grid-template-columns: 1fr; }
  .stats-inner, .svc-grid, .review-grid, .blog-grid, .steps { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
