@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
	--footer-bg: #f1f5f9;
	--footer-bg-deep: #e2e8f0;
	--footer-text: #0f172a;
	--footer-muted: #475569;
	--footer-line: rgba(15, 23, 42, 0.12);
	--footer-cyan: #2563eb;
	--footer-blue: #0f172a;
}

.clinic-footer {
	position: relative;
	margin-top: 20px;
	padding: 110px 0 34px;
	background: #f1f5f9;
	color: var(--footer-text);
	overflow: hidden;
	font-family: "Poppins", sans-serif;
}

.clinic-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.55;
	pointer-events: none;
}

.clinic-footer-pulse {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent 0%, var(--footer-cyan) 12%, var(--footer-blue) 34%, var(--footer-cyan) 58%, transparent 100%);
	box-shadow: 0 0 14px rgba(39, 219, 255, 0.56);
	animation: pulseLine 4.8s linear infinite;
	z-index: 2;
}

@keyframes pulseLine {
	0% {
		background-position: 0 0;
		filter: brightness(0.95);
	}
	50% {
		filter: brightness(1.35);
	}
	100% {
		background-position: 1200px 0;
		filter: brightness(0.95);
	}
}

.clinic-footer-top,
.clinic-footer-bottom {
	position: relative;
	z-index: 3;
}

.clinic-footer-top {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr 1fr;
	gap: 46px;
}

.clinic-footer-col h3 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.4px;
	line-height: 1.05;
	color: #0f172a;
	text-transform: uppercase;
}

.clinic-footer-about p,
.clinic-footer-col li a,
.clinic-footer-contact-item span,
.clinic-footer-bottom p {
	color: var(--footer-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.75;
}

.clinic-footer-about p {
	margin: 0;
	max-width: 420px;
}

.clinic-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.clinic-footer-col li a {
	display: inline-block;
	transition: color 0.25s ease, transform 0.25s ease;
}

.clinic-footer-col li a:hover {
	color: #2563eb;
	transform: translateX(4px);
}

.clinic-footer-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.clinic-footer-contact-item i {
	color: #2563eb;
	font-size: 16px;
	width: 18px;
	text-align: center;
}

.clinic-footer-bottom {
	margin-top: 72px;
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	border-top: 1px solid var(--footer-line);
}

.clinic-footer-bottom p {
	margin: 0;
	letter-spacing: 0.2px;
	text-align: center;
}

@media (max-width: 1200px) {
	.clinic-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}

	.clinic-footer-contact-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	.clinic-footer {
		padding: 76px 0 28px;
	}

	.clinic-footer-top {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.clinic-footer-contact-col {
		grid-column: auto;
	}

	.clinic-footer-bottom {
		margin-top: 38px;
		padding-top: 20px;
	}
}
