/* =========================================================
   Solofit Header
   Fixed, transparent over the first section, solid once you
   scroll. On phones the booking button never leaves; the
   menu moves into an off-canvas list of icons.

   It lives in the Theme Builder header template as the
   "Nagłówek Solofit" widget, so Elementor wraps it in its
   own header location and a container. Both are collapsed to
   nothing below: the bar is fixed and takes no room.
   ========================================================= */

:root {
	--sfh-h: 100px;      /* resting height; the hero reads this to clear itself */
	--sfh-h-min: 78px;   /* once the page is scrolled */
	--sfh-gutter: clamp(20px, 5vw, 64px);
	--sfh-ink: #f2f0eb;
	--sfh-accent: #f2b705;
	--sfh-dark: #0d0d0d;
	--sfh-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 1024.98px) {
	:root {
		--sfh-h: 74px;
		--sfh-h-min: 64px;
	}
}

/* Any other header template that still renders stays out of sight; the one
   that carries this widget is the header. */
.elementor-location-header:not(:has([data-sf-header])) {
	display: none !important;
}

/* The location, the container and the widget wrapper around the bar. */
.elementor-location-header:has([data-sf-header]),
.elementor-location-header:has([data-sf-header]) .e-con,
.elementor-location-header:has([data-sf-header]) .e-con-inner,
.elementor-widget-solofit_header,
.elementor-widget-solofit_header > .elementor-widget-container {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

/* ---------------------------------------------------------
   BAR
   --------------------------------------------------------- */

.sfh {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
}

.admin-bar .sfh {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .sfh {
		top: 46px;
	}
}

/* Solid backing, faded in on scroll. Kept on a layer of its own so the blur
   never touches the logo or the links. */
.sfh::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(13, 13, 13, .82);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid rgba(242, 240, 235, .09);
	opacity: 0;
	transition: opacity .3s ease;
}

.sfh.is-stuck::before {
	opacity: 1;
}

/* At the top there is nothing behind the header but video, so a short scrim
   keeps the white type legible over a bright frame. */
.sfh::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: calc(var(--sfh-h) * 1.7);
	z-index: -2;
	background: linear-gradient(to bottom, rgba(13, 13, 13, .6), rgba(13, 13, 13, 0));
	pointer-events: none;
	transition: opacity .3s ease;
}

.sfh.is-stuck::after {
	opacity: 0;
}

.sfh__bar {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	height: var(--sfh-h);
	padding: 0 var(--sfh-gutter);
	transition: height .3s var(--sfh-ease);
}

.sfh.is-stuck .sfh__bar {
	height: var(--sfh-h-min);
}

/* Inside the Elementor editor the bar sits in the flow, on its dark
   backing, so it can be seen and selected. */
.elementor-editor-active .sfh {
	position: relative;
	top: 0;
}

.elementor-editor-active .sfh::before {
	opacity: 1;
}

.elementor-editor-active .sfh::after {
	display: none;
}

/* ---------------------------------------------------------
   LOGO
   A horizontal lockup, 803 x 139. Sized by height; the extra
   class weight beats Elementor's `.elementor img` rule.
   --------------------------------------------------------- */

.sfh__logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	line-height: 0;
}

.sfh .sfh__logo img {
	display: block;
	width: auto;
	height: 30px;
	max-width: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: height .3s var(--sfh-ease);
}

.sfh.is-stuck .sfh__logo img {
	height: 26px;
}

@media (max-width: 1279.98px) {
	.sfh .sfh__logo img {
		height: 24px;
	}

	.sfh.is-stuck .sfh__logo img {
		height: 22px;
	}
}

@media (max-width: 379.98px) {
	.sfh .sfh__logo img {
		height: 19px;
	}

	.sfh.is-stuck .sfh__logo img {
		height: 18px;
	}
}

/* ---------------------------------------------------------
   INLINE NAV (desktop, from 1200px)
   --------------------------------------------------------- */

.sfh__nav {
	margin-left: auto;
}

.sfh__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfh__list li {
	margin: 0;
}

/* Pinned on every state: the theme turns links navy on hover and tap. */
.sfh .sfh__link,
.sfh .sfh__link:visited,
.sfh .sfh__link:active {
	color: rgba(242, 240, 235, .82);
}

.sfh .sfh__link {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-family: "Barlow", sans-serif;
	font-size: .92rem;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease;
}

.sfh__link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--sfh-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .28s var(--sfh-ease);
}

.sfh .sfh__link:hover,
.sfh .sfh__link:focus-visible,
.sfh .sfh__link[aria-current="page"] {
	color: #ffffff;
}

.sfh__link:hover::after,
.sfh__link:focus-visible::after,
.sfh__link[aria-current="page"]::after {
	transform: scaleX(1);
}

.sfh .sfh__link:focus-visible {
	outline: 2px solid var(--sfh-accent);
	outline-offset: 6px;
}

/* Six links and the booking button need about 1100px, so below 1200px the
   menu lives in the off-canvas panel. */
@media (max-width: 1199.98px) {
	.sfh__nav {
		display: none;
	}
}

/* On the narrower desktops everything tightens a little until there is room. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
	.sfh__bar {
		gap: 22px;
	}

	.sfh__list {
		gap: 18px;
	}

	.sfh .sfh__link {
		font-size: .82rem;
		letter-spacing: .03em;
	}

	.sfh .sfh__cta.sfh__cta {
		padding: 12px 18px;
		font-size: .8rem;
		letter-spacing: .04em;
	}
}

/* ---------------------------------------------------------
   ACTIONS: booking button, always there, and the toggle
   --------------------------------------------------------- */

.sfh__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

@media (max-width: 1199.98px) {
	.sfh__actions {
		margin-left: auto;
	}
}

/* The account link, on desktop only: an icon in a frame beside the booking
   button, at its height. Below 1200px it is a row in the menu instead.
   Every state is pinned, the theme recolours links on hover and tap. */
.sfh .sfh__account,
.sfh .sfh__account:visited,
.sfh .sfh__account:hover,
.sfh .sfh__account:focus,
.sfh .sfh__account:active {
	display: none;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(242, 240, 235, .18);
	border-radius: 3px;
	background: rgba(242, 240, 235, .04);
	box-shadow: none;
	color: var(--sfh-ink);
	text-decoration: none;
	outline: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

@media (min-width: 1200px) {
	.sfh .sfh__account.sfh__account {
		display: inline-flex;
	}
}

.sfh__account .sfh-i {
	width: 19px;
	height: 19px;
}

@media (hover: hover) and (pointer: fine) {
	.sfh .sfh__account:hover {
		border-color: rgba(242, 183, 5, .55);
		background: rgba(242, 183, 5, .12);
		color: var(--sfh-accent);
	}
}

.sfh .sfh__account:focus-visible {
	border-color: rgba(242, 183, 5, .55);
	background: rgba(242, 183, 5, .12);
	color: var(--sfh-accent);
	outline: 2px solid var(--sfh-accent);
	outline-offset: 3px;
}

.sfh .sfh__account[aria-current="page"] {
	border-color: rgba(242, 183, 5, .55);
	color: var(--sfh-accent);
}

/* Three classes so these beat .btn-primary.btn-primary without !important. */
.sfh .sfh__cta.sfh__cta {
	padding: 13px 26px;
	font-size: .88rem;
}

.sfh__cta-short {
	display: none;
}

@media (max-width: 1024.98px) {
	.sfh .sfh__cta.sfh__cta {
		padding: 11px 18px;
		font-size: .78rem;
		letter-spacing: .05em;
	}
}

/* Narrow phones: the shorter label, so the button and the toggle both fit. */
@media (max-width: 479.98px) {
	.sfh__cta-full {
		display: none;
	}
	.sfh__cta-short {
		display: inline;
	}
	.sfh .sfh__cta.sfh__cta {
		padding: 11px 14px;
	}
	:root {
		--sfh-gutter: 16px;
	}
}

/* ---------------------------------------------------------
   BUTTONS: the toggle and the close button

   The theme paints every <button> pink (#c36) on hover, focus
   and press, which is the flash seen when the menu closes.
   Every state is pinned here, with enough weight to win.
   --------------------------------------------------------- */

.sfh .sfh__toggle,
.sfh .sfh__toggle:hover,
.sfh .sfh__toggle:focus,
.sfh .sfh__toggle:active,
.sfh-panel .sfh-panel__close,
.sfh-panel .sfh-panel__close:hover,
.sfh-panel .sfh-panel__close:focus,
.sfh-panel .sfh-panel__close:active {
	padding: 0;
	border: 1px solid rgba(242, 240, 235, .18);
	border-radius: 3px;
	background: rgba(242, 240, 235, .04);
	box-shadow: none;
	color: var(--sfh-ink);
	text-decoration: none;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.sfh .sfh__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	transition: border-color .2s ease, background-color .2s ease;
}

@media (max-width: 1199.98px) {
	.sfh .sfh__toggle {
		display: inline-flex;
	}
}

.sfh-panel .sfh-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	transition: border-color .2s ease, background-color .2s ease;
}

/* Real pointer hover and keyboard focus only: a tap must not leave a colour
   behind. */
@media (hover: hover) and (pointer: fine) {
	.sfh .sfh__toggle:hover,
	.sfh-panel .sfh-panel__close:hover {
		border-color: rgba(242, 183, 5, .55);
		background: rgba(242, 183, 5, .12);
	}
}

.sfh .sfh__toggle:focus-visible,
.sfh-panel .sfh-panel__close:focus-visible {
	border-color: rgba(242, 183, 5, .55);
	background: rgba(242, 183, 5, .12);
	outline: 2px solid var(--sfh-accent);
	outline-offset: 3px;
}

.sfh-panel__close svg {
	width: 20px;
	height: 20px;
}

.sfh__bars {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.sfh__bars i {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform .3s var(--sfh-ease), opacity .2s ease, width .3s var(--sfh-ease);
}

.sfh__bars i:nth-child(1) { top: 0; }
.sfh__bars i:nth-child(2) { top: 6px; width: 70%; }
.sfh__bars i:nth-child(3) { top: 12px; }

.sfh.is-open .sfh__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sfh.is-open .sfh__bars i:nth-child(2) { opacity: 0; }
.sfh.is-open .sfh__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------
   OFF-CANVAS
   --------------------------------------------------------- */

.sfh-scrim {
	position: fixed;
	inset: 0;
	z-index: 205;
	background: rgba(4, 4, 4, .62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .32s ease, visibility 0s linear .32s;
}

.sfh-scrim.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity .32s ease, visibility 0s;
}

/* Closed, the panel is invisible rather than absent, so it can slide. The
   delayed visibility is what takes it out of the tab order once it has gone. */
.sfh-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 210;
	display: flex;
	flex-direction: column;
	width: min(92vw, 400px);
	background: #101010;
	border-left: 1px solid rgba(242, 240, 235, .1);
	box-shadow: -34px 0 64px -34px rgba(0, 0, 0, .9);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	visibility: hidden;
	-webkit-tap-highlight-color: transparent;
	transition: transform .38s var(--sfh-ease), visibility 0s linear .38s;
}

.sfh-panel.is-on {
	transform: translateX(0);
	visibility: visible;
	transition: transform .38s var(--sfh-ease), visibility 0s;
}

.admin-bar .sfh-panel {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .sfh-panel {
		top: 46px;
	}
}

.sfh-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: 0 0 auto;
	height: var(--sfh-h);
	padding: 0 22px;
}

.sfh-panel__eyebrow {
	color: rgba(242, 240, 235, .45);
	font-family: "Barlow", sans-serif;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.sfh-panel__nav {
	flex: 1 1 auto;
}

.sfh-panel__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(242, 240, 235, .08);
}

/* Rows arrive one after another once the panel has started moving. */
.sfh-panel__item {
	margin: 0;
	opacity: 0;
	transform: translateX(16px);
	transition: opacity .32s ease, transform .32s var(--sfh-ease);
}

.sfh-panel.is-on .sfh-panel__item {
	opacity: 1;
	transform: none;
	transition-delay: calc(60ms * var(--i, 0) + 120ms);
}

.sfh-panel .sfh-panel__link,
.sfh-panel .sfh-panel__link:hover,
.sfh-panel .sfh-panel__link:focus,
.sfh-panel .sfh-panel__link:active,
.sfh-panel .sfh-panel__link:visited {
	color: var(--sfh-ink);
	text-decoration: none;
}

.sfh-panel .sfh-panel__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 17px 22px;
	border-bottom: 1px solid rgba(242, 240, 235, .08);
	transition: background-color .2s ease;
}

.sfh-panel .sfh-panel__link:focus-visible {
	background: rgba(242, 240, 235, .04);
	outline: 2px solid var(--sfh-accent);
	outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
	.sfh-panel .sfh-panel__link:hover {
		background: rgba(242, 240, 235, .04);
	}
}

.sfh-panel__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(242, 240, 235, .14);
	border-radius: 3px;
	background: rgba(242, 240, 235, .04);
	color: var(--sfh-accent);
	transition: border-color .22s ease, background-color .22s ease, transform .22s var(--sfh-ease);
}

.sfh-panel__icon .sfh-i {
	width: 21px;
	height: 21px;
}

/* The account row closes the list; its icon sits on a warm tint. */
.sfh-panel__item--account .sfh-panel__icon {
	border-color: rgba(242, 183, 5, .4);
	background: rgba(242, 183, 5, .1);
}

.sfh-panel .sfh-panel__link:focus-visible .sfh-panel__icon {
	border-color: rgba(242, 183, 5, .5);
	background: rgba(242, 183, 5, .12);
}

@media (hover: hover) and (pointer: fine) {
	.sfh-panel .sfh-panel__link:hover .sfh-panel__icon {
		border-color: rgba(242, 183, 5, .5);
		background: rgba(242, 183, 5, .12);
		transform: translateY(-1px);
	}
}

.sfh-panel__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.sfh-panel__label {
	font-family: "Barlow", sans-serif;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
}

.sfh-panel .sfh-panel__link[aria-current="page"] .sfh-panel__label {
	color: var(--sfh-accent);
}

.sfh-panel__desc {
	color: rgba(242, 240, 235, .46);
	font-family: "Barlow", sans-serif;
	font-size: .8rem;
	line-height: 1.35;
}

.sfh-panel__chev {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-left: auto;
	color: rgba(242, 240, 235, .3);
	transition: transform .22s var(--sfh-ease), color .22s ease;
}

.sfh-panel .sfh-panel__link:focus-visible .sfh-panel__chev {
	color: var(--sfh-accent);
	transform: translateX(3px);
}

@media (hover: hover) and (pointer: fine) {
	.sfh-panel .sfh-panel__link:hover .sfh-panel__chev {
		color: var(--sfh-accent);
		transform: translateX(3px);
	}
}

/* ---------------------------------------------------------
   PANEL FOOT
   The booking button, then one row: social icons on the
   left, the small print on the right.
   --------------------------------------------------------- */

.sfh-panel__foot {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 18px;
	padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(242, 240, 235, .08);
	background:
		radial-gradient(120% 80% at 50% 120%, rgba(242, 183, 5, .1), transparent 70%),
		#0c0c0c;
}

.sfh-panel .sfh-panel__cta.sfh-panel__cta {
	width: 100%;
	padding: 15px 20px;
	font-size: .92rem;
}

.sfh-panel__cta .sfh-i {
	width: 19px;
	height: 19px;
}

.sfh-panel__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.sfh-panel__social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfh-panel__social li {
	margin: 0;
}

.sfh-panel .sfh-panel__social a,
.sfh-panel .sfh-panel__social a:hover,
.sfh-panel .sfh-panel__social a:focus,
.sfh-panel .sfh-panel__social a:active,
.sfh-panel .sfh-panel__social a:visited {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(242, 240, 235, .16);
	border-radius: 3px;
	background: rgba(242, 240, 235, .04);
	color: rgba(242, 240, 235, .82);
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.sfh-panel .sfh-panel__social a:focus-visible {
	border-color: rgba(242, 183, 5, .55);
	background: rgba(242, 183, 5, .12);
	color: var(--sfh-accent);
	outline: 2px solid var(--sfh-accent);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.sfh-panel .sfh-panel__social a:hover {
		border-color: rgba(242, 183, 5, .55);
		background: rgba(242, 183, 5, .12);
		color: var(--sfh-accent);
	}
}

.sfh-panel__social .sfh-i {
	width: 20px;
	height: 20px;
}

.sfh-panel__note {
	margin: 0;
	color: rgba(242, 240, 235, .38);
	font-family: "Barlow", sans-serif;
	font-size: .78rem;
	letter-spacing: .06em;
	text-align: right;
	text-transform: uppercase;
}

/* ---------------------------------------------------------
   PAGE FIT
   --------------------------------------------------------- */

/* The header floats over the page, so a page that does not open with a
   full-bleed section has to make room for it. A section that opens a page
   and clears the header itself says so with data-sf-flush. The :has() rule
   covers the first paint; the class is the fallback for browsers without
   :has(). The editor keeps the bar in the flow, so it needs neither. */
body:not(.elementor-editor-active):not(:has([data-sf-hero])):not(:has(.sfa--hero)):not(:has([data-sf-flush])) {
	padding-top: var(--sfh-h);
}

body.sfh-offset:not(.elementor-editor-active) {
	padding-top: var(--sfh-h);
}

html.sfh-locked {
	overflow: hidden;
}

@media print {
	.sfh,
	.sfh-scrim,
	.sfh-panel {
		display: none !important;
	}
	body.sfh-offset {
		padding-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfh__bar,
	.sfh .sfh__logo img,
	.sfh__bars i,
	.sfh-panel,
	.sfh-scrim,
	.sfh-panel__item,
	.sfh-panel__icon,
	.sfh-panel__chev,
	.sfh__link::after {
		transition-duration: .01ms;
		transition-delay: 0s;
	}
}
