/**
 * SofiaHealth footer — Figma node 14:254
 * --------------------------------------------- */

.site-footer {
	background-color: var(--sh-teal, #2a8c82);
	color: #ffffff;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
	margin: 0 auto;
	max-width: var(--sh-max-container-width, 1440px);
	padding: 80px var(--sh-header-pad-x, 80px) 40px;
}

.site-footer__top {
	align-items: flex-start;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	width: 100%;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 360px;
	width: 100%;
}

.site-footer__logo-wrap .site-footer__widget {
	margin: 0;
}

.site-footer__logo {
	align-items: center;
	color: #ffffff;
	display: inline-flex;
	gap: 8px;
	text-decoration: none;
}

.site-footer__logo .custom-logo-link {
	display: inline-flex;
}

.site-footer__logo-icon,
.site-footer__logo .custom-logo {
	display: block;
	height: 24px;
	width: 24px;
}

.site-footer__logo .custom-logo {
	display: block;
	height: 24px;
	max-height: 24px;
	max-width: 24px;
	object-fit: contain;
	width: auto;
}

.site-footer__site-name {
	font-family: var(--sh-font-display, "Cormorant Garamond", Georgia, serif);
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
}

.site-footer__description,
.site-footer__description p,
.site-footer__widget p {
	color: #ffffff;
	font-family: var(--sh-font-body, "Work Sans", sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	opacity: 0.7;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 80px;
}

.site-footer__menu-title {
	color: var(--sh-heighlight-text-colo, #e8b94b);
	font-family: var(--sh-font-display, "Cormorant Garamond", Georgia, serif);
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0 0 12px;
}

.site-footer__menu-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu-list a {
	color: #ffffff;
	font-family: var(--sh-font-body, "Work Sans", sans-serif);
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	opacity: 0.8;
	text-decoration: none;
}

.site-footer__menu-list a:hover,
.site-footer__menu-list a:focus {
	opacity: 1;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.site-footer__divider {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	width: 100%;
}

.site-footer__bottom-inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	width: 100%;
}

.site-footer__copyright-text,
.site-footer__copyright p {
	color: #ffffff;
	font-family: var(--sh-font-body, "Work Sans", sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	margin: 0;
	opacity: 0.5;
}

.site-footer__social-list {
	display: flex;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__social-link {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	height: 20px;
	opacity: 0.9;
	width: 20px;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus {
	opacity: 1;
}

.site-footer__social-link--instagram {
	background-image: url("../images/icon-instagram.svg");
}

.site-footer__social-link--facebook {
	background-image: url("../images/icon-facebook.svg");
}

.site-footer__social-link--twitter {
	background-image: url("../images/icon-twitter.svg");
}
.site-footer__logo-wrap figure{
	margin: 0;
}

@media screen and (max-width: 1023px) {
	.site-footer__inner {
		padding: 64px 24px 32px;
	}

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

	.site-footer__brand {
		max-width: 100%;
	}

	.site-footer__nav {
		gap: 40px;
		width: 100%;
	}
}

.scroll-to-top {
	align-items: center;
	background-color: var(--sh-teal, #2a8c82);
	border: 0;
	border-radius: 50%;
	bottom: 24px;
	box-shadow: 0 4px 12px rgba(74, 50, 31, 0.18);
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: 24px;
	transition: background-color 0.2s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	visibility: hidden;
	width: 48px;
	z-index: 1000;
}

.scroll-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
	background-color: #247a71;
	transform: translateY(-2px);
}

.scroll-to-top__icon {
	border-left: 2px solid #ffffff;
	border-top: 2px solid #ffffff;
	display: block;
	height: 10px;
	margin-top: 4px;
	transform: rotate(45deg);
	width: 10px;
}

@media screen and (max-width: 767px) {
	.scroll-to-top {
		bottom: 16px;
		height: 44px;
		right: 16px;
		width: 44px;
	}

	.site-footer__inner {
		gap: 40px;
		padding: 48px 16px 24px;
	}

	.site-footer__nav {
		flex-direction: column;
		gap: 24px;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
