.epaw-page-hero {
	--epaw-ovl-top: 0.6;
	--epaw-ovl-bottom: 0.86;

	position: relative;
	display: flex;
	align-items: center;
	min-height: 72vh;
	padding: 78px 0 96px;
	background: center / cover no-repeat #0a2233;
	overflow: hidden;
}

.epaw-page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg,
		rgba(11, 36, 54, var(--epaw-ovl-top)) 0%,
		rgba(11, 36, 54, calc(var(--epaw-ovl-top) * 0.58)) 45%,
		rgba(11, 36, 54, var(--epaw-ovl-bottom)) 100%);
	pointer-events: none;
}

.epaw-page-hero *,
.epaw-page-hero *::before,
.epaw-page-hero *::after {
	box-sizing: border-box;
}

.epaw-page-hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var( --epaw-content-width, 1300px );
	margin-inline: auto;
	padding-inline: 24px;
}

.epaw-page-hero__inner {
	max-width: 760px;
	color: #fff;
}

.epaw-page-hero__label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 68px 0 0;
	font-family: 'Poppins', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
}

.epaw-page-hero__label::before {
	content: '';
	width: 28px;
	height: 2px;
	flex-shrink: 0;
	background: #35a06a;
	border-radius: 2px;
}

.epaw-page-hero__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 40px;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #fff;
	margin: 26px 0 18px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.epaw-page-hero__sub {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.9);
	max-width: 580px;
	margin: 0;
}

.epaw-page-hero__cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 34px;
}

.epaw-page-hero .epaw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.epaw-page-hero .epaw-btn svg {
	width: 16px;
	height: 16px;
}

.epaw-page-hero .epaw-btn--primary {
	background: #1e7a4a;
	color: #fff;
	box-shadow: 0 10px 24px rgba(30, 122, 74, 0.35);
}

.epaw-page-hero .epaw-btn--primary:hover {
	background: #17603b;
	transform: translateY(-2px);
}

.epaw-page-hero .epaw-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}

.epaw-page-hero .epaw-btn--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

.epaw-page-hero__wa {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	border-bottom: 2px solid rgba(255, 255, 255, 0.35);
	padding-bottom: 2px;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.epaw-page-hero__wa svg {
	width: 19px;
	height: 19px;
	color: #25d366;
}

.epaw-page-hero__wa:hover {
	color: #9fe3c0;
	border-color: #9fe3c0;
}

@media (max-width: 1024px) {
	.epaw-page-hero {
		padding: 130px 0 80px;
		min-height: 66vh;
	}
}

@media (max-width: 640px) {
	.epaw-page-hero {
		padding: 110px 0 64px;
		min-height: 60vh;
	}

	.epaw-page-hero .epaw-btn {
		width: 100%;
	}

	.epaw-page-hero__wa {
		width: 100%;
		justify-content: center;
		border-bottom: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.epaw-page-hero .epaw-btn,
	.epaw-page-hero__wa {
		transition: none;
	}
}

/* =========================================================
   Breadcrumb, script badge & compact (catalog) variant
   ========================================================= */

.epaw-page-hero__crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 18px;
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
}

.epaw-page-hero__crumbs a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.epaw-page-hero__crumbs a:hover { color: #fff; }

.epaw-page-hero__crumbs-sep { opacity: 0.6; }

.epaw-page-hero__crumbs [aria-current='page'] { color: #fff; }

.epaw-page-hero__script {
	position: absolute;
	top: 50%;
	right: 42px;
	z-index: 2;
	transform: translateY(-50%) rotate(-6deg);
	margin: 0;
	padding: 0 6px 0 2px;
	max-width: 260px;
	font-family: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
	font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 2.4rem);
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
	pointer-events: none;
}

/* Hand-drawn underline — matches the homepage hero tagline swash. */
.epaw-page-hero__swash {
	position: absolute;
	left: 0;
	bottom: -18px;
	width: 100%;
	height: auto;
	color: rgba(255, 255, 255, 0.9);
	overflow: visible;
}

.epaw-page-hero--catalog {
	align-items: flex-start;
	padding: 132px 0 34px;
}

.epaw-page-hero--catalog::before {
	background: linear-gradient(180deg,
		rgba(7, 28, 43, 0.78) 0%,
		rgba(7, 28, 43, 0.44) 44%,
		rgba(7, 28, 43, 0.3) 100%);
}

.epaw-page-hero--catalog .epaw-page-hero__label { margin-top: 0; }

.epaw-page-hero--catalog .epaw-page-hero__title {
	font-size: clamp(2rem, 4vw, 2.9rem);
	margin: 0 0 12px;
}

.epaw-page-hero--catalog .epaw-page-hero__sub { font-size: 1.05rem; }

/* =========================================================
   Solid variant — no background image (e.g. legal pages)
   ========================================================= */

.epaw-page-hero--solid {
	background-image: none;
	min-height: auto;
}

@media (max-width: 1024px) {
	.epaw-page-hero--solid { min-height: 66vh; }
}

@media (max-width: 640px) {
	.epaw-page-hero--solid { min-height: 60vh; }
}

@media (max-width: 1024px) {

	.epaw-page-hero--catalog { padding: 132px 0 28px; }

	.epaw-page-hero__script {
		right: 24px;
		font-size: 1.65rem;
	}
}

@media (max-width: 640px) {

	.epaw-page-hero--catalog { padding: 122px 0 26px; }

	.epaw-page-hero__script { display: none; }
}
