/* =========================================================================
   DG Electrical Services
   Colours, type and motif taken from the company banner:
   navy #13224B · gold #FFCC00 · red #D82A2B · near-black #12161F
   ========================================================================= */

:root {
	--navy: #13224b;
	--navy-700: #1b2f66;
	--navy-900: #0d1733;
	--ink: #12161f;
	--gold: #ffcc00;
	--gold-600: #e0b400;
	--red: #d82a2b;
	--red-700: #b81f20;

	--grey-50: #f6f7f9;
	--grey-100: #eceef2;
	--grey-200: #dcdfe6;
	--grey-300: #c3c8d2;
	--grey-500: #6b7386;
	--grey-700: #3a4152;

	--white: #fff;

	--shell: 1180px;
	--shell-narrow: 820px;
	--radius: 10px;
	--radius-lg: 16px;

	--shadow-sm: 0 1px 2px rgba(19, 34, 75, .08), 0 2px 6px rgba(19, 34, 75, .06);
	--shadow-md: 0 4px 12px rgba(19, 34, 75, .10), 0 12px 28px rgba(19, 34, 75, .08);
	--shadow-lg: 0 10px 24px rgba(19, 34, 75, .14), 0 24px 60px rgba(19, 34, 75, .12);

	--font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;

	--sticky-h: 0px;
}

/* ---------- reset-ish ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--grey-700);
	background: var(--white);
	overflow-x: hidden;
	padding-bottom: var(--sticky-h);
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--navy);
	line-height: 1.08;
	margin: 0 0 .5em;
	letter-spacing: -.005em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

:where(a, button, input, select, textarea, summary, details):focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.dg-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--gold);
	color: var(--ink);
	padding: 12px 20px;
	font-weight: 700;
}
.dg-skip:focus { left: 8px; top: 8px; }

/* ---------- layout ---------- */

.dg-shell {
	width: min(100% - 40px, var(--shell));
	margin-inline: auto;
}
.dg-shell--narrow { width: min(100% - 40px, var(--shell-narrow)); }

.dg-section { padding: clamp(48px, 7vw, 88px) 0; }
.dg-section--alt { background: var(--grey-50); }

.dg-section__head { max-width: 62ch; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.dg-section__title {
	font-size: clamp(1.9rem, 4.2vw, 2.9rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: .35em;
}
.dg-section__lead { font-size: 1.08rem; color: var(--grey-500); margin: 0; }

/* ---------- logo ---------- */

.dg-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	line-height: 1;
}

/* Brand artwork, 7.219:1 (1155x160).
   Width is definite and height is auto, so the aspect ratio from the img's
   width/height attributes reserves the correct box before the file loads —
   important for the lazy-loaded footer copy, which would otherwise pop in.
   max-width lets it shrink proportionally in a narrow column; a fixed height
   plus max-width would squash it instead. */
.dg-logo { min-width: 0; }

.dg-logo img {
	display: block;
	height: auto;
	max-width: 100%;
}

/* Leave room for the menu button (48px) and the gap beside it. */
.dg-logo--header { max-width: calc(100% - 68px); }

.dg-logo--header img { width: 404px; }  /* 56px tall */
.dg-logo--footer img { width: 347px; }  /* 48px tall */

@media (max-width: 1024px) {
	.dg-logo--header img { width: 332px; }  /* 46px tall */
}

@media (max-width: 600px) {
	.dg-logo--header img { width: 274px; }  /* 38px tall */
	.dg-logo--footer img { width: 303px; }  /* 42px tall */
}

.dg-logo__bolt { color: var(--gold); display: inline-flex; }
.dg-logo__bolt svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 0 rgba(19, 34, 75, .35)); }
.dg-logo__bolt--right { transform: scaleX(-1); }

.dg-logo__text { display: flex; flex-direction: column; align-items: center; }

.dg-logo__line1,
.dg-logo__line2 {
	font-family: var(--font-display);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: var(--navy);
	letter-spacing: .005em;
	white-space: nowrap;
}

.dg-logo__line1 { font-size: 1.72rem; line-height: .96; }
.dg-logo__line2 { font-size: 1.06rem; line-height: 1; letter-spacing: .18em; margin-top: 1px; }

/* Gold outline painted behind the fill, exactly like the banner wordmark. */
@supports (paint-order: stroke) {
	.dg-logo__line1, .dg-logo__line2 {
		paint-order: stroke fill;
		-webkit-text-stroke: 3.5px var(--gold);
	}
	.dg-logo__line2 { -webkit-text-stroke-width: 2.5px; }
}

.dg-logo--footer .dg-logo__line1,
.dg-logo--footer .dg-logo__line2,
.dg-logo--hero .dg-logo__line1,
.dg-logo--hero .dg-logo__line2 { color: var(--white); }

/* ---------- topbar ---------- */

.dg-topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, .88);
	font-size: .86rem;
}
.dg-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}
.dg-topbar__claim {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 600;
	letter-spacing: .01em;
}
.dg-topbar__claim svg { color: var(--gold); flex: none; }

.dg-topbar__actions { display: flex; align-items: center; gap: 6px; }

.dg-topbar__lang,
.dg-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 6px;
	min-height: 40px;
}
.dg-topbar__lang:hover,
.dg-topbar__phone:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.dg-topbar__lang svg { color: var(--gold); }
.dg-topbar__phone svg { color: var(--gold); }
.dg-topbar__phone strong { letter-spacing: .02em; }

@media (max-width: 720px) {
	.dg-topbar__claim { display: none; }
	.dg-topbar__inner { justify-content: center; }
}

/* ---------- header / nav ---------- */

.dg-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--white);
	border-bottom: 3px solid var(--gold);
	box-shadow: var(--shadow-sm);
}
.dg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
	padding: 10px 0;
}

.dg-navtoggle {
	display: none;
	background: var(--navy);
	color: var(--white);
	border: 0;
	border-radius: 8px;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.dg-navtoggle__close { display: none; }
.dg-navtoggle[aria-expanded="true"] .dg-navtoggle__open { display: none; }
.dg-navtoggle[aria-expanded="true"] .dg-navtoggle__close { display: inline-flex; }

.dg-nav { display: flex; align-items: center; gap: 20px; }

.dg-nav ul,
.dg-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dg-nav li { position: relative; }

.dg-nav a {
	display: block;
	padding: 10px 12px;
	font-family: var(--font-display);
	font-size: 1.06rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--navy);
	text-decoration: none;
	border-radius: 6px;
}
.dg-nav a:hover { background: var(--grey-100); color: var(--navy); }

.dg-nav .current-menu-item > a,
.dg-nav .current_page_item > a,
.dg-nav .current-menu-ancestor > a { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }

/* Sub-menus */
.dg-nav .sub-menu,
.dg-nav .children {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 250px;
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	padding: 6px;
	display: none;
	flex-direction: column;
	align-items: stretch;
	z-index: 5;
}
.dg-nav li:hover > .sub-menu,
.dg-nav li:focus-within > .sub-menu,
.dg-nav li:hover > .children,
.dg-nav li:focus-within > .children { display: flex; }
.dg-nav .sub-menu a,
.dg-nav .children a { text-transform: none; letter-spacing: 0; font-size: 1.02rem; }

.dg-nav__cta { display: flex; }

@media (max-width: 1024px) {
	.dg-navtoggle { display: inline-flex; }
	.dg-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 380px);
		background: var(--navy);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 88px 20px 40px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .25s ease;
		z-index: 70;
	}
	body.dg-nav-open .dg-nav { transform: translateX(0); }
	body.dg-nav-open { overflow: hidden; }

	.dg-nav ul, .dg-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.dg-nav a { color: var(--white); padding: 14px 12px; font-size: 1.14rem; }
	.dg-nav a:hover { background: rgba(255, 255, 255, .1); color: var(--gold); }
	.dg-nav .current-menu-item > a,
	.dg-nav .current_page_item > a { color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
	.dg-nav .sub-menu, .dg-nav .children {
		position: static; display: flex; background: transparent; border: 0;
		box-shadow: none; padding: 0 0 0 14px; min-width: 0;
	}
	.dg-nav .sub-menu a, .dg-nav .children a { color: rgba(255, 255, 255, .8); }
	.dg-nav__cta { margin-top: 20px; }
	.dg-nav__cta .dg-btn { width: 100%; }

	.dg-navtoggle { position: relative; z-index: 80; }
	body.dg-nav-open .dg-navtoggle { background: var(--gold); color: var(--ink); }
}

.dg-navscrim {
	position: fixed;
	inset: 0;
	background: rgba(9, 14, 28, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease;
	z-index: 65;
}
body.dg-nav-open .dg-navscrim { opacity: 1; visibility: visible; }

/* ---------- buttons ---------- */

.dg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 8px;
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.dg-btn:hover { transform: translateY(-1px); }
.dg-btn:active { transform: translateY(0); }
.dg-btn svg { flex: none; }

.dg-btn--red { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.dg-btn--red:hover { background: var(--red-700); color: var(--white); }

.dg-btn--gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }
.dg-btn--gold:hover { background: var(--gold-600); color: var(--ink); }

.dg-btn--navy { background: var(--navy); color: var(--white); }
.dg-btn--navy:hover { background: var(--navy-700); color: var(--white); }

.dg-btn--outline { background: transparent; border-color: currentColor; color: var(--navy); }
.dg-btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

.dg-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.18rem; }
.dg-btn--sm { min-height: 42px; padding: 8px 16px; font-size: .98rem; }
.dg-btn--block { display: flex; width: 100%; }
.dg-btn--block + .dg-btn--block { margin-top: 10px; }

/* ---------- hero ---------- */

.dg-hero {
	position: relative;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 55%, var(--ink) 100%);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}

/* Diagonal bolt-flash motif echoing the banner's lightning marks. */
.dg-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		repeating-linear-gradient(115deg, rgba(255, 204, 0, .07) 0 2px, transparent 2px 26px),
		radial-gradient(60% 70% at 82% 20%, rgba(255, 204, 0, .18) 0%, transparent 62%),
		radial-gradient(50% 60% at 8% 92%, rgba(216, 42, 43, .22) 0%, transparent 60%);
}

.dg-hero__inner { padding: clamp(56px, 9vw, 108px) 0 clamp(60px, 9vw, 104px); }
.dg-hero__copy { max-width: 44rem; }

.dg-hero__eyebrow {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, .38);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	padding: 9px 20px;
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-size: clamp(.92rem, 2vw, 1.08rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--white);
}
.dg-hero__amp { color: var(--gold); font-size: 1.2em; line-height: 1; }

.dg-hero__title {
	font-size: clamp(2.4rem, 6.4vw, 4.3rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 .38em;
	text-wrap: balance;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}

.dg-hero__text {
	font-size: clamp(1.04rem, 2.1vw, 1.22rem);
	color: rgba(255, 255, 255, .84);
	max-width: 40rem;
	margin-bottom: 30px;
}

.dg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.dg-hero__note {
	margin: 22px 0 0;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .09em;
	font-size: .96rem;
	color: var(--gold);
}

/* ---------- interior page hero ---------- */

.dg-phero {
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
	color: var(--white);
	position: relative;
	overflow: hidden;
}
.dg-phero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(115deg, rgba(255, 204, 0, .06) 0 2px, transparent 2px 24px);
	pointer-events: none;
}
.dg-phero__inner { position: relative; z-index: 1; padding: clamp(40px, 6vw, 72px) 0; max-width: 56rem; }
.dg-phero--slim .dg-phero__inner { padding: clamp(34px, 5vw, 56px) 0; }

.dg-phero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px; height: 68px;
	border-radius: 14px;
	background: rgba(255, 204, 0, .16);
	border: 1px solid rgba(255, 204, 0, .35);
	color: var(--gold);
	margin-bottom: 18px;
}

.dg-phero__title {
	font-size: clamp(2rem, 5vw, 3.3rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 .3em;
	text-wrap: balance;
}
.dg-phero__q { color: var(--gold); font-style: normal; }
.dg-phero__code { font-family: var(--font-display); font-size: 4rem; font-weight: 900; color: var(--gold); margin: 0; line-height: 1; }
.dg-phero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .82); margin: 0; max-width: 46rem; }
.dg-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.dg-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: .9rem;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 20px;
}
.dg-crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.dg-crumbs a:hover { color: var(--gold); text-decoration: underline; }
.dg-crumbs [aria-current] { color: var(--gold); }

/* ---------- trust strip ---------- */

.dg-trust { background: var(--ink); color: rgba(255, 255, 255, .78); }
.dg-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(20px, 3vw, 36px);
	padding: clamp(28px, 4vw, 40px) 0;
}
.dg-trust__icon {
	display: inline-flex;
	color: var(--gold);
	margin-bottom: 10px;
}
.dg-trust__title {
	font-size: 1.22rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--white);
	margin: 0 0 .3em;
}
.dg-trust__text { margin: 0; font-size: .98rem; }

/* ---------- cards ---------- */

.dg-grid { display: grid; gap: 22px; }
.dg-grid--cards { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.dg-card {
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-top: 4px solid var(--gold);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	box-shadow: var(--shadow-sm);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	display: flex;
	flex-direction: column;
}
.dg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-top-color: var(--red); }

.dg-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px; height: 58px;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold);
	margin-bottom: 16px;
}
.dg-card__title { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; margin: 0 0 .4em; }
.dg-card__title a { text-decoration: none; }
.dg-card__text { color: var(--grey-500); font-size: .99rem; flex: 1; }
.dg-card__more { margin: 14px 0 0; }
.dg-card__more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--red);
	text-decoration: none;
}
.dg-card__more a:hover { gap: 10px; text-decoration: underline; }

/* ---------- solar feature ---------- */

.dg-solar { background: var(--grey-50); border-block: 1px solid var(--grey-200); }
.dg-solar__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: clamp(30px, 5vw, 64px);
	align-items: center;
	padding: clamp(48px, 7vw, 84px) 0;
}
.dg-solar__eyebrow {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .16em;
	color: var(--red);
	margin: 0 0 .5em;
	font-size: .95rem;
}
.dg-solar__title {
	font-size: clamp(1.8rem, 3.8vw, 2.7rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	text-wrap: balance;
}
.dg-solar__text { color: var(--grey-500); }

.dg-solar__art { display: flex; justify-content: center; }
.dg-solar__panel {
	width: min(100%, 300px);
	aspect-ratio: 1;
	border-radius: 20px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 25%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 25%),
		linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
	border: 3px solid var(--gold);
	display: grid;
	place-items: center;
	color: var(--gold);
	box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
	.dg-solar__inner { grid-template-columns: 1fr; }
	.dg-solar__art { order: -1; }
	.dg-solar__panel { width: min(100%, 220px); }
}

/* ---------- checklist ---------- */

.dg-checklist { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.dg-checklist--two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 26px; }
.dg-checklist li { display: flex; align-items: flex-start; gap: 11px; }
.dg-checklist svg { color: var(--red); flex: none; margin-top: 4px; }

/* ---------- steps ---------- */

.dg-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 26px;
	counter-reset: dgstep;
}
.dg-steps__item {
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-radius: var(--radius-lg);
	padding: 30px 26px 26px;
	position: relative;
}
.dg-steps__num {
	position: absolute;
	top: -20px;
	left: 24px;
	width: 46px; height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gold);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 900;
	font-style: italic;
	box-shadow: var(--shadow-sm);
}
.dg-steps__title { margin-top: 12px; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; }
.dg-steps__text { margin: 0; color: var(--grey-500); font-size: .99rem; }

/* ---------- CTA band ---------- */

.dg-cta { background: var(--red); color: var(--white); }
.dg-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: clamp(34px, 5vw, 54px) 0;
}
.dg-cta__copy { max-width: 40rem; }
.dg-cta__title {
	color: var(--white);
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	margin: 0 0 .25em;
}
.dg-cta__text { margin: 0; color: rgba(255, 255, 255, .9); }
.dg-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dg-cta .dg-btn--red { background: var(--ink); }
.dg-cta .dg-btn--red:hover { background: var(--navy); }
.dg-cta .dg-btn--outline { color: var(--white); }
.dg-cta .dg-btn--outline:hover { background: var(--white); border-color: var(--white); color: var(--red); }

/* ---------- service page ---------- */

.dg-service {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: clamp(30px, 4vw, 56px);
	align-items: start;
}
.dg-service__intro { font-size: 1.14rem; color: var(--grey-700); }
.dg-service__head {
	font-size: clamp(1.5rem, 2.8vw, 1.95rem);
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	margin-top: 2em;
	padding-top: .7em;
	border-top: 3px solid var(--gold);
}
.dg-service__aside { position: sticky; top: 100px; display: grid; gap: 20px; }

@media (max-width: 900px) {
	.dg-service { grid-template-columns: 1fr; }
	.dg-service__aside { position: static; }
}

.dg-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.dg-split__col {
	background: var(--grey-50);
	border-left: 4px solid var(--navy);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 20px 22px;
}
.dg-split__col:last-child { border-left-color: var(--red); }
.dg-split__title { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dg-split__col p { margin: 0; color: var(--grey-500); font-size: .99rem; }

.dg-panel {
	background: var(--navy);
	color: rgba(255, 255, 255, .84);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	box-shadow: var(--shadow-md);
}
.dg-panel__title { color: var(--white); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dg-panel__text { font-size: .97rem; }
.dg-panel .dg-btn--outline { color: var(--white); }
.dg-panel .dg-btn--outline:hover { background: var(--white); color: var(--navy); }

.dg-panel--plain { background: var(--grey-50); color: var(--grey-700); border: 1px solid var(--grey-200); box-shadow: none; }
.dg-panel--plain .dg-panel__title { color: var(--navy); }

.dg-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dg-linklist a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	color: var(--navy);
	min-height: 46px;
}
.dg-linklist a:hover { background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); }
.dg-linklist svg { color: var(--red); flex: none; }

/* ---------- services index ---------- */

.dg-servicelist { display: grid; gap: 20px; }
.dg-srow {
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-left: 5px solid var(--navy);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-sm);
}
.dg-srow:nth-child(even) { border-left-color: var(--red); }
.dg-srow__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.dg-srow__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px; height: 60px;
	border-radius: 12px;
	background: var(--navy);
	color: var(--gold);
	flex: none;
}
.dg-srow__title { margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 900; font-style: italic; text-transform: uppercase; }
.dg-srow__title a { text-decoration: none; }
.dg-srow__text { color: var(--grey-500); }
.dg-taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.dg-taglist li {
	background: var(--grey-100);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: .88rem;
	color: var(--grey-700);
}
.dg-srow__more { margin: 0; }

/* ---------- FAQ ---------- */

.dg-faq { padding: clamp(48px, 7vw, 84px) 0; background: var(--grey-50); }
.dg-faq__list { display: grid; gap: 12px; }
.dg-faq__item {
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-radius: var(--radius);
	overflow: hidden;
}
.dg-faq__item[open] { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.dg-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: 1.22rem;
	font-weight: 700;
	color: var(--navy);
	min-height: 56px;
}
.dg-faq__q::-webkit-details-marker { display: none; }
.dg-faq__q:hover { background: var(--grey-50); }
.dg-faq__chev { flex: none; color: var(--red); transition: transform .18s ease; }
.dg-faq__item[open] .dg-faq__chev { transform: rotate(180deg); }
.dg-faq__a { padding: 0 22px 20px; }
.dg-faq__a p { margin: 0; color: var(--grey-500); }

/* ---------- contact ---------- */

.dg-contact {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 900px) {
	.dg-contact { grid-template-columns: 1fr; }
}
.dg-contact__aside { display: grid; gap: 20px; }

.dg-contactrow {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: inherit;
	text-decoration: none;
	min-height: 56px;
}
.dg-contactrow:first-of-type { border-top: 0; }
.dg-contactrow__icon { color: var(--gold); flex: none; display: inline-flex; }
.dg-contactrow strong { display: block; color: var(--white); font-size: 1.06rem; }
.dg-contactrow em { font-style: normal; font-size: .9rem; color: rgba(255, 255, 255, .68); }
.dg-contactrow:hover strong { color: var(--gold); }
.dg-contactrow--static { cursor: default; }

/* ---------- gallery ---------- */

.dg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dg-gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.dg-gallery__item img { width: 100%; }
.dg-gallery__item figcaption { padding: 10px 14px; font-size: .92rem; background: var(--grey-50); }

.dg-gallery__ph {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius);
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 10px;
	text-align: center;
	padding: 20px;
	color: var(--gold);
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px),
		linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
	border: 1px solid var(--grey-200);
}
.dg-gallery__ph p {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: rgba(255, 255, 255, .82);
}
.dg-gallery__note { margin-top: 22px; text-align: center; color: var(--grey-500); }

/* ---------- prose ---------- */

.dg-prose { font-size: 1.06rem; }
.dg-prose--center { max-width: 62ch; margin: 0 auto 40px; text-align: center; }
.dg-prose h2 { font-size: 1.85rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin-top: 1.6em; }
.dg-prose h3 { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; margin-top: 1.4em; }
.dg-prose ul, .dg-prose ol { padding-left: 1.3em; }
.dg-prose li { margin-bottom: .4em; }
.dg-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--gold);
	color: var(--grey-700);
	font-size: 1.1rem;
}
.dg-prose a { color: var(--red); }

.dg-page { padding: clamp(40px, 6vw, 72px) 0; }
.dg-page__title { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 900; font-style: italic; text-transform: uppercase; }
.dg-empty { font-size: 1.1rem; color: var(--grey-500); }

.dg-postlist { display: grid; gap: 18px; }
.dg-postcard { border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 24px; }
.dg-postcard__title { font-size: 1.5rem; font-weight: 700; margin-bottom: .2em; }
.dg-postcard__title a { text-decoration: none; }
.dg-postcard__meta { color: var(--grey-500); font-size: .9rem; margin-bottom: .6em; }
.dg-postcard__text { margin: 0; color: var(--grey-500); }

.dg-search { display: flex; gap: 10px; flex-wrap: wrap; }
.dg-search input {
	flex: 1 1 220px;
	min-height: 46px;
	padding: 10px 14px;
	border: 2px solid var(--grey-200);
	border-radius: 8px;
	font: inherit;
}

/* ---------- forms ---------- */

.dg-quote { scroll-margin-top: 110px; }

.dg-form {
	background: var(--white);
	border: 1px solid var(--grey-200);
	border-top: 5px solid var(--gold);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 4vw, 36px);
	box-shadow: var(--shadow-md);
}

.dg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dg-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.dg-field { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.dg-field--full { grid-column: 1 / -1; }

.dg-field label,
.dg-field legend {
	font-family: var(--font-display);
	font-size: 1.06rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--navy);
}
.dg-req { color: var(--red); }
.dg-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--grey-500); font-size: .9rem; }

.dg-field input,
.dg-field select,
.dg-field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 2px solid var(--grey-200);
	border-radius: 8px;
	background: var(--white);
	font: inherit;
	color: var(--grey-700);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dg-field textarea { min-height: 128px; resize: vertical; }
.dg-field input:hover,
.dg-field select:hover,
.dg-field textarea:hover { border-color: var(--grey-300); }
.dg-field input:focus,
.dg-field select:focus,
.dg-field textarea:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(19, 34, 75, .12);
	outline: none;
}
.dg-field input[aria-invalid="true"],
.dg-field textarea[aria-invalid="true"] { border-color: var(--red); }

.dg-field--radio { border: 0; margin: 0; padding: 0; }
.dg-field--radio legend { padding: 0; margin-bottom: 9px; }
.dg-field--radio label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 20px;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--grey-700);
	min-height: 44px;
	cursor: pointer;
}
.dg-field--radio input { width: 20px; height: 20px; min-height: 0; accent-color: var(--red); }

.dg-form .dg-btn { margin-top: 24px; }
.dg-form__note { margin: 14px 0 0; font-size: .92rem; color: var(--grey-500); }
.dg-form__note a { color: var(--red); font-weight: 600; }

.dg-fielderror { color: var(--red); font-size: .88rem; font-weight: 600; }

.dg-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 20px;
	border-left: 5px solid;
}
.dg-alert p { margin: 0; }
.dg-alert svg { flex: none; margin-top: 3px; }
.dg-alert--success { background: #e8f6ec; border-color: #1a7f37; color: #12551f; }
.dg-alert--success svg { color: #1a7f37; }
.dg-alert--error { background: #fdecec; border-color: var(--red); color: #8c1a1b; }
.dg-alert--error svg { color: var(--red); }

/* ---------- footer ---------- */

.dg-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, .68);
	padding: clamp(44px, 6vw, 72px) 0 24px;
	border-top: 5px solid var(--gold);
	font-size: .97rem;
}
.dg-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 44px);
}
@media (max-width: 900px) {
	.dg-footer__grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}

.dg-footer__tag { margin: 18px 0 14px; color: rgba(255, 255, 255, .78); max-width: 34ch; }
.dg-footer__badge { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.dg-footer__badge svg { color: var(--gold); flex: none; }
.dg-footer__license { color: var(--gold); font-weight: 600; margin: 0 0 12px; }
.dg-footer__social { display: flex; gap: 10px; margin: 16px 0 0; }
.dg-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .08);
	color: var(--white);
}
.dg-footer__social a:hover { background: var(--gold); color: var(--ink); }

.dg-footer__head {
	font-size: 1.16rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--white);
	margin-bottom: .8em;
}
.dg-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dg-footer__list a { color: rgba(255, 255, 255, .72); text-decoration: none; display: inline-block; padding: 6px 0; }
.dg-footer__list a:hover { color: var(--gold); text-decoration: underline; }
.dg-footer__list--icons li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.dg-footer__list--icons svg { color: var(--gold); flex: none; margin-top: 5px; }

.dg-footer__base {
	margin-top: clamp(28px, 4vw, 44px);
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .9rem;
}
.dg-footer__base p { margin: 0; }

/* ---------- mobile sticky bar ---------- */

.dg-sticky { display: none; }

@media (max-width: 780px) {
	:root { --sticky-h: 62px; }

	.dg-sticky {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		background: var(--ink);
		border-top: 2px solid var(--gold);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .25);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.dg-sticky__btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 60px;
		padding: 8px 4px;
		color: var(--white);
		text-decoration: none;
		font-family: var(--font-display);
		font-size: .88rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .04em;
	}
	.dg-sticky__btn + .dg-sticky__btn { border-left: 1px solid rgba(255, 255, 255, .14); }
	.dg-sticky__btn--call { background: var(--red); }
	.dg-sticky__btn--wa { background: #1f7a44; }
	.dg-sticky__btn--quote svg { color: var(--gold); }
	.dg-sticky__btn:active { filter: brightness(.9); }
}

/* ---------- pagination ---------- */

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--grey-200);
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- print ---------- */

@media print {
	.dg-topbar, .dg-header, .dg-sticky, .dg-cta, .dg-form, .dg-navscrim { display: none !important; }
	body { color: #000; padding-bottom: 0; }
	.dg-phero, .dg-hero { background: none !important; color: #000; }
	.dg-phero__title, .dg-hero__title { color: #000; }
}
