/*
Theme Name: Plumbing Repair Experts (plumbing-repair-experts-theme-v1)
Theme URI: https://plumbingrepairexperts.com
Author: WP-Flash | SerpZenith
Author URI: https://wpflash.site
Description: Bespoke theme for Plumbing Repair Experts (Henderson, NV). Call-first layout, tap-to-call everywhere, self-hosted fonts, no page builder, one Plumber + Service + FAQPage + BreadcrumbList schema graph, built-in contact form. Built with WP-Flash v4.0.
Version: 1.1.2
Requires at least: 6.2
Requires PHP: 7.4
License: Private
Text Domain: plumbing-repair-experts-theme-v1
*/

/* ===================== FONTS (self-hosted, latin) ===================== */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('assets/fonts/raleway-var.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/open-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/open-sans-600.woff2') format('woff2'); }

/* ===================== TOKENS (Stage 2 visual identity) ===================== */
:root {
  --color-primary: #005299;
  --primary-rgb: 0, 82, 153;
  --color-secondary: #004886;
  --color-accent: #DD1515;
  --accent-rgb: 221, 21, 21;
  --color-accent-dark: #C61212;
  --color-highlight: #51ACFB;
  --color-dark: #0B1F36;
  --color-bg: #FFFFFF;
  --color-surface: #F5F9FD;
  --color-border: #E1E8F0;
  --color-text: #1B2330;
  --color-text-muted: #5B6573;
  --color-success: #10B981;

  --font-heading: 'Raleway', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 54, .08);
  --shadow-md: 0 4px 8px rgba(11, 31, 54, .08);
  --shadow-lg: 0 18px 40px rgba(11, 31, 54, .18); /* only on borderless dark surfaces / photos */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --z-sticky: 100;
  --z-callbar: 110;
  --z-skip: 200;

  --container: 1180px;
  --container-md: 760px;
  --header-h: 76px;
}

/* ===================== RESET + BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--color-secondary); }
:focus-visible { outline: 3px solid var(--color-highlight); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 .5em;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 4.8vw, 52px); }
h2 { font-size: clamp(25px, 3.3vw, 36px); margin-top: 1.7em; }
h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; margin-top: 1.4em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; color: var(--color-dark); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: var(--z-skip); background: #fff; padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-md { max-width: var(--container-md); margin: 0 auto; padding: 0 20px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-heading); font-weight: 800; font-size: 16px; line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
/* Red = call / emergency only. */
.btn-call { background: var(--color-accent); color: #fff; border-color: var(--color-accent); box-shadow: 0 3px 0 #9E0E0E; }
.btn-call:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--accent-rgb), .35); }
.btn-call:active { transform: translateY(1px); box-shadow: 0 1px 0 #9E0E0E; }
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-secondary); color: #fff; }
.btn-ghost { background: #fff; color: var(--color-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 18px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.phone-inline { font-weight: 700; white-space: nowrap; font-variant-numeric: lining-nums; }

/* ===================== TOP BAR + HEADER ===================== */
.topbar { background: var(--color-dark); color: rgba(255,255,255,.86); font-size: 13.5px; }
.topbar-inner { max-width: var(--container); margin: 0 auto; padding: 7px 20px; display: flex; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; }
.topbar-status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }

.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: #fff; border-bottom: 1px solid var(--color-border); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.site-logo img { width: auto; height: 60px; }
.logo-chip { display: inline-flex; background: #fff; border-radius: var(--radius); padding: 8px 12px; }
.logo-chip img { height: 54px; width: auto; }
.wordmark { font-family: var(--font-heading); font-weight: 900; font-size: 17px; line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; display: grid; }
.wm-1 { color: var(--color-primary); }
.wm-2 { color: var(--color-accent); }
.wm-3 { color: var(--color-dark); }
.wordmark-light .wm-1 { color: var(--color-highlight); }
.wordmark-light .wm-2 { color: #FF6B6B; }
.wordmark-light .wm-3 { color: #fff; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav .menu li { margin: 0; }
.primary-nav .menu a { display: block; padding: 8px 11px; border-radius: 6px; color: var(--color-dark); font-weight: 600; font-size: 15px; text-decoration: none; }
.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a { color: var(--color-primary); background: var(--color-surface); }
.primary-nav .menu li:first-child a { color: var(--color-accent); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.header-phone { display: grid; text-align: right; text-decoration: none; line-height: 1.15; padding-left: 14px; border-left: 1px solid var(--color-border); }
.header-phone-label { font-size: 12px; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .06em; }
.header-phone-num { font-family: var(--font-heading); font-size: 21px; font-weight: 900; color: var(--color-accent); font-variant-numeric: lining-nums tabular-nums; }
.header-phone:hover .header-phone-num { color: var(--color-accent-dark); }
.btn-header { display: none; }
.icon-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; color: var(--color-dark); cursor: pointer; }
.icon-btn svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); display: none; margin: 0; }
  .primary-nav.open { display: block; }
  .primary-nav .menu { flex-direction: column; padding: 10px 20px 18px; gap: 0; }
  .primary-nav .menu a { padding: 13px 4px; border-bottom: 1px solid var(--color-border); border-radius: 0; font-size: 17px; }
  .header-tools { margin-left: auto; }
  .icon-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .topbar-addr { display: none; }
  .topbar-inner { justify-content: center; }
  .site-logo img { height: 46px; }
  .header-phone { display: none; }
  .btn-header { display: inline-flex; min-height: 44px; padding: 10px 14px; font-size: 15px; }
}

/* ===================== HEROES ===================== */
.svc-hero { background: radial-gradient(1100px 420px at 85% -10%, rgba(81,172,251,.22), transparent 60%), linear-gradient(180deg, var(--color-surface) 0%, #fff 100%); border-bottom: 1px solid var(--color-border); padding: 34px 0 52px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: center; }
.svc-hero.is-home .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); padding-top: 18px; }
.hero-main h1 { margin-bottom: .35em; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--color-dark); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.hero-lead { font-size: 19px; color: var(--color-text); max-width: 620px; margin-bottom: 18px; }
.price-badge { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; background: #fff; border: 1px solid rgba(var(--primary-rgb), .25); border-radius: var(--radius); padding: 10px 16px; margin: 0 0 20px; }
.price-badge span { font-size: 14px; color: var(--color-text-muted); font-weight: 600; }
.price-badge strong { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: var(--color-primary); font-variant-numeric: lining-nums; line-height: 1; }
.price-badge em { font-style: normal; font-size: 13px; color: var(--color-text-muted); flex-basis: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 5px 13px 5px 10px; font-size: 14px; font-weight: 600; color: var(--color-dark); }
.chips li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; flex: 0 0 auto; }

.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero-media-card { position: absolute; left: -18px; bottom: 22px; background: var(--color-dark); color: #fff; border-radius: var(--radius-lg); padding: 14px 20px; box-shadow: var(--shadow-lg); display: grid; line-height: 1.2; }
.hm-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--color-highlight); font-weight: 700; }
.hero-media-card a { color: #fff; text-decoration: none; font-family: var(--font-heading); font-size: 26px; font-weight: 900; font-variant-numeric: lining-nums tabular-nums; }

.call-card { background: var(--color-dark); color: #fff; border-radius: 16px; padding: 26px 26px 22px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.call-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(81,172,251,.35), transparent 70%); pointer-events: none; }
.call-card-kicker { font-size: 15px; color: var(--color-highlight); font-weight: 600; margin: 0 0 4px; }
.call-card-phone { display: block; font-family: var(--font-heading); font-size: 34px; font-weight: 900; color: #fff; text-decoration: none; margin-bottom: 14px; font-variant-numeric: lining-nums tabular-nums; }
.call-card-phone:hover { color: var(--color-highlight); }
.call-steps { margin: 0 0 14px; padding-left: 0; list-style: none; counter-reset: s; }
.call-steps li { counter-increment: s; position: relative; padding-left: 34px; margin-bottom: 10px; color: rgba(255,255,255,.88); font-size: 15px; }
.call-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 50%; background: rgba(81,172,251,.18); color: var(--color-highlight); font-family: var(--font-body); font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.call-card-area { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.call-card-area a { color: #fff; }

@media (max-width: 900px) {
  .hero-grid, .svc-hero.is-home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .svc-hero { padding: 22px 0 34px; }
  .call-card { display: none; }
  .hero-media-card { left: 12px; bottom: 12px; padding: 10px 14px; }
  .hero-media-card a { font-size: 21px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-lead { font-size: 17px; }
}

/* ===================== PROOF LINE (real numbers as plain text, one confident row) ===================== */
.proof-strip { background: var(--color-dark); color: rgba(255,255,255,.8); padding: 18px 0; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.stats li { margin: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 0 22px; font-size: 15px; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.18); }
.stat-num { font-family: var(--font-heading); font-size: 22px; font-weight: 900; color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.stat-label { color: rgba(255,255,255,.78); }
.entry-content .stats { background: var(--color-dark); border-radius: var(--radius-lg); padding: 16px 8px; margin: 1.6em 0; }
@media (max-width: 760px) {
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .stats li { flex-direction: column; gap: 0; padding: 0 12px; text-align: center; align-items: center; }
  .stats li + li { border-left: 0; }
  .stats li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18); }
}

/* ===================== BREADCRUMB + PAGE HEAD ===================== */
.breadcrumb ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--color-text-muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: #A9B4C2; }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); text-decoration: underline; }
.page-head { padding-top: 34px; padding-bottom: 6px; }
.page-head h1 { margin-bottom: .3em; }
.byline { color: var(--color-text-muted); font-size: 15px; margin-bottom: 8px; }
.help-now { display: inline-flex; flex-wrap: wrap; gap: 6px; background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .22); border-radius: var(--radius); padding: 8px 14px; font-size: 15px; font-weight: 600; margin: 4px 0 6px; }
.help-now a { color: var(--color-accent); font-weight: 700; }
.blog-intro { max-width: 760px; color: var(--color-text); }

/* ===================== CONTENT ===================== */
.entry-content { padding-top: 26px; padding-bottom: 20px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.entry-content ul li::marker { color: var(--color-primary); }
.entry-content img { border-radius: var(--radius-lg); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 14px; color: var(--color-text-muted); margin-top: 8px; }
.lead { font-size: 19px; }

/* Wide + full-bleed blocks inside the 820px column */
.entry-content .wide { width: min(var(--container), calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }
.entry-content .band { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 52px 0; margin: 2.4em 0; }
.entry-content .band > .band-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.entry-content .band > .band-inner > h2:first-child { margin-top: 0; }
.entry-content .band.dark { background: var(--color-dark); border: 0; color: rgba(255,255,255,.88); }
.entry-content .band.dark h2, .entry-content .band.dark h3, .entry-content .band.dark strong { color: #fff; }
.entry-content .band.dark a:not(.btn) { color: var(--color-highlight); }
.section-kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--color-primary); margin: 0 0 6px; }
.band.dark .section-kicker { color: var(--color-highlight); }

.answer-box { background: rgba(var(--primary-rgb), .045); border: 1px solid rgba(var(--primary-rgb), .22); border-radius: var(--radius-lg); padding: 20px 24px; margin: 0 0 1.8em; }
.answer-box .answer-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--color-primary); margin-bottom: 4px; }
.answer-box p { font-size: 18px; margin-bottom: .6em; }
.answer-box p:last-child { margin-bottom: 0; }
.note { background: var(--color-surface); border-radius: var(--radius); padding: 14px 18px; margin: 1.4em 0; font-size: 16px; }
.note strong { color: var(--color-primary); }
.warn { background: rgba(var(--accent-rgb), .05); border: 1px solid rgba(var(--accent-rgb), .28); border-radius: var(--radius-lg); padding: 16px 20px; margin: 1.4em 0; }
.warn > strong:first-child { color: var(--color-accent); }

/* Emergency steps (what to do right now) */
.steps { list-style: none; padding: 0; margin: 1.2em 0 1.6em; counter-reset: st; display: grid; gap: 12px; }
.steps > li { counter-increment: st; position: relative; padding: 16px 18px 16px 66px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); margin: 0; box-shadow: var(--shadow-sm); }
.steps > li::before { content: counter(st); position: absolute; left: 16px; top: 15px; width: 36px; height: 36px; border-radius: 10px; background: var(--color-primary); color: #fff; font-family: var(--font-body); font-weight: 600; display: grid; place-items: center; font-size: 17px; }
.steps.urgent > li::before { background: var(--color-accent); }
.steps > li strong { display: block; color: var(--color-dark); font-family: var(--font-heading); font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.steps.row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.3em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 50%; background: var(--color-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px no-repeat; }
.band.dark .check-list li { color: rgba(255,255,255,.9); }

/* Tables (prices) */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.table-wrap thead th { background: var(--color-dark); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.table-wrap tbody tr:nth-child(even) { background: var(--color-surface); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td.price, .table-wrap td:nth-child(2) { font-variant-numeric: lining-nums tabular-nums; font-weight: 600; white-space: nowrap; }
.table-source { font-size: 14px; color: var(--color-text-muted); margin-top: -.6em; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 1.4em 0; padding: 0; list-style: none; }
.svc-grid > li { margin: 0; }
.svc-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px 20px 18px; text-decoration: none; color: var(--color-text); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; position: relative; }
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), .45); color: var(--color-text); }
.svc-card h3 { margin: 0 0 6px; font-size: 19px; color: var(--color-dark); }
.svc-card p { font-size: 15px; color: var(--color-text-muted); margin: 0 0 14px; flex: 1; }
.svc-card .svc-price { font-family: var(--font-heading); font-weight: 900; color: var(--color-primary); font-variant-numeric: lining-nums; font-size: 15px; }
.svc-card .svc-more { font-weight: 700; font-size: 15px; color: var(--color-primary); }
.svc-card .svc-more::after { content: " →"; }
.svc-card.urgent { border-color: rgba(var(--accent-rgb), .35); background: linear-gradient(180deg, rgba(var(--accent-rgb), .04), #fff 60%); }
.svc-card.urgent .svc-price, .svc-card.urgent .svc-more { color: var(--color-accent); }

/* Generic cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 1.4em 0; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.card h3 { margin-top: 0; font-size: 19px; }
.card p:last-child { margin-bottom: 0; }
.band.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.band.dark .card p { color: rgba(255,255,255,.82); }

/* Areas */
.area-grid { list-style: none; padding: 0; margin: 1.2em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.area-grid li { margin: 0; }
.area-grid a, .area-grid span { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 600; color: var(--color-dark); text-decoration: none; font-size: 15px; }
.area-grid a::before, .area-grid span::before { content: ""; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--color-accent); flex: 0 0 auto; }
.area-grid a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.town-list { list-style: none; padding: 0; margin: 1em 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { margin: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 1.8em 0; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split > div > h2:first-child { margin-top: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* Related links */
.related { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px 22px; margin: 2em 0 1em; }
.related h2 { font-size: 20px; margin: 0 0 10px; }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 18px; }
.related li { margin: 0; }
.related a { font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related a::before { content: "→ "; color: var(--color-accent); }

/* FAQ (native <details>, zero JS) */
.faq-list { margin: 1.2em 0 1.6em; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 0; }
.faq-question { list-style: none; cursor: pointer; padding: 17px 54px 17px 20px; position: relative; font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--color-dark); line-height: 1.35; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23005299' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s ease; }
.faq-item[open] .faq-question::after { transform: rotate(180deg); }
.faq-question:hover { color: var(--color-primary); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin-bottom: .7em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--color-dark) 0%, #0F2E52 100%); color: #fff; border-radius: 16px; padding: 34px 36px; margin: 40px 0 56px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(81,172,251,.28), transparent 70%); pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 30px); }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 620px; }
.cta-actions { flex: 0 0 auto; }
.entry-content .cta-band { margin: 2em 0; }
@media (max-width: 760px) {
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .cta-band { padding: 26px 22px; }
}

/* Contact form */
.lead-form-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; margin: 1.4em 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.lead-form .form-row { margin-bottom: 14px; }
.lead-form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--color-dark); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #C9D4E0; border-radius: var(--radius); background: #fff; color: var(--color-text); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: 14px; color: var(--color-text-muted); margin: 12px 0 0; }
.form-notice { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.form-notice.ok { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.4); }
.form-notice.err { background: rgba(var(--accent-rgb), .06); border: 1px solid rgba(var(--accent-rgb), .3); }
@media (max-width: 520px) { .lead-form .form-row.two { grid-template-columns: 1fr; } .lead-form-wrap { padding: 18px; } }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); margin: 1.4em 0; }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Blog grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 26px 0; }
.post-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 20px; margin: 0 0 6px; }
.post-card h2 a { color: var(--color-dark); text-decoration: none; }
.post-card h2 a:hover { color: var(--color-primary); }
.post-card-meta { font-size: 13px; color: var(--color-text-muted); margin-bottom: 8px; }
.post-card p { font-size: 15px; }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }


/* ===================== HOMEPAGE + HUB SECTIONS ===================== */
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--color-text-muted); font-size: 18px; margin: 0; }
.entry-content > section { margin: 3.2em 0; }
.entry-content > section.band { margin: 3.2em 0; }
.entry-content > section:first-child.band { margin-top: -26px; border-top: 0; }

/* Triage: what to do right now */
.triage { background: #fff; }
.triage-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; }
.triage-intro h2 { margin-top: 0; }
.triage-intro > p { font-size: 18px; max-width: 620px; }
.triage-list { background: var(--color-dark); color: #fff; border-radius: var(--radius-lg); padding: 22px; }
.triage-label { font-family: var(--font-heading); font-weight: 800; font-size: 18px; margin: 0 0 10px; color: #fff; }
.problem-list { list-style: none; margin: 0 0 18px; padding: 0; }
.problem-list li { margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.problem-list li:first-child { border-top: 0; }
.problem-list a { display: grid; gap: 1px; padding: 12px 30px 12px 0; color: #fff; text-decoration: none; position: relative; }
.problem-list a::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--color-highlight); border-top: 2px solid var(--color-highlight); transform: translateY(-50%) rotate(45deg); transition: right .2s var(--ease-out); }
.problem-list a:hover::after { right: 0; }
.pl-title { font-weight: 700; font-size: 17px; }
.problem-list a:hover .pl-title { color: var(--color-highlight); }
.pl-text { font-size: 14.5px; color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .triage-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* Price list: transparent pricing as rows, not a card grid */
.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 1px solid var(--color-border); }
.price-list li { margin: 0; border-bottom: 1px solid var(--color-border); }
.price-list a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 15px 4px; text-decoration: none; color: var(--color-text); transition: background-color .2s var(--ease-out); border-radius: 6px; }
.price-list a:hover { background: var(--color-surface); }
.pr-name { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--color-dark); }
.price-list a:hover .pr-name { color: var(--color-primary); }
.pr-desc { grid-column: 1; font-size: 15px; color: var(--color-text-muted); }
.pr-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--font-heading); font-weight: 900; font-size: 19px; color: var(--color-primary); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.pr-price.pr-call { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-text-muted); }
.price-note { margin-top: 16px; font-size: 16px; }
@media (max-width: 760px) { .price-list { grid-template-columns: 1fr; } }

/* Rig split */
.split figure { margin: 0; }
.split.rig { margin: 3.4em 0; }

/* Local issues: three columns of prose, separated by rules (not cards) */
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--color-dark); }
.local-grid article { padding: 20px 24px 6px 0; }
.local-grid article + article { padding-left: 24px; border-left: 1px solid var(--color-border); }
.local-grid article:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.local-grid article:nth-child(n+4) { border-top: 1px solid var(--color-border); margin-top: 6px; }
.compare-h { margin-top: 2em; font-size: 21px; }
.local-grid h3 { margin-top: 0; font-size: 21px; }
.local-grid p { font-size: 16px; }
@media (max-width: 860px) {
  .local-grid { grid-template-columns: 1fr; }
  .local-grid article, .local-grid article + article { padding: 18px 0 4px; border-left: 0; border-top: 1px solid var(--color-border); }
  .local-grid article:first-child { border-top: 0; }
}


/* Timeline (process): connected steps, no boxed cards */
.timeline { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: tl; position: relative; }
.timeline::before { content: ""; position: absolute; left: 22px; right: calc((100% - 64px) / 3 - 22px); top: 21px; height: 2px; background: linear-gradient(90deg, var(--color-primary), rgba(var(--primary-rgb), .15)); }
.timeline li { counter-increment: tl; position: relative; margin: 0; padding-top: 62px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 18px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--color-surface); }
.tl-step { display: block; font-size: 13px; font-weight: 600; color: var(--color-primary); margin-bottom: 2px; }
.timeline strong { display: block; font-family: var(--font-heading); font-size: 21px; font-weight: 800; color: var(--color-dark); margin-bottom: 6px; }
.timeline p { color: var(--color-text-muted); margin: 0; font-size: 16px; }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--color-primary), rgba(var(--primary-rgb), .15)); }
  .timeline li { padding: 0 0 0 66px; min-height: 44px; }
}

/* Recent work mosaic (real job photos) */
.work-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 220px); gap: 12px; }
.work-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.work-grid .work-lg { grid-row: span 2; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease-out); }
.work-grid figure:hover img { transform: scale(1.035); }
.work-grid figcaption { position: absolute; left: 10px; bottom: 10px; margin: 0; background: rgba(11, 31, 54, .86); color: #fff; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 6px; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px repeat(2, 170px); }
  .work-grid .work-lg { grid-column: span 2; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .work-grid img { transition: none; } }

/* Areas + map */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: stretch; }
.areas-grid h2 { margin-top: 0; }
.areas-grid .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.areas-grid .map-embed { margin: 0; min-height: 360px; }
.areas-grid .map-embed iframe { height: 100%; min-height: 360px; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .areas-grid .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ split */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: start; }
.faq-aside h2 { margin-top: 0; }
.faq-aside > p { color: var(--color-text-muted); }
.faq-split .faq-list { margin: 0; }
.aside-call { background: var(--color-dark); border-radius: var(--radius-lg); padding: 20px; margin-top: 18px; }
.aside-call-label { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 19px; margin: 0 0 12px; }
.aside-call .btn { width: 100%; }
.aside-call-note { color: rgba(255,255,255,.72); font-size: 14px; margin: 10px 0 0; }
@media (max-width: 900px) { .faq-split { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Home hero refinements */
.svc-hero.is-home h1 { font-size: clamp(32px, 3.9vw, 47px); }
.svc-hero.is-home .chips li { font-size: 13.5px; padding: 4px 11px 4px 8px; }


/* Popular services row (hero): routine jobs + prices as outlined pills */
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 16px; }
.popular ul { display: contents; list-style: none; margin: 0; padding: 0; }
.popular li { margin: 0; }
.popular-label { font-size: 14px; font-weight: 600; color: var(--color-text-muted); margin-right: 2px; }
.popular a, .popular span:not(.popular-label) { display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(var(--primary-rgb), .3); background: #fff; color: var(--color-primary); text-decoration: none; font-variant-numeric: lining-nums; transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out); }
.popular a:hover { border-color: var(--color-primary); background: rgba(var(--primary-rgb), .05); }
.popular span:not(.popular-label) { color: var(--color-dark); border-color: var(--color-border); }


/* Contact page */
.contact-grid h2 { margin-top: 0; }
.contact-grid .lead-form-wrap { margin-top: 10px; }
.contact-card { background: var(--color-dark); color: rgba(255,255,255,.85); border-radius: var(--radius-lg); padding: 24px; }
.contact-card h2 { color: #fff; font-size: 22px; }
.contact-list { margin: 0 0 18px; }
.contact-list dt { font-size: 13px; font-weight: 600; color: var(--color-highlight); margin-top: 14px; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 2px 0 0; color: #fff; }
.contact-list a { color: #fff; }
.contact-phone { font-family: var(--font-heading); font-size: 30px; font-weight: 900; text-decoration: none; font-variant-numeric: lining-nums tabular-nums; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.contact-photo figcaption { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 8px; }
.entry-content > .lead:first-child { font-size: 19px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,.78); padding: 56px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 15px; color: rgba(255,255,255,.72); }
.nap { font-style: normal; font-size: 15px; line-height: 1.75; }
.nap strong { color: #fff; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.nap a[data-call] { color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: 20px; font-variant-numeric: lining-nums; }
.footer-col h2 { color: #fff; font-size: 17px; margin: 4px 0 14px; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 96px; } }

/* ===================== MOBILE CALL BAR ===================== */
.mobile-call-bar { display: none; }
@media (max-width: 760px) {
  .mobile-call-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--color-border); box-shadow: 0 -6px 18px rgba(11,31,54,.10); }
  .mobile-call-bar .btn { min-height: 54px; font-size: 18px; }
  body { padding-bottom: 76px; }
}

/* ===================== MISC ===================== */
.site-main { min-height: 50vh; }
.nav-links, .pagination { margin: 20px 0; }
.page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 6px; margin-right: 4px; text-decoration: none; }
.page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
@media print {
  .topbar, .site-header, .mobile-call-bar, .cta-band, .site-footer { display: none; }
}

/* Google rating badge (matches the client's live badge: G logo, "Google rating", 5.0 + stars) */
.g-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 18px 10px 14px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: 0 2px 6px rgba(11,31,54,.08); color: var(--color-dark); text-decoration: none; line-height: 1.15; }
a.g-badge:hover { border-color: var(--color-primary); }
a.g-badge:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.g-badge .g-logo { flex: 0 0 auto; }
.g-badge .g-body { display: flex; flex-direction: column; gap: 4px; }
.g-badge .g-title { font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.g-badge .g-top { display: flex; align-items: center; gap: 7px; }
.g-badge strong { font-size: 15px; font-weight: 700; }
.g-badge .g-stars { display: inline-flex; gap: 1px; }
.g-badge.g-inline { margin: 4px 0 18px; }
.footer-rating { padding: 18px 0 4px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-rating .g-badge { margin: 0; box-shadow: none; }
