:root {
	--dff-navy: #041d2a;
	--dff-navy-soft: #082b3b;
	--dff-blue: #174d62;
	--dff-gold: #d6a334;
	--dff-gold-light: #f0cc73;
	--dff-white: #fff;
	--dff-shell: 1200px;
}

/* Keep the old template in WordPress while replacing its visible output. */
.df-site-footer + .ekit-template-content-footer {
	display: none !important;
}

.df-site-footer,
.df-site-footer * {
	box-sizing: border-box;
}

.df-site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 76px 76px,
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 76px 76px,
		var(--dff-navy);
	color: rgba(255,255,255,.72);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.df-site-footer a { text-decoration: none; }
.df-site-footer svg { display: block; }

.df-footer-shell {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 48px), var(--dff-shell));
	margin-inline: auto;
}

.df-footer-glow {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.df-footer-glow-one {
	top: -360px;
	right: -270px;
	width: 720px;
	height: 720px;
	border: 1px solid rgba(214,163,52,.16);
	box-shadow: 0 0 0 90px rgba(214,163,52,.025), 0 0 0 180px rgba(214,163,52,.018);
}

.df-footer-glow-two {
	bottom: -240px;
	left: -180px;
	width: 480px;
	height: 480px;
	background: rgba(23,77,98,.24);
	filter: blur(90px);
}

.df-footer-cta {
	display: grid;
	grid-template-columns: auto minmax(0, 1.25fr) minmax(300px, .75fr);
	gap: 28px 34px;
	padding: 62px 0 56px;
	border-bottom: 1px solid rgba(255,255,255,.13);
	align-items: center;
}

.df-footer-cta-mark {
	display: grid;
	width: 68px;
	height: 68px;
	border: 1px solid rgba(240,204,115,.4);
	border-radius: 50%;
	place-items: center;
	background: rgba(214,163,52,.08);
	color: var(--dff-gold-light);
}

.df-footer-cta-mark svg {
	width: 31px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.7;
}

.df-footer-cta-copy > p,
.df-footer-label {
	margin: 0;
	color: var(--dff-gold-light);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.df-footer-cta h2 {
	max-width: 670px;
	margin: 9px 0 0;
	color: var(--dff-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 3.4vw, 51px);
	font-weight: 400;
	letter-spacing: -.04em;
	line-height: 1.04;
}

.df-footer-cta-action {
	justify-self: end;
	max-width: 360px;
}

.df-footer-cta-action > p {
	margin: 0 0 19px;
	color: rgba(255,255,255,.66);
	font-size: 14px;
	line-height: 1.7;
}

.df-footer-cta-action > a {
	display: inline-flex;
	min-height: 54px;
	padding: 0 21px;
	border-radius: 6px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: var(--dff-gold);
	box-shadow: 0 18px 38px rgba(0,0,0,.2);
	color: var(--dff-navy);
	font-size: 13px;
	font-weight: 800;
	transition: background .2s ease, transform .2s ease;
}

.df-footer-cta-action > a svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.df-footer-cta-action > a:hover,
.df-footer-cta-action > a:focus-visible {
	background: var(--dff-gold-light);
	color: var(--dff-navy);
	transform: translateY(-2px);
}

.df-footer-main {
	display: grid;
	grid-template-columns: minmax(250px, 1.4fr) minmax(135px, .55fr) minmax(135px, .55fr) minmax(180px, .8fr) minmax(230px, .95fr);
	gap: clamp(34px, 5vw, 64px);
	padding: 66px 0 64px;
}

.df-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	color: var(--dff-white);
	line-height: 1;
}

.df-footer-logo:hover,
.df-footer-logo:focus-visible { color: var(--dff-white); }

.df-footer-logo img {
	display: block;
	width: auto;
	height: 56px;
}

.df-footer-social {
	display: flex;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.df-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 50%;
	transition: background-color .2s ease, border-color .2s ease;
}

.df-footer-social svg {
	width: 16px;
	height: 16px;
	fill: rgba(255,255,255,.78);
}

.df-footer-social a:hover,
.df-footer-social a:focus-visible {
	background-color: var(--dff-gold);
	border-color: var(--dff-gold);
}

.df-footer-social a:hover svg,
.df-footer-social a:focus-visible svg {
	fill: var(--dff-navy);
}

.df-footer-intro {
	max-width: 390px;
	margin: 25px 0 0;
	color: rgba(255,255,255,.64);
	font-size: 14px;
	line-height: 1.75;
}

.df-footer-focus {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 25px;
}

.df-footer-focus span {
	padding: 7px 10px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 100px;
	color: rgba(255,255,255,.74);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .02em;
}

.df-footer-nav ul {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.df-footer-nav li + li { margin-top: 14px; }

.df-footer-contact ul li span {
	display: block;
	color: rgba(255,255,255,.72);
	font-size: 13px;
	line-height: 1.5;
}

.df-footer-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: rgba(255,255,255,.72);
	font-size: 13px;
	line-height: 1.45;
	transition: color .2s ease, transform .2s ease;
}

.df-footer-nav a span {
	color: rgba(240,204,115,.55);
	font-size: 11px;
	opacity: 0;
	transform: translate(-5px, 5px);
	transition: opacity .2s ease, transform .2s ease;
}

.df-footer-nav a:hover,
.df-footer-nav a:focus-visible {
	color: var(--dff-white);
	transform: translateX(3px);
}

.df-footer-nav a:hover span,
.df-footer-nav a:focus-visible span {
	opacity: 1;
	transform: translate(0, 0);
}

.df-footer-portal {
	position: relative;
	padding: 25px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
	box-shadow: 0 24px 48px rgba(0,0,0,.13);
}

.df-footer-lock {
	display: grid;
	width: 39px;
	height: 39px;
	margin-bottom: 20px;
	border-radius: 50%;
	place-items: center;
	background: rgba(214,163,52,.14);
	color: var(--dff-gold-light);
}

.df-footer-lock svg {
	width: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.df-footer-portal h3 {
	margin: 10px 0 0;
	color: var(--dff-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.df-footer-portal > p:not(.df-footer-label) {
	margin: 14px 0 0;
	color: rgba(255,255,255,.58);
	font-size: 12px;
	line-height: 1.65;
}

.df-footer-portal > a {
	display: flex;
	margin-top: 19px;
	padding-top: 17px;
	border-top: 1px solid rgba(255,255,255,.12);
	align-items: center;
	justify-content: space-between;
	color: var(--dff-white);
	font-size: 12px;
	font-weight: 800;
}

.df-footer-portal > a span { color: var(--dff-gold-light); }

.df-footer-portal > a:hover,
.df-footer-portal > a:focus-visible { color: var(--dff-gold-light); }

.df-footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 22px 38px;
	min-height: 82px;
	border-top: 1px solid rgba(255,255,255,.13);
	align-items: center;
	color: rgba(255,255,255,.48);
	font-size: 11px;
}

.df-footer-bottom p { margin: 0; }

.df-footer-bottom nav {
	display: flex;
	gap: 24px;
}

.df-footer-bottom a {
	color: rgba(255,255,255,.56);
	transition: color .2s ease;
}

.df-footer-bottom a:hover,
.df-footer-bottom a:focus-visible { color: var(--dff-white); }

.df-footer-top-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.df-footer-top-link span {
	display: grid;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 50%;
	place-items: center;
	color: var(--dff-gold-light);
}

@media (max-width: 1020px) {
	.df-footer-cta { grid-template-columns: auto 1fr; }

	.df-footer-cta-action {
		grid-column: 2;
		justify-self: start;
		max-width: 520px;
	}

	.df-footer-main { grid-template-columns: minmax(280px, 1.4fr) 1fr 1fr; }

	.df-footer-contact { grid-column: 1 / -1; }

	.df-footer-portal {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: 0 20px;
		align-items: center;
	}

	.df-footer-portal .df-footer-lock {
		grid-row: 1 / 4;
		margin: 0;
	}

	.df-footer-portal .df-footer-label,
	.df-footer-portal h3,
	.df-footer-portal > p:not(.df-footer-label) { grid-column: 2; }

	.df-footer-portal > a {
		grid-column: 3;
		grid-row: 1 / 4;
		margin: 0;
		padding: 13px 0 13px 20px;
		border-top: 0;
		border-left: 1px solid rgba(255,255,255,.12);
		gap: 18px;
	}
}

@media (max-width: 720px) {
	.df-footer-shell { width: min(calc(100% - 36px), var(--dff-shell)); }

	.df-footer-cta {
		grid-template-columns: 1fr;
		padding: 52px 0 46px;
	}

	.df-footer-cta-mark {
		width: 58px;
		height: 58px;
	}

	.df-footer-cta-action { grid-column: auto; }

	.df-footer-main {
		grid-template-columns: 1fr 1fr;
		padding: 52px 0;
	}

	.df-footer-brand,
	.df-footer-contact,
	.df-footer-portal { grid-column: 1 / -1; }

	.df-footer-intro { max-width: 520px; }
	.df-footer-portal { display: block; }
	.df-footer-portal .df-footer-lock { margin-bottom: 20px; }

	.df-footer-portal > a {
		margin-top: 19px;
		padding: 17px 0 0;
		border-top: 1px solid rgba(255,255,255,.12);
		border-left: 0;
	}

	.df-footer-bottom {
		grid-template-columns: 1fr auto;
		padding: 24px 0;
	}

	.df-footer-bottom nav {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.df-footer-top-link {
		grid-column: 2;
		grid-row: 2;
	}
}

@media (max-width: 480px) {
	.df-footer-shell { width: min(calc(100% - 28px), var(--dff-shell)); }
	.df-footer-cta h2 { font-size: 35px; }

	.df-footer-cta-action,
	.df-footer-cta-action > a { width: 100%; }

	.df-footer-main {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.df-footer-brand,
	.df-footer-portal { grid-column: auto; }
	.df-footer-logo > span { font-size: 16px; }

	.df-footer-nav a span {
		opacity: .7;
		transform: none;
	}

	.df-footer-bottom {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.df-footer-bottom nav {
		grid-column: auto;
		grid-row: auto;
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.df-footer-top-link {
		grid-column: auto;
		grid-row: auto;
		justify-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.df-site-footer a { transition: none !important; }
}

/* The homepage already ends with a full consultation CTA; avoid repeating it. */
.dawn-tax-homepage .df-site-footer {
	border-top: 1px solid rgba(255,255,255,.13);
}

.dawn-tax-homepage .df-footer-cta {
	display: none;
}

/* Shared branded header for every public page. */
.dawn-site-footer-enabled .elementor-161 .elementor-element-3a8444a1 {
	display: flex;
	justify-content: flex-start;
}

.df-header-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--dff-navy);
	line-height: 1;
	white-space: nowrap;
}

.df-header-brand:hover,
.df-header-brand:focus-visible { color: var(--dff-navy); }
.df-header-brand svg { width: 43px; height: 43px; flex: 0 0 43px; }

.df-header-brand > span {
	display: flex;
	flex-direction: column;
	color: var(--dff-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.02;
}

.df-header-brand small {
	margin-top: 4px;
	color: #a8750e;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 7px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.df-header-brand > span { font-size: 14px; }
}

@media (max-width: 800px) {
	.dawn-site-footer-enabled .elementor-161 .elementor-element-341b62e2 {
		--flex-wrap: nowrap;
		--flex-wrap-mobile: nowrap;
		--justify-content: space-between;
		width: 100%;
		max-width: 100%;
	}

	.dawn-site-footer-enabled .elementor-161 .elementor-element-28e11ef1,
	.dawn-site-footer-enabled .elementor-161 .elementor-element-dc988fd { display: none; }

	.dawn-site-footer-enabled .elementor-161 .elementor-element-2453aa5c {
		margin-left: auto;
		padding-right: 0;
		padding-left: 0;
	}

	.dawn-site-footer-enabled .elementor-161 .elementskit-menu-hamburger {
		display: flex !important;
		width: 44px;
		height: 44px;
		padding: 11px 10px;
		border: 1px solid #dce5e8 !important;
		border-radius: 6px !important;
		flex-direction: column;
		justify-content: center;
		background: #fff;
	}

	.dawn-site-footer-enabled .elementor-161 .elementskit-menu-hamburger .elementskit-menu-hamburger-icon {
		height: 2px;
		margin-bottom: 5px;
		background: var(--dff-navy) !important;
	}

	.dawn-site-footer-enabled .elementor-161 .elementskit-menu-hamburger .elementskit-menu-hamburger-icon:last-child { margin-bottom: 0; }
	.df-header-brand svg { width: 38px; height: 38px; flex-basis: 38px; }
}
