/* Ekran wyboru: InMed Clinic / Ośrodek Badań Klinicznych */
body.gate {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-height: 100vh;
	color: #243044;
	background:
		radial-gradient(900px 420px at 10% -10%, rgba(50, 139, 80, 0.16), transparent 60%),
		radial-gradient(800px 480px at 110% 110%, rgba(22, 44, 103, 0.14), transparent 55%),
		#f4f8fb;
	font-family: Poppins, "Segoe UI", sans-serif;
}

.gate-bar {
	display: flex;
	justify-content: flex-end;
	padding: 22px 28px 0;
}

.lang-switch {
	display: inline-flex;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(22, 44, 103, 0.08);
}

.lang-switch a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 72px;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	color: #162c67;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.lang-switch a.is-active {
	background: #328b50;
	color: #fff;
}

.lang-switch img {
	width: 18px;
	height: auto;
	display: block;
}

#Top_bar .menu > li > a span:not(.description) {
	padding-left: 12px;
	padding-right: 12px;
}

#Top_bar #menu > ul {
	display: flex;
	align-items: center;
}

#Top_bar .menu > li.menu-lang {
	display: flex;
	align-items: center;
}

#Top_bar .menu > li.menu-lang .lang-switch,
#Side_slide .menu > li.menu-lang .lang-switch {
	margin: 0 8px 0 4px;
	background: #eff6fa;
	box-shadow: none;
}

#Top_bar .menu > li.menu-lang .lang-switch a,
#Side_slide .menu > li.menu-lang .lang-switch a {
	min-width: 0;
	padding: 5px 9px;
	font-size: 12px;
	line-height: 1.2;
}

#Side_slide .menu > li.menu-lang {
	display: flex;
	justify-content: center;
	float: none;
	width: 100%;
	height: auto;
}

#Side_slide .menu > li.menu-lang .lang-switch {
	margin: 14px 0;
}

.gate-main {
	flex: 1 0 auto;
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 12px 24px 48px;
	box-sizing: border-box;
	text-align: center;
}

.gate-logo {
	width: min(240px, 70vw);
	height: auto;
	margin: 8px auto 18px;
	display: block;
}

.gate-kicker {
	margin: 0 0 8px;
	color: #328b50;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gate-main h1 {
	margin: 0 0 12px;
	color: #162c67;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.2;
	font-weight: 600;
}

.gate-lead {
	max-width: 640px;
	margin: 0 auto 36px;
	color: #5c6778;
	font-size: 17px;
	line-height: 1.6;
}

.gate-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	text-align: left;
}

.gate-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 340px;
	padding: 28px 28px 24px;
	border-radius: 24px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	border: 1px solid rgba(22, 44, 103, 0.08);
	box-shadow: 0 14px 36px rgba(22, 44, 103, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gate-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #328b50, #6fbf8a);
}

.gate-card-research::before {
	background: linear-gradient(90deg, #162c67, #3b559a);
}

.gate-card:hover,
.gate-card:focus {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(22, 44, 103, 0.12);
	outline: none;
}

.gate-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: #eef6f2;
	color: #328b50;
}

.gate-card-research .gate-ico {
	background: #eef2fa;
	color: #162c67;
}

.gate-eyebrow {
	display: block;
	margin-bottom: 6px;
	color: #328b50;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.gate-card-research .gate-eyebrow {
	color: #3b559a;
}

.gate-card h2 {
	margin: 0 0 12px;
	color: #162c67;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
}

.gate-card p {
	margin: 0 0 18px;
	color: #5c6778;
	font-size: 15px;
	line-height: 1.65;
}

.gate-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.gate-tags span {
	padding: 5px 11px;
	border-radius: 999px;
	background: #f4f8fb;
	color: #162c67;
	font-size: 12px;
	font-weight: 600;
}

.gate-go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: auto;
	padding: 11px 16px;
	border-radius: 999px;
	background: #328b50;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.gate-card-research .gate-go {
	background: #162c67;
}

.gate-card:hover .gate-go,
.gate-card:focus .gate-go {
	background: #2a7644;
}

.gate-card-research:hover .gate-go,
.gate-card-research:focus .gate-go {
	background: #3b559a;
}

.gate-footer {
	background: #fff;
	border-top: 1px solid #e4edf3;
}

.gate-footer-inner {
	max-width: 1040px;
	margin: 0 auto;
	padding: 36px 24px 18px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 28px 32px;
	box-sizing: border-box;
	text-align: left;
}

.gate-footer img {
	width: 128px;
	height: auto;
	display: block;
	margin-bottom: 14px;
}

.gate-footer h2 {
	margin: 0 0 8px;
	color: #162c67;
	font-size: 15px;
	font-weight: 600;
}

.gate-footer p {
	margin: 0 0 4px;
	color: #5c6778;
	font-size: 14px;
	line-height: 1.55;
}

.gate-footer a {
	color: #162c67;
	text-decoration: none;
}

.gate-footer a:hover {
	color: #328b50;
}

.gate-copy {
	margin: 8px 0 0;
	padding: 14px 24px 18px;
	background: #f4f8fb;
	color: #7b8494;
	font-size: 12px;
	text-align: center;
}

@media (max-width: 760px) {
	.gate-choices,
	.gate-footer-inner {
		grid-template-columns: 1fr;
	}

	.gate-card {
		min-height: 0;
	}
}

/* Tabela cennika w układzie motywu */
.column_attr table.price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 10px 0 24px;
}

.column_attr table.price-table th,
.column_attr table.price-table td {
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #e4edf3;
}

.column_attr table.price-table th {
	background: #162c67;
	color: #fff;
	font-weight: 600;
}

.column_attr table.price-table td:nth-child(2) {
	color: #328b50;
	font-weight: 700;
	white-space: nowrap;
}

.phone-slot {
	font-weight: 600;
	color: #162c67;
}

.neuro-ico {
	width: 88px;
	height: 88px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #eef6f2;
	color: #328b50;
	font-size: 30px;
	line-height: 88px;
	text-align: center;
}

.neuro-price {
	margin: 0 0 6px;
	color: #328b50;
	font-family: Poppins, sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.15;
}

.neuro-note {
	margin: 18px 0 0;
	padding: 18px 22px;
	background: #eff6fa;
	color: #162c67;
}

@media (min-width: 768px) {
	.neuro-split {
		border-right: 1px solid #eff6fa;
	}
}

body.clinic-start #Header {
	min-height: 0;
}

.clinic-close .column {
	margin-bottom: 0;
}

.clinic-close-inner {
	max-width: 680px;
	margin: 0 auto;
	float: none;
}

.clinic-close-rule {
	display: block;
	width: 48px;
	height: 3px;
	margin: 6px auto 28px;
	background: #328b50;
}

.clinic-close-inner p {
	margin-bottom: 16px;
}

.clinic-close-inner .button {
	margin-top: 18px;
}

.section[id] {
	scroll-margin-top: 120px;
}

@media (max-width: 700px) {
	.column_attr table.price-table thead {
		display: none;
	}

	.column_attr table.price-table,
	.column_attr table.price-table tbody,
	.column_attr table.price-table tr,
	.column_attr table.price-table td {
		display: block;
		width: 100%;
	}

	.column_attr table.price-table tr {
		margin-bottom: 14px;
		border: 1px solid #e4edf3;
	}

	.column_attr table.price-table td:before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		color: #162c67;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.column_attr table.price-table td:nth-child(2) {
		white-space: normal;
	}
}

/* unused marker so the old clinic block can be removed below */
