/* ===== Ward Hero Slider ===== */
.ward-hero {
	position: relative;
	background: linear-gradient(135deg, #141c52 0%, var(--ward-navy-dark) 100%);
	overflow: hidden;
}
.ward-hero-bg-decor {
	position: absolute;
	top: -120px; left: -120px;
	width: 480px; height: 480px;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 50%;
}
.ward-hero-bg-decor::before {
	content: '';
	position: absolute; inset: 60px;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 50%;
}
.ward-hero-track { position: relative; min-height: 520px; }
.ward-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
	overflow: hidden;
}
.ward-hero-slide.active { position: relative; opacity: 1; visibility: visible; }
.ward-hero-slide-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--hero-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.ward-hero-slide-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(10, 16, 48, var(--hero-overlay, .55)) 0%,
		rgba(16, 26, 74, calc(var(--hero-overlay, .55) + .1)) 55%,
		rgba(10, 16, 48, calc(var(--hero-overlay, .55) + .05)) 100%
	);
}
.ward-hero-slide.has-bg .ward-hero-bg-decor { opacity: .35; }
.ward-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 40px;
	flex-wrap: wrap;
}

.ward-hero-text { max-width: 540px; position: relative; z-index: 2; }
.ward-hero-badge {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	color: var(--ward-gold);
	background: rgba(201,162,75,.12);
	border: 1px solid rgba(201,162,75,.3);
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 18px;
}
.ward-hero-heading { margin-bottom: 18px; line-height: 1.25; }
.ward-hero-eyebrow-line { display: block; font-size: 34px; font-weight: 900; color: #fff; }
.ward-hero-title-line { display: block; font-size: 46px; font-weight: 900; color: var(--ward-gold); }
.ward-hero-desc { color: #c7cbe8; font-size: 16px; line-height: 1.9; margin-bottom: 28px; max-width: 460px; }
.ward-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Stacked book covers (like design mock) ===== */
.ward-hero-books {
	position: relative;
	width: 420px;
	height: 400px;
	flex-shrink: 0;
	perspective: 900px;
}
.ward-hero-books-ring {
	position: absolute;
	top: 50%;
	left: 46%;
	width: 300px;
	height: 300px;
	transform: translate(-50%, -50%);
	border: 1.5px solid rgba(201, 162, 75, .45);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.ward-hero-books-ring::before {
	content: '';
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(201, 162, 75, .28);
	border-radius: 50%;
}
.ward-hero-books-glow {
	position: absolute;
	top: 50%;
	left: 46%;
	width: 280px;
	height: 280px;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(201,162,75,.28) 0%, transparent 68%);
	pointer-events: none;
	z-index: 0;
}
.ward-hero-books-stack {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.ward-hero-book {
	position: absolute;
	width: 168px;
	aspect-ratio: 2 / 3;
	border-radius: 4px;
	overflow: hidden;
	box-shadow:
		0 18px 40px rgba(0, 0, 0, .45),
		0 4px 12px rgba(0, 0, 0, .25);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
	transform-style: preserve-3d;
	background: #1a1f3d;
}
.ward-hero-book img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Front book (first gallery image) — nearest / right of stack */
.ward-hero-book-0 {
	top: 12%;
	right: 8%;
	z-index: 3;
	transform: rotate(-11deg) translateZ(40px);
}
/* Middle book */
.ward-hero-book-1 {
	top: 18%;
	right: 28%;
	z-index: 2;
	width: 156px;
	transform: rotate(-6deg) translateZ(0);
	opacity: .96;
}
/* Back book — farthest left */
.ward-hero-book-2 {
	top: 24%;
	right: 46%;
	z-index: 1;
	width: 148px;
	transform: rotate(-2deg) translateZ(-30px);
	opacity: .9;
}

/* Single cover: keep centered with same tilt + ring */
.ward-hero-books[data-count="1"] .ward-hero-book-0 {
	top: 14%;
	right: 28%;
	width: 180px;
	transform: rotate(-10deg);
}
/* Two covers */
.ward-hero-books[data-count="2"] .ward-hero-book-0 {
	right: 14%;
}
.ward-hero-books[data-count="2"] .ward-hero-book-1 {
	right: 36%;
}

.ward-hero-books:hover .ward-hero-book-0 {
	transform: rotate(-8deg) translateY(-10px) translateZ(48px);
	box-shadow: 0 28px 50px rgba(0, 0, 0, .5);
}
.ward-hero-books:hover .ward-hero-book-1 {
	transform: rotate(-4deg) translateY(-6px);
}
.ward-hero-books:hover .ward-hero-book-2 {
	transform: rotate(0deg) translateY(-4px) translateZ(-20px);
}

.ward-hero-stats {
	position: relative;
	z-index: 2;
	display: flex;
	gap: 0;
	padding: 26px 24px;
	border-top: 1px solid rgba(255,255,255,.1);
}
.ward-hero-stat-item {
	display: flex; flex-direction: column;
	padding: 0 34px;
	border-left: 1px solid rgba(255,255,255,.14);
}
.ward-hero-stat-item:last-child { border-left: none; }
.ward-hero-stat-item:first-child { padding-right: 0; }
.ward-hero-stat-number { font-size: 26px; font-weight: 900; color: #fff; }
.ward-hero-stat-label { color: #9ba0c4; font-size: 13px; margin-top: 3px; }

.ward-hero-dots { position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.ward-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; }
.ward-hero-dot.active { background: var(--ward-gold); width: 24px; border-radius: 4px; }

.ward-hero-scroll {
	position: absolute;
	bottom: 118px;
	left: 30px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #8f94b8;
	font-size: 11px;
	letter-spacing: 2px;
	animation: ward-bounce 1.8s infinite;
}
@keyframes ward-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(8px); }
}

@media (max-width: 900px) {
	.ward-hero-inner { flex-direction: column; text-align: center; }
	.ward-hero-eyebrow-line { font-size: 26px; }
	.ward-hero-title-line { font-size: 34px; }
	.ward-hero-desc { margin-left: auto; margin-right: auto; }
	.ward-hero-btns { justify-content: center; }
	.ward-hero-books { width: 300px; height: 300px; margin: 0 auto; }
	.ward-hero-books-ring { width: 220px; height: 220px; }
	.ward-hero-book { width: 120px; }
	.ward-hero-book-1 { width: 112px; }
	.ward-hero-book-2 { width: 104px; }
	.ward-hero-books[data-count="1"] .ward-hero-book-0 { width: 130px; right: 26%; }
	.ward-hero-stats { flex-wrap: wrap; justify-content: center; }
	.ward-hero-stat-item { border-left: none; padding: 0 18px; }
	.ward-hero-scroll { display: none; }
}
