/* Stride – Enrolment Footer. Fully scoped under .sef (no global selectors). */

.sef {
	--sef-bg: #4a3119;
	--sef-accent: #f5a84f;
	--sef-text: #ecdfcf;
	--sef-text-dim: #d6c7b3;
	--sef-line: rgba(255, 255, 255, 0.15);
	--sef-max: 1232px;
	--sef-gutter: 24px;

	background: var(--sef-bg);
	color: var(--sef-text);
	font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	-webkit-font-smoothing: antialiased;
}

.sef *,
.sef *::before,
.sef *::after { box-sizing: border-box; }

/* (0,1,0) resets so component rules below (e.g. .sef__heading margin) win; theme element rules lose */
.sef :where(p, ul, h2, h3, h4) { margin: 0; padding: 0; }
.sef :where(ul) { list-style: none; }
.sef :where(li) { margin: 0; padding: 0; }

.sef a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}
.sef a:hover,
.sef a:focus-visible { color: var(--sef-accent); }
.sef a:focus-visible { outline: 2px solid var(--sef-accent); outline-offset: 3px; border-radius: 2px; }

.sef__container {
	width: 100%;
	max-width: calc(var(--sef-max) + (var(--sef-gutter) * 2));
	margin: 0 auto;
	padding-left: var(--sef-gutter);
	padding-right: var(--sef-gutter);
}

/* ---------- main grid ---------- */

.sef__main { padding: 60px 0; }

.sef__grid {
	display: grid;
	grid-template-columns: 262px 474px 236px 1fr;
	align-items: start;
}

.sef__col--brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	align-self: center;
}

.sef__logo-link { display: inline-block; line-height: 0; }
.sef__logo { display: block; width: auto; max-width: 200px; height: auto; }

.sef__phone {
	font-size: 14px;
	line-height: 20px;
	color: var(--sef-text);
}

.sef__social { display: flex; gap: 8px; }
.sef__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sef-accent);
	color: var(--sef-bg);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.sef .sef__social-link:hover,
.sef .sef__social-link:focus-visible {
	color: var(--sef-bg);
	background: #fff;
	transform: translateY(-2px);
}

/* ---------- headings + lists ---------- */

.sef__heading {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--sef-accent);
}
.sef .sef__heading-link { color: var(--sef-accent); }
.sef .sef__heading-link:hover,
.sef .sef__heading-link:focus-visible { color: #fff; }

.sef__list li { line-height: 28px; }
.sef__list a { color: var(--sef-text); }
.sef__list a:hover,
.sef__list a:focus-visible { color: var(--sef-accent); }

.sef__list--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}

.sef__group + .sef__group { margin-top: 18px; }

/* ---------- acknowledgement ---------- */

.sef__ack {
	border-top: 1px solid var(--sef-line);
	padding: 28px 0;
}
.sef__ack-text {
	max-width: 960px;
	font-size: 14px;
	line-height: 22px;
	color: var(--sef-text-dim);
}
.sef__ack-text > *:first-child { margin-top: 0; }
.sef__ack-text > *:last-child { margin-bottom: 0; }
.sef__ack-text p { margin: 0 0 10px; }
.sef__ack-text a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- copyright bar ---------- */

.sef__bottom {
	border-top: 1px solid var(--sef-line);
	padding: 20px 0;
	color: var(--sef-text-dim);
}
.sef__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 32px;
}
.sef__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 24px;
	margin-left: auto;
}
.sef__terms a,
.sef__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- tablet + mobile ---------- */

@media (max-width: 1100px) {
	.sef__grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 24px;
		row-gap: 36px;
	}
	.sef__col--brand,
	.sef__col--locations { grid-column: 1 / -1; }
	.sef__col--brand { align-self: start; }
	.sef__list--two { max-width: 520px; }
}

@media (max-width: 767px) {
	.sef { --sef-gutter: 24px; }
	.sef__main { padding: 40px 0; }
	.sef__list--two { max-width: none; column-gap: 24px; }
	.sef__bottom-inner { flex-direction: column; align-items: flex-start; }
	.sef__legal { margin-left: 0; justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 4px; }
}