* {
	box-sizing: border-box;
}

:root {
	--blue: #367fbd;
	--blue-dark: #255f91;
	--red: #a91d22;
	--background: #f5f7f9;
	--surface: #ffffff;
	--text: #172331;
	--muted: #667785;
	--border: #e0e6ea;
	--soft-blue: #edf5fb;
	--soft-red: #faeeee;
	--soft-grey: #f6f8fa;
	--radius: 16px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--background);
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
}


/*
 * Header
 */

.main-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.header-content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 25px;
	text-align: center;
}

.group-logo {
	display: block;
	width: 230px;
	max-width: 70%;
	height: 100px;
	margin: 0 auto;
	object-fit: contain;
}

.header-content p {
	margin: 3px 0 0;
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}


/*
 * Main
 */

main {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 50px 25px 70px;
}


/*
 * Introduction
 */

.intro {
	max-width: 790px;
	margin: 0 auto;
	text-align: center;
}

.intro h1 {
	margin: 0 0 20px;
	font-size: 34px;
	font-weight: 700;
}

.intro p {
	margin: 8px 0;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.65;
}

.intro .intro-important {
	margin-top: 15px;
	color: var(--text);
	font-weight: 600;
}


/*
 * Filters
 */

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 38px 0;
}

.filter {
	padding: 11px 20px;
	border: 1px solid var(--border);
	border-radius: 25px;
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.filter:hover {
	border-color: var(--blue);
	color: var(--blue);
	transform: translateY(-1px);
}

.filter.active {
	background: var(--blue);
	border-color: var(--blue);
	color: #ffffff;
}

.group-filter {
	border-color: #cbdbe8;
}


/*
 * Centers grid
 */

.centers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}


/*
 * Center card
 */

.center-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 5px 20px rgba(24, 42, 58, 0.07);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.center-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(24, 42, 58, 0.11);
}


/*
 * Logos
 */

.logo-zone {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 205px;
	padding: 24px 35px;
	background: #ffffff;
	border-bottom: 1px solid var(--border);
}

.center-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.chermed-logo {
	max-width: 450px;
}

.inov-logo {
	max-width: 360px;
}

.cm2n-logo {
	max-width: 180px;
}


/*
 * Saran custom branding
 */

.saran-logo-zone {
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#f4f8fb 100%
		);
}

.saran-brand {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 15px;
}

.saran-inov {
	color: var(--blue);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 62px;
	font-weight: 700;
	letter-spacing: 2px;
}

.saran-city {
	color: var(--red);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 6px;
}


/*
 * Card content
 */

.center-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 30px;
}

.center-card h2 {
	margin: 0 0 7px;
	font-size: 28px;
	line-height: 1.2;
}

.center-name {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}


/*
 * Badges
 */

.badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.activity,
.network-badge,
.partner-badge,
.soon-badge {
	display: inline-block;
	padding: 6px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.activity {
	background: var(--soft-blue);
	color: var(--blue-dark);
}

.network-badge {
	background: #eef3f7;
	color: var(--blue-dark);
}

.partner-badge {
	background: #f0f2f4;
	color: #586873;
}

.soon-badge {
	background: var(--soft-red);
	color: var(--red);
}


/*
 * Contact section
 */

.contact {
	margin: 23px 0 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.contact p {
	margin: 5px 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.contact-main {
	margin-bottom: 18px;
}

.contact-title {
	color: var(--text) !important;
	font-weight: 700;
}

.opening-hours {
	margin-top: 12px !important;
	color: var(--text) !important;
	font-weight: 600;
}


/*
 * Contact cards
 */

.contact-grid {
	display: grid;
	gap: 10px;
	margin-top: 15px;
}

.contact-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px 15px;
	border: 1px solid #edf0f2;
	border-radius: 9px;
	background: var(--soft-grey);
}

.contact-label {
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.contact-item a {
	color: var(--blue-dark);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
	word-break: break-word;
}

.contact-item a:hover {
	text-decoration: underline;
}


/*
 * Professional contacts
 */

.professional-contacts {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
}

.professional-title {
	margin: 0 !important;
	color: var(--text) !important;
	font-size: 13px !important;
	font-weight: 700;
}

.ms-sante {
	border-color: #d7e8f4;
	background: var(--soft-blue);
}

.ms-sante .contact-label {
	color: var(--blue-dark);
}


/*
 * Doctors
 */

.doctors {
	margin-top: 18px;
	padding: 13px 15px;
	border-left: 3px solid var(--blue);
	border-radius: 0 9px 9px 0;
	background: var(--soft-blue);
}

.doctors p {
	margin: 8px 0 0;
	color: var(--text);
	line-height: 1.6;
}


/*
 * Accessibility
 */

.accessibility {
	margin-top: 16px !important;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--soft-grey);
	color: var(--text) !important;
	font-size: 13px !important;
}


/*
 * Results buttons
 */

.results-button {
	display: block;
	margin-top: auto;
	padding: 15px 20px;
	border-radius: 8px;
	background: var(--blue);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.results-button:hover {
	background: var(--blue-dark);
	transform: translateY(-1px);
}

.results-button:focus {
	outline: 3px solid rgba(54, 127, 189, 0.25);
	outline-offset: 3px;
}


/*
 * Coming soon
 */

.soon-button {
	display: block;
	margin-top: auto;
	padding: 15px 20px;
	border-radius: 8px;
	background: #edf0f2;
	color: var(--muted);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}


/*
 * Security
 */

.security {
	max-width: 720px;
	margin: 50px auto 0;
	padding: 25px;
	border-radius: 12px;
	background: #eef4f7;
	text-align: center;
}

.security h2 {
	margin: 0 0 8px;
	font-size: 16px;
}

.security p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
}


/*
 * Footer
 */

footer {
	padding: 28px 20px;
	background: var(--surface);
	border-top: 1px solid var(--border);
	color: var(--muted);
	text-align: center;
}

.footer-logo {
	display: block;
	width: 110px;
	height: 48px;
	margin: 0 auto 10px;
	object-fit: contain;
}

footer p {
	margin: 0;
	font-size: 12px;
}


/*
 * Filtering
 */

.hidden {
	display: none;
}


/*
 * Tablet / mobile
 */

@media (max-width: 760px) {
	main {
		padding: 40px 18px 55px;
	}

	.intro h1 {
		font-size: 28px;
	}

	.centers {
		grid-template-columns: 1fr;
	}

	.logo-zone {
		height: 180px;
	}

	.saran-inov {
		font-size: 50px;
	}

	.saran-city {
		font-size: 20px;
	}

	.center-content {
		padding: 25px;
	}

	.center-card h2 {
		font-size: 25px;
	}

	.filters {
		margin: 30px 0;
	}
}


/*
 * Small mobile
 */

@media (max-width: 480px) {
	.header-content {
		padding: 17px 15px;
	}

	.group-logo {
		width: 190px;
		height: 80px;
	}

	main {
		padding-right: 14px;
		padding-left: 14px;
	}

	.intro h1 {
		font-size: 26px;
	}

	.intro p {
		font-size: 15px;
	}

	.filters {
		gap: 7px;
	}

	.filter {
		padding: 9px 14px;
		font-size: 13px;
	}

	.logo-zone {
		height: 155px;
		padding: 20px;
	}

	.saran-brand {
		gap: 10px;
	}

	.saran-inov {
		font-size: 42px;
	}

	.saran-city {
		font-size: 17px;
		letter-spacing: 4px;
	}

	.center-content {
		padding: 22px;
	}

	.contact-item {
		padding: 12px;
	}

	.contact-item a {
		font-size: 13px;
	}
}
