/**
 * Dirty Deeds — global custom CSS.
 *
 * Shared header/footer, design tokens, and the approved typography scale,
 * plus the Home page body sections (hero, featured services, why choose,
 * bottom CTA). Services and Contact page bodies are still placeholders and
 * are rebuilt in later lanes.
 */

:root {
	--dd-navy: #1b2a41;
	--dd-orange: #f97316;
	--dd-white: #ffffff;
	--dd-neutral-bg: #f5f7fa;
	--dd-body-text: #1f2937;
	--dd-muted: #6b7280;
	--dd-border: #e5e7eb;
	--dd-muted-on-dark: #cbd5e1;
	--dd-border-on-dark: #334155;
	--dd-page-padding: clamp(1rem, 0.5rem + 2vw, 2.5rem);
	--dd-hero-title: clamp(2.75rem, 5vw, 5rem);
	--dd-page-title: clamp(2.5rem, 4vw, 4.5rem);
	--dd-section-title: clamp(1.8rem, 3vw, 3rem);
}

body {
	font-family: "Poppins", sans-serif;
	color: var(--dd-body-text);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.6;
	overflow-x: hidden;
}

.dd-container {
	width: min(100% - 2rem, 1200px);
	margin-inline: auto;
}

/*
 * Wider variant — used only where six service cards need more breathing
 * room (Home Featured Services, main Services overview cards). Kept as an
 * opt-in modifier rather than widening .dd-container globally, so hero and
 * other text sections stay at the original, more readable measure.
 */
.dd-container--wide {
	width: min(calc(100% - 2rem), 1320px);
}

/* Spacing below header (ignore admin bar) */
.wp-site-blocks > .entry-content,
.wp-site-blocks > main,
.wp-block-post-content {
	margin-top: 0;
}

/* ── Header ─────────────────────────────────────────────── */

.dd-site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--dd-border);
	padding-block: 0.5625rem;
}

/*
 * flex-wrap defaults to "wrap" (set on the block itself in header.html) so
 * that if the logo + nav + CTA combined min-content width ever exceeds the
 * available header width (e.g. mid-size laptop/tablet viewports), the row
 * gracefully wraps to a second line instead of forcing horizontal overflow.
 * At normal desktop widths there is always enough room, so it still renders
 * as a single row.
 */
.dd-site-header .alignwide {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--dd-page-padding);
	gap: clamp(1rem, 2vw, 2.5rem);
	row-gap: 0.75rem;
	align-items: center;
}

/*
 * As of the "dirty-deeds-logo-web" derivative (attachment 102), the logo
 * source is pre-cropped to its real artwork bounding box (~1.336:1
 * landscape) instead of a mostly-empty square canvas, so a modest
 * max-height now produces a genuinely visible ~115-130px-wide mark rather
 * than a tiny glyph inside a big transparent box. 94px max-height ->
 * ~126px visible width desktop; combined with the header's own vertical
 * padding, total header height lands in the ~105-125px target range.
 */
.dd-site-logo img {
	max-height: 94px;
	width: auto;
	height: auto;
}

.dd-header-right {
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
	align-items: center;
}

.dd-main-navigation {
	align-items: center;
}

.dd-main-navigation .wp-block-navigation__container {
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
	align-items: center;
}

.dd-main-navigation .wp-block-navigation-item__label,
.dd-main-navigation .wp-block-navigation-item__content {
	font-size: 1.1875rem;
	font-weight: 600;
	color: var(--dd-navy);
	text-decoration: none;
	padding-block: 0.35rem;
}

.dd-main-navigation .wp-block-navigation-item__content:hover,
.dd-main-navigation .wp-block-navigation-item__content:focus {
	color: var(--dd-orange);
}

.dd-main-navigation .current-menu-item > .wp-block-navigation-item__content,
.dd-main-navigation .current-menu-item .wp-block-navigation-item__label,
.dd-main-navigation .current_page_item > .wp-block-navigation-item__content,
.dd-main-navigation .current_page_item .wp-block-navigation-item__label,
.dd-main-navigation .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--dd-orange);
	border-bottom: 0;
	text-decoration: none;
	box-shadow: none;
}

.dd-main-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.dd-main-navigation .current_page_item > .wp-block-navigation-item__content::after,
.dd-main-navigation .wp-block-navigation-item__content[aria-current="page"]::after {
	content: none;
	display: none;
}

.dd-header-cta .wp-block-button__link {
	background-color: var(--dd-orange) !important;
	color: var(--dd-white) !important;
	font-weight: 600;
	font-size: 1.0625rem;
	padding: 0.85rem 1.75rem !important;
	min-height: 44px;
	border-radius: 9999px;
	white-space: nowrap;
}

.dd-header-cta .wp-block-button__link:hover,
.dd-header-cta .wp-block-button__link:focus {
	background-color: var(--dd-navy) !important;
}

@media (max-width: 781px) {
	.dd-site-header {
		padding-block: 0.4375rem;
	}

	.dd-site-header .alignwide {
		flex-wrap: wrap;
	}

	/* 73px max-height on the ~1.336:1 cropped logo -> ~97.5px visible width. */
	.dd-site-logo {
		max-width: 98px;
	}

	.dd-site-logo img {
		max-height: 73px;
	}

	.dd-header-right {
		width: 100%;
		justify-content: space-between;
	}

	.dd-header-cta-wrap {
		margin-left: auto;
	}
}

a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--dd-orange);
	outline-offset: 2px;
}

/* ── Footer ─────────────────────────────────────────────── */

.dd-site-footer {
	background-color: var(--dd-navy);
	color: var(--dd-white);
}

.dd-site-footer .alignwide {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--dd-page-padding);
}

.dd-site-footer .wp-block-columns {
	gap: clamp(2rem, 4vw, 3.5rem);
}

.dd-footer-logo {
	margin-bottom: 1rem;
}

/* 82px max-height on the ~1.336:1 cropped logo -> ~109.5px visible width. */
.dd-footer-logo img {
	max-height: 82px;
	width: auto;
	height: auto;
}

.dd-site-footer h3 {
	margin-bottom: 1rem;
}

.dd-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.dd-footer-links li {
	margin-bottom: 0.6rem;
}

.dd-footer-links a {
	color: var(--dd-muted-on-dark);
	text-decoration: none;
	font-weight: 500;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.dd-footer-links a:hover,
.dd-footer-links a:focus {
	color: var(--dd-orange);
}

.dd-footer-contact-cta .wp-block-button__link {
	background: transparent !important;
	color: var(--dd-white) !important;
	border: 2px solid var(--dd-orange);
}

@media (max-width: 781px) {
	.dd-site-footer .wp-block-columns {
		flex-direction: column;
	}

	.dd-site-footer .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ── Typography (approved scale, reused by future page rebuilds) ── */

.dd-hero-title {
	font-size: var(--dd-hero-title);
	font-weight: 700;
	line-height: 1.08;
	color: var(--dd-white);
	margin-bottom: 1rem;
}

.dd-page-title {
	font-size: var(--dd-page-title);
	font-weight: 700;
	line-height: 1.1;
	color: var(--dd-white);
	margin-bottom: 0.75rem;
}

.dd-section-title {
	font-size: var(--dd-section-title);
	font-weight: 700;
	line-height: 1.15;
	color: var(--dd-navy);
	margin-bottom: 1rem;
}

.dd-hero-lead {
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	color: var(--dd-white);
	max-width: 42rem;
}

.dd-hero-sub {
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.92);
	max-width: 38rem;
}

.dd-section-intro {
	color: var(--dd-muted);
	max-width: 40rem;
	margin-inline: auto;
}

/* ── Generic section/button primitives ─────────────────── */

.dd-section {
	padding-block: clamp(3rem, 5vw, 5rem);
	padding-inline: var(--dd-page-padding);
}

.dd-section--neutral {
	background-color: var(--dd-neutral-bg);
}

.dd-section.alignfull,
.dd-hero.alignfull {
	padding-inline: 0;
}

.is-style-dd-primary .wp-block-button__link:hover {
	background-color: var(--dd-navy) !important;
}

/* ── Asset test page (temporary staging diagnostic) ──────── */

.dd-asset-test {
	width: min(100% - 2rem, 1100px);
	margin-inline: auto;
	padding: 2rem 0;
	overflow: hidden;
}

.dd-asset-test h2 {
	font-size: 1.1rem;
	color: var(--dd-navy);
	margin-top: 2rem;
}

.dd-asset-test__url {
	font-family: monospace;
	font-size: 0.85rem;
	color: var(--dd-muted);
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.dd-asset-test__meta {
	font-family: monospace;
	font-size: 0.85rem;
	color: var(--dd-muted);
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
	margin-top: 0.5rem;
}

.dd-asset-test__error {
	color: #b42318;
	font-weight: 600;
}

.dd-asset-test__item {
	border: 1px solid var(--dd-border);
	border-radius: 8px;
	padding: 1rem;
	background: var(--dd-neutral-bg);
	overflow: hidden;
}

/*
 * The raw logo attachment is a large square source image; without an
 * explicit cap here it renders at native size and blows out page width.
 * This selector targets the <img> regardless of markup version WordPress
 * generates for wp_get_attachment_image()/get_custom_logo().
 */
.dd-asset-test-logo img {
	display: block;
	width: min(220px, 100%);
	height: auto;
}

.dd-asset-test-image {
	display: block;
	width: 100%;
	max-width: 900px;
	height: auto;
}

/* ── Home page — shared section primitives ─────────────────── */

.dd-home-eyebrow {
	color: var(--dd-orange);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	margin: 0 0 0.75rem;
}

.dd-home-heading {
	font-size: var(--dd-section-title);
	text-align: center;
	margin: 0 auto 2.5rem;
	max-width: 46rem;
}

.dd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	border-radius: 9999px;
	font-weight: 600;
	font-size: 1.0625rem;
	padding: 0.85rem 1.75rem;
	min-height: 44px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dd-btn--primary {
	background-color: var(--dd-orange);
	color: var(--dd-white);
	border: 2px solid var(--dd-orange);
}

.dd-btn--primary:hover,
.dd-btn--primary:focus-visible {
	background-color: var(--dd-navy);
	border-color: var(--dd-navy);
	color: var(--dd-white);
}

.dd-btn--outline {
	background-color: transparent;
	color: var(--dd-navy);
	border: 2px solid var(--dd-navy);
}

.dd-btn--outline:hover,
.dd-btn--outline:focus-visible {
	background-color: var(--dd-navy);
	color: var(--dd-white);
}

/* Orange-outline variant — used for the "View Details" service-card
   button, matching the approved Services mockup. */
.dd-btn--outline-orange {
	background-color: transparent;
	color: var(--dd-orange);
	border: 2px solid var(--dd-orange);
}

.dd-btn--outline-orange:hover,
.dd-btn--outline-orange:focus-visible {
	background-color: var(--dd-orange);
	color: var(--dd-white);
}

.dd-icon {
	flex-shrink: 0;
	color: var(--dd-navy);
}

/* ── Home — split hero ──────────────────────────────────────── */

.dd-home-hero {
	background-color: var(--dd-white);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
}

.dd-home-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(2rem, 4vw, 3.5rem);
	min-height: clamp(0px, 40vw, 560px);
}

.dd-home-hero__copy {
	flex: 1 1 420px;
	max-width: 560px;
}

.dd-home-hero__title {
	font-size: var(--dd-hero-title);
	line-height: 1.1;
	margin: 0 0 1.25rem;
}

.dd-home-hero__title-accent {
	color: var(--dd-orange);
}

.dd-home-hero__lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--dd-body-text);
	margin: 0 0 1rem;
	max-width: 34rem;
}

.dd-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.dd-home-hero__trust {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 2rem 0 0;
	padding: 0;
}

.dd-home-hero__trust li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dd-navy);
}

.dd-home-hero__trust .dd-icon {
	width: 22px;
	height: 22px;
}

.dd-home-hero__image-wrap {
	flex: 1 1 460px;
	position: relative;
	align-self: stretch;
	min-height: 320px;
	border-radius: 16px;
	overflow: hidden;
}

.dd-home-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dd-home-hero__image-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--dd-white) 0%, rgba(255, 255, 255, 0) 22%);
	z-index: 1;
	pointer-events: none;
}

@media (max-width: 900px) {
	.dd-home-hero__image-wrap::before {
		background: linear-gradient(to bottom, var(--dd-white) 0%, rgba(255, 255, 255, 0) 18%);
	}
}

/* ── Home — featured services ──────────────────────────────── */

.dd-home-services {
	background-color: var(--dd-white);
	/* Slightly less bottom padding than top: cards no longer carry a
	   description, so they're shorter, and the next section (Why Choose on
	   Home, the booking panel on Services) supplies its own top padding —
	   full 5rem on both sides stacked into unnecessary extra space. */
	padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
}

.dd-service-cards {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.25rem;
}

.dd-service-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 12px;
	padding: 1.25rem 1rem 1.5rem;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dd-service-card:hover,
.dd-service-card:focus-visible {
	border-color: var(--dd-orange);
	box-shadow: 0 8px 20px rgba(27, 42, 65, 0.1);
	transform: translateY(-2px);
}

.dd-service-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1rem;
}

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

.dd-service-card__title {
	display: block;
	font-weight: 700;
	color: var(--dd-navy);
	font-size: 1.0625rem;
	margin-bottom: 0.5rem;
	/* Keep "Pressure Washing" (the longest title) on one line at normal
	   card widths; only relax to normal wrapping at the narrowest
	   breakpoint below, where a card could realistically be too narrow. */
	white-space: nowrap;
}

@media (max-width: 480px) {
	.dd-service-card__title {
		white-space: normal;
	}
}

/*
 * Simplified card variant (Home + Services overview) — image and title
 * only (plus a button on Services). No description paragraph.
 */
.dd-service-card--simple .dd-service-card__title {
	margin-bottom: 0;
}

.dd-service-card--overview.dd-service-card--simple .dd-service-card__title {
	margin-bottom: 0.5rem;
}

@media (max-width: 1200px) {
	.dd-service-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.dd-service-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.dd-service-cards {
		grid-template-columns: 1fr;
	}
}

/* ── Home — why choose ──────────────────────────────────────── */

.dd-home-why {
	background-color: var(--dd-neutral-bg);
	padding-block: clamp(3rem, 6vw, 5rem);
}

.dd-home-why__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.dd-home-why__image-wrap {
	flex: 1 1 400px;
	border-radius: 16px;
	overflow: hidden;
	align-self: stretch;
}

.dd-home-why__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 460px;
	object-fit: cover;
}

.dd-home-why__content {
	flex: 1.3 1 460px;
}

.dd-home-why__content .dd-home-eyebrow,
.dd-home-why__content .dd-home-heading {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.dd-home-why__lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--dd-body-text);
	margin: 0 0 1.75rem;
	max-width: 34rem;
}

.dd-home-why__benefits {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem 1.25rem;
	margin: 0;
	padding: 0;
}

.dd-home-why__benefits li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.dd-home-why__benefit-title {
	font-weight: 700;
	color: var(--dd-navy);
	font-size: 0.9375rem;
}

.dd-home-why__benefit-desc {
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--dd-muted);
}

@media (max-width: 1024px) {
	.dd-home-why__benefits {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 380px) {
	.dd-home-why__benefits {
		grid-template-columns: 1fr;
	}
}

/* ── Bottom CTA band (shared by Home + Services) ───────────── */

.dd-home-cta {
	background-color: var(--dd-navy);
	color: var(--dd-white);
	padding-block: clamp(2.5rem, 4vw, 3.25rem);
}

.dd-home-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.dd-home-cta__heading {
	color: var(--dd-white);
	font-size: 1.75rem;
	margin: 0 0 0.5rem;
}

.dd-home-cta__text {
	color: var(--dd-muted-on-dark);
	margin: 0;
	font-size: 1.0625rem;
}

/*
 * Light variant — used on Home only. The navy CTA sitting directly above
 * the navy footer, separated only by the default block gap, read as an
 * accidental seam rather than an intentional transition. Flipping the CTA
 * to a light background creates a deliberate light-then-navy closing
 * sequence, with generous padding so it doesn't feel cramped against the
 * footer below.
 */
.dd-home-cta--light {
	background-color: var(--dd-white);
	color: var(--dd-body-text);
	padding-block: clamp(3.5rem, 6vw, 4.5rem) clamp(3rem, 5vw, 4rem);
}

.dd-home-cta--light .dd-home-cta__heading {
	color: var(--dd-navy);
}

.dd-home-cta--light .dd-home-cta__text {
	color: var(--dd-body-text);
}

/*
 * Eliminates the default WP block-gap margin that was rendering as a thin
 * accidental-looking white line between the CTA band and the footer (the
 * footer template part is a direct child of .wp-site-blocks, which
 * receives a margin-block-start from the theme's global block-gap rule).
 *
 * The !important on padding-top is a deliberate safety net: the footer
 * template part's own block "style.spacing.padding" attribute already
 * sets 2.75rem top padding (see parts/footer.html), but that renders as
 * an inline style, and inline styles can survive stale template-part
 * caching in a way external CSS normally wouldn't beat without
 * !important. This guarantees the "footer starts too abruptly" issue
 * cannot silently regress even if a cached copy of the part is served.
 */
.dd-site-footer {
	margin-top: 0;
	padding-top: 2.75rem !important;
}

.dd-btn--small {
	padding: 0.55rem 1.25rem;
	font-size: 0.9375rem;
	min-height: 38px;
	margin-top: 0.75rem;
}

/* ── Shared split page hero (Services + Contact) ──────────── */

.dd-page-hero {
	background-color: var(--dd-white);
	padding-block: clamp(2rem, 4vw, 3rem);
	overflow: hidden;
}

.dd-page-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(2rem, 4vw, 3rem);
	min-height: clamp(0px, 28vw, 380px);
}

.dd-page-hero__copy {
	flex: 1 1 420px;
	max-width: 560px;
}

.dd-page-hero__title {
	font-size: var(--dd-section-title);
	line-height: 1.1;
	margin: 0 0 1rem;
}

.dd-page-hero__lead {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--dd-body-text);
	margin: 0;
	max-width: 34rem;
}

.dd-page-hero__image-wrap {
	flex: 1 1 420px;
	position: relative;
	align-self: stretch;
	min-height: 260px;
	border-radius: 16px;
	overflow: hidden;
}

.dd-page-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dd-page-hero__image-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--dd-white) 0%, rgba(255, 255, 255, 0) 22%);
	z-index: 1;
	pointer-events: none;
}

@media (max-width: 900px) {
	.dd-page-hero__image-wrap::before {
		background: linear-gradient(to bottom, var(--dd-white) 0%, rgba(255, 255, 255, 0) 18%);
	}
}

/*
 * Compact variant — Service Details page. Deliberately smaller/shorter
 * than the main Services hero, copy-only (no side image), with a link
 * back to the main Services page.
 */
.dd-page-hero--compact {
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
	background-color: var(--dd-neutral-bg);
}

.dd-page-hero__inner--compact {
	min-height: 0;
}

.dd-page-hero__title--compact {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-bottom: 0.6rem;
}

.dd-page-hero__back-link {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--dd-navy);
	text-decoration: none;
}

.dd-page-hero__back-link:hover,
.dd-page-hero__back-link:focus-visible {
	color: var(--dd-orange);
}

/* ── Services — overview cards (div-based, with a real button) ── */

.dd-service-card--overview {
	cursor: default;
}

.dd-service-card--overview .dd-btn {
	margin-top: auto;
}

/* ── Service Details — one-service viewer ─────────────────── */

.dd-sd-viewer {
	padding-block: 2rem 2.75rem;
	background-color: var(--dd-neutral-bg);
}

.dd-sd-viewer__inner {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* ── Back to Services (shared) ─────────────────────────────── */

.dd-service-back {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.55rem 0.9rem;
	margin-bottom: 0.85rem;
	border: 1.5px solid var(--dd-navy);
	border-radius: 999px;
	color: var(--dd-navy);
	background: var(--dd-white);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

.dd-service-back__arrow {
	font-size: 1rem;
	line-height: 1;
}

.dd-service-back:hover,
.dd-service-back:focus-visible {
	border-color: var(--dd-orange);
	color: var(--dd-orange);
	background: #fff7ed;
}

/* Desktop tab selector */
.dd-sd-selector--tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dd-sd-selector--dropdown {
	display: none;
}

.dd-sd-selector__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border: 1.5px solid var(--dd-navy);
	border-radius: 999px;
	background: var(--dd-white);
	color: var(--dd-navy);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.dd-sd-selector__tab:hover,
.dd-sd-selector__tab:focus-visible {
	border-color: var(--dd-orange);
	color: var(--dd-orange);
	background: #fff7ed;
	outline: none;
	box-shadow: inset 0 0 0 2px var(--dd-orange);
}

.dd-sd-selector__tab.is-selected {
	border-color: var(--dd-orange);
	background: var(--dd-orange);
	color: var(--dd-white);
}

.dd-sd-selector__tab.is-selected:hover,
.dd-sd-selector__tab.is-selected:focus-visible {
	color: var(--dd-white);
	background: var(--dd-navy);
	border-color: var(--dd-navy);
}

/* Panels — only one visible at a time (JS toggles hidden) */
.dd-sd-panels {
	position: relative;
}

.dd-sd-panel {
	background: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1.5rem;
}

.dd-sd-panel[hidden] {
	display: none !important;
}

.dd-sd-panel__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.75rem;
}

.dd-sd-panel__content {
	flex: 1 1 340px;
	min-width: 0;
}

.dd-sd-panel__media {
	flex: 1 1 340px;
	width: 100%;
	height: clamp(300px, 32vw, 360px);
	max-height: 360px;
	overflow: hidden;
	border-radius: 16px;
}

.dd-sd-panel__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dd-sd-panel__title {
	font-size: 1.75rem;
	margin: 0 0 0.45rem;
	outline: none;
}

.dd-sd-panel__desc {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--dd-body-text);
	margin: 0 0 0.75rem;
}

/* Single More Details accordion */
.dd-sd-more {
	border: 1px solid var(--dd-border);
	border-radius: 8px;
	margin: 0 0 0.85rem;
	background: var(--dd-neutral-bg);
}

.dd-sd-more__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 0.65rem 0.85rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--dd-navy);
	cursor: pointer;
	list-style: none;
}

.dd-sd-more__summary::-webkit-details-marker {
	display: none;
}

.dd-sd-more__summary::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid var(--dd-orange);
	border-bottom: 2px solid var(--dd-orange);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.dd-sd-more[open] .dd-sd-more__summary::after {
	transform: rotate(-135deg);
}

.dd-sd-more__summary:hover,
.dd-sd-more__summary:focus-visible {
	color: var(--dd-orange);
	outline: none;
	box-shadow: inset 0 0 0 2px var(--dd-orange);
}

.dd-sd-more__content {
	padding: 0.75rem 0.9rem 0.9rem;
	border-top: 1px solid var(--dd-border);
	font-size: 0.92rem;
	line-height: 1.5;
}

.dd-sd-more__block {
	margin-bottom: 0.85rem;
}

.dd-sd-more__block:last-child {
	margin-bottom: 0;
}

.dd-sd-more__heading {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dd-navy);
	margin: 0 0 0.35rem;
}

.dd-sd-more__intro {
	margin: 0 0 0.35rem;
	font-size: 0.92rem;
}

.dd-sd-more__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dd-sd-more__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	margin-bottom: 0.2rem;
	font-size: 0.92rem;
}

.dd-sd-more__list li::before {
	content: "";
	width: 5px;
	height: 5px;
	flex-shrink: 0;
	margin-top: 0.38rem;
	border-radius: 50%;
	background-color: var(--dd-orange);
}

.dd-sd-more__note,
.dd-sd-more__block p {
	margin: 0.35rem 0 0;
	font-size: 0.92rem;
}

.dd-sd-panel__content .dd-btn--compact {
	padding: 0.7rem 1.1rem;
	min-height: 44px;
	font-size: 0.9375rem;
}

@media (max-width: 768px) {
	.dd-sd-selector--tabs {
		display: none;
	}

	.dd-sd-selector--dropdown {
		display: block;
	}

	.dd-sd-selector__dropdown-label {
		display: block;
		font-weight: 600;
		font-size: 0.875rem;
		color: var(--dd-navy);
		margin-bottom: 0.35rem;
	}

	.dd-sd-selector__select {
		width: 100%;
		min-height: 44px;
		padding: 0.65rem 0.85rem;
		border: 1.5px solid var(--dd-navy);
		border-radius: 8px;
		font-size: 1rem;
		font-family: inherit;
		color: var(--dd-navy);
		background: var(--dd-white);
	}

	.dd-sd-selector__select:focus-visible {
		outline: 2px solid var(--dd-orange);
		outline-offset: 2px;
	}

	.dd-sd-panel__inner {
		flex-direction: column;
	}

	.dd-sd-panel__media {
		order: -1;
		height: clamp(220px, 55vw, 280px);
		max-height: 280px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dd-sd-more__summary::after,
	.dd-sd-selector__tab {
		transition: none;
	}
}

/* ── Services — pricing placeholder panel (legacy/FAQ) ─────── */

.dd-pricing-panel {
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 0 0 1.5rem;
}

.dd-pricing-panel__label {
	font-weight: 700;
	color: var(--dd-navy);
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0 0 0.4rem;
}

.dd-pricing-panel__note {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--dd-muted);
	margin: 0 0 0.5rem;
}

.dd-pricing-panel__cta {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dd-navy);
	margin: 0;
}

.dd-pricing-panel__factors {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--dd-body-text);
}

.dd-pricing-panel__factors li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.dd-pricing-panel__factors li::before {
	content: "";
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	margin-top: 0.45rem;
	border-radius: 50%;
	background-color: var(--dd-orange);
}

/* ── Compact accordions (Service Details + FAQ) ───────────── */

.dd-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
}

.dd-accordion__item {
	border: 1px solid var(--dd-border);
	border-radius: 10px;
	background: var(--dd-white);
	overflow: hidden;
}

.dd-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 44px;
	padding: 0.85rem 1rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--dd-navy);
	cursor: pointer;
	list-style: none;
}

.dd-accordion__summary::-webkit-details-marker {
	display: none;
}

.dd-accordion__summary::after {
	content: "+";
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--dd-orange);
	line-height: 1;
}

.dd-accordion__item[open] .dd-accordion__summary::after {
	content: "−";
}

.dd-accordion__summary:hover,
.dd-accordion__summary:focus-visible {
	color: var(--dd-orange);
	outline: none;
	box-shadow: inset 0 0 0 2px var(--dd-orange);
}

.dd-accordion__body {
	padding: 0 1rem 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--dd-body-text);
}

.dd-accordion__body p {
	margin: 0;
}

/* ── FAQ page ─────────────────────────────────────────────── */

.dd-faq-page {
	padding-block: clamp(2rem, 4vw, 3rem);
}

.dd-faq-page__inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.dd-faq-group__title {
	font-size: 1.25rem;
	margin: 0 0 0.75rem;
	color: var(--dd-navy);
}

.dd-faq-page__contact-note {
	text-align: center;
	font-size: 1rem;
	margin: 0.5rem 0 0;
}

.dd-faq-page__contact-note a {
	color: var(--dd-orange);
	font-weight: 600;
	text-decoration: none;
}

.dd-faq-page__contact-note a:hover,
.dd-faq-page__contact-note a:focus-visible {
	text-decoration: underline;
}

/* ── Skip link ────────────────────────────────────────────── */

.dd-skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--dd-navy);
	color: var(--dd-white);
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 8px 8px;
}

.dd-skip-link:focus {
	top: 0;
	outline: 2px solid var(--dd-orange);
	outline-offset: 2px;
}

.dd-footer-more-info-heading {
	margin-top: 1.5rem !important;
	margin-bottom: 0.75rem !important;
	font-size: 1.0625rem !important;
}

/* ── Services — booking / request placeholder ──────────────── */
/*
 * Matches the approved mockup: appointment/estimate tabs + a short "not
 * sure which you need" note in a left sidebar, and a request form on the
 * right, inside one bordered card. Entirely non-functional — every field
 * is disabled and the form does not submit; this is a staging placeholder
 * until the forms/booking lane.
 */

.dd-booking {
	background-color: var(--dd-white);
	padding-block: clamp(3rem, 5vw, 4.5rem);
	scroll-margin-top: 32px;
}

.dd-booking__preselect-note {
	text-align: center;
	margin: -1rem 0 1.5rem;
	font-size: 0.9375rem;
	color: var(--dd-body-text);
}

.dd-booking__panel {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(27, 42, 65, 0.06);
}

.dd-booking__sidebar {
	flex: 1 1 280px;
	max-width: 320px;
	background-color: var(--dd-neutral-bg);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-right: 1px solid var(--dd-border);
}

.dd-booking__info-card {
	margin-top: 0.5rem;
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 10px;
	padding: 1.25rem;
	text-align: center;
}

.dd-booking__info-card .dd-icon {
	width: 30px;
	height: 30px;
	margin: 0 auto 0.75rem;
}

.dd-booking__info-title {
	font-weight: 700;
	color: var(--dd-navy);
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
}

.dd-booking__info-desc {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--dd-muted);
	margin: 0 0 0.75rem;
}

.dd-booking__info-footer {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--dd-orange);
	margin: 0;
}

.dd-booking__form-wrap {
	flex: 2 1 420px;
	padding: 1.75rem clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
	.dd-booking__panel {
		flex-direction: column;
	}

	.dd-booking__sidebar {
		max-width: none;
		border-right: none;
		border-bottom: 1px solid var(--dd-border);
	}
}

/* ── Fluent Forms — shared overrides for Service Request + Contact ──── */

.dd-booking__form-wrap .fluentform,
.dd-contact-area__form .fluentform {
	font-family: inherit;
}

.dd-booking__form-wrap form.frm-fluent-form fieldset,
.dd-contact-area__form form.frm-fluent-form fieldset {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.15rem 1.25rem;
	align-items: start;
}

.dd-booking__form-wrap .ff-el-group,
.dd-contact-area__form .ff-el-group {
	grid-column: span 1;
	margin: 0;
}

.dd-booking__form-wrap .dd-ff-full,
.dd-contact-area__form .dd-ff-full {
	grid-column: 1 / -1;
}

.dd-booking__form-wrap .ff-el-input--label label,
.dd-contact-area__form .ff-el-input--label label {
	display: inline-block;
	margin-bottom: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--dd-navy);
}

.dd-booking__form-wrap .ff-el-form-control,
.dd-contact-area__form .ff-el-form-control {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	color: var(--dd-body-text);
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
	resize: vertical;
}

.dd-booking__form-wrap .ff-el-form-control:focus,
.dd-contact-area__form .ff-el-form-control:focus {
	outline: none;
	border-color: var(--dd-orange);
	box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.16);
}

.dd-booking__form-wrap .error,
.dd-contact-area__form .error {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #c0392b;
}

/* Request Type — real radio control styled as tab-style buttons */

.dd-ff-request-type .ff-el-input--label label {
	margin-bottom: 0.6rem;
}

.dd-ff-request-type .ff-el-input--content {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dd-ff-request-type .ff-el-form-check {
	flex: 1 1 180px;
	position: relative;
}

.dd-ff-request-type .ff-el-form-check-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--dd-navy);
	background-color: var(--dd-white);
	border: 1px solid var(--dd-border);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dd-ff-request-type .ff-el-form-check-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dd-ff-request-type .ff-el-form-check-label:focus-within {
	outline: 2px solid var(--dd-orange);
	outline-offset: 2px;
}

.dd-ff-request-type .ff_item_selected .ff-el-form-check-label {
	background-color: var(--dd-navy);
	color: var(--dd-white);
	border-color: var(--dd-navy);
}

.dd-ff-note-text {
	margin: -0.35rem 0 0;
	font-size: 0.8125rem;
	color: var(--dd-muted);
}

/* Consent checkbox */

.dd-ff-consent .ff-el-input--label {
	display: none;
}

.dd-ff-consent .ff-el-form-check-label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--dd-body-text);
	cursor: pointer;
}

.dd-ff-consent .ff-el-form-check-input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 0.2rem;
	accent-color: var(--dd-orange);
}

/* Submit button */

.dd-booking__form-wrap .ff_submit_btn_wrapper,
.dd-contact-area__form .ff_submit_btn_wrapper {
	margin-top: 0.4rem;
}

.dd-booking__form-wrap .ff-btn-submit,
.dd-contact-area__form .ff-btn-submit {
	font-family: inherit;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.85rem 1.9rem;
	border: none;
	border-radius: 999px;
	background-color: var(--dd-orange) !important;
	color: var(--dd-white) !important;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dd-booking__form-wrap .ff-btn-submit:hover,
.dd-contact-area__form .ff-btn-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(243, 112, 33, 0.28);
}

@media (max-width: 700px) {
	.dd-booking__form-wrap form.frm-fluent-form fieldset,
	.dd-contact-area__form form.frm-fluent-form fieldset {
		grid-template-columns: 1fr;
	}

	.dd-booking__form-wrap .ff-el-group,
	.dd-contact-area__form .ff-el-group {
		grid-column: 1 / -1;
	}
}

/* ── Contact — two-column contact area ──────────────────────── */

.dd-contact-area {
	background-color: var(--dd-white);
	padding-block: clamp(3rem, 5vw, 4.5rem);
}

.dd-contact-area__inner {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: flex-start;
}

.dd-contact-area__form {
	flex: 1.3 1 460px;
}

.dd-contact-area__info {
	flex: 1 1 320px;
	background-color: var(--dd-neutral-bg);
	border-radius: 14px;
	padding: clamp(1.5rem, 3vw, 2rem);
}

.dd-contact-area__heading {
	text-align: left;
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
}

.dd-contact-area__note {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--dd-body-text);
	margin: 0;
}

/* ── Legal pages — Privacy Policy / Terms and Conditions ────────────── */

.dd-legal-hero .dd-page-hero__lead {
	max-width: 46rem;
}

.dd-legal-page {
	background-color: var(--dd-white);
	padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem);
}

.dd-legal-page__inner {
	max-width: 52rem;
}

.dd-legal-page__draft-notice {
	margin: 0 0 2rem;
	padding: 0.85rem 1.1rem;
	border: 1px dashed var(--dd-orange);
	border-radius: 8px;
	background-color: #fff7ed;
	color: var(--dd-navy);
	font-size: 0.9375rem;
	font-weight: 600;
}

.dd-legal-page__section {
	margin-bottom: 2rem;
}

.dd-legal-page__heading {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--dd-navy);
	margin: 0 0 0.75rem;
}

.dd-legal-page__body p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--dd-body-text);
	margin: 0 0 0.9rem;
}

.dd-legal-page__body ul {
	margin: 0 0 0.9rem;
	padding-left: 1.4rem;
	color: var(--dd-body-text);
	line-height: 1.7;
}

.dd-legal-page__body li {
	margin-bottom: 0.35rem;
}

.dd-legal-page__placeholder {
	font-size: 0.9375rem;
	font-style: italic;
	color: #9a3412;
	background-color: #fff7ed;
	border-left: 3px solid var(--dd-orange);
	padding: 0.6rem 0.9rem;
	margin: 0.5rem 0 0.9rem;
}

/* ── Footer legal links row ──────────────────────────────────────────── */

.dd-footer-legal-row {
	margin-top: 0.6rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	justify-content: center;
	font-size: 0.8125rem;
}

.dd-footer-legal-row a {
	color: var(--dd-muted-on-dark);
	text-decoration: none;
}

.dd-footer-legal-row a:hover {
	color: var(--dd-white);
	text-decoration: underline;
}

@media (max-width: 900px) {
	.dd-contact-area__inner {
		flex-direction: column;
	}
}
