/* Puget Bluff Water Damage Restoration — Custom Anti-Footprint Design System */
:root {
  --pb-slate: #102430;
  --pb-slate-mid: #1B384A;
  --pb-teal: #0E6B74;
  --pb-teal-dark: #094F56;
  --pb-cedar: #C85A17;
  --pb-cedar-dark: #A1450E;
  --pb-fog: #F7F9FA;
  --pb-drift: #EBF1F4;
  --pb-border: #D4DFE5;
  --pb-ink: #1A272F;
  --pb-muted: #4C5F6B;
  --pb-white: #FFFFFF;
  --pb-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --pb-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --pb-radius: 10px;
  --pb-shadow: 0 6px 24px rgba(16, 36, 48, 0.08);
  --pb-max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--pb-sans);
  color: var(--pb-ink);
  background: var(--pb-white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pb-teal); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--pb-teal-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--pb-cedar);
  outline-offset: 2px;
}

.pb-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--pb-slate); color: var(--pb-white);
  padding: 10px 16px; z-index: 9999; font-weight: 600;
}
.pb-skip:focus { left: 10px; top: 10px; }

.pb-wrap { width: 100%; max-width: var(--pb-max); margin: 0 auto; padding: 0 20px; }
.pb-narrow { max-width: 820px; margin: 0 auto; }

/* Top Dispatch Strip */
.pb-topbar {
  background: var(--pb-slate);
  color: #E2EEF2;
  font-size: 0.875rem;
  padding: 8px 0;
}
.pb-topbar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
}
.pb-topbar a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.pb-topbar a:hover { text-decoration: underline; }

/* Header & Navigation */
.pb-header {
  background: var(--pb-white);
  border-bottom: 1px solid var(--pb-border);
  position: sticky; top: 0; z-index: 100;
}
.pb-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}
.pb-brand { display: inline-flex; align-items: center; text-decoration: none; }
.pb-brand img { height: 46px; width: auto; }

.pb-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pb-drift); border: 1px solid var(--pb-border);
  border-radius: 8px; padding: 8px 12px; font-weight: 600; color: var(--pb-slate);
  cursor: pointer; font-size: 0.95rem;
}
.pb-nav { display: none; }
.pb-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--pb-white); border-bottom: 1px solid var(--pb-border);
  padding: 16px 20px 22px; box-shadow: var(--pb-shadow);
}
.pb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-nav a { color: var(--pb-slate); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.pb-nav a:hover { color: var(--pb-teal); }

.pb-call-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pb-cedar); color: var(--pb-white) !important;
  padding: 11px 18px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: background 0.15s ease;
  white-space: nowrap;
}
.pb-call-btn:hover { background: var(--pb-cedar-dark); color: var(--pb-white) !important; }
.pb-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--pb-white) !important;
  border: 2px solid rgba(255,255,255,0.75);
  padding: 10px 18px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.pb-btn-outline:hover { background: rgba(255,255,255,0.12); }
.pb-btn-teal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pb-teal); color: var(--pb-white) !important;
  padding: 11px 20px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.pb-btn-teal:hover { background: var(--pb-teal-dark); }

@media (min-width: 960px) {
  .pb-nav-toggle { display: none; }
  .pb-nav { display: block; position: static; padding: 0; box-shadow: none; border: none; }
  .pb-nav ul { flex-direction: row; align-items: center; gap: 22px; }
}

/* Breadcrumbs */
.pb-crumbs {
  background: var(--pb-fog);
  border-bottom: 1px solid var(--pb-border);
  font-size: 0.875rem;
  padding: 10px 0;
}
.pb-crumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.pb-crumbs li + li::before { content: "/"; color: var(--pb-muted); margin-right: 8px; }
.pb-crumbs a { color: var(--pb-teal); text-decoration: none; }
.pb-crumbs a:hover { text-decoration: underline; }
.pb-crumbs [aria-current="page"] { color: var(--pb-muted); font-weight: 600; }

/* Hero */
.pb-hero {
  background: linear-gradient(135deg, var(--pb-slate) 0%, var(--pb-slate-mid) 100%);
  color: var(--pb-white);
  padding: 46px 0 54px;
}
.pb-hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
@media (min-width: 880px) {
  .pb-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
}
.pb-eyebrow {
  display: inline-block; background: rgba(66, 184, 194, 0.18);
  color: #9EE7ED; border: 1px solid rgba(66, 184, 194, 0.4);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  margin-bottom: 14px;
}
.pb-hero h1 {
  font-family: var(--pb-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.18; margin: 0 0 16px; color: var(--pb-white);
}
.pb-hero p.pb-lead {
  font-size: 1.08rem; color: #DCE8EE; margin: 0 0 24px; max-width: 60ch;
}
.pb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.pb-hero-meta {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.9rem; color: #C2D8E2;
  margin-top: 10px;
}
.pb-hero-media {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--pb-radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.pb-hero-media img { width: 100%; height: auto; }
.pb-hero-caption {
  padding: 12px 16px; font-size: 0.86rem; color: #D4E4EC;
  background: rgba(16, 36, 48, 0.72);
}

/* Inner Page Header */
.pb-page-head {
  background: var(--pb-slate);
  color: var(--pb-white);
  padding: 36px 0 40px;
}
.pb-page-head h1 {
  font-family: var(--pb-serif);
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  line-height: 1.22; margin: 0 0 12px; color: var(--pb-white);
}
.pb-page-head p { color: #DCE8EE; max-width: 68ch; margin: 0 0 20px; font-size: 1.03rem; }

/* Sections & Typography */
.pb-sec { padding: 48px 0; }
.pb-sec-alt { background: var(--pb-fog); border-top: 1px solid var(--pb-border); border-bottom: 1px solid var(--pb-border); }
h2 {
  font-family: var(--pb-serif);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  color: var(--pb-slate); line-height: 1.25; margin: 0 0 14px;
}
h3 {
  font-family: var(--pb-serif);
  font-size: 1.2rem; color: var(--pb-slate); line-height: 1.3; margin: 22px 0 10px;
}
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 7px; }

/* Direct Answer / Snippet Box */
.pb-answer-box {
  background: var(--pb-drift);
  border-left: 5px solid var(--pb-teal);
  border-radius: 0 var(--pb-radius) var(--pb-radius) 0;
  padding: 20px 22px;
  margin: 0 0 28px;
}
.pb-answer-box strong.pb-ans-label {
  display: block; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--pb-teal-dark); margin-bottom: 6px;
}

/* Grids & Cards */
.pb-grid-3 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.pb-grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) {
  .pb-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .pb-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .pb-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.pb-card {
  background: var(--pb-white);
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(16, 36, 48, 0.04);
  display: flex; flex-direction: column;
}
.pb-card h3 { margin-top: 0; }
.pb-card-link { margin-top: auto; font-weight: 700; display: inline-block; padding-top: 8px; }

.pb-figure {
  margin: 24px 0;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius);
  overflow: hidden;
  background: var(--pb-fog);
}
.pb-figure figcaption {
  padding: 10px 14px; font-size: 0.86rem; color: var(--pb-muted);
  border-top: 1px solid var(--pb-border);
}

/* Process Steps */
.pb-steps {
  display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step;
}
@media (min-width: 760px) { .pb-steps { grid-template-columns: repeat(4, 1fr); } }
.pb-step {
  background: var(--pb-white); border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius); padding: 20px; position: relative;
}
.pb-step-num {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pb-teal); color: var(--pb-white); font-weight: 700;
  align-items: center; justify-content: center; margin-bottom: 10px;
}

/* Tables */
.pb-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--pb-border); border-radius: var(--pb-radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--pb-white); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--pb-border); vertical-align: top; }
thead th { background: var(--pb-slate); color: var(--pb-white); font-weight: 700; }
tbody tr:nth-child(even) { background: var(--pb-fog); }

/* Badges / Brand Pills */
.pb-pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.pb-pill-list li {
  background: var(--pb-white); border: 1px solid var(--pb-border);
  border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 600; color: var(--pb-slate);
  margin: 0;
}

/* Map Frame */
.pb-map-wrap {
  border-radius: var(--pb-radius); overflow: hidden; border: 1px solid var(--pb-border);
  background: var(--pb-drift);
}
.pb-map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* FAQ Accordion */
.pb-faq-item {
  border: 1px solid var(--pb-border); border-radius: var(--pb-radius);
  background: var(--pb-white); margin-bottom: 12px; overflow: hidden;
}
.pb-faq-btn {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: var(--pb-slate);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.pb-faq-btn::after { content: "+"; font-size: 1.3rem; color: var(--pb-teal); flex-shrink: 0; }
.pb-faq-btn[aria-expanded="true"]::after { content: "\2212"; }
.pb-faq-panel { padding: 0 20px 18px; color: var(--pb-ink); }
.pb-faq-panel[hidden] { display: none; }

/* Callout Banner */
.pb-banner {
  background: var(--pb-slate); color: var(--pb-white);
  border-radius: var(--pb-radius); padding: 30px 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
}
.pb-banner h2, .pb-banner h3 { color: var(--pb-white); margin-top: 0; margin-bottom: 8px; }
.pb-banner p { color: #DCE8EE; margin: 0; max-width: 58ch; }

/* Forms & Calculator */
.pb-form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 680px) { .pb-form-grid { grid-template-columns: repeat(2, 1fr); } }
.pb-field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: var(--pb-slate); }
.pb-field input, .pb-field select, .pb-field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #B7C7D1; border-radius: 8px;
  font-family: var(--pb-sans); font-size: 0.98rem; color: var(--pb-ink); background: var(--pb-white);
}
.pb-calc-result {
  background: var(--pb-drift); border: 2px solid var(--pb-teal);
  border-radius: var(--pb-radius); padding: 22px; margin-top: 22px;
}
.pb-calc-range {
  font-family: var(--pb-serif); font-size: 1.85rem; font-weight: 700; color: var(--pb-slate); margin: 4px 0 10px;
}

/* Article Layout */
.pb-article-meta {
  font-size: 0.9rem; color: #C2D8E2; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px;
}
.pb-article-layout { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 960px) { .pb-article-layout { grid-template-columns: 1fr 310px; align-items: start; } }
.pb-sidebar { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 20px; }
.pb-side-card {
  background: var(--pb-fog); border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius); padding: 20px;
}
.pb-side-card h3 { margin-top: 0; font-size: 1.08rem; }

/* Footer */
.pb-footer {
  background: var(--pb-slate); color: #D4E2E9; padding: 48px 0 28px; margin-top: 40px;
}
.pb-footer a { color: #CBE6EC; text-decoration: none; }
.pb-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.pb-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px;
}
@media (min-width: 760px) { .pb-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pb-footer h3 { color: var(--pb-white); font-size: 1rem; margin: 0 0 12px; font-family: var(--pb-sans); }
.pb-footer ul { list-style: none; padding: 0; margin: 0; }
.pb-footer li { margin-bottom: 7px; font-size: 0.92rem; }
.pb-footer-nap p { margin: 0 0 6px; font-size: 0.92rem; }
.pb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 18px;
}
.pb-copyright { font-size: 0.84rem; color: #9BB4C0; margin: 0 0 12px; }
.pb-mandatory-disclaimer {
  font-size: 10.5px;
  line-height: 1.45;
  color: #8BA3B0;
  margin: 0;
}

/* Sticky Mobile Call Bar */
.pb-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--pb-cedar); padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(16, 36, 48, 0.25);
  text-align: center;
}
.pb-mobile-bar a {
  color: var(--pb-white); font-weight: 700; font-size: 1.02rem;
  text-decoration: none; display: block;
}
@media (min-width: 768px) { .pb-mobile-bar { display: none; } }
