/* =========================================================
   Solofit Footer
   Black, quiet, in the site's own type: a booking line on
   top, then the logo and three short columns, then one thin
   bottom bar. Hairlines and the yellow accent do the work;
   no boxes, no photos.

   It lives in the Theme Builder footer template as the
   "Stopka Solofit" widget. Elementor's container around it
   is collapsed below so the footer owns its own spacing.
   ========================================================= */

.elementor-location-footer:has([data-sff]) .e-con,
.elementor-location-footer:has([data-sff]) .e-con-inner,
.elementor-widget-solofit_footer,
.elementor-widget-solofit_footer > .elementor-widget-container {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.sff {
	--sff-bg: #070707;
	--sff-ink: #f2f0eb;
	--sff-soft: rgba(242, 240, 235, .78);
	--sff-muted: rgba(242, 240, 235, .56);
	--sff-faint: rgba(242, 240, 235, .4);
	--sff-line: rgba(242, 240, 235, .09);
	--sff-accent: #f2b705;
	--sff-head: "Chakra Petch";
	--sff-body: "Barlow";
	--sff-ease: cubic-bezier(.22, .61, .36, 1);
	/* The screen height in pixels, fixed while the page is open (snippet
	   10385), never svh. */
	--sff-screen: var(--sf-screen, 820px);

	position: relative;
	width: 100%;
	background: var(--sff-bg);
	color: var(--sff-ink);
	font-family: var(--sff-body), sans-serif;
	border-top: 1px solid var(--sff-line);
	-webkit-tap-highlight-color: transparent;
}

.sff *,
.sff *::before,
.sff *::after {
	box-sizing: border-box;
}

.sff ::selection {
	background: rgba(242, 183, 5, .28);
	color: var(--sff-ink);
}

.sff__inner {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding: 3.5rem 1.15rem 1.5rem;
}

/* ---------- booking line ---------- */

.sff__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	padding-bottom: 2.75rem;
	border-bottom: 1px solid var(--sff-line);
}

.sff__cta-t {
	margin: 0;
	font-family: var(--sff-head), sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 7.5vw, 2.4rem);
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--sff-ink);
	text-wrap: balance;
}

.sff__cta-t em {
	font-style: italic;
	color: var(--sff-accent);
}

/* Three classes so this beats .btn-primary.btn-primary. */
.sff .sff__cta-btn.sff__cta-btn {
	flex: none;
	gap: .65rem;
}

.sff__cta-btn .sff-i {
	width: 18px;
	height: 18px;
}

/* ---------- columns ---------- */

.sff__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
	padding: 2.75rem 0;
}

.sff__brand,
.sff__col--contact {
	grid-column: 1 / -1;
}

.sff__logo {
	display: inline-flex;
	line-height: 0;
}

/* Two classes and the element: Elementor's `.elementor img` rule would
   otherwise win. */
.sff .sff__logo img {
	display: block;
	width: auto;
	height: 26px;
	max-width: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.sff__tagline {
	max-width: 32ch;
	margin: 1.15rem 0 0;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--sff-muted);
}

.sff__social {
	display: flex;
	gap: 10px;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.sff__social li,
.sff__links li,
.sff__contact li,
.sff__legal li {
	margin: 0;
}

.sff__col-t {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 1.15rem;
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #8a8a85;
}

/* The octagonal dot, the Chakra Petch full stop. */
.sff__col-t::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	background: var(--sff-accent);
	clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}

.sff__links {
	display: grid;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sff__contact {
	display: grid;
	gap: .85rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.sff__contact li {
	display: grid;
	grid-template-columns: 1.1rem minmax(0, 1fr);
	gap: .7rem;
	align-items: start;
	font-size: .95rem;
	line-height: 1.45;
	color: var(--sff-soft);
	overflow-wrap: anywhere;
}

.sff__contact-ico {
	padding-top: .12rem;
	color: var(--sff-accent);
}

.sff__contact-ico .sff-i {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
}

/* ---------- links: every state pinned, the theme turns links navy ---------- */

.sff .sff__links a,
.sff .sff__links a:hover,
.sff .sff__links a:focus,
.sff .sff__links a:active,
.sff .sff__links a:visited,
.sff .sff__contact a,
.sff .sff__contact a:hover,
.sff .sff__contact a:focus,
.sff .sff__contact a:active,
.sff .sff__contact a:visited {
	color: var(--sff-soft);
	text-decoration: none;
}

.sff .sff__links a,
.sff .sff__contact a {
	font-size: .95rem;
	line-height: 1.35;
	background: linear-gradient(var(--sff-accent), var(--sff-accent)) 0 100% / 0 1px no-repeat;
	padding-bottom: 2px;
	transition: color .2s ease, background-size .25s var(--sff-ease);
}

.sff .sff__social a,
.sff .sff__social a:hover,
.sff .sff__social a:focus,
.sff .sff__social a:active,
.sff .sff__social a:visited {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(242, 240, 235, .16);
	border-radius: 3px;
	background: rgba(242, 240, 235, .03);
	color: var(--sff-soft);
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.sff__social .sff-i {
	width: 19px;
	height: 19px;
}

.sff .sff__more,
.sff .sff__more:hover,
.sff .sff__more:focus,
.sff .sff__more:active,
.sff .sff__more:visited {
	color: var(--sff-accent);
	text-decoration: none;
}

.sff .sff__more {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 40px;
	font-family: var(--sff-head), sans-serif;
	font-weight: 600;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.sff__more .sff-i {
	width: 1rem;
	height: 1rem;
	transition: transform .2s ease;
}

/* "Moje konto" under the navigation: the same yellow link, led by a person. */
.sff .sff__account {
	margin-top: 1rem;
}

.sff__account-ico {
	display: inline-flex;
}

.sff__account-ico .sff-i {
	width: 1.05rem;
	height: 1.05rem;
}

.sff .sff__legal a,
.sff .sff__legal a:hover,
.sff .sff__legal a:focus,
.sff .sff__legal a:active,
.sff .sff__legal a:visited {
	color: var(--sff-muted);
	text-decoration: none;
}

.sff .sff__top,
.sff .sff__top:hover,
.sff .sff__top:focus,
.sff .sff__top:active,
.sff .sff__top:visited {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	min-height: 40px;
	padding: 0 .85rem;
	border: 1px solid rgba(242, 240, 235, .14);
	border-radius: 3px;
	background: transparent;
	color: var(--sff-muted);
	text-decoration: none;
	font-family: var(--sff-head), sans-serif;
	font-weight: 600;
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: border-color .2s ease, color .2s ease;
}

.sff__top .sff-i {
	width: 15px;
	height: 15px;
}

/* Pointer hover only, so a tap leaves nothing behind. */
@media (hover: hover) and (pointer: fine) {
	.sff .sff__links a:hover,
	.sff .sff__contact a:hover {
		color: var(--sff-ink);
		background-size: 100% 1px;
	}

	.sff .sff__social a:hover {
		border-color: rgba(242, 183, 5, .55);
		background: rgba(242, 183, 5, .1);
		color: var(--sff-accent);
	}

	.sff .sff__more:hover .sff-i {
		transform: translateX(3px);
	}

	/* Only the arrow moves; the person stays put. */
	.sff .sff__more:hover .sff__account-ico .sff-i {
		transform: none;
	}

	/* A link that leaves the site has a diagonal arrow; it moves along it. */
	.sff .sff__more--ext:hover .sff-i {
		transform: translate(2px, -2px);
	}

	.sff .sff__legal a:hover {
		color: var(--sff-ink);
	}

	.sff .sff__top:hover {
		border-color: rgba(242, 183, 5, .55);
		color: var(--sff-accent);
	}
}

.sff a:focus-visible {
	outline: 2px solid var(--sff-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- bottom bar ---------- */

.sff__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--sff-line);
	font-size: .8rem;
	line-height: 1.5;
	color: var(--sff-faint);
}

.sff__copy {
	display: flex;
	flex-wrap: wrap;
	gap: .2rem .9rem;
	margin: 0;
}

.sff__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- sizes ---------- */

@media (min-width: 768px) {
	.sff__inner {
		padding-inline: 2rem;
	}

	.sff__cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
	}

	.sff__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sff__col--contact {
		grid-column: auto;
	}

	.sff__bottom {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: .75rem 1.75rem;
	}

	.sff__copy {
		flex: 1 1 auto;
	}
}

@media (min-width: 1025px) {
	.sff__inner {
		padding: clamp(4.5rem, calc(var(--sff-screen) * .09), 6rem) 3rem 2rem;
	}

	.sff__cta {
		padding-bottom: clamp(3rem, calc(var(--sff-screen) * .06), 4rem);
	}

	.sff__cta-t {
		font-size: clamp(2.2rem, 3.6vw, 3.25rem);
	}

	.sff__grid {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
		gap: clamp(2rem, 4vw, 4.5rem);
		padding: clamp(3rem, calc(var(--sff-screen) * .07), 4.5rem) 0;
	}

	.sff__brand {
		grid-column: auto;
	}

	.sff .sff__logo img {
		height: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sff *,
	.sff *::before,
	.sff *::after {
		transition-duration: .01ms !important;
	}
}

@media print {
	.sff__cta,
	.sff__social,
	.sff__top {
		display: none;
	}
}
