.up-main > .up-vyzkouset {
	border-top: 0;
}

.up-hero {
	position: relative;
	overflow: hidden;
	background: var(--up-plocha);
}

.up-hero__obrazek {
	position: absolute;
	top: 0;
	bottom: 0;
	left: max(33%, calc(50% - 245px));
	right: 0;
}

.up-hero__obrazek picture {
	position: absolute;
	inset: 0;
}

.up-hero__obrazek img {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	max-width: none;
	height: 100%;
}

@media (min-width: 1025px) {
	.up-hero__obrazek img {
		transform: translateX(-40px) scale(1.14);
		transform-origin: 46% 55%;
	}
}

.up-hero__na-fotce,
.up-hero__doprava,
.up-hero__jen-mobil {
	display: none;
}

.up-hero__in {
	position: relative;
	width: var(--up-sirka);
	margin: 0 auto;
	padding: 56px 0 64px;
}

.up-hero__text {
	max-width: 520px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.up-hero__nadpis {
	font-size: clamp(34px, 3.6vw, 48px);
	line-height: 1.08;
	letter-spacing: -.02em;
}

@media (min-width: 981px) {
	:lang(hu) .up-hero__nadpis {
		font-size: clamp(34px, 3.6vw, 40px);
	}

	:lang(sk) .up-hero__nadpis {
		font-size: clamp(34px, 3.6vw, 46px);
	}
}

.up-hero__perex {
	color: var(--up-ink);
	font-size: 18px;
	line-height: 1.6;
}

.up-hero__body {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--up-ink);
	line-height: 1.5;
}

.up-hero__body li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.up-hero__body .up-fajfka {
	margin-top: 3px;
}

.up-hero__body strong {
	font-weight: 700;
}

.up-hero__akce {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	width: 100%;
	margin-top: 6px;
}

.up-hero__cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.up-hero__cta .up-btn {
	min-width: 220px;
}

.up-hero__pod {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
}

.up-hero__cta-pod {
	color: var(--up-ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.up-hero__cta-pod strong {
	font-weight: 700;
}

.up-hero__video {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 32px;
	padding: 4px;
	border: 0;
	background: transparent;
	color: var(--up-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.up-hero__video-ikona {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--up-ramecek);
	border-radius: 50%;
	background: var(--up-bila);
	box-shadow: 0 6px 14px rgba(29, 23, 96, .12);
	transition: transform .15s ease;
}

.up-hero__video-ikona svg {
	fill: var(--up-ink);
	stroke: var(--up-ink);
	stroke-width: 2;
	stroke-linejoin: round;
}

.up-hero__video:hover .up-hero__video-ikona {
	transform: scale(1.06);
}

.up-hero__video-ikona::after,
.up-hero__video-foto-ikona::after {
	content: "";
	position: absolute;
	inset: -1px;
	border: 2px solid rgba(29, 23, 96, .22);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}

@keyframes up-vlna {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	30%,
	100% {
		transform: scale(1.7);
		opacity: 0;
	}
}

@keyframes up-vlna-mala {
	0% {
		transform: scale(1);
		opacity: 1;
	}

	30%,
	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.up-hero__video-ikona.is-videt::after {
		animation: up-vlna 6s cubic-bezier(.22, .61, .36, 1) 1s infinite;
	}

	.up-hero__video-foto-ikona.is-videt::after {
		animation: up-vlna-mala 6s cubic-bezier(.22, .61, .36, 1) 1s infinite;
	}
}

@media (max-width: 860px) {
	.up-hero {
		background: var(--up-bila);
	}

	.up-hero__obrazek {
		position: relative;
		inset: auto;
		height: 32vh;
		height: clamp(180px, 32svh, 320px);
		background: var(--up-plocha);
	}

	.up-hero__obrazek img {
		position: static;
		width: 100%;
		object-fit: cover;
		object-position: 50% 62%;
	}

	.up-hero__na-fotce {
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 12px;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.up-hero__pilulka {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		height: 34px;
		padding: 0 12px;
		border: 0;
		border-radius: 999px;
		background: var(--up-bila);
		box-shadow: 0 6px 16px rgba(29, 23, 96, .18);
		color: var(--up-ink);
		font: inherit;
		font-size: 13px;
		line-height: 1;
		white-space: nowrap;
		text-decoration: none;
	}

	.up-hero__hodnoceni {
		height: auto;
		min-height: 40px;
		padding: 5px 14px 5px 12px;
		gap: 8px;
	}

	.up-hero__hodnoceni strong {
		font-size: 18px;
		font-weight: 700;
	}

	.up-hero__hodnoceni-detail {
		display: flex;
		flex-direction: column;
		gap: 3px;
	}

	.up-hero__hodnoceni-pocet {
		color: var(--up-text);
		font-size: 11.5px;
		line-height: 1.2;
	}

	.up-hero__hvezdy {
		width: 64px;
	}

	.up-hero__video-foto {
		margin-left: auto;
		gap: 8px;
		padding: 0 14px 0 5px;
		font-weight: 600;
		cursor: pointer;
	}

	.up-hero__video-foto-ikona {
		position: relative;
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: var(--up-zelena);
	}

	.up-hero__video-foto-ikona::after {
		inset: 0;
		border-color: rgba(90, 158, 37, .4);
	}

	.up-hero__video-foto-ikona svg {
		fill: var(--up-bila);
	}

	.up-hero__in {
		padding: 20px 0 28px;
	}

	.up-hero__text {
		max-width: none;
		align-items: stretch;
		gap: 13px;
	}

	.up-hero__nadpis {
		font-size: 30px;
		line-height: 1.12;
	}

	.up-hero__perex {
		color: var(--up-text);
		font-size: 15.5px;
		line-height: 1.5;
	}

	.up-hero__perex-dal,
	.up-hero__body .up-hero__bod-navic,
	.up-hero__jen-pc {
		display: none;
	}

	.up-hero__jen-mobil {
		display: inline;
	}

	.up-hero__body {
		gap: 7px;
		font-size: 14.5px;
		line-height: 1.45;
	}

	.up-hero__body li {
		gap: 10px;
	}

	.up-hero__body .up-fajfka {
		margin-top: 1px;
	}

	.up-hero__akce {
		margin-top: 4px;
	}

	.up-hero__cta {
		width: 100%;
		max-width: 560px;
		align-items: stretch;
	}

	.up-hero__cta .up-btn {
		width: 100%;
		min-width: 0;
	}

	.up-hero__pod {
		justify-content: space-between;
		gap: 6px 10px;
	}

	.up-hero__cta-pod {
		color: var(--up-text);
		font-size: 13px;
		font-weight: 400;
	}

	.up-hero__cta-pod strong {
		color: var(--up-ink);
	}

	.up-hero__doprava {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: var(--up-zelena-text);
		font-size: 13px;
		font-weight: 600;
	}

	.up-hero__doprava svg {
		flex: none;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
		stroke-linejoin: round;
	}

	.up-hero__doprava circle {
		fill: var(--up-bila);
	}

	.up-hero__video {
		display: none;
	}

	.up-hero + .up-vyhody {
		background: var(--up-plocha);
		border-top: 1px solid var(--up-cara-sekce);
	}
}

@media (max-width: 374px) {
	.up-hero__hodnoceni-pocet {
		display: none;
	}
}

.up-funguje {
	padding: var(--up-sekce) 0;
	background: var(--up-plocha-jemna);
	border-top: 1px solid var(--up-cara-sekce);
}

.up-funguje--1 {
	background: var(--up-plocha);
	border-top: 0;
}

.up-funguje__in {
	width: var(--up-sirka);
	margin: 0 auto;
}

.up-funguje__hlava {
	margin: 0 0 clamp(36px, 5vw, 64px);
	text-align: center;
}

.up-funguje__radek {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px clamp(28px, 5vw, 72px);
}

.up-funguje--2 .up-funguje__radek {
	flex-direction: row-reverse;
}

.up-funguje__obrazek {
	flex: 1 1 360px;
	display: flex;
	justify-content: center;
}

.up-funguje__obrazek img {
	width: min(480px, 100%);
}

.up-funguje--1 .up-funguje__obrazek img {
	width: min(300px, 78%);
}

.up-funguje--3 .up-funguje__obrazek img {
	border-radius: 14px;
}

.up-funguje__text {
	flex: 1.3 1 420px;
	min-width: 0;
}

.up-funguje__text p {
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.75;
}

.up-funguje__nadpis {
	margin: 0 0 16px;
	font-size: clamp(24px, 2.6vw, 32px);
}

.up-funguje__doplnek {
	margin: 26px 0 10px;
	font-size: 20px;
	font-weight: 700;
}

.up-vyzkouset {
	padding: 0 0 clamp(44px, 5vw, 72px);
	background: var(--up-plocha-jemna);
}

.up-vyzkouset__in {
	width: var(--up-sirka);
	margin: 0 auto;
	display: flex;
	overflow: hidden;
	border-radius: 999px;
	box-shadow: var(--up-stin-velky);
}

.up-vyzkouset__text {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 48px) clamp(32px, 4vw, 48px) clamp(56px, 8vw, 120px);
	background: var(--up-stitek);
}

.up-vyzkouset__text h3,
.up-vyzkouset__vyzva h3 {
	margin: 0 0 12px;
	font-size: 24px;
}

.up-vyzkouset__text p {
	max-width: 56ch;
	line-height: 1.75;
}

.up-vyzkouset__vyzva {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: clamp(32px, 4vw, 48px) clamp(56px, 8vw, 120px) clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 48px);
	background: var(--up-noc);
	text-align: center;
}

.up-vyzkouset__vyzva h3 {
	margin: 0;
	color: var(--up-bila);
}

.up-vyzkouset__vyzva .up-btn {
	min-width: 180px;
}

@media (max-width: 980px) {
	.up-vyzkouset__in {
		border-radius: var(--up-radius);
	}

	.up-vyzkouset__text,
	.up-vyzkouset__vyzva {
		padding: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 48px);
	}
}

@media (max-width: 860px) {
	.up-vyzkouset__in {
		flex-direction: column;
	}

	.up-vyzkouset__text {
		align-items: center;
		text-align: center;
	}
}

.up-odbornik {
	padding: var(--up-sekce) 0;
	background: var(--up-bila);
}

.up-odbornik__in {
	width: var(--up-sirka);
	margin: 0 auto;
}

.up-odbornik__hlava {
	margin: 0 0 clamp(28px, 4vw, 48px);
	text-align: center;
}

.up-odbornik__karta {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(20px, 3vw, 32px);
	padding: clamp(20px, 3vw, 36px);
	border: 1px solid var(--up-cara);
	border-radius: var(--up-radius-karta);
	background: var(--up-bila);
	box-shadow: var(--up-stin-velky);
}

.up-odbornik__foto {
	flex: none;
	margin: 0 auto;
}

.up-odbornik__foto img {
	width: 200px;
	height: 300px;
	object-fit: cover;
	border-radius: var(--up-radius);
}

.up-odbornik__text {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.up-odbornik__citat {
	position: relative;
	margin: 0;
	padding: 22px 26px;
	border-radius: 12px;
	background: var(--up-avatar);
	color: var(--up-ink);
	font-size: 17px;
	line-height: 1.7;
}

.up-odbornik__citat::before {
	content: "";
	position: absolute;
	left: -10px;
	top: 50%;
	transform: translateY(-50%);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid var(--up-avatar);
}

.up-odbornik__citat p + p {
	margin-top: 12px;
}

.up-odbornik__podpis {
	color: var(--up-ink);
	font-size: 17px;
	font-weight: 700;
}

.up-odbornik__podpis::before {
	content: "— ";
}

@media (max-width: 760px) {
	.up-odbornik__citat::before {
		display: none;
	}
}
