/* Zeus footer — use with [zeus_footer] in Astra footer */

.ast-footer-html .zeus-footer,
.ast-builder-html-element .zeus-footer,
.custom-html-widget .zeus-footer,
.widget_text .zeus-footer {
	margin: 0;
}

.ast-footer-html p:has(.zeus-footer),
.ast-builder-html-element p:has(.zeus-footer),
.widget_text p:has(.zeus-footer) {
	margin: 0;
}

/* Kill WP block theme spacing above the footer shortcode */
:where(.wp-site-blocks) > .zeus-footer,
:where(.wp-site-blocks) > *:has(> .zeus-footer),
:where(.wp-site-blocks) > *:has(.zeus-footer),
.zeus-footer {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.zeus-footer {
	--zeus-navy: #113754;
	--zeus-orange: #F0803C;
	--zeus-ink: #262626;
	--zeus-muted: #848FA5;
	--zeus-cream: #FBFEF9;
	--zeus-white: #ffffff;
	--zeus-font: Inter, InterFallback, sans-serif;
	width: 100%;
	background: transparent;
	color: rgba(251, 254, 249, 0.88);
	font-family: var(--zeus-font);
	-webkit-font-smoothing: antialiased;
}

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

.zeus-footer__cta {
	width: 100%;
	scroll-margin-top: 96px;
	background-color: #f4f1ea;
	background-image:
		linear-gradient(105deg, rgba(244, 241, 234, 0.72) 0%, rgba(244, 241, 234, 0.28) 48%, rgba(244, 241, 234, 0.08) 100%),
		var(--zeus-footer-cta-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.zeus-footer__cta-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	align-items: center;
	gap: 28px 48px;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: 40px 0;
}

.zeus-footer__cta-copy {
	max-width: 34ch;
}

.zeus-footer__cta-kicker {
	margin: 0 0 10px;
	color: var(--zeus-orange);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.zeus-footer__cta-text {
	margin: 0;
	color: var(--zeus-navy);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.zeus-footer__cta-note {
	margin: 14px 0 0;
	max-width: 36ch;
	color: rgba(17, 55, 84, 0.72);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.5;
}

.zeus-footer__consult {
	min-width: 0;
}

.zeus-footer__consult [hidden] {
	display: none !important;
}

.zeus-footer__consult-card {
	padding: 16px;
	border: 1px solid rgba(17, 55, 84, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 14px 36px rgba(17, 55, 84, 0.1);
	backdrop-filter: blur(6px);
}

.zeus-footer__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	align-items: stretch;
}

.zeus-footer__field {
	display: block;
	margin: 0;
	min-width: 0;
}

.zeus-footer__field--topic,
.zeus-footer__field--message {
	grid-column: 1 / -1;
}

.zeus-footer__field input,
.zeus-footer__field select {
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(17, 55, 84, 0.14);
	border-radius: 8px;
	background: var(--zeus-white);
	color: var(--zeus-navy);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.3;
	box-shadow: none;
	appearance: none;
}

.zeus-footer__field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--zeus-navy) 50%),
		linear-gradient(135deg, var(--zeus-navy) 50%, transparent 50%);
	background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 28px;
}

.zeus-footer__field input::placeholder {
	color: rgba(17, 55, 84, 0.45);
}

.zeus-footer__field input:focus,
.zeus-footer__field select:focus {
	outline: none;
	border-color: var(--zeus-orange);
	box-shadow: 0 0 0 3px rgba(240, 128, 60, 0.14);
}

.zeus-footer__form .zeus-footer__cta-btn {
	grid-column: 1 / -1;
	width: 100%;
}

.zeus-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 11px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--zeus-orange);
	color: var(--zeus-white);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		filter 0.25s ease;
}

.zeus-footer__cta-btn:hover,
.zeus-footer__cta-btn:focus {
	color: var(--zeus-white);
	box-shadow: 0 12px 28px rgba(240, 128, 60, 0.3);
	transform: translateY(-1px);
	filter: brightness(0.98);
}

.zeus-footer__cta-btn:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

.zeus-footer__cta-arrow {
	font-size: 1.05em;
	line-height: 1;
	transition: transform 0.25s ease;
}

.zeus-footer__cta-btn:hover .zeus-footer__cta-arrow,
.zeus-footer__cta-btn:focus .zeus-footer__cta-arrow {
	transform: translateX(3px);
}

.zeus-footer__consult-error {
	margin: 0 0 10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(185, 28, 28, 0.1);
	color: #9b1c1c;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
}

.zeus-footer__consult-success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	min-height: 180px;
	padding: 22px 20px;
	border: 1px solid rgba(17, 55, 84, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 14px 36px rgba(17, 55, 84, 0.1);
}

.zeus-footer__consult-success p {
	margin: 0;
	color: var(--zeus-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.zeus-footer__consult-again {
	margin: 0;
	padding: 10px 14px;
	border: 1.5px solid var(--zeus-navy);
	border-radius: 8px;
	background: transparent;
	color: var(--zeus-navy);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.zeus-footer__consult-again:hover,
.zeus-footer__consult-again:focus {
	background: rgba(17, 55, 84, 0.06);
}

.zeus-footer .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.zeus-footer__main {
	background: var(--zeus-navy);
}

.zeus-footer__inner {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.zeus-footer__top {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr 0.95fr 1.15fr;
	gap: 40px 32px;
	padding: 56px 0 44px;
}

.zeus-footer__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: var(--zeus-cream);
	transition: opacity 0.25s ease;
}

.zeus-footer__logo:hover,
.zeus-footer__logo:focus {
	opacity: 0.9;
	color: var(--zeus-cream);
}

.zeus-footer__logo-img {
	display: block;
	width: auto;
	height: 60px;
	object-fit: contain;
}

.zeus-footer__desc {
	margin: 16px 0 0;
	max-width: 30ch;
	font-size: 14px;
	line-height: 1.65;
	color: rgba(251, 254, 249, 0.68);
}

.zeus-footer__heading {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--zeus-cream);
}

.zeus-footer__list,
.zeus-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zeus-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zeus-footer__list a {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(251, 254, 249, 0.7);
	text-decoration: none;
	transition: color 0.25s ease, transform 0.25s ease;
}

.zeus-footer__list a:hover,
.zeus-footer__list a:focus {
	color: var(--zeus-orange);
	transform: translateX(2px);
}

.zeus-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.zeus-footer__contact-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.zeus-footer__label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(251, 254, 249, 0.45);
}

.zeus-footer__value {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	color: rgba(251, 254, 249, 0.82);
	text-decoration: none;
}

a.zeus-footer__value:hover,
a.zeus-footer__value:focus {
	color: var(--zeus-orange);
}

.zeus-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.zeus-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(251, 254, 249, 0.12);
}

.zeus-footer__copy {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(251, 254, 249, 0.5);
}

.zeus-footer__legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.zeus-footer__legal a {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(251, 254, 249, 0.55);
	text-decoration: none;
	transition: color 0.25s ease;
}

.zeus-footer__legal a:hover,
.zeus-footer__legal a:focus {
	color: var(--zeus-orange);
}

@media (max-width: 980px) {
	.zeus-footer__inner,
	.zeus-footer__cta-inner {
		width: min(1180px, calc(100% - 32px));
	}

	.zeus-footer__cta-inner {
		padding: 22px 0;
	}

	.zeus-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 36px 28px;
		padding: 44px 0 36px;
	}

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

	.zeus-footer__desc {
		max-width: 48ch;
	}
}

@media (max-width: 960px) {
	.zeus-footer__cta-inner {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 32px 0;
	}

	.zeus-footer__cta-copy {
		max-width: 42ch;
	}
}

@media (max-width: 560px) {
	.zeus-footer__form {
		grid-template-columns: 1fr;
	}

	.zeus-footer__cta-inner {
		padding: 28px 0;
	}

	.zeus-footer__consult-card {
		padding: 14px;
	}
}

@media (max-width: 560px) {
	.zeus-footer__top {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 0 28px;
		text-align: center;
	}

	.zeus-footer__logo {
		justify-content: center;
	}

	.zeus-footer__logo-img {
		height: 34px;
	}

	.zeus-footer__desc {
		margin-left: auto;
		margin-right: auto;
	}

	.zeus-footer__list,
	.zeus-footer__contact {
		align-items: center;
	}

	.zeus-footer__contact-item {
		align-items: center;
	}

	.zeus-footer__social {
		justify-content: center;
	}

	.zeus-footer__bottom {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 16px 0 20px;
	}

	.zeus-footer__legal {
		justify-content: center;
	}

}

@media (prefers-reduced-motion: reduce) {
	.zeus-footer *,
	.zeus-footer *::before,
	.zeus-footer *::after {
		transition: none !important;
	}
}
