/* ==========================================================================
   Homepage — Modern · Futuristic · Balanced spacing
   ========================================================================== */

.home-page { overflow-x: hidden; margin: 0; padding: 0; }

#main,
.site-main,
.home-page {
	margin: 0 !important;
	padding-top: 0 !important;
}

.home-section {
	padding: clamp(72px, 10vw, 112px) 0;
}

.home-content-column {
	width: 70%;
	max-width: 70%;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.home-content-column {
		width: 100%;
		max-width: 100%;
	}
}

.section-eyebrow {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--fp-teal-500);
	margin-bottom: 10px;
}

/* --- Hero --- */
.hero {
	position: relative;
	background: #001528;
	color: #fff;
	margin-top: 0;
	padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 8vw, 96px);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 55% at 15% 45%, rgba(0, 163, 196, 0.2) 0%, transparent 55%),
		radial-gradient(ellipse 50% 40% at 85% 15%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
		linear-gradient(165deg, #001528 0%, #002137 55%, #001a2e 100%);
}

.hero__mesh {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.5;
	pointer-events: none;
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 64px);
	align-items: center;
}

.hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fp-teal-400);
	margin-bottom: 24px;
}

.hero__title {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: clamp(1.875rem, 4.5vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
}

.hero__title-line {
	display: block;
}

.hero__title-line--brand {
	line-height: 1.1;
}

.hero__title-line--typed {
	display: flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: 0;
	min-height: 1.15em;
	font-size: clamp(1.125rem, 2.85vw, 2.25rem);
	white-space: nowrap;
}

.hero__typewriter {
	display: inline;
	font-weight: 700;
	white-space: nowrap;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 0;
}

.hero__cta-primary,
.hero__cta-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero__cursor {
	display: inline;
	flex-shrink: 0;
	color: var(--fp-teal-400);
	animation: fp-blink 1s step-end infinite;
	font-weight: 300;
}

@keyframes fp-blink {
	50% { opacity: 0; }
}

.hero__desc {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
	max-width: 520px;
	margin-bottom: 36px;
}

.hero__glass-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero__glass-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 24px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero__glass-item:hover {
	transform: translateX(6px);
	border-color: rgba(0, 163, 196, 0.45);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero__glass-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}

.hero__glass-icon--teal { background: rgba(0, 163, 196, 0.18); color: #2dd4bf; }
.hero__glass-icon--gold { background: rgba(212, 168, 83, 0.15); color: #d4a853; }
.hero__glass-icon--blue { background: rgba(45, 212, 191, 0.12); color: #5eead4; }

.hero__glass-item strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.hero__glass-item span {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.58);
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* --- Trust strip --- */
.trust-strip {
	padding: clamp(36px, 5vw, 52px) 0;
	background: linear-gradient(180deg, #fff 0%, var(--fp-gray-50) 100%);
	border-bottom: 1px solid var(--fp-gray-200);
}

.trust-strip__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 3vw, 32px);
	align-items: stretch;
}

.trust-strip__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--fp-navy-900);
	background: var(--fp-white);
	border: 1px solid rgba(0, 33, 55, 0.08);
	border-radius: 16px;
	box-shadow:
		0 2px 6px rgba(0, 33, 55, 0.04),
		0 8px 24px rgba(0, 33, 55, 0.06);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.trust-strip__item:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 163, 196, 0.35);
	box-shadow:
		0 4px 10px rgba(0, 33, 55, 0.05),
		0 16px 40px rgba(0, 33, 55, 0.11);
}

.trust-strip__item:active {
	transform: translateY(-2px) scale(0.99);
	transition-duration: 0.12s;
}

.trust-strip__icon-wrap {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(0, 163, 196, 0.12), rgba(0, 163, 196, 0.04));
	border: 1px solid rgba(0, 163, 196, 0.2);
	border-radius: 16px;
	animation: fp-orbit 4s ease-in-out infinite;
}

.trust-strip__item:nth-child(2) .trust-strip__icon-wrap { animation-delay: 0.4s; }
.trust-strip__item:nth-child(3) .trust-strip__icon-wrap { animation-delay: 0.8s; }
.trust-strip__item:nth-child(4) .trust-strip__icon-wrap { animation-delay: 1.2s; }

.trust-strip__icon-wrap .fp-icon {
	color: var(--fp-teal-500);
	width: 32px;
	height: 32px;
}

.trust-strip__text {
	line-height: 1.35;
}

@media (min-width: 768px) {
	.trust-strip__list { grid-template-columns: repeat(4, 1fr); }
}

/* --- Category carousel --- */
.categories { background: #fff; }

.categories .section-header {
	align-items: flex-start;
}

.categories .section-header__intro {
	min-width: 0;
	flex: 1;
}

.categories .section-header__action {
	flex-shrink: 0;
	margin-top: 1.375rem;
}

.categories .container > .section-header,
.categories .container > .section-header--content,
.categories .home-content-column {
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	padding-inline: calc(44px + 12px + 4px);
	box-sizing: border-box;
	align-items: flex-start;
}

@media (max-width: 767px) {
	.categories .section-header__action {
		margin-top: 0;
	}

	.categories .container > .section-header,
	.categories .container > .section-header--content,
	.categories .home-content-column {
		padding-inline: 4px;
	}
}

.category-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.category-carousel__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.category-carousel__track {
	display: flex;
	gap: var(--fp-carousel-gap, 16px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 8px 4px 16px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
	scroll-padding-inline: clamp(4px, 2vw, 12px);
	cursor: grab;
}

.category-carousel__track::-webkit-scrollbar { display: none; }

.category-carousel__nav {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--fp-blue-100);
	border: 1px solid var(--fp-gray-200);
	border-radius: 50%;
	color: var(--fp-navy-900);
	transition: background 0.2s ease, transform 0.2s ease;
}

.category-carousel__nav:hover {
	background: var(--fp-teal-500);
	color: #fff;
	transform: scale(1.05);
}

.category-card {
	flex: 0 0 clamp(148px, calc((100% - var(--fp-carousel-gap, 16px)) / 2.15), 196px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(24px, 4vw, 32px) clamp(14px, 3vw, 18px) clamp(20px, 3vw, 28px);
	background: #fff;
	border: 1px solid rgba(0, 33, 55, 0.08);
	border-radius: 18px;
	box-shadow:
		0 2px 6px rgba(0, 33, 55, 0.04),
		0 8px 24px rgba(0, 33, 55, 0.06);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
	min-width: 0;
}

.category-card:hover {
	transform: translateY(-8px);
	box-shadow:
		0 4px 10px rgba(0, 33, 55, 0.05),
		0 20px 56px rgba(0, 33, 55, 0.12);
	border-color: rgba(0, 163, 196, 0.45);
}

.category-card:active {
	transform: translateY(-4px) scale(0.99);
	transition-duration: 0.12s;
}

.category-card__icon-wrap {
	position: relative;
	width: 96px;
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, var(--fp-gray-50), #fff);
	border: 1px solid var(--fp-gray-200);
	border-radius: 20px;
	margin-bottom: 18px;
	color: var(--fp-navy-900);
	animation: fp-orbit 5s ease-in-out infinite;
}

.category-card__icon-wrap::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 24px;
	background: radial-gradient(circle, rgba(0, 163, 196, 0.15), transparent 70%);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.category-card:hover .category-card__icon-wrap::before {
	opacity: 1;
}

.category-card__icon-wrap .fp-icon {
	width: 44px;
	height: 44px;
}

.category-card__thumb {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.category-card__label {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--fp-navy-900);
	margin-bottom: 6px;
	line-height: 1.3;
	word-break: break-word;
	hyphens: auto;
}

.category-card__count {
	font-size: 0.8125rem;
	color: var(--fp-gray-500);
}

@media (max-width: 767px) {
	.category-carousel__nav { display: none; }
}

@media (min-width: 768px) {
	.category-card {
		flex-basis: clamp(160px, calc((100% - (var(--fp-carousel-gap, 16px) * 2)) / 3.15), 196px);
	}
}

@media (min-width: 1025px) {
	.category-card {
		flex-basis: clamp(176px, 18vw, 196px);
	}
}

/* --- Products --- */
.home-page .product-section {
	padding: clamp(64px, 9vw, 104px) 0;
	background: var(--fp-gray-50);
}

/* --- QR --- */
.qr-block { background: #fff; }

.qr-block__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

.qr-block__title {
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	font-weight: 700;
	color: var(--fp-navy-900);
	line-height: 1.2;
	margin-bottom: 16px;
}

.qr-block__text {
	font-size: 1rem;
	color: var(--fp-gray-500);
	line-height: 1.75;
	margin-bottom: 28px;
	max-width: 480px;
}

.qr-block__img {
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0, 33, 55, 0.12);
}

@media (min-width: 768px) {
	.qr-block__grid { grid-template-columns: 1fr 1fr; }
}

/* --- Stats --- */
.stats-band {
	padding: clamp(56px, 7vw, 80px) 0;
	background: linear-gradient(135deg, #001528, #002137);
	text-align: center;
	color: #fff;
}

.stats-band__title {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	margin-bottom: 40px;
}

.stats-band__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 32px);
	max-width: 820px;
	margin: 0 auto;
}

.stats-band__item {
	padding: 32px 20px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transform: translateY(0);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stats-band__item:hover {
	transform: translateY(-6px);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.28),
		0 0 24px rgba(0, 163, 196, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stats-band__num,
.stats-band__suffix {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--fp-teal-400);
}

.stats-band__label {
	display: block;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 8px;
}

/* --- Reviews panel (split layout, 3s auto loop) --- */
.reviews-section {
	background: linear-gradient(180deg, var(--fp-gray-100) 0%, #fff 100%);
}

.reviews-section__wrap {
	display: block;
}

.reviews-panel {
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 4px 12px rgba(0, 33, 55, 0.05),
		0 24px 56px rgba(0, 33, 55, 0.1);
	border: 1px solid var(--fp-gray-200);
}

.reviews-panel__nav {
	background: linear-gradient(180deg, #eef4f8 0%, #e4edf4 100%);
	padding: 36px 28px;
	position: relative;
}

.reviews-panel__accent {
	display: block;
	width: 48px;
	height: 4px;
	background: linear-gradient(90deg, var(--fp-teal-500), var(--fp-gold-400));
	border-radius: 2px;
	margin-bottom: 16px;
}

.reviews-panel__heading {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 28px;
}

.reviews-panel__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
	max-height: 360px;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.reviews-panel__list::-webkit-scrollbar {
	display: none;
}

.reviews-panel__list::before {
	content: '';
	position: absolute;
	left: 29px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: linear-gradient(180deg, transparent, rgba(0, 163, 196, 0.2) 10%, rgba(0, 163, 196, 0.2) 90%, transparent);
}

.reviews-panel__tab {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 16px;
	background: transparent;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
	position: relative;
}

.reviews-panel__tab:hover {
	background: rgba(255, 255, 255, 0.6);
}

.reviews-panel__tab.is-active {
	background: #fff;
	box-shadow:
		0 4px 20px rgba(0, 33, 55, 0.08),
		8px 0 24px rgba(0, 163, 196, 0.12);
	transform: translateX(4px);
	z-index: 1;
}

.reviews-panel__tab.is-active .reviews-panel__avatar {
	border-color: var(--fp-teal-500);
	box-shadow: 0 0 0 4px rgba(0, 163, 196, 0.18);
}

.reviews-panel__tab.is-active .reviews-panel__name {
	color: var(--fp-navy-900);
	font-weight: 700;
}

.reviews-panel__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(0, 163, 196, 0.15);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reviews-panel__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reviews-panel__initial {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fp-teal-500);
}

.reviews-panel__name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fp-gray-600);
	transition: color 0.3s ease;
}

.reviews-panel__content {
	position: relative;
	padding: 48px 44px;
	min-height: 380px;
	background: #fff;
}

.reviews-panel__slide {
	opacity: 0;
	transform: translateX(16px);
	transition: opacity 0.45s ease, transform 0.45s ease;
	position: absolute;
	inset: 48px 44px;
	pointer-events: none;
}

.reviews-panel__slide.is-active {
	opacity: 1;
	transform: translateX(0);
	position: relative;
	inset: auto;
	pointer-events: auto;
}

.reviews-panel__quote-icon {
	color: rgba(0, 163, 196, 0.22);
	margin-bottom: 12px;
}

.reviews-panel__quote {
	margin: 16px 0 28px;
}

.reviews-panel__quote p {
	font-size: clamp(1.0625rem, 2vw, 1.25rem);
	line-height: 1.8;
	color: var(--fp-gray-700);
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
}

.reviews-panel__quote p::first-letter {
	float: left;
	font-size: 3.5rem;
	line-height: 0.85;
	font-weight: 700;
	font-style: normal;
	color: var(--fp-navy-900);
	margin-right: 12px;
	margin-top: 4px;
	font-family: var(--fp-font-family);
}

.reviews-panel__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	padding-top: 24px;
	border-top: 1px solid var(--fp-gray-200);
}

.reviews-panel__cite {
	font-size: 1rem;
	font-weight: 700;
	font-style: normal;
	color: var(--fp-navy-900);
}

.reviews-panel__role {
	font-size: 0.875rem;
	color: var(--fp-teal-500);
	font-weight: 600;
}

.reviews-panel__date {
	font-size: 0.8125rem;
	color: var(--fp-gray-400);
	margin-left: auto;
}

@media (min-width: 768px) {
	.reviews-panel {
		grid-template-columns: 300px 1fr;
	}
}

@media (min-width: 1024px) {
	.reviews-panel {
		grid-template-columns: 320px 1fr;
	}

	.reviews-panel__content {
		padding: 52px 56px;
	}

	.reviews-panel__slide {
		inset: 52px 56px;
	}
}

/* --- FAQ block --- */
.faq-block { background: #fff; }

.faq-block .section-header {
	align-items: flex-start;
}

.faq-block .section-header__intro {
	min-width: 0;
	flex: 1;
}

.faq-block .section-header__action {
	flex-shrink: 0;
	margin-top: 1.375rem;
}

.faq-block .accordion--pill {
	background: #fff;
	border-radius: 16px;
	padding: 8px;
	box-shadow: 0 8px 32px rgba(0, 33, 55, 0.08);
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.faq-block .container > .section-header,
.faq-block .container > .section-header--content {
	width: 70%;
	max-width: 70%;
	margin-inline: auto;
	align-items: flex-start;
}

.faq-block .container > .accordion--pill {
	width: 70%;
	max-width: 70%;
	margin-inline: auto;
}

@media (max-width: 767px) {
	.faq-block .section-header__action {
		margin-top: 0;
	}

	.faq-block .container > .section-header,
	.faq-block .container > .section-header--content,
	.faq-block .container > .accordion--pill {
		width: 100%;
		max-width: 100%;
	}
}

/* --- Responsive — homepage sections --- */
@media (max-width: 767px) {
	.home-section {
		padding: clamp(48px, 12vw, 72px) 0;
	}

	.hero {
		padding: clamp(40px, 10vw, 56px) 0 clamp(48px, 10vw, 64px);
	}

	.hero__title-line--typed {
		white-space: normal;
		flex-wrap: wrap;
	}

	.hero__typewriter {
		white-space: normal;
		word-break: break-word;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__actions .btn {
		width: 100%;
		justify-content: center;
	}

	.hero__glass-item:hover {
		transform: none;
	}

	.trust-strip__list {
		grid-template-columns: 1fr;
	}

	.trust-strip__item {
		padding: 16px 18px;
	}

	.trust-strip__icon-wrap {
		width: 52px;
		height: 52px;
	}

	.stats-band__grid {
		grid-template-columns: 1fr;
		max-width: 320px;
	}

	.stats-band__item {
		padding: 24px 16px;
	}

	.qr-block__grid {
		gap: 32px;
	}

	.qr-block__text {
		max-width: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.stats-band__grid {
		gap: 16px;
	}

	.stats-band__item {
		padding: 24px 14px;
	}

	.trust-strip__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trust-strip__item {
		padding: 16px;
		font-size: 0.875rem;
	}
}
