/**
 * Site footer — template-parts/footer-content.php, GLOBAL (every page,
 * not front-page-gated — see inc/enqueue.php, this file loads in the
 * always-on $assets list alongside header.css).
 *
 * Reused as-is, nothing redefined: color/spacing/type/radius tokens,
 * .container, .badge (payment badges), .visually-hidden, the icon
 * component (get_icon() output). .site-header__brand-link's flex
 * treatment is echoed here (not shared as a class) because the two live
 * in separately-loaded stylesheets — the *markup*
 * (signal_tunnel_brand_mark()) is shared, the CSS class names are not.
 *
 * Visually distinct from the page body: a top border plus
 * --color-bg-alt (the same "alternating section ground" token already
 * used elsewhere for section-to-section contrast) signal "end of page"
 * without introducing a new surface color — sharp-edged shift, no shadow.
 */

.site-footer {
	background: var(--color-bg-alt);
	border-top: 1px solid var(--color-border);
}

.site-footer__top {
	padding-block: var(--space-9);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-8);
}

@media (min-width: 640px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
		gap: var(--space-6);
	}
}

/* ---------------------------------------------------------------
   Brand column
   --------------------------------------------------------------- */

.site-footer__brand-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: inherit;
	text-decoration: none;
	transition: color var(--duration-base) var(--ease-standard);
}

.site-footer__brand-link:hover {
	color: var(--color-accent);
}

.site-footer__brand-name {
	font-family: var(--font-display);
	font-size: var(--fs-lg);
	text-transform: uppercase;
	letter-spacing: var(--ls-eyebrow);
	font-weight: var(--fw-semibold);
	color: var(--color-text);
}

.site-footer__brand-logo-img {
	height: 1.75rem;
	width: auto;
}

.site-footer__brand-description {
	margin-top: var(--space-4);
	max-width: 34ch;
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	line-height: var(--lh-base);
}

/* ---------------------------------------------------------------
   Nav / Legal columns
   --------------------------------------------------------------- */

.site-footer__col-title {
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: var(--ls-eyebrow);
}

.site-footer__nav-list,
.site-footer__legal-list {
	list-style: none;
	padding: 0;
	margin-top: var(--space-4);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.site-footer__nav-list a,
.site-footer__legal-list a {
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	text-decoration: none;
}

.site-footer__nav-list a:hover,
.site-footer__legal-list a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

/* ---------------------------------------------------------------
   Contact column
   --------------------------------------------------------------- */

.site-footer__contact-list {
	list-style: none;
	padding: 0;
	margin-top: var(--space-4);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.site-footer__contact-item {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
}

.site-footer__contact-item .icon {
	flex-shrink: 0;
	color: var(--color-text-faint);
}

.site-footer__contact-item a {
	color: var(--color-text-muted);
	text-decoration: none;
}

.site-footer__contact-item a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

/* ---------------------------------------------------------------
   Bottom bar
   --------------------------------------------------------------- */

.site-footer__bottom {
	border-top: 1px solid var(--color-border);
}

.site-footer__bottom-inner {
	padding-block: var(--space-5);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.site-footer__copyright {
	font-size: var(--fs-xs);
	color: var(--color-text-faint);
}

.site-footer__payment-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

/* Plain text, not brand logos — see footer-content.php's docblock and
   pricing-trust.php's identical rule/reasoning. */
.site-footer__payment-badge {
	font-family: var(--font-body);
	letter-spacing: normal;
}
