/**
 * home.css — front page only. Loaded after global.css (see functions.php).
 */

/* HERO */
.hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

/* Decorative glow — only shown until a real hero photo is uploaded
   (Appearance -> Customize -> Home Page Images), so the section still
   looks designed instead of an empty black box. */
.hero:not(.has-image)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(55% 60% at 84% 10%, rgba(212, 175, 55, .3), transparent 62%),
		radial-gradient(40% 45% at 8% 92%, rgba(212, 175, 55, .14), transparent 65%);
}

.hero-img {
	position: absolute;
	inset: 0;
}

.hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, #050505 18%, rgba(5, 5, 5, .88) 40%, rgba(5, 5, 5, .45) 62%, rgba(5, 5, 5, .1) 100%),
		linear-gradient(0deg, rgba(5, 5, 5, .5), transparent 40%);
}

.hero-inner {
	position: relative;
	z-index: 1;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .5);
	max-width: 660px;
}

.hero h1 {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	margin: 1rem 0 1rem;
}

.hero p {
	color: var(--muted);
	font-size: 1.02rem;
	max-width: 47ch;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.6rem;
}

.trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	margin-top: 1.8rem;
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}

.trust span {
	display: flex;
	align-items: center;
	gap: .55rem;
}

/* MARQUEE STRIP */
.strip {
	border-block: 1px solid var(--line);
	background: rgba(255, 255, 255, .02);
	overflow: hidden;
	padding: 1rem 0;
}

.strip-track {
	display: flex;
	gap: 4rem;
	white-space: nowrap;
	animation: voltraa-slide 34s linear infinite;
	font-size: .72rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--muted);
}

@keyframes voltraa-slide {
	to {
		transform: translateX(-50%);
	}
}

/* Product grid/card component lives in css/product-card.css (shared with
   the store archive) — enqueued alongside this file, see front-page.php. */

/* PILLARS (science section) */
.pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.4rem;
}

.pillar {
	padding: 2.2rem 1.8rem;
}

.pillar h3 {
	font-size: 1.3rem;
	margin: 1.1rem 0 .55rem;
}

.pillar p {
	color: var(--muted);
	font-size: .88rem;
}

/* SPLIT (results section) */
.split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 4rem;
	align-items: center;
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}
}

.split-img {
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	aspect-ratio: 1;
	background: #000;
}

.facts {
	margin-top: 1.8rem;
	display: grid;
	gap: 1rem;
}

.facts li {
	display: flex;
	gap: .9rem;
	color: var(--muted);
	font-size: .94rem;
}

/* TESTIMONIALS */
.quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.6rem;
}

.quote {
	padding: 2.1rem;
}

.quote p {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.22rem;
	line-height: 1.6;
	color: var(--text);
}

.quote .who {
	margin-top: 1.4rem;
	font-size: .7rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold);
}
