/* =============================================================
   Homepage section styles.
   ============================================================= */

/* ----- Hero ----- */
.lhm-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 140px);
	background:
		linear-gradient(180deg, rgba(251, 247, 242, .35) 0%, rgba(251, 247, 242, .92) 78%),
		var(--lhm-hero-image, linear-gradient(135deg, var(--lhm-pink) 0%, var(--lhm-beige) 60%, var(--lhm-sage) 100%));
	background-size: cover;
	background-position: center;
	text-align: center;
}
.lhm-hero-illust {
	position: absolute; inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .85;
	mix-blend-mode: multiply;
}
.lhm-hero-illustrated { background-image: none; background-color: var(--lhm-cream); }
.lhm-hero-with-image::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(251, 247, 242, .35) 0%, rgba(251, 247, 242, .9) 78%);
	pointer-events: none; z-index: 0;
}
.lhm-hero-ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.lhm-hero-orb {
	position: absolute; width: 320px; height: 320px; border-radius: 50%;
	filter: blur(80px); opacity: .55; mix-blend-mode: multiply;
	animation: lhm-orb-drift 14s ease-in-out infinite alternate;
}
.lhm-hero-orb.orb-1 { top: -10%; left: -8%; background: var(--lhm-pink); }
.lhm-hero-orb.orb-2 { bottom: -20%; right: -10%; background: var(--lhm-sage); animation-delay: -4s; }
.lhm-hero-orb.orb-3 { top: 30%; right: 20%; background: var(--lhm-lavender); animation-delay: -8s; width: 240px; height: 240px; }
@keyframes lhm-orb-drift {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(40px, -30px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
	.lhm-hero-orb { animation: none; }
}

.lhm-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.lhm-hero-eyebrow {
	display: inline-block;
	font-family: var(--lhm-font-ui);
	font-size: .82rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--lhm-terracotta);
	background: rgba(255, 255, 255, .7);
	padding: 6px 14px;
	border-radius: var(--lhm-radius-pill);
	margin-bottom: var(--lhm-space-5);
	font-weight: 600;
	backdrop-filter: blur(6px);
}
.lhm-hero-heading {
	font-family: var(--lhm-font-heading);
	font-size: clamp(2.2rem, 6vw, 4.2rem);
	font-weight: 500;
	letter-spacing: -.02em;
	margin: 0 0 var(--lhm-space-4);
}
.lhm-hero-sub {
	color: var(--lhm-charcoal);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	max-width: 720px;
	margin: 0 auto var(--lhm-space-6);
}
.lhm-hero-ctas { display: flex; gap: var(--lhm-space-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--lhm-space-5); }
.lhm-hero-trust {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, .65);
	padding: 8px 16px;
	border-radius: var(--lhm-radius-pill);
	color: var(--lhm-muted); font-size: .88rem;
	font-family: var(--lhm-font-ui);
	backdrop-filter: blur(6px);
}
.lhm-hero-trust svg { color: #57755b; }
.lhm-hero-continue { margin-top: var(--lhm-space-5); }
.lhm-continue-pill {
	background: var(--lhm-charcoal); color: var(--lhm-cream);
	padding: 10px 18px; border-radius: var(--lhm-radius-pill);
	font-family: var(--lhm-font-ui); font-size: .9rem; font-weight: 600;
	display: inline-flex; gap: 12px; align-items: center;
}
.lhm-continue-pill a { color: var(--lhm-pink); }

/* ----- Quick Start ----- */
.lhm-quick-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: var(--lhm-space-4);
}
.lhm-quick-card {
	background: #fff;
	border: 1px solid rgba(47, 42, 38, .08);
	border-radius: var(--lhm-radius-md);
	padding: var(--lhm-space-5);
	display: flex; flex-direction: column; gap: 6px;
	text-align: left; cursor: pointer;
	transition: transform var(--lhm-trans), box-shadow var(--lhm-trans), border-color var(--lhm-trans);
}
.lhm-quick-card:hover { transform: translateY(-3px); box-shadow: var(--lhm-shadow-md); border-color: var(--lhm-terracotta); }
.lhm-quick-card.is-active { border-color: var(--lhm-terracotta); background: linear-gradient(180deg, #fff, rgba(231, 181, 176, .14)); }
.lhm-quick-icon {
	width: 44px; height: 44px;
	border-radius: var(--lhm-radius-md);
	background: linear-gradient(135deg, var(--lhm-pink), var(--lhm-lavender));
	display: inline-block;
	position: relative;
	margin-bottom: 8px;
}
.lhm-quick-icon::after {
	content: ""; position: absolute; inset: 8px;
	background: var(--lhm-cream); border-radius: var(--lhm-radius-sm);
}
.lhm-quick-icon-new-mom        { background: linear-gradient(135deg, var(--lhm-pink),       var(--lhm-cream)); }
.lhm-quick-icon-pregnancy      { background: linear-gradient(135deg, var(--lhm-lavender),   var(--lhm-pink)); }
.lhm-quick-icon-postpartum     { background: linear-gradient(135deg, var(--lhm-sage),       var(--lhm-pink)); }
.lhm-quick-icon-baby-sleep     { background: linear-gradient(135deg, var(--lhm-lavender),   var(--lhm-cream)); }
.lhm-quick-icon-breastfeeding  { background: linear-gradient(135deg, var(--lhm-pink),       var(--lhm-beige)); }
.lhm-quick-icon-toddler        { background: linear-gradient(135deg, var(--lhm-terracotta), var(--lhm-pink)); }
.lhm-quick-icon-nursery        { background: linear-gradient(135deg, var(--lhm-sage),       var(--lhm-beige)); }
.lhm-quick-icon-family-meals   { background: linear-gradient(135deg, var(--lhm-beige),     var(--lhm-sage)); }
.lhm-quick-icon-mom-selfcare   { background: linear-gradient(135deg, var(--lhm-lavender),   var(--lhm-beige)); }
.lhm-quick-icon-travel-baby    { background: linear-gradient(135deg, var(--lhm-sage),       var(--lhm-lavender)); }
.lhm-quick-title { font-family: var(--lhm-font-heading); font-weight: 600; font-size: 1.05rem; color: var(--lhm-charcoal); }
.lhm-quick-desc { color: var(--lhm-muted); font-size: .88rem; }
.lhm-quick-foot { text-align: center; color: var(--lhm-muted); font-size: .9rem; margin-top: var(--lhm-space-5); }

/* Quick Start mode → downstream highlight. When the body has data-lhm-mode
   set, downstream cards/products tagged with the matching mode glow softly. */
.lhm-body[data-lhm-mode] [data-lhm-mode-match*="["][data-lhm-mode-match]:not([data-lhm-mode-match*="any"]) { opacity: .55; }
.lhm-body[data-lhm-mode] [data-lhm-mode-highlight] {
	box-shadow: 0 0 0 2px var(--lhm-terracotta), var(--lhm-shadow-md) !important;
	transform: translateY(-2px);
}

/* ----- FAQ ----- */
.lhm-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--lhm-space-3); }
.lhm-faq-item {
	background: #fff; border-radius: var(--lhm-radius-md);
	box-shadow: var(--lhm-shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--lhm-trans);
}
.lhm-faq-item[open] { box-shadow: var(--lhm-shadow-md); }
.lhm-faq-item summary {
	list-style: none; cursor: pointer;
	padding: var(--lhm-space-4) var(--lhm-space-5);
	display: flex; align-items: center; justify-content: space-between; gap: var(--lhm-space-3);
	font-family: var(--lhm-font-heading); font-weight: 600; font-size: 1.06rem;
	color: var(--lhm-charcoal);
}
.lhm-faq-item summary::-webkit-details-marker { display: none; }
.lhm-faq-item summary svg { transition: transform var(--lhm-trans); flex: 0 0 auto; color: var(--lhm-terracotta); }
.lhm-faq-item[open] summary svg { transform: rotate(180deg); }
.lhm-faq-item p { padding: 0 var(--lhm-space-5) var(--lhm-space-5); color: var(--lhm-muted); margin: 0; }

/* ----- Newsletter section ----- */
.lhm-newsletter-card {
	background: linear-gradient(135deg, #fff 0%, rgba(231, 181, 176, .22) 100%);
	border-radius: var(--lhm-radius-lg);
	padding: var(--lhm-space-8) var(--lhm-space-7);
	text-align: center;
	box-shadow: var(--lhm-shadow-md);
}
.lhm-newsletter-form-lg { max-width: 480px; margin: 0 auto; }
.lhm-newsletter-note { color: var(--lhm-muted); font-size: .9rem; margin-top: 12px; }

/* ----- EEAT / Trust ----- */
.lhm-eeat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--lhm-space-4);
}
.lhm-eeat-card {
	background: #fff;
	border-radius: var(--lhm-radius-md);
	padding: var(--lhm-space-5);
	box-shadow: var(--lhm-shadow-sm);
}
.lhm-eeat-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.lhm-eeat-card p { color: var(--lhm-muted); font-size: .95rem; margin: 0; }
.lhm-eeat-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px;
	background: var(--lhm-beige);
	border-radius: var(--lhm-radius-md);
	font-size: 1.5rem;
	margin-bottom: 12px;
}
.lhm-eeat-links {
	margin-top: var(--lhm-space-6);
	text-align: center;
	display: flex; gap: var(--lhm-space-4); flex-wrap: wrap; justify-content: center;
}
.lhm-eeat-links a {
	color: var(--lhm-muted);
	font-family: var(--lhm-font-ui);
	font-size: .92rem;
	border-bottom: 1px solid rgba(47, 42, 38, .15);
	padding-bottom: 1px;
}
.lhm-eeat-links a:hover { color: var(--lhm-terracotta); border-color: var(--lhm-terracotta); }

/* ----- Learning hub ----- */
.lhm-learning-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--lhm-space-5);
}
.lhm-learning-foot { text-align: center; margin-top: var(--lhm-space-6); }

/* ----- 404 ----- */
.lhm-404 { padding: var(--lhm-space-8) 0; }
.lhm-404-head { text-align: center; max-width: 760px; margin: 0 auto var(--lhm-space-7); }
.lhm-404-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lhm-404-products, .lhm-404-tools, .lhm-404-search { margin-bottom: var(--lhm-space-8); }
.lhm-404-products h2, .lhm-404-tools h2, .lhm-404-search h2 { font-size: 1.4rem; margin-bottom: var(--lhm-space-5); text-align: center; }
.lhm-404-keyword-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--lhm-space-5); }
.lhm-chip {
	background: #fff; padding: 8px 14px; border-radius: var(--lhm-radius-pill);
	font-family: var(--lhm-font-ui); font-size: .88rem; box-shadow: var(--lhm-shadow-sm);
	color: var(--lhm-charcoal);
}
.lhm-chip:hover { background: var(--lhm-terracotta); color: var(--lhm-cream); }
.lhm-404-tool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--lhm-space-4);
}
