:root {
	--color-brand: #213360;
	--color-accent: #5170ca;
	--color-header-top: #5576ca;
	--color-header-nav: #5b98c5;
	--color-text: #4f5b6d;
	--color-soft: #f5fbfb;
	--color-ink: #111827;
	--shadow: 0 18px 45px rgba(3, 15, 39, 0.12);
}

* {
	box-sizing: border-box;
}

body {
	color: var(--color-text);
	font-family: Poppins, Arial, Helvetica, sans-serif;
	line-height: 1.65;
	margin: 0;
}

body.service-popup-open {
	overflow: hidden;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
}

.container {
	margin: 0 auto;
	max-width: 1160px;
	padding: 0 22px;
	width: 100%;
}

.narrow {
	max-width: 820px;
}

.header-container {
	margin: 0 auto;
	max-width: 1720px;
	padding: 0 22px;
	width: 100%;
}

.site-header {
	background: var(--color-header-nav);
	box-shadow: none;
	position: sticky;
	top: 0;
	transition: box-shadow 180ms ease;
	z-index: 50;
}

.header-topbar {
	background: var(--color-header-top);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	max-height: 48px;
	overflow: hidden;
	transition: max-height 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.header-topbar__inner {
	align-items: center;
	display: flex;
	gap: 34px;
	justify-content: center;
	min-height: 48px;
}

.header-topbar__item {
	align-items: center;
	display: inline-flex;
	gap: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.header-topbar__icon {
	display: block;
	fill: currentColor;
	flex: 0 0 auto;
	height: 18px;
	width: 18px;
}

.nav {
	align-items: center;
	display: flex;
	gap: 55px;
	justify-content: center;
	min-height: 118px;
	padding-bottom: 0;
	padding-top: 0;
	position: relative;
	transition: min-height 180ms ease;
}

.brand img {
	transition: width 180ms ease;
	width: 300px;
}

.nav-menu {
	align-items: center;
	display: flex;
	gap: 38px;
	justify-content: flex-start;
	min-height: 118px;
	position: relative;
	transition: min-height 180ms ease;
	--nav-indicator-left: 0px;
	--nav-indicator-width: 0px;
}

.nav-menu::after {
	background: #fff;
	bottom: 0;
	content: "";
	height: 6px;
	left: var(--nav-indicator-left);
	opacity: 0;
	position: absolute;
	transform: translateZ(0);
	transition: left 220ms ease, width 220ms ease, height 180ms ease, opacity 160ms ease;
	width: var(--nav-indicator-width);
}

.nav-menu.has-indicator::after {
	opacity: 1;
}

.nav-menu a {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1.4px;
	line-height: 1.2;
	min-height: 118px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 180ms ease, min-height 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
	color: #fff;
}

.site-header.is-compact {
	box-shadow: 0 10px 24px rgba(15, 35, 65, 0.14);
}

.site-header.is-compact .header-topbar {
	max-height: 0;
	opacity: 0;
	visibility: hidden;
}

.site-header.is-compact .nav,
.site-header.is-compact .nav-menu,
.site-header.is-compact .nav-menu a {
	min-height: 66px;
}

.site-header.is-compact .brand img {
	width: 215px;
}

.site-header.is-compact .nav-menu::after {
	height: 4px;
}

.nav-toggle {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 4px;
	color: #fff;
	display: none;
	height: 42px;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 46px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
	background: #fff;
	content: "";
	height: 2px;
	left: 12px;
	position: absolute;
	right: 12px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle::before {
	top: 13px;
}

.nav-toggle span {
	top: 20px;
}

.nav-toggle::after {
	top: 27px;
}

.nav-toggle[aria-expanded="true"]::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"]::after {
	transform: translateY(-7px) rotate(-45deg);
}

.btn {
	background: var(--color-accent);
	border: 0;
	border-radius: 4px;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	padding: 14px 22px;
	text-align: center;
	text-decoration: none;
}

.btn-small {
	padding: 11px 16px;
}

.btn-ghost {
	background: #fff;
	color: var(--color-brand) !important;
}

.btn-dark {
	background: var(--color-brand);
}

.btn-light {
	background: #fff;
	color: var(--color-brand) !important;
}

.hero {
	background: #2b2b2b;
	color: #fff;
	min-height: 720px;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.hero-slide {
	align-items: center;
	animation: heroFade 14s infinite;
	background-position: center;
	background-size: cover;
	display: flex;
	inset: 0;
	min-height: 720px;
	opacity: 0;
	position: absolute;
}

.hero-slide::before {
	background: linear-gradient(90deg, rgba(12, 20, 42, 0.74) 0%, rgba(12, 20, 42, 0.48) 43%, rgba(12, 20, 42, 0.08) 72%);
	content: "";
	inset: 0;
	position: absolute;
}

.hero-slide-one {
	animation-delay: 0s;
	background-image: url("../img/hero-clinica-28.jpg");
}

.hero-slide-two {
	animation-delay: 7s;
	background-image: url("../img/hero-clinica-48.jpg");
}

.hero__content {
	position: relative;
	z-index: 1;
}

.hero h1 {
	font-size: 72px;
	font-weight: 300;
	line-height: 1.18;
	margin: 0 0 28px;
	max-width: 820px;
}

.hero h2 {
	font-size: 72px;
	font-weight: 300;
	line-height: 1.18;
	margin: 0 0 28px;
	max-width: 860px;
}

.hero p {
	font-size: 22px;
	font-weight: 500;
	line-height: 1.45;
	margin: 0 0 30px;
	max-width: 760px;
}

.hero .eyebrow {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.hero .btn {
	background: var(--color-accent);
	box-shadow: 0 15px 20px rgba(12, 12, 12, 0.19);
	font-size: 13px;
	letter-spacing: 2px;
	padding: 24px 32px 26px;
	text-transform: uppercase;
}

.hero-card {
	border-radius: 8px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.hero-card img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.section {
	padding: 76px 0;
}

.section-heading {
	margin-bottom: 36px;
	text-align: center;
}

.eyebrow {
	color: #4a7d84;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.hero .eyebrow,
.team-hero .eyebrow,
.contact-hero .eyebrow,
.cta .eyebrow {
	color: #d5fbf8;
}

h1,
h2,
h3 {
	color: var(--color-brand);
	line-height: 1.22;
	margin-top: 0;
}

.hero h1,
.hero h2,
.team-hero h1,
.contact-hero h1,
.cta h2 {
	color: #fff;
}

@keyframes heroFade {
	0% {
		opacity: 0;
	}

	8%,
	48% {
		opacity: 1;
	}

	56%,
	100% {
		opacity: 0;
	}
}

.split {
	align-items: center;
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split h2,
.section-heading h2,
.page-hero h1 {
	font-size: 38px;
	margin-bottom: 18px;
}

.services-band {
	background: var(--color-soft) url("../img/services-bg-2.png") top center/auto no-repeat;
}

.service-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
	background: #fff;
	border-bottom: 4px solid transparent;
	border-radius: 8px;
	box-shadow: var(--shadow);
	color: inherit;
	min-height: 240px;
	padding: 34px 24px 30px;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
	border-color: var(--color-accent);
	transform: translateY(-4px);
}

.service-card img {
	height: 96px;
	margin: 0 auto 18px;
	object-fit: contain;
	width: 96px;
}

.service-card h2,
.service-card h3 {
	font-size: 21px;
	margin-bottom: 8px;
}

.service-popup {
	align-items: center;
	background: rgba(3, 15, 39, 0.82);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 28px;
	position: fixed;
	z-index: 100;
}

.service-popup[hidden] {
	display: none;
}

.service-popup__panel {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 28px 70px rgba(3, 15, 39, 0.3);
	max-height: calc(100vh - 56px);
	max-width: 860px;
	overflow: auto;
	padding: 34px;
	position: relative;
	width: 100%;
}

.service-popup__close {
	background: transparent;
	border: 0;
	color: var(--color-brand);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 8px;
	position: absolute;
	right: 18px;
	text-transform: uppercase;
	top: 18px;
}

.service-popup__header {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: 116px minmax(0, 1fr);
	padding-right: 86px;
}

.service-popup__header img {
	height: 104px;
	object-fit: contain;
	width: 104px;
}

.service-popup__header h3 {
	font-size: 30px;
	margin-bottom: 8px;
}

.service-popup__header p:last-child {
	font-size: 18px;
	margin: 0;
}

.service-popup__content {
	margin-top: 28px;
}

.service-popup__content h4 {
	color: var(--color-brand);
	font-size: 22px;
	margin: 28px 0 16px;
}

.service-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.media-panel {
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	border-radius: 8px;
	min-height: 700px;
}

.feature-list {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list article {
	background: #fff;
	border-left: 4px solid var(--color-accent);
	box-shadow: 0 10px 28px rgba(3, 15, 39, 0.08);
	padding: 18px;
}

.feature-list h3 {
	font-size: 18px;
	margin-bottom: 6px;
}

.feature-list p {
	margin: 0;
}

.cta {
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 92px 0;
	position: relative;
	text-align: center;
}

.cta::before,
.team-hero::before,
.contact-hero::before {
	background: rgba(3, 15, 39, 0.62);
	content: "";
	inset: 0;
	position: absolute;
}

.cta .container,
.team-hero .container,
.contact-hero .container {
	position: relative;
}

.cta h2 {
	font-size: 42px;
	margin: 0 auto 26px;
	max-width: 760px;
}

.page-hero,
.service-hero {
	background: var(--color-soft);
	padding: 84px 0 70px;
	text-align: center;
}

.page-hero p,
.service-hero p {
	font-size: 19px;
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
}

.service-hero img {
	height: 118px;
	margin: 0 auto 18px;
	object-fit: contain;
	width: 118px;
}

.content-layout {
	align-items: start;
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(0, 1fr) 330px;
}

.content {
	font-size: 17px;
}

.content h2 {
	font-size: 25px;
	margin-top: 34px;
}

.check-list {
	display: grid;
	gap: 10px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.check-list li {
	padding-left: 24px;
	position: relative;
}

.check-list li::before {
	background: var(--color-accent);
	border-radius: 50%;
	content: "";
	height: 8px;
	left: 0;
	position: absolute;
	top: 11px;
	width: 8px;
}

.aside-cta,
.form-panel,
.map-card {
	background: var(--color-soft);
	border-top: 4px solid var(--color-accent);
	box-shadow: 0 12px 32px rgba(3, 15, 39, 0.08);
	padding: 28px;
}

.aside-cta {
	position: sticky;
	top: 116px;
}

.aside-cta .btn {
	margin-top: 8px;
	width: 100%;
}

.gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery img {
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	object-fit: cover;
	width: 100%;
}

.stats-band {
	background: var(--color-soft);
}

.stats-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	text-align: center;
}

.stat {
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 36px 22px;
}

.stat strong {
	color: var(--color-brand);
	display: block;
	font-size: 42px;
	line-height: 1;
	margin-bottom: 12px;
}

.team-hero,
.contact-hero {
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 130px 0;
	position: relative;
	text-align: center;
}

.team-hero h1,
.contact-hero h1 {
	font-size: 54px;
}

.team-hero p {
	font-size: 18px;
	margin: 0 auto;
	max-width: 920px;
}

.team-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.team-card img,
.team-placeholder {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.team-placeholder {
	align-items: center;
	background: var(--color-soft);
	color: var(--color-brand);
	display: flex;
	font-size: 72px;
	font-weight: 800;
	justify-content: center;
}

.team-card div:last-child {
	padding: 20px;
}

.team-card h2 {
	font-size: 20px;
	margin-bottom: 4px;
}

.team-card p {
	margin: 0;
}

.contact-strip {
	background: #161616;
	color: #fff;
	padding: 34px 0;
}

.contact-strip__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-strip h2 {
	color: #fff;
	font-size: 22px;
	margin-bottom: 8px;
}

.contact-strip a {
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
}

.form {
	display: grid;
	gap: 16px;
}

.form label {
	color: var(--color-brand);
	font-weight: 700;
}

.form input,
.form textarea,
.form select {
	border: 1px solid #d7dee8;
	border-radius: 4px;
	display: block;
	font: inherit;
	margin-top: 6px;
	padding: 13px 14px;
	width: 100%;
}

.hidden-field {
	display: none !important;
}

.notice {
	border-radius: 4px;
	font-weight: 700;
	margin: 0 0 18px;
	padding: 14px 16px;
}

.notice-ok {
	background: #e8fbf6;
	color: #116b61;
}

.notice-error {
	background: #fff0f0;
	color: #9f1d1d;
}

.map-card img {
	border-radius: 6px;
	margin-bottom: 16px;
}

.site-footer {
	background: #f4f7fb;
	padding: 58px 0;
}

.footer-grid {
	display: grid;
	gap: 34px;
	grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-logo {
	margin-bottom: 16px;
	width: 220px;
}

.site-footer h2 {
	font-size: 20px;
}

.site-footer a {
	display: block;
	margin-bottom: 8px;
	text-decoration: none;
}

.whatsapp {
	background: #25d366;
	border-radius: 999px;
	bottom: 24px;
	box-shadow: var(--shadow);
	color: #fff;
	font-weight: 800;
	padding: 12px 18px;
	position: fixed;
	right: 24px;
	text-decoration: none;
	z-index: 30;
}

@media (max-width: 920px) {
	.media-panel {
		background-attachment: scroll;
		min-height: 560px;
	}

	.header-topbar {
		font-size: 14px;
		max-height: 180px;
	}

	.header-topbar__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		min-height: 0;
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.header-topbar__item {
		white-space: normal;
	}

	.header-topbar__icon {
		height: 18px;
		width: 18px;
	}

	.nav {
		flex-direction: row;
		justify-content: space-between;
		min-height: 82px;
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.site-header.is-compact .nav {
		min-height: 66px;
	}

	.site-header.is-compact .brand img {
		width: 160px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-menu {
		background: var(--color-header-nav);
		box-shadow: var(--shadow);
		display: none;
		flex-direction: column;
		left: 22px;
		gap: 18px;
		align-items: flex-start;
		padding: 20px;
		position: absolute;
		right: 22px;
		top: calc(100% + 8px);
	}

	.nav-menu a {
		font-size: 14px;
		min-height: auto;
		width: 100%;
	}

	.nav-menu::after {
		display: none;
	}

	.nav-menu.is-open {
		display: flex;
	}

	.split,
	.content-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.service-grid,
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.content-layout {
		gap: 34px;
	}

	.aside-cta {
		position: static;
	}
}

@media (max-width: 640px) {
	.media-panel {
		min-height: 430px;
	}

	.hero,
	.hero-slide {
		min-height: 500px;
		padding: 0;
	}

	.page-hero,
	.service-hero,
	.team-hero,
	.contact-hero {
		padding: 58px 0;
	}

	.hero h1,
	.hero h2,
	.team-hero h1,
	.contact-hero h1 {
		font-size: 32px;
	}

	.hero p {
		font-size: 16px;
	}

	.hero__text {
		display: none;
	}

	.hero .btn {
		padding: 17px 25px 20px;
	}

	.split h2,
	.section-heading h2,
	.page-hero h1,
	.cta h2 {
		font-size: 30px;
	}

	.section {
		padding: 50px 0;
	}

	.service-grid,
	.team-grid,
	.stats-grid,
	.contact-strip__grid,
	.feature-list,
	.check-list,
	.gallery {
		grid-template-columns: 1fr;
	}

	.brand img {
		width: 178px;
	}

	.service-popup {
		padding: 16px;
	}

	.service-popup__panel {
		max-height: calc(100vh - 32px);
		padding: 26px 20px;
	}

	.service-popup__header {
		grid-template-columns: 1fr;
		padding-right: 0;
		text-align: center;
	}

	.service-popup__header img {
		margin: 0 auto;
	}

	.service-popup__close {
		position: static;
		margin-left: auto;
		display: block;
	}

	.service-popup__actions .btn {
		width: 100%;
	}
}
