/*
 * Footer and floating contact buttons.
 */

.site-footer {
	padding-block: 48px 40px;
	background: var(--c-footer);
	color: var(--c-footer-text);
	font-size: 16px;
	line-height: 24px;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--c-cyan);
}

.site-footer__top {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 402px;
}

.site-footer__logo {
	align-self: flex-start;
}

.site-footer__logo .site-logo__img {
	display: block;
	height: 33px;
}

.site-footer__about {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.site-footer__about strong {
	font-weight: 700;
}

.site-footer__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.footer-col__title {
	color: var(--c-cyan);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.footer-col__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
}

.footer-col--contact {
	grid-column: 1 / -1;
	gap: 12px;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.footer-contact__label {
	font-size: 14px;
	line-height: 18px;
}

.footer-contact__value {
	font-weight: 700;
	overflow-wrap: anywhere;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column-reverse;
	gap: 24px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #131727;
}

.site-footer__copy {
	color: var(--c-white);
}

.site-footer__social {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--c-cyan);
}

.site-footer__social a,
.site-footer__social span {
	display: block;
	color: var(--c-cyan);
}

.site-footer__social a:hover {
	color: var(--c-white);
}

@media (min-width: 768px) {
	.site-footer__links {
		grid-template-columns: repeat(3, auto);
		gap: 32px;
	}

	.footer-col--contact {
		grid-column: auto;
		/* The contact column has no heading: line it up with the first link of its neighbours. */
		padding-top: 36px;
	}

	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1100px) {
	.site-footer {
		padding-block: 64px 48px;
	}

	/* The footer content sits 12px inside the page container (1216px on the 1440px frame). */
	.site-footer__inner {
		padding-inline: 12px;
	}

	.site-footer__top {
		flex-direction: row;
		justify-content: space-between;
		gap: 64px;
	}

	.site-footer__brand {
		flex: 0 1 402px;
		gap: 32px;
	}

	.site-footer__links {
		grid-template-columns: 152px 152px auto;
	}

	.site-footer__bottom {
		margin-top: 50px;
	}
}

/* Floating contact buttons */

.floating-cta {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.floating-cta__btn {
	display: grid;
	place-items: center;
	border-radius: 50%;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-cta__btn:hover {
	transform: translateY(-2px);
}

.floating-cta__btn--email {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid var(--c-border);
	background: var(--c-white);
	color: var(--c-ink);
	box-shadow: var(--shadow-lg);
}

.floating-cta__btn--chat {
	width: 56px;
	height: 56px;
	background: var(--c-primary);
	color: var(--c-white);
	box-shadow: var(--shadow-xl);
}

.menu-open .floating-cta {
	display: none;
}

@media (min-width: 768px) {
	.floating-cta {
		right: 24px;
		bottom: 24px;
	}

	.floating-cta__btn--email {
		display: grid;
	}
}
