/**
 * Live chrome — scoped styles for staging header/footer on Divi.
 * Does NOT load Tailwind (avoids preflight fighting Divi page bodies).
 */

/* ---- Hide leftover Divi chrome ---- */
body.c4c-staging-chrome #main-header,
body.c4c-staging-chrome #main-footer,
body.c4c-staging-chrome .et-l--header,
body.c4c-staging-chrome .et-l--footer,
body.c4c-staging-chrome header.et-l,
body.c4c-staging-chrome footer.et-l {
	display: none !important;
}

/* Divi fixed-nav offset */
body.c4c-staging-chrome.et_fixed_nav #page-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ---- Header ---- */
body.c4c-staging-chrome .c4c-hdr {
	position: sticky;
	top: 0;
	z-index: 99999;
	border-bottom: 1px solid #e5e7eb;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 1px 2px rgba(11, 11, 15, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: #0b0b0f;
}

body.c4c-staging-chrome .c4c-hdr a {
	color: inherit;
	text-decoration: none !important;
}

body.c4c-staging-chrome .c4c-hdr__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 80rem;
	margin: 0 auto;
	padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-hdr__inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

body.c4c-staging-chrome .c4c-hdr__logo {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

body.c4c-staging-chrome .c4c-hdr__logo img {
	display: block;
	height: 2.25rem;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	object-position: left center;
}

@media (min-width: 640px) {
	body.c4c-staging-chrome .c4c-hdr__logo img {
		height: 2.5rem;
		max-width: 200px;
	}
}

body.c4c-staging-chrome .c4c-hdr__desktop {
	display: none;
	align-items: center;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-hdr__desktop {
		display: flex;
	}
}

body.c4c-staging-chrome .c4c-hdr__nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

body.c4c-staging-chrome .c4c-hdr__nav a {
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6b7280 !important;
	line-height: 1.25;
	transition: background-color 0.15s ease, color 0.15s ease;
}

body.c4c-staging-chrome .c4c-hdr__nav a:hover {
	background: #f6f7f9;
	color: #0b0b0f !important;
}

body.c4c-staging-chrome .c4c-hdr__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

body.c4c-staging-chrome .c4c-hdr__phone {
	border-radius: 9999px;
	border: 1px solid #e5e7eb;
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #0b0b0f !important;
	line-height: 1.25;
	transition: background-color 0.15s ease;
}

body.c4c-staging-chrome .c4c-hdr__phone:hover {
	background: #f6f7f9;
}

body.c4c-staging-chrome .c4c-hdr__cta {
	border-radius: 9999px;
	background: #b11216 !important;
	padding: 0.625rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff !important;
	line-height: 1.25;
	box-shadow: 0 8px 20px rgba(177, 18, 22, 0.2);
	transition: background-color 0.15s ease;
}

body.c4c-staging-chrome .c4c-hdr__cta:hover {
	background: #8f0e12 !important;
	color: #fff !important;
}

body.c4c-staging-chrome .c4c-hdr__burger {
	display: inline-flex;
	height: 2.5rem;
	width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #0b0b0f;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.15s ease;
}

body.c4c-staging-chrome .c4c-hdr__burger:hover {
	background: #f6f7f9;
}

body.c4c-staging-chrome .c4c-hdr__burger svg {
	display: block;
	height: 1.25rem;
	width: 1.25rem;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-hdr__burger {
		display: none;
	}
}

body.c4c-staging-chrome .c4c-hdr__mobile {
	border-top: 1px solid #e5e7eb;
	background: rgba(255, 255, 255, 0.98);
	padding: 1rem 1.5rem;
}

body.c4c-staging-chrome .c4c-hdr__mobile[hidden] {
	display: none !important;
}

body.c4c-staging-chrome .c4c-hdr__mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

body.c4c-staging-chrome .c4c-hdr__mobile-nav a {
	border-radius: 0.5rem;
	padding: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6b7280 !important;
}

body.c4c-staging-chrome .c4c-hdr__mobile-nav a:hover {
	background: #f6f7f9;
	color: #0b0b0f !important;
}

body.c4c-staging-chrome .c4c-hdr__mobile-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

body.c4c-staging-chrome .c4c-hdr__mobile-actions .c4c-hdr__phone,
body.c4c-staging-chrome .c4c-hdr__mobile-actions .c4c-hdr__cta {
	display: block;
	text-align: center;
}

body.c4c-staging-chrome.cai-nav-open {
	overflow: hidden;
}

/* Skip link */
body.c4c-staging-chrome .c4c-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}

body.c4c-staging-chrome .c4c-skip:focus {
	left: 1rem;
	top: 1rem;
	border-radius: 0.5rem;
	background: #b11216;
	padding: 0.75rem 1rem;
	color: #fff !important;
	text-decoration: none !important;
}

/* ---- Footer ---- */
body.c4c-staging-chrome .c4c-ftr {
	margin-top: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: #0b0b0f !important;
	padding: 4rem 0;
	color: #fff !important;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body.c4c-staging-chrome .c4c-ftr a {
	color: rgba(255, 255, 255, 0.65) !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

body.c4c-staging-chrome .c4c-ftr a:hover {
	color: #fff !important;
}

body.c4c-staging-chrome .c4c-ftr__inner {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-ftr__inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

body.c4c-staging-chrome .c4c-ftr__grid {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-ftr__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
}

body.c4c-staging-chrome .c4c-ftr__brand {
	min-width: 0;
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-ftr__brand {
		grid-column: span 4;
	}
}

body.c4c-staging-chrome .c4c-ftr__logo img {
	display: block;
	height: 2.5rem;
	width: auto;
}

body.c4c-staging-chrome .c4c-ftr__desc {
	margin: 1rem 0 0;
	max-width: 24rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6) !important;
}

body.c4c-staging-chrome .c4c-ftr__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
	max-width: 24rem;
}

body.c4c-staging-chrome .c4c-ftr__social a {
	display: inline-flex;
	height: 2.5rem;
	width: 2.5rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.8) !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.c4c-staging-chrome .c4c-ftr__social a:hover {
	border-color: rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
}

body.c4c-staging-chrome .c4c-ftr__social svg {
	display: block;
	height: 18px;
	width: 18px;
	fill: currentColor;
}

body.c4c-staging-chrome .c4c-ftr__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	min-width: 0;
}

@media (min-width: 640px) {
	body.c4c-staging-chrome .c4c-ftr__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	body.c4c-staging-chrome .c4c-ftr__cols {
		grid-column: span 8;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.c4c-staging-chrome .c4c-ftr__title {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b11216 !important;
}

body.c4c-staging-chrome .c4c-ftr__list {
	list-style: none !important;
	margin: 0.75rem 0 0 !important;
	padding: 0 !important;
	font-size: 0.875rem;
}

body.c4c-staging-chrome .c4c-ftr__list li {
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
	list-style: none !important;
}

body.c4c-staging-chrome .c4c-ftr__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45) !important;
}

@media (min-width: 640px) {
	body.c4c-staging-chrome .c4c-ftr__bottom {
		flex-direction: row;
	}
}

body.c4c-staging-chrome .c4c-ftr__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.45) !important;
}

body.c4c-staging-chrome .c4c-ftr__legal {
	display: flex;
	gap: 1rem;
}

body.c4c-staging-chrome .c4c-ftr__legal a {
	color: rgba(255, 255, 255, 0.45) !important;
}

body.c4c-staging-chrome .c4c-ftr__legal a:hover {
	color: #fff !important;
}

/* Migrated home: main content is Click4Corp template inside #et-main-area */
body.c4c-migrated-page #et-main-area > main {
	display: block;
	width: 100%;
}

/* Divi link styles fight Tailwind utilities — force pill CTAs only (not client cards) */
body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="bg-brand-primary"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #b11216 !important;
	color: #fff !important;
	padding: 0.875rem 1.75rem !important;
	border-radius: 9999px !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(177, 18, 22, 0.2) !important;
	border: none !important;
}

body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="bg-brand-primary"]:hover {
	background-color: #8f0e12 !important;
	color: #fff !important;
}

body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-border"][class*="bg-white"],
body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-border"][class*="bg-transparent"],
body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-white"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0.875rem 1.75rem !important;
	border-radius: 9999px !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
}

body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-border"][class*="bg-white"],
body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-border"][class*="bg-transparent"] {
	background-color: #fff !important;
	border: 1px solid #e5e7eb !important;
	color: #0b0b0f !important;
}

body.c4c-migrated-page #main-content a[class*="rounded-full"][class*="border-white"] {
	background-color: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	color: #fff !important;
}
