/* ==========================================================================
   BRICKWISE COST CONSULTANT — Design System
   Navy #0F172A · Signal Blue #0369A1 · Brick Amber #C2703D
   Lexend (headings) · Source Sans 3 (body)
   ========================================================================== */

:root {
	--bw-navy: #0F172A;
	--bw-slate: #334155;
	--bw-accent: #0369A1;
	--bw-accent-dark: #075985;
	--bw-amber: #C2703D;
	--bw-white: #FFFFFF;
	--bw-bg: #F8FAFC;
	--bw-muted: #E8ECF1;
	--bw-border: #E2E8F0;
	--bw-fg: #020617;
	--bw-body: #475569;

	--bw-font-head: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--bw-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--bw-max: 1280px;
	--bw-radius: 12px;
	--bw-radius-sm: 8px;
	--bw-header-h: 84px;

	--bw-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
	--bw-shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
	--bw-shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.12);

	--bw-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body.bw-site {
	font-family: var(--bw-font-body);
	color: var(--bw-body);
	background: var(--bw-white);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	/* No overflow guard here — it belongs on <html>, where it cannot become
	   the containing block for the fixed header. See components.css. */
}

body.bw-noscroll {
	overflow: hidden;
}

.bw-site h1,
.bw-site h2,
.bw-site h3,
.bw-site h4,
.bw-site h5 {
	font-family: var(--bw-font-head);
	color: var(--bw-navy);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
}

.bw-site p {
	margin: 0 0 1.1em;
}

.bw-site p:last-child {
	margin-bottom: 0;
}

.bw-site img {
	max-width: 100%;
	height: auto;
}

.bw-site :focus-visible {
	outline: 3px solid var(--bw-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

/* Kill the parent theme's default content padding so our full-width
   sections sit flush. */
.bw-site .wp-site-blocks > * {
	margin-block-start: 0;
}

.bw-site .wp-site-blocks {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
}

.bw-site .wp-block-post-content > *,
.bw-site .entry-content > * {
	margin-block-start: 0;
}

/* The parent theme ships `useRootPaddingAwareAlignments`, which gives every
   .alignfull block a negative horizontal margin equal to the root padding.
   Our sections manage their own gutters via .bw-wrap, so that negative margin
   drags them off the left edge and overflows the right — most visibly on
   mobile. Neutralise it. */
.bw-site .wp-site-blocks > .alignfull,
.bw-site .has-global-padding > .alignfull,
.bw-site .wp-block-post-content > .alignfull,
.bw-site .alignfull {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.bw-wrap {
	width: 100%;
	max-width: var(--bw-max);
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.bw-sec {
	padding: 96px 0;
	position: relative;
}

.bw-sec--tight { padding: 64px 0; }
.bw-sec--flush { padding: 0; }

.bw-sec--muted { background: var(--bw-muted); }
.bw-sec--bg     { background: var(--bw-bg); }
.bw-sec--navy   { background: var(--bw-navy); color: rgba(255, 255, 255, 0.78); }

.bw-sec--navy h1,
.bw-sec--navy h2,
.bw-sec--navy h3,
.bw-sec--navy h4 { color: #fff; }

.bw-sec__head {
	max-width: 780px;
	margin: 0 0 56px;
}

.bw-sec__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.bw-eyebrow {
	display: inline-block;
	font-family: var(--bw-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bw-accent);
	margin: 0 0 14px;
}

.bw-sec--navy .bw-eyebrow { color: #7DD3FC; }

.bw-sec__title {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	margin: 0 0 16px;
}

.bw-sec__lead {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--bw-slate);
	margin: 0;
}

.bw-sec--navy .bw-sec__lead { color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.bw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--bw-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	padding: 15px 28px;
	border-radius: var(--bw-radius-sm);
	border: 1.5px solid transparent;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s var(--bw-ease), color 0.2s var(--bw-ease),
	            border-color 0.2s var(--bw-ease), transform 0.2s var(--bw-ease),
	            box-shadow 0.2s var(--bw-ease);
	white-space: nowrap;
}

.bw-btn--primary {
	background: var(--bw-navy);
	color: #fff;
	border-color: var(--bw-navy);
}

.bw-btn--primary:hover {
	background: #1E293B;
	border-color: #1E293B;
	transform: translateY(-2px);
	box-shadow: var(--bw-shadow-md);
	color: #fff;
}

.bw-btn--accent {
	background: var(--bw-accent);
	color: #fff;
	border-color: var(--bw-accent);
}

.bw-btn--accent:hover {
	background: var(--bw-accent-dark);
	border-color: var(--bw-accent-dark);
	transform: translateY(-2px);
	box-shadow: var(--bw-shadow-md);
	color: #fff;
}

.bw-btn--ghost {
	background: transparent;
	color: var(--bw-navy);
	border-color: var(--bw-navy);
}

.bw-btn--ghost:hover {
	background: var(--bw-navy);
	color: #fff;
}

.bw-btn--light {
	background: #fff;
	color: var(--bw-navy);
	border-color: #fff;
}

.bw-btn--light:hover {
	background: rgba(255, 255, 255, 0.9);
	transform: translateY(-2px);
	color: var(--bw-navy);
}

.bw-btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.bw-btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

.bw-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.bw-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--bw-border);
	transition: box-shadow 0.3s var(--bw-ease);
}

.bw-header.is-stuck {
	box-shadow: var(--bw-shadow-md);
}

.bw-header__inner {
	max-width: var(--bw-max);
	margin: 0 auto;
	padding: 0 24px;
	height: var(--bw-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
}

.bw-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	color: var(--bw-navy);
	flex-shrink: 0;
}

.bw-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--bw-navy);
	color: #fff;
	flex-shrink: 0;
}

.bw-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.bw-logo__name {
	font-family: var(--bw-font-head);
	font-weight: 700;
	font-size: 19px;
	letter-spacing: 0.06em;
	color: var(--bw-navy);
}

.bw-logo__sub {
	font-family: var(--bw-font-body);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bw-accent);
	margin-top: 2px;
}

.bw-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: auto;
}

.bw-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bw-nav__list li {
	position: relative;
	margin: 0;
}

.bw-nav__list a {
	font-family: var(--bw-font-body);
	font-size: 15.5px;
	font-weight: 500;
	color: var(--bw-navy);
	text-decoration: none !important;
	padding: 8px 0;
	display: inline-block;
	position: relative;
	transition: color 0.2s var(--bw-ease);
	white-space: nowrap;
}

.bw-nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 2px;
	width: 0;
	height: 2px;
	background: var(--bw-accent);
	transition: width 0.25s var(--bw-ease);
}

.bw-nav__list a:hover { color: var(--bw-accent); }
.bw-nav__list a:hover::after { width: 100%; }

.bw-nav__list .current-menu-item > a,
.bw-nav__list .current-menu-parent > a { color: var(--bw-accent); }
.bw-nav__list .current-menu-item > a::after { width: 100%; }

/* Dropdowns */
.bw-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -18px;
	min-width: 286px;
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	box-shadow: var(--bw-shadow-lg);
	padding: 10px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.2s var(--bw-ease), transform 0.2s var(--bw-ease), visibility 0.2s;
	z-index: 20;
}

.bw-nav__list li:hover > .sub-menu,
.bw-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.bw-nav__list .sub-menu a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--bw-radius-sm);
	font-size: 15px;
	white-space: normal;
}

.bw-nav__list .sub-menu a::after { display: none; }

.bw-nav__list .sub-menu a:hover {
	background: var(--bw-muted);
	color: var(--bw-accent);
}

.bw-nav__cta { padding: 13px 22px; font-size: 15px; }

/* Burger */
.bw-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius-sm);
	cursor: pointer;
	margin-left: auto;
}

.bw-burger span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--bw-navy);
	margin: 0 auto;
	transition: transform 0.25s var(--bw-ease), opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.bw-hero {
	position: relative;
	background: linear-gradient(135deg, #0F172A 0%, #16233F 55%, #0B1220 100%);
	color: #fff;
	overflow: hidden;
	padding: 120px 0 108px;
}

.bw-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 68px 68px;
	pointer-events: none;
}

.bw-hero::after {
	content: '';
	position: absolute;
	top: -180px;
	right: -160px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(3, 105, 161, 0.32) 0%, transparent 68%);
	pointer-events: none;
}

.bw-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.bw-hero .bw-eyebrow {
	color: #7DD3FC;
}

.bw-hero h1 {
	color: #fff;
	font-size: clamp(2.125rem, 5.2vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 24px;
}

.bw-hero__sub {
	font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.8);
	max-width: 760px;
	margin: 0;
}

.bw-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-top: 44px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bw-hero__trust span {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.68);
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.bw-hero__trust svg { color: #7DD3FC; flex-shrink: 0; }

/* Page hero (inner pages) */
.bw-phero {
	background: linear-gradient(135deg, #0F172A 0%, #1B2A4A 100%);
	color: #fff;
	padding: 92px 0 76px;
	position: relative;
	overflow: hidden;
}

.bw-phero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 68px 68px;
}

.bw-phero__inner { position: relative; z-index: 2; max-width: 860px; }

.bw-phero h1 {
	color: #fff;
	font-size: clamp(1.875rem, 4.2vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.022em;
	margin: 0 0 18px;
}

.bw-phero__sub {
	font-size: clamp(1rem, 1.7vw, 1.1875rem);
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.6;
	margin: 0;
	max-width: 720px;
}

.bw-crumb {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.55);
	margin: 0 0 18px;
}

.bw-crumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.bw-crumb a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Logo / trust strip
   -------------------------------------------------------------------------- */

.bw-strip {
	background: var(--bw-bg);
	border-bottom: 1px solid var(--bw-border);
	padding: 30px 0;
}

.bw-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 44px;
}

.bw-strip__label {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #94A3B8;
}

.bw-strip__item {
	font-family: var(--bw-font-head);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--bw-slate);
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.bw-strip__item svg { color: var(--bw-accent); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Grids & cards
   -------------------------------------------------------------------------- */

.bw-grid {
	display: grid;
	gap: 26px;
}

.bw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bw-grid--4 { grid-template-columns: repeat(4, 1fr); }

.bw-card {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 34px 30px;
	box-shadow: var(--bw-shadow-sm);
	transition: transform 0.25s var(--bw-ease), box-shadow 0.25s var(--bw-ease),
	            border-color 0.25s var(--bw-ease);
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	text-decoration: none !important;
	color: inherit;
}

.bw-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bw-shadow-lg);
	border-color: #CBD5E1;
}

.bw-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: rgba(3, 105, 161, 0.09);
	color: var(--bw-accent);
	margin-bottom: 22px;
	flex-shrink: 0;
	transition: background-color 0.25s var(--bw-ease), color 0.25s var(--bw-ease);
}

.bw-card:hover .bw-card__icon {
	background: var(--bw-accent);
	color: #fff;
}

.bw-card__title {
	font-family: var(--bw-font-head);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--bw-navy);
	margin: 0 0 12px;
	line-height: 1.3;
}

.bw-card__text {
	font-size: 16px;
	line-height: 1.62;
	color: var(--bw-body);
	margin: 0;
	flex-grow: 1;
}

.bw-card__list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.bw-card__list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 9px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--bw-body);
}

.bw-card__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--bw-accent);
}

.bw-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 22px;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--bw-accent);
	text-decoration: none !important;
	transition: gap 0.2s var(--bw-ease);
}

.bw-card:hover .bw-card__link { gap: 12px; }

.bw-card__num {
	font-family: var(--bw-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--bw-amber);
	margin-bottom: 14px;
	display: block;
}

/* --------------------------------------------------------------------------
   Statistics band
   -------------------------------------------------------------------------- */

.bw-stats {
	background: var(--bw-navy);
	padding: 74px 0;
	position: relative;
	overflow: hidden;
}

.bw-stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 60px 60px;
}

.bw-stats__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 34px;
	text-align: center;
}

.bw-stat__num {
	font-family: var(--bw-font-head);
	font-size: clamp(2.25rem, 4.6vw, 3.4rem);
	font-weight: 700;
	color: #fff;
	line-height: 1;
	letter-spacing: -0.03em;
	display: block;
}

.bw-stat__suffix { color: var(--bw-amber); }

.bw-stat__label {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.62);
	margin-top: 14px;
	display: block;
	letter-spacing: 0.02em;
}

.bw-stat__rule {
	width: 34px;
	height: 3px;
	background: var(--bw-amber);
	border-radius: 2px;
	margin: 16px auto 0;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.bw-steps { display: grid; gap: 20px; }

.bw-step {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 30px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 32px 34px;
	box-shadow: var(--bw-shadow-sm);
	transition: transform 0.25s var(--bw-ease), box-shadow 0.25s var(--bw-ease);
}

.bw-step:hover {
	transform: translateX(5px);
	box-shadow: var(--bw-shadow-md);
}

.bw-step__num {
	font-family: var(--bw-font-head);
	font-size: 3rem;
	font-weight: 700;
	color: var(--bw-muted);
	line-height: 0.9;
	letter-spacing: -0.04em;
}

.bw-step__title {
	font-family: var(--bw-font-head);
	font-size: 1.3125rem;
	font-weight: 600;
	color: var(--bw-navy);
	margin: 0 0 10px;
}

.bw-step__text { margin: 0 0 14px; font-size: 16.5px; }

.bw-step__deliver {
	font-size: 14.5px;
	color: var(--bw-accent);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(3, 105, 161, 0.07);
	padding: 8px 15px;
	border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Industries / tag grid
   -------------------------------------------------------------------------- */

.bw-ind {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.bw-ind__item {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 30px 26px;
	text-align: left;
	transition: transform 0.25s var(--bw-ease), box-shadow 0.25s var(--bw-ease),
	            border-color 0.25s var(--bw-ease);
	text-decoration: none !important;
	color: inherit;
	display: block;
}

.bw-ind__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--bw-shadow-md);
	border-color: var(--bw-accent);
}

.bw-ind__icon {
	color: var(--bw-accent);
	margin-bottom: 16px;
	display: block;
}

.bw-ind__title {
	font-family: var(--bw-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--bw-navy);
	margin: 0 0 8px;
}

.bw-ind__text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--bw-body);
	margin: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.bw-cta {
	background: linear-gradient(135deg, #0F172A 0%, #1B2A4A 100%);
	padding: 86px 0;
	position: relative;
	overflow: hidden;
}

.bw-cta::after {
	content: '';
	position: absolute;
	bottom: -220px;
	left: -140px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(3, 105, 161, 0.3) 0%, transparent 68%);
}

.bw-cta__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.bw-cta h2 {
	color: #fff;
	font-size: clamp(1.625rem, 3.4vw, 2.375rem);
	margin: 0 0 16px;
}

.bw-cta p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.0625rem;
	line-height: 1.62;
	margin: 0;
}

.bw-cta .bw-btns { justify-content: center; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.bw-faq { max-width: 860px; margin: 0 auto; }

.bw-faq__item {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	margin-bottom: 14px;
	overflow: hidden;
	transition: box-shadow 0.25s var(--bw-ease), border-color 0.25s var(--bw-ease);
}

.bw-faq__item[open] {
	box-shadow: var(--bw-shadow-md);
	border-color: #CBD5E1;
}

.bw-faq__q {
	font-family: var(--bw-font-head);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--bw-navy);
	padding: 24px 62px 24px 28px;
	cursor: pointer;
	position: relative;
	list-style: none;
	line-height: 1.45;
	transition: color 0.2s var(--bw-ease);
}

.bw-faq__q::-webkit-details-marker { display: none; }

.bw-faq__q:hover { color: var(--bw-accent); }

.bw-faq__q::after {
	content: '';
	position: absolute;
	right: 28px;
	top: 50%;
	width: 11px;
	height: 11px;
	border-right: 2px solid var(--bw-accent);
	border-bottom: 2px solid var(--bw-accent);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s var(--bw-ease);
}

.bw-faq__item[open] .bw-faq__q::after {
	transform: translateY(-20%) rotate(-135deg);
}

.bw-faq__a {
	padding: 0 28px 26px;
	font-size: 16.5px;
	line-height: 1.68;
	color: var(--bw-body);
}

/* --------------------------------------------------------------------------
   Prose blocks
   -------------------------------------------------------------------------- */

.bw-prose {
	max-width: 780px;
}

.bw-prose--wide { max-width: 880px; }

.bw-prose h2 {
	font-size: clamp(1.5rem, 2.8vw, 2rem);
	margin: 52px 0 18px;
}

.bw-prose h2:first-child { margin-top: 0; }

.bw-prose h3 {
	font-size: 1.3125rem;
	margin: 36px 0 14px;
}

.bw-prose p {
	font-size: 17px;
	line-height: 1.72;
	margin: 0 0 1.15em;
}

.bw-prose ul {
	margin: 0 0 1.4em;
	padding: 0;
	list-style: none;
}

.bw-prose ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 11px;
	font-size: 16.5px;
	line-height: 1.6;
}

.bw-prose ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--bw-accent);
}

.bw-outcome {
	background: var(--bw-bg);
	border-left: 4px solid var(--bw-accent);
	border-radius: 0 var(--bw-radius-sm) var(--bw-radius-sm) 0;
	padding: 20px 26px;
	margin: 26px 0 0;
	font-size: 16.5px;
	line-height: 1.62;
}

.bw-outcome strong { color: var(--bw-navy); }

.bw-svc {
	border-top: 1px solid var(--bw-border);
	padding-top: 52px;
	margin-top: 52px;
}

.bw-svc:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

/* Values / numbered list */
.bw-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.bw-value {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 32px 30px;
	transition: transform 0.25s var(--bw-ease), box-shadow 0.25s var(--bw-ease);
}

.bw-value:hover { transform: translateY(-4px); box-shadow: var(--bw-shadow-md); }

.bw-value__num {
	font-family: var(--bw-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--bw-amber);
	display: block;
	margin-bottom: 12px;
}

.bw-value__title {
	font-family: var(--bw-font-head);
	font-size: 1.1875rem;
	font-weight: 600;
	color: var(--bw-navy);
	margin: 0 0 10px;
}

.bw-value__text { font-size: 16px; line-height: 1.6; margin: 0; }

/* Vision / mission split */
.bw-vm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.bw-vm__card {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 42px 38px;
	box-shadow: var(--bw-shadow-sm);
}

.bw-vm__card--navy {
	background: var(--bw-navy);
	border-color: var(--bw-navy);
}

.bw-vm__card--navy .bw-vm__title { color: #fff; }
.bw-vm__card--navy .bw-vm__quote { color: #fff; }
.bw-vm__card--navy .bw-vm__body { color: rgba(255, 255, 255, 0.72); }

.bw-vm__title {
	font-family: var(--bw-font-head);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--bw-navy);
	margin: 0 0 18px;
}

.bw-vm__quote {
	font-family: var(--bw-font-head);
	font-size: 1.25rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--bw-navy);
	border-left: 3px solid var(--bw-amber);
	padding-left: 20px;
	margin: 0 0 22px;
}

.bw-vm__body { font-size: 16.5px; line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.bw-contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 46px; align-items: start; }

.bw-contact__panel {
	background: var(--bw-navy);
	border-radius: var(--bw-radius);
	padding: 42px 36px;
	color: rgba(255, 255, 255, 0.78);
}

.bw-contact__panel h3 { color: #fff; font-size: 1.25rem; margin: 0 0 24px; }

.bw-contact__row {
	display: flex;
	gap: 15px;
	padding: 17px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	align-items: flex-start;
}

.bw-contact__row:last-of-type { border-bottom: 0; }

.bw-contact__row svg { color: #7DD3FC; flex-shrink: 0; margin-top: 3px; }

.bw-contact__label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.48);
	display: block;
	margin-bottom: 4px;
}

.bw-contact__val { color: #fff; font-size: 16px; line-height: 1.5; }
.bw-contact__val a { color: #fff; text-decoration: none; }
.bw-contact__val a:hover { color: #7DD3FC; text-decoration: underline; }

.bw-form {
	background: #fff;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius);
	padding: 40px 38px;
	box-shadow: var(--bw-shadow-sm);
}

.bw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.bw-field { display: flex; flex-direction: column; margin-bottom: 20px; }
.bw-field--full { grid-column: 1 / -1; }

.bw-field label {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--bw-navy);
	margin-bottom: 7px;
}

.bw-field input,
.bw-field select,
.bw-field textarea {
	font-family: var(--bw-font-body);
	font-size: 16px;
	color: var(--bw-fg);
	padding: 13px 15px;
	border: 1px solid var(--bw-border);
	border-radius: var(--bw-radius-sm);
	background: #fff;
	transition: border-color 0.2s var(--bw-ease), box-shadow 0.2s var(--bw-ease);
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
}

.bw-field textarea { min-height: 132px; resize: vertical; }

.bw-field input:focus,
.bw-field select:focus,
.bw-field textarea:focus {
	outline: none;
	border-color: var(--bw-accent);
	box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.14);
}

.bw-field__hint { font-size: 13.5px; color: #94A3B8; margin-top: 6px; }

.bw-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 14.5px;
	line-height: 1.5;
	margin-bottom: 22px;
}

.bw-consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex-shrink: 0; }

.bw-note {
	font-size: 14.5px;
	color: #64748B;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--bw-border);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.bw-footer {
	background: var(--bw-navy);
	color: rgba(255, 255, 255, 0.66);
	padding: 76px 0 0;
	font-size: 15.5px;
}

.bw-footer__inner {
	max-width: var(--bw-max);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
	gap: 46px;
	box-sizing: border-box;
}

.bw-logo--footer { margin-bottom: 20px; }
.bw-logo--footer .bw-logo__mark { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bw-logo--footer .bw-logo__name { color: #fff; }
.bw-logo--footer .bw-logo__sub { color: #7DD3FC; }

.bw-footer__desc { font-size: 15px; line-height: 1.68; margin: 0; max-width: 380px; }

.bw-footer__heading {
	font-family: var(--bw-font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 20px;
}

.bw-footer__list { list-style: none; margin: 0; padding: 0; }

.bw-footer__list li { margin-bottom: 11px; line-height: 1.5; }

.bw-footer__list a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
	transition: color 0.2s var(--bw-ease);
}

.bw-footer__list a:hover { color: #fff; text-decoration: underline; }

.bw-footer__list--contact li { margin-bottom: 16px; }

.bw-footer__label {
	display: block;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 3px;
}

.bw-footer__standards {
	max-width: var(--bw-max);
	margin: 56px auto 0;
	padding: 26px 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.52);
	letter-spacing: 0.03em;
	box-sizing: border-box;
}

.bw-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 24px;
	text-align: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.45);
}

.bw-footer__legal p { margin: 0 0 8px; }
.bw-footer__legal p:last-child { margin-bottom: 0; }

.bw-footer__legal-links a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	margin: 0 10px;
}

.bw-footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Mobile sticky bar
   -------------------------------------------------------------------------- */

.bw-mobilebar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: #fff;
	border-top: 1px solid var(--bw-border);
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	gap: 10px;
	box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.09);
}

.bw-mobilebar__btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: var(--bw-radius-sm);
	font-family: var(--bw-font-body);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none !important;
	background: var(--bw-muted);
	color: var(--bw-navy);
}

.bw-mobilebar__btn--primary { background: var(--bw-accent); color: #fff; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.bw-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s var(--bw-ease), transform 0.55s var(--bw-ease);
}

.bw-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.bw-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.bw-ind { grid-template-columns: repeat(2, 1fr); }
	.bw-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
	.bw-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.bw-burger { display: flex; }

	/* Off-canvas panel. Deliberately NO transform: a fixed element cannot be
	   clipped by an ancestor's overflow, so translating it off-screen creates
	   real horizontal scroll on phones. Visibility/opacity instead — see the
	   fixed-header section of components.css. */
	.bw-nav {
		position: fixed;
		inset: var(--bw-header-h) 0 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 24px;
		overflow-y: auto;
		margin-left: 0;
	}

	.bw-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }

	.bw-nav__list > li { border-bottom: 1px solid var(--bw-border); }

	.bw-nav__list a { padding: 16px 4px; font-size: 17px; display: block; }
	.bw-nav__list a::after { display: none; }

	.bw-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding: 0 0 10px 16px;
		min-width: 0;
	}

	.bw-nav__list .sub-menu a { padding: 11px 4px; font-size: 15.5px; color: var(--bw-body); }

	.bw-nav__cta { margin-top: 22px; width: 100%; }

	.bw-grid--3, .bw-grid--2 { grid-template-columns: 1fr; }
	.bw-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
	.bw-contact { grid-template-columns: 1fr; gap: 30px; }
	.bw-vm { grid-template-columns: 1fr; }

	.bw-mobilebar { display: flex; }
	.bw-footer { padding-bottom: 78px; }
}

@media (max-width: 640px) {
	:root { --bw-header-h: 72px; }

	.bw-wrap { padding: 0 18px; }

	.bw-sec { padding: 56px 0; }
	.bw-sec--tight { padding: 44px 0; }
	.bw-sec__head { margin-bottom: 34px; }

	.bw-hero { padding: 68px 0 60px; }
	.bw-phero { padding: 54px 0 46px; }

	/* Let the headline wrap naturally instead of at the authored break. */
	.bw-hero h1 br { display: none; }

	.bw-grid--4, .bw-ind, .bw-values { grid-template-columns: 1fr; }
	.bw-footer__inner { grid-template-columns: 1fr; gap: 34px; }

	.bw-card { padding: 28px 24px; }
	.bw-form { padding: 28px 22px; }
	.bw-form__grid { grid-template-columns: 1fr; gap: 0; }
	.bw-contact__panel { padding: 32px 26px; }
	.bw-vm__card { padding: 32px 26px; }

	.bw-step { grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; }
	.bw-step__num { font-size: 2.25rem; }
	.bw-step:hover { transform: none; }

	.bw-btns { flex-direction: column; align-items: stretch; }
	.bw-btn { width: 100%; }

	.bw-strip__inner { gap: 14px 26px; }
	.bw-faq__q { padding: 20px 52px 20px 22px; font-size: 1rem; }
	.bw-faq__a { padding: 0 22px 22px; }
}

@media (max-width: 420px) {
	.bw-stats__grid { grid-template-columns: 1fr; gap: 34px; }
	.bw-logo__name { font-size: 17px; }
	.bw-logo__sub { font-size: 10.5px; letter-spacing: 0.1em; }
	.bw-logo__mark { width: 38px; height: 38px; }
	.bw-hero__trust { gap: 10px 18px; }
	.bw-hero__trust span { font-size: 13.5px; }
}

/* --------------------------------------------------------------------------
   Long-string containment — email addresses and URLs must never force
   horizontal scroll on narrow viewports.
   -------------------------------------------------------------------------- */

.bw-footer__list a,
.bw-footer__list span,
.bw-contact__val,
.bw-contact__val a,
.bw-prose a,
.bw-card__text {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.bw-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
	.bw-header, .bw-mobilebar, .bw-cta, .bw-footer__standards { display: none; }
	.bw-hero, .bw-phero { background: #fff; color: #000; }
	.bw-hero h1, .bw-phero h1 { color: #000; }
}
