/* ================================================================
   Pottstown Plumbing Pros — Shared Stylesheet
   PottstownPAPlumbingPros.com  |  v2.3  |  Site 7 of 25
   Design: Schuylkill Valley Warmth + Emergency Bar
   Primary #9F1239  Accent #CA8A04  Surface #f7f3ee  Dark #1a0008
================================================================ */

/* === 1. Custom Properties === */
:root {
  --primary:    #9F1239;
  --primary-dk: #7a0e2b;
  --accent:     #CA8A04;
  --accent-dk:  #a86f03;
  --surface:    #f7f3ee;
  --dark:       #1a0008;
  --text:       #1a0008;
  --body:       #3d2f2a;
  --muted:      #6b5e56;
  --border:     #eae4dc;
  --white:      #ffffff;
  --max-w:      1200px;
  --pad-x:      1.5rem;
  --radius:     8px;
  --radius-lg:  12px;
}

/* === 2. Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img, picture, figure { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* === 3. Skip Link === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--dark);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; }

/* === 4. Container === */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* === 5. Typography === */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.55rem); }
h3 { font-size: clamp(1rem, 2vw, 1.15rem); }
h4 { font-size: 1rem; }
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }
.body-text p { max-width: 65ch; color: var(--body); }

/* === 6. Navigation === */
.site-header { position: sticky; top: 0; z-index: 150; }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.nav-logo-tagline {
  font-size: .63rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Nav list */
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: .875rem;
  color: #4a3a30;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
  line-height: 1;
}
.nav-link:hover { color: var(--primary); text-decoration: none; }
.dd-arrow { font-size: .6rem; opacity: .65; }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  z-index: 100;
  padding: .4rem 0;
}
.dropdown-menu.is-open { display: block; }
.dropdown-menu li a {
  display: block;
  padding: .5rem 1rem;
  font-size: .875rem;
  color: var(--body);
  text-decoration: none;
}
.dropdown-menu li a:hover { background: var(--surface); color: var(--primary); text-decoration: none; }
.dd-divider { border-top: 1px solid var(--border); margin-top: .25rem; padding-top: .25rem; }
.dd-divider a { color: var(--primary); font-weight: 600; }

/* Header phone — v2.2/v2.3 exact spec */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--accent-dk); color: var(--white); text-decoration: none; }
.nav-phone-icon { font-size: 1.1rem; }
.nav-phone-label { font-size: .95rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Emergency Bar (Design 4) */
.emergency-bar { background: var(--primary); padding: .45rem var(--pad-x); }
.emergency-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.e-label  { color: var(--white); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.e-phone  { color: var(--accent); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.e-phone:hover { text-decoration: underline; }
.e-sep    { color: rgba(255,255,255,.35); font-size: .7rem; }
.e-services { color: rgba(255,255,255,.78); font-size: .71rem; }

/* Trust Band (Design 3) */
.trust-band { background: var(--accent); padding: .38rem var(--pad-x); }
.trust-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.trust-band span { color: var(--white); font-size: .72rem; font-weight: 600; white-space: nowrap; }

/* === 7. Hero Sections === */

/* Home hero — split layout */
.hero-home {
  background: var(--surface);
  border-bottom: 4px solid var(--primary);
  padding: 2.5rem var(--pad-x) 2rem;
}
.hero-home-inner { max-width: var(--max-w); margin-inline: auto; }
.hero-eyebrow {
  display: block;
  font-size: .71rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.25rem;
}
.hero-text p { font-size: 1rem; color: var(--body); line-height: 1.65; }
.hero-cta-row {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

/* Service page hero */
.hero-service {
  background: var(--primary);
  padding: 2.75rem var(--pad-x) 2.25rem;
}
.hero-service-inner { max-width: var(--max-w); margin-inline: auto; }
.hero-service h1 { color: var(--white); max-width: 680px; margin-bottom: .65rem; }
.hero-service .hero-eyebrow { color: var(--accent); }
.hero-service p { color: rgba(255,255,255,.88); max-width: 600px; font-size: 1rem; margin-bottom: 1.1rem; }

/* Location page hero */
.hero-location {
  background: var(--surface);
  border-bottom: 3px solid var(--primary);
  padding: 2.25rem var(--pad-x);
}
.hero-location-inner { max-width: var(--max-w); margin-inline: auto; }
.hero-location h1 { margin-bottom: .6rem; }
.hero-location p { color: var(--body); max-width: 60ch; }

/* Blog hero */
.hero-blog {
  background: var(--surface);
  border-bottom: 3px solid var(--primary);
  padding: 2.25rem var(--pad-x);
}
.hero-blog-inner { max-width: var(--max-w); margin-inline: auto; }
.hero-blog h1 { margin-bottom: .75rem; max-width: 700px; }
.hero-blog .post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }

/* === 8. Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  min-height: 44px;
}
.btn-primary:hover { background: var(--primary-dk); color: var(--white); text-decoration: none; }
.btn-accent {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  min-height: 44px;
}
.btn-accent:hover { background: var(--accent-dk); color: var(--white); text-decoration: none; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--primary);
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--primary);
  min-height: 44px;
}
.btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.6);
  min-height: 44px;
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); text-decoration: none; }

/* === 9. Image Slot Placeholders === */
.image-slot {
  background: linear-gradient(135deg, #f0ede8, #e5e0d8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
  overflow: hidden;
  margin: 1.5rem auto;
}
.image-slot span { padding: 1rem; }

/* === 10. Section Layout === */
.section { padding: 3rem var(--pad-x); }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.85); }
.section-inner { max-width: var(--max-w); margin-inline: auto; }
.section-header { margin-bottom: 2rem; }
.section-header h2 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: .45rem;
  margin-bottom: .6rem;
}
.section-header p { color: var(--muted); max-width: 65ch; }

/* === 11. Service Cards Grid === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--white);
}
.service-card-hero {
  border-color: rgba(159,18,57,.3);
  border-width: 2px;
  background: var(--surface);
}
.card-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .65rem;
  flex-shrink: 0;
}
.card-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
  background: rgba(159,18,57,.07);
  border: 1px solid rgba(159,18,57,.2);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: .45rem;
}
.service-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.service-card p { font-size: .855rem; color: var(--muted); margin-bottom: .7rem; }
.card-link { font-size: .855rem; color: var(--primary); font-weight: 600; }
.card-link:hover { text-decoration: underline; }

/* === 12. Hero Service Feature Cards (Three Services) === */
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.hero-svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-top: 4px solid var(--primary);
}
.hero-svc-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: .75rem; }
.hero-svc-card p { font-size: .9rem; color: var(--body); line-height: 1.65; margin-bottom: 1rem; }
.hero-svc-card .card-link { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* === 13. Service Areas === */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}
.areas-col h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--border);
}
.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem .75rem;
}
.areas-list a { font-size: .875rem; color: var(--body); text-decoration: none; }
.areas-list a:hover { color: var(--primary); text-decoration: underline; }

/* Blog snippets on home */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.blog-preview-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--white);
}
.blog-preview-card .bp-category {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .35rem;
  display: block;
}
.blog-preview-card h3 { font-size: .95rem; margin-bottom: .35rem; }
.blog-preview-card p { font-size: .84rem; color: var(--muted); margin-bottom: .6rem; }
.blog-preview-card .read-more { font-size: .84rem; color: var(--primary); font-weight: 600; }

/* === 14. FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 1.75rem; }
.faq-item { border-left: 3px solid var(--accent); padding-left: 1.25rem; }
.faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; line-height: 1.3; }
.faq-item p { font-size: .9rem; color: var(--body); line-height: 1.65; max-width: 70ch; }

/* === 15. CTA Section === */
.cta-section {
  background: var(--primary);
  padding: 3.5rem var(--pad-x);
  text-align: center;
}
.cta-inner { max-width: var(--max-w); margin-inline: auto; }
.cta-section h2 { color: var(--white); margin-bottom: .85rem; }
.cta-section p { color: rgba(255,255,255,.88); margin-inline: auto; margin-bottom: 1.5rem; max-width: 55ch; }
.cta-btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: .85rem; }
.cta-phone-note { color: rgba(255,255,255,.78); font-size: .88rem; }
.cta-phone-note a { color: var(--accent); font-weight: 700; }
.cta-phone-note a:hover { text-decoration: underline; }

/* === 16. Breadcrumbs === */
.breadcrumbs { padding: .55rem var(--pad-x); background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumbs-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  align-items: center;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.bc-sep { margin-inline: .2rem; opacity: .55; }

/* === 17. Service Page Layout === */
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.service-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 160px;
}
.service-sidebar h3 { font-size: .9rem; color: var(--primary); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.sidebar-cta-phone {
  display: block;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: .75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .75rem;
  text-decoration: none;
}
.sidebar-cta-phone:hover { background: var(--primary-dk); color: var(--white); text-decoration: none; }
.sidebar-list { display: flex; flex-direction: column; gap: .35rem; }
.sidebar-list a { font-size: .855rem; color: var(--body); text-decoration: none; }
.sidebar-list a:hover { color: var(--primary); text-decoration: underline; }

/* Pricing table */
.table-overflow { overflow-x: auto; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 1.5rem 0; }
.pricing-table th { background: var(--primary); color: var(--white); padding: .6rem .85rem; text-align: left; font-weight: 600; }
.pricing-table td { padding: .55rem .85rem; border-bottom: 1px solid var(--border); color: var(--body); }
.pricing-table tr:nth-child(even) td { background: var(--surface); }

/* Article body (blog posts + service pages) */
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: .65rem; }
.article-body p { color: var(--body); line-height: 1.7; margin-bottom: 1.25rem; max-width: 70ch; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: .9rem; color: var(--body); line-height: 1.6; }
.article-body a { color: var(--primary); }
.article-body a:hover { text-decoration: underline; }
.article-body .external-link { color: var(--primary); }

/* Related services / locations links */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.related-link {
  display: block;
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}
.related-link:hover { background: var(--surface); border-color: rgba(159,18,57,.3); text-decoration: none; }

/* === 18. Location Page === */
.location-content-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}

/* === 19. Blog Index + Post === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.blog-card-body { padding: 1.25rem; }
.blog-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); display: block; margin-bottom: .35rem; }
.blog-card h3 { font-size: 1rem; margin-bottom: .45rem; line-height: 1.3; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: .875rem; color: var(--muted); margin-bottom: .7rem; }
.blog-card .read-more { font-size: .855rem; color: var(--primary); font-weight: 600; }

/* === 20. About / Contact / Standard === */
.standard-content { max-width: 700px; }
.standard-content h2 { margin-top: 2rem; margin-bottom: .75rem; }
.standard-content h3 { margin-top: 1.5rem; margin-bottom: .55rem; }
.standard-content p { color: var(--body); line-height: 1.7; margin-bottom: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.contact-form-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-info-box { padding-top: .5rem; }
.contact-info-box h3 { font-size: 1rem; margin-bottom: .65rem; color: var(--primary); }
.contact-info-box p { font-size: .9rem; color: var(--body); margin-bottom: .5rem; }
.contact-info-box a { color: var(--primary); font-weight: 600; }

/* === 21. Footer === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 3rem var(--pad-x) 1.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand-name { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; display: block; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: .65rem; max-width: 26ch; }
.footer-address { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.6; }
/* Footer column headers MUST be h3 per v2.2/v2.3 spec */
.site-footer h3 {
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .85rem;
}
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .77rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* === 22. Sticky Mobile Bottom CTA (every page) === */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: .65rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
  border-top: 2px solid var(--primary);
}
.mobile-cta p { color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 600; }
.mobile-cta-btn {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  padding: .42rem .9rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.mobile-cta-btn:hover { background: var(--accent-dk); color: var(--white); text-decoration: none; }

/* === 23. 404 Page === */
.page-404 { padding: 4rem var(--pad-x); text-align: center; }
.page-404-inner { max-width: 560px; margin-inline: auto; }
.page-404 h1 { font-size: clamp(2rem, 8vw, 4rem); color: var(--primary); margin-bottom: .5rem; }
.page-404 h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.page-404 p { color: var(--muted); margin-bottom: 1.75rem; margin-inline: auto; }
.page-404-links { display: flex; flex-direction: column; gap: .5rem; margin-top: 2rem; text-align: left; }
.page-404-links a { color: var(--primary); font-size: .9rem; font-weight: 500; }

/* === 24. Utility === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* === 25. Responsive === */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-content-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .location-content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --pad-x: 1rem; }

  /* Mobile nav */
  .nav-hamburger { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: .4rem 0 .75rem;
    z-index: 150;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    align-items: stretch;
  }
  .nav-list.is-open { display: flex; }
  .nav-link { padding: .65rem 1rem; width: 100%; justify-content: space-between; }
  .nav-phone-label { display: none; }
  .nav-phone { min-width: 44px; padding: .6rem; justify-content: center; }
  .nav-phone-item { padding: .5rem 1rem; }

  /* Mobile dropdowns */
  .dropdown-menu {
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface);
    padding: 0;
    min-width: auto;
    width: 100%;
  }
  .dropdown-menu li a { padding: .5rem 1.75rem; font-size: .855rem; }
  .dd-divider { margin-top: .2rem; padding-top: .2rem; }
  .has-dropdown { width: 100%; }

  /* Emergency bar — condensed on mobile */
  .e-services { display: none; }
  .e-sep { display: none; }

  /* Trust band */
  .trust-inner { gap: 1rem; }
  .trust-band span { font-size: .68rem; }

  /* Hero */
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-image { order: -1; }

  /* Grids */
  .service-grid { grid-template-columns: 1fr 1fr; }
  .hero-services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Content bottom padding so sticky CTA doesn't obscure last section */
  main { padding-bottom: 64px; }
}

@media (max-width: 479px) {
  .service-grid { grid-template-columns: 1fr; }
  .areas-list { grid-template-columns: 1fr; }
  .trust-band span:nth-child(n+3) { display: none; }
}

/* Show mobile CTA only on mobile */
@media (min-width: 768px) { .mobile-cta { display: none; } }
