:root {
	--bs-primary: #57613a;
	--rig-dark: #2D3436;
	--rig-accent: #5B6B4A;
	--rig-accent-hover: #4A5A3B;
	--rig-gold: #B5975B;
	--rig-light: #F4F6F8;
	--rig-muted: #6C757D;
	--rig-body: #1F2937;
	--rig-footer-bg: #1A1F25;
	--bs-border-color: #D8DEE4;
	--bs-body-bg: #FFFFFF;
	--bs-body-color: #1F2937;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
	background-color: var(--bs-body-bg);
	color: var(--bs-body-color);
}

h1, h2, h3, h4, h5 {
	color: var(--rig-dark);
	font-weight: 600;
}

.section-muted {
	background-color: #181f27;
	color: #E5E7EB;
}

.section-muted .section-subtitle {
	color: #9CA3AF;
}

.section-muted .section-heading {
	color: #fff;
}

.section-muted .fw-semibold {
	color: #fff;
}

.section-muted .text-secondary {
	color: #9CA3AF !important;
}

/* ---------- Brand ---------- */
.rig-brand-text {
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	color: var(--rig-dark);
	line-height: 1.2;
}

/* ---------- Section typography ---------- */
.section-subtitle {
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--rig-muted);
	margin-bottom: 0.25rem;
}

.section-heading {
	font-weight: 700;
	color: var(--rig-dark);
}

/* ---------- Accent color ---------- */
.text-accent {
	color: var(--rig-accent);
}

.rig-icon-accent {
	color: var(--rig-accent);
}

.rig-accent-bar {
	width: 48px;
	height: 4px;
	background-color: var(--rig-accent);
	border-radius: 2px;
}

/* ---------- Hero ---------- */
.rig-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	background-image: linear-gradient(
		to left,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.5) 40%,
		rgba(0, 0, 0, 0) 70%
	), var(--rig-hero-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.rig-hero-content {
	padding: 3.5rem 2rem 3.5rem 0;
	max-width: 560px;
}

.rig-hero-heading {
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.rig-hero-lead {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.rig-hero-divider {
	width: 48px;
	height: 3px;
	background-color: var(--rig-gold);
	margin-bottom: 1.25rem;
}

.rig-hero-tagline {
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 0;
}

/* ---------- Service cards ---------- */
.card {
	border: 1px solid var(--bs-border-color);
	box-shadow: 0 6px 20px rgba(15, 31, 46, 0.06);
}

.rig-service-card {
	border-radius: 16px;
	transition: transform 160ms ease, box-shadow 160ms ease;
	will-change: transform;
}

.rig-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(15, 31, 46, 0.14);
}

@media (prefers-reduced-motion: reduce) {
	.rig-service-card {
		transition: none;
	}
	.rig-service-card:hover {
		transform: none;
	}
}

/* ---------- Why section icons ---------- */
.rig-why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: rgba(91, 107, 74, 0.12);
	color: var(--rig-accent);
	font-size: 1.5rem;
}

.btn-primary {
	background-color: #57613a;
	border-color: #57613a;
	color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	background-color: #4a532f;
	border-color: #4a532f;
	color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
	transition: background-color 280ms ease, border-color 280ms ease,
		color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(15, 31, 46, 0.18);
}

.btn-outline-dark {
	border-width: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.btn, .btn:hover {
		transition: none;
		transform: none;
		box-shadow: none;
	}
}

/* ---------- Footer ---------- */
.rig-footer {
	background-color: var(--rig-footer-bg);
	color: #E5E7EB;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rig-footer-logo {
	filter: brightness(0) invert(1);
}

.rig-footer-brand {
	font-weight: 700;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	color: #fff;
	line-height: 1.3;
}

.rig-footer-muted {
	color: #9CA3AF;
}

.rig-footer-link {
	color: #9CA3AF;
	transition: color 200ms ease;
}

.rig-footer-link:hover {
	color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
	.rig-hero {
		min-height: 400px;
		background-position: left center;
		background-image: var(--rig-hero-image);
	}
	.rig-hero-content {
		padding: 2rem 1.5rem;
	}
	.rig-hero-heading {
		font-size: 2rem;
	}
}

@media (max-width: 575.98px) {
	.rig-hero-heading {
		font-size: 1.6rem;
	}
	.rig-hero-content {
		padding: 1.5rem 1rem;
	}
}
