/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	margin-top: var(--o2-section-y);
	padding: 50px 0;
	background: var(--o2-white);
	border-top: 1px solid #eee;
	color: var(--o2-ink);
	font-size: 14px;
	line-height: 1.6;
}

.o2-clone + .site-footer,
.is-front .site-footer {
	margin-top: 0;
}

.site-footer__grid {
	display: flex;
	flex-wrap: wrap;
	margin-inline: calc(-1 * var(--o2-gutter));
}

.footer-col {
	flex: 0 0 auto;
	width: 25%;
	min-width: 0;
	padding-inline: var(--o2-gutter);
}

.footer-col--clinics {
	width: 50%;
}

.site-footer h3 {
	margin: 0 0 16px;
	padding: 0;
	color: #5e697c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer p {
	margin: 0 0 16px;
}

/* Brand column */
.box-info .logo-footer {
	margin-bottom: 30px;
}

.box-info .logo-footer .site-logo {
	display: flex;
	width: fit-content;
}

.box-info .logo-footer img {
	display: block;
	width: 155px;
	max-width: 155px;
	height: auto;
	max-height: none;
}

.box-info .box-intro h3 {
	color: #272b2f;
}

.box-info .box-intro p {
	color: #272b2f;
	font-size: 14px;
	font-weight: 500;
}

.box-info .box-contact p {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	color: var(--o2-text);
	font-size: 16px;
	font-weight: 700;
}

.box-info .box-contact a {
	color: var(--o2-text);
}

.box-info .box-contact .o2-icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	color: var(--o2-primary-deep);
}

.box-info .social-links {
	display: flex;
	align-items: center;
	gap: 15px;
	height: 51px;
}

.box-info .social-links a {
	display: flex;
	color: var(--o2-text-faint);
}

.box-info .social-links a:hover {
	color: var(--o2-primary);
}

.box-info .social-links .o2-icon {
	width: auto;
	height: var(--o2-icon-size, 32px);
}

.box-info .social-links .o2-item-icon {
	width: var(--o2-icon-size, 32px);
	height: var(--o2-icon-size, 32px);
}

.box-info .social-links.mobile {
	display: none;
}

.box-info .box-logo {
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.box-info .box-logo img {
	display: block;
	width: auto;
	max-width: none;
	height: auto;
}

.footer-widgets .widget {
	margin-top: 20px;
	font-size: 15px;
}

/* Clinics column */
.box-branch li {
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #edeef2;
}

.box-branch li:last-child {
	margin: 0;
	padding: 0;
	border: 0;
}

.box-branch li h3 {
	margin-bottom: 4px;
	color: var(--o2-heading);
	text-transform: uppercase;
}

.box-branch li h3 a {
	display: flex;
	width: fit-content;
	align-items: center;
	color: inherit;
}

.box-branch li h3 .o2-icon {
	width: 12px;
	height: 16px;
	margin-right: 10px;
	color: var(--o2-primary-deep);
}

.box-branch p {
	margin: 0;
	color: #272b2f;
	font-size: 14px;
	font-weight: 500;
}

/* Support column */
.box-service li {
	margin-bottom: 20px;
}

.box-service li:last-child {
	margin-bottom: 0;
}

.box-service a {
	color: var(--o2-heading);
	font-size: 16px;
	font-weight: 600;
}

.box-service a:hover,
.box-branch li h3 a:hover {
	color: var(--o2-primary);
}

/* Bottom bar */
.footer-bottom {
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid #d9d9d9;
}

.footer-bottom p {
	margin-bottom: 15px;
	color: #000;
	font-weight: 400;
}

.footer-bottom .text-desc p:last-child {
	margin-bottom: 0;
}

.footer-policy__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 15px;
}

.footer-policy__list a {
	color: var(--o2-text);
}

@media (max-width: 991px) {
	.footer-col--brand {
		width: 100%;
	}

	.footer-col--clinics {
		width: 58.3333%;
	}

	.footer-col--support {
		width: 41.6667%;
	}
}

@media (max-width: 767px) {
	.site-footer {
		padding: 30px 0;
	}

	.footer-col,
	.footer-col--clinics,
	.footer-col--support {
		width: 100%;
	}

	.site-footer .box-footer {
		margin-bottom: 30px;
	}

	.box-info .logo-footer {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 20px;
	}

	.box-info .logo-footer img {
		max-width: 140px;
	}

	.box-info .social-links.mobile {
		display: flex;
	}

	.box-info .social-links.desktop {
		display: none;
	}

	.box-info .box-contact {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 12px;
	}

	.footer-bottom {
		margin-top: 0;
	}
}
