/* Homepage — neat & clean layout (competitor-inspired rhythm, Enoor branding) */

body.es-home--clean {
	background: #fff;
}

/* Header: always light on homepage */
body.es-home--clean .es-header--home {
	background: #fff;
	box-shadow: 0 1px 0 var(--es-color-border);
	border-bottom: none;
}

.es-header--home .es-header__inner {
	min-height: 4.5rem;
}

.es-btn--nav-login {
	background: transparent;
	border: 1.5px solid var(--es-color-border);
	color: var(--es-color-primary);
	padding: 0.55rem 1.1rem;
	font-size: 0.8125rem;
	font-weight: 600;
}
.es-btn--nav-login:hover {
	border-color: var(--es-color-primary);
	background: rgba(11, 70, 40, 0.04);
}

.es-btn--text {
	background: transparent;
	border: none;
	color: var(--es-color-primary);
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 0.9rem 1rem;
	text-decoration: none;
	box-shadow: none;
}
.es-btn--text:hover {
	color: var(--es-color-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Hero — light, airy */
.es-hero--light {
	background: linear-gradient(180deg, #fff 0%, #f9f8f3 100%);
	padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
	position: relative;
	overflow: hidden;
}

.es-hero--light .es-hero__content {
	text-align: center;
}

@media (min-width: 1024px) {
	.es-hero--light .es-hero__content {
		text-align: left;
	}
	.es-hero--light .es-hero__lead--dark {
		margin-left: 0;
	}
}

.es-hero__grid--clean {
	align-items: center;
}

@media (min-width: 1024px) {
	.es-hero__grid--clean {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.es-hero__grid--clean .es-hero__visual { order: -1; }
	.es-hero__grid--clean .es-hero__content { text-align: left; }
}

.es-hero__eyebrow--dark {
	color: var(--es-color-accent);
	margin-bottom: 0.65rem;
}

.es-hero--light h1.es-display {
	color: var(--es-color-primary-dark);
	font-size: clamp(2rem, 3.8vw, 2.85rem);
	line-height: 1.18;
	margin: 0 0 1rem;
}

.es-highlight--green {
	color: var(--es-color-primary-light);
	text-decoration: none;
	font-style: italic;
}

.es-hero__lead--dark {
	color: var(--es-color-muted);
	font-size: 1.0625rem;
	font-weight: 400;
	max-width: 32rem;
	margin: 0 0 1.5rem;
}

@media (min-width: 1024px) {
	.es-hero--light .es-hero__actions {
		justify-content: flex-start;
	}
}

.es-hero__visual {
	position: relative;
	max-width: 26rem;
	margin: 0 auto;
}

.es-hero__shape {
	position: absolute;
	width: 85%;
	height: 75%;
	left: 5%;
	top: 12%;
	background: linear-gradient(135deg, #f3e4b8 0%, #e8c96a 45%, #d4a017 100%);
	border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
	opacity: 0.55;
	z-index: 0;
}

.es-hero--light .es-media-frame {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: var(--es-radius-xl);
	padding: 0.4rem;
	box-shadow: 0 20px 50px rgba(11, 70, 40, 0.12);
	border: 1px solid var(--es-color-border);
}

.es-hero--light .es-media-frame__img {
	border-radius: calc(var(--es-radius-xl) - 4px);
	aspect-ratio: 4 / 4.2;
	object-fit: cover;
}

/* Stats bar — full-width green strip (like competitor rhythm) */
.es-stats-bar {
	background: var(--es-color-primary);
	color: #fff;
	padding: 1.35rem 0;
}

.es-stats-bar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.es-stats-bar__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.es-stats-bar__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}
}

.es-stats-bar__list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
}

.es-stats-bar__icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: var(--es-color-accent-hover);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Section rhythm */
body.es-home--clean .es-section {
	padding: clamp(3rem, 5vw, 5rem) 0;
}

.es-section-head--compact {
	margin-bottom: 2.25rem;
}

.es-section-head--compact p {
	font-size: 0.9375rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.es-section-cta {
	text-align: center;
	margin: 2.25rem 0 0;
}

/* How it works — simple cards */
.es-steps--clean {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.es-steps--clean {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

.es-step--clean {
	background: var(--es-color-surface);
	border: 1px solid var(--es-color-border);
	border-radius: var(--es-radius-lg);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--es-shadow-sm);
	text-align: center;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.es-step--clean:hover {
	box-shadow: var(--es-shadow-md);
	border-color: rgba(212, 160, 23, 0.35);
}

.es-step--clean .es-step__num {
	margin: 0 auto 1rem;
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1rem;
}

.es-step--clean h3 {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	color: var(--es-color-primary);
}

.es-step--clean p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--es-color-muted);
	line-height: 1.6;
}

/* Course cards — clean icon style */
.es-course-card--clean {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--es-color-border);
	border-radius: var(--es-radius-lg);
	padding: 1.75rem 1.5rem 1.5rem;
	box-shadow: var(--es-shadow-sm);
	transition: box-shadow 0.2s, transform 0.2s;
}

.es-course-card--clean:hover {
	box-shadow: var(--es-shadow-md);
	transform: translateY(-2px);
}

.es-course-card--clean.is-featured {
	border-color: rgba(212, 160, 23, 0.55);
	box-shadow: 0 8px 28px rgba(212, 160, 23, 0.15);
}

.es-course-card__icon-wrap {
	margin-bottom: 1.25rem;
}

.es-course-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.75rem;
	height: 3.75rem;
	border-radius: 50%;
	background: var(--es-color-primary);
	color: #f0d48a;
	border: 3px solid rgba(212, 160, 23, 0.55);
	box-shadow: 0 4px 14px rgba(11, 70, 40, 0.12);
}
.es-course-card__icon svg {
	display: block;
	flex-shrink: 0;
}

.es-course-card--clean .es-course-card__body {
	padding: 0;
	flex: 1;
}

.es-course-card__tag--inline {
	position: static;
	display: inline-block;
	margin-bottom: 0.35rem;
	background: rgba(11, 70, 40, 0.08);
	color: var(--es-color-primary);
	font-size: 0.625rem;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
}

.es-course-card--clean .es-course-card__body h3 {
	font-size: 1.125rem;
	margin: 0 0 0.5rem;
}

.es-course-card--clean .es-course-card__body p {
	font-size: 0.8125rem;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.es-course-card__foot--stack {
	border-top: none;
	padding: 1.25rem 0 0;
	margin-top: auto;
}

/* Tone down decorative noise on homepage */
body.es-home--clean .es-geo-accent,
body.es-home--clean .es-hero__blob,
body.es-home--clean .es-section-divider {
	display: none;
}

body.es-home--clean .es-section--mint {
	background: #f9f8f3;
}

body.es-home--clean .es-section--warm {
	background: #fff;
}

body.es-home--clean .es-why-grid .es-feature-card {
	border: 1px solid var(--es-color-border);
	box-shadow: none;
}

body.es-home--clean .es-testimonial-card {
	border-radius: var(--es-radius-md);
}

body.es-home--clean .es-donate-band {
	border-radius: 0;
}

/* About block — less heavy border */
body.es-home--clean .es-about-split__media {
	border-width: 2px;
	box-shadow: var(--es-shadow-md);
}

/* Cleaner header (reference-style: fewer distractions) */
body.es-home--clean .es-topbar {
	display: none;
}

body.es-home--clean .es-header__actions .es-btn--nav-donate {
	display: inline-flex;
	border-color: var(--es-color-accent);
	color: var(--es-color-accent);
	background: rgba(212, 160, 23, 0.12);
}

body.es-home--clean .es-header__actions .es-btn--gold {
	background: var(--es-color-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(11, 70, 40, 0.22);
}

body.es-home--clean .es-header__actions .es-btn--gold:hover {
	background: var(--es-color-primary-light);
	color: #fff;
}

body.es-home--clean .es-hero--light .es-btn--gold {
	background: var(--es-color-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(11, 70, 40, 0.22);
}

body.es-home--clean .es-hero--light .es-btn--gold:hover {
	background: var(--es-color-primary-light);
	color: #fff;
}

body.es-home--clean .es-section-head {
	text-align: center;
}

body.es-home--clean .es-kicker {
	display: block;
	text-align: center;
}

/* Pricing cards — icon on top, one CTA on homepage */
.es-pricing-card__icon {
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: var(--es-color-primary);
	color: #f0d48a;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(212, 160, 23, 0.45);
}

.es-pricing-card--compare .es-pricing-card__name,
.es-pricing-card--compare .es-pricing-meta {
	text-align: center;
}

.es-pricing-card--compact {
	padding-top: 2rem;
}

.es-pricing-card--compact .es-pricing-price--contact {
	font-size: 0.9375rem !important;
	line-height: 1.35;
}

.es-pricing-compare-grid--home {
	margin-top: 0.5rem;
}

/* Blog index (professional listing) */
.es-blog-index {
	position: relative;
	background: #f7f6f2;
	padding: 2.5rem 0 4rem;
	overflow: hidden;
}
.es-blog-index__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.45;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23c5cfc8' stroke-width='0.6'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-size: 28px 28px;
	pointer-events: none;
}
.es-blog-index__inner {
	position: relative;
	z-index: 1;
}
.es-blog-search {
	position: relative;
	max-width: 42rem;
	margin: 0 auto 1.35rem;
}
.es-blog-search__icon {
	position: absolute;
	left: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.1rem;
	color: var(--es-color-muted);
	pointer-events: none;
}
.es-blog-search input {
	width: 100%;
	padding: 0.85rem 1rem 0.85rem 2.75rem;
	border: 1px solid #d8ddd9;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-family: inherit;
	background: #fff;
	box-shadow: 0 2px 12px rgba(11, 70, 40, 0.06);
}
.es-blog-search input:focus {
	outline: 2px solid rgba(11, 70, 40, 0.25);
	border-color: var(--es-color-primary);
}
.es-blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.25rem;
}
.es-blog-filter {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	color: #3d4a42;
	background: #eceae4;
	border: 1px solid transparent;
	transition: background 0.15s, color 0.15s;
}
.es-blog-filter sup {
	font-size: 0.625rem;
	font-weight: 700;
	opacity: 0.65;
	margin-left: 0.15rem;
}
.es-blog-filter:hover {
	background: #e2e8e4;
	color: var(--es-color-primary);
}
.es-blog-filter.is-active {
	background: var(--es-color-primary);
	color: #fff;
}
.es-blog-filter.is-active sup {
	opacity: 0.85;
	color: inherit;
}
.es-blog-count {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: var(--es-color-muted);
}
.es-blog-count__hint {
	color: var(--es-color-primary);
}
.es-blog-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 2rem;
}
.es-section-cta--center {
	text-align: center;
	margin-top: 1.75rem;
}

/* Blog cards — professional */
.es-blog-grid {
	align-items: stretch;
}
.es-blog-card--pro {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8ebe8;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(11, 70, 40, 0.06);
	transition: box-shadow 0.2s, transform 0.2s;
}
.es-blog-card--pro:hover {
	box-shadow: 0 10px 28px rgba(11, 70, 40, 0.1);
	transform: translateY(-3px);
}
.es-blog-card--pro .es-blog-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef2ef;
}
.es-blog-card--pro .es-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.es-blog-card--pro .es-blog-card__body {
	padding: 1.15rem 1.25rem 1.35rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.es-blog-card__pill {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.28rem 0.55rem;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5c4a12;
	background: #f3e4a8;
	border-radius: 3px;
}
.es-blog-card--pro .es-blog-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	line-height: 1.35;
	font-weight: 700;
	font-family: var(--es-font-body, 'Poppins', sans-serif);
}
.es-blog-card--pro .es-blog-card__title a {
	color: #1a1a1a;
	text-decoration: none;
}
.es-blog-card--pro .es-blog-card__title a:hover {
	color: var(--es-color-primary);
}
.es-blog-card--pro .es-blog-card__excerpt {
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}
.es-blog-card__read {
	margin-top: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--es-color-primary);
	text-decoration: none;
}
.es-blog-card__read:hover {
	text-decoration: underline;
}
.es-blog-card__read span {
	font-size: 1.1em;
}
.es-blog-post__cat {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--es-color-accent);
}
.es-blog-post__cover {
	margin: 0 0 2rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(11, 70, 40, 0.1);
}
.es-blog-post__cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Softer full-width promo bands */
body.es-home--clean .es-section--primary .es-pattern,
body.es-home--clean .es-donate-band .es-pattern {
	opacity: 0.35;
}

body.es-home--clean .es-course-card--clean .es-btn--gold {
	background: var(--es-color-primary);
	color: #fff;
}

body.es-home--clean .es-course-card--clean .es-btn--gold:hover {
	background: var(--es-color-primary-light);
	color: #fff;
}
