/**
 * Hero „discovery” — strona główna.
 */

.lmb-hero-discovery {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(8rem, 19vh, 14rem);
	width: 100%;
	margin: 0;
	padding: clamp(0.5rem, 1.5vw, 0.75rem) 0 clamp(0.65rem, 1.5vw, 1rem);
	overflow: hidden;
	isolation: isolate;
}

.lmb-hero-discovery__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(
			165deg,
			rgba(5, 8, 16, 0.97) 0%,
			rgba(13, 27, 42, 0.88) 42%,
			rgba(20, 35, 55, 0.75) 100%
		),
		radial-gradient(ellipse 120% 80% at 50% 120%, rgba(230, 184, 0, 0.12), transparent 55%),
		linear-gradient(180deg, #050810 0%, #0d1b2a 100%);
}

.lmb-hero-discovery__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(36px);
	opacity: 0.22;
	pointer-events: none;
	z-index: 1;
}

.lmb-hero-discovery__glow--1 {
	width: min(21vw, 10rem);
	height: min(21vw, 10rem);
	top: -22%;
	right: -6%;
	background: var(--primary-theme-color, #e6b800);
}

.lmb-hero-discovery__glow--2 {
	width: min(18vw, 8rem);
	height: min(18vw, 8rem);
	bottom: -5%;
	left: -8%;
	background: #4a90d9;
	opacity: 0.15;
}

.lmb-hero-discovery__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 44rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(0.75rem, 3vw, 1rem);
	padding-right: clamp(0.75rem, 3vw, 1rem);
}

.lmb-hero-discovery__title {
	font-family: "Montserrat", "Inter", system-ui, -apple-system, sans-serif;
	font-weight: 800;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 clamp(0.2rem, 0.8vw, 0.35rem);
	text-wrap: balance;
}

.lmb-hero-discovery__subtitle {
	font-family: "Inter", system-ui, sans-serif;
	font-size: clamp(0.7rem, 1.35vw, 0.8125rem);
	line-height: 1.35;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.68);
	margin: 0 auto clamp(0.5rem, 1.25vw, 0.75rem);
	max-width: 32rem;
	text-wrap: balance;
}

/* Search */
.lmb-hero-discovery__search {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 34rem;
	margin: 0 auto clamp(0.4rem, 1vw, 0.6rem);
	min-height: 2.25rem;
	background: rgba(255, 255, 255, 0.98);
	border-radius: 999px;
	box-shadow:
		0 2px 12px rgba(0, 0, 0, 0.14),
		0 1px 2px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease, transform 0.2s ease;
	padding: 0.1rem 0.2rem 0.1rem 0.55rem;
	gap: 0.2rem;
}

.lmb-hero-discovery__search:hover {
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.22),
		0 2px 8px rgba(0, 0, 0, 0.1);
}

.lmb-hero-discovery__search:focus-within {
	box-shadow:
		0 8px 36px rgba(0, 0, 0, 0.24),
		0 0 0 3px rgba(230, 184, 0, 0.45);
}

.lmb-hero-discovery__search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(13, 27, 42, 0.45);
	font-size: 0.8rem;
	flex-shrink: 0;
	padding-left: 0.1rem;
}

.lmb-hero-discovery__search-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-size: clamp(0.75rem, 2vw, 0.875rem);
	color: #0d1b2a;
	outline: none;
	padding: 0.25rem 0.25rem;
	font-family: "Inter", system-ui, sans-serif;
}

.lmb-hero-discovery__search-input::placeholder {
	color: rgba(13, 27, 42, 0.45);
}

.lmb-hero-discovery__search-submit {
	flex-shrink: 0;
	border: 0;
	border-radius: 999px;
	padding: 0 0.65rem;
	font-weight: 600;
	font-size: 0.7rem;
	font-family: "Montserrat", "Inter", sans-serif;
	cursor: pointer;
	background: var(--primary-theme-color, #e6b800);
	color: #0d1b2a;
	transition: filter 0.2s ease, transform 0.15s ease;
}

.lmb-hero-discovery__search-submit:hover {
	filter: brightness(1.06);
}

.lmb-hero-discovery__search-submit:active {
	transform: scale(0.98);
}

/* Pills */
.lmb-hero-discovery__pills-wrap {
	width: 100%;
	max-width: 38rem;
	margin: 0 auto;
	padding: 0 0.15rem;
}

.lmb-hero-discovery__pills {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.3rem;
	justify-content: flex-start;
	list-style: none;
	margin: 0;
	padding: 0.1rem 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
	mask-image: linear-gradient(to right, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
}

@media (min-width: 768px) {
	.lmb-hero-discovery__pills {
		flex-wrap: wrap;
		justify-content: center;
		overflow-x: visible;
		mask-image: none;
		-webkit-mask-image: none;
	}
}

.lmb-hero-discovery__pills::-webkit-scrollbar {
	height: 4px;
}

.lmb-hero-discovery__pills::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 4px;
}

.lmb-hero-discovery__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	padding: 0.22rem 0.55rem;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-family: "Montserrat", "Inter", sans-serif;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease;
	scroll-snap-align: start;
}

.lmb-hero-discovery__pill:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.lmb-hero-discovery__pill.is-active {
	background: var(--primary-theme-color, #e6b800);
	border-color: transparent;
	color: #0d1b2a;
}

.lmb-hero-discovery__pill.is-active:hover {
	filter: brightness(1.05);
	color: #0d1b2a;
}

/* Spacing when hero is present */
body.lmb-has-discovery-hero #content.mt-5 {
	margin-top: 0.85rem !important;
}

@media (min-width: 992px) {
	body.lmb-has-discovery-hero #content.mt-5 {
		margin-top: 1rem !important;
	}
}
