/* ============================================================
   BEAVER BUILDER → THEME LAYER (MB Fluid Services)

   Site-wide defaults so any Beaver Builder content matches the design out of
   the box. Scoped to .fl-builder-content, NO !important, loaded late — so it
   beats Beaver Builder's own defaults but yields to per-module Builder
   settings. Tokens mirror css/global.css.

   USAGE — apply via a Row's "Advanced → CSS Class":
     Decorative section bands (see below):  mbf-band mbf-band--a | --b | --c | --d
   ============================================================ */

.fl-builder-content {
	--mbf-bg:        #0c0c0e;
	--mbf-deep:      #08080a;
	--mbf-surface:   #141416;
	--mbf-surface-2: #1a1a1d;
	--mbf-border:    #2a2a2e;
	--mbf-paper:     #F5F3EE;
	--mbf-green:     #84BD00;
	--mbf-green-hi:  #93cf00;
	--mbf-green-br:  #9ed400;
	--mbf-blue:      #9ADBE8;
	--mbf-display:   'Bebas Neue', 'Archivo', system-ui, sans-serif;
	--mbf-sans:      'Archivo', system-ui, sans-serif;
}

/* ============================================================
   1. Full-bleed canvas
   Every mbf-* module emits its own <section> with its own background and
   padding. Beaver Builder wraps each node in spacing that would box those
   sections in (a 20px row-content padding and a 20px module margin live in
   BB's unprefixed per-layout cache CSS). These selectors are more specific
   than those defaults, so they win with no !important — and per-node padding
   set in the Builder still overrides them.
   ============================================================ */
.acb-bb-page .fl-builder-content .fl-row-content-wrap { padding: 0; }
.acb-bb-page .fl-builder-content .fl-module-content   { margin: 0; }
.acb-bb-page .fl-builder-content .fl-row-content      { max-width: none; }
.acb-bb-page .fl-builder-content .fl-row              { max-width: none; }

/* Unconstrain the parent theme's content container on BB pages. */
.acb-bb-page .site-content,
.acb-bb-page .content-area,
.acb-bb-page .entry-content,
.acb-bb-page main {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* ============================================================
   2. Section bands

   `mbf-band mbf-band--a|b|c|d` on a Beaver Builder row sets that row's
   background colour, clips it, and keeps the row's content stacked above
   anything absolutely positioned inside it.

   These bands used to paint a large rotated paper texture as a ::before,
   with a JS parallax drift. That art is gone: the homepage design file
   (project/BUILD Homepage for Review.dc.html) contains no paper texture at
   all — its only decoration is the six oil splashes the modules draw — so
   the bands were five extra watermarks from a different art family sitting
   among them. PinPoint, homepage, Taylro 2026-10-21: "We need to swap out
   this background watermark. It looks odd and doesn't match the others."

   The textures themselves are still used, deliberately, on /about/,
   /services/ and /resources/, whose designs do call for them. Only the
   homepage rows lost them.

   Band → sections:
     a  contaminants + reclaim      b  industries + areas
     c  lineage + results           d  contact + faq
   ============================================================ */
.fl-builder-content .fl-row.mbf-band { position: relative; overflow: hidden; }

/* Row content sits above the texture. */
.fl-builder-content .fl-row.mbf-band > .fl-row-content-wrap { position: relative; z-index: 1; }

/* -- band a: contaminants + reclaim --
   Note: the background colour goes on the ROW, never on .fl-row-content-wrap —
   the wrap is stacked above the texture, so a background there would hide it. */
.fl-builder-content .fl-row.mbf-band--a { background-color: var(--mbf-bg); }

/* -- band b: industries + areas -- */
.fl-builder-content .fl-row.mbf-band--b { background-color: var(--mbf-bg); }

/* -- band c: lineage + results -- */
.fl-builder-content .fl-row.mbf-band--c { background-color: var(--mbf-surface); }

/* -- band d: contact + faq -- */
.fl-builder-content .fl-row.mbf-band--d { background-color: var(--mbf-bg); }

/* ============================================================
   3. Generic Beaver Builder modules
   So a stock Heading / Text / Button dropped on a page is on-brand without
   per-instance styling. Sizing is left to the Builder.
   ============================================================ */
.fl-builder-content .fl-heading,
.fl-builder-content .fl-heading .fl-heading-text {
	font-family: var(--mbf-display);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--mbf-paper);
}

.fl-builder-content .fl-rich-text,
.fl-builder-content .fl-rich-text p,
.fl-builder-content .fl-rich-text li {
	font-family: var(--mbf-sans);
	font-size: 17px;
	line-height: 1.7;
	color: rgba(245, 243, 238, 0.78);
}
.fl-builder-content .fl-rich-text a { color: var(--mbf-green); }
.fl-builder-content .fl-rich-text a:hover { color: var(--mbf-green-br); }

.fl-builder-content .fl-button,
.fl-builder-content a.fl-button,
.fl-builder-content .fl-button-wrap a.fl-button {
	font-family: var(--mbf-sans);
	font-weight: 700;
	font-size: 15px;
	padding: 14px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--mbf-green);
	color: var(--mbf-bg);
	transition: background .25s ease;
}
.fl-builder-content .fl-button:hover,
.fl-builder-content a.fl-button:hover { background: var(--mbf-green-hi); color: var(--mbf-bg); }
.fl-builder-content .fl-button *,
.fl-builder-content a.fl-button * { color: inherit; }

.fl-builder-content .fl-separator { border-top-color: var(--mbf-border); }

/* Form fields, so a stock BB/Formidable form inherits the design's inputs. */
.fl-builder-content input[type="text"],
.fl-builder-content input[type="email"],
.fl-builder-content input[type="tel"],
.fl-builder-content input[type="number"],
.fl-builder-content select,
.fl-builder-content textarea {
	font-family: var(--mbf-sans);
	font-size: 15px;
	color: var(--mbf-paper);
	background: rgba(245, 243, 238, 0.05);
	border: 1px solid rgba(245, 243, 238, 0.18);
	border-radius: 7px;
	padding: 11px 13px;
}
.fl-builder-content input[type="text"]:focus,
.fl-builder-content input[type="email"]:focus,
.fl-builder-content input[type="tel"]:focus,
.fl-builder-content input[type="number"]:focus,
.fl-builder-content select:focus,
.fl-builder-content textarea:focus {
	border-color: var(--mbf-green);
	outline: none;
}
