/*
 * 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;
}

@media (prefers-reduced-motion: reduce) {
	html,
	body.jd-home {
		scroll-behavior: auto;
	}
}

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);
}

/* Give homepage section headings and descriptions the full content width. */
.jd-page--home .jd-section__intro {
	max-width: 1240px;
}

.jd-page--home .jd-section__intro .jd-h2 {
	font-size: clamp(40px, 3.75vw, 48px);
}

.jd-page--home .jd-section__sub {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.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;
}

.jd-btn--whatsapp {
	background: #25d366;
	color: #fff;
}

.jd-btn--whatsapp:hover {
	background: #1ebe5d;
	color: #fff;
}

.jd-btn--whatsapp svg {
	width: 20px;
	height: 20px;
	flex: none;
}

.jd-btn--hero-whatsapp,
.jd-btn--hero-whatsapp:link,
.jd-btn--hero-whatsapp:visited,
.jd-btn--hero-whatsapp:hover,
.jd-btn--hero-whatsapp:focus,
.jd-btn--hero-whatsapp:focus-visible,
.jd-btn--hero-whatsapp:active {
	border: 1px solid #25d366;
	background: #25d366;
	box-shadow: 0 8px 22px -14px rgba(16, 75, 42, .7);
	color: #fff;
}

.jd-btn--hero-whatsapp:hover,
.jd-btn--hero-whatsapp:focus-visible {
	background: #1ebe5d;
	border-color: #1ebe5d;
	color: #fff;
}

.jd-btn--hero-whatsapp svg {
	color: #fff;
}

.jd-btn--hero-whatsapp-outline,
.jd-btn--hero-whatsapp-outline:link,
.jd-btn--hero-whatsapp-outline:visited,
.jd-btn--hero-whatsapp-outline:focus,
.jd-btn--hero-whatsapp-outline:active {
	border: 1px solid #25d366;
	background: #fff;
	box-shadow: 0 8px 22px -14px rgba(16, 75, 42, .45);
	color: #1a1713;
}

.jd-btn--hero-whatsapp-outline:hover,
.jd-btn--hero-whatsapp-outline:focus-visible {
	background: #f2fbf5;
	border-color: #25d366;
	color: #1a1713;
}

.jd-btn--hero-whatsapp-outline svg {
	color: #25d366;
}

/* Promo bar */
.jd-promo {
	position: sticky;
	top: 0;
	z-index: 10040;
	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;
}

.jd-promo--contact {
	gap: 10px clamp(20px, 3vw, 44px);
}

.jd-promo__contact {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 24px;
	color: #fff;
	font-weight: 650;
	white-space: nowrap;
}

.jd-promo__contact:link,
.jd-promo__contact:visited,
.jd-promo__contact:hover,
.jd-promo__contact:focus,
.jd-promo__contact:active {
	color: #fff;
}

.jd-promo__contact:hover {
	text-decoration: underline;
}

.jd-promo__contact svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.jd-promo__contact--whatsapp svg {
	color: #25d366;
}

.jd-promo__contact--whatsapp,
.jd-promo__contact--whatsapp:link,
.jd-promo__contact--whatsapp:visited,
.jd-promo__contact--whatsapp:hover,
.jd-promo__contact--whatsapp:focus,
.jd-promo__contact--whatsapp:focus-visible,
.jd-promo__contact--whatsapp:active {
	background: transparent;
	color: #fff !important;
	border: 0;
	font-weight: 800;
	text-shadow: none;
}

/* Header */
.jd-header {
	position: sticky;
	top: var(--jd-promo-height, 0px);
	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: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 2vw, 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: clamp(14px, 1.5vw, 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: 10px;
	justify-self: end;
}

.jd-header-search-field {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	width: clamp(190px, 16vw, 250px);
	min-height: 44px;
	padding: 0 13px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 999px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.jd-header-search-field__icon {
	display: inline-flex;
	color: var(--jd-muted);
}

.jd-header-search-field__icon svg {
	width: 18px;
	height: 18px;
}

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

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

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

.jd-header-search__suggestion {
	display: flex;
	min-height: 64px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	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 {
	min-width: 0;
	width: 100%;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	overflow-wrap: anywhere;
	line-height: 1.4;
	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);
}

@media (max-width: 1024px) {
	.jd-header-search__suggestions {
		left: auto;
		right: 0;
		width: min(420px, calc(100vw - 28px));
	}

	.jd-header-search__suggestion {
		min-height: 64px;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		padding: 13px 16px;
	}

	.jd-header-search__suggestion-title {
		width: 100%;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		overflow-wrap: anywhere;
		line-height: 1.4;
	}
}

.jd-header-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 13px;
	border-radius: 999px;
	background: transparent;
	color: #1a1713;
	border: 0;
	font-size: 13px;
	font-weight: 750;
	white-space: nowrap;
	transition: color 0.2s ease, transform 0.1s ease;
}

.jd-header-whatsapp:link,
.jd-header-whatsapp:visited,
.jd-header-whatsapp:hover,
.jd-header-whatsapp:focus,
.jd-header-whatsapp:focus-visible,
.jd-header-whatsapp:active {
	background: transparent !important;
	color: #1a1713 !important;
	border: 0;
}

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

.jd-header-whatsapp svg {
	width: 20px;
	height: 20px;
	flex: none;
	color: #25d366;
}

.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;
}

.jd-mobilenav__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: #25d366;
	color: #fff;
	font-size: 14px;
	font-weight: 750;
}

.jd-mobilenav__whatsapp:link,
.jd-mobilenav__whatsapp:visited,
.jd-mobilenav__whatsapp:focus,
.jd-mobilenav__whatsapp:active {
	background: #25d366;
	color: #fff;
}

.jd-mobilenav__whatsapp:hover,
.jd-mobilenav__whatsapp:focus-visible {
	background: #1ebe5d;
	color: #fff;
}

.jd-mobilenav__whatsapp svg {
	width: 18px;
	height: 18px;
	flex: none;
}

@media (max-width: 600px) {
	.jd-header__inner {
		padding: 7px 14px;
		gap: 8px;
	}

	.jd-header .jd-brand__logo {
		width: 40px;
		height: 40px;
	}

	.jd-brand__name {
		display: none;
	}

	.jd-header__actions {
		flex: 1;
		gap: 7px;
	}

	.jd-header-search-field {
		width: auto;
		min-width: 0;
		flex: 1;
		padding: 0 10px;
	}

	.jd-header-search__suggestions {
		position: fixed;
		top: var(--jd-header-search-top, calc(var(--jd-promo-height, 0px) + 61px));
		left: 14px;
		right: 14px;
		width: auto;
		max-height: 52vh;
	}

	.jd-header-search-field input {
		font-size: 13px;
	}

	.jd-header-whatsapp {
		padding: 0;
	}

	.jd-header-whatsapp span {
		display: none;
	}
}

#featured-promotion {
	scroll-margin-top: calc(var(--jd-promo-height, 0px) + 88px);
}

/* 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: 0;
	margin-top: 2px;
}

.jd-carousel__dots button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
}

.jd-carousel__dots button::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	transform: scaleX(1);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.jd-carousel__dots button.is-active::before {
	background: #fff;
	transform: scaleX(3.25);
}

/* 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;
	overflow: hidden;
}

.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: -28px -24px 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: -28px -24px 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 h3,
.jd-service--cta p {
	transform: translateY(-8px);
}

.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 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	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__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 24px;
	border-radius: 22px;
	background: #fff0f2;
	color: var(--jd-accent);
}

.jd-step__icon svg {
	width: 34px;
	height: 34px;
}

.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"] {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	margin: -12px 0 18px;
	padding: 0 4px;
	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-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.jd-review-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.jd-review-pagination[hidden],
.jd-review-nav__arrow[hidden] {
	display: none !important;
}

.jd-review-pagination button,
.jd-review-nav__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 50%;
	background: #fff;
	color: var(--jd-ink);
	font-weight: 700;
}

.jd-review-pagination button[aria-current="page"] {
	border-color: var(--jd-accent);
	background: var(--jd-accent);
	color: #fff;
}

.jd-review-nav__arrow {
	display: none;
}

.jd-review-nav__arrow svg {
	width: 20px;
	height: 20px;
}

.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--home {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.jd-faq__column {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.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;
	min-width: 0;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	overflow-wrap: anywhere;
}

.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__description {
	max-width: 900px;
	margin: 14px auto 0;
	color: var(--jd-muted);
	font-size: 16px;
	line-height: 1.7;
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.jd-trust-marquee__description {
		white-space: nowrap;
	}
}

.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;
}

.jd-trust-marquee.is-static .jd-trust-marquee__viewport {
	-webkit-mask-image: none;
	mask-image: none;
}

.jd-trust-marquee.is-static .jd-trust-marquee__track {
	display: block;
	width: 100%;
	animation: none;
}

.jd-trust-marquee.is-static .jd-trust-marquee__set {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
	justify-content: center;
	gap: 14px;
	padding: 0 28px;
}

.jd-trust-marquee.is-static .jd-trust-marquee__logo {
	width: 100%;
	height: 112px;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--jd-hairline);
	border-radius: 14px;
}

.jd-trust-marquee__logo.is-emphasized img {
	transform: scale(1.3);
	transform-origin: center;
}

@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: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	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__required {
	color: var(--jd-accent);
}

.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::placeholder,
.jd-form__field textarea::placeholder {
    color: #6d665e;
    opacity: 1;
}

.jd-form__field input[type="file"] {
	min-height: 44px;
	padding: 9px 10px;
	font-size: 13.5px;
	cursor: pointer;
}

.jd-form__field input[type="file"]::file-selector-button {
	margin-right: 10px;
	border: 0;
	border-radius: 8px;
	padding: 7px 10px;
	background: var(--jd-ink);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.jd-form__more-photos {
	margin: -2px 0 14px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 11px;
	background: var(--jd-alt-bg);
}

.jd-form__more-photos summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	padding: 10px 14px;
	color: var(--jd-accent-deep);
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
}

.jd-form__more-photos summary:focus-visible {
	outline: 3px solid rgba(228, 0, 43, 0.24);
	outline-offset: 2px;
}

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

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

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

.jd-form__field--message {
	margin-bottom: 6px;
}

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

.jd-form__field--photos {
	margin-top: 0;
}

.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__field input[type="file"]: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,
.jd-form .jd-form__phone-error {
	display: block;
	margin-top: 6px;
	color: var(--jd-accent-deep);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.45;
}

.jd-form .jd-form__phone-error[hidden] {
	display: none;
}

.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;
	}

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

	.jd-form__field input,
	.jd-form__field textarea,
	.jd-form__field select {
		font-size: 16px;
	}
}

/* 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: minmax(250px, 1.45fr) repeat(2, minmax(150px, .8fr)) minmax(260px, 1.25fr);
	gap: 40px;
	padding-bottom: 44px;
}

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

.jd-footer__identity-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

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

.jd-footer__uen {
	display: block;
	margin: 0;
	color: #fff;
	font-size: 13px;
	line-height: 1.25;
}

.jd-footer__follow {
	margin-top: 22px;
}

.jd-footer__follow h4 {
	margin: 0 0 10px;
	color: #fff;
	font-size: 14px;
}

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

.jd-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.jd-footer__social:hover,
.jd-footer__social:focus-visible {
	transform: translateY(-2px);
	box-shadow: none;
}

.jd-footer__social--facebook {
	color: #1877f2;
}

.jd-footer__social--facebook:visited,
.jd-footer__social--facebook:link,
.jd-footer__social--facebook:hover,
.jd-footer__social--facebook:focus,
.jd-footer__social--facebook:focus-visible,
.jd-footer__social--facebook:active {
	color: #1877f2;
}

.jd-footer__social--instagram {
	color: #e4405f;
}

.jd-footer__social--instagram:visited,
.jd-footer__social--instagram:link,
.jd-footer__social--instagram:hover,
.jd-footer__social--instagram:focus,
.jd-footer__social--instagram:focus-visible,
.jd-footer__social--instagram:active {
	color: #e4405f;
}

.jd-footer__social--tiktok {
	color: #fff;
}

.jd-footer__social--tiktok:visited,
.jd-footer__social--tiktok:link,
.jd-footer__social--tiktok:hover,
.jd-footer__social--tiktok:focus,
.jd-footer__social--tiktok:focus-visible,
.jd-footer__social--tiktok:active {
	color: #fff;
}

.jd-footer__social--youtube {
	color: #ff0000;
}

.jd-footer__social--youtube:visited,
.jd-footer__social--youtube:link,
.jd-footer__social--youtube:hover,
.jd-footer__social--youtube:focus,
.jd-footer__social--youtube:focus-visible,
.jd-footer__social--youtube:active {
	color: #ff0000;
}

.jd-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.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__contact-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.jd-footer__contact-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	min-height: 44px;
	padding: 8px 9px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}

.jd-footer__contact-action--whatsapp {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.jd-footer__contact-action--whatsapp:link,
.jd-footer__contact-action--whatsapp:visited,
.jd-footer__contact-action--whatsapp:focus,
.jd-footer__contact-action--whatsapp:active {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
}

.jd-footer__contact-action--whatsapp:hover,
.jd-footer__contact-action--whatsapp:focus-visible {
	background: #1ebe5d;
	border-color: #1ebe5d;
	color: #fff;
}

.jd-footer__contact-action--whatsapp svg {
	color: #fff;
}

.jd-footer__contact-detail,
.jd-footer__hours {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	min-width: 0;
	line-height: 1.45;
}

.jd-footer__contact svg {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: none;
}

.jd-footer__contact-detail span,
.jd-footer__hours span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.jd-footer__hours {
	color: rgba(255, 255, 255, .52);
}

@media (max-width: 860px) {
	.jd-footer {
		padding-top: 50px;
	}

	.jd-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 24px;
	}

	.jd-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.jd-footer {
		padding: 40px 0 24px;
	}

	.jd-footer__top {
		gap: 24px 16px;
		padding-bottom: 30px;
	}

	.jd-footer__brand p {
		max-width: none;
	}

	.jd-footer__contact {
		grid-column: 1 / -1;
	}

	.jd-footer__col {
		gap: 8px;
	}

	.jd-footer__bottom {
		padding-top: 20px;
		font-size: 12.5px;
	}
}

.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;
}

.jd-footer__designer-link {
	color: rgba(255, 255, 255, .75);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .3);
	text-underline-offset: 3px;
	cursor: default;
}

/* 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, box-shadow 0.2s ease;
}

.jd-service-wa:hover {
	transform: scale(1.14);
	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);
}

a.jd-service-wa:link,
a.jd-service-wa:visited,
a.jd-service-wa:focus,
a.jd-service-wa:active {
	background: var(--jd-wa-green);
	color: #fff;
}

a.jd-service-wa:hover,
a.jd-service-wa:focus-visible {
	background: #1ebe5d;
	color: #fff;
}

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

@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;
	}
}

@media (max-width: 1024px) {
	.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 {
		width: 26px;
		height: 26px;
	}
}

/* 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;
}

/* 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 {
	max-width: 224px;
	max-height: 88px;
	width: auto;
	height: 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;
}

@media (min-width: 641px) and (max-width: 1024px) {
	.jd-trust-marquee.is-static .jd-trust-marquee__set {
		grid-template-columns: repeat(3, minmax(0, 190px));
	}
}

@media (max-width: 640px) {
	.jd-marquee__logo {
		max-width: 178px;
		max-height: 72px;
	}
}

@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-faq--home {
		grid-template-columns: 1fr;
	}

	.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-promo--contact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 12px;
	}

	.jd-promo__contact {
		justify-content: center;
		min-width: 0;
		font-size: clamp(10px, 2.8vw, 12px);
	}

	.jd-promo__contact--email {
		grid-column: 1 / -1;
	}

	.jd-promo__contact span {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.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-carousel__dots button::before {
		transition: none;
	}

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

/* Home refresh: image-led cards, compact process, review summary and press marks. */
.jd-services {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

#services .jd-service {
	min-width: 0;
	padding: 0;
	background: #fff;
}

#services .jd-service__media {
	display: grid;
	place-items: center;
	height: 190px;
	margin: 0;
	background: var(--jd-alt-bg);
}

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

#services .jd-service__media > .jd-service__icon {
	margin: 0;
}

.jd-service__body {
	display: block;
	padding: 22px 20px 24px;
}

.jd-service-banner {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 22px;
	padding: clamp(22px, 3vw, 30px) clamp(22px, 4vw, 34px);
	border: 1px solid var(--jd-hairline-strong);
	border-left: 4px solid var(--jd-accent);
	border-radius: 18px;
	background: #fff9f9;
	box-shadow: 0 18px 38px -30px rgba(82, 13, 25, 0.45);
	color: var(--jd-ink);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.jd-service-banner h3,
.jd-service-banner p {
	margin: 0;
}

.jd-service-banner h3 {
	font-size: clamp(22px, 2.5vw, 32px);
}

.jd-service-banner p {
	margin-top: 6px;
	color: var(--jd-muted);
}

.jd-service-banner strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--jd-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	transition: background 0.2s ease, transform 0.2s ease;
}

.jd-service-banner:hover,
.jd-service-banner:focus-visible {
	background: #fff4f5;
	box-shadow: 0 22px 42px -28px rgba(82, 13, 25, 0.52);
	transform: translateY(-2px);
}

.jd-service-banner:hover strong,
.jd-service-banner:focus-visible strong {
	background: var(--jd-accent-deep);
}

.jd-process-layout {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.jd-process-steps,
.jd-process-steps .jd-steps {
	display: contents;
}

.jd-process-scroll-hint {
	display: none;
}

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

.jd-steps:focus-visible {
	outline: 3px solid #b4001f;
	outline-offset: 4px;
}

.jd-step {
	position: relative;
	min-width: 0;
}

.jd-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 58px;
	right: -19px;
	width: 20px;
	height: 2px;
	background: var(--jd-accent);
	z-index: 2;
}

.jd-process-chat {
	position: relative;
	min-width: 0;
	border: 1px solid rgba(37, 211, 102, 0.35);
	border-radius: var(--jd-r);
	padding: 0;
	overflow: hidden;
	background: #e9f7ee;
	box-shadow: none;
	font-size: 12.5px;
}

@media (min-width: 1025px) {
	.jd-step {
		justify-content: flex-start;
	}

	.jd-step__num {
		margin-bottom: 30px;
	}
}

.jd-process-chat__head {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 14px;
	background: #25d366;
	color: #fff;
}

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

.jd-process-chat__message {
	max-width: 86%;
	margin: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	line-height: 1.45;
}

.jd-process-chat__message--joydom + .jd-process-chat__message--customer {
	margin-top: 8px;
}

.jd-process-chat__message--customer {
	margin-left: auto;
	background: #d9fdd3;
}

.jd-process-chat__photo {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	padding: 7px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.72);
	font-weight: 700;
}

.jd-process-chat__photo svg {
	width: 16px;
	height: 16px;
}

.jd-google-summary {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	max-width: 760px;
	margin: -24px auto 28px;
	padding: 13px 18px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 16px;
	background: #fff;
}

.jd-google-summary__logo {
	width: 166px;
	height: 28px;
	object-fit: contain;
}

.jd-google-summary__rating {
	font-size: 20px;
}

.jd-google-summary__stars,
.jd-review__stars {
	color: #fbbc04;
}

.jd-google-summary__stars {
	letter-spacing: 2px;
}

.jd-google-summary__count {
	color: var(--jd-muted);
	font-size: 13px;
}

.jd-google-summary__write {
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	border: 1px solid var(--jd-hairline-strong);
	border-radius: 999px;
	color: var(--jd-muted);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.jd-google-summary__write:hover,
.jd-google-summary__write:focus-visible {
	border-color: var(--jd-accent);
	color: var(--jd-accent);
}

.jd-featured-on {
	padding: 48px 0;
}

.jd-featured-on__title {
	margin: 0 0 24px;
	text-align: center;
	font-size: 25px;
	font-weight: 800;
}

.jd-featured-on__description {
	max-width: 720px;
	margin: -12px auto 24px;
	color: var(--jd-muted);
	text-align: center;
}

.jd-featured-on__marquee {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.jd-featured-on__track {
	display: flex;
	width: max-content;
	animation: jd-featured-on-marquee 30s linear infinite;
}

.jd-featured-on__set {
	display: flex;
	flex: none;
	gap: 14px;
	padding-right: 14px;
}

.jd-featured-on__logo {
	display: grid;
	place-items: center;
	width: clamp(170px, 16vw, 220px);
	min-height: 88px;
	padding: 12px 18px;
	border: 1px solid var(--jd-hairline);
	border-radius: 14px;
	background: #fff;
}

.jd-featured-on__logo img {
	display: block;
	width: 100%;
	max-width: 180px;
	height: 52px;
	object-fit: contain;
}

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

.jd-quote {
	background: #fff;
	color: var(--jd-ink);
	border-top: 1px solid var(--jd-hairline);
}

.jd-quote__copy p {
	color: var(--jd-muted);
}

.jd-form {
	border: 1px solid var(--jd-hairline-strong);
	box-shadow: 0 24px 54px -38px rgba(26, 23, 19, 0.5);
}

@media (min-width: 1025px) and (max-width: 1399px) {
	.jd-section {
		padding: 72px 0;
	}

	.jd-section__intro {
		margin-bottom: 38px;
	}

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

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

	.jd-step {
		padding: 25px;
	}

	.jd-hero__panel {
		min-height: 520px;
		padding: 42px 44px 104px;
	}

	.jd-hero__title {
		font-size: clamp(44px, 4.5vw, 62px);
	}
}

@media (max-width: 1024px) {
	.jd-section {
		padding: 64px 0;
	}

	.jd-section__intro {
		margin-bottom: 34px;
	}

	.jd-process-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
		align-items: start;
	}

	.jd-process-steps {
		display: block;
	}

	.jd-process-steps .jd-steps {
		display: flex;
	}

	.jd-process-scroll-hint {
		display: block;
		margin: 0 0 10px 2px;
		color: var(--jd-muted);
		font-size: 13px;
		font-weight: 650;
	}

	#services .jd-services,
	.jd-steps,
	.jd-reviews {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		overscroll-behavior-inline: contain;
		scrollbar-width: none;
		padding: 2px 2px 14px;
	}

	#services .jd-services::-webkit-scrollbar,
	.jd-steps::-webkit-scrollbar,
	.jd-reviews::-webkit-scrollbar {
		display: none;
	}

	#services .jd-service,
	.jd-step,
	.jd-review {
		flex: 0 0 46%;
		scroll-snap-align: start;
	}

	.jd-step {
		flex-basis: clamp(220px, 72%, 280px);
	}

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

	.jd-services__more {
		display: none;
	}

	.jd-step:not(:last-child)::after {
		display: none;
	}

	.jd-process-chat {
		display: block;
		margin-top: 0;
	}

	.jd-process-chat__head {
		height: auto;
	}

	.jd-process-chat__message {
		max-width: 88%;
		margin: 8px;
	}

	.jd-process-chat__message--customer {
		margin-left: auto;
	}

	.jd-process-chat__message--joydom {
		margin-right: auto;
	}

	.jd-trust-marquee__set {
		gap: 14px;
		padding-right: 14px;
	}

	.jd-trust-marquee__logo {
		width: 38vw;
		max-width: 190px;
		height: 78px;
	}

	.jd-featured-on__logo { width: 190px; }

	.jd-testimonials.is-rail .jd-review-nav__arrow {
		display: inline-flex;
	}

	.jd-testimonials.is-rail .jd-review-pagination {
		display: none;
	}

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

	/* End Home tablet rails */
}

@media (max-width: 640px) {
	.jd-section {
		padding: 50px 0;
	}

	.jd-h2 {
		font-size: clamp(30px, 9vw, 39px);
	}

	.jd-section__sub {
		font-size: 15px;
	}

	.jd-process-layout {
		display: block;
	}

	.jd-search {
		margin-bottom: 30px;
	}

	#services .jd-service {
		flex-basis: 72%;
	}

	.jd-step {
		flex-basis: 84%;
		padding: 24px;
	}

	.jd-review {
		flex-basis: 88%;
	}

	#services .jd-service__media {
		height: 176px;
	}

	.jd-service__body {
		padding: 18px;
	}

	.jd-process-chat {
		display: block;
		width: min(100%, 340px);
		margin: 18px auto 0;
	}

	.jd-process-chat__head {
		min-height: 44px;
	}

	.jd-process-chat__message {
		margin: 8px 10px;
		padding: 8px 10px;
	}

	.jd-google-summary {
		justify-content: flex-start;
		margin: -14px 0 22px;
		padding: 12px;
		gap: 7px 10px;
	}

	.jd-google-summary__logo {
		width: 124px;
	}

	.jd-google-summary__write {
		min-height: 36px;
	}

	.jd-featured-on {
		padding: 38px 0;
	}

	.jd-featured-on__logo {
		width: 156px;
		min-height: 72px;
		padding: 8px 12px;
	}

	.jd-featured-on__logo img {
		height: 44px;
	}

	.jd-service-banner {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.jd-service-banner strong {
		width: 100%;
	}

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

	.jd-quote__grid {
		gap: 28px;
	}

	.jd-quote__copy h2 {
		font-size: 38px;
	}

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

	.jd-quote__bullets {
		margin-top: 20px;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-featured-on__marquee {
		overflow-x: auto;
		mask-image: none;
		-webkit-mask-image: none;
	}

	.jd-featured-on__track {
		animation: none;
	}

	.jd-featured-on__set[aria-hidden="true"] {
		display: none;
	}
}

/* The header brand may simplify on small screens; the legal company name never does. */
.jd-brand--footer .jd-brand__name {
	display: block;
	white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
	#services .jd-services,
	.jd-steps,
	.jd-reviews,
	.jd-trust-marquee__viewport {
		scroll-behavior: auto;
	}
}

@media (max-width: 640px) {
	.jd-trust-marquee.is-static .jd-trust-marquee__set {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		padding: 0 16px;
	}

	.jd-trust-marquee.is-static .jd-trust-marquee__logo {
		width: 100%;
		height: 92px;
		padding: 8px;
	}
}

.jd-service--help-card,
.jd-service--help-card:link,
.jd-service--help-card:visited,
.jd-service--help-card:focus,
.jd-service--help-card:active {
	gap: 10px;
	background: #fff;
	border-color: #25d366;
	color: var(--jd-ink);
}

.jd-service--help-card h3,
.jd-service--help-card p {
	transform: none;
}

.jd-service--help-card p {
	color: var(--jd-muted);
}

.jd-service--help-card:hover,
.jd-service--help-card:focus-visible {
	background: #f2fbf5;
	border-color: #25d366;
	color: var(--jd-ink);
}

.jd-service--help-card__action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	color: #25d366;
	font-size: 14px;
	font-weight: 800;
}

.jd-service--help-card__action > span {
	color: var(--jd-ink);
}

.jd-service--help-card__action svg {
	width: 20px;
	height: 20px;
	flex: none;
}

@media (max-width: 640px) {
	.jd-quote__bullets {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

/* Keep the Services catalogue readable without changing its established cards. */
@media (max-width: 1024px) {
	.post-type-archive-jd_service #jd-service-results {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.post-type-archive-jd_service #jd-service-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.post-type-archive-jd_service #jd-service-results .jd-service {
		padding: 16px 14px;
		border-radius: 16px;
	}

	.post-type-archive-jd_service #jd-service-results .jd-service__media,
	.post-type-archive-jd_service #jd-service-results .jd-service__photo {
		margin: -16px -14px 14px;
	}

	.post-type-archive-jd_service #jd-service-results .jd-service h3 {
		font-size: 15px;
		line-height: 1.25;
	}

	.post-type-archive-jd_service #jd-service-results .jd-service p {
		font-size: 12.5px;
		line-height: 1.45;
	}
}


/* Homepage refinement: nine-slide carousel, contained reviews and simplified process. */
.jd-carousel__track { width: 900%; }
.jd-carousel__slide { flex: 0 0 11.111111%; }
#work .jd-bento__tile { background-repeat: no-repeat; }
#work .jd-ph--2 { background-size: auto 135% !important; background-position: right center !important; }
#reviews .jd-landscape-shell { width: min(100% - 56px, 1240px); max-width: 1240px; margin-inline: auto; }
#reviews .jd-content-reviews__grid { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
#reviews .jd-content-reviews__grid > div:first-child { width: 100%; max-width: 880px; }
#reviews .jd-content-review-cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; gap: 24px; }
#reviews .jd-content-review-card { width: 100%; max-width: 360px; }
#process .jd-process-layout--steps-only { display: block; }
#process .jd-process-layout--steps-only .jd-process-steps { width: 100%; max-width: none; }
#process .jd-process-layout--steps-only .jd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; overflow: visible; }
#process .jd-process-layout--steps-only .jd-step { min-height: 260px; padding: 30px; border: 1px solid var(--jd-hairline-strong); border-radius: 20px; background: #fff; }
#process .jd-process-layout--steps-only .jd-step__num { display: block; margin-bottom: 48px; color: var(--jd-accent); font-size: 15px; font-weight: 800; letter-spacing: .12em; }
#process .jd-process-layout--steps-only .jd-step h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.15; }
#process .jd-process-layout--steps-only .jd-step p { color: var(--jd-muted); }
@media (min-width: 1025px) { #reviews #home-reviews-title { white-space: nowrap; } }
@media (max-width: 1024px) {
  #reviews .jd-landscape-shell { width: min(100% - 40px, 1240px); }
  #reviews .jd-content-reviews__grid { grid-template-columns: 1fr; align-items: start; }
  #reviews .jd-content-review-cards { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; }
  #reviews .jd-content-review-card { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; }
  #process .jd-process-layout--steps-only .jd-steps { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  #process .jd-process-layout--steps-only .jd-step { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; }
}
@media (max-width: 640px) { #reviews .jd-landscape-shell { width: min(100% - 32px, 1240px); } }
/* Singapore Handyman shared review and enquiry presentation. */
.jd-home .jd-content-page--about .jd-content-reviews {
  padding: 92px 0;
}

.jd-home .jd-content-page--about .jd-content-reviews > .jd-landscape-shell,
.jd-home .jd-content-page--about .jd-content-enquiry > .jd-landscape-shell {
  width: min(1304px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid > div:first-child {
  max-width: none;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  white-space: normal;
  text-wrap: balance;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid > div:first-child > p:last-child {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.5;
}

.jd-home .jd-content-page--about .jd-content-rating {
  display: flex;
  width: auto;
  max-width: 760px;
  min-height: 68px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 28px auto 0;
  padding: 13px 18px;
  text-align: center;
}

.jd-home .jd-content-page--about .jd-content-review-link {
  width: auto;
  margin-left: 0;
}

.jd-home .jd-content-page--about .jd-content-review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  width: auto;
  margin: 28px 0 24px;
  padding: 0;
  overflow: visible;
}

.jd-home .jd-content-page--about .jd-content-review-card {
  width: auto;
  max-width: none;
  height: 335px;
  min-height: 335px;
  padding: 30px;
}

.jd-home .jd-content-page--about .jd-content-enquiry {
  padding: 92px 0;
  border-top: 1px solid var(--jd-about-hairline, #e3dfd8);
  background: #fff;
}

.jd-home .jd-content-page--about .jd-content-enquiry__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 56px;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy h2 {
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy > p {
  max-width: 460px;
  margin: 22px 0 0;
  font-size: 17.5px;
  line-height: 1.5;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  font-size: 16px;
  font-weight: 600;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy li::before {
  display: none;
}

.jd-home .jd-content-page--about .jd-content-enquiry__copy li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #e4002b;
}

.jd-home .jd-content-page--about .jd-landscape-form-card {
  padding: 32px;
  border-radius: 22px;
}

@media (max-width: 1199px) {
  .jd-home .jd-content-page--about .jd-content-review-cards {
    display: flex;
    padding: 2px 2px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .jd-home .jd-content-page--about .jd-content-review-card {
    width: min(422px, 82vw);
    flex: 0 0 min(422px, 82vw);
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  .jd-home .jd-content-page--about .jd-content-enquiry__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 640px) {
  .jd-home .jd-content-page--about .jd-content-reviews > .jd-landscape-shell,
  .jd-home .jd-content-page--about .jd-content-enquiry > .jd-landscape-shell {
    width: min(100% - 32px, 1304px);
  }

  .jd-home .jd-content-page--about .jd-content-enquiry__copy ul {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
}

@media (max-width: 520px) {
  .jd-home .jd-content-page--about .jd-content-reviews {
    padding: 76px 0;
  }

  .jd-home .jd-content-page--about .jd-content-review-card {
    width: 304px;
    flex-basis: 304px;
    padding: 30px;
  }

  .jd-home .jd-content-page--about .jd-content-enquiry {
    padding: 48px 0;
  }

  .jd-home .jd-content-page--about .jd-content-enquiry__grid {
    gap: 28px;
  }

  .jd-home .jd-content-page--about .jd-content-enquiry__copy h2 {
    font-size: 38px;
  }

  .jd-home .jd-content-page--about .jd-landscape-form-card {
    padding: 24px 20px;
  }
}

/* Review intro alignment: match the shared Singapore Handyman section. */
.jd-home .jd-content-page--about .jd-content-reviews__grid {
  display: block !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid > div:first-child {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
}

.jd-home .jd-content-page--about .jd-content-reviews__grid h2,
.jd-home .jd-content-page--about .jd-content-reviews__grid > div:first-child > p {
  margin-inline: auto !important;
  text-align: center !important;
}

.jd-home .jd-content-page--about .jd-content-rating {
  display: flex !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin: 28px auto 0 !important;
  text-align: center !important;
}

.jd-home .jd-content-page--about .jd-content-review-link {
  width: auto !important;
  margin-left: 0 !important;
}

/* Keep the shared enquiry form metrics identical to Singapore Handyman. */
.jd-home .jd-content-page--about .jd-content-enquiry,
.jd-home .jd-content-page--about .jd-content-enquiry input,
.jd-home .jd-content-page--about .jd-content-enquiry textarea,
.jd-home .jd-content-page--about .jd-content-enquiry button {
  font-size: 14px;
  line-height: 20px;
}

/* Explicit shared form controls for standalone homepage and production parity. */
.jd-home .jd-content-page--about .jd-content-form-card form {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.jd-home .jd-content-page--about .jd-landscape-field label {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 1.3265;
}

.jd-home .jd-content-page--about .jd-landscape-field input,
.jd-home .jd-content-page--about .jd-landscape-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8d4cf;
  border-radius: 11px;
  color: #1a1713;
  background: #fbfaf8;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.4286;
  box-shadow: none;
  appearance: none;
}

.jd-home .jd-content-page--about .jd-landscape-field input {
  height: 45px;
  padding: 0 14px;
}

.jd-home .jd-content-page--about .jd-landscape-field textarea {
  height: 76px;
  min-height: 76px;
  padding: 13px 14px;
  resize: vertical;
}

.jd-home .jd-content-page--about .jd-landscape-field input:focus,
.jd-home .jd-content-page--about .jd-landscape-field textarea:focus {
  border-color: #e4002b;
  outline: 2px solid rgba(228, 0, 43, 0.12);
  outline-offset: 1px;
}

.jd-home .jd-content-page--about .jd-landscape-field input::placeholder,
.jd-home .jd-content-page--about .jd-landscape-field textarea::placeholder {
  color: #8a847d;
  opacity: 1;
}

.jd-home .jd-content-page--about .jd-landscape-submit {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  color: #fff !important;
  background: #e4002b !important;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px !important;
  line-height: 1.4286 !important;
  cursor: pointer;
}

.jd-home .jd-content-page--about .jd-landscape-submit:hover,
.jd-home .jd-content-page--about .jd-landscape-submit:focus-visible {
  color: #fff !important;
  background: #c90026 !important;
}

.jd-home .jd-content-page--about .jd-landscape-form-note {
  position: static !important;
  left: auto !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 13px auto 0 !important;
  transform: none !important;
  text-align: center !important;
  white-space: normal;
}

@media (max-width: 520px) {
  .jd-home .jd-content-page--about .jd-landscape-form-grid {
    grid-template-columns: 1fr;
  }

  .jd-home .jd-content-page--about .jd-landscape-field--full {
    grid-column: auto;
  }
}

/* Reillustrated WhatsApp smartphone for the How It Works section. */
.jd-home #process .jd-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(42px, 5vw, 78px);
  margin-top: 48px;
}

.jd-home #process .jd-process-steps {
  min-width: 0;
}

.jd-home #process .jd-steps {
  display: grid;
  gap: 16px;
}

.jd-home #process .jd-step {
  display: grid;
  grid-template-columns: 48px 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 3px 16px;
  min-height: 126px;
  padding: 22px 24px;
}

.jd-home #process .jd-step__num {
  grid-row: 1 / 3;
  align-self: start;
}

.jd-home #process .jd-step__icon {
  grid-row: 1 / 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #e4002b;
  background: #fff0f2;
}

.jd-home #process .jd-step__icon svg {
  width: 24px;
  height: 24px;
}

.jd-home #process .jd-step h3,
.jd-home #process .jd-step p {
  grid-column: 3;
}

.jd-home #process .jd-step h3 {
  margin: 0;
}

.jd-home #process .jd-step p {
  margin: 4px 0 0;
}

.jd-process-phone {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 12px 0;
}

.jd-phone-frame {
  position: relative;
  width: min(100%, 382px);
  padding: 12px;
  border: 1px solid #322f2d;
  border-radius: 46px;
  background: linear-gradient(145deg, #2c2b2a, #080808 58%, #272523);
  box-shadow: 0 34px 70px rgba(26, 23, 19, .24), inset 0 0 0 1px rgba(255, 255, 255, .13);
}

.jd-phone-frame::before,
.jd-phone-frame::after {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #282624;
  content: "";
}

.jd-phone-frame::before {
  top: 112px;
  height: 58px;
}

.jd-phone-frame::after {
  top: 184px;
  height: 82px;
}

.jd-phone-speaker {
  position: absolute;
  z-index: 5;
  top: 19px;
  left: 50%;
  width: 92px;
  height: 25px;
  border-radius: 99px;
  background: #050505;
  transform: translateX(-50%);
}

.jd-phone-speaker::after {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #121c28;
  box-shadow: inset 0 0 0 2px #0a0c0f;
  content: "";
}

.jd-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 35px;
  color: #111b21;
  background: #efeae2;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.jd-wa-status {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 4px 22px 0;
  color: #fff;
  background: #075e54;
  font-size: 11px;
  font-weight: 700;
}

.jd-wa-status__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.jd-wa-status__icons svg {
  width: 15px;
  height: 12px;
  fill: currentColor;
}

.jd-wa-battery {
  position: relative;
  display: block;
  width: 19px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.jd-wa-battery::after {
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  content: "";
}

.jd-wa-battery i {
  position: absolute;
  inset: 1px;
  width: 13px;
  border-radius: 1px;
  background: currentColor;
}

.jd-wa-head {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 9px;
  padding: 7px 11px 8px 8px;
  color: #fff;
  background: #075e54;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.jd-wa-back {
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.jd-wa-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: #fff;
  background: #e4002b;
  font-size: 17px;
  font-weight: 800;
}

.jd-wa-contact {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.jd-wa-contact strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd-wa-contact small {
  color: rgba(255, 255, 255, .8);
  font-size: 9px;
  line-height: 1.4;
}

.jd-wa-head__actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.jd-wa-head__actions svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.jd-wa-head__actions > span {
  font-size: 22px;
  line-height: 1;
}

.jd-wa-chat {
  position: relative;
  display: flex;
  height: 476px;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 14px 11px 12px;
  background-color: #efeae2;
  background-image:
    radial-gradient(circle at 18% 16%, rgba(120, 106, 87, .08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 38%, rgba(120, 106, 87, .07) 0 1.5px, transparent 2px),
    linear-gradient(45deg, transparent 46%, rgba(120, 106, 87, .035) 47% 53%, transparent 54%);
  background-size: 31px 31px, 43px 43px, 58px 58px;
}

.jd-wa-encryption {
  align-self: center;
  max-width: 88%;
  margin-bottom: 1px;
  padding: 6px 10px;
  border-radius: 7px;
  color: #54656f;
  background: #ffeecd;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .12);
  font-size: 7.5px;
  line-height: 1.45;
  text-align: center;
}

.jd-wa-day {
  align-self: center;
  padding: 5px 10px;
  border-radius: 7px;
  color: #54656f;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 1px rgba(11, 20, 26, .12);
  font-size: 8px;
  font-weight: 600;
}

.jd-wa-bubble {
  position: relative;
  max-width: 83%;
  padding: 7px 8px 5px;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .16);
  font-size: 10px;
  line-height: 1.45;
}

.jd-wa-bubble::before {
  position: absolute;
  top: 0;
  width: 10px;
  height: 12px;
  content: "";
}

.jd-wa-bubble p {
  margin: 0;
}

.jd-wa-bubble time {
  display: block;
  margin-top: 2px;
  color: #667781;
  font-size: 7.5px;
  line-height: 1;
  text-align: right;
}

.jd-wa-bubble time b {
  color: #53bdeb;
  font-size: 8px;
  letter-spacing: -2px;
}

.jd-wa-bubble--in {
  align-self: flex-start;
  border-top-left-radius: 2px;
  background: #fff;
}

.jd-wa-bubble--in::before {
  left: -7px;
  background: linear-gradient(225deg, #fff 0 50%, transparent 51%);
}

.jd-wa-bubble--out {
  align-self: flex-end;
  border-top-right-radius: 2px;
  background: #d9fdd3;
}

.jd-wa-bubble--out::before {
  right: -7px;
  background: linear-gradient(135deg, #d9fdd3 0 50%, transparent 51%);
}

.jd-wa-photo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  padding: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .55);
}

.jd-wa-photo__cabinet {
  position: relative;
  display: flex;
  width: 48px;
  height: 34px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(140deg, #bb8d63, #7d5535);
}

.jd-wa-photo__cabinet i {
  width: 50%;
  border: 1px solid rgba(75, 43, 21, .48);
}

.jd-wa-photo__cabinet i:last-child {
  transform: rotate(7deg) translate(2px, -1px);
  transform-origin: right top;
}

.jd-wa-photo__cabinet::after {
  position: absolute;
  top: 16px;
  left: 22px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #29231f;
  content: "";
}

.jd-wa-photo > span:last-child {
  display: flex;
  flex-direction: column;
}

.jd-wa-photo strong {
  font-size: 9px;
}

.jd-wa-photo small {
  color: #667781;
  font-size: 7px;
}

.jd-wa-compose {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  background: #f0f2f5;
}

.jd-wa-compose > span:first-child {
  color: #667781;
  font-size: 20px;
}

.jd-wa-compose__field {
  display: flex;
  height: 38px;
  min-width: 0;
  flex: 1;
  align-items: center;
  padding: 0 12px;
  border-radius: 20px;
  color: #8696a0;
  background: #fff;
  font-size: 11px;
}

.jd-wa-compose > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #667781;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jd-wa-mic {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: #00a884;
}

.jd-wa-mic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 1024px) {
  .jd-home #process .jd-process-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .jd-home #process .jd-process-phone {
    order: 2;
  }

  .jd-home #process .jd-steps {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: min(82vw, 390px);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
  }

  .jd-home #process .jd-step {
    display: block;
    min-height: 260px;
    scroll-snap-align: start;
  }

  .jd-home #process .jd-step__num {
    display: block;
  }

  .jd-home #process .jd-step__icon {
    margin: 18px 0 16px;
  }
}

@media (max-width: 520px) {
  .jd-home #process .jd-process-layout {
    margin-top: 34px;
  }

  .jd-process-phone {
    margin-inline: -4px;
  }

  .jd-phone-frame {
    width: min(100%, 350px);
    padding: 9px;
    border-radius: 39px;
  }

  .jd-phone-screen {
    border-radius: 31px;
  }

  .jd-phone-speaker {
    top: 16px;
  }

  .jd-wa-chat {
    height: 442px;
  }

  .jd-wa-bubble {
    max-width: 88%;
  }
}


/* Keep process cards readable beside the smartphone illustration. */
@media (min-width: 1025px) {
  .jd-home #process .jd-process-steps .jd-steps {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .jd-home #process .jd-process-steps .jd-step {
    width: 100%;
    min-height: 126px;
  }
}

/* Simplify process cards: no connector rule or decorative icons. */
.jd-home #process .jd-step::after {
  display: none !important;
  content: none !important;
}

.jd-home #process .jd-step__icon {
  display: none !important;
}

@media (min-width: 1025px) {
  .jd-home #process .jd-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 3px 18px;
  }

  .jd-home #process .jd-step h3,
  .jd-home #process .jd-step p {
    grid-column: 2;
  }
}

/* Let the two supplied Featured On logos use their full card area. */
.jd-home .jd-featured-on__logo:has(img[src*="thebestsingapore.jpg"]),
.jd-home .jd-featured-on__logo:has(img[src*="ThreeBestRated-Logo-01-1.png"]) {
  padding: 0;
}

.jd-home .jd-featured-on__logo img[src*="thebestsingapore.jpg"],
.jd-home .jd-featured-on__logo img[src*="ThreeBestRated-Logo-01-1.png"] {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Crop the source-image whitespace from the Mimosa project tile. */
.jd-home #work .jd-ph--2 {
  background-size: auto 205% !important;
  background-position: 116% 50% !important;
  background-repeat: no-repeat !important;
}

/* Correct the Mimosa crop window: retain the photo, exclude both white margins. */
.jd-home #work .jd-ph--2 {
  background-size: auto 205% !important;
  background-position: 80% 50% !important;
}

/* The replacement Custom Made Cardboard image uses standard project framing. */
.jd-home #work .jd-ph--2 {
  background-size: cover !important;
  background-position: center !important;
}

/* Stretch the Custom Made Cardboard image across the complete project tile. */
.jd-home #work .jd-ph--2 {
  background-size: 100% 100% !important;
  background-position: center !important;
}

/* Crop the centered white canvas from the Custom Made Cardboard source. */
.jd-home #work .jd-ph--2 {
  background-size: auto 225% !important;
  background-position: 50% 50% !important;
  background-repeat: no-repeat !important;
}

/* Tablet: show all process cards as one static row. */
@media (min-width: 641px) and (max-width: 1024px) {
  .jd-home #process .jd-process-scroll-hint {
    display: none;
  }

  .jd-home #process .jd-process-steps .jd-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    grid-auto-flow: row;
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .jd-home #process .jd-process-steps .jd-step {
    width: auto;
    min-height: 270px;
    scroll-snap-align: none;
  }
}

/* Mobile containment for the shared enquiry form and process phone. */
@media (max-width: 520px) {
  .jd-home .jd-content-page--about .jd-content-enquiry__grid,
  .jd-home .jd-content-page--about .jd-content-enquiry__grid > *,
  .jd-home .jd-content-page--about .jd-content-form-card,
  .jd-home .jd-content-page--about .jd-content-form-card form,
  .jd-home .jd-content-page--about .jd-landscape-form-grid,
  .jd-home .jd-content-page--about .jd-landscape-field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jd-home #process .jd-process-phone {
    width: 100%;
    margin-inline: 0;
  }

  .jd-home #process .jd-phone-frame {
    width: min(100%, 350px);
    box-sizing: border-box;
  }
}
