/* ==========================================================================
   Audacia — Custom footer (Architectural Grid — Demo 3)
   Rendered via finbiz-child/inc/footer-html.php, injected before </body>.
   Background: #066166 (user choice), statement hero band + newsletter + CTA,
   4-col body grid with gold dividers and numbered sections, bottom legal bar.
   Motion-first, GPU-only animations, prefers-reduced-motion safe.
   ========================================================================== */

:root {
	--audacia-footer-bg: #066166;
	--audacia-footer-bg-deep: #034a4e;
	--audacia-or: #e5bf21;
	--audacia-or-warm: #f2d24a;
	--audacia-noir: #071c1d;
	--audacia-blanc: #faf8f3;
}

/* ---------- 0. Hide the legacy finbiz <footer> (parent theme wrap) ----------
   finbiz footer.php outputs a <footer> tag wrapping the Elementor template 233.
   Our custom .audacia-footer replaces it entirely, so we hide any footer that
   is not ours plus the finbiz footer-top partials. */
body > footer:not(.audacia-footer),
#page + footer:not(.audacia-footer),
#page footer:not(.audacia-footer) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* ---------- 0.b Seamless footer connection ----------
   Remove default bottom whitespace from finbiz .main-contain / #content /
   #page so the custom footer attaches directly to the last content block,
   with no stray white strip between the page content and the footer. */
#page,
#page .main-contain,
#page .main-contain > .container,
#page .main-contain #content,
#page #content,
body.reactheme-pages-btm-gap #page,
body.reactheme-pages-btm-gap .main-contain #content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.audacia-footer {
	margin-top: 0 !important;
}

/* ---------- 1. Footer shell ---------- */
.audacia-footer {
	background: var(--audacia-footer-bg);
	color: var(--audacia-blanc);
	position: relative;
	overflow: hidden;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	z-index: 5;
}

/* Top gold hairline */
.audacia-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(229, 191, 33, 0.45) 30%,
		rgba(229, 191, 33, 0.65) 50%,
		rgba(229, 191, 33, 0.45) 70%,
		transparent 100%
	);
	z-index: 2;
}

/* ---------- 2. Hero statement band ---------- */
.audacia-footer__hero {
	position: relative;
	padding: 110px 40px 100px;
	border-bottom: 1px solid rgba(250, 248, 243, 0.08);
	background:
		radial-gradient(900px 400px at 88% 0%, rgba(229, 191, 33, 0.12) 0%, transparent 60%),
		radial-gradient(700px 350px at 12% 100%, rgba(229, 191, 33, 0.06) 0%, transparent 60%);
}

.audacia-footer__hero-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 72px;
	align-items: start;
}

.audacia-footer__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--audacia-or);
	margin-bottom: 28px;
}

.audacia-footer__eyebrow::before {
	content: "";
	width: 38px;
	height: 1px;
	background: var(--audacia-or);
}

.audacia-footer__statement {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(46px, 6vw, 96px);
	font-weight: 400;
	font-style: italic;
	line-height: 0.96;
	color: var(--audacia-blanc);
	letter-spacing: -0.025em;
	margin: 0;
	max-width: 820px;
}

.audacia-footer__statement em {
	font-weight: 700;
	color: var(--audacia-or);
	font-style: italic;
	position: relative;
	display: inline-block;
}

.audacia-footer__statement em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8%;
	height: 14px;
	background: rgba(229, 191, 33, 0.18);
	z-index: -1;
	border-radius: 2px;
}

/* ---------- 3. Newsletter + CTA column ---------- */
.audacia-footer__hero-actions {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 18px;
}

.audacia-footer__newsletter {
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(229, 191, 33, 0.22);
	border-radius: 24px;
	padding: 30px 28px;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	position: relative;
	overflow: hidden;
}

.audacia-footer__newsletter::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(229, 191, 33, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.audacia-footer__newsletter-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	font-style: italic;
	color: var(--audacia-blanc);
	line-height: 1.12;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
	position: relative;
}

.audacia-footer__newsletter-title em {
	color: var(--audacia-or);
	font-style: italic;
	font-weight: 700;
}

.audacia-footer__newsletter-desc {
	color: rgba(250, 248, 243, 0.68);
	font-size: 13.5px;
	line-height: 1.65;
	margin: 0 0 18px;
	position: relative;
	font-weight: 400;
}

/* Contact Form 7 shortcode styling overrides.
   CF7 outputs <form class="wpcf7-form">, input.wpcf7-email, button.wpcf7-submit, etc. */
.audacia-footer__newsletter-form .wpcf7 {
	margin: 0;
	position: relative;
}

.audacia-footer__newsletter-form .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.audacia-footer__newsletter-form .wpcf7-form p {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.audacia-footer__newsletter-form .wpcf7-form label {
	display: block;
	width: 100%;
}

.audacia-footer__newsletter-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.audacia-footer__newsletter-form input[type="email"],
.audacia-footer__newsletter-form input[type="text"],
.audacia-footer__newsletter-form .wpcf7-email,
.audacia-footer__newsletter-form .wpcf7-text {
	width: 100%;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: var(--audacia-blanc);
	font-family: inherit;
	font-size: 13.5px;
	outline: none;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.audacia-footer__newsletter-form input::placeholder {
	color: rgba(250, 248, 243, 0.4);
}

.audacia-footer__newsletter-form input:focus {
	border-color: var(--audacia-or);
	background: rgba(255, 255, 255, 0.06);
}

.audacia-footer__newsletter-form input[type="submit"],
.audacia-footer__newsletter-form .wpcf7-submit,
.audacia-footer__newsletter-form button[type="submit"] {
	border: 0;
	background: var(--audacia-or);
	color: var(--audacia-noir);
	padding: 14px 26px;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 800;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	flex: 0 0 auto;
	white-space: nowrap;
	-webkit-appearance: none;
	appearance: none;
}

.audacia-footer__newsletter-form input[type="submit"]:hover,
.audacia-footer__newsletter-form .wpcf7-submit:hover,
.audacia-footer__newsletter-form button[type="submit"]:hover {
	background: var(--audacia-blanc);
	color: var(--audacia-noir);
	transform: translate3d(0, -2px, 0);
}

/* CF7 feedback messages */
.audacia-footer__newsletter-form .wpcf7-response-output {
	margin-top: 14px;
	padding: 12px 16px;
	font-size: 12.5px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.18);
	color: rgba(250, 248, 243, 0.85);
}

.audacia-footer__newsletter-form .wpcf7-not-valid-tip {
	color: var(--audacia-or);
	font-size: 12px;
	margin-top: 6px;
}

/* CTA badge below newsletter */
.audacia-footer__cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 18px 28px;
	background: var(--audacia-or);
	color: var(--audacia-noir);
	border-radius: 999px;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-decoration: none;
	align-self: flex-start;
	box-shadow: 0 0 0 0 rgba(229, 191, 33, 0.3), 0 20px 40px rgba(229, 191, 33, 0.22);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.audacia-footer__cta-badge:hover,
.audacia-footer__cta-badge:focus-visible {
	transform: translate3d(0, -3px, 0);
	box-shadow: 0 0 0 6px rgba(229, 191, 33, 0.14), 0 26px 54px rgba(229, 191, 33, 0.32);
	outline: none;
}

.audacia-footer__cta-arrow {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--audacia-noir);
	color: var(--audacia-or);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.audacia-footer__cta-badge:hover .audacia-footer__cta-arrow {
	transform: rotate(-45deg);
}

/* ---------- 4. Grid body ---------- */
.audacia-footer__body {
	padding: 90px 40px 70px;
	max-width: 1440px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.55fr 1fr 1.25fr 1.15fr;
	gap: 60px;
	position: relative;
}

.audacia-footer__col {
	position: relative;
}

.audacia-footer__col + .audacia-footer__col::before {
	content: "";
	position: absolute;
	left: -30px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(180deg, rgba(229, 191, 33, 0.35) 0%, rgba(229, 191, 33, 0) 100%);
}

.audacia-footer__col-index {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: var(--audacia-or);
	display: block;
	margin-bottom: 8px;
}

.audacia-footer__col h4 {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--audacia-blanc);
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(250, 248, 243, 0.12);
}

/* Brand col */
.audacia-footer__col--brand .audacia-footer__col-logo {
	max-width: 220px;
	height: auto;
	margin-bottom: 22px;
	display: block;
}

.audacia-footer__col--brand p {
	color: rgba(250, 248, 243, 0.7);
	font-size: 14.5px;
	line-height: 1.75;
	max-width: 330px;
	margin: 0 0 26px;
}

.audacia-footer__locations {
	display: flex;
	gap: 18px;
	font-size: 13px;
	color: rgba(250, 248, 243, 0.55);
	font-weight: 500;
}

.audacia-footer__locations span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.audacia-footer__locations span::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--audacia-or);
	display: inline-block;
}

/* Nav col */
.audacia-footer__nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.audacia-footer__nav li a {
	color: rgba(250, 248, 243, 0.82);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color 0.3s ease;
	position: relative;
}

.audacia-footer__nav li a::before {
	content: "";
	width: 0;
	height: 1px;
	background: var(--audacia-or);
	transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.audacia-footer__nav li a:hover,
.audacia-footer__nav li a:focus-visible {
	color: var(--audacia-or);
	outline: none;
}

.audacia-footer__nav li a:hover::before,
.audacia-footer__nav li a:focus-visible::before {
	width: 18px;
}

/* Contact col */
.audacia-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.audacia-footer__contact-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.audacia-footer__contact-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(229, 191, 33, 0.1);
	border: 1px solid rgba(229, 191, 33, 0.22);
	color: var(--audacia-or);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.audacia-footer__contact-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.audacia-footer__contact-label {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(229, 191, 33, 0.82);
}

.audacia-footer__contact-value,
.audacia-footer__contact-value a {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--audacia-blanc);
	text-decoration: none;
	word-break: break-word;
	transition: color 0.25s ease;
}

.audacia-footer__contact-value a:hover {
	color: var(--audacia-or);
}

/* Socials col */
.audacia-footer__social-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.audacia-footer__social-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(229, 191, 33, 0.16);
	border-radius: 14px;
	color: var(--audacia-blanc);
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 600;
	transition: background 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		color 0.3s ease,
		transform 0.3s ease,
		border-color 0.3s ease;
}

.audacia-footer__social-card svg {
	width: 16px;
	height: 16px;
	color: var(--audacia-or);
	flex-shrink: 0;
	transition: color 0.3s ease;
}

.audacia-footer__social-card:hover,
.audacia-footer__social-card:focus-visible {
	background: var(--audacia-or);
	color: var(--audacia-noir);
	border-color: var(--audacia-or);
	transform: translate3d(0, -2px, 0);
	outline: none;
}

.audacia-footer__social-card:hover svg,
.audacia-footer__social-card:focus-visible svg {
	color: var(--audacia-noir);
}

/* ---------- 5. Bottom bar ---------- */
.audacia-footer__bottom {
	border-top: 1px solid rgba(250, 248, 243, 0.08);
}

.audacia-footer__bottom-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: rgba(250, 248, 243, 0.52);
}

.audacia-footer__legal {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.audacia-footer__legal a {
	color: rgba(250, 248, 243, 0.65);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.25s ease;
}

.audacia-footer__legal a:hover,
.audacia-footer__legal a:focus-visible {
	color: var(--audacia-or);
	outline: none;
}

.audacia-footer__credit a {
	color: var(--audacia-or);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(229, 191, 33, 0.4);
	padding-bottom: 1px;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.audacia-footer__credit a:hover,
.audacia-footer__credit a:focus-visible {
	color: var(--audacia-or-warm);
	border-bottom-color: var(--audacia-or);
	outline: none;
}

/* ---------- 6. Responsive ---------- */
@media (max-width: 1180px) {
	.audacia-footer__body {
		grid-template-columns: 1fr 1fr;
		gap: 56px 48px;
	}
	.audacia-footer__col + .audacia-footer__col::before {
		display: none;
	}
}

@media (max-width: 1024px) {
	.audacia-footer__hero-inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}
	.audacia-footer__hero {
		padding: 80px 32px 80px;
	}
	.audacia-footer__newsletter {
		padding: 26px 22px;
	}
}

@media (max-width: 720px) {
	.audacia-footer__hero {
		padding: 60px 22px 60px;
	}
	.audacia-footer__body {
		grid-template-columns: 1fr;
		padding: 60px 22px 50px;
		gap: 48px;
	}
	.audacia-footer__statement {
		font-size: clamp(38px, 9vw, 60px);
	}
	.audacia-footer__newsletter-title {
		font-size: 24px;
	}
	.audacia-footer__social-grid {
		grid-template-columns: 1fr;
	}
	.audacia-footer__bottom-inner {
		padding: 24px 22px;
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.audacia-footer__cta-badge {
		padding: 15px 22px;
		font-size: 13px;
	}
	.audacia-footer__newsletter-form .wpcf7-form {
		flex-direction: column;
	}
	.audacia-footer__newsletter-form input[type="submit"],
	.audacia-footer__newsletter-form .wpcf7-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.audacia-footer__cta-badge,
	.audacia-footer__cta-arrow,
	.audacia-footer__social-card,
	.audacia-footer__nav li a::before {
		transition: none;
	}
	.audacia-footer__cta-badge:hover,
	.audacia-footer__social-card:hover {
		transform: none;
	}
}
