/* ============================================================
   REGAL RESTORATION — site design system (LIGHT THEME / public site)
   Light base, Regal red accent, dark charcoal accent bands.
   Dark "command center" theme preserved in theme-dark.css (staff/admin portal).
   Built by Easley Labs
   ============================================================ */

:root {
  /* Backgrounds — light */
  --bg: #FFFFFF;
  --bg-deep: #F4F6F9;        /* alternating sections */
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(255, 255, 255, 0.9);

  /* Dark accent bands (callout CTAs + footer keep the bold look) */
  --band: #14181F;
  --band-border: #262E37;
  --band-text: #EEF2F6;
  --band-muted: #A6B0BC;

  /* Borders */
  --border: #E3E7ED;
  --border-soft: rgba(20, 25, 31, 0.09);

  /* Brand — Regal red primary, deep orange as warm energy accent */
  --red: #D81E2C;
  --red-deep: #B5121F;
  --red-tint: rgba(216, 30, 44, 0.08);
  --orange: #E8590C;
  --orange-tint: rgba(232, 89, 12, 0.10);
  --amber: #B07A0F;          /* certifications, readable on white */
  --green: #1E9E63;          /* live status dot */
  --cyan: #1597A6;           /* water cue */
  --theme: #D81E2C;          /* reactive accent — shifts on service hover */

  /* Text */
  --text: #14181F;
  --text-muted: #4B5563;
  --text-faint: #8A94A1;
  --text-on-red: #FFFFFF;

  /* Type */
  --font-display: 'Oswald', Impact, 'Arial Narrow Bold', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Monaco, monospace;

  /* Spacing */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --radius: 4px;
  --radius-pill: 100px;
  --maxw: 1180px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* subtle drafting-paper dot grid */
  background-image: radial-gradient(rgba(20,25,31,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* page fade-in transition */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: fadeIn 0.4s ease-out; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.02;
  margin: 0 0 var(--space-md);
}
h1 { font-size: clamp(40px, 7vw, 78px); }
h2 { font-size: clamp(30px, 4.6vw, 50px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0 0 var(--space-md); color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.section--deep { background: var(--bg-deep); }
.center { text-align: center; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--orange);
  display: inline-block;
}
.mono { font-family: var(--font-mono); }
.idx { font-family: var(--font-mono); color: var(--red); font-size: 13px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); max-width: 60ch; }
.accent { color: var(--red); }
.accent-orange { color: var(--orange); }

/* ---------- caution tape divider ---------- */
.tape {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 18px,
    #14181F 18px 36px
  );
  opacity: 0.95;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  font-weight: 600;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: var(--text-on-red); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--lg { padding: 18px 32px; font-size: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: var(--radius);
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
}
.brand__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; font-size: 18px; color: var(--text); }
.brand__name small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: var(--text-faint); font-weight: 400; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30,158,99,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30,158,99,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(30,158,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,158,99,0); }
}
.header__right { display: flex; align-items: center; gap: 18px; }
.header__call {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.5px;
  color: var(--text); display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.header__call b { color: var(--red); }
.nav-toggle {
  background: transparent; border: 1px solid var(--border); color: var(--text);
  width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer;
  display: grid; place-items: center; font-size: 16px;
}
@media (max-width: 720px) {
  .status { display: none; }
  .header__call span { display: none; }
  .header__call { white-space: nowrap; }
  .header__right { gap: 12px; }
  .brand__name { font-size: 16px; white-space: nowrap; }
  .brand__name small { display: none; }
}
@media (max-width: 560px) {
  .header__call { display: none; }
  .brand__name { font-size: 15px; }
  .site-header__bar { height: 58px; }
}

/* ---------- slide nav ---------- */
.nav-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: var(--bg); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .28s ease; z-index: 80;
  padding: 26px; overflow-y: auto;
  box-shadow: -20px 0 50px rgba(20,25,31,0.12);
}
.nav-panel.open { transform: translateX(0); }
.nav-panel__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--text-faint); margin-bottom: 24px; }
.nav-panel a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.5px; font-size: 19px;
}
.nav-panel a:hover { color: var(--red); }
.nav-panel a span { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(12,16,20,0.5); opacity: 0; visibility: hidden; transition: opacity .28s; z-index: 70; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */
.hero { padding: clamp(60px, 11vw, 130px) 0 clamp(40px, 7vw, 90px); position: relative; overflow: hidden; }
.hero__glow { position: absolute; top: -28%; right: -8%; width: 560px; height: 560px; border-radius: 50%; background: var(--theme); opacity: 0.12; filter: blur(92px); pointer-events: none; transition: background .35s ease, opacity .35s ease; }
.hero h1 span { display: block; color: var(--theme); transition: color .3s ease; }
.hero .lede { margin-top: 20px; }
.hero__cmt { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin: 22px 0 30px; line-height: 1.8; }
.hero__cmt::before { content: "// "; color: var(--red); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); margin-top: clamp(36px, 6vw, 64px); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 22px; }
.stat__num { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); color: var(--text); line-height: 1; }
.stat__num b { color: var(--red); font-weight: 700; }
.stat__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 10px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ---------- numbered card grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ncard { background: var(--bg-card); padding: 30px 26px; }
.ncard__idx { font-family: var(--font-mono); font-size: 13px; color: var(--red); margin-bottom: 14px; }
.ncard h3 { font-size: 19px; margin-bottom: 10px; }
.ncard p { font-size: 15px; margin: 0; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- stat callout (dark accent band) ---------- */
.callout {
  background: var(--band);
  border: 1px solid var(--band-border);
  border-left: 5px solid var(--red);
  border-right: 5px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
}
.callout .eyebrow { justify-content: center; }
.callout h2 { color: #fff; }
.callout h2 b { color: var(--red); }
.callout p, .callout .lede { color: var(--band-muted); }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-grid--quad { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .svc-grid--quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-grid--quad { grid-template-columns: 1fr; } }
.svc {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,25,31,0.08); }
.svc__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; color: var(--orange); text-transform: uppercase; }
.svc h3 { margin: 12px 0 10px; font-size: 24px; }
.svc p { font-size: 15px; flex-grow: 1; }
.svc__link { font-family: var(--font-mono); font-size: 13px; color: var(--red); margin-top: 14px; display: inline-flex; gap: 8px; }
.svc:hover .svc__link { color: var(--red-deep); }

/* ---------- trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 22px; background: var(--bg-card); text-align: center; min-width: 150px;
  border-top: 3px solid var(--amber);
}
.cert__mark { font-family: var(--font-display); text-transform: uppercase; color: var(--text); letter-spacing: 0.5px; font-size: 16px; }
.cert__sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; color: var(--text-faint); margin-top: 4px; text-transform: uppercase; }

/* ---------- numbered list (playbook) ---------- */
.plist { border-left: 2px solid var(--red); margin-left: 6px; }
.plist__item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0 22px 22px; border-bottom: 1px solid var(--border-soft); }
.plist__n { font-family: var(--font-display); font-size: 40px; color: var(--red); line-height: 1; }
.plist__item h3 { font-size: 18px; margin-bottom: 6px; }
.plist__item p { font-size: 15px; margin: 0; }
@media (max-width: 560px) { .plist__item { grid-template-columns: 46px 1fr; gap: 12px; } .plist__n { font-size: 30px; } }

/* ---------- before / after ---------- */
.ba { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--bg-deep); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__label { position: absolute; bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(20,24,31,0.82); padding: 5px 10px; border-radius: var(--radius); color: #fff; }
.ba__label--before { left: 12px; }
.ba__label--after { right: 12px; color: #6BE3A8; }
.ba__range { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--red); transform: translateX(-1px); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--red); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.ba__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-align: center; padding: 20px; }

/* ---------- FAQ accordion ---------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { width: 100%; text-align: left; background: var(--bg-card); border: 0; color: var(--text); padding: 20px 24px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.3px; font-size: 17px; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__q::after { content: "+"; color: var(--red); font-size: 22px; flex-shrink: 0; }
.faq__item.open .faq__q::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a p { padding: 0 24px; margin: 0; }
.faq__item.open .faq__a { max-height: 400px; }
.faq__item.open .faq__a p { padding: 4px 24px 22px; }

/* ---------- city pill mosaic ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.5px; background: var(--bg-card); transition: border-color .2s, color .2s; }
.pill:hover { border-color: var(--red); color: var(--red); }
.pill span { color: var(--red); }
.pill--you { border-color: var(--red); background: var(--red-tint); }
.pill--you span { color: var(--red); }

/* location-aware line */
.geo-line { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.4px; color: var(--text); background: var(--red-tint); border: 1px solid var(--red); border-radius: var(--radius); padding: 10px 16px; margin: 0 0 20px; }
.geo-line[hidden] { display: none; }
.geo-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.geo-line b { color: var(--red); }

/* ---------- desktop main nav ---------- */
.mainnav { display: none; }
@media (min-width: 1080px) {
  .mainnav { display: flex; align-items: center; gap: 2px; }
  .nav-toggle { display: none; }
  .status { display: none; }
  .header__call { background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: background .2s ease; }
  .header__call:hover { background: var(--red-deep); }
  .header__call b { color: #fff; }
}
.mainnav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text); padding: 10px 13px; white-space: nowrap; transition: color .2s ease; }
.mainnav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--svc, var(--red)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.mainnav__link:hover::after, .mainnav__link:focus-visible::after { transform: scaleX(1); }
.mainnav__link:hover { color: var(--svc, var(--red)); }
.nav-svc--water { --svc: #1597A6; }
.nav-svc--fire { --svc: #E8590C; }
.nav-svc--mold { --svc: #1E9E63; }
.nav-svc--storm { --svc: #6C5CE7; }
.caret { font-size: 10px; opacity: 0.7; }
.mainnav__drop { position: relative; }
.mainnav__menu { position: absolute; top: calc(100% - 2px); left: 0; min-width: 380px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(20,25,31,0.16); padding: 8px; display: none; z-index: 75; columns: 2; column-gap: 4px; }
.mainnav__drop:hover .mainnav__menu, .mainnav__drop:focus-within .mainnav__menu { display: block; }
.mainnav__menu a { display: block; padding: 9px 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-muted); border-radius: 4px; }
.mainnav__menu a:hover { color: var(--red); background: var(--bg-deep); }

/* ---------- service-reactive theme (hover the service in the nav) ---------- */
body:has(.nav-svc--water:hover) { --theme: #1597A6; }
body:has(.nav-svc--fire:hover) { --theme: #E8590C; }
body:has(.nav-svc--mold:hover) { --theme: #1E9E63; }
body:has(.nav-svc--storm:hover) { --theme: #6C5CE7; }

/* ---------- top utility / urgency bar ---------- */
.topbar { background: var(--band); color: var(--band-muted); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.4px; }
.topbar[hidden] { display: none; }
.topbar__in { max-width: var(--maxw); margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; text-align: center; }
.topbar b { color: #fff; }
.topbar__x { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--band-muted); cursor: pointer; font-size: 17px; line-height: 1; }
.topbar__x:hover { color: #fff; }
@media (max-width: 560px) { .topbar__in { font-size: 11px; padding-right: 38px; } }

/* ---------- hero credentials line ---------- */
.hero__creds { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; }
.hero__creds span { display: inline-flex; align-items: center; gap: 7px; }
.hero__creds span::before { content: "\2713"; color: var(--green); font-weight: 700; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; }
.step__n { font-family: var(--font-display); font-size: 40px; color: var(--red); line-height: 1; }
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- insurance carrier chips ---------- */
.carriers__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.carrier-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; color: var(--band-text); border: 1px solid var(--band-border); border-radius: var(--radius); padding: 9px 14px; background: rgba(255,255,255,0.04); }

/* ---------- problem qualifier ---------- */
.qualifier { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 13px 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.5px; background: var(--bg-card); transition: border-color .2s ease, color .2s ease, transform .15s ease; }
.qchip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.qchip--call { background: var(--red); color: #fff; border-color: var(--red); }
.qchip--call:hover { background: var(--red-deep); color: #fff; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 28px; }
.quote__stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }
.quote p { font-size: 17px; color: var(--text); margin: 0 0 16px; line-height: 1.6; }
.quote__who { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); }

/* ---------- recent work / video ---------- */
.video-embed { position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--bg-deep); display: grid; place-items: center; }
.video-embed video, .video-embed iframe, .video-embed img { width: 100%; height: 100%; object-fit: cover; }
.video-embed__ph { text-align: center; color: var(--text-faint); font-family: var(--font-mono); font-size: 13px; padding: 24px; }
.video-embed__play { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; margin: 0 auto 14px; }

/* ---------- footer socials ---------- */
.socials { display: flex; gap: 10px; margin: 16px 0 0; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--band-border); border-radius: var(--radius); display: grid; place-items: center; color: var(--band-muted); transition: color .2s ease, border-color .2s ease; }
.socials a:hover { color: #fff; border-color: var(--red); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- team / meet the team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.member { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.member:hover { border-color: var(--red); transform: translateY(-3px); }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.member__body { padding: 18px 18px 22px; }
.member h3 { font-size: 19px; margin: 0 0 4px; }
.member__role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.member p { font-size: 14px; margin: 0; }

/* ---------- per-page service theming ---------- */
body.theme-water { --theme: #1597A6; --phero-bg: url(../images/hero/water.jpg); }
body.theme-fire  { --theme: #E8590C; --phero-bg: url(../images/hero/fire.jpg); }
body.theme-mold  { --theme: #1E9E63; --phero-bg: url(../images/hero/mold.jpg); }
body.theme-storm { --theme: #6C5CE7; --phero-bg: url(../images/hero/storm.jpg); }
/* on a themed page, route the accent details to that page's color */
body[class*="theme-"] .eyebrow { color: var(--theme); }
body[class*="theme-"] .eyebrow::before { background: var(--theme); }
body[class*="theme-"] .accent { color: var(--theme); }
body[class*="theme-"] .plist { border-left-color: var(--theme); }
body[class*="theme-"] .plist__n { color: var(--theme); }
body[class*="theme-"] .ncard__idx { color: var(--theme); }
body[class*="theme-"] .crumb a:hover { color: var(--theme); }
body[class*="theme-"] .svc__link { color: var(--theme); }

/* interior hero: themed glow + per-service background image */
.phero { overflow: hidden; background: var(--phero-bg) center/cover no-repeat #14181F; }
.phero::before { content: ""; position: absolute; top: -42%; right: -6%; width: 540px; height: 540px; border-radius: 50%; background: var(--theme); opacity: 0.10; filter: blur(90px); pointer-events: none; z-index: 0; transition: background .3s ease; }
.phero::after { content: ""; position: absolute; inset: 0; background: rgba(20,24,31,0.45); pointer-events: none; z-index: 1; }
.phero > .wrap { position: relative; z-index: 2; }

/* ---------- floating emergency CTA ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px; font-weight: 600;
  box-shadow: 0 8px 30px rgba(216,30,44,0.35);
  animation: fabpulse 2.4s infinite;
}
.fab b { font-size: 14px; }
.fab__ring { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
@keyframes fabpulse {
  0% { box-shadow: 0 8px 30px rgba(216,30,44,0.35), 0 0 0 0 rgba(216,30,44,0.45); }
  70% { box-shadow: 0 8px 30px rgba(216,30,44,0.35), 0 0 0 16px rgba(216,30,44,0); }
  100% { box-shadow: 0 8px 30px rgba(216,30,44,0.35), 0 0 0 0 rgba(216,30,44,0); }
}
@media (max-width: 560px) { .fab { left: 18px; right: 18px; justify-content: center; } }

/* ---------- page hero (interior) ---------- */
.phero { padding: clamp(50px, 8vw, 96px) 0 clamp(30px, 5vw, 60px); position: relative; overflow: hidden; }
.phero, .phero h1, .phero .lede, .phero .eyebrow { color: #fff; }
.phero .eyebrow::before { background: #fff; }
.phero .crumb { font-family: var(--font-mono); font-size: 14px; letter-spacing: 1px; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.phero .crumb a { color: rgba(255,255,255,0.65); }
.phero .crumb a:hover { color: var(--theme); }
.phero .lede { font-size: 19px; color: rgba(255,255,255,0.85); }
.phero .btn--ghost { background: var(--red); color: #fff; border-color: var(--red); }
.phero .btn--ghost:hover { background: var(--red-deep); border-color: var(--red-deep); }
.phero h1 span { color: var(--theme); display: block; transition: color .3s ease; }

/* two-col content */
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.aside { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: sticky; top: 84px; box-shadow: 0 10px 30px rgba(20,25,31,0.06); }
.aside h3 { font-size: 18px; }
.aside ul { list-style: none; padding: 0; margin: 0 0 18px; }
.aside li { padding: 9px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; }
.aside li::before { content: "+"; color: var(--red); font-weight: 700; }

.prose h2 { margin-top: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding: 8px 0 8px 26px; position: relative; color: var(--text-muted); }
.prose ul li::before { content: "+"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ---------- footer (dark accent band) ---------- */
.site-footer { background: var(--band); border-top: 1px solid var(--band-border); padding: clamp(48px, 7vw, 80px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: #fff; }
.footer-col h4 { font-size: 14px; font-family: var(--font-mono); letter-spacing: 1.5px; color: var(--band-muted); text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--band-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--band-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--band-muted); }
.footer-bottom a { color: var(--band-muted); }
.footer-bottom a:hover { color: #fff; }

/* utilities */
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: var(--space-lg); }
.maxw-head { max-width: 720px; }
.spacer-sm { height: 24px; }

/* ---------- real logo crest (header) ---------- */
.brand__crest { height: 38px; width: auto; display: block; }
@media (max-width: 560px) { .brand__crest { height: 32px; } }

/* ---------- on-the-job photos ---------- */
.photo-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .photo-2 { grid-template-columns: 1fr; } }
.shot { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.shot figcaption { padding: 14px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.5px; color: var(--text-muted); }
.feature-img { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); object-fit: cover; }

/* ---------- insurance carriers band ---------- */
.carriers { background: var(--band); border: 1px solid var(--band-border); border-radius: var(--radius); padding: clamp(30px, 5vw, 52px); text-align: center; }
.carriers .eyebrow { justify-content: center; }
.carriers h2 { color: #fff; }
.carriers h2 b { color: var(--red); }
.carriers p { color: var(--band-muted); max-width: 62ch; margin: 0 auto; }
