/* Home page */
main.page-template-home {
	max-width: none;
	width: 100%;
}

.home-banner {
	position: relative;
	direction: ltr;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin-left: -50vw;
	min-height: clamp(430px, 50vw, 650px);
	overflow: hidden;
	background: #edf5ff;
}

.home-banner__track {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: row;
	will-change: transform;
	transition: transform 850ms cubic-bezier(.22, 1, .36, 1);
}

.home-banner__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	overflow: hidden;
}

.home-banner__slide.is-active {
	z-index: 1;
}

.home-banner__track.is-dragging {
	cursor: grabbing;
	transition: none;
}

.home-banner__track.is-jumping {
	transition: none;
}

.home-banner__track.is-dragging .home-banner__slide {
	pointer-events: none;
}

.home-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	pointer-events: none;
	transform: scale(1.025);
	will-change: transform;
	transition: transform 6500ms cubic-bezier(.22, 1, .36, 1);
}

.home-banner__slide.is-active .home-banner__image {
	transform: scale(1);
}

.home-banner__content {
	position: absolute;
	top: 50%;
	left: max(7vw, calc((100vw - var(--container-max-width)) / 2 + 50px));
	width: min(42%, 590px);
	opacity: 0;
	transform: translate3d(0, calc(-50% + 16px), 0);
	z-index: 2;
	will-change: opacity, transform;
	transition:
		opacity 600ms cubic-bezier(.22, 1, .36, 1),
		transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.home-banner__slide.is-active .home-banner__content {
	opacity: 1;
	transform: translate3d(0, -50%, 0);
	transition-delay: 180ms;
}

.home-banner__track {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.home-banner__eyebrow {
	display: inline-flex;
	margin: 0 0 20px;
	padding: 7px 13px;
	border-radius: 4px;
	background: #e8f2ff;
	color: #0758d1;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	line-height: 1;
	text-transform: uppercase;
}

.home-banner h1,
.home-banner h2 {
	margin: 0;
	color: #101a35;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: var(--potf-type-display);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.08;
	text-transform: uppercase;
}

.home-banner h1 span,
.home-banner h2 span {
	color: var(--potf-primary);
}

.home-banner__description {
	max-width: 540px;
	margin: 22px 0 0;
	color: #4e5c70;
	font-size: clamp(13px, 1.05vw, 16px);
	line-height: 1.75;
}

.home-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.home-banner__button {
	display: inline-flex;
	min-height: 46px;
	padding: 0 26px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--potf-primary);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .025em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.home-banner__button:hover {
	transform: translateY(-2px);
}

.home-banner__button--primary {
	background: var(--potf-primary);
	color: #fff;
}

.home-banner__button--primary:hover {
	background: #003f9f;
	color: #fff;
}

.home-banner__button--secondary {
	background: rgba(255, 255, 255, .75);
	color: var(--potf-primary);
}

.home-banner__button--secondary:hover {
	background: #fff;
	color: #003f9f;
}

.home-banner__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 8px 28px rgba(23, 59, 110, .13);
	color: #1762c4;
	font-size: 30px;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 200ms ease, transform 200ms ease;
}

.home-banner button.home-banner__arrow {
	-webkit-appearance: none;
	appearance: none;
	background-color: rgba(255, 255, 255, .9);
	color: #1762c4;
	touch-action: manipulation;
}

.home-banner button.home-banner__arrow:hover,
.home-banner button.home-banner__arrow:focus,
.home-banner button.home-banner__arrow:active {
	background-color: #fff;
	color: #1762c4;
}

.home-banner button.home-banner__arrow:focus-visible {
	outline: 2px solid var(--potf-primary, #0057d9);
	outline-offset: 3px;
}

.home-banner__arrow svg {
	display: block;
	width: 20px;
	height: 20px;
}

.home-banner__arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.06);
}

.home-banner__arrow--previous {
	left: 20px;
}

.home-banner__arrow--next {
	right: 20px;
}

.home-banner__dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	z-index: 3;
	display: flex;
	gap: 9px;
	transform: translateX(-50%);
}

.home-banner__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #a9c5e9;
	cursor: pointer;
	transition: width 200ms ease, background-color 200ms ease;
}

.home-banner__dot.is-active {
	width: 24px;
	border-radius: 999px;
	background: var(--potf-primary);
}

.page-template-home>.page-content {
	padding: 72px 24px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--potf-text);
}

/* ======================================================================
   Home – Top Performing Peptides Section
   ====================================================================== */

.home-products {
	padding: 80px 0px 90px;
	/* background: var(--bg-secondary, #F3F8FF); */
}

.home-products__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}

.home-products__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 6px;
	background: #e8f2ff;
	color: var(--potf-primary, #0057D9);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
}

.home-products__heading {
	margin: 16px 0 0;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: var(--potf-type-content-title);
	font-weight: 800;
	line-height: 1.15;
	color: var(--potf-secondary, #0B1F3A);
}

.home-products__heading span {
	color: var(--potf-primary, #0057D9);
}

.home-products__subheading {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--potf-text-soft, #5F6F89);
	line-height: 1.5;
}

.home-products__view-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	border: 2px solid var(--potf-primary, #0057D9);
	border-radius: 999px;
	background: transparent;
	color: var(--potf-primary, #0057D9);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.home-products__view-all:hover {
	background: var(--potf-primary, #0057D9);
	color: #ffffff;
	transform: translateY(-2px);
}

.home-products__view-all svg {
	transition: transform 250ms ease;
}

.home-products__view-all:hover svg {
	transform: translateX(4px);
}

/* Products Grid – 4 columns on desktop */
.home-products__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

@media (min-width: 641px) and (max-width: 1024px) {
	.home-products > .wrap {
		padding-inline: 24px;
	}
}

@media (max-width: 960px) {
	.home-products__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-products__header {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.home-products {
		padding: 56px 16px 64px;
	}

	.home-products__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

}

@media (max-width: 400px) {
	.home-products__grid {
		grid-template-columns: 1fr;
		max-width: 340px;
	}
}

/* ======================================================================
   Home – Why Researchers Choose Us Section
   ====================================================================== */
.home-features {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin-left: -50vw;
	padding: 110px 24px;
	background: #ffffff;
	overflow: hidden;
	box-sizing: border-box;
}

/* Background molecule image on the left */
.home-features::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 42%;
	height: 100%;
	background: url('../images/home/molecule_features.png') no-repeat left center;
	background-size: contain;
	opacity: 0.65;
	pointer-events: none;
	z-index: 1;

}

/* Subtle molecule watermark to balance wide desktop screens */
.home-features::after {
	content: "";
	position: absolute;
	top: 8%;
	right: -90px;
	width: clamp(260px, 20vw, 390px);
	height: 84%;
	background: url('../images/home/molecule_features.png') no-repeat right center;
	background-size: contain;
	opacity: 0.055;
	transform: scaleX(-1) rotate(-4deg);
	pointer-events: none;
	z-index: 0;
}

.home-features__layout {
	position: relative;
	display: grid;
	width: min(100%, 1360px);
	max-width: 1360px;
	margin-inline: auto;
	grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.45fr);
	gap: clamp(48px, 4vw, 76px);
	align-items: center;
	z-index: 2;
	text-align: center;

}

.home-features__left {
	padding-right: 10px;
}

.home-features__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 6px;
	background: #e8f2ff;
	color: var(--potf-primary, #0057D9);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
}

.home-features__heading {
	margin: 20px 0 0;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: var(--potf-type-section-title);
	font-weight: 800;
	line-height: 1.15;
	color: var(--potf-secondary, #0B1F3A);
}

.home-features__heading span {
	color: var(--potf-primary, #0057D9);
}

.home-features__description {
	margin: 22px 0 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--potf-text-soft, #5F6F89);
}

.home-features__button {
	display: inline-flex;
	align-items: center;
	margin-top: 32px;
	padding: 13px 32px;
	border-radius: 999px;
	background: var(--potf-primary, #0057D9);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 87, 217, 0.2);
	transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.home-features__button:hover {
	background: #003f9f;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 87, 217, 0.3);
}

/* Right Side - Grid of Cards */
.home-features__right {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* Feature Card */
.feature-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px 24px;
	border: 1px solid rgba(0, 87, 217, 0.06);
	box-shadow: 0 4px 20px rgba(11, 31, 58, 0.02);
	transition: transform 300ms cubic-bezier(.22, 1, .36, 1), box-shadow 300ms cubic-bezier(.22, 1, .36, 1);
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 87, 217, 0.08);
}

.feature-card__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: linear-gradient(145deg, #f6faff 0%, #e7f1ff 100%);
	color: #0758d1;
	margin-bottom: 22px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .9),
		0 10px 22px rgba(7, 88, 209, .08);
}

.feature-card__icon-wrap svg {
	width: 36px;
	height: 36px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.85;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature-card__title {
	margin: 0;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--potf-secondary, #0B1F3A);
	line-height: 1.35;
}

.feature-card__text {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--potf-text-soft, #5F6F89);
}

/* --- Features Responsive --- */
@media (max-width: 1200px) {
	.home-features {
		padding: 64px 24px;
	}

	.home-features::before {
		display: none;
	}

	.home-features__layout {
		grid-template-columns: 1fr;
	}

	.home-features__left {
		display: none;
	}

	.home-features__right {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 960px) {
	.home-features::after {
		display: none;
	}

	.home-features__right {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.home-features {
		padding: 56px 16px;
	}

	.home-features__right {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.feature-card {
		padding: 24px 20px;
	}
}

/* ======================================================================
   Responsive – Banner
   ====================================================================== */
@media (max-width: 900px) {
	.home-banner {
		min-height: 540px;
	}

	.home-banner__image {
		object-position: 62% center;
	}

	.home-banner__slide::after {
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .88) 45%, rgba(255, 255, 255, .06) 82%);
		content: "";
	}

	.home-banner__content {
		left: 54px;
		width: min(56%, 500px);
	}
}

@media (max-width: 640px) {
	.home-banner {
		min-height: 580px;
	}

	.home-banner__image {
		object-position: 69% center;
	}

	.home-banner__slide::after {
		background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 65%, rgba(255, 255, 255, .35) 100%);
	}

	.home-banner__content {
		left: 28px;
		width: calc(100% - 56px);
	}

	.home-banner__description {
		max-width: 90%;
		font-size: 13px;
	}

	.home-banner__arrow {
		display: none;
	}

	.home-banner__dots {
		bottom: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.home-banner__slide,
	.home-banner__track,
	.home-banner__image,
	.home-banner__content,
	.home-banner__button,
	.home-banner__arrow,
	.home-banner__dot {
		transition: none;
	}
}

/* Home - Trust & Quality Metrics */
.home-trust {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: none;
	margin-left: -50vw;
	padding: 42px 24px;
	background: #fff;
	box-sizing: border-box;
}

.home-trust__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(100%, 1360px);
	margin-inline: auto;
	padding: 26px;
	gap: 14px;
	overflow: hidden;
	border-radius: 16px;
	background: linear-gradient(135deg, #082b65 0%, #0750b7 100%);
	box-shadow: 0 18px 45px rgba(5, 36, 85, .16);
	color: #fff;
	box-sizing: border-box;
}

.home-trust__intro {
	display: flex;
	min-width: 0;
	padding: 4px 4px 22px;
	flex-direction: column;
	justify-content: center;
	grid-column: 1 / -1;
	align-items: center;
	text-align: center;
}

.home-trust__intro h2 {
	margin: 0;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: clamp(20px, 1.65vw, 27px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: #fff;
}

.home-trust__intro p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	line-height: 1.75;
}

.home-trust__stat {
	display: flex;
	min-width: 0;
	padding: 22px 12px;
	box-sizing: border-box;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
}

.home-trust__stat strong {
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: clamp(21px, 1.7vw, 29px);
	font-weight: 800;
	line-height: 1;
}

.home-trust__stat span {
	margin-top: 8px;
	color: rgba(255, 255, 255, .74);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

@media (max-width: 1200px) {
	.home-trust {
		padding: 32px 20px;
	}
}

@media (max-width: 900px) {
	.home-trust__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.home-trust {
		padding-inline: 16px;
	}

	.home-trust__inner {
		padding: 22px 16px;
	}

	.home-trust__stat {
		padding-inline: 8px;
	}
}
