/* =========================================================
   Richmond Hill Plumbing Group — design system
   ========================================================= */

:root {
  /* Brand blue — pulled from the company shirt/logo backdrop. The signature. */
  --blue-700: #1c4ec5;
  --blue-800: #1740b3;
  --blue-900: #112e80;
  --blue-50:  #eef3ff;

  /* Deep navy — kept for the deepest backgrounds (footer, stats band) so the
     brand blue has somewhere darker to sit against and feel anchored. */
  --navy-900: #07182d;
  --navy-800: #0a2540;
  --navy-700: #102f55;
  --navy-100: #e6edf6;

  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-100: #fff1e6;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --green-600: #16a34a;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--navy-800); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--orange-500); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

ul { padding-left: 1.2em; }

button { font: inherit; cursor: pointer; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: .75rem;
}
.section-head p { color: var(--slate-700); font-size: 1.1rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, .35);
}
.btn-primary:hover {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(249, 115, 22, .45);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--slate-200);
}
.btn-secondary:hover { border-color: var(--navy-800); color: var(--navy-800); }

/* On dark backgrounds, ghost button uses white outline; on light it auto-flips
   via the .on-dark scope below. */
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--slate-300);
}
.btn-ghost:hover { background: var(--slate-50); color: var(--navy-900); border-color: var(--navy-800); }
.on-dark .btn-ghost,
.cta-banner .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}
.on-dark .btn-ghost:hover,
.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1.05rem; }

/* =========================================================
   Top utility bar — sits on top of header, slightly darker shade
   of brand blue so the two read as one unified blue band that
   subtly steps from deeper to brand at the fold.
   ========================================================= */
.top-bar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  font-weight: 500;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  flex-wrap: wrap;
}
.top-bar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.top-bar a:hover { color: rgba(255, 255, 255, .85); }
.top-bar-left, .top-bar-right { display: inline-flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
.top-bar svg { width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 640px) {
  .top-bar-right { display: none; }
  .top-bar-inner { justify-content: center; }
}

/* =========================================================
   Floating mobile call action — compact pills, bottom-right.
   Hidden by default. Only visible (.is-visible) when the user
   has scrolled past the hero AND hasn't reached the footer
   (both already have phone CTAs).
   ========================================================= */
.mobile-actions {
  display: none;
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 100;
  gap: .45rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-actions.is-visible {
  opacity: 1;
  transform: none;
}
.mobile-actions a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  white-space: nowrap;
}
.mobile-actions svg { width: 14px; height: 14px; }
.mobile-actions .call {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, .5);
}
.mobile-actions .call:hover { background: var(--orange-600); color: var(--white); }
.mobile-actions .sms {
  background: rgba(255, 255, 255, .96);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, .2);
}

@media (max-width: 640px) {
  .mobile-actions { display: flex; }
  body { padding-bottom: 56px; }
  .site-footer { padding-bottom: 3rem; }
}

/* =========================================================
   Stats / trust band
   ========================================================= */
.stats-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-value {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
  display: block;
}
.stat-item .stat-value .accent {
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
}

/* =========================================================
   Process / how-it-works
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: process;
}
.process-step {
  position: relative;
  padding: 2.25rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  counter-increment: process;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.process-step:hover {
  border-color: var(--orange-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.process-step::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: -16px; left: 1.75rem;
  background: var(--navy-800);
  color: var(--orange-500);
  font-weight: 800;
  font-size: 1rem;
  padding: .35rem .65rem;
  border-radius: var(--radius-sm);
  letter-spacing: .05em;
}
.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.process-step p {
  color: var(--slate-700);
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}

/* =========================================================
   Scroll reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 78, 197, .96);
  backdrop-filter: saturate(170%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--white);
}
.brand:hover { color: var(--white); }

.brand-icon {
  display: block;
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-primary {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}
.brand-secondary {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-top: 5px;
}

/* Larger variant — used in the footer where the brand is a focal point */
.brand-large .brand-icon { height: 88px; }
.brand-large .brand-primary { font-size: 1.95rem; }
.brand-large .brand-secondary { font-size: .82rem; margin-top: 8px; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--orange-500); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--white);
  font-size: .98rem;
}
.header-phone:hover { color: var(--orange-500); }
.header-phone svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  color: var(--white);
}

@media (max-width: 880px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .5rem 0;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a {
    padding: .9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .85);
  }
  .nav.is-open a:last-child { border-bottom: 0; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--white);
  color: var(--slate-900);
  overflow: hidden;
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--slate-200);
}
@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 78, 197, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

.hero h1 { color: var(--navy-900); }
.hero p.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--slate-700);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue-50);
  border: 1px solid #d6e0f4;
  padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--blue-700);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(28, 78, 197, .15);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  color: var(--slate-600);
  font-size: .92rem;
  font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 18px; height: 18px; color: var(--blue-700); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .25),
              0 10px 25px -10px rgba(15, 23, 42, .15);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating stat cards inside hero visual */
.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  color: var(--navy-900);
  padding: .9rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.stat-card .label { font-size: .7rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: .08em; }
.stat-card .value { font-weight: 700; font-size: 1rem; line-height: 1.1; }
.stat-card .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid; place-items: center;
}
.stat-card .icon svg { width: 20px; height: 20px; }
.stat-1 { top: 1.5rem; left: 1.5rem; }
.stat-2 { bottom: 1.5rem; right: 1.5rem; }

/* =========================================================
   Service cards
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-700);
}
.service-card .icon {
  width: 52px; height: 52px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.service-card:hover .icon {
  background: var(--orange-100);
  color: var(--orange-600);
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--slate-700); margin-bottom: 1rem; flex-grow: 1; }
.service-card .more {
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.service-card .more::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.service-card:hover .more::after { transform: translateX(4px); }

/* =========================================================
   Why-us / feature blocks
   ========================================================= */
.why-bg { background: var(--slate-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
}
.why-card .icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-700);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { color: var(--slate-700); margin: 0; font-size: .95rem; }

/* =========================================================
   Service area
   ========================================================= */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .area-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.city-list li {
  padding: .65rem .75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.city-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue-700);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================
   "Available in" — small inline strip linking service areas
   from a service detail or city pages
   ========================================================= */
.area-strip {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem .9rem;
  margin: 2rem 0 0;
}
.area-strip .label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.area-strip a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--blue-700);
  padding: .25rem .6rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--slate-200);
  text-decoration: none;
}
.area-strip a:hover {
  background: var(--blue-50);
  border-color: var(--blue-700);
  color: var(--blue-700);
}

/* =========================================================
   FAQ + reviews
   ========================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: .85rem;
}
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] {
  border-color: var(--navy-800);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--orange-500);
  font-weight: 400;
  line-height: 1;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--slate-700);
  line-height: 1.7;
}
.faq-item .faq-body p:last-child { margin-bottom: 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.review-card .stars {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.review-card blockquote {
  margin: 0 0 1.25rem;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}
.review-card blockquote::before { content: open-quote; color: var(--slate-300); margin-right: .15em; }
.review-card blockquote::after { content: close-quote; color: var(--slate-300); margin-left: .15em; }
.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.review-card .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-card .reviewer-name {
  font-weight: 600;
  color: var(--navy-900);
  font-size: .95rem;
  display: block;
}
.review-card .reviewer-meta {
  color: var(--slate-500);
  font-size: .85rem;
  display: block;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: var(--blue-700);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px -25px rgba(28, 78, 197, .35);
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255, 255, 255, .8); max-width: 540px; margin: 0 auto 1.75rem; }
.cta-banner .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* =========================================================
   Detailed service page
   ========================================================= */
.page-header {
  background: var(--blue-700);
  color: var(--white);
  padding: 3rem 0 3rem;
  text-align: center;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--white); }
.breadcrumbs .sep {
  color: rgba(255, 255, 255, .35);
  font-weight: 400;
}
.page-header h1 { color: var(--white); margin-bottom: .75rem; }
.page-header p {
  color: rgba(255, 255, 255, .8);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* =========================================================
   Services page — photo-driven alternating rows
   ========================================================= */
.services-track { padding: 2rem 0 4rem; }

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--slate-200);
  scroll-margin-top: 100px;
}
.service-row:last-child { border-bottom: 0; }

@media (min-width: 880px) {
  .service-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
    padding: 5rem 0;
  }
  .service-row:nth-child(even) .service-photo { order: 2; }
}

.service-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .35);
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.service-row:hover .service-photo img { transform: scale(1.03); }
.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 24, 45, .25));
  pointer-events: none;
}
.service-photo .num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .4rem .8rem;
  background: var(--blue-700);
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  border-radius: var(--radius-sm);
  z-index: 1;
  box-shadow: 0 4px 12px rgba(28, 78, 197, .35);
}

.service-content { padding: .5rem 0; }
.service-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1rem;
}
.service-content .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue-700);
}
.service-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1.1rem;
  line-height: 1.2;
  max-width: 540px;
}
.service-content p {
  color: var(--slate-700);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1.6rem;
  max-width: 520px;
}

.service-content .covers {
  border-top: 1px solid var(--slate-200);
  padding-top: 1.25rem;
}
.service-content .covers strong {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: .85rem;
}
.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}
.service-content li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--slate-700);
  font-size: .95rem;
  line-height: 1.55;
}
.service-content li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--blue-700);
  flex-shrink: 0;
}

/* =========================================================
   Forms
   ========================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 880px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.contact-info-card {
  background: var(--blue-700);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px -25px rgba(28, 78, 197, .35);
}
.contact-info-card h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info-card p { color: rgba(255, 255, 255, .8); margin-bottom: 2rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-list .icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.contact-list a, .contact-list strong {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
}
.contact-list a:hover { color: var(--orange-500); }

.form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate-700);
}
.field input, .field textarea, .field select {
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  color: var(--slate-900);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, .15);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-status {
  display: none;
  padding: .9rem 1rem;
  border-radius: var(--radius-md);
  font-size: .95rem;
  margin-top: 1rem;
}
.form-status.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error   { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* =========================================================
   Map
   ========================================================= */
.map-embed {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  filter: grayscale(.15) contrast(.95);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .75);
  padding: 4rem 0 1.5rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--white); }

.footer-brand p { color: rgba(255, 255, 255, .6); max-width: 320px; }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.muted { color: var(--slate-500); }
.mb-0 { margin-bottom: 0 !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip-to-content link — visible only when focused. Required for screen-reader
   and keyboard users to bypass the long header/nav. */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: .85rem 1.25rem;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top .15s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* Visible focus ring for keyboard users (matches brand). Using :focus-visible
   so mouse clicks don't trigger it. */
:focus-visible {
  outline: 3px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible,
.top-bar a:focus-visible,
.nav a:focus-visible,
.header-phone:focus-visible {
  outline-color: var(--orange-500);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Print stylesheet — optimised for someone printing a page
   to share with a contractor or for a quote. Hides interactive
   chrome (header, mobile actions, top bar) and shows the URL
   after each link.
   ========================================================= */
@media print {
  *, *::before, *::after { background: transparent !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  body { font-size: 11pt; line-height: 1.5; }

  .top-bar, .site-header, .mobile-actions, .skip-link,
  .cta-banner, .menu-toggle, .map-embed, .services-nav,
  .hero-actions, .service-photo, .area-strip {
    display: none !important;
  }

  .hero, .page-header { padding: 0 !important; border: 0 !important; }
  .hero h1, .page-header h1 { font-size: 22pt; margin-bottom: 8pt; }

  section { padding: 12pt 0 !important; page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100% !important; }

  a { text-decoration: underline; }
  a[href^="http"]::after,
  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
    word-break: break-all;
  }
  /* Don't trail URL after internal anchors */
  a[href^="#"]::after,
  a[href^="/"]::after,
  a:not([href*="://"]):not([href^="mailto:"]):not([href^="tel:"])::after {
    content: "";
  }

  .site-footer { background: transparent !important; border-top: 1pt solid #999 !important; padding: 12pt 0 !important; font-size: 9pt; }
  .footer-grid { display: block !important; }
  .footer-grid > * { margin-bottom: 6pt; }
  .footer-bottom { border: 0 !important; }
}
