/* =====================
   SERVICES HUB — page-specific styles.
   Cred-bar and CTA-section are shared in style.css and are NOT redefined here.
   ===================== */

/* =====================
   HERO — charcoal gradient, centered, asymmetric weight vs. homepage
   ===================== */
.hero {
	background: linear-gradient(155deg, #050d24 0%, #091e52 40%, #0f2868 70%, #07183e 100%);
	color: #fff;
	padding: calc(84px + 7vw) clamp(24px, 3.33vw, 80px) 7vw;
	text-align: center;
}
.hero-inner {
	max-width: clamp(680px, 57vw, 1100px);
	margin: 0 auto;
}
.hero-eyebrow {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(11px, 0.73vw, 16px);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 28px 0;
}
.hero-h1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(38px, 4.58vw, 100px);
	letter-spacing: 0.04em;
	line-height: 1.0;
	color: #fff;
	text-transform: uppercase;
	margin: 0 0 1.65vw 0;
}
.hero-sub {
	font-size: clamp(15px, 0.89vw, 20px);
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.85);
	max-width: clamp(480px, 35vw, 720px);
	margin: 0 auto;
}

/* =====================
   FULL-BLEED CATEGORY SECTION PATTERN
   Three category sections (Weekly, Equipment, Specialty) share this
   architecture. Photo full-bleeds to the viewport edge on its side; copy
   stays inside the container. Alternation is controlled by the
   .cat-section-photo-right / .cat-section-photo-left modifier, passed in
   from template-parts/services-category-section.php via the photo_side arg.
   ===================== */
.cat-section {
	position: relative;
	padding: 0;
	overflow: hidden;
}
.cat-section-weekly { background: var(--white); }
.cat-section-equipment { background: var(--alt); }
.cat-section-specialty { background: var(--white); }

.cat-section-inner {
	display: grid;
	align-items: stretch;
	gap: 0;
}

/* Photo-RIGHT layout (Weekly + Specialty) */
.cat-section-photo-right .cat-section-inner {
	grid-template-columns: 1fr 1fr;
}
.cat-section-photo-right .cat-copy { grid-column: 1 / 2; }
.cat-section-photo-right .cat-photo { grid-column: 2 / 3; }
.cat-section-photo-right .cat-copy-inner {
	max-width: 680px;
	margin-left: auto;
	padding-left: clamp(48px, 5vw, 96px);
	padding-right: clamp(48px, 5vw, 80px);
}

/* Photo-LEFT layout (Equipment) */
.cat-section-photo-left .cat-section-inner {
	grid-template-columns: 1fr 1fr;
}
.cat-section-photo-left .cat-photo { grid-column: 1 / 2; }
.cat-section-photo-left .cat-copy { grid-column: 2 / 3; }
.cat-section-photo-left .cat-copy-inner {
	max-width: 680px;
	margin-right: auto;
	padding-left: clamp(48px, 5vw, 80px);
	padding-right: clamp(48px, 5vw, 96px);
}

.cat-copy {
	padding-top: clamp(56px, 5vw, 96px);
	padding-bottom: clamp(56px, 5vw, 96px);
	min-height: clamp(360px, 45vw, 720px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* photo column — full-bleed, fills section height */
.cat-photo {
	position: relative;
	background-color: #0a1521;
	background-image: linear-gradient(155deg, rgba(2,52,143,0.25) 0%, rgba(3,151,214,0.15) 60%, transparent 100%);
	min-height: clamp(360px, 45vw, 720px);
	overflow: hidden;
}
.cat-photo-equipment {
	background-image: linear-gradient(155deg, rgba(2,52,143,0.20) 0%, rgba(3,151,214,0.12) 60%, transparent 100%);
}
.cat-photo-specialty {
	background-image: linear-gradient(155deg, rgba(2,52,143,0.25) 0%, rgba(0,201,80,0.10) 50%, rgba(3,151,214,0.15) 100%);
}
.cat-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* =====================
   CAT-COPY shared content styling
   ===================== */
.cat-copy-eyebrow {
	font-family: var(--font-body);
	font-size: var(--text-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--arctic);
	margin-bottom: 14px;
}
.cat-copy-headline {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.05;
	color: var(--navy);
	text-transform: uppercase;
	font-size: var(--text-section-headline);
	margin-bottom: 14px;
}
.cat-copy-rule {
	width: 48px;
	height: 3px;
	background: var(--arctic);
	margin-bottom: 16px;
}
.cat-copy-intro {
	font-family: var(--font-body);
	font-size: var(--text-body);
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 24px;
}

/* =====================
   CAT-CTA-ROW — shared CTA pattern below copy in each category section
   ===================== */
.cat-cta-row {
	margin-top: 32px;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.section-cta-btn {
	display: inline-flex;
	align-items: center;
	background: var(--navy);
	color: #fff;
	font-family: var(--font-body);
	font-size: var(--text-btn);
	font-weight: 800;
	padding: 18px 36px;
	border-radius: 3px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	white-space: nowrap;
}
.section-cta-btn:hover {
	background: var(--ocean);
	transform: translateY(-1px);
}

/* =====================
   CATCH-ALL BAND — between the last category section and the FAQ
   ===================== */
.catchall-band {
	background: var(--charcoal);
	padding: 28px var(--fs-section-x);
}
.catchall-inner {
	max-width: var(--fs-container);
	margin: 0 auto;
	text-align: center;
}
.catchall-text {
	font-family: var(--font-body);
	font-size: var(--text-body);
	font-weight: 500;
	color: #fff;
	line-height: 1.5;
}
.catchall-text a {
	color: #fff;
	font-weight: 700;
	border-bottom: 2px solid #fff;
	padding-bottom: 1px;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}
.catchall-text a:hover {
	color: var(--arctic);
	border-color: var(--arctic);
}

/* =====================
   FAQ — plus/minus accordion, white background
   ===================== */
.faq-section {
	background: var(--white);
	padding: var(--fs-section-y) var(--fs-section-x);
}
.faq-frame {
	max-width: clamp(680px, 72vw, 1000px);
	margin: 0 auto;
}
.faq-card {
	background: var(--white);
	padding: 48px 48px;
	border-radius: 4px;
	border: 1px solid var(--line);
}
.faq-header {
	text-align: left;
	margin-bottom: clamp(40px, 3vw, 56px);
}
.faq-eyebrow {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--text-eyebrow);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--arctic);
	margin: 0 0 16px 0;
}
.faq-headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-section-headline);
	letter-spacing: 0.04em;
	line-height: 1.05;
	color: var(--navy);
	text-transform: uppercase;
	margin: 0;
}
.faq-list {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.faq-item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.faq-trigger {
	width: 100%;
	background: transparent;
	border: none;
	-webkit-appearance: none;
	appearance: none;
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: clamp(17px, calc(0.2vw + 16px), 19px);
	font-weight: 600;
	color: var(--charcoal);
	text-align: left;
	letter-spacing: -0.005em;
	line-height: 1.4;
	transition: color 0.2s;
}
.faq-trigger:hover {
	color: var(--navy);
}
.faq-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-left: 24px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	background: var(--arctic);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-icon::before {
	width: 14px;
	height: 2px;
}
.faq-icon::after {
	width: 2px;
	height: 14px;
}
.faq-item.open .faq-icon::after {
	transform: rotate(90deg);
}
.faq-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-body-inner {
	padding: 0 0 26px;
	font-family: var(--font-body);
	font-size: clamp(15.5px, calc(0.18vw + 14.7px), 17px);
	line-height: 1.7;
	color: var(--muted);
	max-width: 760px;
}
.faq-body-inner p {
	margin-bottom: 12px;
}
.faq-body-inner p:last-child {
	margin-bottom: 0;
}
.faq-body-inner a {
	color: var(--navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}
.faq-body-inner a:hover {
	color: var(--ocean);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
	.cat-section-photo-right .cat-section-inner,
	.cat-section-photo-left .cat-section-inner {
		grid-template-columns: 1fr;
	}
	.cat-section-photo-right .cat-photo,
	.cat-section-photo-left .cat-photo {
		grid-column: 1 / 2;
		aspect-ratio: 16 / 10;
		min-height: 0;
		width: 100%;
		order: -1;
	}
	.cat-section-photo-right .cat-copy,
	.cat-section-photo-left .cat-copy {
		grid-column: 1 / 2;
		padding-left: var(--fs-section-x);
		padding-right: var(--fs-section-x);
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

@media (max-width: 760px) {
	.hero { padding: 120px 24px 80px; }
	.hero-h1 { font-size: clamp(32px, 6.5vw, 44px); }
	.cat-section-photo-right .cat-copy,
	.cat-section-photo-left .cat-copy {
		padding: 64px 24px 56px;
	}
	.faq-section { padding: 80px 24px; }
	.faq-card { padding: 32px 24px; }
	.cat-cta-row { flex-direction: column; align-items: stretch; gap: 16px; }
	.section-cta-btn { justify-content: center; }
}

@media (max-width: 480px) {
	.hero-eyebrow { margin-bottom: 18px; letter-spacing: 0.22em; }
	.hero-h1 { font-size: 30px; line-height: 1.1; }
	.hero-sub { font-size: 15px; }
}


/* Closing CTA on a light #EEF1F6 band: the section above it is white, so the CTA
   ends in colour to separate cleanly from it (matches the mockup rhythm rule). */
.cta-section { background: var(--alt); border-top: none; border-bottom: none; }
