/* Standards FM — site footer. -------------------------------------------------- */

.site-footer {
	border-top: 0;
}

.sfm-footer {
	--f-nav-1: #03103c;
	--f-nav-2: #000d37;
	--f-line: rgba(255, 255, 255, 0.28);
	background: linear-gradient(135deg, var(--f-nav-1) 0%, var(--f-nav-2) 100%);
	color: #fff;
	border-top: 5px solid var(--sfm-green);
	direction: ltr;
	text-align: left;
}

.sfm-footer__inner {
	max-width: var(--sfm-container);
	margin: 0 auto;
	padding: 52px 24px 0;
}

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

.sfm-footer__logo {
	display: inline-block;
	margin-bottom: 48px;
}

.sfm-footer__logo img {
	display: block;
	width: 200px;
	height: auto;
}

/* Columns ------------------------------------------------------------------- */

.sfm-footer__cols {
	display: grid;
	grid-template-columns: 344px 192px 344px 192px;
	justify-content: space-between;
}

.sfm-footer__col {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 0 24px;
}

.sfm-footer__col:first-child {
	padding-left: 0;
}

.sfm-footer__col:last-child {
	padding-right: 0;
}

.sfm-footer__col + .sfm-footer__col::before {
	content: "";
	position: absolute;
	left: 0;
	top: 40px;
	bottom: 0;
	width: 1px;
	background: var(--f-line);
}

.sfm-footer__title {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: var(--sfm-weight-bold);
	letter-spacing: 0.2px;
	line-height: 1.2;
	color: #fff;
}

.sfm-footer__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	color: inherit;
	text-align: left;
	cursor: default;
}

.sfm-footer__toggle-dot {
	display: none;
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	transition: background 0.25s, box-shadow 0.25s;
}

.sfm-footer__toggle-ic {
	display: none;
	flex: none;
	width: 22px;
	height: 22px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	place-items: center;
	margin-left: auto;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, color 0.25s;
}

.sfm-footer__toggle-ic svg {
	display: block;
	width: 9px;
	height: 9px;
}

.sfm-footer__panel-inner {
	overflow: hidden;
}

.sfm-footer__links {
	display: grid;
	grid-auto-flow: row;
	gap: 14px 18px;
}

.sfm-footer__links--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sfm-footer a {
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s, text-decoration-color 0.2s;
}

.sfm-footer a:hover {
	opacity: 0.75;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.55);
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.sfm-footer a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 2px;
}

.sfm-footer__links a {
	display: block;
	font-size: var(--sfm-text-sm);
	font-weight: var(--sfm-weight-medium);
	line-height: 20px;
	letter-spacing: 0;
	opacity: 0.92;
}

/* Quick links --------------------------------------------------------------- */

.sfm-footer__quick {
	display: flex;
	justify-self: start;
	align-items: center;
	gap: 14px;
}

.sfm-footer__quick a {
	font-size: var(--sfm-text-sm);
	font-weight: var(--sfm-weight-medium);
}

.sfm-footer__quick i {
	display: block;
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, 0.6);
}

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

.sfm-footer__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 22px;
	border-top: 1px solid var(--f-line);
	margin-top: 34px;
	padding: 18px 0;
}

.sfm-footer__iso {
	justify-self: center;
}

.sfm-footer__social {
	justify-self: end;
}

.sfm-footer__iso {
	display: flex;
	gap: 20px;
	align-items: center;
}

.sfm-footer__iso svg,
.sfm-footer__iso img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.sfm-footer__social {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sfm-footer__social-label {
	font-size: var(--sfm-text-sm);
	font-weight: var(--sfm-weight-medium);
	opacity: 0.85;
	margin-right: 2px;
}

.sfm-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #031058;
	text-decoration: none;
	transition: transform 0.2s;
}

.sfm-footer__social a:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.sfm-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Copyright ------------------------------------------------------------------- */

.sfm-footer__copy {
	margin: 0;
	text-align: center;
	font-size: 13px;
	font-weight: var(--sfm-weight-medium);
	padding: 17px 0 20px;
	opacity: 0.9;
}

/* Tablet ----------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.sfm-footer__cols {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 36px;
		padding-right: 0;
	}

	.sfm-footer__col {
		padding: 0;
	}

	.sfm-footer__col + .sfm-footer__col::before {
		display: none;
	}
}

/* Tablet utility bar ----------------------------------------------------------- */

@media (max-width: 900px) {
	.sfm-footer__bar {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 18px;
	}

	.sfm-footer__quick,
	.sfm-footer__iso,
	.sfm-footer__social {
		justify-content: center;
	}
}

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

@media (max-width: 700px) {
	.sfm-footer__inner {
		padding-top: 40px;
	}

	.sfm-footer__logo {
		width: 100%;
		display: flex;
		justify-content: center;
		margin-bottom: 36px;
	}

	.sfm-footer__cols {
		grid-template-columns: 1fr;
		row-gap: 0;
		padding-right: 0;
	}

	.sfm-footer__col,
	.sfm-footer__col:nth-child(3) {
		padding: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.sfm-footer__col:last-child {
		border-bottom: 0;
	}

	.sfm-footer__title {
		margin: 0;
	}

	.sfm-footer__toggle {
		cursor: pointer;
		padding: 16px 2px 15px;
		text-align: left;
	}

	.sfm-footer__toggle-dot {
		display: block;
	}

	.sfm-footer__toggle-ic {
		display: grid;
	}

	.sfm-footer__col.is-open .sfm-footer__toggle-dot {
		background: var(--sfm-green);
		box-shadow: 0 0 0 4px rgba(1, 164, 76, 0.18);
	}

	.sfm-footer__col.is-open .sfm-footer__toggle-ic {
		transform: rotate(180deg);
		border-color: var(--sfm-green);
		color: var(--sfm-green);
	}

	.sfm-footer__panel {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.sfm-footer__col.is-open .sfm-footer__panel {
		grid-template-rows: 1fr;
	}

	.sfm-footer__panel-inner {
		min-height: 0;
		padding-bottom: 22px;
		overflow: hidden;
	}

	.sfm-footer__col:not(.is-open) .sfm-footer__panel-inner {
		padding-bottom: 0;
	}

	.sfm-footer__col + .sfm-footer__col::before {
		display: none;
	}

	.sfm-footer__links {
		padding-left: 18px;
		padding-right: 18px;
	}

	.sfm-footer__links--two {
		grid-template-columns: 1fr;
	}

	.sfm-footer__quick {
		justify-content: center;
		flex-wrap: wrap;
	}

	.sfm-footer__bar {
		margin-top: 10px;
		border-top: 0;
	}

	.sfm-footer__iso {
		justify-content: center;
	}

	.sfm-footer__social {
		width: 100%;
		justify-content: center;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.sfm-footer__social-label {
		font-size: 11px;
		white-space: nowrap;
		margin-right: 0;
	}

	.sfm-footer__social a {
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
	}

	.sfm-footer__social svg {
		width: 16px;
		height: 16px;
	}
}

/* Reduced motion -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.sfm-footer__panel {
		transition: none;
	}

	.sfm-footer__toggle-ic {
		transition: none;
	}
}