/* Pleasant Grove Water Damage — main stylesheet.
   Redesign 2026-11-12: deep teal #0B3B39 / teal #0E5751 / amber #F59E0B
   on warm paper #FAF7F1. Body text is 20px everywhere except headings.
   Fonts stay DM Sans. Class names are legacy labels (btn-cyan,
   section-navy, etc.) — only colours changed, never the names. */

:root {
  --teal-deep: #0B3B39;
  --teal-dark: #072825;
  --teal: #0E5751;
  --amber: #F59E0B;
  --amber-dark: #B45309;
  --paper: #FAF7F1;
  --sage: #E9F2EC;
  --ink: #16302E;
  --slate: #3D5551;
  --pale-text: #D8EDE7;
  --hairline: #CFE0D8;
  --border: #2A6B62;
  --radius: 12px;
  --container: 76rem;
  --shadow: 0 2px 8px rgba(11, 59, 57, .08), 0 18px 45px -20px rgba(7, 40, 37, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
/* Phone numbers never wrap mid-number (form intro, footer NAP, final CTA). */
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
h1 { color: var(--ink); font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: .98; letter-spacing: -.03em; margin: 0; }
h2 { color: var(--amber-dark); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 1rem; }
/* Fix round 2026-11-13: H2 is SOLID amber-dark #B45309 (matches the amber
   CTAs). Contrast: vs white 5.02:1, vs paper 4.70:1 (AA kept). On sage
   (.section-tint) amber is 4.39:1, so tint H2s stay teal (7.35:1) — see
   .section-tint h2 below. Dark sections keep paper H2s (11.56:1). */
   /* Chain 1 2026-11-13 (A P3-4, re-measured): #B45309 on sage #E9F2EC =
   4.39:1, still below the 4.5:1 AA bar — tint H2s KEEP teal (7.35:1).
   No change made. */
.final-cta-card h2, .section-navy h2 { color: var(--paper); }
.section-tint h2 { color: var(--teal); }
h3 { color: var(--teal-deep); font-size: clamp(1.45rem, 2.5vw, 2.1rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .75rem; }
p { margin: 0 0 1.25rem; }
p.lead, .lead { font-size: 1.25rem; line-height: 1.65; }
.content-block p.lead { color: var(--teal-deep); }
.content-block p a, .content-block li a, .faq-answer a {
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}
.content-block p a:hover, .content-block li a:hover, .faq-answer a:hover {
  color: var(--teal-deep);
  text-decoration-color: var(--amber);
}
.content-block strong { color: var(--teal-deep); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }
.eyebrow {
  font-weight: 700; font-size: 1.1875rem; text-transform: uppercase;
  letter-spacing: .18em; color: var(--teal); margin: 0 0 .75rem;
}
.eyebrow.on-navy { color: var(--amber); }

/* Buttons: one shared size for every variant, so the two hero buttons are
   exactly equal in size, weight and placement. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1.25rem; min-height: 48px; padding: .875rem 1.5rem;
  border-radius: 12px; text-decoration: none; line-height: 1.2; text-align: center;
  box-shadow: 0 6px 20px -8px rgba(7, 40, 37, .45);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-cyan { background: var(--amber); color: #1A2E2C; }
.btn-cyan:hover { background: #DD8A06; color: #1A2E2C; }
.btn-cream { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal), 0 6px 20px -8px rgba(0, 0, 0, .4); }
.btn-cream:hover { background: var(--sage); color: var(--teal-deep); }
.btn-navy { background: var(--teal-deep); color: var(--paper); }
.btn-navy:hover { background: var(--teal); color: var(--paper); }
.btn-outline { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.btn-outline:hover { background: var(--sage); color: var(--teal-deep); }

/* Header — premium: gradient top rule, crisp brand mark, 44px targets. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--hairline); box-shadow: 0 4px 20px -12px rgba(7, 40, 37, .35); }
.site-header::before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--teal-deep), var(--teal) 45%, var(--amber)); }
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal-deep); font-weight: 700; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; min-height: 44px; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; border-radius: 10px; background: var(--teal-deep); display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(7, 40, 37, .55); }
.brand-mark svg { width: 1.35rem; height: 1.35rem; display: block; }
.brand small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-dark); }
.main-nav { display: none; align-items: center; gap: 1.5rem; margin-left: auto; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav > a, .main-nav summary { font-weight: 700; font-size: 1.25rem; color: var(--teal-deep); text-decoration: none; cursor: pointer; list-style: none; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav > a:hover, .main-nav summary:hover { color: var(--teal); text-decoration: underline; }
.main-nav details { position: relative; }
.main-nav details summary::-webkit-details-marker { display: none; }
.main-nav details[open ] summary { color: var(--teal); }
.nav-drop {
  position: absolute; top: calc(100% + .9rem); left: 50%; transform: translateX(-50%);
  background: var(--paper); border-radius: 12px; box-shadow: var(--shadow);
  border: 1px solid rgba(14, 87, 81, .12); padding: 1rem 1.25rem; width: 22rem; z-index: 60;
  max-height: min(28rem, calc(100vh - 7rem));
  max-height: min(28rem, calc(100dvh - 7rem));
  overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable;
  scrollbar-width: thin; scrollbar-color: var(--teal) var(--sage);
}
.nav-drop::-webkit-scrollbar { width: 8px; }
.nav-drop::-webkit-scrollbar-track { background: var(--sage); border-radius: 8px; }
.nav-drop::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 8px; }
.nav-drop::-webkit-scrollbar-thumb:hover { background: var(--teal-deep); }
.nav-drop .drop-group { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--teal); margin: .75rem 0 .35rem; }
.nav-drop .drop-group:first-child { margin-top: 0; }
.nav-drop a { display: block; font-weight: 700; font-size: 1.25rem; color: var(--teal-deep); text-decoration: none; padding: .55rem .5rem; border-radius: 6px; min-height: 44px; }
.nav-drop a:hover { background: var(--sage); color: var(--teal-deep); }
.header-cta { display: none; margin-left: .5rem; padding: .55rem 1.1rem; min-height: 44px; line-height: 1.25; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.mobile-head { display: flex; gap: .5rem; margin-left: auto; align-items: center; }
@media (min-width: 1024px) { .mobile-head { display: none; } }
.mobile-head .btn { min-height: 3rem; padding: .5rem .65rem; font-size: 1rem; white-space: nowrap; }
.mobile-head details { position: static; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 70; max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--teal) var(--sage); background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow); padding: 1rem 1.25rem 1.5rem; }
.mobile-menu::-webkit-scrollbar { width: 8px; }
.mobile-menu::-webkit-scrollbar-track { background: var(--sage); border-radius: 8px; }
.mobile-menu::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 8px; }
.mobile-menu::-webkit-scrollbar-thumb:hover { background: var(--teal-deep); }
.mobile-menu .drop-group { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--teal); margin: 1rem 0 .3rem; }
.mobile-menu a { display: block; font-weight: 700; color: var(--teal-deep); text-decoration: none; padding: .6rem 0; min-height: 44px; }
.mobile-menu a:hover { color: var(--teal-deep); }
.mobile-menu .btn { width: 100%; margin-top: 1rem; }

/* Mobile header — one row, one line: tighter brand, tagline hidden (it wrapped
   to 2 lines and pushed the header to 124px), hamburger icon instead of the
   "Menu" text button. At <=380px the wordmark hides and only the drop mark
   stays, so the full phone number + menu always fit (360px: 28px overflow fixed). */
@media (max-width: 1023px) {
  .site-header .container { gap: .75rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .brand .brand-word { white-space: nowrap; }
  .brand small { display: none; }
  .mobile-head .btn { font-size: .9375rem; padding: .5rem .6rem; }
  .mobile-head summary.btn { padding: .5rem .8rem; }
  .mobile-head summary svg { display: block; }
}
@media (max-width: 640px) {
  .site-header .container { padding: 0 1rem; }
}
@media (max-width: 380px) {
  .brand .brand-word { display: none; }
}

/* Hero — photographic, full-bleed. Dark gradient overlay keeps the eyebrow,
   H1, intro and both buttons readable on the photo at every size. */
.hero { background: var(--teal-dark); color: var(--paper); position: relative; overflow: hidden; }
.hero-media { position: relative; min-height: 26rem; }
@media (min-width: 640px) { .hero-media { min-height: 30rem; } }
@media (min-width: 1024px) { .hero-media { min-height: 36rem; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: saturate(.92) contrast(1.05); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 40, 37, .42), rgba(7, 40, 37, .62) 42%, rgba(7, 40, 37, .92) 68%, var(--teal-dark) 88%); }
/* Chain 1 CSS fix 2026-11-13 (A P3-1): the old gradient stayed translucent
   until 78% and reached solid only at the very bottom edge, so on bright
   heroes the photo ended in a hard straight slice mid-subject where it met
   the dark band. The gradient now reaches solid teal-dark at 88%, so the
   photo fades out well above the band edge and the seam disappears. No
   words change; hero text sits over the darker lower gradient as before. */
.hero-brand-panel { background: var(--teal-dark); }
.hero-brand-panel .panel-inner {
  min-height: 12rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: radial-gradient(60rem 30rem at 50% 0%, rgba(245, 158, 11, .18), transparent 60%), var(--teal-dark);
  padding: 3rem 1.25rem;
}
@media (min-width: 1024px) { .hero-brand-panel .panel-inner { min-height: 14rem; } }
/* Rebuild 2026-11-12 (panel-hero eyebrow fix): pages without a hero photo
   (the 5 new routes + 404) render .hero-brand-panel instead of .hero-media,
   but the panel was shorter (12rem/14rem) than the .hero-short content
   pull-up (-13.5rem/-15rem/-17rem), so the content started 1.5-3rem ABOVE
   the hero — the eyebrow sat under the fixed header, clipped by
   .hero{overflow:hidden} (invisible @1280, cut @390). Match the panel to
   the .hero-short media heights at every breakpoint so panel heroes land
   the eyebrow exactly where photo heroes do. No words change. */
.hero-short .hero-brand-panel .panel-inner { min-height: 17rem; }
@media (min-width: 640px) { .hero-short .hero-brand-panel .panel-inner { min-height: 19rem; } }
@media (min-width: 1024px) { .hero-short .hero-brand-panel .panel-inner { min-height: 22rem; } }
.hero-content { position: relative; z-index: 2; margin-top: -21rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .hero-content { margin-top: -24rem; } }
@media (min-width: 1024px) { .hero-content { margin-top: -28rem; padding-bottom: 3rem; } }
.hero h1 { color: var(--paper); text-shadow: 0 2px 28px rgba(7, 40, 37, .55); }
.hero .hero-intro { color: var(--pale-text); font-size: 1.25rem; line-height: 1.65; margin-top: 1.25rem; text-shadow: 0 1px 18px rgba(7, 40, 37, .6); max-width: 62rem; }
.hero .eyebrow.on-navy { text-shadow: 0 1px 14px rgba(7, 40, 37, .6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; max-width: 38rem; }
@media (min-width: 640px) {
  /* F4: the two hero buttons share the row equally, so Button 1 and
     Button 2 measure the same width at desktop (the 38rem cap keeps them
     at the old Button 2 scale instead of stretching full-width). */
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 640px) {
  /* F4 (mobile): the hero buttons stack full-width below 640px — same
     pattern the final-CTA card already uses. Grid with 1fr rows so the
     two buttons are exactly equal height even when a long Button 2
     label wraps to 2 lines (audit P2-2: /emergency-water-extraction
     and /fire-sprinkler-pipe-burst at 390px measured B1 350x51 vs B2
     350x74). .btn is inline-flex with centred content, so the shorter
     label stays vertically centred in the taller box. Desktop
     untouched (this block is <=640px only); no label changes. */
  .hero-ctas { display: grid; grid-auto-rows: 1fr; }
  .hero-ctas .btn { width: 100%; }
  /* B2-800 fix 2026-11-13 (mobile hero compaction, <=640px only): the
     equal-height grid grew B1 to B2's 2-line height, pushing emergency's
     Button 2 bottom to 811px at 390px — 11px below the fold at 390x800.
     Save 12px of hero-only space above Button 2's bottom: tighter gap
     between the two stacked hero buttons (12px -> 6px) and tighter
     hero-CTA top margin (12px -> 6px). Scoped `.hero .hero-ctas` so the
     final-CTA card's own .hero-ctas (same class, different parent) is
     untouched; specificity (0,2,0) beats the unscoped .hero-ctas rules
     below. No label, font, line-height or button-padding change. */
  .hero .hero-ctas { gap: .375rem; margin-top: .375rem; }
}
.hero-short .hero-media { min-height: 17rem; }
@media (min-width: 640px) { .hero-short .hero-media { min-height: 19rem; } }
@media (min-width: 1024px) { .hero-short .hero-media { min-height: 22rem; } }
.hero-short .hero-content { margin-top: -13.5rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .hero-short .hero-content { margin-top: -15rem; } }
@media (min-width: 1024px) { .hero-short .hero-content { margin-top: -17rem; padding-bottom: 2.5rem; } }

/* Mobile hero — compact so BOTH CTAs fit in the first paint (390x844, 360x800).
   No words change: content pulled further up over the photo, tighter eyebrow
   leading, smaller mobile H1 with greedy wrap (balance could add a 5th line),
   tighter intro leading. Desktop untouched.
   Fix round 2026-11-13: body text went 18px -> 19px, which made the long
   eyebrow wrap to 3 lines (+28px) and the intro gain a line — Button 2 fell
   to 857px at 390x844 / 390x800 (was 778px). The mobile hero stays compact
   on purpose: eyebrow 16px (a display kicker, not body copy), intro leading
   1.35, tighter margins — Button 2 back inside the first paint.
   Batch 3 2026-11-13: body text 19px -> 20px site-wide (not headings) per
   user order — Button 2 at 390 must be re-verified on every page; if it
   falls below the fold, compact hero margins further (never shrink the
   20px body text on mobile). */
@media (max-width: 639px) {
  /* B2-800 fix 2026-11-13: pull the hero content 8px further up over the
     photo (-25rem -> -25.5rem; short heroes -13.5rem -> -14rem) so the
     eyebrow still starts 8px / 48px below the hero top — no clipping,
     header bottom is 84px and content starts at ~132px. Saves 8px above
     Button 2's bottom on every hero page. */
  .hero-content { margin-top: -25.5rem; padding-bottom: 2rem; }
  .hero-short .hero-content { margin-top: -14rem; }
  /* B2-800 fix 2026-11-13: tighter hero rhythm — eyebrow->H1 8px -> 4px,
     H1->intro 8px -> 4px, intro->CTAs 8px -> 0 (CTAs carry the 6px top
     margin from the F4 block above). Saves 8px more above Button 2's
     bottom. No font-size / line-height change anywhere. */
  .hero .eyebrow { font-size: 1rem; line-height: 1.35; letter-spacing: .12em; margin-bottom: .25rem; }
  .hero h1 { font-size: 1.625rem; line-height: 1.05; text-wrap: wrap; }
  .hero .hero-intro { line-height: 1.35; margin-top: .25rem; margin-bottom: 0; }
  .hero-ctas { margin-top: .75rem; }
}

/* A-to-Z fix 2026-11-12 (G1): no break tags anywhere — the header brand lines
   and the footer contact lines are block-level spans instead. */
.brand-line, .footer-line { display: block; }
.crumbs { font-size: 1.25rem; font-weight: 700; color: var(--slate); margin-bottom: 1rem; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 .4rem; color: var(--border); }
.back-home { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 0; }

/* Trust band */
.trust-band { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 1.25rem 0; }
.trust-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 640px) { .trust-band ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-band ul { grid-template-columns: repeat(4, 1fr); } }
.trust-band li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.trust-band .check {
  width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1px solid var(--teal);
  color: var(--teal); display: grid; place-items: center; font-size: .75rem; line-height: 1;
}

/* Sections */
.section { padding: 1.25rem 0; }
@media (min-width: 640px) { .section { padding: 1.5rem 0; } }
@media (min-width: 1024px) { .section { padding: 1.5rem 0; } }
.section-navy { background: var(--teal-deep); color: var(--pale-text); }
.section-navy h2 { color: var(--paper); }
.section-navy h3 { color: var(--amber); }
.section-navy .card-body h3 { color: var(--teal-deep); }
.section-navy p { color: var(--pale-text); }
/* The process intro is a p.lead: .content-block p.lead (deep teal) outranks
   .section-navy p, so without this the intro is deep-teal-on-deep-teal = invisible. */
.section-navy .content-block p.lead { color: var(--pale-text); }
.section-cream { background: var(--paper); }
.doc-divide { border: 0; border-top: 1px solid var(--hairline); margin: 1.25rem 0; }
/* A-to-Z fix 2026-11-12 (G6): H2 top margin 2.5rem -> 1.5rem. Gap above a
   content H2 after a paragraph is now 1.25rem (p bottom) + 1.5rem = 2.75rem
   (was 3.75rem); between consecutive H2s 1rem + 1.5rem = 2.5rem. */
.content-block h2 { margin-top: .75rem; scroll-margin-top: 6rem; }
.content-block h2:first-child { margin-top: 0; }

/* Split layout: text + sticky panel */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.split > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 3rem; align-items: start; }
}
.sticky-aside { position: relative; }
@media (min-width: 1024px) {
  .sticky-aside { position: sticky; top: 7rem; }
}
.brand-panel {
  border-radius: var(--radius); background: var(--teal-deep); color: var(--paper);
  padding: 2rem 1.75rem; box-shadow: var(--shadow);
}
.brand-panel h3, .brand-panel .panel-title { color: var(--amber); font-size: 1.35rem; margin-bottom: .5rem; font-weight: 700; }
.brand-panel p { color: var(--pale-text); font-size: 1.25rem; line-height: 1.7; margin-bottom: 1rem; }
.brand-panel .btn { width: 100%; }
.aside-call { margin-top: 1rem; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; border: 1px solid rgba(14, 87, 81, .12); }
.aside-call p { margin: 0 0 .75rem; font-weight: 700; color: var(--ink); }
.aside-call .btn { width: 100%; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* Chain 1 CSS fix 2026-11-13 (A P3-2, home grid orphans): the homepage
   services grid (10 cards) and Utah-problems grid (7 cards) both left a
   lone card in the last 3-column row (3,3,3,1 and 3,3,1). The last card now
   spans the full row width at >=1024px. At 640-1023px (2 columns) the
   10-card grid is even (5 rows of 2) so no span is needed there; the
   7-card grid still leaves a single card in its last 2-column row at
   tablet widths — a blanket >=640px rule would orphan the services grid
   instead, so this stays desktop-only. .cards exists only on the homepage. */
@media (min-width: 1024px) { .cards > .card:last-child { grid-column: 1 / -1; } }
.content-block .cards { margin: 0 0 1.5rem; }
.card {
  background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(14, 87, 81, .12); border-top: 4px solid var(--amber);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px -8px rgba(14, 87, 81, .25), 0 24px 50px -20px rgba(7, 40, 37, .4); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sage); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { font-size: 1.25rem; margin: 0; }
.card-body p { margin: 0; font-size: 1.25rem; line-height: 1.7; color: var(--ink); }

/* Lists */
.content-block ul:not(.plain) { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.content-block ul:not(.plain) li { margin-bottom: .5rem; line-height: 1.75; }
.content-block ul:not(.plain) li::marker { color: var(--teal); }

/* Process steps */
.phase-grid { display: grid; gap: 1.25rem; margin: 0 0 1.5rem; }
@media (min-width: 1024px) { .phase-grid { grid-template-columns: 1fr 1fr; } }
.phase-card {
  background: #fff; border: 1px solid rgba(14, 87, 81, .12);
  border-top: 4px solid var(--amber); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.75rem; overflow: hidden;
}
.phase-card h3 { font-size: 1.35rem; color: var(--teal-deep); margin: 0 0 .75rem; }
.phase-card p { margin: 0; font-size: 1.25rem; line-height: 1.7; color: var(--ink); }
.phase-media { margin: -1.5rem -1.75rem 1.25rem; aspect-ratio: 16 / 9; overflow: hidden; }
.phase-media img { width: 100%; height: 100%; object-fit: cover; }
.phase-card:nth-child(5) { grid-column: 1 / -1; }
@media (min-width: 1024px) { .phase-card:nth-child(5) .phase-media { aspect-ratio: 21 / 9; } }

/* Category / flood-cause / home-type cards — same words, premium grid. */
.section-tint { background: var(--sage); }
.cat-grid, .cause-grid, .home-grid { display: grid; gap: 1.25rem; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .cat-grid, .cause-grid, .home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid, .home-grid { grid-template-columns: repeat(3, 1fr); } .cause-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card, .cause-card, .home-card {
  background: #fff; border: 1px solid rgba(14, 87, 81, .12); border-top: 4px solid var(--amber);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.75rem;
}
.section-tint .cat-card, .section-tint .home-card { background: #fff; }
.cat-card h3, .cat-card .cat-title, .cause-card h3, .home-card h3 { font-size: 1.35rem; color: var(--teal-deep); margin: 0 0 .75rem; font-weight: 700; }
.cat-card p, .cause-card p, .home-card p { margin: 0; font-size: 1.25rem; line-height: 1.7; color: var(--ink); }

/* Nearby-area image strip (homepage) + skeleton detail figure. */
.area-strip { display: grid; gap: 1.25rem; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .area-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-strip { grid-template-columns: repeat(4, 1fr); } }
.area-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.area-card img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.area-card:hover img { transform: scale(1.06); }
.area-card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .7rem;
  background: linear-gradient(to top, rgba(7, 40, 37, .92), rgba(7, 40, 37, 0));
  color: var(--paper); font-weight: 700; font-size: 1.25rem;
}
.detail-figure { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* FAQ */
.faq-list { max-width: none; }
.faq-list details {
  background: var(--paper); border: 1px solid rgba(14, 87, 81, .12); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: .9rem; overflow: hidden;
}
.faq-list summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font-size: 1.125rem; margin: 0; flex: 1; color: var(--teal-deep); }
.faq-list .faq-toggle {
  width: 2rem; height: 2rem; flex: none; border-radius: 8px; background: var(--sage);
  display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; color: var(--teal-deep);
  transition: transform .2s ease;
}
.faq-list details[open] .faq-toggle { transform: rotate(45deg); }
.faq-list details[open] { box-shadow: 0 8px 20px -8px rgba(14, 87, 81, .25), 0 24px 50px -20px rgba(7, 40, 37, .4); }
.faq-list details[open] summary h3 { color: var(--teal-deep); }
.faq-list .faq-answer { padding: 0 1.25rem 1.25rem; font-size: 1.25rem; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }

/* CTA strips + final CTA */
.call-strip { background: var(--amber); padding: 1.5rem 0; }
.call-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; justify-content: space-between; }
.call-strip p { margin: 0; color: #1A2E2C; font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.final-cta { background: #fff; padding: 2rem 0; }
.final-cta-card {
  background: var(--teal-deep); border-radius: var(--radius); padding: 2.5rem 2rem;
  box-shadow: var(--shadow); border: 1px solid rgba(216, 237, 231, .25);
}
@media (min-width: 640px) { .final-cta-card { padding: 3rem; } }
.final-cta-card h2 { color: var(--paper); }
.final-cta-card p { color: var(--pale-text); }
.final-cta-card .hero-ctas { margin-top: 1.5rem; }

.form-wrap { max-width: 44rem; margin: 2rem auto 0; }
/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 8px rgba(11, 59, 57, .08), 0 24px 50px -20px rgba(7, 40, 37, .35); padding: 2rem; border: 1px solid rgba(14, 87, 81, .12); }
@media (min-width: 640px) { .form-card { padding: 2.25rem 2.5rem; } }
.form-card h3, .form-card .form-title { font-size: 1.5rem; color: var(--teal-deep); margin-bottom: .5rem; font-weight: 700; }
.form-card > p { color: var(--slate); }
.form-card label { display: block; font-weight: 700; font-size: 1.25rem; color: var(--teal-deep); margin-bottom: .45rem; letter-spacing: .01em; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; font: inherit; font-size: 1.25rem; padding: .85rem 1rem; margin-bottom: 1.1rem;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-card input:hover, .form-card textarea:hover { border-color: var(--border); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(245, 158, 11, .35); }
.form-card textarea { resize: vertical; min-height: 8rem; }
/* A-to-Z fix 2026-11-12: the 7-field form's Yes/No radios + consent line.
   Radios must NOT take the full-width text-input treatment above. */
.form-card fieldset.radio-group { border: 0; margin: 0 0 1.1rem; padding: 0; }
.form-card fieldset.radio-group legend { font-weight: 700; font-size: 1.25rem; color: var(--teal-deep); margin-bottom: .45rem; padding: 0; }
.form-card label.radio-option { display: inline-flex; align-items: center; gap: .5rem; margin: 0 1.5rem .45rem 0; }
.form-card input[type="radio"] { width: auto; margin: 0; padding: 0; border: 0; accent-color: var(--teal); }
.form-card .form-consent { font-size: 1.25rem; color: var(--slate); }
.form-card .btn { padding: 1rem 1.5rem; font-size: 1.25rem; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); }
.form-note { font-size: 1.25rem; background: var(--sage); border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1.1rem; border: 1px solid rgba(14, 87, 81, .12); }
.form-note p { margin: 0; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer-map-wrap { line-height: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(245, 158, 11, .45); box-shadow: var(--shadow); }
.footer-map { display: block; width: 100%; height: 15rem; border: 0; filter: saturate(.9); }
.footer-map-col { min-width: 0; }
.site-footer { background: var(--teal-dark); color: var(--pale-text); }
.footer-cols { display: grid; gap: 2.5rem; padding: 2.25rem 0 1.5rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1280px) { .footer-cols { grid-template-columns: 1.15fr 1.05fr 1.1fr .7fr 1.45fr 1.05fr; gap: 1.5rem; } }
/* Chain 1 CSS fix 2026-11-13 (A P3-3 + B P3-1, footer holistic): the old
   1280px template gave the Services / Utah-Problems link columns ~150px,
   so labels wrapped to 3-4 lines and drove the footer to ~1327px tall with
   a large empty dark area under the short map column, while the Contact
   column (~152px) squeezed "Request Emergency Service" onto 3-4 lines.
   Link columns are now ~164-172px, the Contact column ~227px, and the gap
   tightened 2.5rem -> 1.5rem at this breakpoint only. Map stays 240px tall
   with its amber border; all footer labels untouched. The cream CTA button
   below also stretches to its column width so the label sits on 2 lines. */
.footer-col .btn-cream { width: 100%; }
.footer-col h3, .footer-col .footer-h { color: var(--paper); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col h3::before, .footer-col .footer-h::before { content: ''; width: 3px; height: 1.1rem; background: var(--amber); border-radius: 2px; }
.footer-col p { font-size: 1.25rem; }
.footer-hours { color: var(--paper); font-weight: 700; }
.footer-hours::before { content: '\25CF'; color: var(--amber); margin-right: .5rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col ul a {
  color: var(--pale-text); text-decoration: none; font-size: 1.25rem; font-weight: 500;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px;
  text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease, transform .15s ease;
  display: inline-block; padding: .4rem 0;
}
.footer-col ul a:hover { color: var(--paper); text-decoration-color: var(--amber); transform: translateX(2px); }
.footer-col ul a.footer-more { font-weight: 700; color: var(--paper); text-decoration-color: var(--amber); }
.footer-col ul a.footer-more:hover { color: var(--amber); }
.footer-col p a { color: var(--pale-text); text-decoration: none; }
.footer-col p a:hover { color: var(--amber); text-decoration: underline; }
.footer-col .btn { margin-bottom: .6rem; font-size: 1.25rem; padding: .875rem 1rem; line-height: 1.35; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 0 2rem; font-size: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.footer-bottom a { color: var(--pale-text); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* Mobile call bar — hidden at first paint (JS adds .callbar-on after the
   user scrolls >80px) so it can never cover the hero buttons. Without JS
   the bar stays visible, as before. */
.mobile-call-bar {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; min-height: 56px;
  background: var(--amber); color: #1A2E2C; font-weight: 700; font-size: 1.25rem; text-decoration: none;
}
html.js .mobile-call-bar { visibility: hidden; transform: translateY(110%); transition: transform .35s ease, visibility 0s .35s; }
html.js.callbar-on .mobile-call-bar { visibility: visible; transform: none; transition: transform .35s ease; }
@media (min-width: 1024px) { .mobile-call-bar { display: none; } }
.mobile-call-spacer { height: 56px; }
html.js .mobile-call-spacer { display: none; }
html.js.callbar-on .mobile-call-spacer { display: block; }
@media (min-width: 1024px) { .mobile-call-spacer { display: none; } }

/* F8: scroll lock while the mobile menu is open. position:fixed on body
   (scroll offset preserved in JS) — overflow:hidden alone does NOT lock
   scroll in Chromium. */
body.menu-locked { position: fixed; left: 0; right: 0; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

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

/* ---- 10x fixes (2026-11-10) ---- */
/* C-D3: final-CTA buttons must stay equal and one-line at mobile. Stack them
   full-width with tighter card padding so "Request Emergency Service" fits. */
@media (max-width: 640px) {
  .final-cta-card { padding: 2rem 1.25rem; }
  .final-cta-card .hero-ctas { flex-direction: column; }
  .final-cta-card .hero-ctas .btn { width: 100%; padding: .875rem 1rem; }
  /* A-N2: form submit button ("Request Emergency Service") wrapped to 2 lines
     at mobile 390 — full-width with slimmer padding + tighter card padding. */
  .form-card { padding: 2rem 1.25rem; }
  .form-card .btn { width: 100%; padding: .875rem .75rem; }
}
/* A-D2: 320px hero compaction — smaller H1, tighter eyebrow/intro, slimmer
   button padding so both CTAs have a chance to fit the first paint at 320px.
   No words change. If Button 2 still sits below the fold at 320x700 it is a
   documented physical limit (intro alone is ~390px at that width). */
@media (max-width: 380px) {
  .hero .eyebrow { letter-spacing: .08em; }
  .hero h1 { font-size: 1.5rem; }
  .hero .hero-intro { line-height: 1.4; }
  .hero-ctas .btn { padding: .875rem .75rem; }
}
/* N2 follow-up: at <=400px the final-CTA and form cards are narrower than the
   button text + padding, so Button 2 / submit still wrapped at 360px.
   Tighter card padding (keeps 18px text) fixes 360px; 320px stays a
   documented physical limit. */
@media (max-width: 400px) {
  .final-cta-card { padding: 2rem .75rem; }
  .form-card { padding: 2rem .75rem; }
}

/* ---- 10x redesign (2026-11-12): split text/image sections ---- */
/* Service/guide/area pages render their first two H2 sections as
   two-column text|image containers (alternating sides). Where the text is
   long, the image column is sticky below the header. Mobile stacks text
   first, image second, in BOTH orientations (user order). */
.split-section { padding: 1.25rem 0; }
@media (min-width: 640px) { .split-section { padding: 1.5rem 0; } }
@media (min-width: 1024px) { .split-section { padding: 1.5rem 0; } }
.split-section .container { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.split-section .split-text { min-width: 0; }
.split-section .split-h2 { grid-column: 1 / -1; margin: 0 0 1rem; }
.split-section .split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-section .split-media img { width: 100%; height: auto; display: block; }
@media (min-width: 1024px) {
  .split-section .container { grid-template-columns: 7fr 5fr; align-items: start; gap: 3rem; }
  /* Chain 1 CSS fix 2026-11-13 (C P1 + A P2-1 + B P2-1, split-flip): the
     flip variant placed .split-text at row 2 col 2 but left .split-media
     with grid-row auto, so the auto-placement cursor wrapped the media to
     row 3 — below the text, leaving a 301-1584px dead white column on 26
     pages (fresh baseline probe, qa/chain1/probe-baseline.json). Both
     children now carry an explicit grid-row: 2 (flip and non-flip), so the
     media sits beside the text in row 2 and still sticks (top: 7rem)
     while the long text scrolls. Below 1024px this block does not apply,
     so mobile stacking stays H2 -> text -> image in DOM order. */
  .split-section .split-text { grid-column: 1; grid-row: 2; }
  .split-section .split-media { grid-column: 2; grid-row: 2; }
  .split-section.split-flip .container { grid-template-columns: 5fr 7fr; }
  .split-section.split-flip .split-media { grid-column: 1; grid-row: 2; }
  .split-section.split-flip .split-text { grid-column: 2; grid-row: 2; }
  .split-section .split-media { position: sticky; top: 7rem; }
}
.legal-figure, .contact-figure { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.legal-figure img, .contact-figure img { width: 100%; height: auto; display: block; }
/* FINALIZE Round 1 2026-11-13: one full-width figure directly after an H2
   (tabbed sections idx>=2, homepage + contact gap H2s). Renders only when
   its image exists. Fits the tightened section spacing: no top margin (the
   H2 already carries 1rem below it), 1.5rem below like paragraph spacing.
   height:auto is REQUIRED: the attributed width/height on the <img> counts
   as a specified height in Chromium and would defeat aspect-ratio. */
.sec-figure { margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sec-figure img { width: 100%; height: auto; display: block; }
