/* Washington Water Damage Pros - "Storm" design variant
   Palette: deep indigo #1E1B4B + sky #0284C7, crimson #BE123C call-to-action.
   Light header, bold indigo overlay band in the hero, pill buttons,
   10px cards with a 2px sky top accent, 64px section rhythm.
   No external fonts or images: system stack, inline SVG and CSS gradients only. */

:root {
  --ink: #1e1b4b;
  --ink-deep: #14123a;
  --ink-soft: #2c2860;
  --sky: #0284c7;
  --sky-soft: #e6f2fa;
  --sky-line: #bae0f5;
  --cta: #be123c;
  --cta-dark: #9f1239;
  --surface: #ffffff;
  --surface-alt: #eef4fb;
  --text: #101828;
  --muted: #4a5568;
  --border: #d3deea;
  --radius: 10px;
  --radius-pill: 999px;
  --wrap: 1160px;
  --sp: 8px;
  --section: 64px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 10px 24px -18px rgba(30, 27, 75, .45);
  --shadow-lg: 0 18px 40px -24px rgba(30, 27, 75, .55);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 4.4vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--cta); }
strong { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--ink); color: #e5e9f5; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-head p:not(.eyebrow) { color: #c8cfe6; }
.section-dark .card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
.section-dark .card:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); }
.section-dark .card p { color: #c8cfe6; }
.section-dark a { color: #bfe3f8; }
.section-tight { padding-top: 40px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border-radius: var(--radius-pill); padding: 13px 24px; border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { flex: none; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover, .btn-cta:focus-visible { background: var(--cta-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-sm { padding: 10px 18px; font-size: .93rem; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-name { font-weight: 800; color: var(--ink); font-size: 1.04rem; letter-spacing: -.015em; }
.brand-sub { display: block; font-size: .72rem; font-weight: 600; color: var(--sky); text-transform: uppercase; letter-spacing: .08em; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600;
  background: var(--surface-alt); color: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 9px 16px; cursor: pointer;
}
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: var(--radius-pill);
  color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.main-nav a:hover { background: var(--sky-soft); color: var(--sky); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-cta { flex: none; }
@media (min-width: 1041px) { .nav-toggle { display: none; } }
@media (max-width: 1040px) {
  .nav-toggle { order: 3; }
  .main-nav {
    order: 4; flex-basis: 100%; display: none; padding: 10px 0 16px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: var(--radius); }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .header-cta span { display: none; }
  .header-cta { padding: 12px 16px; }
  .brand-name { font-size: .95rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaeefb;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(2, 132, 199, .55), transparent 62%),
    radial-gradient(700px 380px at 92% 8%, rgba(190, 18, 60, .28), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%);
  padding: 40px 0 46px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--sky), var(--cta));
}
.hero-inner { position: relative; z-index: 1; }
.hero-band {
  background: rgba(12, 10, 32, .62);
  border-left: 8px solid var(--cta);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-lg);
}
.hero h1 { color: #fff; margin-bottom: 12px; }
.hero-lede { color: #dbe3f6; font-size: 1.06rem; max-width: 66ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: .92rem; color: #b9c3dd; }
.hero-facts {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.hero-facts li {
  margin: 0; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 14px 16px;
}
.hero-facts b { display: block; color: #fff; font-size: 1.28rem; }
.hero-facts span { font-size: .88rem; color: #c3cbe4; }
.hero-city-link { margin: 20px 0 0; font-size: .95rem; color: #c3cbe4; }
.hero-city-link a { color: #fff; }
@media (max-width: 880px) { .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hero { padding: 26px 0 34px; } .hero-band { padding: 20px 18px 18px; border-left-width: 6px; } }

/* ---------- trust band ---------- */
.trust-strip { background: var(--surface-alt); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { color: var(--sky); flex: none; margin-top: 2px; }
.trust-item strong { display: block; font-size: .97rem; }
.trust-item span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- section heads ---------- */
.section-head { max-width: 74ch; margin-bottom: 30px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800;
  color: var(--cta); margin: 0 0 8px;
}
.section-dark .eyebrow { color: #f9a8bd; }
.section-foot { margin: 30px 0 0; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 2px;
  background: var(--sky); border-radius: 0 0 2px 2px;
}
.card:hover { transform: translateY(-3px); border-color: var(--sky-line); box-shadow: var(--shadow-lg); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 14px;
  background: var(--sky-soft); color: var(--sky); border-radius: 12px;
}
.card-link { font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { color: currentColor; }
.service-card h3 a { text-decoration: none; color: var(--ink); }
.service-card h3 a:hover { color: var(--cta); }
.card-plain::before { display: none; }
.card-quiet { box-shadow: none; background: var(--surface-alt); }

.pill {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--sky-soft); color: var(--sky);
}
.pill-cta { background: #fde7ee; color: var(--cta); }
.pill-ink { background: #e6e5f5; color: var(--ink); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow);
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: .97rem; color: var(--muted); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 12px; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; font-weight: 800; font-size: .98rem;
}
.step-sub { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
@media (max-width: 940px) { .steps-4, .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps, .steps-4, .steps-5 { grid-template-columns: 1fr; } }

/* ---------- cities ---------- */
.city-grid { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .city-grid { grid-template-columns: 1fr; } }
.city-link {
  display: block; padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.city-link small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.city-link:hover { border-color: var(--sky); background: var(--sky-soft); color: var(--ink); }
.city-alpha { margin-top: 34px; }
.city-alpha h3 {
  display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: 14px;
  border-bottom: 2px solid var(--sky-line); padding-bottom: 6px; width: 100%;
}
.city-alpha h3 span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.city-count { color: var(--muted); font-size: .95rem; }

/* ---------- content blocks ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 34px; }
.prose h3 { margin-top: 26px; }
.prose > :first-child { margin-top: 0; }
.lede { font-size: 1.06rem; color: var(--muted); }
.callout {
  border-left: 6px solid var(--sky); background: var(--sky-soft);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin: 26px 0;
}
.callout-cta { border-left-color: var(--cta); background: #fdf1f5; }
.callout h3 { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--sky-soft); border: 2px solid var(--sky);
}
.warnlist { list-style: none; padding-left: 0; }
.warnlist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.warnlist li::before {
  content: "!"; position: absolute; left: 0; top: .18em; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
  background: #fde7ee; color: var(--cta); border-radius: 50%;
}
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; }
.stat {
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
}
.stat b { display: block; font-size: 1.2rem; color: var(--ink); }
.stat span { font-size: .88rem; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--surface); }
caption { text-align: left; font-size: .88rem; color: var(--muted); padding-bottom: 8px; }
th, td { border: 1px solid var(--border); padding: 11px 13px; text-align: left; vertical-align: top; }
th { background: var(--surface-alt); color: var(--ink); }
.byline { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.link-cols { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .link-cols { grid-template-columns: 1fr; } }
.link-list { list-style: none; padding: 0; }
.link-list li { margin-bottom: 8px; }

/* ---------- breadcrumbs ---------- */
.crumbs { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: .88rem; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--border); }
.crumbs li:last-child::after { display: none; }
.crumbs a { text-decoration: none; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--cta); border-bottom: 2.5px solid var(--cta);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { background: var(--surface-alt); }
.faq .faq-body { padding: 16px 20px 20px; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 60%, #0b3f63 100%);
  color: #eaeefb; padding: 46px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccd5ec; max-width: 62ch; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: space-between; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: #c8cfe6; padding: 48px 0 26px; font-size: .94rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #cde4f6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-phone { display: inline-block; font-size: 1.35rem; font-weight: 800; color: #fff; margin: 6px 0 14px; }
.footer-note { font-size: .82rem; color: #9aa5c4; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px; padding-top: 20px; }
.disclaimer p { font-size: .78rem; color: #93a0bf; line-height: 1.6; margin-bottom: 12px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 18px; padding-top: 18px;
  font-size: .82rem; color: #93a0bf;
}

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--cta); border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; font-weight: 800; text-decoration: none; font-size: 1.06rem;
}
.callbar small { display: block; text-align: center; color: #ffd7e1; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) {
  .callbar { display: block; }
  body { padding-bottom: 78px; }
}

/* ---------- misc ---------- */
.anchor-target { scroll-margin-top: 90px; }
.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;
}
.notfound { padding: 70px 0; text-align: center; }
.notfound h1 { margin-bottom: 14px; }
.notfound .hero-actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .card:hover { transform: none; }
}

@media print {
  .site-header, .callbar, .cta-band { display: none; }
  body { color: #000; }
}
