/*
 * Site footer — Figma "SAP Footer / Global" (CRH file CPO8VrN83OFQrdnEQ6hRGX,
 * 6338:74694: Desktop 6276:52962, Tablet 6338:74695, Mobile 6338:74822) and
 * its bottom line "Footer / Secure" (28356:53414).
 *
 * Served directly, like block CSS; bin/add-fallbacks.mjs generates the var()
 * fallbacks. Type metrics come from the composite classes in the markup
 * (.text-label-sm, .text-paragraph-sm, .text-paragraph-xs); this file is
 * color and layout only. Side padding is --section-hr-padding, which the
 * token layer already steps down per breakpoint (64 / 32 / 20px).
 */

.site-footer {
	background: var(--background, #ffffff);
	color: var(--muted-foreground, #666666);
}

.site-footer__inner {
	max-width: var(--container-max-width, 1440px);
	margin-inline: auto;
	padding: var(--spacing-10, 40px) var(--section-hr-padding, 64px) var(--spacing-7, 28px);
}

/* Logo wall ------------------------------------------------------------------ */

.site-footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-6, 24px) var(--spacing-8, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Every logo fits the comp's largest box, whatever its proportions. */
.site-footer__logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 112px;
	max-height: 60px;
	object-fit: contain;
}

.site-footer__logo a,
.site-footer__logo a:hover {
	display: block;
	border-bottom-color: transparent;
}

/* Dividers ------------------------------------------------------------------- */

/* Figma: a 1px muted-foreground stroke at 20% opacity, 28px above and below. */
.site-footer__divider {
	height: 0;
	margin: var(--spacing-7, 28px) 0;
	border: 0;
	border-top: var(--border-width-1, 1px) solid var(--muted-foreground, #666666);
	opacity: 0.2;
}

/* Link columns --------------------------------------------------------------- */

.site-footer__columns {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--spacing-6, 24px);
}

.site-footer__column {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-2, 8px);
	min-width: 128px;
}

.site-footer__heading {
	margin: 0;
	padding-bottom: var(--spacing-2, 8px);
	color: var(--foreground, #666666);
}

.site-footer__lines {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-2, 8px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Links read as the surrounding copy; the global link rule adds the hover
   underline in the same color. */
.site-footer__link {
	color: var(--muted-foreground, #666666);
}

/* Disclaimer ----------------------------------------------------------------- */

.site-footer__disclaimer {
	max-width: 600px;
	margin-inline: auto;
	text-align: center;
}

.site-footer__disclaimer p {
	margin: 0;
}

/* The comp separates the two paragraphs with one empty line of the same size. */
.site-footer__disclaimer p + p {
	margin-top: 1.2em;
}

/* Bottom line ---------------------------------------------------------------- */

.site-footer__bottom {
	max-width: var(--container-max-width, 1440px);
	margin-inline: auto;
	padding: var(--spacing-4, 16px) var(--section-hr-padding, 64px);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--spacing-4, 16px);
}

.site-footer__legal p {
	margin: 0;
}

/* Mobile --------------------------------------------------------------------- */

@media (max-width: 767px) {
	.site-footer__logos {
		gap: var(--spacing-6, 24px);
	}

	.site-footer__logo img {
		max-width: 88px;
		max-height: 45px;
	}

	.site-footer__columns {
		flex-direction: column;
	}

	.site-footer__disclaimer {
		max-width: none;
	}
}

/* SFL Productions ---------------------------------------------------------------------
   Live (1440px): #2b2b2b, 42px top padding; the logo 80px tall, inverted to
   white; "South Florida Event Lighting" Open Sans 700 20px white ~10px under
   it; ~30px bottom padding. A slim copyright line closes the page. */

.site-footer--sf { background: var(--sf-dark, #2b2b2b); border-top: 0; color: rgba(255, 255, 255, 0.7); }
.site-footer--sf .site-footer__brand { padding: 42px 5% 30px; text-align: center; }
.site-footer--sf .site-footer__logos { display: flex; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.site-footer--sf .site-footer__logo img { display: block; width: auto; height: 80px; max-width: 100%; max-height: none; filter: brightness(0) invert(1); }
.site-footer--sf .site-footer__logo,
.site-footer--sf .site-footer__logo:hover { border-bottom: 0; }
.site-footer--sf .site-footer__tagline { margin: 12px 0 0; font-family: var(--font-paragraph, "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif); font-weight: 700; font-size: 20px; line-height: 1.3; color: #ffffff; }
.site-footer--sf .site-footer__credit-row { display: flex; justify-content: center; width: 80%; max-width: 1080px; margin-inline: auto; padding: 12px 0 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer--sf .site-footer__legal { justify-content: center; padding: 0; border: 0; font-size: 13px; color: inherit; }
@media (max-width: 767px) {
    .site-footer--sf .site-footer__logo img { height: 64px; }
    .site-footer--sf .site-footer__tagline { font-size: 18px; }
}
