/*
Theme Name: Clunker Busters
Theme URI: https://clunkerbusters.com
Author: TheCodeWork
Description: Custom theme for Clunker Busters - professional vehicle inspections.
Version: 1.26.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clunker-busters
*/

/* ---------------------------------------------------------------------------
 * Design tokens
 * ------------------------------------------------------------------------ */
:root {
	/* Brand */
	--cb-teal: #159e8c;        /* accent surfaces & large UI only (3.3:1 on white) */
	--cb-teal-dark: #0f7d6f;   /* AA text-safe teal - links, buttons, eyebrows */
	--cb-teal-deep: #0c6359;   /* hover state of teal-dark */
	--cb-teal-light: #6ee7dc;
	--cb-blue: #305e8c;
	--cb-blue-dark: #244a70;
	--cb-blue-deep: #1d3c63;
	--cb-navy: #1c2f4d;
	--cb-blue-mid: #2c578f;
	--cb-blue-bright: #4477bd;
	--cb-blue-muted: #5377a3;
	--cb-blue-soft: #7eb3ff;
	--cb-sage: #58a399;
	--cb-plum: #4c4368;

	/* Cream scale */
	--cb-cream-50: #fdf7ee;
	--cb-cream-100: #faf5ee;
	--cb-cream-200: #f8ead8;
	--cb-cream-300: #f5e8d7;
	--cb-cream: var(--cb-cream-300);
	--cb-off-white: #fffcfa;
	--cb-surface-gray: #f1f1f1;

	/* Ink scale */
	--cb-dark: #1a1a1a;
	--cb-ink: #1f2733;
	--cb-ink-soft: #2b3340;
	--cb-ink-muted: #3a4352;
	--cb-gray: #555f6d;
	--cb-gray-soft: #6b7480;   /* smallest AA-safe gray on white */
	--cb-border: #e9e9e9;

	/* Type */
	--cb-font-heading: "Montserrat", sans-serif;
	--cb-font-body: "Mulish", sans-serif;
	--cb-text-display: clamp(2.6rem, 5vw, 3.8rem);
	--cb-text-h1: clamp(2.2rem, 4vw, 3.2rem);
	--cb-text-h2: clamp(2rem, 4vw, 3rem);
	--cb-text-h3: clamp(1.4rem, 2.4vw, 1.8rem);
	--cb-text-sm: 0.95rem;

	/* Radii */
	--cb-radius-sm: 8px;
	--cb-radius: 12px;
	--cb-radius-lg: 18px;
	--cb-radius-xl: 24px;

	/* Shadows */
	--cb-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.12);
	--cb-shadow: 0 8px 24px rgba(48, 94, 140, 0.1);
	--cb-shadow-hover: 0 14px 32px rgba(48, 94, 140, 0.16);
	--cb-shadow-lg: 0 20px 50px rgba(48, 94, 140, 0.08);
	--cb-shadow-pop: 0 16px 40px rgba(0, 0, 0, 0.18);

	/* Layout & motion */
	--cb-container: 1200px;
	--cb-gutter: 1.5rem;
	--cb-section-pad: clamp(3.5rem, 8vw, 6.5rem);
	--cb-transition: 0.2s ease;

	/* Curved band transitions between sections */
	--cb-band-radius: clamp(28px, 6vw, 56px);
	--cb-band-overlap: 3rem;
}

/* Roomier side gutters from tablets up */
@media (min-width: 600px) {
	:root {
		--cb-gutter: 2rem;
	}
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Scroll reveal - classes are added at runtime by scroll-reveal.js, so
   content stays fully visible without JS or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.cb-reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.55s ease var(--cb-reveal-delay, 0ms),
			transform 0.55s ease var(--cb-reveal-delay, 0ms);
	}

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

@media (prefers-reduced-motion: reduce) {
	.is-enhanced .cb-type-slide {
		transition: none;
	}
}

body {
	font-family: var(--cb-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--cb-dark);
	background: var(--cb-off-white);
	overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	line-height: 1.25;
	color: var(--cb-blue);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--cb-teal-dark);
	text-decoration: none;
}

a:hover {
	color: var(--cb-teal-deep);
}

/* Visible keyboard focus everywhere; white ring on dark surfaces */
:focus-visible {
	outline: 2px solid var(--cb-teal-dark);
	outline-offset: 2px;
}

.site-header :focus-visible,
.cb-hero :focus-visible,
.cb-expert :focus-visible,
.cb-corporate :focus-visible,
.cb-app-banner :focus-visible {
	outline-color: #fff;
}

.skip-link:focus {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 200;
	width: auto;
	height: auto;
	clip-path: none;
	padding: 0.75em 1.5em;
	background: var(--cb-blue);
	color: #fff;
	border-radius: var(--cb-radius-sm);
	font-family: var(--cb-font-heading);
	font-weight: 600;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-container {
	max-width: var(--cb-container);
	margin: 0 auto;
	padding: 0 var(--cb-gutter);
}

/* Safety net: contain any decorative horizontal spill (e.g. the map's
   overflow-visible pulse rings) without affecting the sticky header. */
.site-main,
.site-footer {
	overflow-x: clip;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------ */
.cb-button,
.wp-block-button__link {
	display: inline-block;
	padding: 0.8em 1.8em;
	background: var(--cb-teal-dark);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 1rem;
	border: 2px solid var(--cb-teal-dark);
	border-radius: var(--cb-radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: background var(--cb-transition), color var(--cb-transition), transform var(--cb-transition), box-shadow var(--cb-transition);
}

/* One hover language for all CTAs: slight lift + shadow */
.cb-button:hover,
.wp-block-button__link:hover {
	background: var(--cb-teal-deep);
	border-color: var(--cb-teal-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--cb-shadow-hover);
}

.cb-button--outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--cb-teal-dark);
}

.cb-button--outline:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--cb-teal-dark);
	color: #fff;
}

.cb-button--blue {
	background: var(--cb-blue);
	border-color: var(--cb-blue);
}

.cb-button--blue:hover {
	background: var(--cb-blue-dark);
	border-color: var(--cb-blue-dark);
}

.cb-button--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.cb-button--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--cb-blue);
}

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--cb-blue);
}

.site-header .site-container {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 68px;
	max-width: 1480px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.site-logo img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: contain;
	background: #fff;
	padding: 2px;
}

.site-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.site-logo-name {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	color: #fff;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-logo-name sup {
	font-size: 0.6em;
}

.site-logo-tagline {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	color: var(--cb-teal-light);
	text-transform: uppercase;
	white-space: nowrap;
}

.site-logo:hover .site-logo-name { color: var(--cb-teal-light); }

/* Logo left, nav centered, buttons right */
.site-nav {
	margin-left: auto;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	list-style: none;
}

.site-nav a {
	font-family: var(--cb-font-heading);
	font-weight: 500;
	font-size: var(--cb-text-sm);
	color: rgba(255, 255, 255, 0.9);
	white-space: nowrap;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
	color: var(--cb-teal-light);
}

.site-nav .current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* Dropdown panel (e.g. Inspections) */
.site-nav li {
	position: relative;
}

/* Chevron on items that open a dropdown */
.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 0.45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform var(--cb-transition);
}

.site-nav .menu-item-has-children:hover > a::after,
.site-nav .menu-item-has-children:focus-within > a::after {
	transform: translateY(1px) rotate(225deg);
}

.site-nav .sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: 360px;
	padding: 0 0 0.75rem;
	background: #fff;
	border-radius: var(--cb-radius);
	box-shadow: var(--cb-shadow-pop);
	list-style: none;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(10px);
	transition: opacity var(--cb-transition), transform var(--cb-transition), visibility 0.2s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.site-nav .sub-menu-label {
	padding: 1rem 1.5rem;
	margin-bottom: 0.35rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-gray-soft);
	border-bottom: 1px solid var(--cb-border);
}

.site-nav .sub-menu a {
	display: block;
	padding: 0.85rem 1.5rem;
	transition: background var(--cb-transition);
}

.site-nav .menu-item-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.25rem;
}

.site-nav .menu-item-title {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 1.02rem;
	line-height: 1.35;
	color: var(--cb-ink);
}

.site-nav .menu-item-tag {
	flex-shrink: 0;
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--cb-gray-soft);
	text-align: right;
	white-space: nowrap;
}

/* The price in the dropdown, from the same source as every other price. */
.site-nav .menu-item-price {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	color: var(--cb-teal-dark);
}

.site-nav .menu-item-dot { color: var(--cb-border); }

.site-nav .sub-menu a:hover .menu-item-price,
.site-nav .sub-menu a:focus .menu-item-price { color: #fff; }

.site-nav .sub-menu a:hover .menu-item-dot,
.site-nav .sub-menu a:focus .menu-item-dot { color: rgba(255, 255, 255, 0.5); }

.site-nav .menu-item-description {
	display: block;
	font-family: var(--cb-font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--cb-gray-soft);
	margin-top: 0.3rem;
}

/* Full-bleed teal hover row, all text white */
.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus {
	background: var(--cb-teal-dark);
}

.site-nav .sub-menu a:hover .menu-item-title,
.site-nav .sub-menu a:hover .menu-item-tag,
.site-nav .sub-menu a:hover .menu-item-description,
.site-nav .sub-menu a:focus .menu-item-title,
.site-nav .sub-menu a:focus .menu-item-tag,
.site-nav .sub-menu a:focus .menu-item-description {
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-left: auto;
	flex-shrink: 0;
}

.header-actions .cb-button {
	padding: 0.6em 1.4em;
	font-size: var(--cb-text-sm);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	margin-left: auto;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
	transition: transform var(--cb-transition), opacity var(--cb-transition);
}

@media (max-width: 1100px) {
	.menu-toggle { display: block; }

	/* [logo] ......... [Order Inspection] [Login] [toggle].
	   Without this the toggle keeps its own margin-left:auto and shares the
	   free space with .header-actions, which parks it in the middle of the
	   header. One auto margin does the pushing; order puts the toggle last. */
	.header-actions { order: 2; }

	.menu-toggle {
		order: 3;
		margin-left: 0.35rem;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--cb-border);
		box-shadow: var(--cb-shadow);
		padding: 1rem var(--cb-gutter) 1.5rem;
		/* The panel can be taller than the viewport (Inspections megamenu
		   renders inline), so it must scroll within itself. JS (navigation.js)
		   sets an exact max-height on open; this is the pre-JS fallback and
		   accounts for the ~40px topbar above the 60px sticky header. */
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.site-nav.is-open { display: block; }

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav a {
		display: block;
		padding: 0.75rem 0;
		border-bottom: 1px solid var(--cb-border);
		color: var(--cb-dark);
	}

	.site-nav a:hover {
		color: var(--cb-teal);
	}

	/* Dropdowns render inline on mobile */
	.site-nav .sub-menu,
	.site-nav li:hover > .sub-menu,
	.site-nav li:focus-within > .sub-menu {
		transform: none;
	}

	.site-nav .sub-menu {
		position: static;
		transform: none;
		min-width: 0;
		padding: 0 0 0 1rem;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.site-nav .sub-menu-label {
		display: none;
	}

	.site-nav .menu-item-has-children > a::after {
		display: none;
	}
}

@media (max-width: 600px) {
	/* Mobile header: logo mark only + clear "Order Inspection" CTA + toggle */
	.site-header .site-container {
		gap: 0.6rem;
		min-height: 60px;
	}

	.site-logo { min-width: 0; }
	.site-logo img { width: 54px; height: 54px; }
	.site-logo-text { display: none; }

	/* Order: [logo] … [Order Inspection] [☰] */
	.header-actions {
		order: 2;
		gap: 0.5rem;
		margin-left: auto;
	}

	.menu-toggle {
		order: 3;
		margin-left: 0.1rem;
		padding: 0.4rem;
	}

	.header-actions .cb-button { padding: .55rem .7rem; font-size: .82rem; white-space: nowrap; }

	.is-open + .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.is-open + .menu-toggle span:nth-child(2) { opacity: 0; }
	.is-open + .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------------------------------------------------------------------------
 * Sections & cards (used by block patterns)
 * ------------------------------------------------------------------------ */
.cb-section {
	padding: var(--cb-section-pad) 0;
}

.cb-hero {
	background: linear-gradient(135deg, var(--cb-teal) 0%, var(--cb-blue) 100%);
	color: #fff;
}

.cb-hero h1,
.cb-hero h2,
.cb-hero p {
	color: #fff;
}

.cb-hero .wp-block-button__link {
	background: #fff;
	color: var(--cb-blue);
	border-color: #fff;
}

.cb-hero .wp-block-button__link:hover {
	background: var(--cb-cream);
	border-color: var(--cb-cream);
}

.cb-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: #fff;
}

/* Homepage hero: flat blue, two columns */
.cb-hero--home {
	background: var(--cb-blue);
}

.cb-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.55em 1.4em;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
}

.cb-hero-title {
	font-size: var(--cb-text-display);
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.1;
	margin-top: 1.25rem;
}

.cb-hero-subtitle {
	font-family: var(--cb-font-body);
	font-weight: 300;
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	line-height: 1.2;
	margin-top: 0.25rem;
}

.cb-hero-lead {
	max-width: 34rem;
	margin-top: 1.5rem;
	color: rgba(255, 255, 255, 0.88);
}

/* Split CTA: teal label + arrow inside a white pill */
.cb-cta-split {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 1.75rem;
	padding: 4px;
	background: #fff;
	border-radius: var(--cb-radius);
	box-shadow: var(--cb-shadow-sm);
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-cta-split:hover {
	transform: translateY(-2px);
	box-shadow: var(--cb-shadow-pop);
}

.cb-cta-split-label {
	padding: 0.65em 1.5em;
	background: var(--cb-teal-dark);
	color: #fff;
	border-radius: var(--cb-radius-sm);
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 1rem;
}

.cb-cta-split-arrow {
	padding: 0 0.9rem;
	color: var(--cb-dark);
	font-size: 1.3rem;
	line-height: 1;
}

.cb-hero-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow-pop);
}

/* Click-to-play video facade (replaced by the real iframe on demand) */
.cb-video-facade {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: var(--cb-radius-lg);
	overflow: hidden;
	box-shadow: var(--cb-shadow-pop);
}

.cb-video-facade img {
	width: 100%;
	height: auto;
	display: block;
}

.cb-video-facade-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	transition: transform var(--cb-transition);
}

.cb-video-facade-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 53%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent var(--cb-blue);
}

.cb-video-facade:hover .cb-video-facade-play {
	transform: translate(-50%, -50%) scale(1.08);
}

/* Call-us strip */
.cb-call-strip {
	background: #f0f4f8;
	padding: 2.75rem 0;
	text-align: center;
}

.cb-call-eyebrow {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-blue);
}

.cb-call-row {
	margin: 0.9rem 0 0.6rem;
}

.cb-call-number {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: var(--cb-text-h1);
	line-height: 1;
	color: var(--cb-blue);
}

.cb-call-number:hover {
	color: var(--cb-blue-dark);
}

.cb-call-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.1em;
	height: 1.1em;
	border-radius: 50%;
	background: var(--cb-blue);
	color: #fff;
	box-shadow: 0 6px 16px rgba(48, 94, 140, 0.3);
}

.cb-call-icon svg {
	width: 0.5em;
	height: 0.5em;
}

.cb-call-note {
	color: var(--cb-gray);
	font-size: var(--cb-text-sm);
}

/* Feature cards strip (continues the light band) */
.cb-feature-strip {
	background: #f0f4f8;
	padding-top: 0;
}

.cb-feature-card {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	padding: 1.75rem;
	height: 100%;
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-hover);
}

.cb-card-stat {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
	margin-bottom: 0.9rem;
}

.cb-feature-card h3 {
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-bottom: 0.6rem;
}

.cb-feature-card p {
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

/* App promo banner */
.cb-app-banner {
	background:
		radial-gradient(ellipse at 80% 10%, rgba(48, 94, 140, 0.5) 0%, transparent 55%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 64px),
		var(--cb-navy);
	border-radius: var(--cb-radius-xl);
	padding: clamp(2rem, 5vw, 3.5rem);
	color: #fff;
}

.cb-app-kicker {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cb-teal-light);
}

.cb-app-banner h2,
.cb-app-banner p,
.cb-app-banner li {
	color: #fff;
}

.cb-pill {
	display: inline-block;
	padding: 0.35em 1.1em;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cb-app-title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin-top: 1rem;
}

.cb-app-lead {
	margin-top: 1rem;
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.92);
}

.cb-app-points {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem;
	margin-top: 1.5rem;
	list-style: none;
	padding: 0;
}

.cb-app-points li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: var(--cb-text-sm);
}

.cb-app-points li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-sage);
	flex-shrink: 0;
}

/* Custom store buttons */
.cb-store-buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1rem;
}

.cb-store-btn {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-width: 230px;
	padding: 0.8rem 1.5rem;
	background: #0d1b2e;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--cb-radius);
	color: #fff;
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-store-btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--cb-shadow-pop);
}

.cb-store-btn svg {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.cb-store-btn-text small {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.6rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.cb-store-btn-text strong {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 781px) {
	.cb-store-buttons {
		align-items: flex-start;
	}
}

/* Inspections landing - photo-top card grid */
.cb-itypes {
	background: #fff;
}

.cb-itypes-title {
	font-size: var(--cb-text-h2);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-top: 0.75rem;
}

.cb-itype-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.cb-itype-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--cb-shadow);
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-itype-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-hover);
	color: inherit;
}

.cb-itype-media {
	margin: 0;
}

.cb-itype-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.cb-itype-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.cb-itype-tag {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-itype-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--cb-navy);
	margin: 0.5rem 0 0.4rem;
}

.cb-itype-desc {
	color: var(--cb-ink-muted);
	font-size: var(--cb-text-sm);
	margin-bottom: 1rem;
}

/* Price + checkpoint line on the Inspections grid cards */
.cb-itype-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.9rem;
	margin: -0.35rem 0 1rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--cb-navy);
}

.cb-itype-meta span + span {
	font-weight: 600;
	color: var(--cb-gray-soft);
}

.cb-itype-link {
	margin-top: auto;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--cb-teal-dark);
}

.cb-itype-link span {
	display: inline-block;
	transition: transform var(--cb-transition);
}

.cb-itype-card:hover .cb-itype-link span {
	transform: translateX(4px);
}

/* Detail-page hero photo */
.cb-itype-hero {
	margin: 0 0 1.75rem;
}

.cb-itype-hero img {
	width: 100%;
	aspect-ratio: 21 / 9;
	max-height: 360px;
	object-fit: cover;
	border-radius: var(--cb-radius-lg);
	display: block;
}

@media (max-width: 960px) {
	.cb-itype-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.cb-itype-grid {
		grid-template-columns: 1fr;
	}
}

/* Inspection types carousel */
.cb-types {
	background: #fff;
	padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.cb-types-title {
	font-size: var(--cb-text-h2);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-top: 0.75rem;
}

.cb-types-sub {
	max-width: 36rem;
	margin-top: 0.6rem;
	color: var(--cb-ink-muted);
	font-size: 1.02rem;
	line-height: 1.6;
}

.cb-types-heading,
.cb-mixed-heading {
	font-weight: 300;
	font-size: var(--cb-text-h2);
}

.cb-types-heading strong,
.cb-mixed-heading strong {
	font-weight: 800;
}

.cb-section-intro {
	max-width: 640px;
	margin: 0.75rem auto 0;
}

.cb-types-carousel {
	position: relative;
	margin-top: 1.25rem;
	/* Breakout: slightly wider than the section's 1280px content column */
	max-width: min(1420px, 100%);
}

.cb-type-slide {
	background: #eef2f6;
	border-radius: var(--cb-radius-xl);
	padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: 1.5rem;
}

/* Once JS is active, slides stack in one grid cell: the tallest slide sets
   a constant card height, and opacity cross-fades between slides. */
.cb-types-carousel.is-enhanced {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.is-enhanced .cb-type-slide {
	grid-area: 1 / 1;
	margin-bottom: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.is-enhanced .cb-type-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.is-enhanced .cb-types-thumbs {
	grid-column: 1;
}

.cb-price-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 0.5rem;
}

.cb-price-tag {
	padding: 0.4em 1.2em;
	background: rgba(21, 158, 140, 0.12);
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-teal-deep);
}

.cb-price {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.7rem;
	color: var(--cb-dark);
}

.cb-type-slide h3 {
	font-size: clamp(1.4rem, 2.2vw, 1.7rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-bottom: 0.4rem;
}

.cb-type-slide .has-medium-font-size {
	color: var(--cb-ink-muted);
	max-width: 30rem;
	font-size: 1rem;
	line-height: 1.5;
}

.cb-type-meta {
	margin-top: 0.6rem;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-gray);
}

.cb-type-slide .wp-block-buttons {
	display: flex;
	flex-flow: row wrap;
	gap: 0.6rem;
	align-items: center;
	margin-top: 1rem;
}

.cb-type-slide .wp-block-button__link {
	padding: 0.55em 1.05em;
	font-size: 0.9rem;
}

/* Give the text column room so the two CTAs sit on one row */
.cb-type-slide .wp-block-columns > .wp-block-column:first-child {
	flex-basis: 56% !important;
}

.cb-type-slide .wp-block-columns > .wp-block-column:last-child {
	flex-basis: 44% !important;
}

/* Stack each slide's text + art on phones instead of cramming into 56/44 */
@media (max-width: 700px) {
	.cb-type-slide .wp-block-columns > .wp-block-column:first-child,
	.cb-type-slide .wp-block-columns > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
}

.cb-type-slide .is-style-outline .wp-block-button__link {
	background: #fff;
	border-color: #d9e0e8;
	color: var(--cb-ink);
}

.cb-type-slide .is-style-outline .wp-block-button__link:hover {
	background: var(--cb-ink);
	border-color: var(--cb-ink);
	color: #fff;
}

.cb-type-art {
	display: flex;
	justify-content: center;
}

.cb-type-art svg {
	width: min(100%, 460px);
	height: auto;
}

.cb-type-image img {
	max-height: 440px;
	object-fit: contain;
}

.cb-types-arrow {
	position: absolute;
	top: 40%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	z-index: 2;
	transition: transform 0.15s ease;
}

.cb-types-arrow:hover {
	transform: scale(1.08);
}

.cb-types-arrow--prev { left: -22px; }
.cb-types-arrow--next { right: -22px; }

.cb-types-arrow span {
	display: block;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--cb-teal);
	border-bottom: 2px solid var(--cb-teal);
}

.cb-types-arrow--prev span { transform: rotate(135deg) translate(-1px, 1px); }
.cb-types-arrow--next span { transform: rotate(-45deg) translate(-1px, 1px); }

.cb-types-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.cb-types-thumb {
	flex: 1 1 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 0.6rem;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: var(--cb-radius);
	cursor: pointer;
	transition: border-color var(--cb-transition), box-shadow var(--cb-transition), transform var(--cb-transition);
}

.cb-types-thumb-art svg,
.cb-types-thumb-art img {
	height: 32px;
	width: auto;
	max-width: 96px;
	object-fit: contain;
}

.cb-types-thumb-label {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-gray);
	text-align: center;
}

.cb-types-thumb:hover {
	border-color: var(--cb-sage);
	transform: translateY(-2px);
}

.cb-types-thumb.is-active {
	border-color: var(--cb-teal);
	box-shadow: 0 0 0 1px var(--cb-teal);
}

.cb-types-thumb.is-active .cb-types-thumb-label {
	color: var(--cb-teal-dark);
}

/* Keep carousel arrows inside the card whenever it touches the viewport edges
   (the floating-outside look only has room above the card's 1420px max-width) */
@media (max-width: 1464px) {
	.cb-types-arrow--prev { left: 8px; }
	.cb-types-arrow--next { right: 8px; }

	.cb-types-thumb {
		flex-basis: 110px;
		padding: 0.8rem 0.5rem;
	}

	.cb-types-thumb-art svg,
	.cb-types-thumb-art img {
		height: 30px;
	}
}

/* How It Works steps */
.cb-hiw {
	background-image: url(/clunker-national/assets/themes/clunker-busters/assets/images/gear.webp);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: min(34vw, 500px) auto;
}

.cb-hiw .cb-hiw-grid {
	margin-top: 3rem;
	gap: 1.75rem;
	counter-reset: cb-step;
}

/* Stepper card: photo header, gradient number chip, copy below */
.cb-hiw-step {
	counter-increment: cb-step;
	background: #fff;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
	padding-bottom: 1.6rem;
	overflow: hidden;
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-hiw-step:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-hover);
}

.cb-hiw-photo {
	position: relative;
	margin: 0;
}

.cb-hiw-photo img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	display: block;
}

.cb-hiw-photo::after {
	content: counter(cb-step, decimal-leading-zero);
	position: absolute;
	left: 1.25rem;
	bottom: -1.2rem;
	width: 2.7rem;
	height: 2.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cb-teal) 0%, var(--cb-blue-mid) 100%);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: var(--cb-shadow-sm);
}

.cb-hiw-body {
	padding: 2.2rem 1.4rem 0;
}

.cb-hiw-body h3 {
	font-size: 1.15rem;
	color: var(--cb-ink);
	margin-bottom: 0.5rem;
}

.cb-hiw-body p {
	color: var(--cb-ink-muted);
	font-size: var(--cb-text-sm);
}

.cb-hiw-photo img {
	width: 100%;
	height: auto;
	border-radius: var(--cb-radius);
}

/* WP's grid layout doesn't stack fixed column counts on its own */
@media (max-width: 1100px) {
	.cb-hiw .cb-hiw-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 900px) {
	.cb-hiw {
		background-image: none;
	}

	.cb-feature-strip .cb-feature-cards {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 700px) {
	.cb-hiw .cb-hiw-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 600px) {
	.cb-feature-strip .cb-feature-cards {
		grid-template-columns: 1fr !important;
	}
}

/* Why Choose Us zigzag */
.cb-why {
	background: #f0f4f8;
}

.cb-why > .cb-mixed-heading {
	margin-bottom: 0.5rem;
}

.cb-why-row {
	margin-top: clamp(2rem, 4vw, 3rem);
	gap: 3rem;
}

.cb-why-row h3 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-ink);
	margin-bottom: 1rem;
}

.cb-why-list {
	list-style: none;
	padding: 0;
}

.cb-why-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.7rem;
	color: var(--cb-ink-soft);
	font-size: var(--cb-text-sm);
}

.cb-why-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-teal-dark);
}

/* Photo with offset gradient card behind; uniform crop keeps rows aligned */
.cb-why-photo {
	position: relative;
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}

.cb-why-photo img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	height: auto;
	border-radius: var(--cb-radius-lg);
}

.cb-why-photo::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 18px;
	left: 18px;
	right: -16px;
	bottom: -16px;
	background: var(--cb-blue-muted);
	border-radius: var(--cb-radius-lg);
}

/* Presence map */
.cb-presence {
	background: #fff;
}

.cb-map {
	position: relative;
	max-width: 1000px;
	margin: 2.5rem auto 0;
}

.cb-map-svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

/* States */
.cb-map-svg .cb-state {
	fill: #93a9c2;
	stroke: #fff;
	stroke-width: 1;
	transition: fill var(--cb-transition), filter var(--cb-transition);
}

.cb-map-svg .cb-state:hover,
.cb-map-svg .cb-state:focus {
	fill: var(--cb-teal);
	filter: drop-shadow(0 4px 8px rgba(21, 158, 140, 0.45));
	outline: none;
}

/* Labels */
.cb-state-label {
	font-family: var(--cb-font-heading);
	font-size: 9px;
	font-weight: 600;
	fill: var(--cb-navy);
	text-anchor: middle;
	dominant-baseline: middle;
	pointer-events: none;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, 0.55);
	stroke-width: 2px;
}

.cb-state-label--out {
	text-anchor: start;
	stroke: none;
	fill: var(--cb-ink-muted);
	font-size: 10px;
}

.cb-leader {
	fill: none;
	stroke: #b7c4d4;
	stroke-width: 1;
}

/* Pulsing per-state hubs (decorative; never intercept state hover/click) */
.cb-hubs {
	pointer-events: none;
}

.cb-hub-dot {
	fill: var(--cb-teal-dark);
}

.cb-hub-ring {
	fill: var(--cb-teal);
	transform-box: fill-box;
	transform-origin: center;
	animation: cb-hub-pulse 2.6s ease-out infinite;
}

/* De-synchronize the 51 dots so the country shimmers rather than blinks */
.cb-hubs g:nth-child(2n) .cb-hub-ring { animation-delay: 0.4s; }
.cb-hubs g:nth-child(3n) .cb-hub-ring { animation-delay: 0.9s; }
.cb-hubs g:nth-child(4n) .cb-hub-ring { animation-delay: 1.4s; }
.cb-hubs g:nth-child(5n) .cb-hub-ring { animation-delay: 1.9s; }
.cb-hubs g:nth-child(7n) .cb-hub-ring { animation-delay: 2.3s; }

@keyframes cb-hub-pulse {
	0%   { transform: scale(1); opacity: 0.55; }
	70%  { transform: scale(3.2); opacity: 0; }
	100% { transform: scale(3.2); opacity: 0; }
}

/* Tooltip */
.cb-map-tooltip {
	position: absolute;
	z-index: 5;
	transform: translate(-50%, -140%);
	padding: 0.35em 0.7em;
	background: var(--cb-navy);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.8rem;
	white-space: nowrap;
	border-radius: var(--cb-radius-sm);
	box-shadow: var(--cb-shadow-pop);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--cb-transition);
}

.cb-map-tooltip.is-visible {
	opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
	/* Staggered entrance - sweeps left-to-right via per-state --i */
	.cb-map .cb-state {
		opacity: 0;
		transform: scale(0.94);
		transform-box: fill-box;
		transform-origin: center;
		transition: opacity 0.4s ease, transform 0.4s ease, fill var(--cb-transition);
		transition-delay: calc(var(--i, 0) * 11ms);
	}

	.cb-map.is-revealed .cb-state {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cb-hub-ring { animation: none; }
}

/* Labels are unreadable on small screens - rely on the tooltip there */
@media (max-width: 768px) {
	.cb-state-label {
		display: none;
	}

	.cb-leader {
		display: none;
	}
}

/* Corporate banner */
.cb-corporate {
	position: relative;
	background: var(--cb-blue);
	padding: clamp(3rem, 6vw, 5rem) 0;
	min-height: 420px;
	overflow: hidden;
}

/* Beat WP's constrained-layout auto-centering: pin content left */
.cb-corporate .cb-corporate-content,
.cb-expert .cb-expert-content {
	margin-left: 0;
}

.cb-corporate .cb-corporate-content > *,
.cb-expert .cb-expert-content > * {
	margin-left: 0;
	margin-right: 0;
}

.cb-corporate-content {
	max-width: 50%;
}

.cb-corporate-title {
	color: #fff;
	font-size: var(--cb-text-h1);
	font-weight: 800;
}

.cb-corporate-lead {
	color: rgba(255, 255, 255, 0.92);
	max-width: 36rem;
	margin-top: 1.25rem;
}

.cb-corporate .cb-cta-split {
	margin-top: 1.75rem;
}

/* Sized by band height so the photo always fits inside it */
.cb-corporate-photo {
	position: absolute;
	right: clamp(1rem, 5vw, 7rem);
	bottom: 0;
	height: 94%;
	width: auto;
}

@media (max-width: 900px) {
	.cb-corporate {
		padding-bottom: 0;
		min-height: 0;
	}

	.cb-corporate-content {
		max-width: 100%;
	}

	.cb-corporate-photo {
		position: static;
		display: block;
		margin: 2.5rem auto 0;
		width: 100%;
		max-width: 560px;
	}
}

/* Tagline strip + expert banner */
.cb-strap {
	background: var(--cb-surface-gray);
	padding: 1rem 0;
	text-align: center;
}

.cb-strap p {
	margin: 0;
	line-height: 1.5;
}

.cb-expert {
	position: relative;
	background: var(--cb-blue);
	margin-top: 150px;
	padding: 4.5rem 0;
}

.cb-expert-content {
	max-width: 52%;
}

.cb-expert-title {
	color: #fff;
	font-size: var(--cb-text-h1);
	font-weight: 800;
}

.cb-expert-lead {
	color: rgba(255, 255, 255, 0.9);
	max-width: 36rem;
	margin-top: 1rem;
}

.cb-expert .cb-cta-split {
	margin-top: 1.5rem;
}

/* Photo is bottom-anchored to the band so the head overflows the top edge */
.cb-expert-photo {
	position: absolute;
	right: clamp(2rem, 12vw, 14rem);
	bottom: 0;
	width: clamp(260px, 24vw, 400px);
	height: auto;
}

@media (max-width: 900px) {
	.cb-expert {
		margin-top: 0;
		padding-bottom: 0;
	}

	.cb-expert-content {
		max-width: 100%;
	}

	.cb-expert-photo {
		position: static;
		display: block;
		margin: 2.5rem auto 0;
		width: min(70%, 320px);
	}
}

.cb-store-badges {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.cb-store-badges img {
	height: 52px;
	width: auto;
}

/* Google's badge ships with transparent padding - compensate to visually match */
.cb-store-badges img[src*="badge-google-play"] {
	height: 78px;
	margin: -13px;
}

@media (max-width: 781px) {
	.cb-store-badges {
		justify-content: flex-start;
	}
}

.cb-card {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	padding: 1.75rem;
	box-shadow: var(--cb-shadow);
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
	height: 100%;
}

.cb-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-hover);
}

.cb-card h3 {
	margin-bottom: 0.5rem;
	color: var(--cb-blue);
}

.cb-card p {
	color: var(--cb-gray);
	font-size: var(--cb-text-sm);
}

/* Numbered steps (How It Works) */
.cb-steps {
	counter-reset: cb-step;
}

.cb-step {
	counter-increment: cb-step;
	text-align: center;
	padding: 1.5rem 1rem;
}

.cb-step::before {
	content: counter(cb-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--cb-teal);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1.4rem;
}

.cb-step h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.cb-step p {
	color: var(--cb-gray);
	font-size: var(--cb-text-sm);
}

/* Eyebrow label above section headings */
.cb-eyebrow {
	display: inline-block;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

/* ---------------------------------------------------------------------------
 * Page content
 * ------------------------------------------------------------------------ */
.cb-page-header {
	background: linear-gradient(135deg, var(--cb-teal) 0%, var(--cb-blue) 100%);
	padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.cb-page-header h1 {
	color: #fff;
}

.cb-page-content {
	padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* Constrain bare content blocks on regular pages */
.cb-page-content > * {
	max-width: var(--cb-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--cb-gutter);
	padding-right: var(--cb-gutter);
}

.cb-page-content > .alignfull {
	max-width: none;
	padding-left: var(--cb-gutter);
	padding-right: var(--cb-gutter);
}

.cb-page-content > .alignwide {
	max-width: 1400px;
}

/* Canvas template renders sections edge-to-edge */
.cb-canvas > * {
	max-width: var(--cb-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--cb-gutter);
	padding-right: var(--cb-gutter);
}

.cb-canvas > .alignfull {
	max-width: none;
	padding-left: var(--cb-gutter);
	padding-right: var(--cb-gutter);
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */
.site-footer {
	background: #f0f4f8;
	/* Extra top padding clears the curved-band overlap (-3rem) so footer
	 * content keeps clear breathing room below the section above it. */
	padding: calc(clamp(3rem, 6vw, 4.5rem) + var(--cb-band-overlap)) 0 2rem;
	color: var(--cb-ink-muted);
}

/* Newsletter strip */
.footer-newsletter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding-bottom: 2.5rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid #d9e1ea;
}

.footer-newsletter-title {
	font-size: 1.4rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-bottom: 0.25rem;
}

.footer-newsletter-text p {
	margin: 0;
	font-size: var(--cb-text-sm);
}

.footer-newsletter-form {
	display: flex;
	gap: 0.6rem;
	flex: 1 1 360px;
	max-width: 460px;
}

.footer-newsletter-form input {
	flex: 1;
	min-width: 0;
	padding: 0.8em 1.1em;
	border: 1px solid #cfd9e3;
	border-radius: var(--cb-radius);
	background: #fff;
	font-family: var(--cb-font-body);
	font-size: 1rem;
	color: var(--cb-ink);
}

.footer-newsletter-form input:focus-visible {
	outline: 2px solid var(--cb-teal-dark);
	outline-offset: 1px;
	border-color: var(--cb-teal-dark);
}

.footer-newsletter-form .cb-button {
	flex-shrink: 0;
}

/* Stack the newsletter field on small screens so it never overflows */
@media (max-width: 600px) {
	.footer-newsletter-form {
		flex-wrap: wrap;
	}

	.footer-newsletter-form input,
	.footer-newsletter-form .cb-button {
		flex: 1 1 100%;
	}
}

/* Main columns */
.footer-main {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 2.5rem;
	padding-bottom: 2.75rem;
}

.footer-logo {
	display: inline-block;
}

.footer-logo img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	padding: 5px;
	box-shadow: var(--cb-shadow);
}

.footer-tagline {
	margin: 1rem 0 1.25rem;
	max-width: 30ch;
	font-size: var(--cb-text-sm);
}

.footer-contact {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.footer-contact li {
	margin-bottom: 0.4rem;
}

.footer-contact a {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	color: var(--cb-navy);
}

.footer-contact a:hover {
	color: var(--cb-teal-deep);
}

.cb-social-links {
	display: flex;
	gap: 0.6rem;
}

.cb-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #d9e1ea;
	color: var(--cb-navy);
	transition: background var(--cb-transition), color var(--cb-transition), transform var(--cb-transition);
}

.cb-social-link svg {
	width: 18px;
	height: 18px;
}

.cb-social-link:hover {
	background: var(--cb-teal-dark);
	border-color: var(--cb-teal-dark);
	color: #fff;
	transform: translateY(-2px);
}

.footer-heading {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-navy);
	margin-bottom: 1.1rem;
}

.footer-col nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col nav li {
	margin-bottom: 0.65rem;
}

.footer-col nav a {
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

.footer-col nav a:hover {
	color: var(--cb-teal-deep);
}

.footer-app .cb-store-buttons {
	align-items: stretch;
}

.footer-app .cb-store-btn {
	min-width: 0;
}

.footer-ase {
	margin-top: 1.25rem;
}

.footer-ase img {
	width: 84px;
	height: auto;
}

/* Bottom bar */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: 1.75rem;
	border-top: 1px solid #d9e1ea;
}

.footer-copy {
	margin: 0;
	font-size: 0.9rem;
}

.footer-bottom nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-bottom nav a {
	font-size: 0.9rem;
	color: var(--cb-ink-muted);
}

.footer-bottom nav a:hover {
	color: var(--cb-teal-deep);
}

.footer-top-link {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--cb-navy);
}

.footer-top-link:hover {
	color: var(--cb-teal-deep);
}

@media (max-width: 900px) {
	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.footer-main {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		justify-content: flex-start;
	}
}

/* ===========================================================================
 * Visual refresh layer - "soft premium"
 * Pure reskin: overrides earlier rules, no class or markup changes.
 * ======================================================================== */

/* Typography: tighter display type */
h1,
h2 {
	letter-spacing: -0.01em;
}

/* Highlight-marker accent under the bold word of mixed headings */
.cb-mixed-heading strong,
.cb-types-heading strong {
	background: linear-gradient(transparent 70%, rgba(110, 231, 220, 0.55) 70%, rgba(110, 231, 220, 0.55) 94%, transparent 94%);
	padding: 0 0.08em;
}

/* Buttons become pills */
.cb-button,
.wp-block-button__link,
.cb-cta-split,
.cb-cta-split-label {
	border-radius: 999px;
}

/* Eyebrows become tinted chips */
.cb-eyebrow {
	padding: 0.4em 1.1em;
	background: rgba(21, 158, 140, 0.1);
	border-radius: 999px;
}

/* Header: translucent with blur */
.site-header {
	background: rgba(48, 94, 140, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

/* Dropdown panel: larger radius */
.site-nav .sub-menu {
	border-radius: var(--cb-radius-lg);
}

/* Hero: gradient glow over the flat blue */
.cb-hero--home {
	background:
		radial-gradient(ellipse at 78% 12%, rgba(21, 158, 140, 0.45) 0%, transparent 52%),
		radial-gradient(ellipse at 8% 90%, rgba(110, 231, 220, 0.18) 0%, transparent 45%),
		var(--cb-blue);
	padding-bottom: calc(var(--cb-section-pad) + var(--cb-band-overlap));
}

.cb-video-facade,
.cb-hero-video iframe {
	box-shadow: 0 18px 60px rgba(13, 36, 60, 0.45), 0 0 80px rgba(21, 158, 140, 0.25);
}

/* Cards: borderless, floating */
.cb-feature-card,
.cb-card {
	border: none;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

/* Why-choose photo backplate: brand gradient instead of flat blue */
.cb-why-photo::after {
	background: linear-gradient(135deg, var(--cb-teal) 0%, var(--cb-blue-muted) 100%);
}

/* Carousel arrows: solid teal with white chevrons */
.cb-types-arrow {
	background: var(--cb-teal-dark);
}

.cb-types-arrow span {
	border-color: #fff;
}

/* App banner: soft inner highlight for depth */
.cb-app-banner {
	position: relative;
	overflow: hidden;
}

.cb-app-banner::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 60%;
	height: 120%;
	background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
	pointer-events: none;
}

/* Curved band transitions: each band rounds its top and overlaps the
 * section above, so the previous color shows in the curve corners. */
.cb-call-strip,
.cb-presence,
.cb-corporate,
.site-footer {
	position: relative;
	margin-top: calc(-1 * var(--cb-band-overlap));
	border-radius: var(--cb-band-radius) var(--cb-band-radius) 0 0;
}

/* Give the sections underneath room for the overlap */
.cb-why {
	padding-bottom: calc(var(--cb-section-pad) + var(--cb-band-overlap));
}

.cb-presence {
	padding-bottom: calc(var(--cb-section-pad) + var(--cb-band-overlap));
}

.cb-corporate {
	padding-bottom: var(--cb-band-overlap);
}

.cb-corporate-photo {
	bottom: var(--cb-band-overlap);
}

@media (max-width: 900px) {
	.cb-corporate {
		padding-bottom: var(--cb-band-overlap);
	}

	.cb-corporate-photo {
		margin-bottom: 0;
	}
}

/* ===========================================================================
 * Design v2 - utility topbar, white header, dark display hero
 * ======================================================================== */

/* Utility topbar */
.topbar {
	background: var(--cb-navy);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.78rem;
}

.topbar .site-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 40px;
	max-width: 1480px;
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 0.7em;
	margin: 0;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.topbar-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-teal);
	flex-shrink: 0;
}

.topbar-right {
	margin: 0;
}

.topbar-right a {
	color: #fff;
	font-weight: 700;
}

@media (max-width: 700px) {
	.topbar-left { display: none; }
	.topbar .site-container { justify-content: center; }
}

/* White header */
.site-header {
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid #eef1f4;
}

.site-header :focus-visible {
	outline-color: var(--cb-teal-dark);
}

.site-logo-name {
	color: var(--cb-ink);
}

.site-logo-tagline {
	color: var(--cb-teal-dark);
}

.site-logo:hover .site-logo-name {
	color: var(--cb-teal-dark);
}

.site-nav a {
	color: var(--cb-ink-soft);
}

.site-nav a:hover {
	color: var(--cb-teal-dark);
}

.site-nav .current-menu-item > a {
	color: var(--cb-ink);
	text-decoration: none;
	border-bottom: 3px solid var(--cb-teal);
	padding-bottom: 4px;
}

.menu-toggle span {
	background: var(--cb-ink);
}

.header-actions .cb-button--ghost {
	border-color: #cfd6dd;
	color: var(--cb-ink);
	background: transparent;
}

.header-actions .cb-button--ghost:hover {
	background: var(--cb-ink);
	border-color: var(--cb-ink);
	color: #fff;
}

/* Buttons: back to confident rounded-rect (overrides the pill pass) */
.cb-button,
.wp-block-button__link,
.cb-cta-split {
	border-radius: var(--cb-radius);
}

.cb-cta-split-label {
	border-radius: var(--cb-radius-sm);
}

.cb-button--xl {
	padding: 0.95em 1.9em;
	font-size: 1.02rem;
}

/* Eyebrows: letterspaced label with line prefix (replaces chips) */
.cb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.8em;
	padding: 0;
	background: none;
	border-radius: 0;
	letter-spacing: 0.2em;
}

.cb-eyebrow::before {
	content: "";
	width: 30px;
	height: 2px;
	background: var(--cb-teal);
	flex-shrink: 0;
}

/* Dark display hero */
.cb-hero--home {
	background:
		radial-gradient(ellipse at 72% 0%, rgba(48, 94, 140, 0.55) 0%, transparent 58%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 72px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 72px),
		var(--cb-navy);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: calc(clamp(2.5rem, 5vw, 4rem) + var(--cb-band-overlap));
}

.cb-hero-kicker {
	display: flex;
	align-items: center;
	gap: 0.9em;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--cb-teal-light);
}

.cb-hero-kicker::before {
	content: "";
	width: 38px;
	height: 2px;
	background: currentColor;
	flex-shrink: 0;
}

.cb-hero--home .cb-hero-title {
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	line-height: 1.05;
	margin-top: 1.5rem;
}

.cb-hero-title strong {
	color: var(--cb-sage);
	font-weight: inherit;
}

.cb-hero--home .cb-hero-lead {
	font-size: 1.08rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 1.25rem;
}

.cb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

.cb-hero-actions .cb-button:not(.cb-button--ghost) {
	box-shadow: 0 10px 30px rgba(21, 158, 140, 0.35);
}

.cb-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-top: 2rem;
}

.cb-hero-stat strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	color: #fff;
}

.cb-hero-stat span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Founder credibility strip: sits inside the hero band, directly under
 * the headline/video row, so the experience claim is on the first screen. */
.cb-hero-founder {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 1rem 1.4rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--cb-radius-lg);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(6px);
}

.cb-hero-founder-photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px var(--cb-sage);
}

.cb-hero-founder-text {
	flex: 1 1 22rem;
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.cb-hero-founder-text strong {
	color: #fff;
	font-weight: 700;
}

/* Hero trust strip - the three proof points customers scan before ordering. */
.cb-hero-trust {
	flex: 1 1 24rem;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.cb-hero-trust li {
	position: relative;
	margin: 0;
	padding-left: 1.5rem;
	font-size: 0.98rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.cb-hero-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--cb-teal-light, #58a399);
}

.cb-hero-trust strong {
	color: #fff;
	font-weight: 700;
}

.cb-hero-founder-link {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	color: var(--cb-teal-light);
	white-space: nowrap;
}

.cb-hero-founder-link span {
	display: inline-block;
	transition: transform var(--cb-transition);
}

.cb-hero-founder-link:hover {
	color: #fff;
}

.cb-hero-founder-link:hover span {
	transform: translateX(4px);
}

/* About page - headings go heavy ink (rest of the site keeps blue) */
.cb-founder-name,
.cb-road h2,
.cb-road-stop h3,
.cb-why h2,
.cb-proof h2,
.cb-offclock h2,
.cb-offclock-card h3 {
	color: var(--cb-dark);
	font-weight: 800;
}

.cb-road h2,
.cb-why h2,
.cb-proof h2,
.cb-offclock h2 {
	font-size: var(--cb-text-h2);
}

/* About page - founder hero */
.cb-founder {
	background:
		radial-gradient(ellipse at 85% 15%, rgba(245, 232, 215, 0.8) 0%, transparent 55%),
		linear-gradient(120deg, var(--cb-cream-50) 0%, var(--cb-off-white) 70%);
	overflow: hidden;
}

.cb-founder-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
	padding: 0.55em 1.2em;
	background: rgba(21, 158, 140, 0.07);
	border: 1px solid rgba(21, 158, 140, 0.28);
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-founder-pill span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-teal);
	flex-shrink: 0;
}

.cb-founder-name {
	font-size: var(--cb-text-display);
	line-height: 1.05;
	margin-top: 1.5rem;
}

.cb-founder-role {
	color: var(--cb-blue-mid);
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	margin-top: 1.25rem;
}

.cb-founder-lead {
	color: var(--cb-gray);
	font-size: 1.05rem;
	line-height: 1.8;
	max-width: 34rem;
	margin-top: 1.25rem;
}

.cb-founder-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2.25rem;
}

.cb-founder-stat strong {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--cb-ink);
}

.cb-founder-stat strong span {
	color: var(--cb-teal);
}

.cb-founder-stat-label {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.76rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.55;
	color: var(--cb-gray-soft);
}

.cb-founder-photo {
	position: relative;
	max-width: 420px;
	margin: 0 auto;
}

.cb-founder-photo::before {
	content: "";
	position: absolute;
	top: -2rem;
	right: -2.5rem;
	width: 82%;
	height: 88%;
	background: var(--cb-cream-200);
	border-radius: var(--cb-band-radius);
	transform: rotate(-4deg);
}

.cb-founder-frame {
	position: relative;
	margin: 0;
	background: #fff;
	border-radius: var(--cb-radius-xl);
	padding: 12px;
	box-shadow: 0 24px 60px rgba(31, 39, 51, 0.16);
}

.cb-founder-frame img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--cb-radius-xl) - 8px);
}

.cb-founder-badge {
	position: absolute;
	left: 1.75rem;
	right: 1.75rem;
	bottom: 1.75rem;
	padding: 0.95rem 1.25rem;
	background: rgba(17, 45, 39, 0.92);
	border-radius: var(--cb-radius);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.cb-founder-badge strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}

.cb-founder-badge span {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.85);
}

/* About page - career timeline */
.cb-road {
	background: var(--cb-off-white);
}

.cb-road h2 {
	margin-top: 0.75rem;
}

.cb-road-line {
	list-style: none;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: 2.75rem 0 0;
	padding: 0;
}

/* Connector running from the first dot to the last */
.cb-road-line::before {
	content: "";
	position: absolute;
	top: 53px;
	left: 10px;
	right: calc((100% - 6rem) / 4 - 10px);
	height: 2px;
	background: rgba(21, 158, 140, 0.3);
}

.cb-road-year {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 1em;
	background: rgba(21, 158, 140, 0.1);
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--cb-teal-deep);
}

.cb-road-stop.is-now .cb-road-year {
	background: var(--cb-teal-dark);
	color: #fff;
}

.cb-road-dot {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	margin-top: 14px;
	background: #fff;
	border: 2px solid var(--cb-teal);
	border-radius: 50%;
}

.cb-road-dot::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--cb-teal-dark);
}

.cb-road-stop.is-now .cb-road-dot {
	box-shadow: 0 0 0 5px rgba(21, 158, 140, 0.14);
}

.cb-road-stop h3 {
	font-size: 1.2rem;
	margin-top: 1.15rem;
}

.cb-road-stop p {
	margin-top: 0.5rem;
	font-size: var(--cb-text-sm);
	line-height: 1.65;
	color: var(--cb-gray);
}

@media (max-width: 900px) {
	.cb-road-line {
		grid-template-columns: repeat(2, 1fr);
	}

	.cb-road-line::before {
		display: none;
	}
}

@media (max-width: 560px) {
	.cb-road-line {
		grid-template-columns: 1fr;
	}
}

/* About page - quote and mission */
.cb-why {
	background: var(--cb-cream-200);
}

.cb-why h2 {
	margin-top: 0.75rem;
}

.cb-why .wp-block-column > p:not(.cb-eyebrow) {
	margin-top: 1rem;
	line-height: 1.75;
	color: var(--cb-ink-muted);
}

.cb-why-quote {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 2.75rem 2.5rem 3rem;
	background: #fff;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

.cb-why-quote::after {
	content: "";
	position: absolute;
	right: -3.5rem;
	bottom: -5rem;
	width: 200px;
	height: 200px;
	border: 28px solid rgba(21, 158, 140, 0.08);
	border-radius: 50%;
}

.cb-why-mark {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 3.5rem;
	line-height: 0.55;
	color: var(--cb-teal);
}

.cb-why-quote p {
	position: relative;
	margin-top: 1.5rem;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: clamp(1.5rem, 2.6vw, 2.05rem);
	line-height: 1.3;
	color: var(--cb-ink);
}

.cb-why-quote cite {
	position: relative;
	display: block;
	margin-top: 1.75rem;
	font-family: var(--cb-font-heading);
	font-style: normal;
	font-weight: 700;
	font-size: 0.76rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

/* About page - proof stats */
.cb-proof {
	background: var(--cb-cream-50);
}

.cb-proof h2 {
	margin-top: 0.75rem;
}

.cb-proof-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.cb-proof-card {
	padding: 1.6rem 1.4rem 1.5rem;
	background: #fff;
	border: 1px solid #f0ebe2;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow-lg);
}

.cb-proof-card strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: clamp(2rem, 3vw, 2.7rem);
	line-height: 1.1;
	color: var(--cb-teal);
}

.cb-proof-card span {
	display: block;
	margin-top: 1.4rem;
	font-size: var(--cb-text-sm);
	line-height: 1.5;
	color: var(--cb-gray);
}

@media (max-width: 900px) {
	.cb-proof-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* About page - life beyond inspections */
.cb-offclock {
	background: var(--cb-off-white);
}

.cb-offclock h2 {
	margin-top: 0.75rem;
}

.cb-offclock-intro {
	max-width: 24rem;
	margin-left: auto;
	line-height: 1.7;
	color: var(--cb-gray);
}

.cb-offclock-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2.5rem;
}

.cb-offclock-card {
	overflow: hidden;
	background: #fff;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

.cb-offclock-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.cb-offclock-body {
	padding: 1.6rem 1.6rem 1.9rem;
}

.cb-offclock-kicker {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-offclock-card h3 {
	font-size: 1.35rem;
	margin-top: 0.6rem;
}

.cb-offclock-card p {
	margin-top: 0.7rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--cb-gray);
}

@media (max-width: 900px) {
	.cb-offclock-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 781px) {
	.cb-offclock-intro {
		margin-left: 0;
	}
}

/* About page - closing CTA card */
.cb-ready {
	background: var(--cb-off-white);
}

.cb-ready-card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(2rem, 5vw, 4rem);
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 5vw, 4.5rem);
	background: linear-gradient(135deg, #3f8171 0%, #35705f 100%);
	border-radius: 28px;
	box-shadow: var(--cb-shadow-lg);
}

/* Faint concentric rings in the bottom-right corner */
.cb-ready-card::before,
.cb-ready-card::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	border: 3rem solid rgba(255, 255, 255, 0.05);
}

.cb-ready-card::before {
	right: -8rem;
	bottom: -14rem;
	width: 28rem;
	height: 28rem;
}

.cb-ready-card::after {
	right: -3rem;
	bottom: -9rem;
	width: 15rem;
	height: 15rem;
	border-width: 2rem;
}

.cb-ready-text {
	position: relative;
}

.cb-ready-eyebrow {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.76rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.cb-ready-card h2 {
	margin-top: 1rem;
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	font-weight: 800;
	line-height: 1.12;
	color: #fff;
	max-width: 10.5em;
}

.cb-ready-lead {
	margin-top: 1.25rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}

.cb-ready-actions {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex-shrink: 0;
	min-width: 240px;
}

.cb-ready-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.95em 1.9em;
	background: #fff;
	border-radius: 999px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--cb-teal-deep);
	transition: transform var(--cb-transition), box-shadow var(--cb-transition), background var(--cb-transition);
}

.cb-ready-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cb-ready-btn--ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
}

.cb-ready-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
}

@media (max-width: 900px) {
	.cb-ready-card {
		flex-direction: column;
		align-items: flex-start;
	}

	.cb-ready-actions {
		width: 100%;
		min-width: 0;
	}
}

/* Framed video card with caption row */
.cb-hero-video {
	background: #fff;
	border-radius: var(--cb-radius-lg);
	padding: 10px 10px 0;
	box-shadow: 0 24px 70px rgba(8, 20, 38, 0.5);
}

.cb-hero-video .cb-video-facade,
.cb-hero-video iframe {
	border-radius: calc(var(--cb-radius-lg) - 6px);
	box-shadow: none;
}

.cb-video-caption {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.85rem 0.4rem;
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-gray);
}

/* ===========================================================================
 * Corporate banner - visual enhancement (polished mid-blue)
 * CSS-only; overrides earlier .cb-corporate rules. No markup change.
 * ======================================================================== */
.cb-corporate {
	isolation: isolate;
	background:
		radial-gradient(ellipse at 82% 18%, rgba(21, 158, 140, 0.38) 0%, transparent 55%),
		radial-gradient(ellipse at 6% 96%, rgba(110, 231, 220, 0.16) 0%, transparent 50%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 64px),
		var(--cb-blue);
}

/* Soft halo behind the cutout mechanics photo */
.cb-corporate::after {
	content: "";
	position: absolute;
	right: clamp(0rem, 4vw, 5rem);
	bottom: 0;
	width: min(46%, 560px);
	height: 88%;
	z-index: 0;
	background: radial-gradient(ellipse at 60% 60%, rgba(110, 231, 220, 0.22) 0%, rgba(21, 158, 140, 0.12) 40%, transparent 70%);
	pointer-events: none;
}

.cb-corporate-content {
	position: relative;
	z-index: 2;
}

.cb-corporate-photo {
	z-index: 1;
	filter: drop-shadow(0 18px 30px rgba(8, 20, 38, 0.35));
}

/* Title polish: uppercase display voice + teal accent bar */
.cb-corporate-title {
	text-transform: uppercase;
	letter-spacing: 0.01em;
	padding-bottom: 0.65rem;
}

.cb-corporate-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 1rem;
	border-radius: 2px;
	background: var(--cb-teal-light);
}

/* ===========================================================================
 * Inspection detail page - hero, intro chips, and Sample Inspection Report
 * ======================================================================== */

.cb-button--dark {
	background: #0d1b2e;
	border-color: #0d1b2e;
	color: #fff;
}
.cb-button--dark:hover { background: #16263d; border-color: #16263d; color: #fff; }

/* Hero: compact split layout - text left, image card right. */
.cb-inspection-hero {
	background:
		radial-gradient(ellipse at 78% 0%, rgba(21, 158, 140, 0.45) 0%, transparent 55%),
		linear-gradient(135deg, var(--cb-blue) 0%, var(--cb-blue-deep) 100%);
	/* Text (520px) + gap (60px) + card (320px) total exactly 900px, the same
	   column width as .cb-inspect-intro below, so the hero text's left edge
	   and the image card's right edge line up with the white card. */
	padding: clamp(1.75rem, 4vw, 2.75rem) var(--cb-gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 60px;
	text-align: left;
}

.cb-eyebrow--light { color: var(--cb-teal-light); background: rgba(255, 255, 255, 0.1); }

.cb-inspection-hero-inner { width: min(100%, 520px); margin: 0; }

.cb-inspection-hero-title {
	color: #fff;
	font-size: clamp(2rem, 4vw, 2.9rem);
	font-weight: 800;
	margin-top: 0.9rem;
}

.cb-inspection-hero-desc {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
	margin-top: 0.65rem;
}

.cb-inspection-hero-card {
	width: min(100%, 320px);
	flex-shrink: 0;
	margin: 0;
	padding: 0.6rem;
	background: #fff;
	border-radius: var(--cb-radius-xl);
	box-shadow: 0 18px 44px rgba(8, 20, 38, 0.35);
}

.cb-inspection-hero-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	border-radius: var(--cb-radius-lg);
}

/* The Standard page uses a photograph (not a white-background render), so
   fill the frame instead of letterboxing it. */
.cb-inspection-hero-card img[src*="standard-inspection-photo"] { object-fit: cover; }

@media (max-width: 760px) {
	.cb-inspection-hero { text-align: center; }
	.cb-inspection-hero-inner { max-width: 100%; }
}

/* Intro card */
.cb-inspect-intro {
	max-width: 900px;
	margin: clamp(2rem, 5vw, 3rem) auto;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background: #fff;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

.cb-inspect-quote {
	margin: 0 0 1.75rem;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 4px solid var(--cb-teal);
	color: var(--cb-ink-muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.cb-inspect-h {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cb-navy);
	margin-bottom: 1rem;
}

.cb-inspect-chips {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.cb-inspect-chips li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1rem;
	background: #f0f4f8;
	border: 1px solid #e3e8ee;
	border-radius: var(--cb-radius);
	font-weight: 600;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink);
}

.cb-inspect-chips li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-teal-dark);
	flex-shrink: 0;
}

.cb-inspect-meta {
	margin-top: 1.25rem;
	color: var(--cb-gray-soft);
	font-size: 0.9rem;
}

/* ---- 70/30 split: sample report main column + sticky intro sidebar ---- */
.cb-inspect-split {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(320px, 3fr);
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
	align-items: start;
	max-width: var(--cb-container);
	margin: 0 auto;
	/* Bottom padding compensates for the footer band pulling itself up by
	   var(--cb-band-overlap) (-3rem); the visible gap is ~3rem smaller. */
	padding: clamp(1.25rem, 2.5vw, 1.75rem) var(--cb-gutter) clamp(5rem, 8vw, 7.5rem);
}

.cb-inspect-split .cb-report {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Sidebar card follows while the long report scrolls. */
.cb-inspect-split-side {
	position: sticky;
	top: 84px;
}

/* Tighter report title inside the split; the eyebrow above it carries the pitch. */
.cb-inspect-split .cb-report-title {
	font-size: clamp(1.5rem, 2.2vw, 1.9rem);
	margin: 0.35rem 0 1.25rem;
}

/* The sidebar is a navy order panel echoing the report's letterhead. */
.cb-inspect-split .cb-inspect-intro {
	max-width: none;
	margin: 0;
	padding: clamp(1.25rem, 1.6vw, 1.5rem);
	background:
		radial-gradient(ellipse at 80% 0%, rgba(21, 158, 140, 0.35) 0%, transparent 55%),
		linear-gradient(150deg, var(--cb-blue) 0%, var(--cb-blue-deep) 100%);
	border-radius: var(--cb-radius-xl);
	box-shadow: 0 18px 44px rgba(8, 20, 38, 0.28);
}

.cb-inspect-sidetitle {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.25rem;
	color: #fff;
	margin-bottom: 0.8rem;
}

.cb-inspect-split .cb-inspect-quote {
	font-size: 0.93rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
	border-left-color: var(--cb-teal-light);
	margin-bottom: 1.1rem;
}

.cb-inspect-split .cb-inspect-h { color: var(--cb-teal-light); margin-bottom: 0.75rem; }

.cb-inspect-split .cb-inspect-chips {
	grid-template-columns: 1fr;
	gap: 0.45rem;
	margin-bottom: 1.1rem;
}

.cb-inspect-split .cb-inspect-chips li {
	padding: 0.42rem 0.85rem;
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.9rem;
}

.cb-inspect-split .cb-inspect-chips li::before { background: var(--cb-teal-light); }

.cb-inspect-split .cb-cta-split {
	margin-top: 0;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
}

.cb-inspect-split .cb-inspect-meta {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem;
	margin-top: 1rem;
}

@media (max-width: 1024px) {
	/* minmax(0, 1fr), not 1fr: wide report content (tables, gallery slides)
	   must shrink with the column, not blow the grid out past the viewport. */
	.cb-inspect-split { grid-template-columns: minmax(0, 1fr); }

	/* Stacked: short intro card first, then the report. */
	.cb-inspect-split-side { position: static; order: -1; }
}

/* Grid/flex items never inherit an intrinsic min-width from report content. */
.cb-inspect-split-main,
.cb-inspect-split-side { min-width: 0; }

/* ---- Sample Inspection Report ---- */
.cb-report {
	max-width: 1060px;
	margin: 0 auto clamp(3rem, 6vw, 4.5rem);
	padding: 0 var(--cb-gutter);
}

.cb-report-title {
	font-size: var(--cb-text-h2);
	font-weight: 800;
	color: var(--cb-navy);
	margin-bottom: 0.6rem;
}

/* Makes clear at a glance that the report below is an illustration. */
.cb-report-disclaimer {
	margin: 0 0 1.5rem;
	padding: 0.55rem 0.9rem;
	border-left: 3px solid var(--cb-sage, #58a399);
	background: rgba(88, 163, 153, 0.1);
	border-radius: 0 6px 6px 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--cb-navy, #1c2f4d);
}

.cb-report-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: linear-gradient(135deg, var(--cb-blue) 0%, var(--cb-blue-deep) 100%);
	color: #fff;
	border-radius: var(--cb-radius-lg);
	padding: 1.75rem 1.75rem 3.25rem;
}

.cb-report-brandname {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.cb-report-brandsub { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

.cb-report-meta { text-align: right; font-size: 0.9rem; }
.cb-report-meta p { margin: 0; }
.cb-report-meta span { color: rgba(255, 255, 255, 0.7); }
.cb-report-for { margin-top: 0.6rem !important; color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; }
.cb-report-name { font-weight: 700; }
.cb-report-email { color: rgba(255, 255, 255, 0.8); }

.cb-report-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin: -2.25rem 1rem 0;
	position: relative;
	z-index: 2;
}

.cb-report-card,
.cb-report-typecard {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	padding: 1.25rem 1.4rem;
	box-shadow: var(--cb-shadow);
}

/* Only the type card is a row (name left, price right); the vehicle and
   technician cards above it stay stacked label-over-value. */
.cb-report-typecard {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

/* The price reads as a line of the report, not a second banner over it. */
.cb-report-typeprice {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 !important;
	padding: 0.45rem 1rem;
	background: #eef4f9;
	border: 1px solid #dde7f0;
	border-radius: var(--cb-radius-sm);
}

.cb-report-typeprice span {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--cb-gray-soft);
}

.cb-report-typeprice strong {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1;
	color: var(--cb-navy);
}

.cb-report-card p,
.cb-report-typecard p { margin: 0 0 0.2rem; color: var(--cb-ink-muted); font-size: var(--cb-text-sm); }
.cb-report-card-label {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-gray-soft) !important;
}
.cb-report-card-title { font-size: 1.15rem; font-weight: 800; color: var(--cb-navy) !important; margin: 0.25rem 0 0.5rem !important; }
.cb-report-typecard { margin-top: 1.25rem; }
.cb-report-typename { font-size: 1.1rem; font-weight: 700; color: var(--cb-blue) !important; margin: 0.25rem 0 0 !important; }

.cb-report-gallery { margin: 1.75rem 0; }

/* Scroll-snap carousel: swipe/scroll works without JS; JS wires buttons + dots. */
.cb-report-gallery-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cb-report-gallery-track::-webkit-scrollbar { display: none; }

.cb-report-slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.cb-report-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--cb-radius-lg);
}

/* Square studio renders letterbox on a light backdrop instead of cropping. */
.cb-report-slide--contain img {
	object-fit: contain;
	background: #f5f6f7;
}

.cb-report-slide figcaption {
	margin-top: 0.9rem;
	text-align: center;
	font-family: var(--cb-font-heading);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--cb-dark);
}

.cb-report-gallery-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	margin-top: 0.6rem;
}

.cb-report-gallery-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--cb-border);
	border-radius: 50%;
	background: #fff;
	color: var(--cb-dark);
	font-size: 1rem;
	cursor: pointer;
	transition: border-color var(--cb-transition), color var(--cb-transition);
}

.cb-report-gallery-btn:hover {
	border-color: var(--cb-teal);
	color: var(--cb-teal);
}

.cb-report-gallery-dots { display: flex; gap: 0.5rem; }

.cb-report-gallery-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--cb-border);
	cursor: pointer;
	transition: background var(--cb-transition);
}

.cb-report-gallery-dot.is-active { background: var(--cb-teal); }

/* Section heading with icon */
.cb-report-h {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--cb-blue);
	margin: 2rem 0 1rem;
}
.cb-report-h-ic { display: inline-flex; width: 22px; height: 22px; color: var(--cb-blue); }
.cb-report-h-ic svg { width: 100%; height: 100%; }

/* Key/value tables */
.cb-kv { width: 100%; border-collapse: collapse; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); overflow: hidden; }
.cb-kv th, .cb-kv td { padding: 0.7rem 1rem; font-size: var(--cb-text-sm); text-align: left; }
.cb-kv th { color: var(--cb-ink-muted); font-weight: 500; }
.cb-kv td { text-align: right; font-weight: 700; color: var(--cb-ink); }
.cb-kv tr:nth-child(even) { background: #f6f9fc; }

/* Add-ons */
.cb-report-addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.cb-report-addon { background: #fff; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); padding: 1.4rem; }
.cb-report-addon-title { font-weight: 700; color: var(--cb-ink); margin: 0 0 0.5rem; }
.cb-report-status { display: flex; align-items: center; gap: 0.5rem; color: #1fa97f; font-weight: 700; }
.cb-report-value { margin-top: 0.9rem; background: #f6f9fc; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); padding: 0.9rem 1.1rem; }
.cb-report-value span { display: block; font-size: 0.8rem; color: var(--cb-gray-soft); }
.cb-report-value strong { font-size: 1.6rem; font-weight: 800; color: var(--cb-navy); }

/* Odometer + checklists */
.cb-report-odo { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.cb-report-odo div { background: #f6f9fc; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); padding: 0.7rem 1.1rem; }
.cb-report-odo span { display: block; font-size: 0.78rem; color: var(--cb-gray-soft); }
.cb-report-odo strong { font-size: 1.1rem; color: var(--cb-navy); }

.cb-report-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.cb-report-checks li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0.2rem;
	border-bottom: 1px solid #eef2f6;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-soft);
}
.cb-check { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; }
.cb-check svg { width: 100%; height: 100%; }

/* Tyres */
.cb-tyre-group { margin-bottom: 1.25rem; }
.cb-tyre-axle { background: var(--cb-blue); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; padding: 0.6rem 1rem; border-radius: var(--cb-radius) var(--cb-radius) 0 0; margin: 0; }
.cb-tyre-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--cb-border); border-top: none; border-radius: 0 0 var(--cb-radius) var(--cb-radius); }
.cb-tyre-pos { font-weight: 700; color: var(--cb-ink); margin: 0 0 0.5rem; }

/* Tread legend */
.cb-tread { margin: 1.25rem 0 0; border: 1px solid var(--cb-border); border-radius: var(--cb-radius); overflow: hidden; }
.cb-tread-title { background: var(--cb-blue); color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; padding: 0.6rem; margin: 0; }
.cb-tread-row { display: flex; gap: 1rem; align-items: center; padding: 0.75rem 1rem; border-top: 1px solid var(--cb-border); }
.cb-tread-range { flex: 0 0 130px; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; padding: 0.35rem 0.6rem; border-radius: 6px; color: #fff; text-align: center; }
.cb-tread-desc { color: var(--cb-ink-muted); font-size: var(--cb-text-sm); }
.cb-tread-row--good .cb-tread-range { background: #1fa97f; }
.cb-tread-row--warn .cb-tread-range { background: #f0a91b; }
.cb-tread-row--bad .cb-tread-range { background: #e0463b; }

/* History report row */
.cb-report-history {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	padding: 1.25rem 1.4rem;
}
.cb-report-file { color: var(--cb-ink-muted); font-size: var(--cb-text-sm); margin: 0.25rem 0 0; }
.cb-report-file span { color: var(--cb-gray-soft); margin-left: 0.5rem; }
.cb-report-history-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cb-report-history-actions .cb-button { padding: 0.6em 1.2em; font-size: var(--cb-text-sm); }

@media (max-width: 768px) {
	.cb-inspect-chips,
	.cb-report-cards,
	.cb-report-addons,
	.cb-report-checks,
	.cb-tyre-pair { grid-template-columns: 1fr; }
	.cb-report-head { flex-direction: column; }
	.cb-report-meta { text-align: left; }
	.cb-tread-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ===========================================================================
 * Become an Inspector page
 * ======================================================================== */

/* Hero */
.cb-inspector-hero {
	background:
		radial-gradient(ellipse at 88% 12%, rgba(68, 119, 189, 0.4) 0%, transparent 55%),
		linear-gradient(160deg, var(--cb-navy) 0%, var(--cb-blue-deep) 100%);
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--cb-gutter);
}

.cb-inspector-badge {
	display: inline-flex;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 12px 30px rgba(8, 20, 38, 0.35);
	margin-bottom: 1.1rem;
}

.cb-inspector-badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Inspector-page accents on shared elements (navy/blue instead of teal) */
.cb-inspector-page .cb-eyebrow--light {
	color: var(--cb-blue-soft);
}

.cb-inspector-page .cb-cta-split-label {
	background: var(--cb-blue);
}

.cb-inspector-hero-inner {
	max-width: var(--cb-container);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr 0.85fr;
	align-items: center;
	gap: clamp(1.5rem, 5vw, 4rem);
}

.cb-inspector-hero-title {
	color: #fff;
	font-weight: 300;
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	line-height: 1.05;
	margin: 1rem 0 0;
}
.cb-inspector-hero-title strong { display: block; font-weight: 800; }
.cb-inspector-hero-title span { display: block; }

.cb-inspector-hero-desc {
	color: rgba(255, 255, 255, 0.85);
	max-width: 36rem;
	margin: 1.25rem 0 1.75rem;
	line-height: 1.7;
}

.cb-inspector-hero-card {
	margin: 0;
	background: #fff;
	border-radius: var(--cb-radius-xl);
	padding: 0.75rem;
	box-shadow: 0 24px 60px rgba(8, 20, 38, 0.35);
}
.cb-inspector-hero-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--cb-radius-lg);
}

/* Why Inspect - connector + icon grid */
.cb-whyi { background: #fff; text-align: center; }
.cb-whyi-heading { text-align: center; }
.cb-whyi-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem 4rem;
	max-width: var(--cb-container);
	margin: 3rem auto 0;
	text-align: left;
}
.cb-whyi-item {
	display: grid;
	grid-template-columns: 88px 1fr;
	column-gap: 1.5rem;
	align-content: start;
}
.cb-whyi-line { grid-column: 1 / -1; width: min(55%, 320px); height: auto; margin-bottom: 0.6rem; }
.cb-whyi-icon {
	grid-column: 1;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(68, 119, 189, 0.12);
	border: 2px solid var(--cb-blue-bright);
	color: var(--cb-navy);
}
.cb-whyi-icon svg { width: 36px; height: 36px; }
.cb-whyi-body h3 { font-size: 1.2rem; color: var(--cb-blue); margin-bottom: 0.4rem; }
.cb-whyi-body p { color: var(--cb-ink-muted); font-size: var(--cb-text-sm); }

/* Inspector app CTA banner */
.cb-inspector-appwrap { background: #fff; }
.cb-inspector-appcta {
	max-width: 1160px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem;
	background:
		radial-gradient(ellipse at 85% 10%, rgba(126, 179, 255, 0.35) 0%, transparent 60%),
		linear-gradient(115deg, var(--cb-blue-deep) 0%, var(--cb-blue-bright) 100%);
	border-radius: var(--cb-radius-xl);
	padding: clamp(1.75rem, 4vw, 2.5rem);
	color: #fff;
}
.cb-inspector-appcta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.4rem; }
.cb-inspector-appcta p { color: rgba(255, 255, 255, 0.88); max-width: 40rem; }

/* Who We're Looking For */
.cb-looking { background: linear-gradient(180deg, var(--cb-cream-200) 0%, var(--cb-cream-50) 100%); }
.cb-looking-inner {
	max-width: var(--cb-container);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: center;
	gap: clamp(1.5rem, 5vw, 3rem);
}
.cb-looking-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.cb-looking-list li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 1rem;
	color: var(--cb-ink-soft);
	font-weight: 600;
}
.cb-looking-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cb-blue);
}
.cb-looking-photo { margin: 0; text-align: center; }
.cb-looking-photo img { width: min(100%, 420px); height: auto; }

/* Ready To Join - illustration steps */
.cb-join-steps { background: #fff; text-align: center; }
.cb-join-heading { text-align: center; }
.cb-join-grid {
	max-width: var(--cb-container);
	margin: 2.75rem auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}
.cb-join-illus { margin: 0 auto 1.25rem; max-width: 180px; }
.cb-join-illus img { width: 100%; height: auto; }
.cb-join-step h3 { font-size: 1.2rem; color: var(--cb-blue); margin-bottom: 0.5rem; }
.cb-join-step p { color: var(--cb-ink-muted); font-size: var(--cb-text-sm); }

/* Join the Team banner */
.cb-jointeam {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(ellipse at 80% 18%, rgba(68, 119, 189, 0.32) 0%, transparent 55%),
		linear-gradient(160deg, var(--cb-navy) 0%, var(--cb-blue-deep) 100%);
	padding: clamp(3rem, 6vw, 4.5rem) var(--cb-gutter) 0;
	min-height: 360px;
	overflow: hidden;
}
.cb-jointeam-content { max-width: 52%; position: relative; z-index: 2; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cb-jointeam-title {
	color: #fff;
	font-weight: 300;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}
.cb-jointeam-title span { display: block; }
.cb-jointeam-desc { color: rgba(255, 255, 255, 0.88); max-width: 34rem; margin: 1.25rem 0 1.75rem; line-height: 1.7; }
.cb-jointeam-photo { position: absolute; right: clamp(1rem, 5vw, 6rem); bottom: 0; height: 92%; width: auto; z-index: 1; }

@media (max-width: 980px) {
	.cb-inspector-hero,
	.cb-looking-inner { grid-template-columns: 1fr; }
	.cb-inspector-hero-card,
	.cb-looking-photo { max-width: 460px; margin-inline: auto; }
	.cb-join-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.cb-whyi-grid { grid-template-columns: 1fr; gap: 2.25rem; }
	.cb-jointeam { padding-bottom: 0; min-height: 0; }
	.cb-jointeam-content { max-width: 100%; }
	.cb-jointeam-photo { position: static; display: block; height: auto; width: min(70%, 300px); margin: 2rem auto 0; }
}

@media (max-width: 560px) {
	.cb-join-grid { grid-template-columns: 1fr; }
}

/* ===========================================================================
 * Legal pages - Inspector Terms numbered clause indents
 * ======================================================================== */
.cb-clause { margin-top: 0.55rem; }
.cb-clause--l2 { padding-left: calc(var(--cb-gutter) + 1.4rem); }
.cb-clause--l3 { padding-left: calc(var(--cb-gutter) + 2.8rem); }
.cb-clause-num { font-weight: 700; color: var(--cb-blue); margin-right: 0.35rem; }

/* ===========================================================================
 * Corporate page - hero, partners, why-partner, pricing, final CTA
 * ======================================================================== */

/* Hero */
.cb-corp-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 85% 8%, rgba(21, 158, 140, 0.32) 0%, transparent 55%),
		radial-gradient(ellipse at 4% 96%, rgba(110, 231, 220, 0.12) 0%, transparent 50%),
		var(--cb-blue);
	padding: clamp(3rem, 7vw, 5.5rem) var(--cb-gutter);
}
.cb-corp-hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--cb-container);
	margin-inline: auto;
}
.cb-corp-hero-title {
	color: #fff;
	font-weight: 800;
	font-size: clamp(2.3rem, 5.2vw, 4rem);
	line-height: 1.05;
	margin: 1rem 0 0;
}
.cb-corp-hero-title span { display: block; font-weight: 300; color: var(--cb-teal-light); }
.cb-corp-hero-desc {
	color: rgba(255, 255, 255, 0.85);
	max-width: 42rem;
	margin: 1.25rem 0 0;
	line-height: 1.7;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.cb-corp-hero-gear {
	position: absolute;
	top: -36px;
	right: -28px;
	width: clamp(150px, 22vw, 260px);
	height: auto;
	opacity: 0.12;
	z-index: 1;
	pointer-events: none;
}

/* Intro strip */
.cb-corp-intro {
	background: #eef3f8;
	padding: clamp(1.5rem, 3vw, 2.25rem) var(--cb-gutter);
}
.cb-corp-intro p {
	max-width: 60rem;
	margin-inline: auto;
	text-align: center;
	color: var(--cb-ink-soft);
	font-size: clamp(1rem, 1.5vw, 1.1rem);
	line-height: 1.7;
}
.cb-corp-intro strong { color: var(--cb-blue); }
.cb-corp-intro-aside { font-size: 0.95rem; opacity: 0.85; margin-top: 0.75rem; }
.cb-corp-intro-aside a { text-decoration: underline; }
.cb-corp-programs-card { max-width: 760px; margin: 0 auto; text-align: center; }
.cb-corp-programs-card .cb-corp-price-desc { font-size: 1.05rem; margin-bottom: 1.25rem; }

/* Shared wrap + headings */
.cb-corp-wrap { max-width: var(--cb-container); margin-inline: auto; }
.cb-corp-h { text-align: center; }
.cb-corp-sub {
	text-align: center;
	max-width: 48rem;
	margin: 1rem auto 0;
	color: var(--cb-ink-muted);
	line-height: 1.7;
}

/* Who We Partner With */
.cb-corp-partners { background: var(--cb-cream-50); }
.cb-corp-partner-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.cb-corp-partner-card {
	background: #fff;
	border: 1px solid rgba(28, 47, 77, 0.08);
	border-radius: var(--cb-radius-lg);
	padding: 1.6rem;
	box-shadow: var(--cb-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cb-corp-partner-card:hover { transform: translateY(-4px); box-shadow: var(--cb-shadow-hover); }
.cb-corp-partner-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--cb-teal) 0%, var(--cb-blue) 100%);
	color: #fff;
	margin-bottom: 1rem;
}
.cb-corp-partner-icon svg { width: 26px; height: 26px; }
.cb-corp-partner-card h3 { font-size: 1.1rem; color: var(--cb-navy); margin: 0 0 0.4rem; }
.cb-corp-partner-card p { color: var(--cb-ink-muted); font-size: var(--cb-text-sm); margin: 0; line-height: 1.6; }
.cb-corp-strap {
	margin: 2.5rem auto 0;
	max-width: 58rem;
	text-align: center;
	background: #eef3f8;
	border-radius: var(--cb-radius);
	padding: 1.25rem 1.5rem;
	color: var(--cb-blue-deep);
	font-weight: 600;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* Why Partner - feature rows */
.cb-corp-why { background: linear-gradient(180deg, var(--cb-cream-100) 0%, var(--cb-cream-50) 100%); }
.cb-corp-features { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.cb-corp-feature {
	display: grid;
	grid-template-columns: 1fr 200px;
	align-items: center;
	gap: clamp(1.5rem, 4vw, 3rem);
	background: #fff;
	border-radius: var(--cb-radius-xl);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	box-shadow: var(--cb-shadow-sm);
}
.cb-corp-feature-body { grid-column: 1; }
.cb-corp-feature-art { grid-column: 2; }
.cb-corp-feature--rev { grid-template-columns: 200px 1fr; }
.cb-corp-feature--rev .cb-corp-feature-body { grid-column: 2; }
.cb-corp-feature--rev .cb-corp-feature-art { grid-column: 1; }
.cb-corp-feature-body h3 {
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	color: var(--cb-blue);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 0.75rem;
}
.cb-corp-feature-body p { color: var(--cb-ink-muted); line-height: 1.7; margin: 0; }
.cb-corp-feature-list { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.cb-corp-feature-list li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.55rem;
	color: var(--cb-ink-soft);
	font-weight: 500;
}
.cb-corp-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cb-teal);
}
.cb-corp-feature-art {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: var(--cb-radius-lg);
	background:
		radial-gradient(ellipse at 70% 20%, rgba(21, 158, 140, 0.18) 0%, transparent 60%),
		linear-gradient(135deg, #eaf3f1 0%, #e7eef6 100%);
	color: var(--cb-blue);
}
.cb-corp-feature-art svg { width: 46%; height: 46%; }
.cb-corp-why-cta { text-align: center; margin-top: 2.5rem; }
.cb-corp-why-cta .cb-cta-split { display: inline-flex; }

/* Pricing */
.cb-corp-pricing { background: #fff; }
.cb-corp-price-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.cb-corp-price-card {
	display: flex;
	flex-direction: column;
	background: var(--cb-off-white);
	border: 1px solid rgba(28, 47, 77, 0.08);
	border-radius: var(--cb-radius-lg);
	padding: 1.75rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cb-corp-price-card:hover { transform: translateY(-4px); box-shadow: var(--cb-shadow-hover); border-color: transparent; }
.cb-corp-price-card h3 { font-size: 1.2rem; color: var(--cb-navy); margin: 0 0 0.5rem; }
.cb-corp-price {
	font-size: clamp(1.9rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: var(--cb-blue);
	margin: 0 0 0.75rem;
	line-height: 1;
}
.cb-corp-price span { font-size: 0.9rem; font-weight: 600; color: var(--cb-ink-muted); }
.cb-corp-price-desc {
	color: var(--cb-ink-muted);
	font-size: var(--cb-text-sm);
	line-height: 1.6;
	margin: 0 0 1.5rem;
	flex: 1;
}
.cb-corp-order {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	align-self: flex-start;
	background: var(--cb-teal-dark);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.82rem;
	padding: 0.6rem 0.65rem 0.6rem 1.1rem;
	border-radius: 999px;
	transition: background 0.2s ease;
}
.cb-corp-order:hover { background: var(--cb-teal-deep); color: #fff; }
.cb-corp-order-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
}

/* Final CTA */
.cb-corp-final {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 82% 18%, rgba(21, 158, 140, 0.3) 0%, transparent 55%),
		linear-gradient(115deg, var(--cb-blue-deep) 0%, var(--cb-blue) 60%, var(--cb-blue-bright) 100%);
	/* Bottom padding = footer overlap, so the bottom-aligned photo/button
	 * always sit clear of the footer's curved-band overlap. */
	padding: clamp(3rem, 6vw, 4.5rem) var(--cb-gutter) var(--cb-band-overlap);
}
.cb-corp-final-inner {
	position: relative;
	z-index: 2;
	max-width: var(--cb-container);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: clamp(1.5rem, 4vw, 3rem);
}
.cb-corp-final-content { max-width: 42rem; }
.cb-corp-final-title {
	color: #fff;
	font-weight: 800;
	font-size: clamp(1.9rem, 4vw, 3rem);
	line-height: 1.1;
	margin: 0;
}
.cb-corp-final-title span { color: var(--cb-teal-light); }
.cb-corp-final-lead {
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
	margin: 1.25rem 0 0;
}
.cb-corp-final-note { color: #fff; margin: 1rem 0 1.75rem; }
.cb-corp-final-note strong { color: var(--cb-teal-light); }
.cb-corp-final-photo {
	align-self: end;
	display: block;
	width: auto;
	height: auto;
	max-height: clamp(280px, 30vw, 400px);
	filter: drop-shadow(0 18px 30px rgba(8, 20, 38, 0.35));
}

@media (max-width: 900px) {
	.cb-corp-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cb-corp-feature,
	.cb-corp-feature--rev { grid-template-columns: 1fr; }
	.cb-corp-feature-body,
	.cb-corp-feature-art,
	.cb-corp-feature--rev .cb-corp-feature-body,
	.cb-corp-feature--rev .cb-corp-feature-art { grid-column: 1; }
	.cb-corp-feature-art { order: -1; width: 120px; aspect-ratio: 1 / 1; }
	.cb-corp-feature-body { order: 0; }
	.cb-corp-final { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
	.cb-corp-final-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.cb-corp-final-content { max-width: 100%; }
	.cb-corp-final-content .cb-cta-split { margin-inline: auto; }
	.cb-corp-final-photo {
		order: 2;
		width: 100%;
		max-width: 300px;
		max-height: none;
		margin-top: 1.5rem;
	}
}

@media (max-width: 560px) {
	.cb-corp-partner-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
 * Login chooser page (/login/) - customer vs inspector
 * ------------------------------------------------------------------------ */
.cb-login {
	background: linear-gradient(180deg, var(--cb-cream-50), #fff);
	padding: clamp(3rem, 8vw, 6rem) var(--cb-gutter);
}

.cb-login-inner {
	max-width: 940px;
	margin: 0 auto;
}

.cb-login-head {
	text-align: center;
	margin-bottom: clamp(2rem, 5vw, 3rem);
}

.cb-login-title {
	font-family: var(--cb-font-heading);
	font-size: var(--cb-text-h1);
	color: var(--cb-navy);
	margin: 0.3rem 0 0.6rem;
}

.cb-login-sub {
	color: var(--cb-gray);
	max-width: 44ch;
	margin: 0 auto;
}

.cb-login-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1rem, 3vw, 1.6rem);
}

.cb-login-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.5rem, 3vw, 2.2rem);
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(28, 47, 77, 0.04);
}

.cb-login-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--cb-border);
}

.cb-login-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 6px;
	display: block;
}

.cb-login-card-body {
	display: block;
}

.cb-login-card-label {
	display: block;
	font-family: var(--cb-font-heading);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cb-gray-soft);
	margin-bottom: 0.3rem;
}

.cb-login-card-title {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--cb-navy);
	margin: 0 0 0.4rem;
}

.cb-login-card-text {
	display: block;
	color: var(--cb-gray);
	font-size: 0.98rem;
	line-height: 1.5;
}

.cb-login-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.8em 1.4em;
	border: 0;
	border-radius: 12px;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.98rem;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease;
}

.cb-login-btn span {
	transition: transform 0.18s ease;
}

.cb-login-btn:hover span {
	transform: translateX(3px);
}

.cb-login-btn--customer {
	background: var(--cb-teal-dark);
}

.cb-login-btn--customer:hover {
	background: var(--cb-teal-deep);
}

.cb-login-btn--inspector {
	background: var(--cb-blue);
}

.cb-login-btn--inspector:hover {
	background: var(--cb-blue-deep);
}

.cb-login-app {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--cb-border);
}

.cb-login-app-label {
	font-family: var(--cb-font-heading);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--cb-gray-soft);
}

.cb-login-app .cb-store-buttons {
	flex-direction: row;
	align-items: stretch;
	gap: 0.6rem;
}

.cb-login-app .cb-store-btn {
	flex: 1 1 0;
	min-width: 0;
	gap: 0.5rem;
	padding: 0.5rem 0.7rem;
	border-radius: 12px;
}

.cb-login-app .cb-store-btn svg {
	width: 20px;
	height: 20px;
}

.cb-login-app .cb-store-btn-text small {
	font-size: 0.52rem;
	letter-spacing: 0.1em;
}

.cb-login-app .cb-store-btn-text strong {
	font-size: 0.82rem;
	line-height: 1.2;
}

.cb-login-foot {
	text-align: center;
	margin-top: clamp(1.5rem, 4vw, 2.4rem);
	color: var(--cb-gray);
}

.cb-login-foot a {
	color: var(--cb-teal-dark);
	font-weight: 600;
}

@media (max-width: 640px) {
	.cb-login-cards {
		grid-template-columns: 1fr;
	}
}

/* Inspector confirmation modal */
.cb-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(15, 23, 38, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.cb-modal[hidden] {
	display: none;
}

.cb-modal.is-open {
	opacity: 1;
}

.cb-modal-card {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 18px;
	padding: clamp(1.6rem, 4vw, 2.2rem);
	text-align: center;
	box-shadow: 0 30px 60px rgba(15, 23, 38, 0.3);
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.cb-modal.is-open .cb-modal-card {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.cb-modal,
	.cb-modal-card {
		transition: none;
	}
}

.cb-modal-icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 1rem;
	background: #fff;
	border: 1px solid var(--cb-border);
}

.cb-modal-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 5px;
	display: block;
}

.cb-modal-title {
	font-family: var(--cb-font-heading);
	font-size: 1.35rem;
	color: var(--cb-navy);
	margin: 0 0 0.6rem;
}

.cb-modal-text {
	color: var(--cb-gray);
	line-height: 1.55;
	margin: 0 0 1.4rem;
}

.cb-modal-actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.cb-modal-actions .cb-login-btn {
	margin-top: 0;
	width: 100%;
}

.cb-modal-cancel {
	background: none;
	border: 0;
	color: var(--cb-gray);
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.6rem;
	cursor: pointer;
}

.cb-modal-cancel:hover {
	color: var(--cb-navy);
}

/* --------------------------------------------------------------------------
 * Contact form + submission notices
 * ------------------------------------------------------------------------ */

/* The outer wrapper must stay a normal constrained content child: the
 * .cb-page-content > * rule gives it the container width, auto margins,
 * and gutter padding, which keeps it aligned with the text column. The
 * card look lives on the form itself. Do not set margin or max-width on
 * .cb-contact-form; that is what pinned it to the viewport edge once. */
.cb-contact-form form {
	max-width: 680px;
	margin: 1.25rem 0 2.5rem;
	background: #fff;
	border: 1px solid #e3eaf1;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.cb-form-row {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.cb-form-row .cb-form-field {
	flex: 1 1 240px;
}

.cb-form-field {
	margin: 0 0 1.25rem;
}

.cb-form-field label {
	display: block;
	font-family: var(--cb-font-heading, inherit);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.01em;
	margin-bottom: 0.45rem;
	color: var(--cb-navy);
}

.cb-contact-form input[type="text"],
.cb-contact-form input[type="email"],
.cb-contact-form input[type="tel"],
.cb-contact-form textarea {
	width: 100%;
	padding: 0.85em 1.1em;
	border: 1.5px solid #d5dfe9;
	border-radius: var(--cb-radius-sm);
	background: #fbfcfd;
	font-family: var(--cb-font-body);
	font-size: 1rem;
	color: var(--cb-navy);
	transition: border-color var(--cb-transition), background var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-contact-form input:focus,
.cb-contact-form textarea:focus {
	outline: none;
	border-color: var(--cb-teal-dark);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(15, 125, 111, 0.14);
}

.cb-contact-form textarea {
	resize: vertical;
	min-height: 9rem;
}

.cb-contact-form .cb-button {
	min-width: 180px;
}

.cb-form-notice {
	max-width: 680px;
	padding: 1em 1.25em;
	border-radius: var(--cb-radius);
	font-weight: 600;
	margin: 1rem 0 1.25rem;
}

.cb-form-notice-ok {
	background: #e6f2f0;
	color: #0c6359;
	border: 1px solid #b8ded7;
}

.cb-form-notice-error {
	background: #fbecec;
	color: #a13030;
	border: 1px solid #edc3c3;
}

/* Honeypot: visually gone, still in the DOM for bots. The field also
 * carries an inline style so it can never render even without this CSS. */
.cb-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
 * Contact page: hero lede + two-column layout (info left, form right)
 * ------------------------------------------------------------------------ */

.cb-contact-hero-lede {
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	max-width: 56ch;
	margin: 0.9rem 0 0;
}

.cb-contact-layout {
	display: grid;
	grid-template-columns: minmax(280px, 2fr) 3fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.cb-contact-layout h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	color: var(--cb-blue-deep);
	margin: 0 0 0.75rem;
}

.cb-contact-info-intro {
	color: var(--cb-blue-muted);
	margin: 0 0 1.75rem;
}

.cb-contact-channel {
	padding: 1.25rem 0;
	border-top: 1px solid #e3eaf1;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.cb-contact-channel-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-contact-channel a,
.cb-contact-channel-value {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--cb-navy);
	text-decoration: none;
	width: fit-content;
}

.cb-contact-channel a:hover {
	color: var(--cb-teal-dark);
}

.cb-contact-channel-note {
	font-size: 0.9rem;
	color: var(--cb-blue-muted);
}

/* Inside the two-column layout the form card fills its column. */
.cb-contact-form-col .cb-contact-form form {
	max-width: none;
	margin-top: 0;
}

@media (max-width: 860px) {
	.cb-contact-layout {
		grid-template-columns: 1fr;
	}

	.cb-contact-form-col {
		margin-top: 0.5rem;
	}
}

/* 404 page */
.cb-404-links {
	list-style: none;
	padding: 0;
	margin: 1rem 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.cb-404-links a {
	font-weight: 600;
	color: var(--cb-teal-dark);
}

/* ---------------------------------------------------------------------------
 * Tablet / phone menu panel: never wider than the screen.
 *
 * On iPad Safari the open panel drifted sideways while scrolling down and
 * hid the right-hand category labels. Cause: the desktop rule keeps every
 * nav link on one line (white-space: nowrap) and the dropdown rows lay the
 * inspection name and its category side by side, so the widest row was
 * wider than the panel; the panel (overflow-y: auto) then also scrolled
 * horizontally, and a finger dragging down drifted it across. The rows now
 * wrap inside the panel, so nothing is wider than the screen - the overflow
 * clamp below only backs that up, it never hides content.
 * ------------------------------------------------------------------------ */
@media (max-width: 1280px) {
	.site-nav,
	.site-nav ul,
	.site-nav li,
	.site-nav .sub-menu {
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.site-nav.is-open {
		overflow-x: hidden;
		overscroll-behavior-x: none;
		/* A finger dragging down the menu can only move it up and down. */
		touch-action: pan-y;
	}

	.site-nav a {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.site-nav .menu-item-row {
		flex-wrap: wrap;
		gap: 0.15rem 1rem;
	}

	.site-nav .menu-item-title {
		flex: 0 1 auto;
		min-width: 0;
	}

	/* Category stays on the right while it fits, drops under the name when
	   it does not - still right-aligned, never off-screen. */
	.site-nav .menu-item-tag {
		margin-left: auto;
		text-align: right;
	}
}

/* Older iPadOS/iOS Safari (before 16) does not understand overflow: clip,
   so the decorative spill that .site-main/.site-footer clip on modern
   browsers can still make the page wider than the screen there - and a
   page wider than the screen is what lets a downward drag pan sideways and
   carry the fixed header (menu included) with it. Clipping the root
   propagates to the viewport, which stays the scroll container, so sticky
   elements keep working. Nothing readable sits outside the screen. */
@supports not (overflow: clip) {
	html {
		overflow-x: hidden;
	}
}

/* ---------------------------------------------------------------------------
 * Pricing where the buying decision is made
 * ------------------------------------------------------------------------ */

/* Inspection page sidebar: category and price under the title, order button
   directly beneath - one buying decision in one place. */
.cb-inspect-sidetag {
	margin: -0.45rem 0 0.9rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-teal-light);
}

.cb-inspect-price {
	/* inline-flex so the plinth hugs the price instead of running the full
	   width of the panel, which is much wider once the sidebar stacks. */
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.15rem 0.7rem;
	margin: 0 0 1.15rem;
	padding: 0.85rem 1.1rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--cb-radius);
}

.cb-inspect-price-tag {
	flex-basis: 100%;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	/* Teal, not dimmed white: the label was washing out against the panel. */
	color: var(--cb-teal-light);
}

.cb-inspect-price-value {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: clamp(2.1rem, 3.4vw, 2.6rem);
	line-height: 1.05;
	color: #fff;
}

.cb-inspect-price-note {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.7);
}

.cb-inspect-split .cb-inspect-price + .cb-cta-split {
	margin-bottom: 1.35rem;
}

/* After the report: the same decision, so nobody scrolls back up to buy. */
.cb-report-cta {
	margin-top: 2.25rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	text-align: center;
	color: #fff;
	background:
		radial-gradient(ellipse at 80% 0%, rgba(21, 158, 140, 0.35) 0%, transparent 55%),
		linear-gradient(150deg, var(--cb-blue) 0%, var(--cb-blue-deep) 100%);
	border-radius: var(--cb-radius-xl);
	box-shadow: 0 18px 44px rgba(8, 20, 38, 0.28);
}

.cb-report-cta .cb-eyebrow { color: var(--cb-teal-light); }

.cb-report-cta-name {
	margin: 0.35rem 0 0.2rem;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	color: #fff;
}

.cb-report-cta-price {
	margin: 0 0 1.25rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.85);
}

.cb-report-cta-price strong {
	font-size: 1.6rem;
	font-weight: 800;
	color: #fff;
	margin-left: 0.35rem;
}

.cb-report-cta .cb-button { background: #fff; color: var(--cb-blue-deep); border-color: #fff; }
.cb-report-cta .cb-button:hover { background: var(--cb-cream); border-color: var(--cb-cream); }

/* Pricing page: every inspection with its price and both next steps. */
.cb-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin: 2rem 0 1.5rem;
}

.cb-pricing-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.4rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

.cb-pricing-tag {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-pricing-name {
	margin: 0.35rem 0 0.75rem;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--cb-navy);
}

.cb-pricing-price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.35rem;
}

.cb-pricing-price .cb-price { font-size: 2.2rem; line-height: 1; }

.cb-pricing-price-tag {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cb-gray-soft);
}

.cb-pricing-meta {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: var(--cb-ink-muted);
}

.cb-pricing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: auto;
}

.cb-pricing-actions .cb-button { padding: 0.65em 1.2em; font-size: var(--cb-text-sm); }

.cb-pricing-note {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	font-size: 0.95rem;
	color: var(--cb-ink-muted);
}

/* ===========================================================================
 * Add-ons
 *
 * The [cb_addons] section (shown wherever inspections are shown), the add-on
 * pages themselves, and the add-on block inside every sample inspection
 * report. Cards reuse the inspection grid's shape so an add-on reads as
 * something you attach to an inspection, not a rival product.
 * ======================================================================== */

.cb-addons {
	margin-top: 3.5rem;
}

.cb-addons-title {
	font-size: var(--cb-text-h2);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: var(--cb-navy);
	margin-top: 0.75rem;
	text-align: center;
}

/* The eyebrow keeps the site's left-aligned dash-and-label form (the live
 * pages render it that way despite the pattern's centre class); the title
 * and intro centre. */
.cb-addons .cb-section-intro { text-align: center; }

.cb-addon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 2rem;
}

.cb-addon-card {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.4rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
	color: inherit;
	text-decoration: none;
	transition: transform var(--cb-transition), box-shadow var(--cb-transition);
}

.cb-addon-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cb-shadow-hover);
	color: inherit;
}

.cb-addon-tag {
	align-self: flex-start;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cb-teal-dark);
}

.cb-addon-name {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--cb-navy);
	margin: 0.5rem 0 0.4rem;
}

.cb-addon-q {
	margin: 0 0 0.5rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--cb-blue-deep, var(--cb-navy));
}

.cb-addon-desc {
	color: var(--cb-ink-muted);
	font-size: var(--cb-text-sm);
	margin: 0 0 1rem;
}

.cb-addon-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.75rem;
	margin: auto 0 1rem;
}

.cb-addon-price {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--cb-navy);
}

.cb-addon-delivery {
	font-size: 0.82rem;
	color: var(--cb-gray-soft);
}

.cb-addon-link {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--cb-teal-dark);
}

.cb-addon-link span {
	display: inline-block;
	transition: transform var(--cb-transition);
}

.cb-addon-card:hover .cb-addon-link span { transform: translateX(4px); }

.cb-addons-foot {
	max-width: 760px;
	margin: 2rem auto 0;
	font-size: 0.95rem;
	color: var(--cb-ink-muted);
}

/* The Add-Ons index page renders the section under its own h1, so the
 * section must not add a second block of top margin. */
.cb-addons-page .cb-addons { margin-top: 2rem; }

/* ---------------------------------------------------------------------------
 * One add-on's page
 * ------------------------------------------------------------------------ */

.cb-addon-detail {
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
	padding: 2rem;
}

.cb-addon-detail-title {
	font-size: var(--cb-text-h2);
	font-weight: 800;
	color: var(--cb-navy);
	margin: 0.5rem 0 0.35rem;
}

.cb-addon-detail-q {
	margin: 0 0 0.75rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--cb-teal-dark);
}

.cb-addon-detail-lead {
	margin: 0 0 1.75rem;
	font-size: 1.02rem;
	color: var(--cb-ink-muted);
}

/* "What's Included" reads as a list of statements, not a two-column
 * checklist of part names, so it keeps one column at every width. */
.cb-report-checks--single { grid-template-columns: 1fr; }

.cb-addon-note {
	margin: 0 0 1.25rem;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-soft);
}

.cb-addon-note strong { color: var(--cb-navy); }

.cb-addon-note--muted { color: var(--cb-gray-soft); }

.cb-addon-steps {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.cb-addon-steps li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: #f6f9fc;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	padding: 1rem 1.2rem;
}

.cb-addon-step-n {
	flex: 0 0 2rem;
	height: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--cb-blue);
	color: #fff;
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 0.95rem;
}

.cb-addon-step-b {
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

.cb-addon-step-b strong {
	display: block;
	color: var(--cb-navy);
	margin-bottom: 0.2rem;
}

/* Sample reports: one row per inspection type. */
.cb-addon-samples {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.cb-addon-sample {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	padding: 1rem 1.25rem;
}

.cb-addon-sample-name {
	margin: 0;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	color: var(--cb-navy);
}

.cb-addon-sample-file {
	margin: 0.2rem 0 0;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

.cb-addon-sample-file span { color: var(--cb-gray-soft); margin-left: 0.5rem; }

.cb-addon-sample-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cb-addon-sample-actions .cb-button { padding: 0.55em 1.1em; font-size: var(--cb-text-sm); }

/* The add-on page's side panel mirrors the inspection pages'. */
.cb-inspect-answer {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--cb-text-sm);
}

.cb-inspect-back {
	margin: 1rem 0 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
}

.cb-inspect-back a { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------------------
 * The add-on block inside a sample inspection report
 * ------------------------------------------------------------------------ */

.cb-report-addon { display: flex; flex-direction: column; }

.cb-report-addon-intro {
	margin: -0.5rem 0 1.1rem;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

.cb-report-addon .cb-addon-tag { margin-bottom: 0.5rem; }

.cb-report-addon-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
}

.cb-report-addon-price {
	font-family: var(--cb-font-heading);
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--cb-teal-dark);
}

.cb-report-addon-desc {
	margin: 0 0 0.9rem;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-muted);
}

.cb-report-addon-call {
	margin: 0 0 0.9rem;
	font-size: var(--cb-text-sm);
	color: var(--cb-ink-soft);
}

.cb-report-addon-call strong { color: var(--cb-navy); }

.cb-report-addon .cb-report-history-actions { margin-top: 0.75rem; }

/* The report's add-on cards are narrow (they sit in the split's main column),
 * so the two buttons share the row rather than stacking. */
.cb-report-addon .cb-report-history-actions .cb-button {
	flex: 1 1 auto;
	text-align: center;
	padding: 0.55em 0.75em;
}

.cb-report-addon .cb-addon-link { margin-top: auto; padding-top: 1rem; }

@media (max-width: 768px) {
	.cb-addon-detail { padding: 1.5rem 1.25rem; }
	.cb-addon-sample,
	.cb-report-addon-title { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
 * Home v2 (team sketch, 2026-10): the /home-new/ page
 *
 * Six sections built from the home2-* patterns: hero with a still photo,
 * intro, regional map, inspection list, partner tiles, recent work. Shared
 * pieces (eyebrow, mixed heading, buttons, why-list) come from above; only
 * the layout that is new to this page lives here.
 * ======================================================================== */

/* Shared two-column rhythm */
.cb-home2-row {
	gap: clamp(2rem, 5vw, 4.5rem);
}

.cb-home2-copy {
	margin-top: 1.1rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--cb-ink-muted);
}

.cb-home2-copy:first-of-type {
	margin-top: 1.4rem;
}

.cb-home2-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

.cb-home2-photo {
	position: relative;
	margin: 0 auto;
	max-width: 520px;
}

.cb-home2-photo img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow);
}

.cb-home2-photo--square img {
	aspect-ratio: 1 / 1;
}

.cb-home2-photo--wide img {
	aspect-ratio: 16 / 10;
}

/* Offset colour plate behind the photo, same device as the why-choose-us rows */
.cb-home2-photo::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 18px;
	left: 18px;
	right: -16px;
	bottom: -16px;
	background: var(--cb-blue-muted);
	border-radius: var(--cb-radius-lg);
}

.cb-home2-photo + .cb-home2-actions {
	justify-content: center;
	margin-top: 2.4rem;
}

/* 1. Hero: still photo in place of the video, proof points under the CTAs */
.cb-hero--v2 {
	padding-top: clamp(3rem, 6vw, 5rem);
}

.cb-hero-photo {
	position: relative;
	margin: 0 auto;
	max-width: 520px;
}

.cb-hero-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--cb-radius-xl);
	box-shadow: var(--cb-shadow-pop);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.cb-hero-photo::before {
	content: "";
	position: absolute;
	inset: -14px;
	border-radius: calc(var(--cb-radius-xl) + 14px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	pointer-events: none;
}

.cb-hero-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.6rem;
	margin: 1.9rem 0 0;
	padding: 0;
	list-style: none;
}

.cb-hero-proof li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.78);
}

.cb-hero-proof li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 11px no-repeat,
		var(--cb-sage);
}

/* 2. Intro: first band after the hero, curved top like the old call strip */
.cb-home2-intro {
	position: relative;
	margin-top: calc(-1 * var(--cb-band-overlap));
	border-radius: var(--cb-band-radius) var(--cb-band-radius) 0 0;
	background: var(--cb-off-white);
}

.cb-home2-intro .cb-why-list {
	margin-top: 1.5rem;
}

/* 3. Region map */
.cb-home2-region {
	background: var(--cb-cream-100);
}

.cb-region-map {
	margin: 0 auto;
	max-width: 480px;
}

.cb-region-map svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--cb-radius-xl);
	box-shadow: var(--cb-shadow);
}

.cb-region-land {
	fill: #eef2e6;
}

.cb-region-water {
	fill: #cfe1f3;
}

.cb-region-island {
	fill: #eef2e6;
}

.cb-region-route {
	fill: none;
	stroke: var(--cb-blue-muted);
	stroke-width: 3;
	stroke-dasharray: 8 8;
	stroke-linecap: round;
}

.cb-region-pin-ring {
	fill: rgba(21, 158, 140, 0.18);
}

.cb-region-pin-dot {
	fill: var(--cb-teal-dark);
	stroke: #fff;
	stroke-width: 3;
}

.cb-region-label {
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 20px;
	fill: var(--cb-navy);
}

.cb-region-water-label {
	font-family: var(--cb-font-body);
	font-style: italic;
	font-size: 15px;
	letter-spacing: 0.08em;
	fill: var(--cb-blue-muted);
}

.cb-region-small {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	fill: var(--cb-gray-soft);
}

.cb-region-cities {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.cb-region-cities li {
	padding: 0.9rem 1rem;
	border-left: 3px solid var(--cb-teal);
	background: #fff;
	border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
}

.cb-region-cities strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-size: 1.02rem;
	color: var(--cb-navy);
}

.cb-region-cities span {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.88rem;
	color: var(--cb-gray-soft);
}

/* 4. Inspection list */
.cb-home2-types {
	background: #fff;
	scroll-margin-top: 5rem;
}

.cb-type-list {
	margin: 1.6rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.cb-type-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius);
	background: var(--cb-off-white);
	color: var(--cb-ink);
	text-decoration: none;
	transition: transform var(--cb-transition), box-shadow var(--cb-transition), border-color var(--cb-transition);
}

.cb-type-link:hover,
.cb-type-link:focus-visible {
	transform: translateY(-2px);
	border-color: var(--cb-teal);
	box-shadow: var(--cb-shadow-hover);
}

.cb-type-icon {
	flex-shrink: 0;
	width: 56px;
	height: 32px;
	padding: 4px 6px;
	border-radius: var(--cb-radius-sm);
	background: rgba(21, 158, 140, 0.12);
	color: var(--cb-teal-dark);
}

.cb-type-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.cb-type-text {
	flex: 1 1 auto;
	min-width: 0;
}

.cb-type-text strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--cb-navy);
}

.cb-type-text small {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.86rem;
	color: var(--cb-gray-soft);
}

.cb-type-arrow {
	flex-shrink: 0;
	font-size: 1.2rem;
	color: var(--cb-teal-dark);
	transition: transform var(--cb-transition);
}

.cb-type-link:hover .cb-type-arrow {
	transform: translateX(4px);
}

.cb-type-more {
	margin-top: 1.1rem;
	font-size: 0.95rem;
}

.cb-type-more a {
	color: var(--cb-teal-dark);
	font-weight: 600;
	text-decoration: none;
}

.cb-type-more a:hover {
	text-decoration: underline;
}

/* 5. Partner tiles */
.cb-home2-partners {
	background: var(--cb-cream-50);
}

.cb-home2-partners .cb-eyebrow {
	display: flex;
	justify-content: center;
}

.cb-home2-partners .cb-eyebrow::before {
	display: none;
}

.cb-partner-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1.1rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.cb-partner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	height: 100%;
	padding: 1.6rem 1.1rem 1.4rem;
	text-align: center;
	text-decoration: none;
	color: var(--cb-ink);
	background: #fff;
	border: 1px solid var(--cb-border);
	border-radius: var(--cb-radius-lg);
	box-shadow: var(--cb-shadow-sm);
	transition: transform var(--cb-transition), box-shadow var(--cb-transition), border-color var(--cb-transition);
}

.cb-partner:hover,
.cb-partner:focus-visible {
	transform: translateY(-4px);
	border-color: var(--cb-blue-mid);
	box-shadow: var(--cb-shadow-hover);
}

.cb-partner-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(48, 94, 140, 0.1);
	color: var(--cb-blue-mid);
}

.cb-partner-icon svg {
	width: 36px;
	height: 36px;
}

.cb-partner strong {
	margin-top: 0.3rem;
	font-family: var(--cb-font-heading);
	font-weight: 700;
	font-size: 1rem;
	color: var(--cb-navy);
}

.cb-partner-desc {
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--cb-gray-soft);
}

.cb-partner-cta {
	margin-top: 2.25rem;
	text-align: center;
}

/* 6. Recent work: last section, so it leaves room for the footer's curve */
.cb-home2-recent {
	background: #fff;
	padding-bottom: calc(var(--cb-section-pad) + var(--cb-band-overlap));
}

.cb-recent-list {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cb-recent-list a {
	display: block;
	padding: 0.8rem 1rem 0.8rem 1.1rem;
	border-left: 3px solid var(--cb-teal);
	background: var(--cb-cream-50);
	border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
	color: var(--cb-ink);
	text-decoration: none;
	transition: background var(--cb-transition), transform var(--cb-transition);
}

.cb-recent-list a:hover,
.cb-recent-list a:focus-visible {
	background: var(--cb-cream-200);
	transform: translateX(3px);
}

.cb-recent-list strong {
	display: block;
	font-family: var(--cb-font-heading);
	font-size: 1rem;
	color: var(--cb-navy);
}

.cb-recent-list span {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.86rem;
	color: var(--cb-gray-soft);
}

.cb-home2-recent .cb-home2-photo--wide {
	max-width: 560px;
}

/* Responsive */
@media (max-width: 1100px) {
	.cb-partner-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.cb-home2-row {
		gap: 2rem;
	}

	.cb-region-cities {
		grid-template-columns: 1fr;
		gap: 0.6rem;
	}
}

@media (max-width: 781px) {
	/* Core stacks columns at this width: image under the text, left aligned */
	.cb-home2-photo,
	.cb-hero-photo,
	.cb-region-map {
		max-width: 100%;
	}

	.cb-home2-photo + .cb-home2-actions {
		justify-content: flex-start;
	}

	.cb-hero--v2 .wp-block-columns {
		flex-direction: column-reverse;
	}

	.cb-hero-photo {
		margin-bottom: 1.5rem;
	}

	.cb-hero-photo img {
		aspect-ratio: 16 / 10;
	}

	.cb-partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.8rem;
	}
}

@media (max-width: 480px) {
	.cb-partner-grid {
		grid-template-columns: 1fr;
	}

	.cb-type-link {
		padding: 0.75rem 0.9rem;
	}

	.cb-type-icon {
		width: 46px;
		height: 28px;
	}
}
