/* FRIENDS – Sauna & Bike switcher */

.fsb {
	--fsb-bg: #faf8f5;
	--fsb-ink: #1a1b1a;
	--fsb-muted: #6b6b66;
	--fsb-gold: #b99d75;
	--fsb-gold-dark: #a68555;
	--fsb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fsb-icon: 60px;

	background: var(--fsb-bg);
	padding: 110px 24px;
	font-family: var(--fsb-font);
	color: var(--fsb-ink);
	-webkit-font-smoothing: antialiased;
}

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

/* Neutralise theme / Elementor typography so the design is stable */
.fsb p,
.fsb h2,
.fsb h3,
.fsb ul,
.fsb li,
.fsb figure {
	margin: 0;
	padding: 0;
	font-family: var(--fsb-font);
	text-transform: none;
}

.fsb img {
	display: block;
	max-width: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.fsb__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 44px;
}

/* ---------- Heading ---------- */
.fsb__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	max-width: 760px;
}

.fsb .fsb__eyebrow {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--fsb-gold);
}

.fsb .fsb__title {
	text-wrap: balance;
	font-size: 40px;
	font-weight: 700;
	line-height: 62px;
	letter-spacing: -1px;
	color: var(--fsb-ink);
}

.fsb .fsb__subtitle {
	font-size: 17px;
	font-weight: 400;
	line-height: 27px;
	color: var(--fsb-muted);
}

/* ---------- Switcher ---------- */
.fsb__switch {
	position: relative;
	display: flex;
	gap: 8px;
	padding: 8px;
	background: #fff;
	border-radius: 100px;
	box-shadow: 0 20px 48px -12px rgba(26, 20, 13, 0.1);
}

.fsb__indicator {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 8px;
	width: calc(50% - 12px);
	background: var(--fsb-ink);
	border-radius: 100px;
	transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.fsb[data-active="bike"] .fsb__indicator {
	transform: translateX(calc(100% + 8px));
}

.fsb .fsb__tab,
.fsb .fsb__tab:hover,
.fsb .fsb__tab:focus,
.fsb .fsb__tab:active {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 320px;
	margin: 0;
	padding: 12px 36px 12px 12px;
	border: 0;
	border-radius: 100px;
	background: transparent;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--fsb-font);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--fsb-ink);
	transition: color 0.3s ease, background-color 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}

.fsb .fsb__tab:not(.is-active):hover {
	background: rgba(26, 27, 26, 0.04);
}

.fsb .fsb__tab.is-active {
	color: #fff;
	cursor: default;
}

.fsb .fsb__tab:focus-visible {
	outline: 2px solid var(--fsb-gold);
	outline-offset: 2px;
}

.fsb__tab-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--fsb-icon);
	height: var(--fsb-icon);
	border-radius: 50%;
	background: var(--fsb-bg);
	overflow: hidden;
	transition: background-color 0.3s ease;
}

.fsb__tab.is-active .fsb__tab-icon {
	background: rgba(255, 255, 255, 0.08);
}

/* Sauna icon: sprite crop exactly as in Figma (36px box inside 60px circle) */
.fsb__sauna-icon {
	position: relative;
	display: block;
	width: 60%;
	height: 60%;
	overflow: hidden;
}

.fsb .fsb__sauna-icon img {
	position: absolute;
	top: 0;
	left: -115.37%;
	width: 208.51%;
	height: 100%;
}

/* Bike icon: white disc + gold bike (56px inside 60px circle) */
.fsb__bike-icon {
	position: relative;
	display: block;
	width: 93.333%;
	height: 93.333%;
	flex: 0 0 auto;
}

.fsb .fsb__bike-icon-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.fsb .fsb__bike-icon-fg {
	position: absolute;
	top: 29.23%;
	right: 23.08%;
	bottom: 29.96%;
	left: 23.08%;
	width: auto;
	height: auto;
}

.fsb__bike-icon--sm {
	width: 48px;
	height: 48px;
}

/* ---------- Panels ---------- */
.fsb__panels {
	width: 100%;
}

.fsb__panel[hidden] {
	display: none;
}

.fsb__panel {
	outline: none;
	border-radius: 28px;
}

.fsb__panel:focus-visible {
	outline: 2px solid var(--fsb-gold);
	outline-offset: 4px;
}

.fsb__panel.is-active {
	animation: fsb-in 0.5s ease both;
}

@keyframes fsb-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.fsb__card {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 620px;
	border-radius: 28px;
	overflow: hidden;
	isolation: isolate;
	background: var(--fsb-ink);
}

.fsb .fsb__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.fsb__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(26, 27, 26, 0.9) 0%, rgba(26, 27, 26, 0.6) 50%, rgba(26, 27, 26, 0) 100%);
}

.fsb__counter {
	position: absolute;
	top: 40px;
	right: 40px;
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 100px;
	background: rgba(26, 27, 26, 0.35);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	line-height: 1.2;
	white-space: nowrap;
}

.fsb__counter b {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
}

.fsb__counter span {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.5);
}

.fsb__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	max-width: 564px;
	padding: 69px 0 69px 64px;
}

.fsb__tag {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
}

.fsb .fsb__card-title {
	text-wrap: balance;
	font-size: 52px;
	font-weight: 700;
	line-height: 58px;
	letter-spacing: -1px;
	color: #fff;
}

.fsb .fsb__text {
	font-size: 17px;
	font-weight: 400;
	line-height: 27px;
	color: rgba(255, 255, 255, 0.82);
}

.fsb .fsb__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 240px));
	gap: 14px 16px;
	width: 100%;
	list-style: none;
}

.fsb .fsb__features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	color: #fff;
}

.fsb .fsb__features img {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

.fsb__buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	padding-top: 8px;
}

.fsb .fsb__amount {
	display: flex;
	align-items: baseline;
	gap: 8px;
	line-height: 1.2;
	white-space: nowrap;
}

.fsb .fsb__amount strong {
	font-size: 56px;
	font-weight: 700;
	letter-spacing: -1.5px;
	color: #fff;
}

.fsb .fsb__amount span {
	font-size: 18px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
}

.fsb .fsb__note {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--fsb-gold);
}

.fsb a.fsb__cta,
.fsb a.fsb__cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 35px;
	border-radius: 60px;
	background: var(--fsb-gold);
	font-family: var(--fsb-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.fsb a.fsb__cta:hover,
.fsb a.fsb__cta:focus-visible {
	background: var(--fsb-gold-dark);
	color: #fff;
	transform: translateY(-1px);
}

.fsb a.fsb__cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.fsb__details {
	position: absolute;
	right: 40px;
	bottom: 40px;
	display: flex;
	gap: 12px;
}

.fsb__detail {
	position: relative;
	width: 200px;
	height: 140px;
	border: 3px solid #fff;
	border-radius: 16px;
	overflow: hidden;
}

.fsb .fsb__detail > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fsb__detail--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px dashed rgba(255, 255, 255, 0.6);
	background: rgba(26, 27, 26, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.fsb__detail--placeholder figcaption {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
}

/* ======================================================
   Tablet & mobile: stacked card (photo on top, text below)
   ====================================================== */
@media (max-width: 1079px) {
	.fsb {
		padding: 88px 24px;
	}

	.fsb .fsb__title {
		font-size: 44px;
		line-height: 52px;
	}

	.fsb__card {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}

	.fsb .fsb__bg {
		bottom: auto;
		height: 460px;
	}

	.fsb__overlay {
		background: linear-gradient(180deg,
			rgba(26, 27, 26, 0.1) 0,
			rgba(26, 27, 26, 0.6) 220px,
			var(--fsb-ink) 440px);
	}

	.fsb__content {
		max-width: 640px;
		padding: 300px 48px 0;
	}

	.fsb__details {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 32px 48px 48px;
		max-width: 640px;
	}

	.fsb__detail {
		width: auto;
		height: auto;
		aspect-ratio: 10 / 7;
	}
}

@media (max-width: 767px) {
	.fsb {
		--fsb-icon: 36px;
		padding: 64px 16px;
	}

	.fsb__inner {
		gap: 28px;
	}

	.fsb__head {
		gap: 10px;
	}

	.fsb .fsb__eyebrow {
		font-size: 12px;
		letter-spacing: 2.4px;
	}

	.fsb .fsb__title {
		font-size: 32px;
		line-height: 38px;
		letter-spacing: -0.6px;
	}

	.fsb .fsb__subtitle {
		font-size: 15px;
		line-height: 23px;
	}

	/* Switcher: tabs stacked as two full-width rows, indicator slides vertically */
	.fsb__switch {
		flex-direction: column;
		width: 100%;
		max-width: 480px;
		gap: 6px;
		padding: 6px;
		border-radius: 28px;
	}

	.fsb__indicator {
		top: 6px;
		right: 6px;
		bottom: auto;
		left: 6px;
		width: auto;
		height: calc(50% - 9px);
		border-radius: 22px;
	}

	.fsb[data-active="bike"] .fsb__indicator {
		transform: translateY(calc(100% + 6px));
	}

	.fsb .fsb__tab,
	.fsb .fsb__tab:hover,
	.fsb .fsb__tab:focus,
	.fsb .fsb__tab:active {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		min-height: 56px;
		justify-content: flex-start;
		gap: 12px;
		padding: 6px 18px 6px 6px;
		border-radius: 22px;
		background: transparent;
		font-size: 16px;
		line-height: 1.2;
		white-space: normal;
	}

	.fsb .fsb__tab-label {
		flex: 1 1 auto;
		min-width: 0;
	}

	.fsb__card,
	.fsb__panel {
		border-radius: 22px;
	}

	.fsb .fsb__bg {
		height: 300px;
	}

	.fsb__overlay {
		background: linear-gradient(180deg,
			rgba(26, 27, 26, 0.05) 0,
			rgba(26, 27, 26, 0.55) 130px,
			var(--fsb-ink) 285px);
	}

	.fsb__counter {
		top: 16px;
		right: 16px;
		padding: 6px 12px;
	}

	.fsb__counter b { font-size: 15px; }
	.fsb__counter span { font-size: 12px; }

	.fsb__content {
		gap: 18px;
		padding: 200px 22px 0;
	}

	.fsb__tag {
		font-size: 11px;
		letter-spacing: 1.2px;
		padding: 7px 12px;
	}

	.fsb .fsb__card-title {
		font-size: 32px;
		line-height: 37px;
		letter-spacing: -0.6px;
	}

	.fsb .fsb__text {
		font-size: 15px;
		line-height: 24px;
	}

	.fsb .fsb__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 12px;
	}

	.fsb .fsb__features li {
		font-size: 14px;
		gap: 8px;
		align-items: flex-start;
	}

	.fsb .fsb__features img {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
	}

	.fsb__buy {
		width: 100%;
		gap: 16px 20px;
		padding-top: 4px;
	}

	.fsb .fsb__amount strong {
		font-size: 44px;
		letter-spacing: -1px;
	}

	.fsb .fsb__amount span {
		font-size: 16px;
	}

	.fsb a.fsb__cta,
	.fsb a.fsb__cta:visited {
		padding: 17px 28px;
		font-size: 15px;
	}

	.fsb__details {
		gap: 10px;
		padding: 24px 22px 22px;
	}

	.fsb__detail {
		border-width: 2px;
		border-radius: 14px;
	}

	.fsb__bike-icon--sm {
		width: 40px;
		height: 40px;
	}

	.fsb__detail--placeholder figcaption {
		font-size: 11px;
	}
}

@media (max-width: 420px) {
	.fsb {
		--fsb-icon: 40px;
	}

	.fsb .fsb__tab,
	.fsb .fsb__tab:hover,
	.fsb .fsb__tab:focus,
	.fsb .fsb__tab:active {
		min-height: 52px;
		font-size: 15px;
	}

	.fsb .fsb__features {
		grid-template-columns: 1fr;
	}

	.fsb a.fsb__cta,
	.fsb a.fsb__cta:visited {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fsb__indicator,
	.fsb .fsb__tab,
	.fsb__tab-icon,
	.fsb a.fsb__cta {
		transition: none;
	}

	.fsb__panel.is-active {
		animation: none;
	}
}
