/* =========================================================
   PepX Scientific — Collections
========================================================= */

.collections-page {
	background: var(--pepx-white);
}

/* Hero */

.collections-hero {
	position: relative;
	min-height: 720px;
	padding: 90px 0 105px;
	background:
		radial-gradient(
			circle at 82% 28%,
			rgba(34, 92, 255, 0.14),
			transparent 30%
		),
		linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
	overflow: hidden;
}

.collections-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.collections-hero__glow--one {
	top: -180px;
	right: -130px;
	width: 650px;
	height: 650px;
	background: rgba(58, 108, 255, 0.1);
}

.collections-hero__glow--two {
	bottom: -190px;
	left: 29%;
	width: 430px;
	height: 430px;
	background: rgba(139, 171, 255, 0.14);
	filter: blur(5px);
}

.collections-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
	align-items: center;
	gap: 65px;
}

.collections-hero__content {
	max-width: 690px;
}

.collections-hero h1 {
	margin: 24px 0 26px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(82px, 7.8vw, 128px);
	font-weight: 400;
	line-height: 0.86;
	letter-spacing: 0.005em;
}

.collections-hero h1 span {
	display: block;
	color: var(--pepx-blue);
}

.collections-hero__content > p {
	max-width: 620px;
	margin-bottom: 34px;
	color: var(--pepx-muted);
	font-size: 17px;
	line-height: 1.8;
}

.collections-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.collections-hero__statistics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 570px;
	margin-top: 48px;
	border-top: 1px solid var(--pepx-border);
}

.collections-hero__statistics > div {
	padding: 24px 20px 0 0;
}

.collections-hero__statistics strong {
	display: block;
	margin-bottom: 5px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
}

.collections-hero__statistics span {
	color: var(--pepx-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.collections-hero__visual {
	position: relative;
	min-height: 560px;
}

.collections-orbit {
	position: absolute;
	border-radius: 50%;
}

.collections-orbit--large {
	top: 15px;
	right: 15px;
	width: 510px;
	height: 510px;
	background:
		radial-gradient(
			circle at 34% 28%,
			rgba(255, 255, 255, 0.96),
			rgba(214, 226, 255, 0.52) 46%,
			rgba(226, 235, 255, 0.18)
		);
	border: 1px solid rgba(34, 92, 255, 0.12);
	box-shadow:
		inset 0 0 80px rgba(255, 255, 255, 0.86),
		0 45px 100px rgba(34, 92, 255, 0.12);
}

.collections-orbit--small {
	top: 34px;
	left: 36px;
	width: 110px;
	height: 110px;
	background: linear-gradient(145deg, #ffffff, #ccdcff);
	box-shadow: 0 22px 48px rgba(34, 92, 255, 0.16);
}

.collections-molecule {
	position: absolute;
	z-index: 2;
	top: 90px;
	right: 90px;
	width: 350px;
	height: 260px;
	opacity: 0.7;
}

.collections-molecule::before,
.collections-molecule::after {
	position: absolute;
	height: 2px;
	background: rgba(34, 92, 255, 0.22);
	content: "";
	transform-origin: left center;
}

.collections-molecule::before {
	top: 105px;
	left: 48px;
	width: 245px;
	transform: rotate(-15deg);
}

.collections-molecule::after {
	top: 78px;
	left: 155px;
	width: 180px;
	transform: rotate(55deg);
}

.collections-molecule span {
	position: absolute;
	width: 25px;
	height: 25px;
	background: linear-gradient(145deg, #ffffff, #a9c1ff);
	border: 1px solid rgba(34, 92, 255, 0.2);
	border-radius: 50%;
	box-shadow: 0 12px 26px rgba(34, 92, 255, 0.16);
}

.collections-molecule span:nth-child(1) {
	top: 92px;
	left: 35px;
}

.collections-molecule span:nth-child(2) {
	top: 35px;
	left: 185px;
	width: 42px;
	height: 42px;
}

.collections-molecule span:nth-child(3) {
	top: 116px;
	right: 18px;
}

.collections-molecule span:nth-child(4) {
	bottom: 30px;
	left: 185px;
	width: 34px;
	height: 34px;
}

.collections-molecule span:nth-child(5) {
	right: 45px;
	bottom: 13px;
	width: 53px;
	height: 53px;
}

.collections-vial {
	position: absolute;
	z-index: 4;
	filter: drop-shadow(0 30px 27px rgba(40, 69, 132, 0.2));
}

.collections-vial--front {
	top: 95px;
	right: 145px;
	width: 175px;
	transform: rotate(7deg);
	animation: pepxFloat 6s ease-in-out infinite;
}

.collections-vial--back {
	top: 205px;
	left: 100px;
	width: 132px;
	transform: rotate(-11deg);
	animation: pepxFloat 7s ease-in-out infinite reverse;
}

.collections-vial__cap {
	position: relative;
	z-index: 2;
	width: 72%;
	height: 67px;
	margin: 0 auto -7px;
	background:
		linear-gradient(
			90deg,
			#a2acba,
			#ffffff 21%,
			#8793a3 45%,
			#ffffff 70%,
			#9ca7b5
		);
	border-radius: 20px 20px 11px 11px;
	box-shadow: inset 0 -9px 12px rgba(55, 65, 82, 0.14);
}

.collections-vial__body {
	position: relative;
	height: 260px;
	background:
		linear-gradient(
			90deg,
			rgba(205, 222, 247, 0.68),
			rgba(255, 255, 255, 0.94),
			rgba(191, 214, 246, 0.62)
		);
	border: 1px solid rgba(153, 180, 216, 0.52);
	border-radius: 31px 31px 39px 39px;
	overflow: hidden;
}

.collections-vial__label {
	position: absolute;
	top: 78px;
	right: 8px;
	left: 8px;
	padding: 28px 7px 23px;
	background: rgba(255, 255, 255, 0.93);
	border-top: 1px solid var(--pepx-border);
	border-bottom: 1px solid var(--pepx-border);
	text-align: center;
}

.collections-vial__label span {
	display: block;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 31px;
	letter-spacing: 0.04em;
}

.collections-vial__label strong {
	color: var(--pepx-blue);
	font-weight: 400;
}

.collections-vial__label small {
	display: block;
	margin-top: 7px;
	color: var(--pepx-muted);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.collections-vial--back .collections-vial__cap {
	height: 51px;
}

.collections-vial--back .collections-vial__body {
	height: 205px;
}

.collections-vial--back .collections-vial__label {
	top: 58px;
	padding: 21px 6px 17px;
}

.collections-vial--back .collections-vial__label span {
	font-size: 24px;
}

.collections-hero-card {
	position: absolute;
	z-index: 5;
	right: 0;
	bottom: 12px;
	width: 310px;
	padding: 27px;
	background: rgba(255, 255, 255, 0.77);
	border: 1px solid rgba(255, 255, 255, 0.96);
	border-radius: 26px;
	box-shadow: var(--pepx-shadow-md);
	backdrop-filter: blur(24px);
}

.collections-hero-card > span {
	display: block;
	margin-bottom: 10px;
	color: var(--pepx-blue);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.collections-hero-card strong {
	display: block;
	margin-bottom: 10px;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: 34px;
	font-weight: 400;
	line-height: 1;
}

.collections-hero-card small {
	display: block;
	color: var(--pepx-muted);
	font-size: 10px;
	line-height: 1.65;
}

/* Search */

.collections-search {
	position: relative;
	z-index: 10;
	margin-top: -34px;
}

.collections-search__form {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 12px 12px 12px 23px;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid var(--pepx-border-light);
	border-radius: 999px;
	box-shadow: var(--pepx-shadow-md);
}

.collections-search__icon {
	color: var(--pepx-blue);
}

.collections-search__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.collections-search__form input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 0;
	background: transparent;
	color: var(--pepx-navy);
	border: 0;
	outline: none;
	font-size: 13px;
}

.collections-search__form input[type="search"]::placeholder {
	color: #98a2b3;
}

.collections-search__form button {
	min-height: 48px;
	padding: 0 23px;
	background: var(--pepx-blue);
	color: var(--pepx-white);
	border: 0;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Catalogue */

.collections-catalog {
	padding: 130px 0;
}

.collections-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 45px;
	margin-bottom: 50px;
}

.collections-section-header h2 {
	margin: 18px 0 0;
	color: var(--pepx-navy);
	font-family: var(--pepx-font-heading);
	font-size: clamp(62px, 6vw, 90px);
	font-weight: 400;
	line-height: 0.92;
}

.collections-section-header > p {
	max-width: 430px;
	margin: 0 0 7px;
	color: var(--pepx-muted);
	font-size: 13px;
	line-height: 1.75;
}

.collections-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.collection-card {
	min-width: 0;
	background: var(--pepx-white);
	border: 1px solid var(--pepx-border-light);
	border-radius: 29px;
	box-shadow: 0 15px 42px rgba(16, 24, 40, 0.05);
	overflow: hidden;
	transition:
		transform var(--pepx-transition),
		box-shadow var(--pepx-transition),
		border-color var(--pepx-transition);
}

.collection-card:hover {
	border-color: rgba(34, 92, 255, 0.2);
	box-shadow: 0 30px 75px rgba(16, 24, 40, 0.11);
	transform: translateY(-8px);
}

.collection-card__link {
	display: block;
	height: 100%;
}

.collection-card__visual {
	position: relative;
	height: 330px;
	background:
		radial-gradient(
			circle at 50% 55%,
			rgba(72, 121, 255, 0.17),
			transparent 36%
		),
		linear-gradient(145deg, #fafcff, #eaf1ff);
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.collection-card__visual.has-image::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(16, 24, 40, 0.02),
			rgba(16, 24, 40, 0.34)
		);
	content: "";
}

.collection-card__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(34, 92, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 92, 255, 0.04) 1px, transparent 1px);
	background-size: 39px 39px;
	mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.collection-card__number {
	position: absolute;
	z-index: 3;
	top: 21px;
	left: 22px;
	color: var(--pepx-blue