/* badlandsradon.com modern layer (2026-10-01).
   Loads LAST on every page and every rule is scoped under body.br, so it wins over style.v2.5.css,
   site-theme.css and each page's own inline <style> without !important.
   The inner pages ship three header/footer variants whose classes style.v2.5.css never defined
   (site-header, main-nav, page-hero, content-block ...): they rendered as bare HTML. This file is
   the stylesheet those pages never had. Brand kept: navy + safety green, Space Grotesk / DM Sans.
   Benchmark: 904epoxyfloors.com (photo heroes, alternating bands, icon badges, dark CTA band). */
:root {
  --br-ink: #0f1c2e; --br-navy: #0f2440; --br-navy-2: #1a3a5c; --br-deep: #091a2e;
  --br-green: #198039; --br-green-hover: #156d30; --br-green-ink: #157a34; --br-green-lite: #3ccf6a; --br-green-soft: #e8f6ec;
  --br-muted: #45556a; --br-line: #e2e8f0; --br-soft: #f3f6f9; --br-white: #fff;
  --br-radius: 16px; --br-shadow: 0 10px 30px rgba(15, 36, 64, .08); --br-shadow-lg: 0 18px 50px rgba(15, 36, 64, .16);
  --br-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif; --br-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --br-gutter: max(24px, calc((100vw - 1200px) / 2 + 24px));
}
body.br { margin: 0; font-family: var(--br-body); color: var(--br-ink); background: var(--br-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.br *, body.br *::before, body.br *::after { box-sizing: border-box; }
body.br .br-i { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex-shrink: 0; display: inline-block; fill: currentColor; }
body.br .br-stars { display: inline-flex; gap: 2px; color: #f5b301; }
body.br .br-star { color: #f5b301; }

/* ---------- scroll reveal: never leave content invisible ----------
   threshold .12 on sections taller than the viewport never fired, so whole home sections stayed at
   opacity 0 (the 2,949px "gap" in the audit). Content shows immediately; no layout change. */
html.js body.br .reveal, body.br .reveal { opacity: 1; transform: none; }

/* ========================================================================
   INNER PAGES (everything except the home page, which keeps its v2.5 design)
   ======================================================================== */
body.br:not(.br-home) { font-size: 17px; line-height: 1.7; }
:where(body.br:not(.br-home)) :where(h1, h2, h3, h4) { font-family: var(--br-display); color: var(--br-ink); letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; margin: 0; }
:where(body.br:not(.br-home)) :where(p) { margin: 0 0 1.05rem; color: var(--br-muted); }
:where(body.br:not(.br-home)) :where(a) { color: var(--br-green-ink); text-decoration: none; }
:where(body.br:not(.br-home)) :where(ul, ol) { margin: 0 0 1.2rem; padding-left: 1.25rem; color: var(--br-muted); }
:where(body.br:not(.br-home)) :where(li) { margin-bottom: .45rem; }
:where(body.br:not(.br-home)) :where(strong) { color: var(--br-ink); }
body.br:not(.br-home) img { max-width: 100%; height: auto; display: block; }
body.br:not(.br-home) .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- header (three markup variants) ---------- */
body.br .site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--br-line); box-shadow: none; padding: 0; transition: box-shadow .2s; }
body.br .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,36,64,.08); }
body.br .site-header > .container, body.br .site-header .header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; min-height: 72px; }
body.br .site-header .logo { font: 700 1.35rem/1 var(--br-display); color: var(--br-navy); letter-spacing: -.02em; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
body.br .site-header .logo::before { content: ""; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--br-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M9.661 2.237a.531.531 0 0 1 .678 0 11.947 11.947 0 0 0 7.078 2.749.5.5 0 0 1 .479.425c.069.52.104 1.05.104 1.59 0 5.162-3.26 9.563-7.834 11.256a.48.48 0 0 1-.332 0C5.26 16.564 2 12.163 2 7c0-.538.035-1.069.104-1.589a.5.5 0 0 1 .48-.425 11.947 11.947 0 0 0 7.077-2.75Zm4.196 5.954a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 6px 16px rgba(25,128,57,.28); }
body.br .site-header .logo span { color: var(--br-green-ink); margin-left: -.25em; }
body.br .header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
body.br .main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
body.br .main-nav li { margin: 0; }
body.br .main-nav a, body.br .header-inner nav > a:not(.header-phone) { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--br-ink); text-decoration: none; }
body.br .main-nav a:hover, body.br .header-inner nav > a:not(.header-phone):hover { background: var(--br-soft); color: var(--br-green-ink); }
body.br .main-nav a.active { color: var(--br-green-ink); background: var(--br-green-soft); }
body.br .header-inner nav { display: flex; align-items: center; gap: 2px; margin-left: auto; position: static; flex-direction: row; padding: 0; box-shadow: none; background: none; }
body.br .site-header .header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .95rem; color: var(--br-navy); background: var(--br-soft); text-decoration: none; white-space: nowrap; }
body.br .site-header .header-phone .br-i { color: var(--br-green-ink); }
body.br .header-inner nav > .header-phone { margin-left: 8px; background: var(--br-green); color: #fff; }
body.br .header-inner nav > .header-phone .br-i { color: #fff; }
body.br .header-cta-wrap { display: inline-flex; }
body.br .site-header .header-cta, body.br .site-header .btn-accent { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; background: var(--br-green); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(25,128,57,.3); border: 0; }
body.br .site-header .header-cta:hover, body.br .site-header .btn-accent:hover { background: var(--br-green-hover); }
body.br .site-header .nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--br-soft); color: var(--br-navy); border: 0; padding: 0; cursor: pointer; font-size: 0; }
body.br .site-header .nav-toggle .br-i { width: 24px; height: 24px; }

/* ---------- page hero: photo with navy overlay ---------- */
body.br .page-hero { position: relative; overflow: hidden; isolation: isolate; text-align: left; color: #fff; margin: 0;
  padding: clamp(56px, 8vw, 104px) var(--br-gutter) clamp(84px, 9vw, 120px);
  background: linear-gradient(100deg, rgba(9,26,46,.95) 0%, rgba(9,26,46,.84) 46%, rgba(9,26,46,.45) 100%), var(--hero-img, linear-gradient(135deg, var(--br-navy), var(--br-navy-2))) center / cover no-repeat; }
body.br .page-hero > .container { max-width: none; padding: 0; margin: 0; }
body.br .page-hero > *, body.br .page-hero > .container > * { max-width: 760px; }
body.br .page-hero h1 { color: #fff; font: 700 clamp(2.1rem, 4.6vw, 3.4rem)/1.07 var(--br-display); letter-spacing: -.025em; margin: 0 0 16px; text-wrap: balance; }
body.br .page-hero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.65; margin: 0 0 6px; max-width: 640px; }
body.br .page-hero .breadcrumbs, body.br .page-hero .breadcrumb { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; height: auto; padding: 0; margin: 0 0 18px; background: none; border: 0; color: rgba(255,255,255,.68); font-size: .9rem; box-shadow: none; }
body.br .page-hero h1 + .breadcrumb { margin: 4px 0 0; }
body.br .page-hero .breadcrumbs a, body.br .page-hero .breadcrumb a { color: #fff; font-weight: 600; text-decoration: none; }
body.br .page-hero .breadcrumbs a:hover, body.br .page-hero .breadcrumb a:hover { text-decoration: underline; }
body.br .page-hero .sep, body.br .page-hero .breadcrumb span { color: rgba(255,255,255,.5); }
body.br .br-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.br .br-btn, body.br:not(.br-home) .btn-primary, body.br .form-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--br-green); color: #fff; font: 700 1rem/1.2 var(--br-body); text-decoration: none; box-shadow: 0 10px 24px rgba(25,128,57,.28); transition: transform .2s, background .2s; }
body.br .br-btn:hover, body.br:not(.br-home) .btn-primary:hover, body.br .form-submit:hover { background: var(--br-green-hover); transform: translateY(-2px); color: #fff; }
body.br .br-btn--ghost { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.42); box-shadow: none; }
body.br .br-btn--ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- trust strip: card lifted over the hero edge ---------- */
body.br:not(.br-home) .trust-bar { position: relative; z-index: 2; max-width: 1200px; margin: -48px auto 0; padding: 0 24px; background: none; border: 0; }
body.br:not(.br-home) .trust-bar > .container, body.br:not(.br-home) .trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: none; padding: 0; margin: 0;
  background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); box-shadow: var(--br-shadow-lg); overflow: hidden; }
body.br:not(.br-home) .trust-item { display: flex; align-items: center; gap: 12px; padding: 22px 20px; color: var(--br-ink); font-weight: 700; font-size: .98rem; border-right: 1px solid var(--br-line); }
body.br:not(.br-home) .trust-item:last-child { border-right: 0; }
body.br:not(.br-home) .trust-item .br-i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--br-green-soft); color: var(--br-green-ink); }

/* ---------- content ---------- */
body.br .section, body.br .content-section, body.br section.content-block, body.br .legal-section, body.br .br-extra { padding: clamp(56px, 7vw, 92px) 0; background: var(--br-white); }
body.br article.content-section { max-width: 860px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 24px; }
body.br .section-alt, body.br .content-section.section, body.br .br-extra { background: var(--br-soft); }
body.br .br-extra .br-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
body.br .content-section.section > .container, body.br .content-narrow, body.br .legal-content { max-width: 860px; margin: 0 auto; }
body.br .legal-content { padding: 0 24px; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .about-text, .legal-content, .content-narrow, .blog-article) h2 { font-size: clamp(1.6rem, 2.7vw, 2.15rem); line-height: 1.18; font-weight: 700; margin: 0 0 18px; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .about-text, .legal-content, .content-narrow) > h2::before,
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra) > .container > h2:first-child::before,
body.br:not(.br-home) .br-extra .br-wrap > h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: 18px; background: linear-gradient(90deg, var(--br-green-lite), var(--br-green)); }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .legal-content, .content-narrow, .blog-article) h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 700; margin: 2.2rem 0 .7rem; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .legal-content, .content-narrow, .blog-article, .about-text) p { font-size: 1.04rem; line-height: 1.78; color: #3b4a5c; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .legal-content, .content-narrow, .blog-article) ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .legal-content, .content-narrow, .blog-article) ul > li { position: relative; padding-left: 30px; margin-bottom: .6rem; color: #3b4a5c; line-height: 1.7; }
body.br:not(.br-home) :is(.content-block, .content-section, .br-extra, .legal-content, .content-narrow, .blog-article) ul > li::before { content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--br-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 12px no-repeat; }
body.br:not(.br-home) :is(.content-block, .content-section) ul > li > .br-i:first-child { display: none; }
body.br:not(.br-home) :is(.content-block, .content-section, .blog-article, .legal-content) a:not(.btn-primary):not(.location-service-link):not(.service-link):not(.br-btn) { color: var(--br-green-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.br .br-tel { color: var(--br-green-ink); font-weight: 700; }
body.br .br-center { margin-top: 2rem; text-align: center; }
body.br .br-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--br-shadow-lg); margin: 30px 0 34px; display: block; }

/* service page: content + sticky sidebar */
body.br .service-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
body.br .service-sidebar { position: sticky; top: 100px; background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); padding: 28px; box-shadow: var(--br-shadow); }
body.br .service-sidebar h3 { font-size: 1.15rem; margin: 0 0 14px; }
body.br .service-sidebar ul { list-style: none; padding: 0; margin: 0 0 22px; }
body.br .service-sidebar li { margin: 0; }
body.br .service-sidebar li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--br-line); color: var(--br-ink); font-weight: 600; font-size: .97rem; text-decoration: none; }
body.br .service-sidebar li a::after { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor; opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat; }
body.br .service-sidebar li a:hover, body.br .service-sidebar li a.active { color: var(--br-green-ink); }
body.br .service-sidebar li a.active::after { opacity: 1; }
body.br .sidebar-cta { background: linear-gradient(160deg, var(--br-navy) 0%, var(--br-navy-2) 100%); border-radius: 14px; padding: 22px; }
body.br .sidebar-cta p { color: rgba(255,255,255,.86); margin: 0 0 14px; font-weight: 600; }
body.br .sidebar-cta .btn-primary { width: 100%; }

/* numbered process cards (service pages) */
body.br .process-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0 34px; }
body.br .process-steps > div { position: relative; background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); padding: 26px 24px 22px; box-shadow: var(--br-shadow); text-align: left; }
body.br .process-steps .br-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; color: #fff; font: 700 1.15rem/1 var(--br-display);
  background: linear-gradient(135deg, var(--br-green), #2bb05a); box-shadow: 0 8px 18px rgba(25,128,57,.28); }
body.br .process-steps h4 { font-size: 1.08rem; margin: 0 0 6px; }
body.br .process-steps p { font-size: .96rem !important; line-height: 1.6 !important; margin: 0; }

/* service link cards (location pages) */
body.br .location-services, body.br .services-offered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 30px; }
body.br .location-service-link, body.br .service-link { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--br-white); border: 1px solid var(--br-line); border-radius: 14px; font-weight: 700; font-size: .97rem; color: var(--br-ink); text-decoration: none; line-height: 1.3;
  box-shadow: 0 2px 10px rgba(15,36,64,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
body.br .location-service-link:hover, body.br .service-link:hover { transform: translateY(-2px); box-shadow: var(--br-shadow); border-color: #b9e4c6; background: var(--br-white); color: var(--br-green-ink); }
body.br .location-service-link .br-i, body.br .service-link .br-i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--br-green-soft); color: var(--br-green-ink); }
body.br .location-service-link:hover .br-i, body.br .service-link:hover .br-i { color: var(--br-green-ink); }

/* other service areas: chip grid, 5 x 2 so ten towns never leave an orphan */
body.br .areas-section, body.br .areas { padding: clamp(56px, 7vw, 88px) 24px; background: var(--br-soft); }
body.br .areas-section > .container { padding: 0; }
body.br .areas-section h2, body.br .areas h2 { text-align: center; font-size: clamp(1.6rem, 2.7vw, 2.15rem); margin: 0 0 26px; }
body.br .areas-grid, body.br .areas-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 980px; margin: 0 auto; }
body.br .areas-grid a, body.br .areas-list a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 12px; border-radius: 12px; background: var(--br-white); border: 1px solid var(--br-line);
  color: var(--br-ink); font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 8px rgba(15,36,64,.04); transition: transform .2s, box-shadow .2s; }
body.br .areas-grid a::before, body.br .areas-list a::before { content: ""; width: 15px; height: 15px; flex-shrink: 0; background: var(--br-green-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='m9.69 18.933.003.001C9.89 19.02 10 19 10 19s.11.02.308-.066l.002-.001.006-.003.018-.008a5.741 5.741 0 0 0 .281-.14c.186-.096.446-.24.757-.433.62-.384 1.445-.966 2.274-1.765C15.302 14.988 17 12.493 17 9A7 7 0 1 0 3 9c0 3.492 1.698 5.988 3.355 7.584a13.731 13.731 0 0 0 2.273 1.765 11.842 11.842 0 0 0 .976.544l.062.029.018.008.006.003ZM10 11.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='m9.69 18.933.003.001C9.89 19.02 10 19 10 19s.11.02.308-.066l.002-.001.006-.003.018-.008a5.741 5.741 0 0 0 .281-.14c.186-.096.446-.24.757-.433.62-.384 1.445-.966 2.274-1.765C15.302 14.988 17 12.493 17 9A7 7 0 1 0 3 9c0 3.492 1.698 5.988 3.355 7.584a13.731 13.731 0 0 0 2.273 1.765 11.842 11.842 0 0 0 .976.544l.062.029.018.008.006.003ZM10 11.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / contain no-repeat; }
body.br .areas-grid a:hover, body.br .areas-list a:hover { transform: translateY(-2px); box-shadow: var(--br-shadow); color: var(--br-green-ink); background: var(--br-white); border-color: #b9e4c6; }
body.br .areas-grid a.current, body.br .areas-list a.current { background: var(--br-green); border-color: var(--br-green); color: #fff; }
body.br .areas-grid a.current::before, body.br .areas-list a.current::before { background: #fff; }

/* dark photo CTA band */
body.br .cta-banner { position: relative; text-align: center; color: #fff; padding: clamp(72px, 9vw, 112px) 24px;
  background: linear-gradient(rgba(9,26,46,.72), rgba(9,26,46,.84)), url("/images/site/black-hills.jpg") center 40% / cover no-repeat; }
body.br .cta-banner > .container { max-width: 820px; }
body.br .cta-banner h2 { color: #fff; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.15 var(--br-display); margin: 0 auto 14px; max-width: 760px; }
body.br .cta-banner p { color: rgba(255,255,255,.84); font-size: 1.12rem; max-width: 640px; margin: 0 auto 28px; }
body.br .cta-banner .btn-primary { font-size: 1.05rem; padding: 17px 28px; }

/* estimate form sections */
body.br:not(.br-home) .cta-section { padding: clamp(56px, 7vw, 92px) 24px; background: linear-gradient(180deg, var(--br-soft), #e9eef4); text-align: left; color: var(--br-ink); }
body.br:not(.br-home) .cta-section::before, body.br:not(.br-home) .cta-section::after { display: none; }
body.br:not(.br-home) .cta-section h2 { text-align: center; color: var(--br-ink); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 10px; }
body.br:not(.br-home) .cta-section .subtitle { text-align: center; color: var(--br-muted); font-size: 1.08rem; margin: 0 0 30px; }
body.br:not(.br-home) .cta-section > #form-success, body.br:not(.br-home) .cta-section > #form-error { max-width: 760px; margin-left: auto; margin-right: auto; }
body.br .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; max-width: 760px; margin: 0 auto; padding: 32px; background: var(--br-white); border: 1px solid var(--br-line); border-radius: 20px; box-shadow: var(--br-shadow-lg); text-align: left; }
body.br .contact-form > h3, body.br .contact-form > .form-submit, body.br .contact-form > .form-group:has(textarea), body.br .contact-form > .form-group:has(#address), body.br .contact-form > .form-group:has(#timeline), body.br .contact-form > .form-group:has(#zip) { grid-column: 1 / -1; }
body.br .contact-form > h3 { font-size: 1.35rem; margin: 0 0 4px; color: var(--br-ink); }
body.br .contact-form .form-group { margin: 0; }
body.br .contact-form label { display: block; margin: 0 0 6px; font-weight: 700; font-size: .88rem; color: var(--br-ink); }
body.br .contact-form input, body.br .contact-form select, body.br .contact-form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #d3dce6; border-radius: 12px; background: #fbfcfd; color: var(--br-ink); font: 500 1rem/1.4 var(--br-body); transition: border-color .2s, box-shadow .2s; }
body.br .contact-form textarea { min-height: 116px; resize: vertical; }
body.br .contact-form input:focus, body.br .contact-form select:focus, body.br .contact-form textarea:focus { outline: none; border-color: var(--br-green); box-shadow: 0 0 0 4px rgba(25,128,57,.14); background: #fff; }
body.br .contact-form input::placeholder, body.br .contact-form textarea::placeholder { color: #8391a2; }
body.br .form-submit { width: 100%; padding: 17px 24px; font-size: 1.05rem; margin-top: 4px; }

/* contact page + rapid-city: info column + form card */
body.br .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
body.br .contact-grid > .contact-form { max-width: none; margin: 0; }
body.br .contact-info h2 { font-size: clamp(1.6rem, 2.7vw, 2.1rem); margin: 0 0 14px; }
body.br .contact-info .br-photo { aspect-ratio: 4 / 3; margin: 22px 0 26px; }
body.br .contact-detail { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid var(--br-line); color: var(--br-muted); line-height: 1.55; }
body.br .contact-detail > .br-i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--br-green-soft); color: var(--br-green-ink); }
body.br .contact-detail > div > span:first-child { font-weight: 700; color: var(--br-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; }
body.br .contact-detail a { color: var(--br-ink); font-weight: 700; font-size: 1.05rem; }

/* FAQ: native accordion + static Q&A cards */
body.br .faq-list { max-width: 900px; margin: 26px auto 0; }
body.br details.faq-item { background: var(--br-white); border: 1px solid var(--br-line); border-radius: 14px; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(15,36,64,.04); }
body.br details.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 700 1.06rem/1.4 var(--br-display); color: var(--br-ink); background: none; border: 0; width: 100%; text-align: left; }
body.br details.faq-item summary::-webkit-details-marker { display: none; }
body.br details.faq-item summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; transition: transform .25s;
  background: var(--br-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23157a34'%3E%3Cpath d='M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z'/%3E%3C/svg%3E") center / 18px no-repeat; }
body.br details.faq-item[open] summary::after { transform: rotate(45deg); }
body.br details.faq-item .faq-answer { max-height: none; overflow: visible; padding: 0 24px 20px; }
body.br details.faq-item .faq-answer-inner { color: #3b4a5c; line-height: 1.75; padding: 0; }
body.br .content-section .faq-list:has(> div.faq-item) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: none; }
body.br div.faq-item { background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); padding: 26px; box-shadow: var(--br-shadow); }
body.br div.faq-item h3 { margin: 0 0 10px !important; font-size: 1.12rem !important; }
body.br div.faq-item p { font-size: .98rem !important; margin: 0; }

/* about */
body.br .about-preview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
body.br .about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--br-shadow-lg); }
body.br .section-alt .section-title, body.br .section > .container > .section-title { text-align: center; font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 10px; color: var(--br-ink); }
body.br .section-alt .section-subtitle, body.br .section > .container > .section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 8px; color: var(--br-muted); font-size: 1.08rem; }
body.br .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
body.br .service-card { background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); padding: 28px 24px; box-shadow: var(--br-shadow); text-align: left; transition: transform .25s, box-shadow .25s; }
body.br .service-card:hover { transform: translateY(-3px); box-shadow: var(--br-shadow-lg); }
body.br .service-card > .br-i:first-child { width: 48px; height: 48px; padding: 12px; border-radius: 14px; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--br-green), #2bb05a); box-shadow: 0 8px 18px rgba(25,128,57,.25); }
body.br .service-card h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--br-ink); }
body.br .service-card p { font-size: .96rem; margin: 0; color: var(--br-muted); }

/* blog */
body.br .blog-article { max-width: 780px; margin: 0 auto; padding: 0; }
body.br .blog-meta { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--br-green-soft); color: var(--br-green-ink) !important; font-weight: 700; font-size: .85rem !important; margin: 0 0 24px !important; }
body.br .blog-article h2 { margin-top: 2.6rem; }
body.br .br-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--br-radius); margin: 1.6rem 0; }
body.br .cost-table, body.br:not(.br-home) .content-block table, body.br:not(.br-home) .content-section table { width: 100%; border-collapse: separate; border-spacing: 0; display: table; background: var(--br-white); border: 1px solid var(--br-line); border-radius: var(--br-radius); overflow: hidden; box-shadow: var(--br-shadow); margin: 0; }
body.br .br-table-wrap th { background: var(--br-navy); color: #fff; font: 700 .76rem/1.3 var(--br-body); letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 15px 16px; border: 0; }
body.br .br-table-wrap td { padding: 15px 16px; border-top: 1px solid var(--br-line); border-bottom: 0; color: var(--br-ink); font-size: .96rem; vertical-align: top; }
body.br .br-table-wrap tbody tr:nth-child(even) td { background: #f8fafc; }
body.br .br-table-wrap td:nth-child(2) { font-weight: 700; color: var(--br-green-ink); white-space: nowrap; }
body.br .blog-cta-box { background: linear-gradient(160deg, var(--br-navy), var(--br-navy-2)); border: 0; border-radius: 20px; padding: 34px; margin: 2.4rem 0; text-align: center; box-shadow: var(--br-shadow-lg); }
body.br .blog-cta-box p { color: rgba(255,255,255,.86) !important; }
body.br .blog-cta-box strong { color: #fff; }
body.br .blog-cta-box .br-small { font-size: .92rem !important; margin: 14px 0 0 !important; }
body.br .blog-cta-box .br-small a { color: #fff !important; }
body.br .blog-list { max-width: 820px; margin: 0 auto; padding: 0; }
body.br .blog-card { display: block; position: relative; background: var(--br-white); border: 1px solid var(--br-line); border-radius: 20px; padding: 30px 32px 30px 152px; margin: 0 0 20px; box-shadow: var(--br-shadow); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; min-height: 160px; }
body.br .blog-card::before { content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px; width: 112px; border-radius: 14px; background: url("/images/site/svc-testing.jpg") center / cover; }
body.br .blog-card:hover { transform: translateY(-3px); box-shadow: var(--br-shadow-lg); border-color: #b9e4c6; }
body.br .blog-card h2 { font-size: 1.35rem; margin: 0 0 8px; color: var(--br-ink); }
body.br .blog-card p { color: var(--br-muted); margin: 0 0 10px; }
body.br .blog-card .blog-card-meta { font-size: .85rem; font-weight: 700; color: var(--br-green-ink); }

/* ---------- footer (two markup variants) ---------- */
body.br .site-footer { background: var(--br-deep); color: rgba(241,245,249,.72); padding: 72px var(--br-gutter) 30px; margin: 0; }
body.br .site-footer > .container { max-width: none; padding: 0; }
body.br .footer-grid, body.br .footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: none; margin: 0; }
body.br .site-footer .logo { font: 700 1.3rem/1 var(--br-display); color: #fff; display: inline-block; margin-bottom: 14px; text-decoration: none; }
body.br .site-footer .logo span { color: var(--br-green-lite); }
body.br .site-footer h4 { color: #fff; font: 700 .8rem/1.3 var(--br-body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
body.br .site-footer p { color: rgba(241,245,249,.68); font-size: .95rem; line-height: 1.7; margin: 0 0 10px; }
body.br .site-footer ul { list-style: none; padding: 0; margin: 0; }
body.br .site-footer li { margin: 0 0 9px; }
body.br .site-footer a { color: rgba(241,245,249,.84); text-decoration: none; font-size: .95rem; }
body.br .footer-inner .footer-col > a { display: block; margin: 0 0 9px; line-height: 1.5; }
body.br .site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.br .footer-bottom { max-width: none; border-top: 1px solid rgba(255,255,255,.1); margin: 48px 0 0; padding: 22px 0 0; color: rgba(241,245,249,.55); font-size: .85rem; text-align: left; }

/* mobile call bar + floating buttons */
body.br .mobile-cta-bar { display: none; }
body.br .floating-cta .br-i { width: 24px; height: 24px; }
body.br .fcta-call { background: var(--br-green); }
body.br .fcta-quote { background: var(--br-navy-2); }

/* utility pages keep their own centred layouts; give them breathing room under the sticky header */
body.br .not-found-section, body.br .thank-you-section { padding: clamp(72px, 10vw, 128px) 24px; background: linear-gradient(180deg, var(--br-soft), #fff); }
body.br .not-found-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
body.br .not-found-btns .btn-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px; border: 1.5px solid var(--br-line); background: #fff; color: var(--br-ink); font-weight: 700; text-decoration: none; }
body.br .thank-you-section .check-icon .br-i { width: 64px; height: 64px; color: var(--br-green); }

/* ========================================================================
   HOME (keeps its v2.5 design; fixes + photo swaps)
   ======================================================================== */
body.br-home .hero__bg { background-position: center 60%; }
@media (min-width: 961px) { body.br-home .bento__card--large { grid-row: span 2; } }
body.br-home .bento__card img { width: 100%; height: 100%; object-fit: cover; }
body.br-home .testimonials__stars-rating .br-stars .br-i { width: 26px; height: 26px; }
body.br-home .testimonial-card__stars .br-i { width: 17px; height: 17px; }
body.br-home .why__float-num .br-i { width: .8em; height: .8em; vertical-align: -.02em; margin-left: 2px; }
body.br-home .why__image { object-fit: cover; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  body.br .main-nav a { padding: 8px 9px; font-size: .92rem; }
  body.br .site-header .header-phone span { display: none; }
}
@media (max-width: 960px) {
  body.br .main-nav, body.br .header-inner nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--br-line); box-shadow: 0 18px 40px rgba(15,36,64,.14); padding: 10px 16px 18px; margin: 0; }
  body.br .main-nav.open, body.br .header-inner nav.open { display: block; }
  body.br .main-nav ul { flex-direction: column; gap: 0; }
  body.br .main-nav a, body.br .header-inner nav > a:not(.header-phone) { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--br-line); border-radius: 0; }
  body.br .header-inner nav > .header-phone { display: flex; justify-content: center; margin: 14px 0 0; padding: 14px; }
  body.br .site-header .nav-toggle { display: inline-flex; }
  body.br .header-inner .nav-toggle { margin-left: auto; order: 3; }
  body.br .header-cta-wrap, body.br .site-header .btn-accent, body.br .header-right > .header-cta { display: none; }
  body.br .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  body.br .service-sidebar { position: static; }
  body.br .contact-grid, body.br .about-preview { grid-template-columns: 1fr; gap: 36px; }
  body.br .about-img img { aspect-ratio: 16 / 10; }
  body.br .services-grid { grid-template-columns: repeat(2, 1fr); }
  body.br .location-services, body.br .services-offered { grid-template-columns: repeat(2, 1fr); }
  body.br:not(.br-home) .trust-bar > .container, body.br:not(.br-home) .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  body.br:not(.br-home) .trust-item:nth-child(2) { border-right: 0; }
  body.br:not(.br-home) .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--br-line); }
  body.br .footer-grid, body.br .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body.br:not(.br-home) { font-size: 16px; }
  body.br .site-header > .container, body.br .site-header .header-inner { padding: 10px 16px; min-height: 64px; gap: 10px; }
  body.br .site-header .logo { font-size: 1.18rem; }
  body.br .site-header .logo::before { width: 30px; height: 30px; background-size: 18px; }
  body.br .header-right > .header-phone { padding: 0; width: 46px; height: 46px; justify-content: center; font-size: 0; gap: 0; }
  body.br .header-right > .header-phone .br-i { width: 20px; height: 20px; }
  body.br .header-inner nav > .header-phone { width: auto; height: auto; padding: 14px; }
  body.br .page-hero { padding: 40px 18px 76px; background: linear-gradient(180deg, rgba(9,26,46,.92), rgba(9,26,46,.84)), var(--hero-img, var(--br-navy)) center / cover no-repeat; }
  body.br .br-hero-cta .br-btn { width: 100%; }
  body.br:not(.br-home) .trust-bar { padding: 0 16px; margin-top: -44px; }
  body.br:not(.br-home) .trust-item { padding: 16px 14px; font-size: .9rem; gap: 10px; }
  body.br:not(.br-home) .trust-item .br-i { width: 34px; height: 34px; padding: 8px; }
  body.br:not(.br-home) .container { padding: 0 18px; }
  body.br article.content-section { padding-left: 18px; padding-right: 18px; }
  body.br .process-steps { grid-template-columns: 1fr; }
  body.br .location-services, body.br .services-offered { grid-template-columns: 1fr; }
  body.br .areas-section, body.br .areas { padding-left: 16px; padding-right: 16px; }
  body.br .areas-grid, body.br .areas-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  body.br .contact-form { grid-template-columns: 1fr; padding: 22px 18px; }
  body.br .contact-form > * { grid-column: 1 / -1 !important; }
  body.br:not(.br-home) .cta-section { padding-left: 16px; padding-right: 16px; }
  body.br .content-section .faq-list:has(> div.faq-item) { grid-template-columns: 1fr; }
  body.br details.faq-item summary { padding: 18px; font-size: 1rem; }
  body.br details.faq-item .faq-answer { padding: 0 18px 18px; }
  body.br .services-grid { grid-template-columns: 1fr; }
  body.br .blog-card { padding: 168px 22px 24px; }
  body.br .blog-card::before { left: 16px; right: 16px; top: 16px; bottom: auto; width: auto; height: 136px; }
  body.br .footer-grid, body.br .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  body.br .site-footer { padding: 56px 20px 28px; }
  body.br .mobile-cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--br-line); box-shadow: 0 -8px 24px rgba(15,36,64,.1); }
  body.br .mobile-cta-bar > .container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; }
  body.br .mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: .95rem; }
  body.br .mobile-cta-bar .cta-call { background: var(--br-green); color: #fff; }
  body.br .mobile-cta-bar .cta-sms { background: var(--br-navy); color: #fff; }
  body.br:has(.mobile-cta-bar) .site-footer { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) { body.br * { transition: none !important; } }
@media (min-width: 769px) and (max-width: 960px) {
  body.br-home .bento { grid-template-columns: repeat(2, 1fr); }
  body.br-home .bento__card:last-child { grid-column: span 2; }
}
/* home service cards on phones: content sat absolutely at the bottom of a fixed-height card, so the long
   "Most popular" card's title rode up under its tag. Let the card grow with its text instead. */
@media (max-width: 768px) {
  body.br-home .bento__card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
  body.br-home .bento__content { position: relative; padding: 72px 22px 24px; }
}
body.br .section > .container > .br-photo { max-width: 900px; margin: 30px auto 34px; aspect-ratio: 21 / 9; }
/* home service cards: deeper scrim so card copy stays readable over the new, brighter photos */
body.br-home .bento__card::after { background: linear-gradient(to top, rgba(9,26,46,.96) 0%, rgba(9,26,46,.78) 42%, rgba(9,26,46,.18) 100%); }
body.br-home .bento__card:hover::after { background: linear-gradient(to top, rgba(9,26,46,.94) 0%, rgba(9,26,46,.7) 42%, rgba(9,26,46,.12) 100%); }

/* ---------- Round 2 (2026-10-01): phone + tablet only. Every rule sits inside a max-width query,
   so the 1440 desktop layout is untouched. ---------- */
@media (max-width: 1100px) {
  /* home trust strip: 4 items wrapped 3 + 1 at tablet and scrolled sideways (items cut off) on phones */
  body.br-home .trust-bar__inner { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; gap: 18px 40px; overflow: visible; padding: 0 16px; }
}
@media (max-width: 640px) {
  body.br-home .trust-bar__inner { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 0; }
  body.br-home .trust-bar__item { white-space: normal; font-size: .9rem; line-height: 1.3; gap: 10px; }
  body.br-home .trust-bar__icon { width: 38px; height: 38px; }
}
@media (max-width: 1024px) {
  /* tap targets at least 44px tall on phones and tablets */
  body.br .site-header a.logo { min-height: 44px; }
  body.br-home .nav .nav__logo { display: inline-block; line-height: 44px; }
  body.br .breadcrumb a, body.br .breadcrumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.br .site-header .header-right > .header-phone { min-width: 44px; min-height: 44px; justify-content: center; }
  body.br-home .nav__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.br-home .nav__links a.nav__cta { min-height: 44px; }
  body.br-home .footer__contact-item a, body.br .contact-detail a[href^="tel:"], body.br .thank-you-inner a.phone-link,
  body.br .legal-content li a[href^="tel:"], body.br .content-narrow li a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }
  /* home: 5 process cards were 3 + 2 and 3 testimonials 2 + 1 at tablet landscape */
  body.br-home .process__grid { grid-template-columns: repeat(6, 1fr); }
  body.br-home .process__card { grid-column: span 2; }
  body.br-home .process__card:nth-child(n+4) { grid-column: span 3; }
  body.br-home .testimonials__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  body.br-home .testimonial-card { padding: 28px 22px; }
}
@media (max-width: 768px) {
  body.br-home .process__grid { grid-template-columns: repeat(2, 1fr); }
  body.br-home .process__card, body.br-home .process__card:nth-child(n+4) { grid-column: span 1; }
  body.br-home .process__card:last-child { grid-column: 1 / -1; }
  body.br-home .testimonials__grid { grid-template-columns: 1fr; }
  body.br .blog-meta { font-size: 15px !important; }
}
@media (min-width: 600px) and (max-width: 768px) {
  /* tablet portrait: service cards 2-up instead of one tall column */
  body.br-home .bento { grid-template-columns: repeat(2, 1fr); }
  body.br-home .bento__card--large, body.br-home .bento__card:last-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  body.br-home .process__grid { grid-template-columns: 1fr; }
  body.br-home .process__card:last-child { grid-column: auto; }
}
@media (max-width: 960px) {
  /* hot-springs header ships the toggle with inline display:none, so its phone menu was unreachable */
  body.br .site-header .nav-toggle { display: inline-flex !important; }
}
