/**
 * JD's 24/7 Tire Shop — project design and global chrome foundation.
 *
 * Partdo owns the structural header/footer templates. This file supplies only
 * semantic tokens and narrowly scoped presentation for project-owned output.
 */

:root {
	--jd-color-primary: #e30507;
	--jd-color-primary-dark: #b50406;
	--jd-color-accent: #f2b11a;
	--jd-color-heading: #040303;
	--jd-color-body: #5f5a57;
	--jd-color-background: #eeedec;
	--jd-color-surface: #ffffff;
	--jd-color-border: #d8d4d1;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 3px solid var(--jd-color-primary-dark);
	outline-offset: 3px;
}

.jd-accent-surface,
.jd-button--accent {
	background-color: var(--jd-color-accent);
	color: var(--jd-color-heading);
}

.jd-button--accent:hover,
.jd-button--accent:focus-visible {
	color: var(--jd-color-heading);
}

.toggle-button[role="button"] {
	cursor: pointer;
}

/* Partdo Header Type 2: premium announcement layer. */
.jd-header-premium .site-header .header-notify {
	position: relative;
	overflow: hidden;
	color: var(--jd-color-surface);
	background: linear-gradient(115deg, #040303 0%, #1b0808 45%, #730306 72%, #b50406 100%);
	background-size: 100% 100%;
	animation: none;
}

.jd-header-premium .site-header .header-notify::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--jd-color-accent) 28%, var(--jd-color-accent) 72%, transparent 100%);
	content: "";
	opacity: 0.85;
}

.jd-header-premium .site-header .header-notify .header-inner {
	min-height: 34px;
	padding-top: 7px;
	padding-bottom: 7px;
}

.jd-header-premium .site-header .header-notify .column.left {
	justify-content: center;
	width: 100%;
}

.jd-header-premium .site-header .header-notify .column.right {
	display: none;
}

.jd-header-premium .site-header .header-notify-messages {
	width: 100%;
	min-width: 0;
}

.jd-header-premium .site-header .header-notify .header-notify-messages ul {
	position: relative;
	display: block;
	height: 18px;
	overflow: hidden;
	text-align: center;
}

.jd-header-premium .site-header .header-notify .header-notify-messages ul li {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.015em;
	line-height: 18px;
	opacity: 0;
	transform: translateY(10px);
	animation: jd-announcement-cycle 12s ease-in-out infinite;
}

.jd-header-premium .site-header .header-notify .header-notify-messages ul li:nth-child(2) {
	animation-delay: 4s;
}

.jd-header-premium .site-header .header-notify .header-notify-messages ul li:nth-child(3) {
	animation-delay: 8s;
}

.jd-header-premium .site-header .header-notify .header-notify-messages ul li + li {
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
}

@keyframes jd-announcement-cycle {
	0%, 30% {
		opacity: 1;
		transform: translateY(-50%);
	}
	33%, 97% {
		opacity: 0;
		transform: translateY(-18px);
	}
	98%, 100% {
		opacity: 0;
		transform: translateY(10px);
	}
}

/* Partdo's compact utility row, populated from the central business profile. */
.jd-header-premium .site-header .header-topbar {
	color: var(--jd-color-body);
	background: #f8f7f6;
	border-color: var(--jd-color-border);
	display: none;
}

.jd-header-premium .site-header .header-topbar .header-inner {
	height: 40px;
}

.jd-header-premium .site-header .header-topbar .header-inner > .column {
	color: inherit;
}

.jd-header-premium .site-header .header-topbar .column.right {
	margin-left: auto;
}

.jd-header-premium .site-header .header-topbar .header-notice p {
	margin: 0;
	font-size: 12px;
	white-space: nowrap;
}

.jd-utility-location,
.jd-utility-location > li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-utility-address {
	color: var(--jd-color-body);
}

.jd-utility-directions,
.jd-utility-phone,
.jd-utility-email {
	color: var(--jd-color-heading);
	font-weight: 600;
	text-decoration: none;
}

.jd-utility-directions {
	padding-left: 12px;
	border-left: 1px solid var(--jd-color-border);
	color: var(--jd-color-primary-dark);
}

.jd-utility-phone:hover,
.jd-utility-email:hover,
.jd-utility-directions:hover {
	color: var(--jd-color-primary);
}

.jd-utility-help {
	color: var(--jd-color-body);
}

.jd-utility-separator {
	margin: 0 10px;
	color: var(--jd-color-accent);
}

.jd-header-premium .site-header .header-topbar .header-switcher:empty {
	display: none;
}

/* Partdo Header Type 2 main row. */
.jd-header-premium .site-header .header-main {
	border-bottom: 1px solid rgba(216, 212, 209, 0.72);
	box-shadow: 0 6px 18px rgba(4, 3, 3, 0.045);
}

.jd-header-premium .site-header .header-main.height .header-inner {
	height: 90px;
}

.jd-header-premium .site-header .header-main .header-inner > .column.left {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
}

.jd-header-premium .site-header .header-main .site-brand {
	flex: 0 0 auto;
}

.jd-header-premium .site-header .header-main .site-brand img {
	width: auto;
	height: 70px;
}

.jd-header-premium .site-header .header-main .site-brand + .klbth-menu-wrapper {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	margin-left: clamp(28px, 4vw, 58px);
}

.jd-header-premium .site-header .header-main .klbth-menu-wrapper .klbth-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.jd-header-premium .site-header .header-main.height .klbth-menu-wrapper .klbth-menu > li > a {
	height: 78px;
	padding-right: 18px;
	padding-left: 18px;
	font-size: 14px;
	font-weight: 700;
}

.jd-main-header-call,
.jd-drawer-contact__call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 6px;
	background: var(--jd-color-primary);
	color: var(--jd-color-surface);
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}

.jd-main-header-call {
	flex: 0 0 auto;
	flex-direction: column;
	margin-left: auto;
	padding: 8px 20px;
	box-shadow: 0 5px 14px rgba(181, 4, 6, 0.18);
}

.jd-main-header-call__label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jd-main-header-call__phone {
	margin-top: 3px;
	font-size: 11px;
	opacity: 0.92;
}

.jd-main-header-call:hover,
.jd-main-header-call:focus-visible,
.jd-drawer-contact__call:hover,
.jd-drawer-contact__call:focus-visible {
	background: var(--jd-color-primary-dark);
	color: var(--jd-color-surface);
}

.jd-header-premium .site-header a.jd-main-header-call,
.jd-header-premium .site-header a.jd-main-header-call:hover,
.jd-header-premium .site-header a.jd-main-header-call:focus-visible {
	color: var(--jd-color-surface);
}

.jd-header-premium .site-header .header-main .column.right:empty {
	display: none;
}

/* Mobile header action and accessible drawer contact. */
.jd-header-premium .site-header .header-mobile {
	border-bottom: 1px solid var(--jd-color-border);
	box-shadow: 0 4px 14px rgba(4, 3, 3, 0.05);
}

.jd-header-premium .site-header .header-mobile .header-inner {
	height: 62px;
}

.jd-header-premium .site-header .header-mobile .site-brand img {
	width: auto;
	height: 36px;
}

.jd-mobile-header-call {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 12px;
	border-radius: 5px;
	background: var(--jd-color-primary);
	color: var(--jd-color-surface);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.jd-mobile-header-call:hover,
.jd-mobile-header-call:focus-visible {
	background: var(--jd-color-primary-dark);
	color: var(--jd-color-surface);
}

.jd-header-premium .site-header a.jd-mobile-header-call,
.jd-header-premium .site-header a.jd-mobile-header-call:hover,
.jd-header-premium .site-header a.jd-mobile-header-call:focus-visible {
	color: var(--jd-color-surface);
}

.site-drawer .jd-drawer-contact {
	display: grid;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--jd-color-border);
}

.site-drawer .jd-drawer-contact__availability {
	color: var(--jd-color-body);
	font-size: 13px;
	line-height: 1.55;
}

.site-drawer .jd-drawer-contact__call {
	width: 100%;
	min-height: 48px;
	gap: 7px;
	padding: 0 18px;
	flex-wrap: wrap;
}

.site-drawer .jd-drawer-contact .jd-drawer-contact__call,
.site-drawer .jd-drawer-contact .jd-drawer-contact__call span,
.site-drawer .jd-drawer-contact .jd-drawer-contact__call:hover,
.site-drawer .jd-drawer-contact .jd-drawer-contact__call:focus-visible {
	color: var(--jd-color-surface);
}

.jd-product-drawer-disabled .site-drawer .drawer-primary + .drawer-heading,
.jd-product-drawer-disabled .site-drawer .drawer-primary + .drawer-heading + .klbth-menu-wrapper,
.jd-footer-app-disabled .site-footer .mobile-app-content {
	display: none;
}

/* Partdo Footer Type 1: project-owned content in the native four-column grid. */
.site-footer .footer-widgets.custom-background-light,
.site-footer .subfooter.custom-background-light,
.site-footer .footer-copyright.custom-background-light {
	color: var(--jd-color-heading);
	background: #f7f6f5;
}

.site-footer .footer-widgets {
	border-top: 4px solid var(--jd-color-primary);
}

.site-footer .footer-widgets .footer-sidebar {
	padding-top: 64px;
	padding-bottom: 58px;
}

.site-footer .footer-widgets .footer-sidebar > .custom-column {
	border-color: var(--jd-color-border);
}

.site-footer .widget-title {
	margin-bottom: 18px;
	color: var(--jd-color-heading);
	font-size: 16px;
	font-weight: 700;
}

.jd-footer-brand__home {
	display: inline-block;
	max-width: 100%;
}

.jd-footer-brand__logo {
	display: block;
	width: min(100%, 245px);
	height: auto;
}

.jd-footer-brand__name {
	color: inherit;
	font-size: 22px;
	font-weight: 700;
}

.jd-footer-brand__description {
	max-width: 320px;
	margin: 22px 0 0;
	color: var(--jd-color-body);
	font-size: 13px;
	line-height: 1.75;
}

.jd-footer-contact__list,
.jd-footer-services__list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-footer-contact__item,
.jd-footer-services__list li {
	color: var(--jd-color-body);
	font-size: 13px;
	line-height: 1.5;
}

.jd-footer-contact__phone .jd-phone-link {
	color: var(--jd-color-primary-dark);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.jd-footer-contact__availability {
	padding-left: 11px;
	border-left: 3px solid var(--jd-color-accent);
}

.site-footer .jd-footer-contact a,
.site-footer .jd-business-link {
	color: var(--jd-color-heading);
}

.site-footer .jd-footer-contact__directions a,
.site-footer .jd-directions-link {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
}

.site-footer .jd-footer-contact a:hover,
.site-footer .jd-business-link:hover,
.site-footer .jd-footer-contact a:focus-visible,
.site-footer .jd-business-link:focus-visible {
	color: var(--jd-color-primary);
}

.jd-footer-services__list li {
	position: relative;
	padding-left: 13px;
}

.jd-footer-services__list li::before {
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--jd-color-accent);
	content: "";
}

.site-footer .footer-widgets .widget_nav_menu ul.menu li a {
	color: var(--jd-color-body);
	font-size: 13px;
	font-weight: 500;
}

.site-footer .footer-widgets .widget_nav_menu ul.menu li a:hover {
	color: var(--jd-color-primary);
}

.site-footer .subfooter {
	border-color: var(--jd-color-border);
	background: var(--jd-color-background);
}

.site-footer .subfooter .sub-banners ul li {
	position: relative;
	padding-top: 15px;
	padding-bottom: 15px;
	color: var(--jd-color-heading);
	font-size: 13px;
	letter-spacing: 0.01em;
}

.site-footer .subfooter .sub-banners ul li::before {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 9px;
	border-radius: 50%;
	background: var(--jd-color-accent);
	content: "";
}

.site-footer .subfooter .sub-banners ul li + li {
	border-color: var(--jd-color-border);
}

.site-footer .footer-copyright {
	border-color: var(--jd-color-border);
	background: var(--jd-color-surface);
}

.site-footer .footer-copyright .footer-inner {
	padding-top: 22px;
	padding-bottom: 22px;
}

.site-footer .footer-copyright .site-copyright p {
	color: var(--jd-color-body);
	opacity: 1;
}

@media screen and (max-width: 1119.98px) {
	.jd-header-premium .site-header .header-notify.hide-below-1200 {
		display: block !important;
	}

	.jd-header-premium .site-header .header-notify .header-inner {
		min-height: 32px;
	}
}

@media screen and (max-width: 991.98px) {
	.site-footer .footer-widgets .footer-sidebar {
		padding-top: 42px;
		padding-bottom: 22px;
	}

	.site-footer .footer-widgets .footer-sidebar > .custom-column,
	.site-footer .footer-widgets .footer-sidebar > .widgets-column {
		width: 100%;
	}

	.site-footer .footer-widgets .footer-sidebar > .custom-column {
		padding-bottom: 30px;
		border-bottom: 1px solid var(--jd-color-border);
	}

	.site-footer .footer-widgets .footer-sidebar .widgets-column {
		margin-top: 30px;
	}

	.site-footer .footer-widgets .footer-sidebar .widgets-column .widget {
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 575.98px) {
	.jd-header-premium .site-header .header-notify .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	.jd-header-premium .site-header .header-notify .header-notify-messages ul li {
		font-size: 10.5px;
		letter-spacing: 0;
	}

	.jd-header-premium .site-header .header-mobile .site-brand img {
		height: 50px;
	}

	.jd-mobile-header-call {
		min-height: 36px;
		padding: 0 10px;
		font-size: 11px;
	}

	.jd-footer-brand__logo {
		width: min(100%, 230px);
	}

	.site-footer .subfooter .sub-banners ul li {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-header-premium .site-header .header-notify .header-notify-messages ul li {
		display: none;
		animation: none;
	}

	.jd-header-premium .site-header .header-notify .header-notify-messages ul li:first-child {
		display: block;
		opacity: 1;
		transform: translateY(-50%);
	}
}

/* ==========================================================================
   Phase 1C: Services (archive, single service, shared card, CTA, grid).
   ========================================================================== */

.jd-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Shared buttons rendered by JD_Tire_Shortcodes::contact_actions(). */
.jd-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.jd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 24px;
	border: 2px solid transparent;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jd-button--primary {
	background: var(--jd-color-primary);
	color: var(--jd-color-surface);
	box-shadow: 0 6px 16px rgba(181, 4, 6, 0.2);
}

.jd-button--primary:hover,
.jd-button--primary:focus-visible {
	background: var(--jd-color-primary-dark);
	color: var(--jd-color-surface);
}

.jd-button--call {
	flex-direction: column;
	gap: 3px;
}

.jd-button__label {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-button__detail {
	font-size: 12px;
	font-weight: 600;
	opacity: 0.92;
}

.jd-button--outline {
	border-color: var(--jd-color-heading);
	background: transparent;
	color: var(--jd-color-heading);
}

.jd-button--outline:hover,
.jd-button--outline:focus-visible {
	background: var(--jd-color-heading);
	color: var(--jd-color-surface);
}

/* Page heroes shared by the archive and single service. */
.jd-page-hero {
	padding: 4px 0 56px;
	border-bottom: 1px solid var(--jd-color-border);
	background: linear-gradient(180deg, #f8f7f6 0%, #f2f0ee 100%);
}

.jd-page-hero .jd-breadcrumb {
	margin: 0;
	padding: 20px 0 30px;
}

.jd-page-hero .jd-breadcrumb ul li a {
	color: var(--jd-color-body);
}

.jd-page-hero .jd-breadcrumb ul li a:hover {
	color: var(--jd-color-primary);
}

.jd-page-hero .jd-breadcrumb ul li span {
	color: var(--jd-color-heading);
	font-weight: 600;
}

.jd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--jd-color-primary-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jd-eyebrow::before {
	width: 28px;
	height: 3px;
	background: var(--jd-color-accent);
	content: "";
}

.jd-page-hero__title {
	margin: 0 0 16px;
	color: var(--jd-color-heading);
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.jd-page-hero__intro {
	max-width: 640px;
	margin: 0 0 28px;
	color: var(--jd-color-body);
	font-size: 17px;
	line-height: 1.7;
}

/* Shared no-image tire mark. */
.jd-service-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.jd-service-placeholder__mark {
	display: block;
	width: min(38%, 160px);
	height: auto;
}

/* Single service hero. */
.jd-service-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 56px;
	align-items: center;
}

.jd-service-hero__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(4, 3, 3, 0.12);
}

.jd-service-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jd-service-hero__media--placeholder,
.jd-service-card__media {
	background:
		radial-gradient(circle at 78% 22%, rgba(227, 5, 7, 0.32) 0%, rgba(227, 5, 7, 0) 46%),
		linear-gradient(135deg, #040303 0%, #171111 58%, #2a0a0a 100%);
	color: rgba(255, 255, 255, 0.86);
}

.jd-service-hero__media--placeholder {
	aspect-ratio: 16 / 11;
}

.jd-service-hero__media--placeholder::after,
.jd-service-card__media::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
	content: "";
}

.jd-service-hero__media--placeholder .jd-service-placeholder__mark {
	width: min(42%, 190px);
}

.jd-service-hero__badge {
	position: absolute;
	bottom: 24px;
	left: 26px;
	display: grid;
	gap: 4px;
	margin: 0;
}

.jd-service-hero__badge-name {
	color: var(--jd-color-surface);
	font-size: 16px;
	font-weight: 700;
}

.jd-service-hero__badge-detail {
	color: var(--jd-color-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Services archive hero. */
.jd-services-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	align-items: center;
}

.jd-services-hero__inner > .jd-service-placeholder {
	width: 220px;
	height: 220px;
	margin-right: 24px;
	color: var(--jd-color-primary);
	opacity: 0.16;
}

.jd-services-hero__inner > .jd-service-placeholder .jd-service-placeholder__mark {
	width: 100%;
}

/* Section rhythm. */
.jd-section {
	padding: 64px 0;
}

.jd-section--tight {
	padding: 0 0 64px;
}

.jd-section--note {
	padding: 0 0 72px;
}

.jd-service-body {
	padding: 56px 0 48px;
}

.jd-section-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 28px;
}

.jd-section-heading__title {
	margin: 0;
	color: var(--jd-color-heading);
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.2;
}

.jd-section-heading__link {
	color: var(--jd-color-primary-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.jd-section-heading__link::after {
	margin-left: 6px;
	content: "→";
}

.jd-section-heading__link:hover {
	color: var(--jd-color-primary);
}

/*
 * Service templates own their bottom spacing. Remove Partdo's global 90px
 * footer offset on these two templates only; the global footer is unchanged.
 */
.single-service .site-footer,
.post-type-archive-service .site-footer {
	margin-top: 0;
}

/* Single service body: reading column plus a sticky details panel (desktop). */
.jd-service-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 800px) minmax(280px, 340px);
	gap: 64px;
	align-items: start;
	justify-content: space-between;
}

.jd-service-aside {
	position: sticky;
	top: 110px;
}

.jd-service-aside__card {
	display: grid;
	gap: 20px;
	padding: 28px 26px;
	border: 1px solid var(--jd-color-border);
	border-top: 4px solid var(--jd-color-primary);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 10px 28px rgba(4, 3, 3, 0.06);
}

.jd-service-aside__title {
	margin: 0;
	color: var(--jd-color-heading);
	font-size: 18px;
	line-height: 1.3;
}

.jd-service-aside__list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.jd-service-aside__list > div + div {
	padding-top: 16px;
	border-top: 1px solid var(--jd-color-border);
}

.jd-service-aside__list dt {
	margin: 0 0 4px;
	color: var(--jd-color-primary-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.jd-service-aside__list dd {
	margin: 0;
	color: var(--jd-color-body);
	font-size: 14px;
	line-height: 1.6;
}

.jd-service-aside__list dd a {
	display: block;
	margin-top: 4px;
	color: var(--jd-color-heading);
	font-weight: 700;
	text-decoration: none;
}

.jd-service-aside__list dd a:hover {
	color: var(--jd-color-primary);
}

.jd-service-aside .jd-button {
	width: 100%;
}

/* Service body content (normal WordPress editor output). */
.jd-service-content {
	max-width: 800px;
	color: var(--jd-color-body);
	font-size: 16px;
	line-height: 1.8;
}

.jd-service-content > :first-child {
	margin-top: 0;
}

.jd-service-content > :last-child {
	margin-bottom: 0;
}

.jd-service-content p {
	margin: 0 0 1.15em;
}

.jd-service-content > p:first-child {
	color: var(--jd-color-heading);
	font-size: 18px;
	line-height: 1.75;
}

.jd-service-content h2 {
	margin: 1.9em 0 0.65em;
	padding-left: 14px;
	border-left: 4px solid var(--jd-color-primary);
	color: var(--jd-color-heading);
	font-size: 24px;
	line-height: 1.3;
}

.jd-service-content h3 {
	margin: 1.6em 0 0.5em;
	color: var(--jd-color-heading);
	font-size: 19px;
	line-height: 1.35;
}

.jd-service-content ul {
	margin: 0 0 1.3em;
	padding: 0;
	list-style: none;
}

.jd-service-content ul li {
	position: relative;
	margin: 0 0 0.45em;
	padding-left: 24px;
	list-style: none;
}

.jd-service-content ul li::before {
	position: absolute;
	top: 0.72em;
	left: 2px;
	width: 8px;
	height: 8px;
	background: var(--jd-color-primary);
	content: "";
	transform: rotate(45deg);
}

.jd-service-content ol {
	margin: 0 0 1.3em;
	padding-left: 1.3em;
}

.jd-service-content a {
	color: var(--jd-color-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jd-service-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* Centralized CTA ([jd_global_cta]). */
.jd-global-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 40px;
	align-items: center;
	padding: 40px 48px 40px 54px;
	overflow: hidden;
	border-radius: 8px;
	background: linear-gradient(115deg, #040303 0%, #1b0808 60%, #2e0b0b 100%);
	color: var(--jd-color-surface);
	box-shadow: 0 18px 40px rgba(4, 3, 3, 0.16);
}

.jd-global-cta::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 6px;
	background: linear-gradient(180deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 70%, var(--jd-color-accent) 70%, var(--jd-color-accent) 100%);
	content: "";
}

.jd-global-cta__title {
	margin: 0 0 10px;
	color: var(--jd-color-surface);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

.jd-global-cta__availability {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.6;
}

.jd-global-cta__address {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
}

.jd-global-cta .jd-button--outline {
	border-color: rgba(255, 255, 255, 0.72);
	color: var(--jd-color-surface);
}

.jd-global-cta .jd-button--outline:hover,
.jd-global-cta .jd-button--outline:focus-visible {
	border-color: var(--jd-color-surface);
	background: var(--jd-color-surface);
	color: var(--jd-color-heading);
}

/* Services grid ([jd_services_grid], archive, Other Services). */
.jd-services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.jd-services-grid--columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jd-services-grid--columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Shared service card (template-parts/service-card.php). */
.jd-service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 1px 2px rgba(4, 3, 3, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jd-service-card:hover,
.jd-service-card:focus-within {
	border-color: #c9c3bf;
	box-shadow: 0 14px 30px rgba(4, 3, 3, 0.09);
	transform: translateY(-2px);
}

.jd-service-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.jd-service-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jd-service-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px 24px 22px;
}

.jd-service-card__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.jd-service-card__title a {
	color: var(--jd-color-heading);
	text-decoration: none;
}

.jd-service-card__title a:hover {
	color: var(--jd-color-primary);
}

.jd-service-card__summary {
	display: -webkit-box;
	margin: 0 0 20px;
	overflow: hidden;
	color: var(--jd-color-body);
	font-size: 14px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.jd-service-card__action {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: auto;
	color: var(--jd-color-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.jd-service-card__action:hover {
	color: var(--jd-color-primary-dark);
}

.jd-service-card__arrow {
	transition: transform 0.2s ease;
}

.jd-service-card__action:hover .jd-service-card__arrow {
	transform: translateX(3px);
}

.jd-services-empty {
	margin: 0;
	color: var(--jd-color-body);
	font-size: 16px;
}

/* Other Services and service-area teaser surfaces. */
.jd-other-services,
.jd-areas-teaser {
	border-top: 1px solid var(--jd-color-border);
	background: #f7f6f5;
}

.jd-other-services + .jd-section--note {
	padding-top: 48px;
}

.jd-areas-teaser__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
}

.jd-areas-teaser__intro p {
	margin: 14px 0 0;
	color: var(--jd-color-body);
	font-size: 15px;
	line-height: 1.7;
}

.jd-areas-teaser .jd-service-areas,
.jd-home-areas .jd-service-areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-areas-teaser .jd-service-areas li,
.jd-home-areas .jd-service-areas li {
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--jd-color-border);
	border-radius: 4px;
	background: var(--jd-color-surface);
	color: var(--jd-color-heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
}

/* Final availability reminder. */
.jd-availability-note {
	max-width: 800px;
	margin: 0;
	padding: 16px 20px;
	border-left: 4px solid var(--jd-color-accent);
	background: #faf9f8;
	color: var(--jd-color-body);
	font-size: 14px;
	line-height: 1.7;
}

.jd-availability-note a {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
	white-space: nowrap;
}

/* Footer services: published service links plus All Services. */
.site-footer .jd-footer-services__list a {
	color: var(--jd-color-body);
	text-decoration: none;
}

.site-footer .jd-footer-services__list a:hover,
.site-footer .jd-footer-services__list a:focus-visible {
	color: var(--jd-color-primary);
}

.site-footer .jd-footer-services__all a {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
}

@media screen and (max-width: 1199.98px) {
	.jd-services-grid--columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 991.98px) {
	.jd-page-hero {
		padding-bottom: 40px;
	}

	.jd-service-hero__grid,
	.jd-services-hero__inner,
	.jd-areas-teaser__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	/* The CTA directly after the content carries the same details on small screens. */
	.jd-service-body__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.jd-service-aside {
		display: none;
	}

	.jd-services-hero__inner > .jd-service-placeholder {
		display: none;
	}

	.jd-service-hero__media {
		aspect-ratio: 16 / 9;
	}

	.jd-service-hero__media--placeholder {
		aspect-ratio: 21 / 8;
	}

	.jd-services-grid,
	.jd-services-grid--columns-3,
	.jd-services-grid--columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jd-section {
		padding: 48px 0;
	}

	.jd-section--tight {
		padding: 0 0 48px;
	}

	.jd-service-body {
		padding: 44px 0 40px;
	}

	.jd-global-cta {
		grid-template-columns: minmax(0, 1fr);
		padding: 34px 32px 34px 38px;
	}
}

@media screen and (max-width: 575.98px) {
	.jd-page-hero .jd-breadcrumb {
		padding: 16px 0 22px;
	}

	.jd-page-hero__intro {
		font-size: 16px;
	}

	.jd-contact-actions .jd-button {
		flex: 1 1 100%;
	}

	/* A decorative placeholder adds no information on phones; real images stay. */
	.jd-service-hero__media--placeholder {
		display: none;
	}

	.jd-services-grid,
	.jd-services-grid--columns-2,
	.jd-services-grid--columns-3,
	.jd-services-grid--columns-4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.jd-section {
		padding: 40px 0;
	}

	.jd-section--tight {
		padding: 0 0 40px;
	}

	.jd-section--note {
		padding-bottom: 48px;
	}

	.jd-service-content > p:first-child {
		font-size: 17px;
	}

	.jd-service-content h2 {
		font-size: 21px;
	}

	.jd-global-cta {
		padding: 28px 22px 28px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-service-card,
	.jd-service-card__arrow {
		transition: none;
	}

	.jd-service-card:hover,
	.jd-service-card:focus-within,
	.jd-service-card__action:hover .jd-service-card__arrow {
		transform: none;
	}
}

/* ==========================================================================
   Phase 1D: Replacement homepage (Elementor page built from core widgets).
   Sections are Elementor containers carrying `jd-home-*` classes; content
   stays editable in Elementor, presentation lives here.
   Rhythm: Hero strong · Intro light · Services structured · Why trust ·
   Areas informative · CTA strong · FAQ calm.
   ========================================================================== */

/* Elementor page owns its bottom spacing; drop Partdo's 90px footer offset. */
body:has(.jd-home-section) .site-footer {
	margin-top: 0;
}

/* Align Elementor boxed sections with Partdo's 1280px/15px-gutter container. */
.e-con.jd-home-section {
	--container-max-width: 1250px;
	--padding-top: 96px;
	--padding-bottom: 96px;
	--padding-left: 15px;
	--padding-right: 15px;
	--row-gap: 0px;
	--column-gap: 0px;
	--gap: 0px;
}

.jd-home-section .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--gap: 0px;
}

.jd-home-section .elementor-widget {
	margin: 0;
}

/* Shared homepage typography. */
.jd-home-section .jd-home-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--jd-color-primary-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.jd-home-section .jd-home-eyebrow .elementor-heading-title::before {
	width: 28px;
	height: 3px;
	flex: 0 0 auto;
	background: var(--jd-color-accent);
	content: "";
}

.jd-home-section .jd-home-h1 .elementor-heading-title,
.jd-home-section .jd-home-h2 .elementor-heading-title {
	text-wrap: balance;
}

.jd-home-section .jd-home-h2 .elementor-heading-title {
	margin: 0;
	color: var(--jd-color-heading);
	font-size: clamp(30px, 3.3vw, 42px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.jd-home-text,
.jd-home-text p {
	color: var(--jd-color-body);
	font-size: 16px;
	line-height: 1.75;
}

.jd-home-text p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

.jd-home-text p:last-child {
	margin-bottom: 0;
}

.jd-home-text strong {
	color: var(--jd-color-heading);
	font-weight: 700;
}

.jd-home-text a {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
	white-space: nowrap;
}

.jd-home-head.e-con {
	margin-bottom: 48px;
}

.jd-home-head .jd-home-text {
	max-width: 680px;
	margin-top: 18px;
}

.jd-home-head .jd-home-text p {
	font-size: 17px;
}

/* Shared buttons read as one system across hero, CTA and service pages. */
.jd-button {
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-button__detail {
	letter-spacing: 0.02em;
	text-transform: none;
}

/* One action style for "Learn More" and "View all services". */
.jd-home-services .jd-service-card__action,
.jd-offerings__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--jd-color-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.jd-home-services .jd-service-card__action:hover,
.jd-offerings__all:hover {
	color: var(--jd-color-primary-dark);
}

/* 1. Hero (strong). */
.e-con.jd-home-hero {
	--padding-top: 76px;
	--padding-bottom: 92px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--jd-color-border);
	background:
		radial-gradient(circle at 88% 18%, rgba(227, 5, 7, 0.07) 0%, rgba(227, 5, 7, 0) 42%),
		linear-gradient(180deg, #f8f7f6 0%, #efedeb 100%);
}

.jd-home-hero > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 64px;
	align-items: center;
}

.jd-home-section .jd-home-h1 .elementor-heading-title {
	margin: 0 0 22px;
	color: var(--jd-color-heading);
	font-size: clamp(40px, 5.2vw, 68px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.jd-home-hero .jd-home-lead p {
	max-width: 600px;
	margin: 0 0 16px;
	color: var(--jd-color-heading);
	font-size: 18px;
	line-height: 1.7;
}

.jd-home-hero .jd-home-sub p {
	max-width: 600px;
	margin: 0 0 32px;
	color: var(--jd-color-body);
	font-size: 16px;
	line-height: 1.7;
}

.jd-home-hero .jd-home-highlights {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--jd-color-border);
}

.jd-home-hero .jd-home-highlights .elementor-icon-list-items {
	gap: 10px 20px;
}

.jd-home-hero .jd-home-highlights .elementor-icon-list-item {
	margin: 0;
	padding: 0;
}

.jd-home-hero .jd-home-highlights .elementor-icon-list-text {
	color: var(--jd-color-heading);
	font-size: 14px;
	font-weight: 600;
}

.jd-home-hero .jd-home-highlights .elementor-icon-list-icon svg {
	width: 13px;
	height: 13px;
	fill: var(--jd-color-primary);
}

/* Branded hero visual ([jd_brand_panel]). */
.jd-brand-panel {
	position: relative;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: 8px;
	background:
		repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.035) 0 14px, rgba(255, 255, 255, 0) 14px 28px),
		radial-gradient(circle at 72% 40%, rgba(227, 5, 7, 0.42) 0%, rgba(227, 5, 7, 0) 52%),
		linear-gradient(140deg, #040303 0%, #160f0f 55%, #2c0a0a 100%);
	box-shadow: 0 28px 60px rgba(4, 3, 3, 0.22);
	color: rgba(255, 255, 255, 0.9);
}

.jd-brand-panel::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
	content: "";
}

.jd-brand-panel__mark {
	position: absolute;
	top: 50%;
	right: -6%;
	width: 68%;
	aspect-ratio: 1;
	transform: translateY(-54%);
	opacity: 0.92;
}

.jd-brand-panel__mark .jd-service-placeholder__mark {
	width: 100%;
}

.jd-brand-panel__badge {
	position: absolute;
	top: 32px;
	left: 32px;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.jd-brand-panel__badge-value {
	padding-bottom: 4px;
	border-bottom: 3px solid var(--jd-color-accent);
	color: var(--jd-color-surface);
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
}

.jd-brand-panel__badge-text {
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.jd-brand-panel__footer {
	position: absolute;
	bottom: 34px;
	left: 32px;
}

.jd-brand-panel__name {
	margin: 0 0 4px;
	color: var(--jd-color-surface);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.jd-brand-panel__location {
	margin: 0;
	color: var(--jd-color-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* 2. Introduction (light). */
.e-con.jd-home-intro {
	--padding-top: 92px;
	--padding-bottom: 92px;
	background: var(--jd-color-surface);
}

.jd-home-intro > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 80px;
	align-items: start;
}

.jd-home-section.jd-home-intro .jd-home-h2 .elementor-heading-title {
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.jd-home-intro .jd-home-visit {
	margin-top: 40px;
}

/* Start the copy level with the heading rather than the eyebrow. */
.jd-home-intro__body.e-con {
	padding-top: 38px;
}

.jd-home-intro .jd-home-text p:first-child {
	color: var(--jd-color-heading);
	font-size: 20px;
	line-height: 1.65;
}

.jd-home-intro .jd-home-text p + p {
	margin-top: 1.4em;
	font-size: 17px;
}

.jd-visit-card {
	display: grid;
	gap: 6px;
	max-width: 400px;
	padding: 22px 24px;
	border: 1px solid var(--jd-color-border);
	border-left: 4px solid var(--jd-color-primary);
	border-radius: 6px;
	background: #faf9f8;
}

.jd-visit-card__label {
	color: var(--jd-color-primary-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jd-visit-card__address {
	color: var(--jd-color-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}

.jd-visit-card .jd-directions-link {
	justify-self: start;
	margin-top: 2px;
	color: var(--jd-color-primary-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.jd-visit-card .jd-directions-link::after {
	margin-left: 6px;
	content: "→";
}

/* 3. Tire Services (structured). Card and offerings share one surface system. */
.e-con.jd-home-services {
	--padding-top: 96px;
	--padding-bottom: 104px;
	border-top: 1px solid var(--jd-color-border);
	border-bottom: 1px solid var(--jd-color-border);
	background: #f7f6f5;
}

.jd-home-services__layout.e-con {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 28px;
	align-items: stretch;
}

/* Let the dynamic card column match the offerings panel height. */
.jd-home-services__cards.e-con > .elementor-widget,
.jd-home-services__cards .elementor-shortcode {
	height: 100%;
}

.jd-home-services .jd-services-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	height: 100%;
}

.jd-home-services .jd-service-card,
.jd-offerings {
	border: 1px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 14px 34px rgba(4, 3, 3, 0.06);
}

.jd-home-services .jd-service-card:hover,
.jd-home-services .jd-service-card:focus-within {
	box-shadow: 0 18px 40px rgba(4, 3, 3, 0.1);
}

.jd-home-services .jd-service-card__title {
	font-size: 22px;
}

.jd-home-services .jd-service-card__summary {
	font-size: 16px;
	line-height: 1.7;
}

/* Graceful single-service state: one wide horizontal card. */
.jd-home-services .jd-services-grid:has(> .jd-service-card:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.jd-home-services .jd-service-card:only-child {
	flex-direction: row;
}

.jd-home-services .jd-service-card:only-child .jd-service-card__media {
	flex: 0 0 42%;
	aspect-ratio: auto;
	min-height: 320px;
}

.jd-home-services .jd-service-card:only-child .jd-service-placeholder__mark {
	width: min(56%, 190px);
}

.jd-home-services .jd-service-card:only-child .jd-service-card__media::after {
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
	width: 5px;
	height: auto;
	background: linear-gradient(180deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
}

.jd-home-services .jd-service-card:only-child .jd-service-card__body {
	justify-content: center;
	padding: 40px 44px;
}

.jd-home-services .jd-service-card:only-child .jd-service-card__title {
	margin-bottom: 14px;
	font-size: 28px;
}

.jd-home-services .jd-service-card:only-child .jd-service-card__summary {
	margin-bottom: 24px;
	-webkit-line-clamp: 5;
}

.jd-home-services .jd-service-card:only-child .jd-service-card__action {
	margin-top: 0;
}

/* Owner-supplied offerings ([jd_service_offerings]). */
.jd-offerings {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 36px 36px 30px;
}

.jd-offerings__title {
	margin: 0 0 10px;
	color: var(--jd-color-heading);
	font-size: 22px;
	line-height: 1.3;
}

.jd-offerings__intro {
	margin: 0 0 22px;
	color: var(--jd-color-body);
	font-size: 15px;
	line-height: 1.65;
}

.jd-offerings__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.jd-offerings__item {
	margin: 0;
	list-style: none;
}

.jd-offerings__item > span,
.jd-offerings__item > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid var(--jd-color-border);
	border-radius: 4px;
	background: #faf9f8;
	color: var(--jd-color-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

/* Plain labels must not look interactive. */
.jd-offerings__item > span {
	cursor: default;
}

.jd-offerings__item--linked > a {
	border-color: var(--jd-color-primary);
	background: var(--jd-color-surface);
	color: var(--jd-color-primary-dark);
	text-decoration: none;
}

.jd-offerings__item--linked > a:hover,
.jd-offerings__item--linked > a:focus-visible {
	background: var(--jd-color-primary);
	color: var(--jd-color-surface);
}

.jd-offerings__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin: auto 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--jd-color-border);
	font-size: 14px;
}

.jd-offerings__legend {
	color: var(--jd-color-body);
}

.jd-offerings__legend .jd-offerings__arrow {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
}

.jd-offerings__all::after {
	content: "→";
}

/* 4. Why Choose Us (trust-building; core Elementor Icon Box widgets). */
.e-con.jd-home-why {
	--padding-top: 104px;
	--padding-bottom: 104px;
	background: var(--jd-color-surface);
}

/* Desktop: equal-width cards in a centred 3 + 2 arrangement. */
.jd-home-why__grid.e-con {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
}

.jd-home-why__grid.e-con > .elementor-element {
	grid-column: span 2;
}

.jd-home-why__grid.e-con > .elementor-element:nth-child(4) {
	grid-column: 2 / span 2;
}

.jd-home-why__grid.e-con > .elementor-element:nth-child(5) {
	grid-column: 4 / span 2;
}

.jd-home-why .jd-home-why__item {
	--icon-box-icon-margin: 22px;
	height: 100%;
}

.jd-home-why .jd-home-why__item .elementor-icon-box-wrapper {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 0 22px;
	align-items: start;
	height: 100%;
	min-height: 196px;
	padding: 32px 30px;
	border: 1px solid var(--jd-color-border);
	border-top: 3px solid var(--jd-color-primary);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 10px 30px rgba(4, 3, 3, 0.05);
	text-align: left;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jd-home-why .jd-home-why__item:hover .elementor-icon-box-wrapper {
	box-shadow: 0 18px 40px rgba(4, 3, 3, 0.09);
	transform: translateY(-2px);
}

.jd-home-why .jd-home-why__item .elementor-icon-box-icon {
	margin: 0;
}

.jd-home-why .jd-home-why__item .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 1px solid rgba(227, 5, 7, 0.14);
	border-radius: 8px;
	background: #fdf0f0;
	font-size: 26px;
}

.jd-home-why .jd-home-why__item .elementor-icon svg {
	width: 26px;
	height: 26px;
	fill: var(--jd-color-primary);
}

.jd-home-why .jd-home-why__item .elementor-icon-box-content {
	padding-top: 2px;
}

.jd-home-why .jd-home-why__item .elementor-icon-box-title {
	margin: 0 0 10px;
	color: var(--jd-color-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.jd-home-why .jd-home-why__item .elementor-icon-box-title,
.jd-home-why .jd-home-why__item .elementor-icon-box-title a {
	color: var(--jd-color-heading);
}

.jd-home-why .jd-home-why__item .elementor-icon-box-description {
	margin: 0;
	color: var(--jd-color-body);
	font-size: 16px;
	line-height: 1.65;
}

/* 5. Service Areas (informative). */
.e-con.jd-home-areas {
	--padding-top: 92px;
	--padding-bottom: 92px;
	border-top: 1px solid var(--jd-color-border);
	background: var(--jd-color-background);
}

.jd-home-areas > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: center;
}

.jd-home-areas .jd-home-text {
	margin-top: 20px;
}

.jd-home-areas__panel.e-con {
	align-self: center;
	height: auto;
	min-height: 0;
	padding: 36px 38px;
	border: 1px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 14px 34px rgba(4, 3, 3, 0.06);
}

.jd-home-areas .jd-service-areas {
	gap: 10px;
}

.jd-home-areas .jd-service-areas li {
	padding: 9px 15px;
	background: #faf9f8;
	font-size: 14px;
}

/* 6. Main CTA (strong). */
.e-con.jd-home-cta {
	--padding-top: 104px;
	--padding-bottom: 104px;
	position: relative;
	overflow: hidden;
	border-top: 4px solid var(--jd-color-primary);
	background:
		repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.03) 0 16px, rgba(255, 255, 255, 0) 16px 32px),
		radial-gradient(circle at 18% 0%, rgba(227, 5, 7, 0.36) 0%, rgba(227, 5, 7, 0) 48%),
		linear-gradient(120deg, #040303 0%, #170b0b 55%, #2e0b0b 100%);
	color: var(--jd-color-surface);
}

.jd-home-cta > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 72px;
	align-items: center;
}

.jd-home-section.jd-home-cta .jd-home-eyebrow .elementor-heading-title {
	color: var(--jd-color-accent);
}

.jd-home-section.jd-home-cta .jd-home-h2 .elementor-heading-title {
	color: var(--jd-color-surface);
	font-size: clamp(32px, 4vw, 52px);
}

.jd-home-cta .jd-home-text,
.jd-home-cta .jd-home-text p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 17px;
}

.jd-home-cta .jd-home-text {
	max-width: 600px;
	margin-top: 22px;
}

.jd-home-section .jd-home-tagline .elementor-heading-title {
	margin: 30px 0 0;
	padding-left: 14px;
	border-left: 3px solid var(--jd-color-accent);
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
}

/* Centralized CTA contact card ([jd_contact_panel]). */
.jd-contact-panel {
	padding: 34px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(2px);
}

.jd-contact-panel__list {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
}

.jd-contact-panel__list > div + div {
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.jd-contact-panel__list dt {
	margin: 0 0 4px;
	color: var(--jd-color-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jd-contact-panel__list dd {
	margin: 0;
	color: var(--jd-color-surface);
	font-size: 16px;
	line-height: 1.55;
}

.jd-contact-panel__list dd a {
	color: var(--jd-color-surface);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 3px;
}

.jd-contact-panel__list dd a:hover {
	text-decoration-color: var(--jd-color-accent);
}

.jd-contact-panel .jd-button--outline,
.jd-home-cta .jd-button--outline {
	border-color: rgba(255, 255, 255, 0.72);
	color: var(--jd-color-surface);
}

.jd-contact-panel .jd-button--outline:hover,
.jd-contact-panel .jd-button--outline:focus-visible {
	border-color: var(--jd-color-surface);
	background: var(--jd-color-surface);
	color: var(--jd-color-heading);
}

.jd-contact-panel .jd-contact-actions .jd-button {
	flex: 1 1 0;
}

.jd-home-cta a:focus-visible,
.jd-contact-panel a:focus-visible {
	outline-color: var(--jd-color-accent);
}

/* 7. FAQ (calm; core Elementor Nested Accordion: native details/summary). */
.e-con.jd-home-faq {
	--padding-top: 96px;
	--padding-bottom: 112px;
	background: var(--jd-color-surface);
}

.jd-home-faq > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: start;
}

.jd-home-faq__intro.e-con {
	position: sticky;
	top: 40px;
	max-width: 440px;
}

.jd-home-faq .jd-home-text {
	margin-top: 20px;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion {
	display: grid;
	gap: 14px;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item {
	overflow: hidden;
	border: 1px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item[open] {
	border-color: #c9c3bf;
	border-left: 4px solid var(--jd-color-primary);
	box-shadow: 0 10px 26px rgba(4, 3, 3, 0.06);
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 28px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title-header {
	flex: 1 1 auto;
	text-align: left;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title-text {
	margin: 0;
	color: var(--jd-color-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title-icon svg {
	width: 15px;
	height: 15px;
	fill: var(--jd-color-primary);
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
	padding-bottom: 10px;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title:focus-visible {
	outline: 3px solid var(--jd-color-primary-dark);
	outline-offset: -3px;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item > .e-con {
	--padding-top: 0px;
	--padding-right: 28px;
	--padding-bottom: 24px;
	--padding-left: 28px;
	border: 0;
}

.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item .jd-home-text p {
	max-width: 620px;
	font-size: 16px;
	line-height: 1.75;
}

/* Below 1200px: services stack; Why Choose uses two columns. */
@media screen and (max-width: 1199.98px) {
	.jd-home-services__layout.e-con {
		grid-template-columns: minmax(0, 1fr);
	}

	.jd-brand-panel__mark {
		right: -10%;
		width: 58%;
	}

	.jd-home-why__grid.e-con {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.jd-home-why__grid.e-con > .elementor-element,
	.jd-home-why__grid.e-con > .elementor-element:nth-child(4) {
		grid-column: auto;
	}

	.jd-home-why__grid.e-con > .elementor-element:nth-child(5) {
		grid-column: 1 / -1;
	}

	.jd-home-why .jd-home-why__item .elementor-icon-box-wrapper {
		min-height: 0;
	}
}

@media screen and (max-width: 1024px) {
	.e-con.jd-home-section,
	.e-con.jd-home-intro,
	.e-con.jd-home-services,
	.e-con.jd-home-why,
	.e-con.jd-home-areas,
	.e-con.jd-home-cta {
		--padding-top: 80px;
		--padding-bottom: 80px;
	}

	.e-con.jd-home-faq {
		--padding-top: 80px;
		--padding-bottom: 88px;
	}

	.e-con.jd-home-hero {
		--padding-top: 56px;
		--padding-bottom: 68px;
	}

	.jd-home-hero > .e-con-inner,
	.jd-home-cta > .e-con-inner {
		gap: 44px;
	}

	.jd-home-intro > .e-con-inner,
	.jd-home-areas > .e-con-inner,
	.jd-home-faq > .e-con-inner {
		gap: 48px;
	}
}

@media screen and (max-width: 991.98px) {
	.jd-home-hero > .e-con-inner,
	.jd-home-intro > .e-con-inner,
	.jd-home-areas > .e-con-inner,
	.jd-home-cta > .e-con-inner,
	.jd-home-faq > .e-con-inner,
	.jd-home-services__layout.e-con {
		grid-template-columns: minmax(0, 1fr);
	}

	.jd-home-hero > .e-con-inner {
		gap: 36px;
	}

	.jd-brand-panel {
		aspect-ratio: 21 / 8;
	}

	.jd-brand-panel__mark {
		right: 2%;
		width: 42%;
	}

	.jd-home-intro > .e-con-inner,
	.jd-home-areas > .e-con-inner,
	.jd-home-faq > .e-con-inner {
		gap: 32px;
	}

	.jd-home-intro__body.e-con {
		padding-top: 0;
	}

	.jd-home-intro .jd-home-visit {
		margin-top: 28px;
	}

	.jd-home-faq__intro.e-con {
		position: static;
		max-width: 640px;
	}

	.jd-home-cta > .e-con-inner {
		gap: 40px;
	}
}

/* Mobile. */
@media screen and (max-width: 767.98px) {
	.e-con.jd-home-section,
	.e-con.jd-home-intro,
	.e-con.jd-home-services,
	.e-con.jd-home-why,
	.e-con.jd-home-areas,
	.e-con.jd-home-cta {
		--padding-top: 60px;
		--padding-bottom: 60px;
	}

	.e-con.jd-home-faq {
		--padding-top: 60px;
		--padding-bottom: 68px;
	}

	.e-con.jd-home-hero {
		--padding-top: 36px;
		--padding-bottom: 48px;
	}

	.jd-home-head.e-con {
		margin-bottom: 32px;
	}

	.jd-home-head .jd-home-text p {
		font-size: 16px;
	}

	.jd-home-hero .jd-home-lead p {
		font-size: 17px;
	}

	.jd-home-hero .jd-home-sub p {
		margin-bottom: 26px;
	}

	.jd-home-hero .jd-home-highlights {
		margin-top: 24px;
		padding-top: 18px;
	}

	.jd-home-hero .jd-home-highlights .elementor-icon-list-items {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 14px;
	}

	.jd-brand-panel {
		aspect-ratio: auto;
		min-height: 168px;
	}

	.jd-brand-panel__mark {
		top: 50%;
		right: -14%;
		width: 58%;
		opacity: 0.55;
	}

	.jd-brand-panel__badge {
		top: 24px;
		left: 22px;
	}

	.jd-brand-panel__badge-value {
		font-size: 34px;
	}

	.jd-brand-panel__footer {
		bottom: 24px;
		left: 22px;
	}

	.jd-brand-panel__name {
		font-size: 17px;
	}

	.jd-home-intro .jd-home-text p:first-child {
		font-size: 18px;
	}

	.jd-home-intro .jd-home-text p + p {
		font-size: 16px;
	}

	.jd-home-services .jd-services-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.jd-home-services__layout.e-con {
		gap: 20px;
	}

	.jd-home-services .jd-service-card:only-child {
		flex-direction: column;
	}

	.jd-home-services .jd-service-card:only-child .jd-service-card__media {
		flex: 0 0 auto;
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.jd-home-services .jd-service-card:only-child .jd-service-card__media::after {
		top: auto;
		width: auto;
		height: 4px;
		background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
	}

	.jd-home-services .jd-service-card:only-child .jd-service-card__body {
		padding: 26px 24px 26px;
	}

	.jd-home-services .jd-service-card:only-child .jd-service-card__title {
		font-size: 24px;
	}

	.jd-offerings {
		padding: 26px 22px 22px;
	}

	.jd-offerings__title {
		font-size: 20px;
	}

	.jd-home-why__grid.e-con {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.jd-home-why__grid.e-con > .elementor-element,
	.jd-home-why__grid.e-con > .elementor-element:nth-child(4),
	.jd-home-why__grid.e-con > .elementor-element:nth-child(5) {
		grid-column: auto;
	}

	.jd-home-why .jd-home-why__item .elementor-icon-box-wrapper {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 0 16px;
		padding: 22px 20px;
	}

	.jd-home-why .jd-home-why__item .elementor-icon {
		width: 48px;
		height: 48px;
	}

	.jd-home-why .jd-home-why__item .elementor-icon svg {
		width: 22px;
		height: 22px;
	}

	.jd-home-why .jd-home-why__item .elementor-icon-box-title {
		margin-bottom: 6px;
		font-size: 17px;
	}

	.jd-home-areas__panel.e-con {
		padding: 22px;
	}

	.jd-home-areas .jd-service-areas {
		gap: 8px;
	}

	.jd-home-areas .jd-service-areas li {
		padding: 8px 12px;
	}

	.jd-contact-panel {
		padding: 26px 22px;
	}

	.jd-contact-panel .jd-contact-actions .jd-button {
		flex: 1 1 100%;
	}

	.jd-home-section .jd-home-tagline .elementor-heading-title {
		margin-top: 24px;
	}

	.jd-home-faq .jd-home-faq__accordion .e-n-accordion {
		gap: 12px;
	}

	.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title {
		gap: 16px;
		padding: 18px 20px;
	}

	.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item[open] > .e-n-accordion-item-title {
		padding-bottom: 8px;
	}

	.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item > .e-con {
		--padding-right: 20px;
		--padding-bottom: 20px;
		--padding-left: 20px;
	}

	.jd-home-faq .jd-home-faq__accordion .e-n-accordion-item-title-text {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-home-why .jd-home-why__item .elementor-icon-box-wrapper {
		transition: none;
	}

	.jd-home-why .jd-home-why__item:hover .elementor-icon-box-wrapper {
		transform: none;
	}
}

/* ==========================================================================
   Phase 2A: About and Contact pages. They reuse the Phase 1D section system
   (`jd-home-section`, eyebrow, heading, text, why cards, areas, CTA) and add
   only the components below.
   ========================================================================== */

/* Longer page H1s (About/Contact) sit a step below the homepage H1. */
.jd-home-section .jd-page-h1 .elementor-heading-title {
	font-size: clamp(36px, 4.4vw, 58px);
	line-height: 1.04;
}

/* Compact light page hero with a decorative tire mark ([jd_tire_mark]). */
.e-con.jd-page-hero {
	--padding-top: 72px;
	--padding-bottom: 80px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--jd-color-border);
	background:
		radial-gradient(circle at 86% 30%, rgba(227, 5, 7, 0.06) 0%, rgba(227, 5, 7, 0) 40%),
		linear-gradient(180deg, #f8f7f6 0%, #efedeb 100%);
}

.jd-page-hero > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	align-items: center;
}

.jd-page-hero .jd-home-lead p {
	max-width: 640px;
	margin: 0 0 30px;
	color: var(--jd-color-heading);
	font-size: 18px;
	line-height: 1.7;
}

.jd-tire-mark {
	width: 260px;
	height: 260px;
	margin-right: 24px;
	color: var(--jd-color-primary);
	opacity: 0.15;
}

.jd-tire-mark .jd-service-placeholder__mark {
	width: 100%;
}

/* About: service-topic cards ([jd_service_topic]). */
.e-con.jd-about-help {
	border-top: 1px solid var(--jd-color-border);
	border-bottom: 1px solid var(--jd-color-border);
	background: #f7f6f5;
}

.jd-about-help__grid.e-con {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.jd-about-help__grid .elementor-widget,
.jd-about-help__grid .elementor-shortcode {
	height: 100%;
}

.jd-topic-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 32px 30px 28px;
	border: 1px solid var(--jd-color-border);
	border-top: 3px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 10px 30px rgba(4, 3, 3, 0.05);
}

.jd-topic-card__marker {
	display: block;
	width: 36px;
	height: 4px;
	margin-bottom: 22px;
	background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 70%, var(--jd-color-accent) 70%, var(--jd-color-accent) 100%);
}

.jd-topic-card__title {
	margin: 0 0 10px;
	color: var(--jd-color-heading);
	font-size: 20px;
	line-height: 1.3;
}

.jd-topic-card__text {
	margin: 0 0 22px;
	color: var(--jd-color-body);
	font-size: 16px;
	line-height: 1.65;
}

.jd-topic-card__action,
.jd-topic-card__note {
	margin: auto 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--jd-color-border);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-topic-card__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--jd-color-primary);
	text-decoration: none;
}

.jd-topic-card__action:hover {
	color: var(--jd-color-primary-dark);
}

/* Plain note: deliberately not styled as an action. */
.jd-topic-card__note {
	color: var(--jd-color-body);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.jd-topic-card--linked {
	border-top-color: var(--jd-color-primary);
}

/* About: the longer story heading sits a step smaller than the homepage intro. */
.jd-home-section.jd-about-story .jd-home-h2 .elementor-heading-title {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.08;
}

.jd-about-story .jd-home-intro__heading.e-con {
	position: sticky;
	top: 40px;
}

/* About: reasons as an editorial list beside a sticky intro. */
.jd-about-reasons > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 72px;
	align-items: start;
}

.jd-about-reasons__intro.e-con {
	position: sticky;
	top: 40px;
}

.jd-about-reasons__intro .jd-home-text {
	max-width: 440px;
	margin-top: 20px;
}

.jd-about-reasons__list.e-con {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.jd-home-why .jd-about-reasons__list .jd-home-why__item .elementor-icon-box-wrapper {
	min-height: 0;
	padding: 26px 30px;
}

/* About: location column adds the visit card under the copy. */
.jd-about-location .jd-home-visit {
	margin-top: 28px;
}

/* Contact: information cards ([jd_contact_cards]). */
.e-con.jd-contact-info {
	background: var(--jd-color-surface);
}

.jd-contact-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-contact-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 30px 26px 28px;
	border: 1px solid var(--jd-color-border);
	border-top: 3px solid var(--jd-color-primary);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 10px 30px rgba(4, 3, 3, 0.05);
	list-style: none;
}

.jd-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border: 1px solid rgba(227, 5, 7, 0.14);
	border-radius: 8px;
	background: #fdf0f0;
	color: var(--jd-color-primary);
}

.jd-contact-card__title {
	margin: 0 0 8px;
	color: var(--jd-color-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.jd-contact-card__value {
	margin: 0 0 10px;
	color: var(--jd-color-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.jd-contact-card__value a {
	color: var(--jd-color-heading);
	text-decoration: underline;
	text-decoration-color: rgba(227, 5, 7, 0.45);
	text-underline-offset: 4px;
}

.jd-contact-card__value a:hover {
	color: var(--jd-color-primary-dark);
}

.jd-contact-card--phone .jd-contact-card__value {
	font-size: 22px;
}

.jd-contact-card__note {
	margin: 0;
	color: var(--jd-color-body);
	font-size: 15px;
	line-height: 1.6;
}

.jd-contact-card__link {
	margin-top: auto;
	padding-top: 10px;
	color: var(--jd-color-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

/* Contact: form card + location column. */
.e-con.jd-contact-main {
	border-top: 1px solid var(--jd-color-border);
	border-bottom: 1px solid var(--jd-color-border);
	background: #f7f6f5;
}

.jd-contact-main > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 32px;
	align-items: stretch;
}

.jd-contact-form-card.e-con,
.jd-contact-location.e-con {
	padding: 40px 40px 36px;
	border: 1px solid var(--jd-color-border);
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: 0 14px 34px rgba(4, 3, 3, 0.06);
}

.jd-contact-form-card .jd-home-text {
	margin-top: 14px;
	padding-bottom: 24px;
}

.jd-contact-location .jd-location-panel {
	margin-top: 26px;
}

/* Contact Form 7 (JD Contact Form markup). */
.jd-form .jd-form__required-note {
	margin: 0 0 20px;
	color: var(--jd-color-body);
	font-size: 14px;
}

.jd-form__req {
	color: var(--jd-color-primary-dark);
	font-weight: 700;
}

.jd-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 20px;
}

.jd-form__field {
	margin: 0;
}

.jd-form__field--full {
	grid-column: 1 / -1;
}

.jd-form__field label {
	display: block;
	margin-bottom: 8px;
	color: var(--jd-color-heading);
	font-size: 15px;
	font-weight: 700;
}

.jd-form .wpcf7-form-control-wrap {
	display: block;
}

.jd-form input[type="text"],
.jd-form input[type="tel"],
.jd-form input[type="email"],
.jd-form select,
.jd-form textarea {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #b9b3af;
	border-radius: 6px;
	background: var(--jd-color-surface);
	box-shadow: none;
	color: var(--jd-color-heading);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jd-form textarea {
	min-height: 150px;
	resize: vertical;
}

.jd-form input:hover,
.jd-form select:hover,
.jd-form textarea:hover {
	border-color: #8f8884;
}

.jd-form input:focus,
.jd-form select:focus,
.jd-form textarea:focus {
	border-color: var(--jd-color-primary-dark);
	outline: 3px solid rgba(181, 4, 6, 0.28);
	outline-offset: 1px;
	box-shadow: none;
}

/* Matches the specificity of the input[type] rules above so every invalid
   control (not only the textarea) is highlighted. */
.jd-form input.wpcf7-not-valid,
.jd-form select.wpcf7-not-valid,
.jd-form textarea.wpcf7-not-valid {
	border-color: var(--jd-color-primary-dark);
	background: #fff7f7;
}

.jd-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--jd-color-primary-dark);
	font-size: 14px;
	font-weight: 600;
}

.jd-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.jd-form__actions p {
	display: contents;
	margin: 0;
}

.jd-form input[type="submit"].jd-button {
	min-width: 200px;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	font-family: inherit;
}

.jd-form input[type="submit"].jd-button:disabled {
	cursor: wait;
	opacity: 0.7;
}

.jd-contact-form-card .wpcf7-spinner {
	margin: 0 6px;
}

.jd-contact-form-card .wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--jd-color-border);
	border-left-width: 4px;
	border-radius: 6px;
	color: var(--jd-color-heading);
	font-size: 15px;
	line-height: 1.6;
}

.jd-contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.jd-contact-form-card .wpcf7 form.unaccepted .wpcf7-response-output,
.jd-contact-form-card .wpcf7 form.failed .wpcf7-response-output,
.jd-contact-form-card .wpcf7 form.aborted .wpcf7-response-output,
.jd-contact-form-card .wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--jd-color-primary-dark);
	background: #fff7f7;
}

.jd-contact-form-card .wpcf7 form.sent .wpcf7-response-output {
	border-color: #099268;
	background: #e6fcf5;
}

/* Location panel ([jd_location_panel]); no map iframe. */
.jd-location-panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
}

.jd-location-panel__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	overflow: hidden;
	border-radius: 6px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
		radial-gradient(circle at 50% 55%, rgba(227, 5, 7, 0.38) 0%, rgba(227, 5, 7, 0) 55%),
		linear-gradient(140deg, #040303 0%, #171111 60%, #2a0a0a 100%);
}

.jd-location-panel__visual::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
	content: "";
}

.jd-location-panel__pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--jd-color-primary);
	box-shadow: 0 0 0 10px rgba(227, 5, 7, 0.18);
	color: var(--jd-color-surface);
}

.jd-location-panel__pin svg {
	width: 30px;
	height: 30px;
}

.jd-location-panel__label {
	margin: 0 0 6px;
	color: var(--jd-color-primary-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jd-location-panel__address {
	margin: 0 0 12px;
	color: var(--jd-color-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
}

.jd-location-panel__note {
	margin: 0 0 22px;
	color: var(--jd-color-body);
	font-size: 15px;
	line-height: 1.65;
}

.jd-location-panel .jd-contact-actions .jd-button {
	flex: 1 1 0;
}

@media screen and (max-width: 1199.98px) {
	.jd-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jd-about-help__grid.e-con {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jd-location-panel .jd-contact-actions .jd-button {
		flex: 1 1 100%;
	}
}

@media screen and (max-width: 1024px) {
	.e-con.jd-page-hero {
		--padding-top: 56px;
		--padding-bottom: 64px;
	}

	.jd-about-reasons > .e-con-inner {
		gap: 48px;
	}
}

@media screen and (max-width: 991.98px) {
	.jd-page-hero > .e-con-inner,
	.jd-about-reasons > .e-con-inner,
	.jd-contact-main > .e-con-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.jd-page-hero .jd-tire-mark {
		display: none;
	}

	.jd-about-reasons > .e-con-inner {
		gap: 32px;
	}

	.jd-about-reasons__intro.e-con,
	.jd-about-story .jd-home-intro__heading.e-con {
		position: static;
	}

	.jd-contact-main > .e-con-inner {
		gap: 24px;
	}

	.jd-location-panel .jd-contact-actions .jd-button {
		flex: 1 1 0;
	}
}

@media screen and (max-width: 767.98px) {
	.e-con.jd-page-hero {
		--padding-top: 36px;
		--padding-bottom: 48px;
	}

	.jd-page-hero .jd-home-lead p {
		font-size: 17px;
	}

	.jd-about-help__grid.e-con,
	.jd-contact-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.jd-topic-card {
		padding: 26px 22px 22px;
	}

	.jd-home-why .jd-about-reasons__list .jd-home-why__item .elementor-icon-box-wrapper {
		padding: 22px 20px;
	}

	/* Compact rows on phones: icon beside the details. */
	.jd-contact-card {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 16px;
		padding: 22px 20px;
	}

	.jd-contact-card > :not(.jd-contact-card__icon) {
		grid-column: 2;
	}

	.jd-contact-card__icon {
		grid-row: 1 / span 4;
		width: 44px;
		height: 44px;
		margin-bottom: 0;
	}

	.jd-contact-card__value {
		margin-bottom: 6px;
	}

	.jd-contact-form-card.e-con,
	.jd-contact-location.e-con {
		padding: 28px 20px 24px;
	}

	.jd-form__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.jd-form input[type="submit"].jd-button {
		width: 100%;
	}

	.jd-location-panel .jd-contact-actions .jd-button {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   Phase 2E: Google Business Profile. Contact map ([jd_location_panel
   map="1"]), "View on Google Maps" links and the homepage Google reviews
   section. Map and links come from the central business profile.
   ========================================================================== */

/* Keyless Google Maps embed in the Contact location panel. The brand bar
   sits below the iframe so Google's attribution stays unobscured. */
.jd-location-panel__map {
	overflow: hidden;
	border-radius: 6px;
	background: #e9e6e3;
}

.jd-location-panel__map::after {
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--jd-color-primary) 0%, var(--jd-color-primary) 72%, var(--jd-color-accent) 72%, var(--jd-color-accent) 100%);
	content: "";
}

.jd-location-panel__map iframe {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
}

.jd-location-panel .jd-maps-link,
.jd-visit-card .jd-maps-link {
	color: var(--jd-color-primary-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.jd-location-panel .jd-maps-link {
	display: inline-block;
	margin-top: 18px;
}

.jd-location-panel .jd-maps-link::after,
.jd-visit-card .jd-maps-link::after {
	margin-left: 6px;
	content: "↗";
}

.jd-location-panel .jd-maps-link:hover,
.jd-location-panel .jd-maps-link:focus-visible,
.jd-visit-card .jd-maps-link:hover,
.jd-visit-card .jd-maps-link:focus-visible {
	color: var(--jd-color-primary);
	text-decoration: underline;
}

/* Homepage visit card with both Google actions. */
.jd-visit-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin-top: 2px;
}

.jd-visit-card__links .jd-directions-link {
	margin-top: 0;
}

@media screen and (max-width: 767.98px) {
	.jd-location-panel__map iframe {
		height: 260px;
	}
}
