/* ==========================================================================
   Building Construction Uganda: brand layer over Constructo
   Loaded AFTER the parent's core.css, so equal-specificity rules here win.
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Header/nav · 5 Buttons · 6 Sticky bar
             7 Footer · 8 Content basics · 9 Forms · 10 Utilities · 11 Design-system components
   ========================================================================== */

/* 1. FONTS (self-hosted variable fonts: Exo = headings/nav, Public Sans = body/UI) ------ */
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-var-latin.woff2') format('woff2');
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Public Sans';
	src: url('../fonts/public-sans-var-latin.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* 2. TOKENS: the ONLY permitted colours (CLAUDE.md §5). No other hex values anywhere. ---- */
:root {
	--bcc-navy: #0A2138;         /* text, headings, footer background */
	--bcc-blue: #0D3B67;         /* links, secondary buttons, tags on light backgrounds */
	--bcc-orange: #EA8E30;       /* primary CTA + accents only. Label on orange = navy. Never as text on light (2.5:1) */
	--bcc-white: #FDFDFD;        /* page background */
	--bcc-gray-light: #D2D0CD;   /* borders, dividers */
	--bcc-slate: #465361;        /* body text */
	--bcc-slate-light: #9098A2;  /* muted text on dark backgrounds */
	--bcc-surface: #F2F2F1;      /* alternate section background */

	--bcc-font-head: 'Exo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--bcc-font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

	--bcc-radius: 2px;           /* buttons: almost square (design-system §3) */
	--bcc-radius-input: 5px;
	--bcc-radius-card: 10px;
	--bcc-shadow: 0 10px 40px rgba(0, 0, 0, .10);
	--bcc-header-h: 76px;
}

/* 3. BASE ----------------------------------------------------------------- */
/* Bootstrap 3 sets html{font-size:62.5%} (10px root) so 1rem = 10px. The parent theme does not use rem,
   so restore a normal 16px root: every rem value in this file assumes 1rem = 16px. */
html { font-size: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--bcc-font-body);
	font-size: 16px;
	line-height: 1.625; /* 16/26 */
	color: var(--bcc-slate);
	background: var(--bcc-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--bcc-font-head);
	color: var(--bcc-navy);
	font-weight: 700;
	line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }               /* page H1: up to 48px. The hero H1 (70px) gets its own class */
h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); }          /* section heading: 48/57.6 on desktop */
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; }  /* card title: 24/34 */
h4 { font-size: 1.25rem; line-height: 1.5; }            /* service card title: 20/30 */
a { color: var(--bcc-blue); }
a:hover, a:focus { color: var(--bcc-navy); }
:focus-visible { outline: 3px solid var(--bcc-orange); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

/* Bootstrap 3 clearfix pseudo-elements (.container:before/:after) become stray items inside grid/flex rows. */
.bcc-footer__top::before, .bcc-footer__top::after,
.bcc-footer__bottom-inner::before, .bcc-footer__bottom-inner::after { display: none !important; content: none !important; }

/* Wider container from 1400px (design-system §3: 1320px, 15px gutters) */
@media (min-width: 1400px) { .container { width: 1320px; } }

/* Our own templates draw their own page title (H1 in the hero or intro): drop the parent's title band and gaps */
body.bcc-fullwidth .page-heading { display: none !important; margin: 0 !important; }
body.bcc-fullwidth .site-footer { margin-top: 0; }
body.bcc-fullwidth section { margin-top: 0; } /* parent: body:not(.home) section { margin-top: 60px } */

/* 4. HEADER / NAV --------------------------------------------------------- */
/* Parent "top bar" (widget strip above the header) is not used. Re-enable by removing this rule
   and assigning widgets to the Top bar areas under Appearance > Widgets. */
.top-bar { display: none !important; }

/* Parent colours outside the palette, found by scripts/palette-audit.py (re-run it after visual changes) */
.site-wrap, .site-wrapper { background-color: var(--bcc-white); }
.site-header:not(.site-header-style-transparent) .nav-wrap { background-color: var(--bcc-white); }
input.site-search-input { color: var(--bcc-white); } /* parent: input.site-search-input { color:#fff } */
.site-header .site-navigation a:hover, .site-header .site-navigation a:focus { color: var(--bcc-blue); } /* parent: #3178bf */
@media (max-width: 991px) {
	.site-navigation.site-navigation-opened { background-color: var(--bcc-navy); }
	.site-header .site-navigation a { color: var(--bcc-white); }
	.site-header .site-navigation a:hover, .site-header .site-navigation a:focus { color: var(--bcc-orange); }
}
.site-header, .nav-wrap { font-family: var(--bcc-font-body); }
.site-header .site-navigation > ul > li > a,
.site-header .site-navigation > div > ul > li > a {
	font-family: var(--bcc-font-head);
	font-weight: 600;
	font-size: 1.0625rem; /* 17px; 18px from 1400px up (design-system §2) */
	letter-spacing: 0;
	text-transform: none;
}
@media (min-width: 1400px) {
	.site-header .site-navigation > ul > li > a,
	.site-header .site-navigation > div > ul > li > a { font-size: 1.125rem; }
}
.site-header .site-navigation .sub-menu a { font-family: var(--bcc-font-head); font-weight: 500; font-size: .95rem; }
@media (min-width: 992px) {
	/* Desktop bar is white: navy links. (The mobile drawer is dark and keeps the parent's white links.) */
	.site-header .site-navigation > ul > li:not(.menu-cta) > a,
	.site-header .site-navigation > div > ul > li:not(.menu-cta) > a { color: var(--bcc-navy); }
	.site-header .site-navigation > ul > li:not(.menu-cta) > a:hover,
	.site-header .site-navigation > div > ul > li:not(.menu-cta) > a:hover { color: var(--bcc-blue); }
}
/* Current page in the menu: parent uses #d54900 (off-palette). Light bar: blue text + orange underline; navy drawer: orange text. */
@media (min-width: 992px) {
	.site-header .site-navigation > ul > li.current-menu-item:not(.menu-cta) > a,
	.site-header .site-navigation > ul > li.current-menu-ancestor:not(.menu-cta) > a,
	.site-header .site-navigation > div > ul > li.current-menu-item:not(.menu-cta) > a,
	.site-header .site-navigation > div > ul > li.current-menu-ancestor:not(.menu-cta) > a { color: var(--bcc-blue) !important; box-shadow: inset 0 -3px 0 var(--bcc-orange); } /* !important: the parent prints its own colour in an inline <style> */
}
@media (max-width: 991px) {
	.site-header .site-navigation li.current-menu-item:not(.menu-cta) > a,
	.site-header .site-navigation li.current-menu-ancestor:not(.menu-cta) > a { color: var(--bcc-orange) !important; }
}

/* Logo: the SVG is wide, so cap the height and let width follow.
   !important is needed: the parent sets inline width/height and `max-height: inherit` with higher specificity. */
.site-header .site-logo img { height: auto !important; width: auto !important; max-height: 56px !important; }
@media (max-width: 991px) { .site-header .site-logo img { max-height: 38px !important; } }
/* Mobile search + menu buttons: brand navy instead of the parent's charcoal squares. */
.site-header .navbar-toggle,
.site-header .site-search-toggle button {
	background: var(--bcc-navy) !important;
	color: var(--bcc-white) !important;
	border-radius: var(--bcc-radius);
	min-width: 40px;
	min-height: 40px;
}
@media (max-width: 991px) {
	/* Both buttons are absolutely positioned at right:15px by the parent, which leaves room for 30px buttons.
	   Ours are 40px: push the search button left by 40px (its width) + 10px gap. */
	.site-header .site-search-toggle { margin-right: 50px; }
}

/* The "Get a Quote" menu item: add CSS class  menu-cta  to the item in Appearance > Menus */
.site-header .site-navigation li.menu-cta > a,
.site-header .site-navigation .menu > li.menu-cta > a {
	background: var(--bcc-orange);
	color: var(--bcc-navy) !important;
	font-family: var(--bcc-font-body);
	font-size: 1.0625rem;
	font-weight: 600;
	border-radius: var(--bcc-radius);
	padding: 12px 22px !important;
	line-height: 1.2 !important;
	height: auto !important;
	margin: 0 0 0 12px;
	transition: background .15s ease, transform .15s ease;
}
.site-header .site-navigation li.menu-cta > a:hover,
.site-header .site-navigation li.menu-cta > a:focus {
	background: var(--bcc-orange);
	filter: brightness(.93); /* darken without introducing a new colour */
	transform: translateY(-1px);
}

/* Sticky white header bar. The parent's own sticky script fights itself (it re-reads the header offset after the
   header turns fixed), so it stays off and the browser's position: sticky does the job. Shadow appears once scrolled. */
.site-wrapper { overflow: visible; overflow-x: clip; } /* parent: overflow hidden, which disables position: sticky */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 9000; background: var(--bcc-white); transition: box-shadow .2s ease; }
body.bcc-scrolled .site-header { box-shadow: 0 4px 22px rgba(10, 33, 56, .12); }

/* 5. BUTTONS: design-system §4.2. 56px tall, 2px radius, label + 44px arrow square on the right ---- */
.bcc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 56px;
	padding: 6px 6px 6px 22px;
	border: 2px solid transparent;
	border-radius: var(--bcc-radius);
	font-family: var(--bcc-font-body);
	font-weight: 600;
	font-size: 1.0625rem; /* 17px */
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.bcc-btn--plain { padding: 6px 24px; justify-content: center; }
.bcc-btn:hover { transform: translateY(-1px); }
.bcc-btn__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: var(--bcc-radius);
	transition: background .15s ease;
}
.bcc-btn__arrow .bcc-icon { width: 18px; height: 18px; transition: transform .15s ease; }
.bcc-btn:hover .bcc-btn__arrow .bcc-icon { transform: translateX(3px); }
.bcc-btn--primary { background: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-btn--primary .bcc-btn__arrow { background: var(--bcc-navy); color: var(--bcc-white); }
.bcc-btn--primary:hover, .bcc-btn--primary:focus { filter: brightness(.94); color: var(--bcc-navy); }
.bcc-btn--secondary { background: var(--bcc-blue); color: var(--bcc-white); }
.bcc-btn--secondary .bcc-btn__arrow { background: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-btn--secondary:hover, .bcc-btn--secondary:focus { background: var(--bcc-navy); color: var(--bcc-white); }
.bcc-btn--ghost { background: transparent; color: var(--bcc-navy); border-color: var(--bcc-navy); }
.bcc-btn--ghost .bcc-btn__arrow { background: var(--bcc-navy); color: var(--bcc-white); }
.bcc-btn--ghost:hover { background: var(--bcc-navy); color: var(--bcc-white); }
.bcc-btn--ghost:hover .bcc-btn__arrow { background: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-btn--light { background: transparent; color: var(--bcc-white); border-color: rgba(255, 255, 255, .7); }
.bcc-btn--light .bcc-btn__arrow { background: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-btn--light:hover { background: var(--bcc-white); color: var(--bcc-navy); }

/* Inline SVG icons (inc/icons.php) */
.bcc-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.22em; }

/* 6. STICKY MOBILE BAR ---------------------------------------------------- */
.bcc-sticky-cta { display: none; }
@media (max-width: 767px) {
	.bcc-sticky-cta {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9990;
		display: flex;
		gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: var(--bcc-navy);
		box-shadow: 0 -4px 18px rgba(0, 0, 0, .25);
	}
	.bcc-sticky-cta__btn {
		flex: 1 1 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		padding: 0 10px;
		border-radius: var(--bcc-radius);
		font-family: var(--bcc-font-head);
		font-weight: 700;
		font-size: .9rem;
		text-decoration: none !important;
		color: var(--bcc-white);
		background: rgba(255, 255, 255, .12);
	}
	.bcc-sticky-cta__btn--wa { background: var(--bcc-blue); color: var(--bcc-white); } /* brand palette only (CLAUDE.md §5): no WhatsApp green */
	.bcc-sticky-cta__btn--quote { flex: 1.6 1 0; background: var(--bcc-orange); color: var(--bcc-navy); }
	body.bcc-has-sticky-cta { padding-bottom: 72px; }
	body.bcc-has-sticky-cta .scrollup, body.bcc-has-sticky-cta #scrolltop { bottom: 84px; }
}

/* 7. FOOTER --------------------------------------------------------------- */
.bcc-footer { background: var(--bcc-navy); color: rgba(255, 255, 255, .82); padding: 0; }
.bcc-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.bcc-footer a:hover, .bcc-footer a:focus { color: var(--bcc-orange); }
.bcc-footer__top {
	display: grid;
	grid-template-columns: 1.3fr .8fr 1.5fr; /* company · quick links · contact */
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 48px;
}
.bcc-footer__top > * { min-width: 0; }
.bcc-footer__logo img { display: block; width: 220px; height: auto; margin-bottom: 18px; }
.bcc-footer__blurb { font-size: .92rem; line-height: 1.65; max-width: 40ch; margin: 0 0 18px; }
.bcc-footer__reg { font-size: .85rem; color: var(--bcc-slate-light); margin: 14px 0 0; }
.bcc-footer__contact, .bcc-footer__links, .bcc-footer__legal { list-style: none; margin: 0; padding: 0; }
.bcc-footer__contact li { margin: 0 0 8px; }
.bcc-footer__contact .bcc-icon { color: var(--bcc-orange); }
.bcc-footer__heading {
	font-family: var(--bcc-font-head);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bcc-white);
	margin: 0 0 16px;
}
.bcc-footer .bcc-footer__heading { color: var(--bcc-white); } /* beats the parent's .site-footer h4 grey */
.bcc-footer__links li { margin: 0 0 10px; font-size: .95rem; }
.bcc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .22); /* darker band over the navy footer, no new colour */ }
.bcc-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	justify-content: space-between;
	align-items: center;
	padding-top: 18px;
	padding-bottom: 18px;
	font-size: .85rem;
}
.bcc-footer__bottom p { margin: 0; }
.bcc-footer__credit { white-space: nowrap; }
.bcc-footer__credit::before { content: "·"; margin: 0 8px 0 4px; }
.bcc-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1199px) {
	.bcc-footer__top { grid-template-columns: 1fr 1.7fr; gap: 40px; padding-top: 48px; }
	.bcc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.bcc-footer__top { grid-template-columns: 1fr; gap: 32px; }
}
.bcc-footer__contact li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.bcc-footer__contact li a, .bcc-footer__contact li span { min-width: 0; overflow-wrap: anywhere; } /* safety net: never overflow */
.bcc-footer__contact { font-size: .95rem; }
@media (max-width: 575px) { .bcc-footer__contact { font-size: .875rem; } }
@media (max-width: 380px) { .bcc-footer__contact { font-size: .8125rem; } }
.bcc-footer__contact .bcc-icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .2em; }
.bcc-footer .bcc-footer__cta { margin-top: 20px; color: var(--bcc-navy); }
.bcc-footer .bcc-footer__cta:hover { color: var(--bcc-navy); }

/* 8. CONTENT COMPONENTS (used by upcoming templates) --------------------- */
.bcc-eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	font-family: var(--bcc-font-head);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--bcc-blue);
	padding-bottom: 4px;
	border-bottom: 2px solid var(--bcc-orange);
}
.bcc-hero .bcc-eyebrow, .bcc-band--navy .bcc-eyebrow { color: var(--bcc-orange); }
.bcc-section { padding: clamp(56px, 8vw, 120px) 0; }
.bcc-section--surface { background: var(--bcc-surface); }
.bcc-trust { font-size: .9rem; opacity: .9; margin-top: 14px; }

.bcc-band--navy { background: var(--bcc-navy); color: rgba(255, 255, 255, .9); }
.bcc-band--navy h2, .bcc-band--navy h3 { color: var(--bcc-white); }

.bcc-grid { display: grid; gap: 24px; }
.bcc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991px) { .bcc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bcc-grid--3, .bcc-grid--2 { grid-template-columns: 1fr; } }

.bcc-card {
	background: var(--bcc-white);
	border: 1px solid var(--bcc-gray-light);
	border-radius: var(--bcc-radius-card);
	padding: 28px;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.bcc-card:hover { box-shadow: var(--bcc-shadow); transform: translateY(-3px); border-color: transparent; }
.bcc-card h3 { margin-top: 0; }

.bcc-steps { counter-reset: bcc-step; display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; }
.bcc-steps li { counter-increment: bcc-step; }
.bcc-steps li::before {
	content: counter(bcc-step, decimal-leading-zero);
	display: block;
	font-family: var(--bcc-font-head);
	font-weight: 800;
	font-size: 2rem;
	color: var(--bcc-orange);
	margin-bottom: 8px;
}
@media (max-width: 991px) { .bcc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bcc-steps { grid-template-columns: 1fr; } }

.bcc-faq details { border-bottom: 1px solid var(--bcc-gray-light); padding: 18px 0; }
.bcc-faq summary {
	cursor: pointer;
	font-family: var(--bcc-font-head);
	font-weight: 700;
	color: var(--bcc-navy);
	list-style: none;
}
.bcc-faq summary::-webkit-details-marker { display: none; }
.bcc-faq summary::after { content: '+'; float: right; color: var(--bcc-blue); font-size: 1.4rem; line-height: 1; }
.bcc-faq details[open] summary::after { content: '\2212'; }
.bcc-faq details > *:not(summary) { margin-top: 12px; }

.bcc-cost-table { width: 100%; border-collapse: collapse; }
.bcc-cost-table th, .bcc-cost-table td { padding: 14px 16px; border-bottom: 1px solid var(--bcc-gray-light); text-align: left; }
.bcc-cost-table thead th { background: var(--bcc-navy); color: var(--bcc-white); font-family: var(--bcc-font-head); }
.bcc-note { font-size: .85rem; color: var(--bcc-slate-light); font-style: italic; }

/* 9. FORMS ---------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
	font-family: var(--bcc-font-body);
	font-size: 16px; /* 16px stops iOS zooming on focus */
	border-radius: var(--bcc-radius-input);
	min-height: 48px;
}

/* 10. UTILITIES ----------------------------------------------------------- */
.bcc-text-center { text-align: center; }
.bcc-mb-0 { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 11. DESIGN-SYSTEM COMPONENTS (inc/components.php) -------------------------------------
   Layout reference: Builza (docs/strategy/design-system.md §4), in our palette only. */

/* Bootstrap 3 clearfix pseudo-elements break grid/flex rows (see footer note above) */
.bcc-topbar__inner::before, .bcc-topbar__inner::after,
.bcc-hero__inner::before, .bcc-hero__inner::after,
.bcc-article::before, .bcc-article::after,
.bcc-cta-band__inner::before, .bcc-cta-band__inner::after { display: none !important; content: none !important; }

.bcc-photo { display: block; max-width: 100%; height: auto; }
.bcc-about__copy .bcc-ticks { margin-top: 20px; }
.bcc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header top bar: orange, navy text; static so it scrolls away while the white bar stays sticky */
.bcc-topbar { background: var(--bcc-orange); color: var(--bcc-navy); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.bcc-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; padding-top: 10px; padding-bottom: 10px; }
.bcc-topbar__list { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; margin: 0; padding: 0; }
.bcc-topbar li, .bcc-topbar__addr { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bcc-topbar .bcc-icon { width: 16px; height: 16px; }
.bcc-topbar a { color: var(--bcc-navy); text-decoration: none; }
.bcc-topbar a:hover, .bcc-topbar a:focus { color: var(--bcc-navy); text-decoration: underline; }
@media (max-width: 1099px) { .bcc-topbar__addr { display: none; } }
@media (max-width: 767px) { .bcc-topbar { display: none; } }

/* Section title: tag (blue + orange underline on light, orange on dark) then the H2 */
.bcc-title { margin: 0 0 40px; }
.bcc-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 780px; }
.bcc-title__heading { margin: 0; }
.bcc-title__intro { margin: 16px 0 0; max-width: 62ch; }
.bcc-title--center .bcc-title__intro { margin-left: auto; margin-right: auto; }
.bcc-title--dark .bcc-eyebrow { color: var(--bcc-orange); }
.bcc-title--dark .bcc-title__heading { color: var(--bcc-white); }
.bcc-title--dark .bcc-title__intro { color: rgba(255, 255, 255, .85); }

/* Hero */
.bcc-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(520px, 78vh, 720px); background: var(--bcc-navy); color: var(--bcc-white); overflow: hidden; }
.bcc-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.bcc-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bcc-navy) 0%, rgba(10, 33, 56, .92) 36%, rgba(10, 33, 56, .55) 66%, rgba(10, 33, 56, .12) 100%); }
@media (min-width: 992px) { .bcc-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--bcc-orange); z-index: 1; } }
@media (max-width: 767px) { .bcc-hero__shade { background: rgba(10, 33, 56, .84); } }
.bcc-hero__inner { padding-top: 72px; padding-bottom: 72px; margin-left: auto; margin-right: auto; }
.bcc-hero__copy { max-width: 700px; }
.bcc-hero__title { margin: 0 0 18px; font-size: clamp(2.25rem, 5.6vw, 4.375rem); line-height: 1.08; font-weight: 800; color: var(--bcc-white); }
.bcc-hl { color: var(--bcc-orange); }
.bcc-hero__sub { margin: 0 0 14px; font-family: var(--bcc-font-head); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.35; color: var(--bcc-white); }
.bcc-hero__body { margin: 0 0 30px; max-width: 58ch; font-size: 1.0625rem; color: rgba(255, 255, 255, .88); }
.bcc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bcc-hero__trust { margin: 22px 0 0; font-size: .9375rem; color: rgba(255, 255, 255, .8); }

/* Cards: shared grid + link */
.bcc-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--bcc-font-head); font-weight: 600; color: var(--bcc-blue); text-decoration: none; }
.bcc-more .bcc-icon { width: 16px; height: 16px; transition: transform .15s ease; }
.bcc-more:hover { color: var(--bcc-navy); text-decoration: underline; }
.bcc-more:hover .bcc-icon { transform: translateX(3px); }
.bcc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .bcc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bcc-grid--4 { grid-template-columns: 1fr; } }

/* Service card */
.bcc-service-card { display: flex; flex-direction: column; padding: 24px 22px 22px; }
.bcc-service-card__title { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.4; }
.bcc-service-card__title a { color: var(--bcc-navy); text-decoration: none; }
.bcc-service-card__title a:hover { color: var(--bcc-blue); }
.bcc-service-card p { margin: 0 0 14px; }
.bcc-service-card .bcc-more { margin-bottom: 18px; }
.bcc-service-card__media { position: relative; margin-top: auto; border-radius: 5px; overflow: hidden; aspect-ratio: 4 / 3; }
.bcc-service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bcc-service-card__badge { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 52px; height: 52px; background: var(--bcc-orange); color: var(--bcc-navy); border-radius: 0 0 5px 0; }
.bcc-service-card__badge .bcc-icon { width: 26px; height: 26px; }
.bcc-service-card__num { position: absolute; right: 0; bottom: 0; padding: 6px 14px; background: var(--bcc-navy); color: var(--bcc-white); font-family: var(--bcc-font-head); font-weight: 700; border-radius: 5px 0 0 0; }

/* Tick list (orange circle, navy tick) */
.bcc-ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.bcc-ticks li { position: relative; margin: 0 0 12px; padding-left: 34px; }
.bcc-ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--bcc-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2138' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bcc-ticks--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
@media (max-width: 575px) { .bcc-ticks--cols { grid-template-columns: 1fr; } }

/* Cost card */
.bcc-cost-card { display: flex; flex-direction: column; background: var(--bcc-white); border-radius: var(--bcc-radius-card); box-shadow: var(--bcc-shadow); padding: 0 0 28px; overflow: hidden; }
.bcc-cost-card__head { background: var(--bcc-surface); padding: 28px; margin-bottom: 24px; }
.bcc-cost-card__head p { margin: 0 0 8px; }
.bcc-cost-card__tag { display: inline-block; margin-bottom: 12px; font-family: var(--bcc-font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bcc-blue); }
.bcc-cost-card__price { font-family: var(--bcc-font-head); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; line-height: 1.3; color: var(--bcc-navy); }
.bcc-cost-card__basis { font-size: .9rem; color: var(--bcc-slate); }
.bcc-cost-card .bcc-ticks, .bcc-cost-card .bcc-btn { margin-left: 28px; margin-right: 28px; }
.bcc-cost-card .bcc-ticks { flex: 1; }
.bcc-cost-card .bcc-btn { align-self: flex-start; }
@media (min-width: 992px) { .bcc-cost-card--featured { margin-top: 24px; } }

/* Guide card */
.bcc-guide-card h3 { margin: 18px 0 8px; font-size: 1.5rem; line-height: 1.35; }
.bcc-guide-card h3 a { color: var(--bcc-navy); text-decoration: none; }
.bcc-guide-card h3 a:hover { color: var(--bcc-blue); }
.bcc-guide-card p { margin: 0 0 12px; }
.bcc-guide-card__media { position: relative; display: block; border-radius: var(--bcc-radius-card); overflow: hidden; aspect-ratio: 16 / 10; }
.bcc-guide-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bcc-guide-card:hover .bcc-guide-card__media img { transform: scale(1.04); }
.bcc-guide-card__tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; background: var(--bcc-orange); color: var(--bcc-navy); font-family: var(--bcc-font-head); font-size: .8rem; font-weight: 700; border-radius: var(--bcc-radius); }

/* Building-type card: image tile, navy shade, text bottom-left */
.bcc-type-card { position: relative; display: block; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--bcc-radius-card); overflow: hidden; color: var(--bcc-white); text-decoration: none !important; background: var(--bcc-navy); }
.bcc-type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.bcc-type-card:hover img { transform: scale(1.05); }
.bcc-type-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 33, 56, .05) 25%, rgba(10, 33, 56, .92) 100%); }
.bcc-type-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 22px 70px 22px 22px; }
.bcc-type-card__tag { display: block; margin-bottom: 6px; font-family: var(--bcc-font-head); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bcc-orange); }
.bcc-type-card__title { display: block; font-family: var(--bcc-font-head); font-size: 1.375rem; font-weight: 700; line-height: 1.25; color: var(--bcc-white); }
.bcc-type-card__text { display: block; margin-top: 8px; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.bcc-type-card__go { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--bcc-radius); background: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-type-card__go .bcc-icon { width: 18px; height: 18px; }
@media (max-width: 600px) { .bcc-type-card { aspect-ratio: 4 / 3; } }

/* Review card: navy, notched corner. Real Google reviews only, verbatim */
.bcc-review-card { position: relative; margin: 0; padding: 34px 30px 28px; background: var(--bcc-navy); color: rgba(255, 255, 255, .9); border-radius: 10px 60px 10px 10px; display: flex; flex-direction: column; }
.bcc-review-card__mark { color: var(--bcc-orange); }
.bcc-review-card__mark .bcc-icon { width: 34px; height: 34px; }
.bcc-review-card blockquote { margin: 14px 0 20px; padding: 0; border: 0; flex: 1; font-size: 1rem; font-style: normal; color: rgba(255, 255, 255, .92); }
.bcc-review-card blockquote p { margin: 0; color: inherit; }
.bcc-review-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.bcc-review-card figcaption strong { font-family: var(--bcc-font-head); font-size: 1.0625rem; color: var(--bcc-white); }
.bcc-review-card figcaption span { font-size: .875rem; color: var(--bcc-orange); }

/* About split */
.bcc-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.bcc-about__media { position: relative; padding: 0 0 36px 0; }
.bcc-about__media img { width: 100%; border-radius: var(--bcc-radius-card); }
.bcc-about__badge { position: absolute; right: -12px; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: var(--bcc-orange); color: var(--bcc-navy); border-radius: var(--bcc-radius-card); box-shadow: var(--bcc-shadow); }
.bcc-about__badge strong { font-family: var(--bcc-font-head); font-size: 2.75rem; font-weight: 800; line-height: 1; }
.bcc-about__badge span { max-width: 11ch; font-family: var(--bcc-font-head); font-size: .95rem; font-weight: 700; line-height: 1.25; }
@media (max-width: 991px) { .bcc-about { grid-template-columns: 1fr; } .bcc-about__badge { right: 12px; } }

/* Why choose us: photo + orange vertical bar beside a navy 2x2 panel */
.bcc-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--bcc-radius-card); overflow: hidden; }
.bcc-why__media { position: relative; min-height: 360px; }
.bcc-why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcc-why__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; display: flex; align-items: center; justify-content: center; background: var(--bcc-orange); color: var(--bcc-navy); font-family: var(--bcc-font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.bcc-why__panel { background: var(--bcc-navy); padding: clamp(28px, 4vw, 52px); color: rgba(255, 255, 255, .85); }
.bcc-why__title { margin: 0 0 12px; color: var(--bcc-white); font-size: clamp(1.625rem, 3vw, 2.5rem); }
.bcc-why__title .bcc-hl { color: var(--bcc-orange); }
.bcc-why__intro { margin: 0 0 28px; max-width: 54ch; }
.bcc-why__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcc-why__point { position: relative; padding: 26px 56px 26px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.bcc-why__point:nth-child(even) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.bcc-why__point h3 { margin: 12px 0 8px; font-size: 1.1875rem; color: var(--bcc-white); }
.bcc-why__point p { margin: 0; font-size: .95rem; }
.bcc-why__icon { color: var(--bcc-orange); }
.bcc-why__icon .bcc-icon { width: 34px; height: 34px; }
.bcc-why__num { position: absolute; right: 0; top: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bcc-orange); color: var(--bcc-orange); font-family: var(--bcc-font-head); font-size: .875rem; font-weight: 700; }
@media (max-width: 991px) {
	.bcc-why { grid-template-columns: 1fr; }
	.bcc-why__media { min-height: 340px; }
	.bcc-why__bar { right: 0; bottom: auto; width: auto; height: 44px; writing-mode: horizontal-tb; transform: none; font-size: 1rem; }
}
@media (max-width: 640px) {
	.bcc-why__points { grid-template-columns: 1fr; }
	.bcc-why__point:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Process steps 01-04 */
.bcc-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.bcc-process__step { position: relative; isolation: isolate; padding: 30px 26px; }
.bcc-process__step::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bcc-white); border-radius: var(--bcc-radius-card); }
.bcc-process__step::after { content: ''; position: absolute; inset: 10px -10px -10px 10px; z-index: -2; border: 2px solid var(--bcc-orange); border-radius: var(--bcc-radius-card); }
.bcc-process__num { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--bcc-orange); color: var(--bcc-navy); font-family: var(--bcc-font-head); font-weight: 800; font-size: 1.125rem; }
.bcc-process__step h3 { margin: 0 0 8px; font-size: 1.1875rem; }
.bcc-process__step p { margin: 0; }
@media (max-width: 1199px) { .bcc-process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .bcc-process { grid-template-columns: 1fr; } }

/* FAQ refinements (accordion itself is in section 8) */
.bcc-faq { max-width: 860px; }
.bcc-faq summary { padding-right: 36px; font-size: 1.0625rem; }
.bcc-faq summary:hover { color: var(--bcc-blue); }
.bcc-faq p { margin: 12px 0 0; }

/* CTA band */
.bcc-cta-band { background: var(--bcc-blue); border-top: 6px solid var(--bcc-orange); color: rgba(255, 255, 255, .88); padding: clamp(40px, 5vw, 64px) 0; }
.bcc-cta-band__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.bcc-cta-band h2 { margin: 0 0 8px; color: var(--bcc-white); font-size: clamp(1.5rem, 3vw, 2.25rem); }
.bcc-cta-band p { margin: 0; max-width: 56ch; }
.bcc-cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Related links */
.bcc-related { margin: 48px 0 0; padding: 28px; background: var(--bcc-white); border: 1px solid var(--bcc-gray-light); border-radius: var(--bcc-radius-card); }
.bcc-related__heading { margin: 0 0 14px; font-size: 1.25rem; }
.bcc-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; }
.bcc-related a { display: flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--bcc-blue); text-decoration: none; font-weight: 500; }
.bcc-related a .bcc-icon { width: 16px; height: 16px; color: var(--bcc-orange); }
.bcc-related a:hover { color: var(--bcc-navy); text-decoration: underline; }

/* Breadcrumbs (Rank Math) */
.bcc-breadcrumbs { margin: 0 0 18px; font-size: .875rem; color: var(--bcc-slate); }
.bcc-breadcrumbs a { color: var(--bcc-blue); text-decoration: none; }
.bcc-breadcrumbs a:hover { text-decoration: underline; }
.bcc-breadcrumbs .separator { margin: 0 6px; color: var(--bcc-slate-light); }
.bcc-breadcrumbs .last { color: var(--bcc-navy); }

/* Floating buttons: WhatsApp (tablet/desktop) + back to top. Phones use the sticky bar. */
.bcc-float-wa { display: none; }
@media (min-width: 768px) {
	.bcc-float-wa { position: fixed; left: 20px; bottom: 20px; z-index: 9980; display: grid; place-items: center; width: 56px; height: 56px; background: var(--bcc-orange); color: var(--bcc-navy); border-radius: var(--bcc-radius); box-shadow: 0 6px 20px rgba(10, 33, 56, .28); transition: filter .15s ease, transform .15s ease; }
	.bcc-float-wa:hover, .bcc-float-wa:focus { filter: brightness(.94); transform: translateY(-2px); color: var(--bcc-navy); }
	.bcc-float-wa .bcc-icon { width: 32px; height: 32px; }
}
#scrolltop a { border: 0; display: grid; place-items: center; width: 48px; height: 48px; background: var(--bcc-navy); color: var(--bcc-orange); border-radius: var(--bcc-radius); line-height: 1; }
#scrolltop a:hover { background: var(--bcc-blue); }

/* Motion: short fade-up for cards and sections (CSS only; content is visible without JavaScript) */
@media (prefers-reduced-motion: no-preference) {
	html.bcc-anim .bcc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
	html.bcc-anim .bcc-reveal.is-in { opacity: 1; transform: none; }
}

/* 12. PAGE TEMPLATES (inc/templates.php) ------------------------------------------------ */
.bcc-actions--center { justify-content: center; margin-top: 40px; }

/* Header band */
.bcc-pagehead { background: var(--bcc-navy); color: rgba(255, 255, 255, .9); padding: clamp(36px, 5vw, 64px) 0; border-bottom: 6px solid var(--bcc-orange); }
.bcc-pagehead .bcc-breadcrumbs { color: rgba(255, 255, 255, .8); margin-bottom: 14px; }
.bcc-pagehead .bcc-breadcrumbs a { color: var(--bcc-white); }
.bcc-pagehead .bcc-breadcrumbs .separator { color: var(--bcc-slate-light); }
.bcc-pagehead .bcc-breadcrumbs .last { color: var(--bcc-orange); }
.bcc-pagehead__title { margin: 0 0 12px; color: var(--bcc-white); font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; line-height: 1.12; max-width: 22ch; }
.bcc-pagehead__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.bcc-pagehead__meta .bcc-icon { width: 18px; height: 18px; color: var(--bcc-orange); }
.bcc-pagehead__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.bcc-page--quote .bcc-pagehead, .bcc-page--contact .bcc-pagehead, .bcc-page--thank-you .bcc-pagehead { padding: clamp(32px, 4vw, 52px) 0; }

/* Article layout: prose + side column */
.bcc-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.bcc-article--aside { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 991px) { .bcc-article--aside { grid-template-columns: minmax(0, 1fr); } }
.bcc-article-wrap { padding-top: clamp(40px, 5vw, 72px); }

.bcc-prose { max-width: 840px; font-size: 1.0625rem; }
.bcc-prose > * { margin-top: 0; }
.bcc-prose p, .bcc-prose ul, .bcc-prose ol { margin-bottom: 1.15em; }
.bcc-prose > p:first-of-type { font-size: 1.1875rem; line-height: 1.7; color: var(--bcc-navy); }
.bcc-prose h2 { margin: 2.2em 0 .6em; scroll-margin-top: 110px; font-size: clamp(1.625rem, 3vw, 2.25rem); }
.bcc-prose h3 { margin: 1.8em 0 .5em; font-size: clamp(1.25rem, 2.2vw, 1.5rem); scroll-margin-top: 110px; }
.bcc-prose > h2:first-child { margin-top: 0; }
.bcc-prose ul, .bcc-prose ol { padding-left: 1.3em; }
.bcc-prose li { margin-bottom: .45em; }
.bcc-prose li::marker { color: var(--bcc-orange); font-weight: 700; }
.bcc-prose a { color: var(--bcc-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bcc-orange); }
.bcc-prose a:hover { color: var(--bcc-navy); }
.bcc-prose figure { margin: 2em 0; }
.bcc-prose figure img { width: 100%; height: auto; border-radius: var(--bcc-radius-card); }
.bcc-prose figcaption { margin-top: 8px; font-size: .875rem; color: var(--bcc-slate); }
.bcc-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .975rem; }
.bcc-prose th, .bcc-prose td { padding: 12px 14px; border-bottom: 1px solid var(--bcc-gray-light); text-align: left; }
.bcc-prose thead th { background: var(--bcc-navy); color: var(--bcc-white); font-family: var(--bcc-font-head); }
.bcc-prose .wp-block-table { overflow-x: auto; }
@media (max-width: 575px) { .bcc-prose th, .bcc-prose td { padding: 10px 8px; font-size: .9rem; } }
.bcc-prose .bcc-faq { margin: 1em 0 0; }
.bcc-prose .bcc-steps, .bcc-prose .bcc-process { margin: 1.6em 0 2em; }
.bcc-prose .bcc-process { grid-template-columns: 1fr; gap: 22px; }
.bcc-prose .bcc-actions { margin-top: 2em; }

/* Summary boxes (cost range, key takeaways) */
.bcc-summary { margin: 0 0 2em; padding: 24px 26px; background: var(--bcc-surface); border-left: 6px solid var(--bcc-orange); border-radius: 0 var(--bcc-radius-card) var(--bcc-radius-card) 0; }
.bcc-summary__tag { display: block; margin-bottom: 8px; font-family: var(--bcc-font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bcc-blue); }
.bcc-summary__big { margin: 0 0 6px; font-family: var(--bcc-font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--bcc-navy); }
.bcc-summary p { margin: 0 0 6px; }
.bcc-summary .bcc-ticks { margin: 0; }

/* Side column */
.bcc-aside { display: grid; gap: 20px; position: sticky; top: 110px; }
@media (max-width: 991px) { .bcc-aside { position: static; } }
.bcc-aside__card { padding: 26px; background: var(--bcc-surface); border-radius: var(--bcc-radius-card); }
.bcc-aside__card h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; }
.bcc-aside__card p { margin: 0 0 16px; font-size: .975rem; }
.bcc-aside__card--quote { background: var(--bcc-navy); color: rgba(255, 255, 255, .88); }
.bcc-aside__card--quote h2 { color: var(--bcc-white); }
.bcc-aside__card--quote a:not(.bcc-btn) { color: var(--bcc-white); }
.bcc-aside__call { display: flex; align-items: center; gap: 8px; margin: 16px 0 0 !important; font-weight: 600; }
.bcc-aside__call .bcc-icon { color: var(--bcc-orange); }
.bcc-aside__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.bcc-aside__toc li { counter-increment: toc; margin: 0 0 8px; font-size: .9375rem; line-height: 1.4; }
.bcc-aside__toc li::before { content: counter(toc) '.'; display: inline-block; width: 1.6em; font-weight: 700; color: var(--bcc-blue); }
.bcc-aside__toc a { color: var(--bcc-navy); text-decoration: none; }
.bcc-aside__toc a:hover { color: var(--bcc-blue); text-decoration: underline; }
.bcc-aside__next { margin: 0; padding-left: 1.3em; font-size: .975rem; }
.bcc-aside__next li { margin-bottom: 8px; }

/* Contact list */
.bcc-contact-list { list-style: none; margin: 0; padding: 0; }
.bcc-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; min-width: 0; overflow-wrap: anywhere; }
.bcc-contact-list .bcc-icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .2em; color: var(--bcc-orange); }
.bcc-aside__card:not(.bcc-aside__card--quote) .bcc-contact-list .bcc-icon { color: var(--bcc-blue); }
.bcc-contact-list__map { display: inline-block; margin-left: 6px; font-size: .875rem; text-decoration: underline; }

/* Hub grid inside prose */
.bcc-hub-grid { margin-top: 2em; }
.bcc-hub-grid .bcc-service-card h3 { margin-top: 0; }
/* Article/hub cards: the photo sits on top, edge to edge, and the text below it. */
.bcc-hub-grid .bcc-service-card { overflow: hidden; padding-top: 0; }
.bcc-hub-grid .bcc-service-card__media { order: -1; margin: 0 -22px 20px; border-radius: 0; aspect-ratio: 16 / 10; }
@media (max-width: 767px) { .bcc-hub-grid { grid-template-columns: 1fr; } }

/* 13. In-content shortcodes ------------------------------------------------------------------- */
.bcc-cta-box { margin: 40px 0; padding: 32px; background: var(--bcc-navy); color: var(--bcc-white); border-radius: var(--bcc-radius-card); }
.bcc-cta-box h2 { margin: 0 0 8px; color: var(--bcc-white); font-size: 28px; }
.bcc-cta-box p { margin: 0 0 20px; color: var(--bcc-gray-light); }
.bcc-cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bcc-cta-box .bcc-btn--ghost { color: var(--bcc-white); border-color: var(--bcc-slate-light); }
.bcc-service-grid, .bcc-reviews { margin: 32px 0; }

/* 14. Dropdown menus --------------------------------------------------------------------------- */
@media (min-width: 992px) {
	.site-header .site-navigation ul ul { min-width: 300px; border-radius: 0 0 var(--bcc-radius-card) var(--bcc-radius-card); padding: 8px 0; }
	.site-header .site-navigation ul ul li a { color: var(--bcc-navy); text-transform: none; font-size: 16px; font-weight: 500; line-height: 1.4; padding: 10px 20px; white-space: normal; border-left: 3px solid transparent; }
	.site-header .site-navigation ul ul li a:hover,
	.site-header .site-navigation ul ul li.current-menu-item > a { color: var(--bcc-blue) !important; background: var(--bcc-surface); border-left-color: var(--bcc-orange); box-shadow: none; }
}

.bcc-pillar-note { margin: 0 0 24px; padding: 10px 16px; background: var(--bcc-surface); border-left: 3px solid var(--bcc-orange); font-size: 15px; color: var(--bcc-slate); }
.bcc-pillar-note a { color: var(--bcc-blue); font-weight: 600; }

/* 15. Forms (Fluent Forms) and the quote-form steps ---------------------------------------------- */
.fluentform { max-width: 720px; }
.fluentform .ff-el-group { margin-bottom: 20px; }
.fluentform .ff-el-input--label label { font-family: var(--bcc-font-body, 'Public Sans', sans-serif); font-weight: 600; color: var(--bcc-navy); margin-bottom: 6px; display: block; }
.fluentform .ff-el-form-control {
	width: 100%; min-height: 52px; padding: 12px 16px; background: var(--bcc-white); color: var(--bcc-navy);
	border: 1px solid var(--bcc-gray-light); border-radius: 2px; font: inherit; box-shadow: none;
}
.fluentform textarea.ff-el-form-control { min-height: 120px; }
.fluentform .ff-el-form-control:focus { border-color: var(--bcc-blue); outline: 2px solid var(--bcc-blue); outline-offset: 0; }
.fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--bcc-navy); border-width: 2px; }
.fluentform .error.text-danger, .fluentform .bcc-error { color: var(--bcc-navy); font-weight: 600; font-size: 14px; margin-top: 6px; }
.fluentform .error.text-danger::before, .fluentform .bcc-error::before { content: "! "; color: var(--bcc-orange); background: var(--bcc-navy); padding: 0 6px; border-radius: 2px; margin-right: 6px; }
.fluentform .bcc-form-note { font-size: 14px; color: var(--bcc-slate); margin: 0 0 16px; }
.fluentform .ff_submit_btn_wrapper .ff-btn-submit,
.bcc-step-nav .bcc-step-btn {
	min-height: 56px; padding: 0 32px; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
	font-family: var(--bcc-font-body, 'Public Sans', sans-serif); font-weight: 700; font-size: 16px;
	background: var(--bcc-orange); color: var(--bcc-navy);
}
.fluentform .ff_submit_btn_wrapper .ff-btn-submit:hover, .bcc-step-nav .bcc-step-btn:hover { filter: brightness(.94); }
.bcc-step-nav .bcc-step-btn--back { background: transparent; border-color: var(--bcc-navy); color: var(--bcc-navy); }
.bcc-step-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.bcc-formsteps { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: bccstep; }
.bcc-formsteps li { flex: 1; counter-increment: bccstep; font-size: 14px; font-weight: 600; color: var(--bcc-slate); padding-top: 12px; border-top: 4px solid var(--bcc-gray-light); }
.bcc-formsteps li::before { content: counter(bccstep) ". "; }
.bcc-formsteps li.is-done, .bcc-formsteps li.is-current { border-top-color: var(--bcc-orange); color: var(--bcc-navy); }
.bcc-step-panel[hidden] { display: none; }
@media (max-width: 480px) { .bcc-formsteps li { font-size: 12px; } .bcc-step-nav .bcc-step-btn { flex: 1; padding: 0 16px; } }
.fluentform .ff-el-input--label.asterisk-right label::after { color: var(--bcc-navy) !important; }
.fluentform .ff_submit_btn_wrapper .ff-btn-submit, .bcc-step-nav .bcc-step-btn { height: 56px; line-height: 1; }
.navbar .menu-cta.current-menu-item > a, .navbar .menu-cta > a { color: var(--bcc-navy) !important; }

/* ==========================================================================
   16. Projects (case studies)
   ========================================================================== */
.bcc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.bcc-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--bcc-gray-light); border-radius: 2px; color: var(--bcc-navy); background: var(--bcc-white); font-weight: 600; text-decoration: none; }
.bcc-chips a:hover { border-color: var(--bcc-blue); color: var(--bcc-blue); }
.bcc-chips a[aria-current="page"] { background: var(--bcc-navy); border-color: var(--bcc-navy); color: var(--bcc-white); }
.bcc-prose--wide { max-width: 760px; margin-bottom: 28px; }
.bcc-pcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bcc-pcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bcc-surface); }
.bcc-pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bcc-pcard:hover .bcc-pcard__media img { transform: scale(1.04); }
.bcc-pcard__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcc-pcard__tag { margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bcc-blue); }
.bcc-pcard__title { margin: 0; font-size: 1.25rem; }
.bcc-pcard__title a { color: var(--bcc-navy); text-decoration: none; }
.bcc-pcard__body p { margin: 0; }
.bcc-pcard .bcc-more { margin-top: auto; }
.bcc-project-lead { font-size: 1.1875rem; line-height: 1.7; color: var(--bcc-navy); }
.bcc-pgallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 32px; }
@media (max-width: 600px) { .bcc-pgallery { grid-template-columns: 1fr; } }
.bcc-pfig { margin: 0; }
.bcc-pfig img { width: 100%; height: auto; display: block; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.bcc-pfig figcaption { margin-top: 8px; font-size: .9375rem; color: var(--bcc-slate); }
.bcc-pfig--render img { outline: 3px solid var(--bcc-orange); outline-offset: -3px; }
.bcc-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.bcc-facts dt { font-weight: 700; color: var(--bcc-navy); }
.bcc-facts dd { margin: 0; color: var(--bcc-slate); }

/* ==========================================================================
   17. Author byline and box
   ========================================================================== */
.bcc-byline { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(253, 253, 253, .35); }
.bcc-author { display: flex; gap: 20px; align-items: center; margin: 40px 0; padding: 24px; background: var(--bcc-surface); border-radius: 10px; border-left: 4px solid var(--bcc-orange); }
.bcc-author__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.bcc-author p { margin: 0; }
.bcc-author__label { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bcc-blue); }
.bcc-author__name { font-family: "Exo", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--bcc-navy); }
.bcc-author__bio { margin-top: 6px; color: var(--bcc-slate); }
@media (max-width: 600px) { .bcc-author { flex-direction: column; align-items: flex-start; } .bcc-byline { display: block; margin: 6px 0 0; padding: 0; border: 0; } }
.bcc-byline strong { color: var(--bcc-white); font-weight: 600; }
.bcc-author__name a, .bcc-byline a { color: inherit; text-decoration: none; }
.bcc-author__name a:hover { color: var(--bcc-blue); }
.bcc-author__bio a { color: var(--bcc-blue); text-decoration: underline; text-decoration-color: var(--bcc-orange); text-underline-offset: 3px; }
.bcc-byline a:hover strong { text-decoration: underline; text-decoration-color: var(--bcc-orange); text-underline-offset: 4px; }
.bcc-author-card { padding: 0; overflow: hidden; }
.bcc-author-card__photo { display: block; width: 100%; height: auto; }

/* Menu: dropdown panel in the brand white; the current item in blue (the parent theme uses an off-palette orange). */
.site-header .site-navigation ul.sub-menu { background-color: var(--bcc-white); }
.site-header .site-navigation .current-menu-item > a,
.site-header .site-navigation .current-menu-ancestor > a,
.site-header .site-navigation .current-post-ancestor > a,
.site-header .site-navigation .sub-menu .current-menu-item > a { color: var(--bcc-blue); }
.site-header .site-navigation li.menu-cta.current-menu-item > a { color: var(--bcc-navy); }
html body .site-header .site-navigation li.current-menu-item > a,
html body .site-header .site-navigation li.current-menu-ancestor > a,
html body .site-header .site-navigation li.current-post-ancestor > a,
html body .site-header .site-navigation .sub-menu li.current-menu-item > a { color: var(--bcc-blue) !important; }
html body .site-header .site-navigation li.menu-cta > a { color: var(--bcc-navy) !important; }
.fluentform select.ff-el-form-control, .fluentform .ff-el-form-control { border-color: var(--bcc-gray-light); }
html body li.menu-cta > a, html body li.menu-cta.current-menu-item > a { color: var(--bcc-navy) !important; }
.bcc-prose strong, .bcc-prose b { color: var(--bcc-navy); }
/* Beats the parent's inline `.site-navigation .current-menu-item > a:not(:focus):not(:hover) { color: #d54900 !important }` for the CTA item. */
.site-header .site-navigation li.menu-cta.current-menu-item > a:not(:focus):not(:hover) { color: var(--bcc-navy) !important; }
@media (max-width: 400px) {
	.bcc-sticky-cta__btn { white-space: nowrap; gap: 6px; font-size: .85rem; padding: 0 8px; }
	.bcc-sticky-cta__btn--quote svg { display: none; }
}
/* A closed dropdown is still 16 px of padding with a shadow in the parent theme: it showed as white tabs under the bar. */
@media (min-width: 992px) {
	.site-header .site-navigation li:not(:hover):not(:focus-within) > ul.sub-menu { visibility: hidden; box-shadow: none; padding: 0; border: 0; }
}
