/**
 * FYZIOHOLISTIKA — HEADER
 */

.fyzio-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 50;
	padding: 1.2rem 0;
	background: transparent !important;
	color: #fff;
}

.fyzio-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	height: 140px;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(9, 32, 21, .42) 0%,
		rgba(9, 32, 21, .20) 48%,
		rgba(9, 32, 21, 0) 100%
	);
}

.fyzio-header__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(1.25rem, 2.8vw, 2.8rem);
}

.fyzio-brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	min-width: 0;
}

.fyzio-brand__logo,
.fyzio-brand__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.fyzio-brand__logo .custom-logo {
	width: auto;
	max-width: 54px;
	max-height: 54px;
}

.fyzio-brand__name {
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .055em;
	white-space: nowrap;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

.fyzio-nav {
	justify-self: end;
}

.fyzio-nav__menu,
.fyzio-mobile-nav__menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fyzio-nav__menu {
	display: flex;
	align-items: center;
	gap: clamp(.95rem, 1.8vw, 1.7rem);
}

.fyzio-nav__menu a {
	color: rgba(255,255,255,.94);
	font-size: .84rem;
	font-weight: 700;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .16);
	transition: color .2s ease, opacity .2s ease;
}

.fyzio-nav__menu a:hover,
.fyzio-nav__menu a:focus-visible {
	color: #fff;
}

.fyzio-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: .7rem 1.2rem;
	border: 1px solid rgba(255,255,255,.54);
	border-radius: 999px;
	background: rgba(225,235,191,.92);
	color: var(--fyzio-green-900);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .045em;
	text-transform: uppercase;
	box-shadow: 0 8px 24px rgba(0,0,0,.06);
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.fyzio-header__cta:hover,
.fyzio-header__cta:focus-visible {
	background: #edf2d4;
	border-color: rgba(255,255,255,.72);
	color: var(--fyzio-green-900);
	transform: translateY(-1px);
}

.fyzio-mobile-nav {
	display: none;
	justify-self: end;
	position: relative;
}

.fyzio-mobile-nav summary {
	cursor: pointer;
	list-style: none;
	padding: .7rem .95rem;
	border: 1px solid rgba(255,255,255,.46);
	border-radius: 999px;
	background: rgba(255,255,255,.10);
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.fyzio-mobile-nav summary::-webkit-details-marker {
	display: none;
}

.fyzio-mobile-nav__panel {
	position: absolute;
	right: 0;
	top: calc(100% + .75rem);
	width: min(82vw, 320px);
	padding: 1.2rem;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 20px;
	background: rgba(20,51,38,.97);
	box-shadow: 0 24px 50px rgba(0,0,0,.24);
}

.fyzio-mobile-nav__menu {
	display: grid;
	gap: .85rem;
}

.fyzio-mobile-nav__menu a {
	color: #fff;
	font-weight: 700;
}

.fyzio-mobile-nav__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.2rem;
	min-height: 46px;
	padding: .72rem 1.1rem;
	border: 1px solid rgba(255,255,255,.46);
	border-radius: 999px;
	background: var(--fyzio-action-soft);
	color: var(--fyzio-green-900);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 1120px) {
	.fyzio-brand__name {
		display: none;
	}
}

@media (max-width: 1040px) {
	.fyzio-header__inner {
		grid-template-columns: auto 1fr;
	}

	.fyzio-nav--desktop,
	.fyzio-header__cta {
		display: none;
	}

	.fyzio-mobile-nav {
		display: block;
	}
}

@media (max-width: 760px) {
	.fyzio-header {
		padding: .9rem 0;
	}

	.fyzio-brand__logo .custom-logo {
		max-width: 46px;
		max-height: 46px;
	}
}

/* =========================================================
 * ÚZKÝ FOLD / ROZKLÁDACÍ TELEFON — PORTRÉT
 * ======================================================= */

@media (max-width: 390px) and (min-height: 720px) and (orientation: portrait) {

	.fyzio-header {
		padding: .7rem 0;
	}

	.fyzio-header::before {
		height: 112px;
	}

	.fyzio-header__inner {
		gap: .65rem;
	}

	.fyzio-brand__logo .custom-logo {
		max-width: 40px;
		max-height: 40px;
	}

	.fyzio-mobile-nav summary {
		padding: .56rem .72rem;
		font-size: .7rem;
	}

	.fyzio-mobile-nav__panel {
		right: 0;
		width: min(88vw, 280px);
		padding: 1rem;
		border-radius: 17px;
	}

	.fyzio-mobile-nav__menu {
		gap: .72rem;
	}

	.fyzio-mobile-nav__menu a {
		font-size: .91rem;
	}

	.fyzio-mobile-nav__cta {
		width: 100%;
		justify-content: center;
		margin-top: 1rem;
		font-size: .7rem;
	}
}

