/* GPDM native responsive footer — v2.0.0 */
:root {
	--gpdm-footer-ink: var(--gpdm-header-ink, #111827);
	--gpdm-footer-accent: var(--gpdm-header-accent, #e11d2e);
	--gpdm-footer-navy: var(--gpdm-header-topbar, #0b1626);
	--gpdm-footer-surface: #f5f7fa;
	--gpdm-footer-border: #dbe2ea;
	--gpdm-footer-muted: #5f6f84;
	--gpdm-footer-max: 1320px;
}

/* Retire the old Astra/Elementor footer without affecting the native footer. */
body.gpdm-native-footer-enabled #colophon:not(#gpdm-native-footer),
body.gpdm-native-footer-enabled .site-footer:not(.gpdm-site-footer),
body.gpdm-native-footer-enabled .elementor-location-footer,
body.gpdm-native-footer-enabled footer[data-elementor-type="footer"],
body.gpdm-native-footer-enabled .hfe-footer,
body.gpdm-native-footer-enabled .ast-footer-overlay,
body.gpdm-native-footer-enabled .footer-adv-overlay {
	display: none !important;
}

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

.gpdm-site-footer {
	position: relative;
	z-index: 10;
	width: 100%;
	margin: 0;
	font-family: inherit;
}

.gpdm-footer-container {
	width: min(calc(100% - 40px), var(--gpdm-footer-max));
	margin-inline: auto;
}

.gpdm-footer-briefing {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 20%, rgba(225,29,46,.22), transparent 28%),
		linear-gradient(135deg, #0b1626 0%, #152843 100%);
	color: #fff;
}

.gpdm-footer-briefing::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: var(--gpdm-footer-accent);
	content: "";
}

.gpdm-footer-briefing__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 48px;
	padding-block: 54px;
}

.gpdm-footer-eyebrow {
	margin: 0 0 10px;
	color: #ff8b96;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.gpdm-footer-briefing h2 {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 760;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.gpdm-footer-briefing__copy > p:last-child {
	max-width: 720px;
	margin: 16px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 16px;
	line-height: 1.6;
}

.gpdm-footer-briefing__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 210px;
}

.gpdm-footer-subscribe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 27px;
	border: 0;
	border-radius: 999px;
	background: var(--gpdm-footer-accent);
	box-shadow: 0 10px 28px rgba(225,29,46,.28);
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1;
	text-decoration: none !important;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.gpdm-footer-subscribe:hover,
.gpdm-footer-subscribe:focus-visible {
	background: #c91526;
	box-shadow: 0 14px 34px rgba(225,29,46,.36);
	color: #fff !important;
	transform: translateY(-2px);
}

.gpdm-footer-briefing__action span {
	color: rgba(255,255,255,.58);
	font-size: 12px;
	line-height: 1.4;
}

.gpdm-footer-main {
	border-top: 1px solid rgba(15,23,42,.06);
	background: var(--gpdm-footer-surface);
	color: var(--gpdm-footer-ink);
}

.gpdm-footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, .75fr));
	gap: clamp(34px, 5vw, 78px);
	padding-block: 62px 58px;
}

.gpdm-footer-brand-column {
	max-width: 360px;
}

.gpdm-footer-brand {
	display: inline-flex;
	align-items: baseline;
	margin-bottom: 20px;
	font-size: clamp(32px, 3vw, 42px);
	font-weight: 650;
	letter-spacing: -.065em;
	line-height: 1;
	text-decoration: none !important;
}

.gpdm-footer-brand__dark {
	color: var(--gpdm-footer-ink);
}

.gpdm-footer-brand__accent {
	color: var(--gpdm-footer-accent);
}

.gpdm-footer-description {
	margin: 0;
	color: var(--gpdm-footer-muted);
	font-size: 15px;
	line-height: 1.7;
}

.gpdm-footer-socials {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
}

.gpdm-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--gpdm-footer-border);
	border-radius: 50%;
	background: #fff;
	color: var(--gpdm-footer-ink);
	text-decoration: none !important;
	transition: border-color .18s ease, color .18s ease, transform .18s ease, background .18s ease;
}

.gpdm-footer-socials a:hover,
.gpdm-footer-socials a:focus-visible {
	border-color: var(--gpdm-footer-accent);
	background: var(--gpdm-footer-accent);
	color: #fff;
	transform: translateY(-2px);
}

.gpdm-footer-socials svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.gpdm-footer-links h2 {
	margin: 4px 0 18px;
	color: var(--gpdm-footer-ink);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

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

.gpdm-footer-links li + li {
	margin-top: 12px;
}

.gpdm-footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--gpdm-footer-muted);
	font-size: 14px;
	font-weight: 560;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color .18s ease, transform .18s ease;
}

.gpdm-footer-links a span {
	color: var(--gpdm-footer-accent);
	opacity: 0;
	transform: translateX(-5px);
	transition: opacity .18s ease, transform .18s ease;
}

.gpdm-footer-links a:hover,
.gpdm-footer-links a:focus-visible {
	color: var(--gpdm-footer-ink);
	transform: translateX(2px);
}

.gpdm-footer-links a:hover span,
.gpdm-footer-links a:focus-visible span {
	opacity: 1;
	transform: translateX(0);
}

.gpdm-footer-bottom {
	background: var(--gpdm-footer-navy);
	color: rgba(255,255,255,.72);
}

.gpdm-footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 72px;
}

.gpdm-footer-bottom p {
	margin: 0;
	font-size: 13px;
	letter-spacing: .02em;
	line-height: 1.5;
}

.gpdm-footer-bottom p span {
	margin-inline: 8px;
	color: rgba(255,255,255,.36);
}

.gpdm-footer-back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: rgba(255,255,255,.82);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: color .18s ease;
}

.gpdm-footer-back-to-top:hover,
.gpdm-footer-back-to-top:focus-visible {
	color: #fff;
}

.gpdm-footer-back-to-top svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

html[data-gpdm-theme="dark"] {
	--gpdm-footer-surface: #111827;
	--gpdm-footer-border: #2c3b50;
	--gpdm-footer-muted: #a8b3c3;
}

html[data-gpdm-theme="dark"] .gpdm-footer-main {
	border-top-color: rgba(255,255,255,.08);
}

html[data-gpdm-theme="dark"] .gpdm-footer-brand__dark,
html[data-gpdm-theme="dark"] .gpdm-footer-links h2,
html[data-gpdm-theme="dark"] .gpdm-footer-links a:hover,
html[data-gpdm-theme="dark"] .gpdm-footer-links a:focus-visible {
	color: #f8fafc;
}

html[data-gpdm-theme="dark"] .gpdm-footer-socials a {
	background: #172235;
	color: #f8fafc;
}

@media (max-width: 1020px) {
	.gpdm-footer-grid {
		grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(160px, 1fr));
	}

	.gpdm-footer-links:last-child {
		grid-column: 2 / -1;
	}
}

@media (max-width: 780px) {
	.gpdm-footer-container {
		width: min(calc(100% - 32px), var(--gpdm-footer-max));
	}

	.gpdm-footer-briefing__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 42px;
	}

	.gpdm-footer-briefing__action {
		min-width: 0;
	}

	.gpdm-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px 28px;
		padding-block: 48px 44px;
	}

	.gpdm-footer-brand-column {
		grid-column: 1 / -1;
		max-width: 560px;
	}

	.gpdm-footer-links:last-child {
		grid-column: auto;
	}
}

@media (max-width: 540px) {
	.gpdm-footer-container {
		width: min(calc(100% - 28px), var(--gpdm-footer-max));
	}

	.gpdm-footer-briefing h2 {
		font-size: 30px;
	}

	.gpdm-footer-briefing__copy > p:last-child {
		font-size: 14px;
	}

	.gpdm-footer-subscribe {
		width: 100%;
	}

	.gpdm-footer-briefing__action {
		width: 100%;
	}

	.gpdm-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 20px;
		padding-block: 42px 38px;
	}

	.gpdm-footer-brand {
		font-size: 34px;
	}

	.gpdm-footer-description {
		font-size: 14px;
	}

	.gpdm-footer-links h2 {
		font-size: 12px;
	}

	.gpdm-footer-links a {
		font-size: 13px;
	}

	.gpdm-footer-bottom__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		padding-block: 20px;
	}

	.gpdm-footer-bottom p {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpdm-footer-subscribe,
	.gpdm-footer-socials a,
	.gpdm-footer-links a,
	.gpdm-footer-links a span {
		transition: none;
	}
}
