/* ============================================
   NATURE OT — DYNAMIC HERO SECTION
   Focus-Style: 3D rotating photo ring
   Matches _hero-mockup.html (user-approved design)
   Photos are dynamic (7-12) from WP Customizer
   ============================================ */

.hero-dynamic {
	position: relative;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	padding: 120px 60px 80px;
	overflow: hidden;
	color: var(--color-cream, #F3F1EB);
}

/* radial glow background */
.hero-dynamic::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 72% 45%, rgba(45,122,70,.35) 0%, transparent 45%),
		radial-gradient(circle at 20% 80%, rgba(76,175,80,.12) 0%, transparent 40%),
		linear-gradient(180deg, #050505 0%, #0a0f0b 100%);
	z-index: 0;
}
/* subtle vignette */
.hero-dynamic::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, transparent 55%, rgba(0,0,0,.7) 100%);
	z-index: 1;
	pointer-events: none;
}

/* ---- LEFT: text ---- */
.hero-dynamic .hero-text {
	position: relative;
	z-index: 5;
	max-width: 560px;
}

.hero-dynamic .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #4CAF50;
	margin-bottom: 26px;
}
.hero-dynamic .eyebrow::before {
	content: '';
	width: 32px;
	height: 1px;
	background: #4CAF50;
}

.hero-dynamic .hero-headline {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: clamp(2.6rem, 5.4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -2px;
	color: #fff;
	margin: 0 0 26px;
}
.hero-dynamic .hero-headline em {
	font-style: italic;
	color: #4CAF50;
	font-weight: 400;
}

.hero-dynamic .hero-lede {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.06rem;
	line-height: 1.7;
	color: rgba(243,241,235,.7);
	max-width: 460px;
	margin: 0 0 38px;
}

/* ---- CTA buttons ---- */
.hero-dynamic .button-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.hero-dynamic .button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: .95rem;
	padding: 16px 32px;
	border-radius: 50px;
	text-decoration: none;
	transition: all .35s cubic-bezier(.22,1,.36,1);
	cursor: pointer;
	border: none;
}

.hero-dynamic .button-primary {
	background: #2D7A46;
	color: #fff;
	box-shadow: 0 8px 30px rgba(45,122,70,.4);
}
.hero-dynamic .button-primary:hover {
	background: #256a3a;
	transform: translateY(-3px);
	box-shadow: 0 12px 38px rgba(45,122,70,.55);
}

.hero-dynamic .button-secondary {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255,255,255,.25);
}
.hero-dynamic .button-secondary:hover {
	border-color: #4CAF50;
	color: #4CAF50;
	transform: translateY(-3px);
}

.hero-dynamic .button svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* ---- Stats footer ---- */
.hero-dynamic .hero-foot {
	display: flex;
	gap: 36px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid rgba(255,255,255,.12);
}
.hero-dynamic .hero-foot .stat strong,
.hero-dynamic .hero-foot > span strong {
	display: block;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.9rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}
.hero-dynamic .hero-foot .stat span,
.hero-dynamic .hero-foot > span span {
	font-family: 'DM Sans', sans-serif;
	font-size: .82rem;
	color: rgba(243,241,235,.55);
	letter-spacing: .5px;
}

/* ============================================
   RIGHT — 3D ROTATING PHOTO RING
   ============================================ */
.hero-dynamic .hero-visual {
	position: relative;
	z-index: 5;
	height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1400px;
}

.hero-dynamic .ring-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-dynamic .ring {
	position: relative;
	width: 300px;
	height: 380px;
	transform-style: preserve-3d;
	animation: heroRingSpin 48s linear infinite;
}
.hero-dynamic .ring:hover {
	animation-play-state: paused;
}
@keyframes heroRingSpin {
	from { transform: rotateY(0); }
	to   { transform: rotateY(-360deg); }
}

/* each photo card on the ring */
.hero-dynamic .pcard {
	position: absolute;
	top: 0;
	left: 0;
	width: 220px;
	height: 290px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,.6);
	transform: rotateY(var(--a)) translateZ(var(--r, 360px));
	border: 1px solid rgba(255,255,255,.12);
	backface-visibility: hidden;
}
.hero-dynamic .pcard img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.05) contrast(1.05);
}
.hero-dynamic .pcard::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5));
}

/* center core logo */
.hero-dynamic .core {
	position: absolute;
	z-index: 20;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #3a8f56, #2D7A46 60%, #1e5630);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow:
		0 0 0 10px rgba(45,122,70,.12),
		0 0 0 22px rgba(45,122,70,.06),
		0 20px 60px rgba(0,0,0,.6);
	text-align: center;
}
.hero-dynamic .core .logo-txt {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	color: #fff;
	line-height: 1;
	letter-spacing: -.5px;
}
.hero-dynamic .core .logo-sub {
	font-family: 'Space Grotesk', sans-serif;
	font-size: .6rem;
	letter-spacing: 3px;
	color: rgba(255,255,255,.8);
	margin-top: 6px;
	text-transform: uppercase;
}

/* reflection floor */
.hero-dynamic .floor {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	width: 70%;
	height: 120px;
	z-index: 2;
	pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(45,122,70,.25), transparent 70%);
	filter: blur(20px);
}

/* ---- Placeholder when not enough photos ---- */
.hero-dynamic .hero-placeholder {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 2px dashed rgba(45,122,70,.4);
	border-radius: 16px;
	background: rgba(5,5,5,.4);
}
.hero-dynamic .hero-placeholder-content {
	text-align: center;
	color: rgba(243,241,235,.5);
}
.hero-dynamic .hero-placeholder-content svg {
	margin: 0 auto 1rem;
	opacity: .4;
}
.hero-dynamic .hero-placeholder-content p {
	margin: .25rem 0;
	font-family: 'DM Sans', sans-serif;
	font-size: .92rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
	.hero-dynamic {
		grid-template-columns: 1fr;
		padding: 110px 28px 60px;
		text-align: left;
	}
	.hero-dynamic .hero-visual {
		height: 420px;
		order: -1;
	}
	.hero-dynamic .ring {
		width: 220px;
		height: 280px;
	}
	.hero-dynamic .pcard {
		width: 160px;
		height: 210px;
	}
	.hero-dynamic .core {
		width: 120px;
		height: 120px;
	}
	.hero-dynamic .core .logo-txt { font-size: 1.1rem; }
	.hero-dynamic .hero-foot { gap: 24px; }
}

@media (max-width: 640px) {
	.hero-dynamic {
		padding: 100px 1.25rem 3rem;
		min-height: auto;
	}
	.hero-dynamic .hero-headline { font-size: 2.1rem; letter-spacing: -1px; }
	.hero-dynamic .hero-lede { font-size: .95rem; }
	.hero-dynamic .button-row {
		flex-direction: column;
		align-items: stretch;
	}
	.hero-dynamic .button-row .button { justify-content: center; }
	.hero-dynamic .hero-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: .9rem;
	}
	.hero-dynamic .hero-visual {
		height: 340px;
		perspective: 900px;
	}
	.hero-dynamic .ring {
		width: 170px;
		height: 220px;
	}
	.hero-dynamic .pcard {
		width: 130px;
		height: 175px;
		border-radius: 12px;
	}
	.hero-dynamic .core {
		width: 96px;
		height: 96px;
	}
	.hero-dynamic .core .logo-txt { font-size: .9rem; }
	.hero-dynamic .core .logo-sub { font-size: .5rem; letter-spacing: 2px; }
	.hero-dynamic .floor { bottom: 30px; height: 80px; }
}