/**
 * Single Service page styles
 *
 * 1. Layout
 * 2. Sidebar
 * 3. Content — hero, checklist, steps, gallery, pricing table, callout, CTA
 * 4. Related Services
 * 5. Responsive
 */

/* ============================ LAYOUT ============================ */
.service-detail {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
/* The design splits the row 360 / 940 with a 60px gutter (nodes 2010:9204 and
   2010:9255 inside MAIN), narrower than Bootstrap's own col-lg-4 / col-lg-8.
   Widths reset to full-width in the RESPONSIVE block below. */
.service-detail__row {
	--bs-gutter-x: 3.75rem;
}
.service-sidebar {
	width: 29.6%;
}
.service-content {
	width: 70.4%;
}

/* ============================ SIDEBAR ============================ */
.service-sidebar__widget {
	border: 1px solid var(--border-color);
	padding: 1.6rem;
	margin-bottom: 1.5rem;
	position: relative;
}
.service-sidebar__title {
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: -0.3px;
	padding-bottom: 0.9rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid var(--border-color);
	position: relative;
}
.service-sidebar__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 52px;
	height: 2px;
	background: var(--color-accent-red);
}
.service-sidebar__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.service-sidebar__list-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--color-light-bg);
	color: var(--heading-color);
	font-weight: 600;
	font-size: 0.8125rem;
	padding: 0.8rem 1rem;
	text-decoration: none;
}
.service-sidebar__list-link:hover {
	color: var(--color-accent-red);
}
.service-sidebar__list-link--active,
.service-sidebar__list-link--active:hover {
	background: var(--color-accent-red);
	color: #fff;
}
.service-sidebar__list-arrow {
	opacity: 0.5;
}
.service-sidebar__list-link--active .service-sidebar__list-arrow {
	opacity: 1;
}

.service-sidebar__download {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	border: 1px solid var(--border-color);
	padding: 0.875rem 1rem;
	font-weight: 700;
	font-size: 0.8125rem;
	color: var(--heading-color);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	background: transparent;
	width: 100%;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.35s ease, border-color 0.35s ease;
}
.service-sidebar__download::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--color-accent-red);
	transform: translateX(-101%);
	transition: transform 0.35s ease;
	z-index: 0;
}
.service-sidebar__download:enabled:hover::before,
.service-sidebar__download:enabled:focus-visible::before {
	transform: translateX(0);
}
.service-sidebar__download:enabled:hover,
.service-sidebar__download:enabled:focus-visible {
	color: #fff;
	border-color: var(--color-accent-red);
}
.service-sidebar__download:enabled:hover .service-sidebar__download-icon,
.service-sidebar__download:enabled:focus-visible .service-sidebar__download-icon {
	color: #fff;
	transform: translateY(-2px);
}
.service-sidebar__download:disabled {
	cursor: default;
	opacity: 0.55;
}
.service-sidebar__download + .service-sidebar__download {
	margin-top: 0.75rem;
}
.service-sidebar__download-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--color-accent-red);
	position: relative;
	z-index: 1;
	transition: color 0.35s ease, transform 0.35s ease;
}
.service-sidebar__download-label {
	position: relative;
	z-index: 1;
}
.service-sidebar__download-icon svg {
	width: 100%;
	height: 100%;
}

.service-sidebar__urgent {
	position: relative;
	overflow: hidden;
	padding: 2.25rem 1.75rem;
	text-align: center;
	background: var(--color-nav-bg);
}
.service-sidebar__urgent-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.service-sidebar__urgent-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.84);
}
.service-sidebar__urgent-content {
	position: relative;
}
.service-sidebar__urgent-heading {
	color: #fff;
	font-weight: 800;
	font-size: 1.1875rem;
	letter-spacing: -0.3px;
	margin-bottom: 0.5rem;
}
.service-sidebar__urgent-text {
	color: var(--color-muted);
	font-size: 0.8125rem;
	margin-bottom: 0.5rem;
}
.service-sidebar__urgent-phone {
	display: block;
	color: var(--color-accent-red);
	font-weight: 800;
	font-style: italic;
	font-size: 1.375rem;
	margin-bottom: 0.75rem;
	text-decoration: none;
}
.service-sidebar__urgent-cta {
	display: block;
	background: var(--color-accent-red);
	color: #fff;
	font-weight: 700;
	font-size: 0.8125rem;
	padding: 0.8rem 1.5rem;
}
.service-sidebar__urgent-cta:hover {
	background: var(--background-color);
	color: #000;
}

.service-sidebar__hours-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 0.625rem;
	border-bottom: 1px dashed var(--border-color);
}
.service-sidebar__hours-row:last-child {
	border-bottom: 0;
}
.service-sidebar__hours-label {
	font-weight: 900;
	font-size: 0.8125rem;
}
.service-sidebar__hours-value {
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--text-color-muted);
}

/* ============================ CONTENT ============================ */
.service-content__hero {
	position: relative;
	margin-bottom: 1.5rem;
}
.service-content__hero-img {
	width: 100%;
	height: clamp(260px, 34vw, 480px);
	object-fit: cover;
}
.service-content__hero-tag {
	position: absolute;
	top: 0;
	left: 0;
	background: var(--color-accent-red);
	color: #fff;
	font-weight: 700;
	font-size: 0.6875rem;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	padding: 0.6rem 1.1rem;
}

.service-content__intro {
	border-left: 4px solid var(--color-accent-red);
	padding: 0.75rem 0 0.75rem 1.375rem;
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.service-content__h2 {
	font-weight: 800;
	font-size: clamp(1.375rem, 2.4vw, 1.625rem);
	letter-spacing: -0.3px;
	color: var(--heading-color);
	margin: 2rem 0 0.75rem;
}
.service-content__h3 {
	font-weight: 800;
	font-size: 1.1875rem;
	letter-spacing: -0.3px;
	color: var(--heading-color);
	margin: 1.75rem 0 0.5rem;
}
.service-content__text {
	font-size: 1.125rem;
	color: var(--text-color-muted);
	line-height: 1.5;
	margin-bottom: 1rem;
}

.service-content__checks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem 1.875rem;
	margin: 0.5rem 0 1rem;
}
.service-content__check {
	position: relative;
	padding-left: 2rem;
	font-size: 0.875rem;
}
.service-content__check-icon {
	position: absolute;
	left: 0;
	top: 0;
	width: 17px;
	height: 17px;
	color: var(--color-accent-red);
}
.service-content__check-icon svg {
	width: 100%;
	height: 100%;
}
.service-content__check-title {
	font-weight: 700;
	color: var(--heading-color);
}
.service-content__check-text {
	color: var(--text-color-muted);
}

.service-content__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 1rem 0 1.5rem;
}
.service-content__step {
	border: 1px solid var(--border-color);
	padding: 1.6rem 1.5rem 2.25rem;
}
.service-content__step-number {
	display: block;
	font-weight: 900;
	font-style: italic;
	font-size: 2.75rem;
	color: var(--color-accent-red);
	opacity: 0.9;
}
.service-content__step-title {
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: -0.3px;
	margin: 0.5rem 0 0.4rem;
}
.service-content__step-text {
	font-size: 0.875rem;
	color: var(--text-color-muted);
	margin: 0;
}

.service-content__gallery {
	margin: 0.5rem 0 1.5rem;
}
.service-content__figure-img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}
.service-content__figure-caption {
	border-left: 2px solid var(--color-accent-red);
	padding-left: 0.75rem;
	margin-top: 0.6rem;
	font-weight: 600;
	font-size: 0.75rem;
	color: var(--text-color-muted);
}

.service-content__table-wrap {
	overflow-x: auto;
	margin-bottom: 1.5rem;
}
.service-content__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}
.service-content__table th {
	background: var(--color-nav-bg);
	color: #fff;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.6px;
	text-align: left;
	padding: 0.875rem 1.125rem;
}
.service-content__table td {
	border: 1px solid var(--border-color);
	padding: 0.75rem 1.125rem;
}
.service-content__table td:first-child {
	font-weight: 600;
	color: var(--heading-color);
}
.service-content__table td:not(:first-child) {
	color: var(--text-color-muted);
}
.service-content__table tbody tr:nth-child(even) td {
	background: var(--color-light-bg);
}

.service-content__callout {
	background: var(--color-light-bg);
	border-left: 4px solid var(--color-accent-red);
	padding: 1.5rem 1.875rem;
	margin-bottom: 1.5rem;
}
.service-content__callout-heading {
	font-weight: 800;
	font-size: 0.9375rem;
	letter-spacing: -0.3px;
	margin-bottom: 0.4rem;
}
.service-content__callout-text {
	font-size: 1.125rem;
	color: var(--text-color-muted);
	margin: 0;
}

.service-content__vehicles-text a {
	color: var(--color-accent-red);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(237, 28, 36, 0.35);
}

.service-content__cta {
	background: var(--color-nav-bg);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	padding: 1.5rem 2rem;
	margin-top: 1.5rem;
}
.service-content__cta-heading {
	flex: 1 0 240px;
	font-weight: 800;
	font-style: italic;
	font-size: 1.25rem;
	letter-spacing: -0.3px;
	margin: 0;
}
.service-content__cta-phone {
	color: var(--color-accent-red);
	font-weight: 800;
	font-style: italic;
	font-size: 1.25rem;
	text-decoration: none;
	white-space: nowrap;
}
.service-content__cta-btn {
	background: var(--color-accent-red);
	color: #fff;
	font-weight: 700;
	font-size: 0.8125rem;
	padding: 0.8rem 1.6rem;
	white-space: nowrap;
}
.service-content__cta-btn:hover {
	background: var(--background-color);
	color: #000;
}

/* ============================ RELATED SERVICES ============================ */
.related-services {
	background: var(--color-light-bg);
	padding-block: clamp(3rem, 6vw, 5rem);
}
.related-services__grid {
	margin-top: 1.5rem;
}
.related-services__card {
	background: #fff;
	border: 1px solid var(--border-color);
	height: 100%;
}
.related-services__card-media {
	position: relative;
}
.related-services__card-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}
.related-services__card-body {
	padding: 1.3rem 1.5rem 1.75rem;
}
.related-services__card-title {
	color: var(--color-accent-red);
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -0.3px;
	margin-bottom: 0.5rem;
}
.related-services__card-text {
	color: var(--text-color-muted);
	font-size: 0.875rem;
	margin-bottom: 0.75rem;
}
.related-services__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.75rem;
	color: var(--heading-color);
	text-decoration: none;
}
.related-services__card-link:hover {
	color: var(--color-accent-red);
}

/* ============================ RESPONSIVE ============================ */

/* MD / Tablet */
@media (max-width: 992px) {
	/* Sidebar and content stack, so the design's 360/940 split and its 60px
	   gutter both go back to Bootstrap's own full-width column behaviour. */
	.service-detail__row {
		--bs-gutter-x: 1.5rem;
	}
	.service-sidebar,
	.service-content {
		width: 100%;
	}
	.service-sidebar {
		margin-bottom: 2.5rem;
	}
}

/* SM / Mobile */
@media (max-width: 768px) {
	.service-content__checks {
		grid-template-columns: 1fr;
	}
	.service-content__cta {
		text-align: center;
		justify-content: center;
	}
}

/* XS / Small Mobile */
@media (max-width: 575px) {
	.service-content__step {
		padding: 1.25rem 1.25rem 1.75rem;
	}
	.service-sidebar__widget {
		padding: 1.25rem;
	}
}
