/* ==========================================================================
   HomeSafeHealthy — homepage sections (front-page.php only)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hsh-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px);
	background:
		radial-gradient(900px 520px at 100% 0%, rgba(234, 245, 251, 1), transparent 65%),
		radial-gradient(800px 480px at 0% 100%, rgba(234, 246, 236, 1), transparent 65%),
		var(--hsh-bg);
}

.hsh-hero__grid {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

@media (min-width: 960px) {
	.hsh-hero__grid { grid-template-columns: 1fr 1.02fr; }
}

.hsh-hero h1 {
	max-width: 13ch;
	margin-bottom: .45em;
	font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4rem);
}

.hsh-hero__desc {
	max-width: 58ch;
	margin-bottom: 2rem;
	color: var(--hsh-muted);
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

.hsh-hero .hsh-btn { min-height: 54px; padding-inline: 1.75rem; font-size: 1.0625rem; }

.hsh-hero__disclosure {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 52ch;
	margin: 22px 0 0;
	color: var(--hsh-muted);
	font-size: .875rem;
	line-height: 1.5;
}

.hsh-hero__disclosure .hsh-icon { width: 18px; height: 18px; margin-top: 1px; color: var(--hsh-green-strong); }

.hsh-hero__media { position: relative; }

.hsh-hero__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: 28px;
	background: var(--hsh-soft-blue);
	box-shadow: var(--hsh-shadow-lg);
}

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

/* Decorative floating note — no claims, just a friendly label. */
.hsh-hero__note {
	position: absolute;
	left: clamp(-28px, -2vw, -12px);
	bottom: clamp(20px, 4vw, 40px);
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 280px;
	padding: 14px 18px 14px 14px;
	border: 1px solid var(--hsh-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, .96);
	box-shadow: var(--hsh-shadow);
	color: var(--hsh-navy);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.hsh-hero__note .hsh-icon-badge { width: 42px; height: 42px; border-radius: 12px; }

@media (max-width: 959px) {
	.hsh-hero__note { left: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
	.hsh-hero__note { display: none; }
	.hsh-hero .hsh-btn-group .hsh-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.hsh-trust {
	border-block: 1px solid var(--hsh-border);
	background: var(--hsh-white);
	padding-block: clamp(28px, 4vw, 40px);
}

.hsh-trust__intro {
	margin: 0 0 20px;
	color: var(--hsh-muted);
	font-size: .9375rem;
	text-align: center;
}

.hsh-trust__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 1101px) {
	.hsh-trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hsh-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--hsh-navy);
	font-weight: 650;
	line-height: 1.3;
}

@media (min-width: 1101px) {
	.hsh-trust__item { justify-content: center; }
	.hsh-trust__item + .hsh-trust__item { border-left: 1px solid var(--hsh-border); }
}

.hsh-trust__item .hsh-icon-badge { width: 44px; height: 44px; border-radius: 12px; }

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */
.hsh-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

@media (min-width: 1100px) {
	.hsh-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.hsh-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 22px 22px;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--hsh-ease), background-color .2s ease;
}

.hsh-cat-card:hover,
.hsh-cat-card:focus-within {
	border-color: rgba(62, 155, 79, .45);
	box-shadow: var(--hsh-shadow);
}

@media (prefers-reduced-motion: no-preference) {
	.hsh-cat-card:hover { transform: translateY(-4px); }
}

.hsh-cat-card:nth-child(even) .hsh-icon-badge { background: var(--hsh-soft-blue); color: var(--hsh-navy); }

.hsh-cat-card h3 { margin: 0; font-size: 1.125rem; }

.hsh-cat-card h3 a { color: var(--hsh-navy); text-decoration: none; }

.hsh-cat-card p {
	flex: 1;
	margin: 0;
	color: var(--hsh-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

.hsh-cat-card .hsh-link-arrow { font-size: .9375rem; }

/* --------------------------------------------------------------------------
   Featured guide
   -------------------------------------------------------------------------- */
.hsh-feature {
	display: grid;
	overflow: hidden;
	border-radius: var(--hsh-radius-lg);
	background: var(--hsh-soft-green);
}

@media (min-width: 900px) {
	.hsh-feature { grid-template-columns: 1.1fr 1fr; }
}

.hsh-feature__media {
	aspect-ratio: 4 / 3;
	background: var(--hsh-soft-blue);
}

@media (min-width: 900px) {
	.hsh-feature__media { aspect-ratio: auto; min-height: 460px; }
}

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

.hsh-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 5vw, 64px);
}

.hsh-feature__body h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); }

.hsh-feature__body p:not(.hsh-eyebrow) { color: var(--hsh-text); font-size: 1.125rem; margin-bottom: 1.75rem; }

.hsh-feature__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.hsh-feature__list li {
	padding: .3rem .8rem;
	border-radius: var(--hsh-radius-pill);
	background: var(--hsh-white);
	color: var(--hsh-navy);
	font-size: .875rem;
	font-weight: 550;
}

.hsh-feature__body .hsh-btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Product picks
   -------------------------------------------------------------------------- */
.hsh-pick {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
	transition: box-shadow .2s ease, transform .2s var(--hsh-ease), border-color .2s ease;
}

.hsh-pick:hover,
.hsh-pick:focus-within { box-shadow: var(--hsh-shadow); border-color: var(--hsh-border-strong); }

@media (prefers-reduced-motion: no-preference) {
	.hsh-pick:hover { transform: translateY(-3px); }
}

.hsh-pick__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hsh-bg);
}

.hsh-pick__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hsh-ease); }

@media (prefers-reduced-motion: no-preference) {
	.hsh-pick:hover .hsh-pick__media img { transform: scale(1.04); }
}

.hsh-pick__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }

.hsh-pick__body h3 { margin-bottom: .4rem; font-size: 1.1875rem; }
.hsh-pick__body h3 a { color: var(--hsh-navy); text-decoration: none; }

.hsh-pick__body p {
	flex: 1;
	margin-bottom: 1.1rem;
	color: var(--hsh-muted);
	font-size: .9375rem;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   How we choose
   -------------------------------------------------------------------------- */
.hsh-method__grid {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

@media (min-width: 960px) {
	.hsh-method__grid { grid-template-columns: .85fr 1.15fr; }
	.hsh-method__intro { position: sticky; top: calc(var(--hsh-header-h) + 32px); }
}

.hsh-method__intro p { color: var(--hsh-muted); font-size: 1.125rem; margin-bottom: 1.75rem; }

.hsh-steps {
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

@media (min-width: 640px) {
	.hsh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hsh-step {
	padding: 26px 24px;
	border: 1px solid var(--hsh-border);
	border-radius: var(--hsh-radius);
	background: var(--hsh-white);
}

.hsh-step__num {
	display: block;
	margin-bottom: 16px;
	color: var(--hsh-green-strong);
	font-size: .875rem;
	font-weight: 750;
	letter-spacing: .08em;
}

.hsh-step__num::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 10px;
	border-radius: 3px;
	background: var(--hsh-yellow);
}

.hsh-step h3 { margin-bottom: .45rem; font-size: 1.1875rem; }
.hsh-step p { margin: 0; color: var(--hsh-muted); font-size: .96875rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Comparison CTA band
   -------------------------------------------------------------------------- */
.hsh-compare-cta {
	display: grid;
	gap: 28px 48px;
	align-items: center;
	padding: clamp(28px, 5vw, 56px);
	border: 1px solid #CFE3F0;
	border-radius: var(--hsh-radius-lg);
	background:
		radial-gradient(500px 240px at 100% 100%, rgba(234, 246, 236, 1), transparent 70%),
		var(--hsh-soft-blue);
}

@media (min-width: 900px) {
	.hsh-compare-cta { grid-template-columns: auto 1fr auto; }
}

.hsh-compare-cta__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: var(--hsh-white);
	color: var(--hsh-navy);
	box-shadow: var(--hsh-shadow-sm);
}

.hsh-compare-cta__icon .hsh-icon { width: 34px; height: 34px; }

.hsh-compare-cta h2 { margin-bottom: .35em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.hsh-compare-cta p { margin: 0; color: var(--hsh-muted); font-size: 1.0625rem; max-width: 60ch; }

/* --------------------------------------------------------------------------
   Brand philosophy
   -------------------------------------------------------------------------- */
.hsh-philosophy {
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

@media (min-width: 900px) {
	.hsh-philosophy { grid-template-columns: 1fr 1fr; }
}

.hsh-philosophy__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: var(--hsh-radius-lg);
	background: var(--hsh-soft-green);
}

@media (max-width: 899px) {
	.hsh-philosophy__media { aspect-ratio: 4 / 3; }
}

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

.hsh-philosophy__body p:not(.hsh-eyebrow) { font-size: 1.125rem; color: var(--hsh-text); }

.hsh-philosophy__kicker {
	margin: 1.75rem 0 2rem !important;
	padding-left: 18px;
	border-left: 3px solid var(--hsh-green);
	color: var(--hsh-navy) !important;
	font-size: 1.25rem !important;
	font-weight: 650;
	line-height: 1.45;
}

/* --------------------------------------------------------------------------
   FAQ section layout
   -------------------------------------------------------------------------- */
.hsh-faq-section__grid {
	display: grid;
	gap: 32px 64px;
}

@media (min-width: 960px) {
	.hsh-faq-section__grid { grid-template-columns: .8fr 1.2fr; }
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.hsh-final-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(64px, 9vw, 112px);
	background:
		radial-gradient(700px 360px at 85% 0%, rgba(62, 155, 79, .35), transparent 65%),
		radial-gradient(700px 360px at 0% 100%, rgba(80, 150, 200, .28), transparent 65%),
		linear-gradient(135deg, var(--hsh-navy), var(--hsh-navy-dark));
	color: rgba(255, 255, 255, .86);
	text-align: center;
}

.hsh-final-cta h2 {
	max-width: 20ch;
	margin-inline: auto;
	color: var(--hsh-white);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.hsh-final-cta p { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.125rem; }

.hsh-final-cta .hsh-btn { min-height: 56px; padding-inline: 2rem; font-size: 1.0625rem; }

.hsh-final-cta :focus-visible { outline-color: var(--hsh-yellow); }

/* Newsletter band spacing on the homepage */
.hsh-newsletter-band { padding-block: var(--hsh-section); }

/* Small phones: compact category cards (icon beside text). */
@media (max-width: 479px) {
	.hsh-cats { gap: 12px; }

	.hsh-cat-card {
		display: grid;
		grid-template-columns: 44px 1fr;
		gap: 4px 16px;
		padding: 18px;
	}

	.hsh-cat-card .hsh-icon-badge { grid-row: span 3; width: 44px; height: 44px; border-radius: 12px; }
	.hsh-cat-card p { font-size: .9375rem; }
}
