/*
Theme Name: Clunker Busters
Theme URI: https://clunkerbusters.com
Author: TheCodeWork
Description: Custom theme for Clunker Busters - professional vehicle inspections.
Version: 1.19.3
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);
}

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 {
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--cb-gray-soft);
	text-align: right;
}

.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: 1280px) {
	.menu-toggle { display: block; }

	.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. */
		max-height: calc(100vh - 68px);
		max-height: calc(100dvh - 68px);
		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 {
		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--ghost { display: none; }

	.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;
}

.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;
}

.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(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);
}

/* About page - founder hero */
.cb-founder {
	background: var(--cb-blue);
}

.cb-founder-name {
	color: #fff;
	font-size: var(--cb-text-h1);
	font-weight: 800;
	margin-top: 1.5rem;
}

.cb-founder-role {
	color: rgba(255, 255, 255, 0.95);
	font-family: var(--cb-font-body);
	font-weight: 300;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.25;
	margin-top: 0.25rem;
}

.cb-founder-note {
	color: rgba(255, 255, 255, 0.85);
	max-width: 34rem;
	margin-top: 1.75rem;
}

.cb-founder-photo img {
	border-radius: var(--cb-radius-xl);
	width: min(100%, 380px);
	height: auto;
	box-shadow: 0 24px 60px rgba(8, 20, 38, 0.35);
}

.cb-founder-photo {
	text-align: center;
}

/* About page - mission + trust card */
.cb-mission {
	background: linear-gradient(180deg, var(--cb-cream-200) 0%, var(--cb-cream-50) 100%);
}

.cb-mission-card {
	background: #fff;
	border-radius: var(--cb-radius-lg);
	padding: 2.25rem;
	box-shadow: var(--cb-shadow);
}

.cb-mission-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(21, 158, 140, 0.1);
	color: var(--cb-teal-dark);
	margin-bottom: 1rem;
}

.cb-mission-icon svg {
	width: 26px;
	height: 26px;
}

.cb-mission-card h3 {
	font-size: 1.45rem;
	margin-bottom: 0.75rem;
}

.cb-mission-card p {
	color: var(--cb-ink-muted);
}

/* About page - technology cards */
.cb-tech {
	background: var(--cb-off-white);
}

.cb-tech .cb-tech-grid {
	margin-top: 2.75rem;
	gap: 1.75rem;
}

.cb-tech-card {
	background: #fff;
	border: 1px solid #eef1f4;
	border-radius: var(--cb-radius-lg);
	padding: 1.9rem;
	box-shadow: var(--cb-shadow);
}

.cb-tech-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--cb-radius);
	background: #eef2f8;
	color: var(--cb-blue);
	margin-bottom: 1.25rem;
}

.cb-tech-icon svg {
	width: 26px;
	height: 26px;
}

.cb-tech-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

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

/* About page - coverage band with frosted tiles */
.cb-coverage {
	background: var(--cb-blue);
}

.cb-coverage h2 {
	color: #fff;
}

.cb-coverage p {
	color: rgba(255, 255, 255, 0.88);
	margin-top: 1rem;
}

.cb-coverage .cb-button {
	margin-top: 1.5rem;
}

.cb-coverage-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.cb-coverage-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 130px;
	padding: 1.25rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--cb-radius);
	text-align: center;
}

.cb-coverage-icon {
	color: var(--cb-teal-light);
}

.cb-coverage-icon svg {
	width: 26px;
	height: 26px;
}

.cb-coverage-label {
	font-family: var(--cb-font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	color: #fff;
}

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

/* 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 */
.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%);
	padding: clamp(2.5rem, 6vw, 4rem) var(--cb-gutter) clamp(2.5rem, 6vw, 3.5rem);
	text-align: center;
}

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

.cb-inspection-hero-inner { max-width: 760px; margin: 0 auto; }

.cb-inspection-hero-title {
	color: #fff;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 800;
	margin-top: 1rem;
}

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

.cb-inspection-hero-card {
	width: min(100%, 440px);
	margin: 2.25rem auto 0;
	padding: 1rem;
	background: #fff;
	border-radius: var(--cb-radius-xl);
	box-shadow: 0 24px 60px rgba(8, 20, 38, 0.35);
}

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

/* 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;
}

/* ---- 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: 1.5rem;
}

.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);
}

.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; }
.cb-report-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--cb-radius-lg); }
.cb-report-gallery figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--cb-gray-soft); }

/* 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: 1fr 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(21, 158, 140, 0.3) 0%, transparent 55%),
		var(--cb-blue);
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--cb-gutter);
}

.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: var(--cb-sage);
	border: 2px solid var(--cb-plum);
	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(21, 158, 140, 0.3) 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-teal-dark);
}
.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(21, 158, 140, 0.28) 0%, transparent 55%),
		var(--cb-blue);
	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); }

/* 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; }
}
