/* ==========================================================================
   Site footer (template-parts/footer/site-footer.php) — loaded on every page.
   Figma: Website › footer component (instance 1518:3613).
   ========================================================================== */

/* Outer gutter as padding, not margin: the theme pins body to 100% height, so a bottom margin
   on the last element falls outside the scrollable area and the 8px gap under the card vanished. */
.site-footer-wrap { padding: 0 8px 8px; clear: both; }

.site-footer {
	cursor: default; /* arrow over static copy; links keep the pointer */
	--footer-bg: #fff;
	--footer-text: #22252a;
	--footer-text-secondary: #606772;
	--footer-text-tertiary: #9aa3ac;
	--footer-link-hover: #007bff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 80px 56px 48px; /* side padding puts the content (logo) on the header logo's line: 8 + 56 = header's 64 */
	border-radius: 16px;
	background: var(--footer-bg);
	color: var(--footer-text);
	font-family: 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	text-align: left;
	clear: both;
}
.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }

.site-footer__content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
	width: 100%;
	max-width: 1152px;
}

/* ---------- contact column ---------- */
.site-footer__contact { display: flex; flex-direction: column; gap: 18px; flex: none; width: 224px; }
.site-footer__logo { display: block; width: 153px; height: 24px; line-height: 0; } /* = header logo */
.site-footer__logo img { display: block; width: 153px; height: 24px; }
.site-footer__info { display: flex; flex-direction: column; gap: 16px; }

.site-footer__office {
	margin: 0;
	color: var(--footer-text-secondary);
	font-size: 14px;
	font-style: normal;
	line-height: 18px;
}
.site-footer__office strong,
.site-footer__office b {
	display: block;
	margin-bottom: 4px;
	color: var(--footer-text);
	font-family: 'SuisseIntl-Medium', Helvetica, Arial, sans-serif;
	font-weight: 500;
	letter-spacing: -0.14px;
}
.site-footer__office strong + br,
.site-footer__office b + br { display: none; }

.site-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer__social li { margin: 0; padding: 0; }
.site-footer__social a { /* kit primary button: #007bff, hover #0062eb (light theme), same timing */
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #007bff;
	transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer__social a:hover,
.site-footer__social a:focus-visible { background-color: #0062eb; }
.site-footer__social img { display: block; width: 30px; height: 30px; }
.site-footer__social .site-footer__social-glyph { position: absolute; }
.site-footer__social img.site-footer__social-glyph--discord { left: 6px; top: 8.1px; width: 18px; height: 13.78px; }
.site-footer__social img.site-footer__social-glyph--youtube { left: 5.52px; top: 7.92px; width: 20px; height: 14.15px; }

.site-footer__certs p { margin: 0 0 4px; color: var(--footer-text-secondary); font-size: 14px; line-height: 18px; }
.site-footer__certs a { display: flex; gap: 8px; width: max-content; }
.site-footer__certs img { display: block; width: 64px; height: 64px; }

/* ---------- link columns (Compare + footer_widgets sidebar) ---------- */
.site-footer__nav { display: flex; align-items: flex-start; gap: 24px; flex: 0 1 868px; min-width: 0; }
.site-footer__nav .footer__menus-widget { flex: 1 1 0; min-width: 0; width: auto !important; margin: 0; padding: 0; float: none; }
.site-footer__nav .site-footer__compare { flex: 0 0 auto; margin-right: 32px; } /* its longest line fills it: 32px more air so the gap to Platform matches the other columns; the nav grows by the same 32px, so only Compare moves (left) */
.site-footer__nav .footer__widget-title {
	margin: 0 0 16px;
	padding: 0;
	color: var(--footer-text);
	/* DS Text/Caption S: Suisse Book 450, 14/18, -1% */
	font-family: 'SuisseIntl-Book', 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	font-weight: 450;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.14px;
	text-transform: none;
}
.site-footer__nav ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav li { margin: 0; padding: 0; font-size: 14px; line-height: 18px; }
.site-footer__nav li::before { display: none; }
.site-footer__nav a {
	color: var(--footer-text-secondary);
	font-family: 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	text-decoration: none;
	transition: color 0.15s;
	cursor: pointer;
}
.site-footer__nav a:hover { color: var(--footer-link-hover); text-decoration: none; }
.site-footer a:focus-visible { outline: 2px solid #8fc5ff; outline-offset: 3px; border-radius: 2px; }

.site-footer__copyright {
	margin: 0;
	color: var(--footer-text-tertiary);
	font-family: 'SuisseIntl-Book', 'SuisseIntl-Regular', Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.14px;
	text-align: center;
}

/* ---------- tablet ---------- */
@media (max-width: 1240px) {
	.site-footer { padding-left: 16px; padding-right: 16px; } /* header wrapper drops to 24px here: 8 + 16 */
}

@media (max-width: 1100px) {
	.site-footer { padding: 64px 16px 40px; }
	.site-footer__content { flex-direction: column; gap: 48px; }
	.site-footer__contact { width: 100%; }
	.site-footer__info { flex-direction: row; flex-wrap: wrap; gap: 24px 48px; }
	.site-footer__nav { flex: none; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
	.site-footer__nav .site-footer__compare { margin-right: 0; }
}

/* ---------- mobile ---------- */
@media (max-width: 600px) {
	.site-footer-wrap { padding: 0 4px 4px; }
	.site-footer { padding: 48px 20px 32px; border-radius: 12px; gap: 24px; }
	.site-footer__content { gap: 40px; }
	.site-footer__info { flex-direction: column; gap: 16px; }
	.site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	.site-footer__nav .site-footer__compare { grid-column: 1 / -1; }
	.site-footer__nav ul { gap: 12px; }
}
