/**
 * Signal Pack Global Components — Global Footer
 * Uses existing brand CSS variables with safe fallbacks (see mega-menu.css note).
 */

.spgc-footer {
	background: var(--navy, #2C2A78);
	color: #fff;
	padding: 56px 32px 24px;
}

/* Screen-reader-only label (was missing — caused the "Email address"
   label to render as large visible text instead of being hidden). */
.spgc-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;
}

.spgc-footer-grid {
	max-width: 1340px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.1fr;
	gap: 32px;
}

.spgc-footer-logo {
	height: 40px;
	margin-bottom: 14px;
	filter: brightness(0) invert(1);
}
.spgc-footer-logo-fallback {
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 14px;
}

.spgc-footer-tagline {
	font-weight: 700;
	font-size: 13px;
	color: var(--yellow, #F5C518);
	margin: 0 0 10px;
}

.spgc-footer-desc {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	max-width: 270px;
	margin: 0 0 16px;
}

.spgc-footer-social {
	display: flex;
	gap: 10px;
}
.spgc-footer-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.spgc-footer-social a:hover,
.spgc-footer-social a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}
.spgc-footer-social svg {
	width: 15px;
	height: 15px;
	fill: #fff;
}

.spgc-footer-col h4 {
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--yellow, #F5C518);
	margin: 0 0 16px;
}
.spgc-footer-heading-spaced {
	margin-top: 20px !important;
}

.spgc-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.spgc-footer-links a {
	display: block;
	font-size: 13.5px;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.15s ease;
}
.spgc-footer-links a:hover,
.spgc-footer-links a:focus-visible {
	color: var(--yellow, #F5C518);
}

.spgc-footer-contact {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.9;
	margin-top: 16px;
}

.spgc-newsletter-form {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}
.spgc-newsletter-form input[type="email"] {
	flex: 1;
	height: 42px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	padding: 0 14px;
	font-size: 13.5px;
}
.spgc-newsletter-form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.55);
}
.spgc-newsletter-form input[type="email"]:focus-visible {
	outline: 2px solid var(--yellow, #F5C518);
	outline-offset: 2px;
}
.spgc-newsletter-form button {
	background: var(--red, #E31E2A);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0 18px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.spgc-newsletter-form button:hover,
.spgc-newsletter-form button:focus-visible {
	background: #c8151f;
}
.spgc-newsletter-consent {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.5;
	margin: 0;
}
.spgc-newsletter-msg {
	font-size: 12.5px;
	margin-top: 8px;
	min-height: 1em;
}
.spgc-newsletter-msg.is-success { color: #7be3ac; }
.spgc-newsletter-msg.is-error { color: #ff9a9a; }

.spgc-footer-legal {
	max-width: 1340px;
	margin: 36px auto 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
}
.spgc-footer-legal-links {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.spgc-footer-legal-links a {
	color: inherit;
	text-decoration: none;
}
.spgc-footer-legal-links a:hover,
.spgc-footer-legal-links a:focus-visible {
	color: var(--yellow, #F5C518);
}
.spgc-footer-payments {
	display: flex;
	gap: 8px;
}
.spgc-footer-payments span {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 10.5px;
}

@media (max-width: 1080px) {
	.spgc-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
	.spgc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.spgc-footer-grid { grid-template-columns: 1fr; }
	.spgc-footer-legal { flex-direction: column; align-items: flex-start; }
}
