/* ════════════════════════════════════════════════════════════════════════
   Footer  —  Figma-aligned

   Three regions:
     1. .an-cta-band       — "Grow Your Notary Practice" conversion panel
     2. .an-footer         — brand + 3 nav columns
     3. .an-footer__bottom — legal / copyright bar
   ════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. CTA band
   ───────────────────────────────────────────────────────────── */

.an-cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	/* Sharp full-bleed notary image with a soft dark tint on top for
	   text legibility. The blur/glass effect lives on the feature cards,
	   not on the image itself. */
	background:
		linear-gradient(
			90deg,
			rgba(40, 40, 40, 0.75) 0%,
			rgba(40, 40, 40, 0.60) 45%,
			rgba(40, 40, 40, 0.42) 100%
		),
		url('/wp-content/uploads/2026/04/2aa020dd4ff1d69a579a085adc2330d1374e413c.png')
			center / cover no-repeat,
		#282828;
	color: #FFFFFF;
}

.an-cta-band__inner {
	position: relative;
	z-index: 1;
	max-width: var(--an-container-max);
	margin: 0 auto;
	padding: 56px var(--an-container-pad);
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: 64px;
}

.an-cta-band__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.an-cta-band__eyebrow {
	display: inline-block;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 10px;
}

.an-cta-band__title {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 14px;
	max-width: 560px;
}

.an-cta-band__subtitle {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 24px;
	max-width: 520px;
}

.an-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Outline button inside the dark band — subtle white border, transparent fill. */
.an-cta-band .an-btn--outline {
	border-color: rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #FFFFFF;
}
.an-cta-band .an-btn--outline:hover {
	border-color: #FFFFFF;
	background: rgba(255, 255, 255, 0.10);
}

/* Feature cards on the right side of the CTA band */
.an-cta-band__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-self: end;
	width: 100%;
	max-width: 360px;
}

.an-cta-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: rgba(40, 40, 40, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.an-cta-feature__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;          /* rounded square, not circle */
	background: #E11D2E;
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(225, 29, 46, 0.35);
}
.an-cta-feature__icon svg {
	width: 18px;
	height: 18px;
}

.an-cta-feature__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.an-cta-feature__title {
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	line-height: 1.3;
}

.an-cta-feature__desc {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.62);
	line-height: 1.4;
}

/* ── CTA band responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
	/* Heavier top-to-bottom tint so stacked content stays readable on
	   top of the image. */
	.an-cta-band {
		background:
			linear-gradient(
				180deg,
				rgba(40, 40, 40, 0.82) 0%,
				rgba(40, 40, 40, 0.70) 100%
			),
			url('/wp-content/uploads/2026/04/2aa020dd4ff1d69a579a085adc2330d1374e413c.png')
				center / cover no-repeat,
			#282828;
	}
	.an-cta-band__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 56px var(--an-container-pad-md);
	}
	.an-cta-band__features {
		justify-self: stretch;
		max-width: none;
	}
}

@media (max-width: 1024px) {
	/* Features column stretches full-width once the grid stacks. */
	.an-cta-band__features {
		justify-self: stretch;
		max-width: none;
	}
}

@media (max-width: 640px) {
	.an-cta-band {
		margin-top: 48px;
	}
	.an-cta-band__inner {
		padding: 40px var(--an-container-pad-sm);
		gap: 24px;
	}
	.an-cta-band__eyebrow { font-size: 11px; letter-spacing: 0.16em; }
	.an-cta-band__title {
		font-size: 26px;
		line-height: 1.2;
		max-width: none;
	}
	.an-cta-band__subtitle {
		font-size: 13.5px;
		max-width: none;
	}
	.an-cta-band__subtitle br { display: none; }
	.an-cta-band__actions {
		flex-direction: column;
		width: 100%;
	}
	.an-cta-band__actions .an-btn {
		flex: 1 1 100%;
		justify-content: center;
		width: 100%;
	}
	.an-cta-band__features {
		gap: 10px;
	}
	.an-cta-feature {
		padding: 12px 14px;
	}
	.an-cta-feature__icon {
		width: 36px;
		height: 36px;
	}
	.an-cta-feature__title { font-size: 13.5px; }
	.an-cta-feature__desc  { font-size: 11.5px; }
}

/* ─────────────────────────────────────────────────────────────
   2. Main footer
   ───────────────────────────────────────────────────────────── */

.an-footer {
	background: var(--an-header-bg);    /* #282828 — matches header */
	color: #FFFFFF;
	margin-top: 0;                      /* CTA band handles spacing above */
}

.an-footer__inner {
	max-width: var(--an-container-max);
	margin: 0 auto;
	padding: 72px var(--an-container-pad) 48px;
	display: grid;
	grid-template-columns: 1.3fr 3fr;
	gap: 80px;
}

@media (max-width: 1024px) {
	.an-footer__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 56px var(--an-container-pad-md) 36px;
	}
}
@media (max-width: 640px) {
	.an-footer__inner {
		gap: 36px;
		padding: 44px var(--an-container-pad-sm) 32px;
	}
	.an-footer__brand  { max-width: none; }
	.an-footer__tagline { margin-bottom: 20px; }
	.an-footer__tagline br { display: none; }
	.an-logo--footer .an-logo__main,
	.an-logo--footer .an-logo__sub { font-size: 20px; }
	.an-footer__heading { font-size: 11.5px; margin-bottom: 14px; }
	.an-footer-nav { gap: 10px; }
	.an-footer-nav a { font-size: 13.5px; }
}

/* ── Brand column ──────────────────────────────────────────── */
.an-footer__brand {
	max-width: 340px;
}

.an-logo--footer {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 18px;
	text-decoration: none;
	color: #FFFFFF;
}
.an-logo--footer .an-logo__main {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #FFFFFF;
}
.an-logo--footer .an-logo__sub {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #E11D2E;
}

.an-footer__tagline {
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.66);
	margin: 0 0 24px;
}

.an-footer__social {
	display: flex;
	gap: 10px;
}

.an-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.06);
	color: #FFFFFF;
	border-radius: 50%;
	text-decoration: none;
	transition: background-color var(--an-trans-base), transform var(--an-trans-fast);
}
.an-social:hover {
	background: #E11D2E;
	color: #FFFFFF;
	transform: translateY(-1px);
}
.an-social svg {
	width: 15px;
	height: 15px;
}

/* ── Nav columns ──────────────────────────────────────────── */
.an-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

@media (max-width: 640px) {
	.an-footer__columns {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.an-footer__col { min-width: 0; }

.an-footer__heading {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #FFFFFF;
	margin: 0 0 18px;
}

.an-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.an-footer-nav li { margin: 0; }
.an-footer-nav a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
	transition: color var(--an-trans-base), transform var(--an-trans-fast);
}
.an-footer-nav a:hover {
	color: #FFFFFF;
	transform: translateX(2px);
}

/* ─────────────────────────────────────────────────────────────
   3. Legal / copyright bar
   ───────────────────────────────────────────────────────────── */

.an-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.an-footer__bottom-inner {
	max-width: var(--an-container-max);
	margin: 0 auto;
	padding: 22px var(--an-container-pad);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

@media (max-width: 1024px) {
	.an-footer__bottom-inner {
		padding: 22px var(--an-container-pad-md);
	}
}
@media (max-width: 640px) {
	.an-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		padding: 18px var(--an-container-pad-sm);
		gap: 12px;
	}
	.an-footer__copy   { font-size: 12px; }
	.an-footer-legal   { gap: 14px; }
	.an-footer-legal a { font-size: 12px; }
}

.an-footer__copy {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.4;
}

.an-footer-legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.an-footer-legal li { margin: 0; }
.an-footer-legal a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	text-decoration: none;
	transition: color var(--an-trans-base);
}
.an-footer-legal a:hover { color: #FFFFFF; }
