/* Moses Enterprise — primary matches logo blue (#1E3A5F) */

:root {
	--primary: #1e3a5f;
	--secondary: #252525;
	--primary-hover: #2a5080;
	--primary-dark: #152a47;

	--rgba-primary-1: rgba(30, 58, 95, 0.1);
	--rgba-primary-2: rgba(30, 58, 95, 0.2);
	--rgba-primary-3: rgba(30, 58, 95, 0.3);
	--rgba-primary-4: rgba(30, 58, 95, 0.4);
	--rgba-primary-5: rgba(30, 58, 95, 0.5);
	--rgba-primary-6: rgba(30, 58, 95, 0.6);
	--rgba-primary-7: rgba(30, 58, 95, 0.7);
	--rgba-primary-8: rgba(30, 58, 95, 0.8);
	--rgba-primary-9: rgba(30, 58, 95, 0.9);

	--theme-text-color: #fff;
	--title: #232323;
}

:root,
[data-bs-theme=light] {
	--bs-primary: #1e3a5f;
	--bs-primary-rgb: 30, 58, 95;
	--bs-primary-text-emphasis: #0f1e32;
	--bs-primary-bg-subtle: #e8ecf2;
	--bs-primary-border-subtle: #b8c4d4;
	--bs-link-color: #1e3a5f;
	--bs-link-color-rgb: 30, 58, 95;
	--bs-link-hover-color: #152a47;
	--bs-link-hover-color-rgb: 21, 42, 71;
	--bs-focus-ring-color: rgba(30, 58, 95, 0.25);
}

[data-bs-theme=dark] {
	--bs-primary-text-emphasis: #8fa3bc;
	--bs-primary-bg-subtle: #0f1e32;
	--bs-primary-border-subtle: #2a5080;
	--bs-link-color: #a3b8d4;
	--bs-link-hover-color: #c5d2e5;
	--bs-link-color-rgb: 163, 184, 212;
	--bs-link-hover-color-rgb: 197, 210, 229;
}

/* Preloader: full-screen logo blue; bar readable on same hue */
#loading-area,
#loading-area.loading-page-1 {
	background: var(--primary) !important;
}

.loading-page-1 .loading-area p {
	color: #fff !important;
}

.loading-page-1 .loading-area span {
	background-color: rgba(255, 255, 255, 0.28) !important;
}

.loading-page-1 .loading-area span:before {
	background-color: #fff !important;
}

/* Footer: full stacked mark is navy on white — give it a light plate on dark footer */
.site-footer.style-1 .footer-logo.footer-logo-stacked a {
	width: auto;
	max-width: 220px;
	padding: 12px 14px;
	background: #fff;
	border-radius: 4px;
}
.site-footer.style-1 .footer-logo.footer-logo-stacked img {
	max-height: 120px;
	width: auto;
	max-width: 100%;
}

/* Services page — Central City–style grid (intro + bordered blocks + bullets) */
.services-cct-wrap {
	padding-top: 50px;
	padding-bottom: 70px;
}

.services-cct-wrap .services-cct-lead {
	max-width: 900px;
	margin: 0 auto 3rem;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.65;
	color: #444;
	font-weight: 500;
}

.services-cct-wrap .service-block-cct {
	padding: 1.75rem 1.75rem 1.5rem;
	margin-bottom: 0;
	height: auto;
	background: #f8f9fb;
	border-left: 4px solid var(--primary);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.services-cct-wrap .service-block-cct h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary);
	text-transform: none;
	line-height: 1.3;
}

.services-cct-wrap .service-block-cct ul {
	margin: 0;
	padding-left: 1.2rem;
}

.services-cct-wrap .service-block-cct li {
	margin-bottom: 0.45rem;
	line-height: 1.55;
	color: #333;
}

.services-cct-wrap .service-block-cct li:last-child {
	margin-bottom: 0;
}

.services-cct-wrap .row > [class*="col-"] > .service-block-cct.w-100 {
	height: 100%;
}

.services-cct-wrap .service-block-cct p {
	margin-bottom: 0.65rem;
	line-height: 1.55;
	color: #333;
}

.services-cct-wrap .service-block-cct p.service-block-cct-intro {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.services-cct-wrap .service-block-cct .service-block-cct-email {
	margin-right: 0.35rem;
}

.services-cct-cta {
	padding: 55px 0;
	background: var(--primary);
	color: #fff;
	text-align: center;
}

.services-cct-cta h2 {
	color: #fff;
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
}

.services-cct-cta p {
	margin-bottom: 1.25rem;
	opacity: 0.95;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.services-cct-cta .btn {
	background: #fff;
	color: var(--primary);
	border-color: #fff;
}

.services-cct-cta .btn:hover {
	background: rgba(255, 255, 255, 0.92);
	color: var(--primary-dark);
	border-color: rgba(255, 255, 255, 0.92);
}

/* Home: “subscribe” band overlapped services grid after portfolio strip was removed */
.subscribe-area.subscribe-area-flush {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.subscribe-area-flush.content-inner {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.subscribe-area-flush .subscribe-content.subscribe-content-divider-only {
	border-top: 1px dashed rgba(255, 255, 255, 0.7);
	padding-top: 36px;
	padding-bottom: 36px;
}

@media only screen and (max-width: 991px) {
	.subscribe-area-flush .subscribe-content.subscribe-content-divider-only {
		padding-top: 28px;
		padding-bottom: 28px;
	}
}

/* Divider strip: full-bleed photo with tint so dashed rule stays visible */
.subscribe-area-flush.subscribe-area-gravel-bg {
	background-size: cover;
	background-position: center 36%;
	background-repeat: no-repeat;
	position: relative;
}

.subscribe-area-flush.subscribe-area-gravel-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	pointer-events: none;
}

.subscribe-area-flush.subscribe-area-gravel-bg .container {
	position: relative;
	z-index: 1;
}

/* Home: above FAQ — split strip: dump truck + crushed gravel between hero truck block and FAQ */
.home-pre-faq-split-half {
	min-height: clamp(104px, 22vw, 220px);
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

.home-pre-faq-split-half.home-pre-faq-split-half--gravel {
	background-position: center center;
}

.home-pre-faq-split-rule.subscribe-content-divider-only {
	margin-top: -1px;
}

/* About: project type photos */
.project-type-card .project-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #e8ecf2;
}

.project-type-card .project-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Header: phone & email above logo / menu (matches header inner width) */
.site-header.style-1 .moses-header-contact-strip,
.moses-header-contact-strip {
	background: #fff;
	border-bottom: 1px solid rgba(30, 58, 95, 0.1);
	width: 100%;
	float: none;
	clear: both;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	box-sizing: border-box;
}

.site-header.style-1 .moses-header-contact-inner,
.moses-header-contact-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	/* One row: phone | vertical rule | email — avoid wrap that turns <hr> into a wide horizontal bar */
	flex-wrap: nowrap;
	column-gap: 1.25rem;
	row-gap: 0;
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	float: none;
	box-sizing: border-box;
	padding: 12px clamp(12px, 1.25vw, 20px);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.moses-header-contact-link {
	color: #1b314d;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	white-space: nowrap;
}

.moses-header-contact-link:hover {
	color: var(--primary);
}

/* Tall thin rule between phone and email (vertical line, not a flat horizontal bar) */
.moses-header-contact-inner .moses-header-contact-vsep {
	display: block;
	width: 1px;
	height: 1.2em;
	flex: 0 0 auto;
	align-self: center;
	background: rgba(30, 58, 95, 0.4);
	margin: 0;
	padding: 0;
	overflow: hidden;
}

@media only screen and (max-width: 575px) {
	.site-header.style-1 .moses-header-contact-inner,
	.moses-header-contact-inner {
		font-size: 13px;
		column-gap: 0.85rem;
	}

	.moses-header-contact-inner .moses-header-contact-vsep {
		height: 1.05em;
	}

	.moses-header-contact-link span {
		white-space: normal;
	}
}

/* Home stats strip (ic-content-bx.style-3): gravel macro read as “huge rocks”; truck needs a taller source/crop.
   Hero truck JPG is 1920×1000 — shows more vehicle at this object-fit than the ultra-wide 1920×640 divider export. */
.ic-content-bx.style-3 .video-bx.content-media.style-2 {
	min-height: 480px;
}
.ic-content-bx.style-3 .video-bx.content-media.style-2 img {
	min-height: 480px;
	object-position: center 42%;
}
@media only screen and (max-width: 991px) {
	.ic-content-bx.style-3 .video-bx.content-media.style-2 {
		min-height: 380px;
	}
	.ic-content-bx.style-3 .video-bx.content-media.style-2 img {
		min-height: 380px;
		object-position: center 40%;
	}
}
