/*
 * Joydom front page styles (design: Handyman Landing v4 Bold).
 * Scoped under body.jd-home so other templates are unaffected.
 */

body.jd-home {
	--jd-accent: #E4002B;
	--jd-accent-deep: #B4001F;
	--jd-ink: #1A1713;
	--jd-muted: #5A5248;
	--jd-faint: #8A8073;
	--jd-alt-bg: #FBFAF8;
	--jd-dark: #1A1713;
	--jd-footer-bg: #120F0C;
	--jd-hairline: rgba(26, 23, 19, 0.07);
	--jd-hairline-strong: rgba(26, 23, 19, 0.14);
	--jd-wa-green: #25D366;
	--jd-r: 20px;
	margin: 0;
	background: #fff;
	color: var(--jd-ink);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}

html {
	scroll-behavior: smooth;
}

body.jd-home *,
body.jd-home *::before,
body.jd-home *::after {
	box-sizing: border-box;
}

/*
 * Element resets use :where() so they carry zero specificity and any
 * single-class component rule (e.g. .jd-btn--accent color) can override.
 */
:where(body.jd-home) h1,
:where(body.jd-home) h2,
:where(body.jd-home) h3,
:where(body.jd-home) h4,
:where(body.jd-home) p {
	margin: 0;
}

:where(body.jd-home) a {
	text-decoration: none;
	color: inherit;
}

/*
 * Neutralise Hello Elementor's `a:hover,a:active{color:#333366}` (reset.css),
 * a purple that leaked onto any link/button without its own hover colour.
 * Same specificity (0,1,1) as the parent rule but loaded later, so it wins;
 * component hovers (nav, chips, links, buttons) are more specific and keep
 * their own colour. Plain links simply keep their colour on hover.
 */
a:hover,
a:active,
a:focus {
	color: inherit;
}

:where(body.jd-home) button {
	font-family: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	color: inherit;
}

/*
 * Hello Elementor's reset.css colours bare buttons pink: `button,[type=button],
 * [type=submit]{color:#CC3366;border-color:#CC3366}` and a pink background on
 * hover/focus. The :where() reset above (0 specificity) loses to those
 * attribute selectors, so icon buttons (hamburger, arrows, FAQ toggles) went
 * pink. These matching-selector rules load later and win; our component classes
 * (.jd-btn--*, .jd-carousel__arrow…) come later still and keep their own colour.
 */
button,
[type="button"],
[type="submit"],
[type="reset"] {
	color: inherit;
	border-color: currentColor;
	background-color: transparent;
}

button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="submit"]:hover,
[type="submit"]:focus {
	background-color: transparent;
}

.jd-container {
	max-width: 1360px;
	margin: 0 auto;
	padding-left: 28px;
	padding-right: 28px;
}

.jd-container--narrow {
	max-width: 900px;
}

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

.jd-section--alt {
	background: var(--jd-alt-bg);
	border-top: 1px solid var(--jd-hairline);
	border-bottom: 1px solid var(--jd-hairline);
}

.jd-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jd-accent);
	margin-bottom: 14px;
}

.jd-h2 {
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	font-weight: 800;
	text-wrap: balance;
}

.jd-section__intro {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 52px;
}

.jd-section__sub {
	margin-top: 18px;
	font-size: 17px;
	color: var(--jd-muted);
}

.jd-accent-text {
	color: var(--jd-accent);
}

.jd-link-accent {
	color: var(--jd-accent);
	font-weight: 700;
	font-size: 15px;
}

.jd-link-accent:hover {
	color: var(--jd-accent-deep);
}

/* Buttons */
.jd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	padding: 11px 22px;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.jd-btn:active {
	transform: scale(0.97);
}

.jd-btn--accent {
	background: var(--jd-accent);
	color: #fff;
}

.jd-btn--accent:hover {
	background: var(--jd-accent-deep);
	color: #fff;
}

/* Promo bar */
.jd-promo {
	background: var(--jd-dark);
	color: #fff;
	padding: 11px 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 26px;
	font-size: 14.5px;
}

.jd-promo__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.jd-promo__offer {
	color: inherit;
	text-decoration: none;
}

.jd-promo__offer:hover {
	color: #fff;
}

.jd-promo__offer:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.jd-promo__cart {
	width: 18px;
	height: 18px;
	color: var(--jd-accent);
}

.jd-promo__box {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 7px;
	padding: 4px 8px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	min-width: 30px;
	text-align: center;
}

.jd-promo__unit {
	font-size: 0.8em;
	font-weight: 700;
	opacity: 0.82;
}

.jd-promo__box--accent {
	background: var(--jd-accent);
}

.jd-promo__claim {
	text-decoration: underline;
	font-weight: 600;
}

/* Header */
.jd-header {
	position: sticky;
	top: 0;
	z-index: 10030;
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(26, 23, 19, 0.08);
}

/*
 * Three-column grid so the nav sits exactly at screen center regardless of
 * how wide the brand and actions are.
 */
.jd-header__inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 8px 28px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 30px;
}

.jd-header__inner .jd-brand {
	justify-self: start;
}

.jd-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

/*
 * Brand logo image. The source PNG is a circular mark on a white square, so
 * on the white header the square blends away and only the mark shows; the
 * border-radius makes it read as a tidy rounded badge on the dark footer.
 */
.jd-brand__logo {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	object-fit: contain;
	flex: none;
	display: block;
}

/* Header logo is enlarged ~40% vs the footer badge. */
.jd-header .jd-brand__logo {
	width: 46px;
	height: 46px;
}

.jd-brand__name {
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
}

.jd-nav {
	display: flex;
	gap: 26px;
	justify-self: center;
	white-space: nowrap;
}

.jd-nav a {
	font-weight: 600;
	font-size: 15px;
	color: var(--jd-muted);
	transition: color 0.2s ease;
}

/*
 * Top-level nav links get tall padding so the hover zone reaches the header
 * edges — the pointer never falls out of :hover on its way down to the
 * dropdown panel.
 */
.jd-nav > a,
.jd-nav__item > a {
	padding: 20px 0;
}

.jd-nav a:hover {
	color: var(--jd-accent);
}

.jd-nav > a.is-active,
.jd-nav__item > a.is-active {
	color: var(--jd-accent);
}

/*
 * Services hover dropdown. The nav item is intentionally NOT a positioning
 * context: the panel anchors to the sticky full-width header, so it centers
 * on the screen instead of on the link (a link-centered panel this wide
 * would be cut off by the viewport edge).
 */
.jd-nav__item {
	position: static;
}

.jd-nav__item > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.jd-nav__chevron {
	width: 13px;
	height: 13px;
	transition: transform 0.2s ease;
}

.jd-nav__item:hover .jd-nav__chevron,
.jd-nav__item.is-open .jd-nav__chevron {
	transform: rotate(180deg);
}

.jd-nav__dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background: #fff;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 16px;
	box-shadow: 0 26px 50px -22px rgba(26, 23, 19, 0.4);
	/* .jd-nav is nowrap; restore wrapping so long names never overlap columns. */
	white-space: normal;
	padding: 28px;
	display: grid;
	grid-template-columns: repeat(5, minmax(225px, 1fr));
	gap: 28px 34px;
	width: max-content;
	max-width: min(1440px, calc(100vw - 48px));
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 50;
}

.jd-nav__group-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--jd-ink);
	padding: 0 0 10px;
	border-bottom: 1px solid var(--jd-hairline-strong);
	margin-bottom: 8px;
}

.jd-nav__group-icon {
	width: 27px;
	height: 27px;
	border-radius: 8px;
	background: var(--jd-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.jd-nav__group-icon svg {
	width: 15px;
	height: 15px;
}

.jd-nav__group-title:hover {
	color: var(--jd-accent);
	border-bottom-color: var(--jd-accent);
}

.jd-nav__group-title.is-active {
	color: var(--jd-accent);
	border-bottom-color: var(--jd-accent);
}

.jd-nav__sub {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--jd-muted);
	padding: 5px 0 5px 37px;
	border-radius: 7px;
}

.jd-nav__sub:hover {
	background: var(--jd-alt-bg);
	color: var(--jd-accent);
}

.jd-nav__sub.is-active {
	background: var(--jd-alt-bg);
	color: var(--jd-accent);
	font-weight: 700;
}

/* Tablet and mobile: nav collapses to the hamburger menu. The 7-item nav needs
   ~960px, so switch to the burger at 1200px to cover landscape tablets too.
   `.jd-header .jd-burger` (specificity 0,2,0) must beat the base
   `.jd-burger{display:none}` rule that appears later in this file. */
@media (max-width: 1200px) {
	.jd-nav,
	.jd-header__phone {
		display: none;
	}

	/* With the nav hidden, drop the 3-column grid (its empty middle column
	   left the actions floating short of the edge) for a simple two-end
	   layout: brand hard-left, actions + burger hard-right. */
	.jd-header__inner {
		display: flex;
		justify-content: space-between;
	}

	.jd-header .jd-burger {
		display: inline-flex;
		color: var(--jd-ink);
	}
}

/*
 * `is-open` is driven by JS hover-intent (see home.js): it keeps the panel
 * open for a moment after the pointer leaves, so travelling from the link
 * down into the panel never snaps it shut. A CSS-only :hover bridge cannot
 * work here — the panel's own overflow-y clips any pseudo-element bridge.
 * :hover/:focus-within remain as the no-JS and keyboard fallback.
 */
.jd-nav__item:hover .jd-nav__dropdown,
.jd-nav__item:focus-within .jd-nav__dropdown,
.jd-nav__item.is-open .jd-nav__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(6px);
}

.jd-nav__dropdown-all {
	grid-column: 1 / -1;
	margin-top: 4px;
	border-top: 1px solid var(--jd-hairline);
	padding-top: 18px;
	font-size: 14px;
	font-weight: 700;
	color: var(--jd-accent);
}

.jd-nav__dropdown-all:hover {
	color: var(--jd-accent-deep);
}

.jd-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-self: end;
}

.jd-header-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 12px;
	background: transparent;
	color: var(--jd-ink);
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jd-header-search-toggle:hover {
	border-color: var(--jd-accent);
	background: transparent;
	color: var(--jd-accent);
}

/* Keep the search control unmistakably visible while its panel is open.
   Explicit SVG paint/display also avoids browser and theme button-state rules
   making the currentColor icon appear to vanish after activation. */
.jd-header-search-toggle[aria-expanded="true"] {
	border-color: var(--jd-accent);
	background: transparent;
	color: var(--jd-accent);
}

.jd-header-search-toggle:focus-visible,
.jd-header-search__close:focus-visible {
	outline: 3px solid rgba(239, 90, 65, 0.28);
	outline-offset: 3px;
}

.jd-header-search-toggle svg {
	display: block;
	flex: none;
	width: 23px;
	height: 23px;
	stroke: currentColor;
	visibility: visible;
	opacity: 1;
}

.jd-header-search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--jd-hairline-strong);
	box-shadow: 0 30px 50px -30px rgba(26, 23, 19, 0.4);
	z-index: 46;
}

.jd-header-search[hidden] {
	display: none;
}

.jd-header-search__inner {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	padding: 24px 28px 28px;
}

.jd-header-search__suggestions {
	position: absolute;
	top: calc(100% - 20px);
	left: 28px;
	right: 28px;
	max-height: min(430px, 60vh);
	overflow-y: auto;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 0 0 16px 16px;
	background: #fff;
	box-shadow: 0 24px 44px -28px rgba(26, 23, 19, 0.5);
	z-index: 2;
}

.jd-header-search__suggestions[hidden] {
	display: none;
}

.jd-header-search__suggestion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--jd-hairline);
	color: var(--jd-ink);
	text-decoration: none;
}

.jd-header-search__suggestion:last-child {
	border-bottom: 0;
}

.jd-header-search__suggestion:hover,
.jd-header-search__suggestion.is-active {
	background: var(--jd-alt-bg);
	color: var(--jd-accent-deep);
}

.jd-header-search__suggestion-title {
	font-weight: 750;
}

.jd-header-search__suggestion-type {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--jd-muted);
}

.jd-header-search__form {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 14px;
	padding: 10px 10px 10px 20px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 18px;
	background: var(--jd-alt-bg);
}

.jd-header-search__form:focus-within {
	border-color: var(--jd-accent);
	box-shadow: 0 0 0 4px rgba(239, 90, 65, 0.12);
}

.jd-header-search__icon {
	width: 24px;
	height: 24px;
	color: var(--jd-muted);
}

.jd-header-search__form input {
	min-width: 0;
	width: 100%;
	min-height: 48px;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--jd-ink);
	font: inherit;
	font-size: 17px;
}

.jd-header-search__form input::placeholder {
	color: var(--jd-muted);
}

.jd-header-search__submit {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: var(--jd-accent);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.jd-header-search__submit:hover {
	background: var(--jd-accent-deep);
}

.jd-header-search__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--jd-muted);
	cursor: pointer;
}

.jd-header-search__close:hover {
	background: #fff;
	color: var(--jd-ink);
}

.jd-header-search__close svg {
	width: 24px;
	height: 24px;
}

.jd-header__phone {
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
}

/* Mobile hamburger + panel (shown ≤900px where the nav is hidden). */
.jd-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 12px;
	border: 1px solid var(--jd-hairline-strong);
	color: var(--jd-ink);
	align-items: center;
	justify-content: center;
	flex: none;
}

.jd-burger svg {
	width: 28px;
	height: 28px;
	flex: none;
}

.jd-header .jd-burger__open {
	display: block !important;
}

.jd-header .jd-burger__close {
	display: none !important;
}

.jd-header .jd-burger.is-open .jd-burger__open {
	display: none !important;
}

.jd-header .jd-burger.is-open .jd-burger__close {
	display: block !important;
}

.jd-mobilenav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--jd-hairline-strong);
	box-shadow: 0 30px 50px -30px rgba(26, 23, 19, 0.4);
	padding: 20px 24px 26px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	z-index: 45;
}

@media (min-width: 1201px) {
	.jd-mobilenav {
		display: none !important;
	}
}

.jd-mobilenav__links {
	display: flex;
	flex-direction: column;
}

.jd-mobilenav__links a {
	display: block;
	padding: 13px 2px;
	font-size: 16px;
	font-weight: 600;
	color: var(--jd-ink);
	border-bottom: 1px solid var(--jd-hairline);
}

.jd-mobilenav__links a:last-child {
	border-bottom: 0;
}

.jd-mobilenav__links a:active {
	color: var(--jd-accent);
}

.jd-mobilenav__service-toggle,
.jd-mobilenav__service-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.jd-mobilenav__service-toggle {
	min-height: 48px;
	padding: 13px 2px;
	border: 0 !important;
	border-bottom: 1px solid var(--jd-hairline);
	border-radius: 0;
	background: transparent !important;
	color: var(--jd-ink) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	text-align: left;
	appearance: none;
	cursor: pointer;
}

.jd-mobilenav__service-toggle.is-active {
	color: var(--jd-accent) !important;
}

.jd-mobilenav__service-toggle svg,
.jd-mobilenav__category-toggle svg {
	width: 17px;
	height: 17px;
	transition: transform 0.2s ease;
}

.jd-mobilenav__disclosure.is-open svg {
	transform: rotate(180deg);
}

.jd-mobilenav__service-panel {
	padding: 8px 0 12px 12px;
	background: var(--jd-alt-bg);
	border-bottom: 1px solid var(--jd-hairline);
}

.jd-mobilenav__service-row .jd-mobilenav__category {
	flex: 1;
	padding: 11px 10px;
	border-bottom: 0;
	font-size: 14.5px;
	font-weight: 700;
}

.jd-mobilenav__category-toggle {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: var(--jd-muted) !important;
	appearance: none;
	cursor: pointer;
}

.jd-mobilenav__service-toggle:hover,
.jd-mobilenav__service-toggle:focus,
.jd-mobilenav__category-toggle:hover,
.jd-mobilenav__category-toggle:focus {
	background: transparent !important;
}

.jd-mobilenav__children {
	padding: 0 8px 8px 14px;
}

.jd-mobilenav__children .jd-mobilenav__child {
	padding: 9px 10px;
	border-bottom: 0;
	font-size: 13.5px;
	font-weight: 500;
}

.jd-mobilenav__links .is-active {
	color: var(--jd-accent);
}

.jd-mobilenav__links > a.is-active {
	background: rgba(228, 0, 43, 0.08);
	color: var(--jd-accent);
	border-bottom-color: transparent;
	border-radius: 10px;
	padding-left: 12px;
	padding-right: 12px;
	font-weight: 800;
}

.jd-mobilenav__service-toggle.is-active {
	background: rgba(228, 0, 43, 0.08) !important;
	border-bottom-color: transparent;
	border-radius: 10px;
	padding-left: 12px;
	padding-right: 12px;
	font-weight: 800;
}

.jd-mobilenav__service-panel .jd-mobilenav__all-services {
	padding: 12px 10px 4px;
	border-bottom: 0;
	color: var(--jd-accent);
	font-size: 14px;
	font-weight: 700;
}

.jd-mobilenav__cta {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 20px;
}

.jd-mobilenav__phone {
	font-weight: 700;
	font-size: 15px;
}

@media (max-width: 600px) {
	.jd-header__actions {
		gap: 10px;
	}

	.jd-header-search__inner {
		padding: 16px;
	}

	.jd-header-search__suggestions {
		top: calc(100% - 8px);
		left: 16px;
		right: 16px;
		max-height: 52vh;
	}

	.jd-header-search__form {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 10px;
		padding: 8px 8px 8px 14px;
		border-radius: 15px;
	}

	.jd-header-search__submit {
		grid-column: 1 / -1;
		width: 100%;
	}
}

/* Hero */
.jd-hero {
	padding-top: 26px;
}

.jd-hero__panel {
	background: var(--jd-accent);
	border-radius: 28px;
	color: #fff;
	padding: 74px 56px 150px;
	position: relative;
	overflow: hidden;
}

.jd-hero__panel::before {
	content: "";
	position: absolute;
	top: -220px;
	right: -160px;
	width: 620px;
	height: 620px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 62%);
	pointer-events: none;
}

.jd-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: center;
	position: relative;
}

.jd-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 26px;
}

.jd-hero__dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	flex: none;
}

.jd-hero__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #fff;
	animation: jd-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes jd-ping {
	0% { transform: scale(1); opacity: 0.8; }
	80%, 100% { transform: scale(2.6); opacity: 0; }
}

.jd-hero__title {
	font-size: clamp(46px, 6.2vw, 88px);
	line-height: 0.96;
	letter-spacing: -0.035em;
	font-weight: 800;
}

.jd-hero__sub {
	margin-top: 24px;
	font-size: 20px;
	color: rgba(255, 255, 255, 0.9);
	max-width: 500px;
}

.jd-hero__buttons {
	margin-top: 34px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.jd-hero__proofs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	max-width: 500px;
	margin: 0 0 18px;
}

.jd-hero__proof {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.jd-hero__proof-icon {
	width: 16px;
	height: 16px;
	flex: none;
	opacity: 0.92;
}

.jd-btn--hero-primary {
	background: #fff;
	color: var(--jd-accent);
	padding: 16px 30px;
	font-size: 16px;
}

.jd-btn--hero-primary:hover {
	box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.45);
	color: var(--jd-accent);
}

.jd-btn--hero-ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 16px 30px;
	font-size: 16px;
}

.jd-btn--hero-ghost:hover {
	border-color: rgba(255, 255, 255, 0.8);
	color: #fff;
}

/* Carousel — fixed 500×550 image box, centered in the hero media column. */
.jd-carousel {
	position: relative;
	border-radius: var(--jd-r);
	overflow: hidden;
	width: 500px;
	max-width: 100%;
	height: 550px;
	margin: 0 auto;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
}

/* Desktop hero scales with available monitor height while staying readable. */
@media (min-width: 1025px) {
	.jd-hero__panel {
		min-height: clamp(640px, calc(100svh - 118px), 900px);
		padding: clamp(48px, 6svh, 74px) 56px clamp(120px, 12svh, 150px);
		display: flex;
		align-items: center;
	}

	.jd-hero__grid {
		width: 100%;
	}

	.jd-carousel {
		height: clamp(420px, 55svh, 550px);
	}
}

@media (max-width: 640px) {
	.jd-carousel {
		height: 420px;
	}
}

.jd-carousel__track {
	display: flex;
	height: 100%;
	width: 500%;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.jd-carousel__slide {
	position: relative;
	width: 20%;
	height: 100%;
	flex: none;
}

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

.jd-carousel__slide span {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(26, 23, 19, 0.64);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.jd-carousel .jd-carousel__arrow[type="button"] {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	background: rgba(26, 23, 19, 0.24);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
	transition: background 0.2s ease, transform 0.2s ease;
}

.jd-carousel .jd-carousel__arrow[type="button"]:hover {
	background: rgba(26, 23, 19, 0.5);
	color: #fff;
}

.jd-carousel .jd-carousel__arrow[type="button"]:active,
.jd-carousel .jd-carousel__arrow[type="button"]:focus {
	color: #fff;
}

.jd-carousel__arrow:focus-visible {
	outline: 3px solid #ffca28;
	outline-offset: 3px;
}

.jd-carousel__arrow svg {
	width: 18px;
	height: 18px;
}

.jd-carousel__arrow--prev { left: 12px; }
.jd-carousel__arrow--next { right: 12px; }

.jd-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.jd-carousel__dots button {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	padding: 0;
	transition: width 0.3s ease, background 0.3s ease;
}

.jd-carousel__dots button.is-active {
	width: 26px;
	background: #fff;
}

/* Image placeholders (until real photos are supplied) */
.jd-ph {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	overflow: hidden;
}

.jd-ph--1 { background: linear-gradient(135deg, #3E3730, #1A1713); }
.jd-ph--2 { background: linear-gradient(135deg, #55483C, #2A241E); }
.jd-ph--3 { background: linear-gradient(135deg, #6B5A4A, #3E3730); }
.jd-ph--4 { background: linear-gradient(135deg, #4A4038, #241F1A); }
.jd-ph--5 { background: linear-gradient(135deg, #5F5346, #322B24); }

.jd-carousel__slide.jd-ph > span {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	letter-spacing: 0.04em;
}

/* Stats card */
.jd-stats {
	position: relative;
	z-index: 5;
	margin: -110px 40px 0;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 60px -30px rgba(26, 23, 19, 0.35);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 34px 10px;
}

.jd-stats__item {
	text-align: center;
	padding: 6px 18px;
	border-left: 1px solid var(--jd-hairline);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.jd-stats__item:first-child {
	border-left: 0;
}

.jd-stats__num {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.jd-stats__num em {
	font-style: normal;
	color: var(--jd-accent);
}

.jd-stats__label {
	font-size: 14px;
	color: var(--jd-muted);
	font-weight: 500;
}

/* Search */
.jd-search {
	position: relative;
	max-width: 560px;
	margin: 0 auto 54px;
}

.jd-search__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 999px;
	padding: 7px 7px 7px 20px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jd-search__bar:focus-within {
	border-color: var(--jd-accent);
	box-shadow: 0 14px 34px -18px rgba(26, 23, 19, 0.35);
}

.jd-search__icon {
	width: 19px;
	height: 19px;
	color: var(--jd-faint);
	flex: none;
}

.jd-search__bar input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	font: inherit;
	font-size: 15px;
	color: var(--jd-ink);
	background: transparent;
}

.jd-search__bar input::placeholder {
	color: var(--jd-faint);
}

.jd-search__btn {
	padding: 10px 22px;
	flex: none;
}

.jd-search__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 18px;
	box-shadow: 0 22px 40px -26px rgba(26, 23, 19, 0.4);
	overflow: hidden;
	z-index: 30;
}

.jd-search__result {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 11px 16px;
	text-align: left;
	font-size: 15px;
	transition: background 0.15s ease;
}

.jd-search__result:hover {
	background: var(--jd-alt-bg);
}

.jd-search__result-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--jd-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.jd-search__result-icon svg {
	width: 17px;
	height: 17px;
}

.jd-search__result strong {
	display: block;
	font-weight: 700;
}

.jd-search__result small {
	color: var(--jd-faint);
	font-size: 12.5px;
}

.jd-search__result-chevron {
	margin-left: auto;
	width: 16px;
	height: 16px;
	color: #B7AE9F;
	flex: none;
}

.jd-search__empty {
	display: block;
	padding: 16px;
	text-align: center;
	font-size: 14.5px;
	color: var(--jd-muted);
}

.jd-search__empty a {
	color: var(--jd-accent);
	font-weight: 700;
}

/* Services grid */
.jd-service-filter {
	margin-bottom: 28px;
	padding: 16px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 38px -30px rgba(26, 23, 19, 0.5);
}

.jd-service-filter[hidden],
.jd-service-filter__item[hidden],
.jd-service--cta[hidden],
.jd-services__more[hidden],
.jd-service-filter__empty[hidden] {
	display: none !important;
}

.jd-service-filter__controls {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
	gap: 16px;
}

.jd-service-filter__field {
	display: grid;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--jd-ink);
}

.jd-service-filter__field input,
.jd-service-filter__field select {
	width: 100%;
	height: 52px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 14px;
	background: #fff;
	color: var(--jd-ink);
	font: inherit;
	font-weight: 500;
	padding: 0 16px;
}

.jd-service-filter__field input:focus,
.jd-service-filter__field select:focus {
	border-color: var(--jd-accent);
	outline: 3px solid rgba(228, 0, 43, 0.14);
	outline-offset: 1px;
}

.jd-service-filter__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	margin-top: 10px;
}

.jd-service-filter__meta p {
	margin: 0;
	color: var(--jd-muted);
	font-size: 14px;
}

.jd-service-filter__meta button {
	border: 0;
	background: transparent;
	color: var(--jd-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.jd-service-filter__meta button:disabled {
	opacity: 0.42;
	cursor: default;
}

.jd-service-filter__parent {
	display: block;
	margin-bottom: 8px;
	color: var(--jd-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-service-filter__empty {
	margin-top: 22px;
	padding: 34px 24px;
	border: 1px solid var(--jd-hairline);
	border-radius: var(--jd-r);
	background: var(--jd-alt-bg);
	text-align: center;
}

.jd-service-filter__empty h2 {
	margin-bottom: 8px;
	font-size: 20px;
}

.jd-service-filter__empty a {
	color: var(--jd-accent);
	font-weight: 700;
}

.jd-services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.jd-service {
	background: var(--jd-alt-bg);
	border: 1px solid var(--jd-hairline);
	border-radius: var(--jd-r);
	padding: 28px 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	display: block;
}

.jd-service:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 40px -26px rgba(26, 23, 19, 0.4);
	border-color: var(--jd-accent);
}

.jd-service__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--jd-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.jd-service__photo {
	display: block;
	height: 148px;
	margin: -30px -30px 20px;
	overflow: hidden;
	background: var(--jd-alt-bg);
}

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

.jd-service__media {
	display: grid;
	height: 148px;
	margin: -30px -30px 20px;
	gap: 3px;
	overflow: hidden;
	background: var(--jd-alt-bg);
}

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

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

.jd-service__media--count-3 .jd-service__media-item:first-child {
	grid-row: 1 / -1;
}

.jd-service__media-item,
.jd-service__media-item img {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.jd-service__media-item img {
	object-fit: cover;
}

@media (max-width: 600px) {
	.jd-service__media {
		height: 128px;
	}
}

.jd-service__icon svg {
	width: 26px;
	height: 26px;
}

.jd-service h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.jd-service p {
	font-size: 14px;
	color: var(--jd-muted);
}

.jd-service--cta {
	background: var(--jd-accent);
	border-color: var(--jd-accent);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.jd-service--cta h3 {
	font-size: 21px;
}

.jd-service--cta p {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 700;
	font-size: 15px;
}

.jd-service--cta:hover {
	background: var(--jd-accent-deep);
	border-color: var(--jd-accent-deep);
}

/* Process */
.jd-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.jd-step {
	background: #fff;
	border: 1px solid var(--jd-hairline);
	border-radius: var(--jd-r);
	padding: 32px;
}

.jd-step__num {
	display: block;
	font-size: 54px;
	font-weight: 800;
	color: var(--jd-accent);
	line-height: 1;
	margin-bottom: 18px;
}

.jd-step h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
}

.jd-step p {
	font-size: 15px;
	color: var(--jd-muted);
}

/* Work / bento */
.jd-work__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.jd-bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 220px;
	gap: 16px;
}

.jd-bento__tile {
	border-radius: var(--jd-r);
	position: relative;
}

.jd-bento__tile--main {
	grid-column: span 2;
	grid-row: span 2;
}

.jd-bento__label {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(26, 23, 19, 0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
	padding: 6px 13px;
}

/* Reviews */
.jd-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.jd-review {
	margin: 0;
	background: #fff;
	border: 1px solid var(--jd-hairline);
	border-radius: var(--jd-r);
	padding: 30px;
	display: flex;
	flex-direction: column;
}

.jd-review[hidden] {
	display: none;
}

.jd-review__stars {
	color: var(--jd-accent);
	font-size: 17px;
	letter-spacing: 3px;
	margin-bottom: 16px;
}

.jd-review blockquote {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
}

.jd-review__quote.is-collapsed {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

.jd-testimonials .jd-review__more[type="button"] {
	align-self: flex-start;
	margin: -12px 0 18px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--jd-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.jd-testimonials .jd-review__more[type="button"]:hover,
.jd-testimonials .jd-review__more[type="button"]:active,
.jd-testimonials .jd-review__more[type="button"]:focus {
	color: var(--jd-accent-deep);
	background: transparent;
}

.jd-testimonials .jd-review__more[type="button"]:focus-visible {
	outline: 2px solid var(--jd-accent);
	outline-offset: 3px;
}

.jd-review__more[hidden],
.jd-testimonials__load-more[hidden] {
	display: none;
}

.jd-testimonials__load-more {
	margin: 28px auto 0;
}

.jd-review figcaption {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 13px;
}

.jd-review__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--jd-alt-bg);
	border: 1px solid var(--jd-hairline-strong);
	color: var(--jd-accent);
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.jd-review figcaption strong {
	display: block;
	font-size: 15px;
}

.jd-review figcaption small {
	display: block;
	color: var(--jd-faint);
	font-size: 13px;
}

/* Service area */
.jd-area {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.jd-area__copy p {
	margin: 18px 0 24px;
	font-size: 16.5px;
	color: var(--jd-muted);
	max-width: 460px;
}

.jd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 26px;
}

.jd-chips span {
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--jd-muted);
}

.jd-area__map {
	border-radius: var(--jd-r);
	aspect-ratio: 5 / 4;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	flex-direction: column;
	gap: 12px;
}

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

.jd-ph--map {
	background: linear-gradient(135deg, #3E3730, #1A1713);
	color: rgba(255, 255, 255, 0.65);
}

.jd-area__map svg {
	width: 44px;
	height: 44px;
	color: var(--jd-accent);
}

.jd-area__map span {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* FAQ */
.jd-faq {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jd-faq__item {
	background: var(--jd-alt-bg);
	border: 1px solid rgba(26, 23, 19, 0.12);
	border-radius: 18px;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease;
}

.jd-section--alt .jd-faq__item {
	background: #fff;
}

.jd-faq__item:hover {
	border-color: rgba(26, 23, 19, 0.22);
}

.jd-faq__item.is-open {
	border-color: rgba(228, 0, 43, 0.28);
	box-shadow: 0 18px 40px -24px rgba(26, 23, 19, 0.4);
}

/*
 * FAQ colours are pinned with !important: the question is a <button>, and
 * Elementor / parent-theme global colour rules otherwise repaint it.
 */
.jd-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	text-align: left;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.4;
	padding: 20px 24px;
	letter-spacing: -0.01em;
	cursor: pointer;
	/*
	 * border pinned to 0: Hello Elementor's reset gives bare buttons a border
	 * (button,[type=button]{border-color:…}); our .jd-faq__q is a <button>, so
	 * without this its square-cornered border draws across the rounded card top
	 * and "cuts" the corner. border-radius:inherit is belt-and-braces.
	 */
	border: 0 !important;
	border-radius: inherit;
	background: transparent !important;
	color: var(--jd-ink) !important;
	transition: color 0.2s ease;
}

.jd-faq__q-text {
	flex: 1 1 auto;
}

.jd-faq__q:hover,
.jd-faq__item.is-open .jd-faq__q {
	color: var(--jd-accent) !important;
}

.jd-faq__toggle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--jd-hairline-strong);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	background: transparent !important;
	color: var(--jd-ink) !important;
}

.jd-faq__q:hover .jd-faq__toggle {
	border-color: var(--jd-accent);
	color: var(--jd-accent) !important;
}

.jd-faq__toggle svg {
	width: 15px;
	height: 15px;
}

.jd-faq__item.is-open .jd-faq__toggle {
	transform: rotate(45deg);
	background: var(--jd-accent) !important;
	border-color: var(--jd-accent) !important;
	color: #fff !important;
}

/* Grid-rows reveal animates any answer length with no clipping. */
.jd-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.jd-faq__item.is-open .jd-faq__a {
	grid-template-rows: 1fr;
}

/*
 * Padding lives on the paragraphs, NOT on .jd-faq__a-inner: padding on the
 * collapsing element isn't clipped by its own overflow:hidden, so the grid
 * track can't shrink below it and a sliver of the answer leaks out when closed.
 */
.jd-faq__a-inner {
	min-height: 0;
	overflow: hidden;
}

.jd-faq__a p {
	margin: 0;
	padding: 0 24px;
	font-size: 15.5px;
	color: var(--jd-muted) !important;
	line-height: 1.65;
}

.jd-faq__a p:last-child {
	padding-bottom: 22px;
}

.jd-faq__a p + p {
	margin-top: 12px;
}

.jd-faq__more {
	margin-top: 30px;
	text-align: center;
}

@media (max-width: 1024px) {
	.jd-faq__q {
		min-height: 0;
		align-items: flex-start;
	}

	.jd-faq__q-text {
		min-width: 0;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		overflow-wrap: anywhere;
	}

	.jd-faq__toggle {
		flex-shrink: 0;
		margin-top: 1px;
	}
}

/* Quote / CTA */
.jd-quote {
	background: var(--jd-dark);
	color: #fff;
	padding: 92px 0;
}

.jd-trust-marquee {
	overflow: hidden;
	padding: 44px 0 30px;
	border-top: 1px solid var(--jd-hairline);
	border-bottom: 1px solid var(--jd-hairline);
	background: #fff;
}

.jd-trust-marquee__heading {
	margin-bottom: 26px;
	text-align: center;
}

.jd-trust-marquee__label {
	display: block;
	margin-bottom: 8px;
	color: var(--jd-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.jd-trust-marquee__title {
	margin: 0;
	color: var(--jd-ink);
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.jd-trust-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.jd-trust-marquee__track {
	display: flex;
	width: max-content;
	animation: jd-marquee 55s linear infinite;
}

.jd-trust-marquee__viewport:hover .jd-trust-marquee__track {
	animation-play-state: paused;
}

.jd-trust-marquee__set {
	display: flex;
	align-items: center;
	gap: 36px;
	padding-right: 36px;
}

.jd-trust-marquee__logo {
	display: grid;
	place-items: center;
	width: 240px;
	height: 100px;
}

.jd-trust-marquee__logo img {
	max-width: 224px;
	max-height: 88px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: none;
	opacity: 1;
}

@media (max-width: 640px) {
	.jd-trust-marquee__set { gap: 28px; padding-right: 28px; }
	.jd-trust-marquee__logo { width: 190px; height: 82px; }
	.jd-trust-marquee__logo img { max-width: 178px; max-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.jd-trust-marquee__track { animation: none; transform: none; }
}

.jd-quote__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.jd-quote__copy h2 {
	font-size: clamp(38px, 4.8vw, 62px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.jd-quote__copy p {
	margin-top: 22px;
	font-size: 17.5px;
	color: rgba(255, 255, 255, 0.75);
	max-width: 460px;
}

.jd-quote__bullets {
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.jd-quote__bullets li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 600;
}

.jd-quote__bullets svg {
	width: 20px;
	height: 20px;
	color: var(--jd-accent);
	flex: none;
}

/* Quote form */
.jd-form {
	background: #fff;
	color: var(--jd-ink);
	border-radius: 22px;
	padding: 32px;
}

.jd-form h3 {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 22px;
}

.jd-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* Contact Form 7's automatic paragraph wrapper must not become the only
 * grid item; expose its labels to the row grid on both desktop and mobile. */
.jd-form__row > p {
	display: contents;
}

.jd-form__field {
	display: block;
	margin-bottom: 14px;
}

.jd-form__field > span:first-child {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 7px;
}

.jd-form .wpcf7-form-control-wrap {
	display: block;
	margin: 0;
	font-size: inherit;
	font-weight: 400;
}

.jd-form .wpcf7-form p {
	margin: 0;
}

.jd-form__field input,
.jd-form__field textarea {
	width: 100%;
	background: var(--jd-alt-bg);
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 11px;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	color: var(--jd-ink);
	outline: none;
	transition: border-color 0.2s ease;
	resize: vertical;
}

.jd-form__field input {
	min-height: 44px;
}

.jd-form__field textarea {
	min-height: 132px;
}

.jd-form__field input:focus,
.jd-form__field textarea:focus {
	border-color: var(--jd-accent);
}

.jd-form__field input:focus-visible,
.jd-form__field textarea:focus-visible,
.jd-form__submit:focus-visible,
.jd-form__fallback .jd-btn:focus-visible {
	outline: 3px solid rgba(228, 0, 43, 0.24);
	outline-offset: 2px;
}

.jd-form .wpcf7-not-valid {
	border-color: var(--jd-accent);
	background: rgba(228, 0, 43, 0.04);
}

.jd-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--jd-accent-deep);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.jd-form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 12px;
	background: var(--jd-alt-bg);
	font-size: 13.5px;
	line-height: 1.5;
}

.jd-form .wpcf7 form.invalid .wpcf7-response-output,
.jd-form .wpcf7 form.failed .wpcf7-response-output,
.jd-form .wpcf7 form.spam .wpcf7-response-output {
	border-color: rgba(180, 0, 31, 0.35);
	color: var(--jd-accent-deep);
}

.jd-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(30, 126, 52, 0.35);
	color: #176128;
}

.jd-form .wpcf7-spinner {
	display: none;
	margin: 12px auto 0;
}

.jd-form .wpcf7-form.submitting .wpcf7-spinner {
	display: block;
}

.jd-form .wpcf7-form.submitting .jd-form__submit {
	opacity: 0.7;
	cursor: wait;
}

.jd-form__submit {
	width: 100%;
	min-height: 48px;
	padding: 15px 22px;
	font-size: 16px;
}

.jd-form__fine {
	margin-top: 13px;
	text-align: center;
	font-size: 12.5px;
	color: var(--jd-faint);
}

.jd-form__fallback p {
	margin-bottom: 18px;
	color: var(--jd-muted);
}

@media (max-width: 700px) {
	.jd-form {
		padding: 24px 20px;
	}

	.jd-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* Footer */
.jd-footer {
	background: var(--jd-footer-bg);
	color: rgba(255, 255, 255, 0.6);
	padding: 70px 0 34px;
	font-size: 14.5px;
}

.jd-footer__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 44px;
}

.jd-brand--footer {
	color: #fff;
	margin-bottom: 18px;
}

.jd-footer__brand p {
	max-width: 300px;
	line-height: 1.6;
}

.jd-footer__col {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.jd-footer__col h4 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
}

.jd-footer__col a:hover {
	color: #fff;
}

.jd-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 26px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
}

.jd-footer__legal {
	display: inline-flex;
	gap: 20px;
}

.jd-footer__legal a:hover {
	color: #fff;
}

/* WhatsApp widget */
.jd-service-wa {
	position: fixed;
	right: 24px;
	top: calc(50% - 104px);
	z-index: 61;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--jd-wa-green);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6);
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.jd-service-wa:hover {
	color: #fff;
	transform: scale(1.14);
	background: #1EBE5A;
	box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.16), 0 16px 38px -4px rgba(37, 211, 102, 0.82);
}

.jd-service-wa:active {
	transform: scale(0.94);
}

.jd-service-wa svg {
	width: 30px;
	height: 30px;
}

.jd-wa {
	position: fixed;
	right: 24px;
	/* Centre vertically via a top offset (half the 60px button), NOT a
	   transform — a transform here would become the containing block for the
	   fixed-position card and break its left/right sizing. */
	top: calc(50% - 30px);
	z-index: 10020;
}

.jd-wa__btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #4F46E5;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px -6px rgba(79, 70, 229, 0.58);
	transition: transform 0.2s ease, background 0.2s ease;
}

.jd-wa__btn:hover {
	transform: scale(1.06);
	background: #4338CA;
}

.jd-wa__btn:active {
	transform: scale(0.94);
}

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

.jd-wa__icon-close {
	display: none;
}

.jd-wa.is-open .jd-wa__icon-chat {
	display: none;
}

.jd-wa.is-open .jd-wa__btn {
	background: #4F46E5;
	color: #fff;
	box-shadow: 0 12px 30px -6px rgba(79, 70, 229, 0.58);
}

.jd-wa.is-open .jd-wa__icon-close {
	display: block;
}

.jd-wa__card {
	position: fixed;
	right: 92px;
	top: 50%;
	transform: translateY(-50%);
	width: min(300px, calc(100vw - 108px));
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
	color: var(--jd-ink);
}

/* On phones, span the card between fixed left/right margins so it always fits
   and never overlaps the button. */
@media (max-width: 560px) {
	.jd-service-wa {
		right: 16px;
		top: calc(50% - 96px);
		width: 54px;
		height: 54px;
	}

	.jd-service-wa svg {
		width: 27px;
		height: 27px;
	}

	.jd-wa__card {
		left: 12px;
		right: 84px;
		width: auto;
	}
}

@media (max-width: 1024px) {
	.jd-wa {
		left: calc(100vw - max(16px, env(safe-area-inset-right)) - 52px);
		right: auto;
		top: auto;
		bottom: max(16px, env(safe-area-inset-bottom));
	}

	.jd-wa__btn {
		width: 52px;
		height: 52px;
	}

	.jd-service-wa {
		right: max(16px, env(safe-area-inset-right));
		top: auto;
		bottom: calc(max(16px, env(safe-area-inset-bottom)) + 64px);
		width: 52px;
		height: 52px;
	}

	.jd-service-wa svg,
	.jd-wa__btn svg {
		width: 26px;
		height: 26px;
	}

	.jd-wa__card {
		right: calc(max(16px, env(safe-area-inset-right)) + 64px);
		top: auto;
		bottom: max(16px, env(safe-area-inset-bottom));
		max-height: calc(100dvh - 32px);
		transform: none;
	}
}

.jd-wa__head {
	background: var(--jd-wa-green);
	color: #fff;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.jd-wa__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.jd-wa__avatar svg {
	width: 22px;
	height: 22px;
}

.jd-wa__head strong {
	display: block;
	font-size: 15px;
}

.jd-wa__head small {
	font-size: 12px;
	opacity: 0.85;
}

.jd-wa__body {
	padding: 16px;
}

.jd-wa__bubble {
	background: #F1F0EC;
	border-radius: 14px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 14px;
}

.jd-wa__start {
	display: block;
	text-align: center;
	background: var(--jd-wa-green);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border-radius: 999px;
	padding: 11px;
	transition: background 0.2s ease;
}

.jd-wa__start:hover {
	background: #1EBE5A;
}

/* Responsive */
/*
 * Core-services toggle: desktop shows every service; tablet and mobile
 * show core services only until "Show all services" is tapped.
 */
.jd-services__more {
	display: none;
	margin: 26px auto 0;
}

/* Homepage link to the full services hub. */
.jd-services__all {
	display: flex;
	width: max-content;
	margin: 30px auto 0;
}

/* Completed-projects logo marquee */
.jd-marquee {
	padding: 34px 0 10px;
	border-top: 1px solid var(--jd-hairline);
}

.jd-marquee__label {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jd-faint);
	margin-bottom: 24px;
}

.jd-marquee__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.jd-marquee__track {
	display: flex;
	width: max-content;
	animation: jd-marquee 32s linear infinite;
}

.jd-marquee__viewport:hover .jd-marquee__track {
	animation-play-state: paused;
}

.jd-marquee__group {
	display: flex;
	align-items: center;
	min-width: 100vw;
	justify-content: space-around;
	gap: 58px;
	padding-right: 58px;
}

.jd-marquee__mark {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--jd-faint);
	white-space: nowrap;
	opacity: 0.75;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.jd-marquee__mark:hover {
	opacity: 1;
	color: var(--jd-muted);
}

.jd-marquee__logo {
	height: 44px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.jd-marquee__logo:hover {
	filter: none;
	opacity: 1;
}

@keyframes jd-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-marquee__track {
		animation: none;
	}
}

@media (max-width: 1024px) {
	.jd-service-filter__controls {
		grid-template-columns: minmax(0, 1.35fr) minmax(112px, .85fr);
		gap: 10px;
	}

	.jd-services:not(.is-expanded) .jd-service--extra {
		display: none;
	}

	.jd-services.is-filtering .jd-service--extra:not([hidden]) {
		display: block;
	}

	.jd-services__more {
		display: flex;
	}
}

@media (max-width: 640px) {
	.jd-service-filter {
		padding: 12px;
		border-radius: 16px;
	}

	.jd-service-filter__field {
		min-width: 0;
		gap: 5px;
		font-size: 11px;
	}

	.jd-service-filter__field input,
	.jd-service-filter__field select {
		height: 44px;
		padding: 0 10px;
		font-size: 13px;
	}

	.jd-service-filter__meta {
		min-height: 28px;
		margin-top: 6px;
	}

	.jd-service-filter__meta p,
	.jd-service-filter__meta button {
		font-size: 12px;
	}
}

@media (max-width: 1024px) {
	.jd-hero__panel {
		padding: 56px 36px 130px;
	}

	.jd-hero__grid {
		grid-template-columns: 1fr;
	}

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

	.jd-bento {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 190px;
	}

	.jd-stats {
		margin-left: 16px;
		margin-right: 16px;
	}
}

@media (max-width: 900px) {

	.jd-steps,
	.jd-reviews {
		grid-template-columns: 1fr;
	}

	.jd-area,
	.jd-quote__grid {
		grid-template-columns: 1fr;
	}

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

	.jd-stats__item:nth-child(3) {
		border-left: 0;
	}
}

@media (max-width: 640px) {
	.jd-promo {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 4px 10px;
		padding: 7px max(8px, env(safe-area-inset-right)) 7px max(8px, env(safe-area-inset-left));
		font-size: clamp(10px, 2.8vw, 12px);
		line-height: 1.35;
	}

	.jd-promo__offer {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.jd-promo__cart {
		flex: 0 0 auto;
		width: 14px;
		height: 14px;
	}

	.jd-promo__timer {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
		white-space: nowrap;
	}

	.jd-promo__claim {
		align-self: center;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		white-space: nowrap;
	}

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

	.jd-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.jd-hero__panel {
		min-height: 0;
		height: auto;
		overflow: visible;
		padding: 44px 24px 32px;
		border-radius: 22px;
	}

	.jd-hero__grid {
		min-height: 0;
	}

	.jd-hero__copy,
	.jd-hero__media {
		min-width: 0;
		width: 100%;
	}

	.jd-services {
		grid-template-columns: 1fr;
	}

	.jd-bento {
		grid-template-columns: 1fr;
		grid-auto-rows: 210px;
	}

	.jd-bento__tile--main {
		grid-column: auto;
		grid-row: auto;
	}

	.jd-stats {
		margin: 20px 8px 0;
		padding: 24px 4px;
	}

	.jd-stats__num {
		font-size: 30px;
	}

	.jd-work__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.jd-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.jd-quote {
		padding: 64px 0;
	}

	.jd-search__btn {
		padding: 10px 16px;
	}
}

@media (max-width: 360px) {
	.jd-hero__title {
		font-size: 40px;
	}
}

/*
 * Fit the complete homepage opening within short notebook viewports. This
 * follows the width-responsive rules so landscape tablets restore two columns
 * only when vertical space is the limiting dimension.
 */
@media (min-width: 901px) and (max-height: 820px) {
	.jd-promo {
		padding: 6px 24px;
		gap: 6px 20px;
	}

	.jd-header__inner {
		padding-top: 4px;
		padding-bottom: 4px;
	}

	.jd-nav > a,
	.jd-nav__item > a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.jd-hero {
		padding-top: 12px;
	}

	.jd-hero__panel {
		min-height: clamp(370px, calc(100svh - 135px), 570px);
		padding: 18px 36px 82px;
	}

	.jd-hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 32px;
	}

	.jd-hero__media {
		min-width: 0;
	}

	.jd-hero__title {
		font-size: clamp(36px, 4.2vw, 58px);
	}

	.jd-hero__eyebrow {
		margin-bottom: 10px;
		padding: 6px 13px;
	}

	.jd-hero__sub {
		margin-top: 12px;
		font-size: 16px;
	}

	.jd-hero__buttons {
		margin-top: 16px;
		gap: 10px;
	}

	.jd-btn--hero-primary,
	.jd-btn--hero-ghost {
		padding: 12px 20px;
		font-size: 14.5px;
	}

	.jd-hero__proofs {
		margin-bottom: 10px;
	}

	.jd-carousel {
		width: 100%;
		height: clamp(230px, 45svh, 360px);
	}

	.jd-stats {
		margin-top: -72px;
		grid-template-columns: repeat(4, 1fr);
		padding: 16px 10px;
	}

	.jd-stats__num {
		font-size: 34px;
	}
}

/*
 * Medium and tall desktop monitors keep the complete hero and statistics in
 * the first viewport without the abrupt 88px headline jump above 820px.
 */
@media (min-width: 901px) and (min-height: 821px) {
	.jd-hero__panel {
		min-height: clamp(650px, calc(100svh - 200px), 780px);
		padding: clamp(38px, 5svh, 56px) 56px clamp(96px, 10svh, 112px);
	}

	.jd-hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 48px;
	}

	.jd-hero__media {
		min-width: 0;
	}

	.jd-hero__title {
		font-size: clamp(52px, min(5.2vw, 7svh), 72px);
	}

	.jd-carousel {
		width: 100%;
		height: clamp(400px, min(50svh, 30vw), 500px);
	}

	.jd-stats {
		margin-top: -90px;
		grid-template-columns: repeat(4, 1fr);
		padding: 18px 10px;
	}

	.jd-stats__num {
		font-size: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-carousel__track {
		transition: none;
	}

	.jd-hero__dot::after {
		animation: none;
	}
}
