/**
 * Heritage Harvests - Policy Pages
 * Design matches About Us: hero, floating leaves, sections, CTA
 */

.hh-policy {
	font-family: 'Outfit', sans-serif;
	position: relative;
	overflow-x: hidden;
	background: var(--hh-cream);
	color: var(--hh-text);
}

/* AOS (match About) */
.hh-policy [data-aos] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hh-policy [data-aos].aos-animate {
	opacity: 1;
	transform: translateY(0);
}
.hh-policy [data-aos="zoom-in"] {
	transform: scale(0.92);
}
.hh-policy [data-aos="zoom-in"].aos-animate {
	transform: scale(1);
}

/* Floating leaves (match About) */
.hh-policy-leaves {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}
.hh-policy-leaf {
	position: absolute;
	font-size: 20px;
	color: rgba(46, 125, 50, 0.06);
	animation: hhPolicyLeafFloat 18s ease-in-out infinite;
}
.hh-policy-leaf-1 { top: 12%; left: 6%; font-size: 26px; animation-delay: 0s; }
.hh-policy-leaf-2 { top: 35%; right: 7%; font-size: 20px; animation-delay: 4s; }
.hh-policy-leaf-3 { top: 60%; left: 4%; font-size: 22px; animation-delay: 8s; }
.hh-policy-leaf-4 { top: 82%; right: 8%; font-size: 24px; animation-delay: 12s; }
@keyframes hhPolicyLeafFloat {
	0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
	25% { transform: translateY(-20px) rotate(10deg); opacity: 0.7; }
	50% { transform: translateY(-10px) rotate(-5deg); opacity: 0.5; }
	75% { transform: translateY(-25px) rotate(8deg); opacity: 0.6; }
}

/* Hero (match About) */
.hh-policy-hero {
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 1;
}
.hh-policy-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0D3B0F 0%, #1B5E20 40%, #2E7D32 70%, #33691E 100%);
	z-index: 0;
}
.hh-policy-hero-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(27, 94, 32, 0.4) 0%, rgba(46, 125, 50, 0.2) 100%);
	z-index: 1;
}
.hh-policy-hero-bg::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(to top, var(--hh-cream), transparent);
	z-index: 1;
}
.hh-policy-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 700px;
	padding: 100px 24px 70px;
}
.hh-policy-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 8px 20px;
	border-radius: 50px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.hh-policy-hero-badge .bi {
	font-size: 16px;
}
.hh-policy-hero h1 {
	font-size: clamp(28px, 5vw, 44px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	line-height: 1.2 !important;
	margin: 0 0 16px !important;
}
.hh-policy-hero p {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
	margin: 0;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

/* Main wrap: nav + article */
.hh-policy-wrap {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
	padding: 50px 20px 60px;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 48px;
	align-items: start;
}
@media (max-width: 900px) {
	.hh-policy-wrap {
		grid-template-columns: 1fr;
		padding: 40px 16px 50px;
	}
}

/* Nav aside (sticky) */
.hh-policy-nav-aside {
	position: sticky;
	top: 100px;
}
.hh-policy-nav-card {
	background: #fff;
	border-radius: 20px;
	padding: 20px 18px;
	box-shadow: 0 8px 32px rgba(46, 125, 50, 0.08);
	border: 1px solid rgba(46, 125, 50, 0.08);
}
.hh-policy-nav-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hh-text-light);
	margin-bottom: 12px;
}
.hh-policy-nav-link {
	display: block;
	font-size: 14px;
	color: var(--hh-text);
	text-decoration: none;
	padding: 10px 12px;
	margin: 0 -12px;
	border-radius: 12px;
	transition: all 0.2s;
}
.hh-policy-nav-link:hover {
	background: var(--hh-gray-light);
	color: var(--hh-primary);
}
.hh-policy-nav-link.current {
	background: var(--hh-gray-light);
	color: var(--hh-primary);
	font-weight: 600;
}

/* Article / content (section-style blocks per h2) */
.hh-policy-article {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 8px 40px rgba(46, 125, 50, 0.06);
	border: 1px solid rgba(46, 125, 50, 0.06);
	overflow: hidden;
}
.hh-policy-content {
	padding: 48px 44px 56px;
}
@media (max-width: 600px) {
	.hh-policy-content {
		padding: 32px 24px 40px;
	}
}

/* Section-style headings (match About story) */
.hh-policy-content h2 {
	font-size: clamp(22px, 4vw, 28px) !important;
	font-weight: 800 !important;
	color: var(--hh-primary-dark) !important;
	margin: 40px 0 20px 0 !important;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--hh-gray-light);
	line-height: 1.25;
}
.hh-policy-content h2:first-child {
	margin-top: 0 !important;
}
.hh-policy-content h3 {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--hh-text) !important;
	margin: 28px 0 12px 0 !important;
	line-height: 1.3;
}
.hh-policy-content p {
	font-size: 15px;
	line-height: 1.85;
	margin: 0 0 16px 0;
	color: var(--hh-text-light);
}
.hh-policy-content ul,
.hh-policy-content ol {
	margin: 0 0 18px 0;
	padding-left: 1.5rem;
	line-height: 1.8;
}
.hh-policy-content li {
	margin-bottom: 8px;
}
.hh-policy-content a {
	color: var(--hh-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hh-policy-content a:hover {
	color: var(--hh-primary-dark);
}
.hh-policy-content strong {
	font-weight: 600;
	color: var(--hh-text);
}
.hh-policy-content .hh-policy-updated,
.hh-policy-content em.hh-policy-updated {
	display: block;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--hh-gray-light);
	font-size: 13px;
	color: var(--hh-text-light);
	font-style: italic;
}

/* CTA (match About) */
.hh-policy-cta {
	position: relative;
	z-index: 1;
	padding: 80px 20px;
}
.hh-policy-cta-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0D3B0F 0%, #1B5E20 40%, #2E7D32 70%, #43A047 100%);
}
.hh-policy-cta-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23fff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
	opacity: 0.5;
}
.hh-policy-cta-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
}
.hh-policy-cta-icon {
	font-size: 48px;
	color: rgba(255, 255, 255, 0.2);
	display: block;
	margin-bottom: 16px;
}
.hh-policy-cta h2 {
	font-size: clamp(24px, 4vw, 34px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 0 12px !important;
	line-height: 1.2;
}
.hh-policy-cta p {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin: 0 0 24px;
}
.hh-policy-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	background: #fff;
	color: var(--hh-primary-dark) !important;
	font-weight: 700;
	font-size: 15px;
	border-radius: 50px;
	text-decoration: none !important;
	transition: all 0.3s;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.hh-policy-cta-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
	color: var(--hh-primary-dark) !important;
}
.hh-policy-cta-btn .bi {
	transition: transform 0.3s;
}
.hh-policy-cta-btn:hover .bi {
	transform: translateX(4px);
}
