  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue:        #29B6E8;
    --blue-dark:   #1A9FD0;
    --blue-light:  #E8F7FD;
    --blue-mid:    #C5EDF9;
    --charcoal:    #424242;
    --charcoal-lt: #5A5A5A;
    --white:       #FFFFFF;
    --off-white:   #F7FBFD;
    --gray-bg:     #F2F2F2;
    --border:      #E0E0E0;
    --border-blue: #B0DFF2;
    --text:        #2E2E2E;
    --text-muted:  #666666;
    --text-light:  #999999;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --radius: 8px;
    --radius-lg: 14px;
  }

  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    overflow-x: hidden;
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 70px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .nav-logo img { height: 44px; width: auto; }
  .nav-links { display: flex; align-items: center; gap: 28px; }
  .nav-links a {
    font-size: 14px; font-weight: 500; color: var(--charcoal);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--blue); }
  .nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--blue-dark) !important; }

  /* ── HERO ── */
  .hero {
    background: var(--white);
    padding: 96px 5% 0;
    position: relative; overflow: hidden;
  }
  .hero-circle {
    position: absolute; top: -120px; right: -160px;
    width: 560px; height: 560px; border-radius: 50%;
    background: var(--blue-light);
    pointer-events: none;
    display: flex; align-items: center; justify-content: center;
  }
  .hero-circle svg {
    margin-top: 100px; margin-right: 60px;
    width: 200px; height: 200px; opacity: 0.5;
  }
  .hero-grid {
    max-width: 1180px; margin: 0 auto; position: relative; z-index: 1;
    padding-bottom: 56px;
  }
  .hero-inner { max-width: 680px; }
  .hero-photo-wrap {
    max-width: 1180px; margin: 0 auto; padding: 0 0 0 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-photo-wrap img {
    width: 100%; height: auto; display: block;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 460px; object-fit: cover;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 22px;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 24px; height: 2px; background: var(--blue);
  }
  .hero h1 {
    font-size: clamp(36px, 5vw, 56px); font-weight: 800;
    line-height: 1.08; letter-spacing: -0.025em;
    margin-bottom: 20px; color: var(--charcoal);
  }
  .hero h1 span { color: var(--blue); }
  .hero-sub {
    font-size: 18px; color: var(--text-muted);
    line-height: 1.6; max-width: 480px; margin-bottom: 36px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 48px; }
  .btn-blue {
    display: inline-block; background: var(--blue); color: var(--white);
    font-weight: 700; font-size: 14px; padding: 15px 30px;
    border-radius: var(--radius); letter-spacing: 0.04em; text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 6px 16px rgba(41,182,232,0.25);
  }
  .btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-outline {
    display: inline-block; border: 2px solid var(--border);
    color: var(--charcoal); font-size: 14px; font-weight: 600;
    padding: 13px 22px; border-radius: var(--radius);
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-outline:hover { border-color: var(--blue); color: var(--blue); }

  .hero-stats {
    display: flex; flex-wrap: wrap;
    border-top: 1px solid var(--border); padding-top: 32px;
  }
  .stat {
    padding-right: 28px; margin-right: 28px;
    border-right: 1px solid var(--border);
  }
  .stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
  .stat strong {
    display: block; font-size: 26px; font-weight: 800;
    color: var(--charcoal); letter-spacing: -0.02em; line-height: 1.1;
  }
  .stat strong span { color: var(--blue); }
  .stat p { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

  /* ── FREE STRIP ── */
  .free-strip {
    background: var(--blue);
    padding: 14px 5%;
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
  }
  .free-strip strong {
    font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--white);
  }
  .free-item {
    font-size: 13px; color: rgba(255,255,255,0.92);
    display: flex; align-items: center; gap: 5px;
  }
  .free-item::before { content: '✓'; font-weight: 800; }
  .free-sep { color: rgba(255,255,255,0.4); }

  /* ── SECTIONS ── */
  section { padding: 80px 5%; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .sec-eye {
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  }
  .sec-head {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    color: var(--charcoal); line-height: 1.15;
    letter-spacing: -0.02em; margin-bottom: 16px;
  }
  .sec-sub {
    font-size: 16px; color: var(--text-muted); max-width: 520px; line-height: 1.65;
  }

  /* ── SERVICES ── */
  .services-bg { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .services-grid {
    margin-top: 48px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  .svc-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  }
  .svc-card:hover {
    border-color: var(--blue-mid); box-shadow: 0 4px 20px rgba(41,182,232,0.1);
    transform: translateY(-2px);
  }
  .svc-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--blue-light); border: 1px solid var(--border-blue);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  }
  .svc-icon img { width: 26px; height: 26px; object-fit: contain; }
  .svc-card h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
  .svc-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
  .free-pill {
    display: inline-block; margin-top: 14px;
    background: var(--blue); color: var(--white);
    font-size: 10px; font-weight: 800; padding: 3px 10px;
    border-radius: 20px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .addon-pill {
    display: inline-block; margin-top: 14px;
    background: var(--gray-bg); color: var(--charcoal-lt);
    border: 1px solid var(--border);
    font-size: 10px; font-weight: 700; padding: 3px 10px;
    border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase;
  }

  /* ── PROCESS ── */
  .process-bg { background: var(--white); }
  .process-grid {
    margin-top: 52px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px;
  }
  .step-num {
    font-size: 52px; font-weight: 800; color: var(--blue-mid);
    line-height: 1; margin-bottom: 14px; letter-spacing: -0.03em;
  }
  .process-step h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
  .process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

  /* ── PRICING ── */
  .pricing-bg { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .pricing-grid {
    margin-top: 48px;
    display: grid; grid-template-columns: 1fr; gap: 16px;
  }
  .price-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px 26px;
  }
  .price-card.featured { border: 2px solid var(--blue); position: relative; }
  .feat-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--blue); color: var(--white);
    font-size: 10px; font-weight: 800; padding: 4px 14px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
  }
  .price-type { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
  .price-num { font-size: 42px; font-weight: 800; color: var(--charcoal); letter-spacing: -0.03em; margin-bottom: 4px; }
  .price-num sup { font-size: 20px; vertical-align: super; }
  .price-note { font-size: 12px; color: var(--text-light); margin-bottom: 22px; }
  .price-list { list-style: none; }
  .price-list li {
    font-size: 13px; color: var(--text-muted);
    padding: 8px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
  }
  .price-list li:last-child { border-bottom: none; }
  .chk { color: var(--blue); font-weight: 800; font-size: 14px; flex-shrink: 0; }

  /* ── CITIES ── */
  .cities-bg { background: var(--blue); }
  .cities-bg .sec-eye { color: rgba(255,255,255,0.7); }
  .cities-bg .sec-head { color: var(--white); }
  .cities-bg .sec-sub { color: rgba(255,255,255,0.75); }
  .cities-grid {
    margin-top: 40px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px;
  }
  .city {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius); padding: 12px 16px;
    font-size: 13px; color: rgba(255,255,255,0.9); text-align: center;
    transition: background 0.2s;
  }
  .city:hover { background: rgba(255,255,255,0.25); color: var(--white); }

  /* ── ABOUT ── */
  .about-bg { background: var(--white); }
  .about-grid {
    margin-top: 48px; display: grid;
    grid-template-columns: 340px 1fr; gap: 64px; align-items: center;
  }
  .about-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
  .about-photo img { width: 100%; height: auto; display: block; }
  .about-text h2 {
    font-size: clamp(24px, 3vw, 34px); font-weight: 800;
    color: var(--charcoal); line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.02em;
  }
  .about-text p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
  .cert-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
  .cert-row img { height: 56px; width: auto; opacity: 0.8; }

  /* ── REVIEWS ── */
  .reviews-bg { background: var(--off-white); border-top: 1px solid var(--border); }
  .reviews-grid {
    margin-top: 48px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
  }
  .review-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 22px;
  }
  .stars { color: var(--blue); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
  .review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
  .review-author { font-size: 13px; font-weight: 700; color: var(--charcoal); }
  .review-src { font-size: 11px; color: var(--text-light); margin-top: 2px; }
  .review-logos { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
  .review-logos img { height: 72px; width: auto; }

  /* ── CTA ── */
  .cta-section {
    background: var(--charcoal);
    padding: 80px 5%; text-align: center;
  }
  .cta-section h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800;
    color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
  }
  .cta-section p {
    font-size: 17px; color: rgba(255,255,255,0.7);
    max-width: 460px; margin: 0 auto 36px; line-height: 1.6;
  }
  .btn-blue-lg {
    display: inline-block; background: var(--blue); color: var(--white);
    font-weight: 800; font-size: 14px; padding: 16px 34px;
    border-radius: var(--radius); letter-spacing: 0.04em; text-transform: uppercase;
    margin: 6px; transition: background 0.15s, transform 0.1s;
  }
  .btn-blue-lg:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-wht-outline {
    display: inline-block; border: 2px solid rgba(255,255,255,0.35);
    color: var(--white); font-weight: 700; font-size: 14px; padding: 14px 28px;
    border-radius: var(--radius); letter-spacing: 0.04em; text-transform: uppercase;
    margin: 6px; transition: border-color 0.2s;
  }
  .btn-wht-outline:hover { border-color: rgba(255,255,255,0.8); }

  /* ── FOOTER ── */
  footer {
    background: var(--white); border-top: 1px solid var(--border);
    padding: 52px 5% 32px;
  }
  .footer-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
    padding-bottom: 36px; border-bottom: 1px solid var(--border);
  }
  .footer-logo img { height: 40px; width: auto; margin-bottom: 14px; }
  .footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
  .footer-cert { display: flex; gap: 16px; align-items: center; }
  .footer-cert img { height: 44px; width: auto; opacity: 0.5; }
  .footer-col h4 {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-light); margin-bottom: 16px;
  }
  .footer-col a {
    display: block; font-size: 13px; color: var(--text-muted);
    margin-bottom: 10px; transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--blue); }
  .footer-bottom {
    max-width: 1100px; margin: 24px auto 0;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--text-light);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 980px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-inner-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  }
  @media (max-width: 768px) {
    nav { padding: 0 4%; height: 62px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .nav-logo img { height: 36px; }
    section { padding: 48px 4%; }
    .hero { padding: 48px 4% 0; }
    .hero-circle { display: none; }
    .hero-photo-wrap img { max-height: 220px; border-radius: 12px; }
    .hero h1 { font-size: 34px; }
    .hero-sub { font-size: 16px; margin-bottom: 28px; }
    .hero-actions { margin-bottom: 32px; }
    .hero-stats { padding-top: 24px; gap: 0; }
    .stat { padding-right: 16px; margin-right: 16px; margin-bottom: 16px; }
    .stat strong { font-size: 22px; }
    .stat p { font-size: 11px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    /* Free strip — stack vertically, no overflow */
    .free-strip {
      flex-direction: column; align-items: flex-start;
      gap: 8px; padding: 16px 4%;
    }
    .free-sep { display: none; }
    .free-item { font-size: 13px; }

    /* Pricing card padding */
    .price-card { padding: 22px 18px; }
  }
  @media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }

    /* Pricing table — keep rows on one line */
    .price-card table td:first-child { font-size: 12.5px !important; white-space: nowrap; }
    .price-card table td:last-child { font-size: 13px !important; }
    .price-card table th { font-size: 10px !important; }

    /* Add-on / discount rows */
    .price-list li { font-size: 12.5px; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ══════════════════════════════════════════════════════════════
   SERVICE PAGE COMPONENTS
   Added for /11-month-warranty-inspection/, /new-construction-inspection/,
   /pool-spa-inspection/, /thermal-imaging-inspection/
   All values derive from the existing token set above.
   ══════════════════════════════════════════════════════════════ */

/* ── Service page hero (Ads-ready: H1 + sub + price + CTAs above fold) ── */
.svc-hero {
  background: var(--white);
  padding: 44px 5% 52px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.svc-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.svc-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.025em;
  color: var(--charcoal); margin-bottom: 18px; max-width: 800px;
}
.svc-hero h1 span { color: var(--blue); }
.svc-hero-sub {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.6; max-width: 640px; margin-bottom: 28px;
}
.svc-hero .hero-actions { margin-bottom: 36px; }
.svc-hero .hero-stats { margin-top: 0; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 7px; color: var(--border); }

/* ── Price flag (above-the-fold pricing context) ── */
.price-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); border: 1px solid var(--border-blue);
  color: var(--charcoal); font-size: 13px; font-weight: 700;
  padding: 8px 15px; border-radius: 20px; margin-bottom: 20px;
  line-height: 1.4;
}
.price-flag b { color: var(--blue-dark); font-weight: 800; }

/* ── Long-form body copy ── */
.prose { max-width: 780px; }
.prose h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--charcoal);
  letter-spacing: -0.02em; line-height: 1.22; margin: 44px 0 14px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--charcoal); margin: 26px 0 8px; line-height: 1.35; }
.prose p { font-size: 15.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.prose p strong { color: var(--charcoal); font-weight: 700; }
.prose a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--blue); }

/* ── Checklists ── */
.check-list, .dash-list { list-style: none; margin: 6px 0 22px; }
.check-list li, .dash-list li {
  position: relative; padding-left: 26px; font-size: 15px;
  color: var(--text-muted); line-height: 1.7; margin-bottom: 9px;
}
.check-list li strong, .dash-list li strong { color: var(--charcoal); font-weight: 700; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 800; font-size: 14px;
}
.dash-list li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--text-light); font-weight: 700; font-size: 14px;
}

/* ── Callout / scope-limitation box ── */
.callout {
  background: var(--off-white); border: 1px solid var(--border);
  border-left: 3px solid var(--blue); border-radius: var(--radius);
  padding: 22px 24px; margin: 26px 0;
}
.callout h3 { font-size: 15px; font-weight: 800; color: var(--charcoal); margin: 0 0 8px; }
.callout p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.callout p + p { margin-top: 10px; }
.callout ul { margin-top: 10px; margin-bottom: 0; }
.callout li { font-size: 14.5px; }

/* ── Two column content ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

/* ── FAQ ── */
.faq { margin-top: 34px; max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; }
.faq-item p { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }
.faq-item p + p { margin-top: 10px; }

/* ── Related-page cards ── */
.next-grid {
  margin-top: 40px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.next-card {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.next-card:hover {
  border-color: var(--blue-mid); box-shadow: 0 4px 20px rgba(41,182,232,0.1);
  transform: translateY(-2px);
}
.next-card h3 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 7px; }
.next-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.next-card .go { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* ── Linked service cards on the homepage grid ── */
a.svc-card { display: block; }
.svc-more { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--blue); }
.price-list a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.price-list a:hover { color: var(--blue); }

/* ── Service page responsive ── */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 768px) {
  .svc-hero { padding: 30px 4% 38px; }
  .svc-hero h1 { font-size: 31px; }
  .svc-hero-sub { font-size: 16px; margin-bottom: 24px; }
  .svc-hero .hero-actions { margin-bottom: 28px; }
  .prose h2 { margin-top: 34px; }
  .prose p, .check-list li, .dash-list li { font-size: 15px; }
  .callout { padding: 18px 18px; }
}
