/**
 * Soulful Healing Energy Services widget — base styles.
 * Designed for a dark-background section — text is light/white,
 * card and banner surfaces are dark-tinted glass. Most literal color
 * defaults live in the widget's own style controls, mirrored here as
 * CSS fallbacks for when the widget renders before Elementor's
 * generated CSS (e.g. static caching edge cases).
 */

.sh-energy {
	position: relative;
}

/* Header */
.sh-energy__header {
	max-width: 720px;
	margin-inline: auto;
	margin-bottom: var(--sh-space-8);
	text-align: center;
}

.sh-energy__eyebrow {
	font-family: var(--sh-font-nav);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #B08A3E;
	margin-bottom: var(--sh-space-4);
}

.sh-energy__title {
	font-family: var(--sh-font-heading);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 2vw, 2.75rem);
	color: #FFFFFF;
	margin-bottom: var(--sh-space-3);
}

.sh-energy__subtitle {
	font-family: var(--sh-font-body);
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	margin: 0;
}

/* Feature card */
.sh-energy__feature {
	position: relative;
	display: grid;
	grid-template-columns: 0.9fr 1.4fr;
	gap: var(--sh-space-7);
	align-items: center;
	background: #2B0A4A;
	border-radius: 24px;
	padding: var(--sh-space-8);
	margin-bottom: var(--sh-space-6);
	overflow: hidden;
}

.sh-energy__feature-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.sh-energy__feature-bg-overlay {
	position: absolute;
	inset: 0;
	background: #2B0A4A;
	opacity: 0.72;
	z-index: 1;
}

.sh-energy__feature-media,
.sh-energy__feature-content,
.sh-energy__feature-quote {
	position: relative;
	z-index: 2;
}

.sh-energy__feature-media img {
	width: 100%;
	border-radius: 16px;
}

.sh-energy__side-words {
	position: absolute;
	left: var(--sh-space-4);
	bottom: var(--sh-space-4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-energy__side-words li {
	font-family: var(--sh-font-nav);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #D9A83F;
	line-height: 1.8;
}

.sh-energy__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--sh-space-2);
	font-family: var(--sh-font-nav);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #F0CF72;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: var(--sh-space-2) var(--sh-space-4);
	margin-bottom: var(--sh-space-4);
}

.sh-energy__badge svg {
	width: 14px;
	height: 14px;
}

.sh-energy__feature-title {
	font-family: var(--sh-font-heading);
	font-weight: 600;
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
	color: #FFFFFF;
	margin-bottom: var(--sh-space-4);
}

.sh-energy__feature-description {
	font-family: var(--sh-font-body);
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.7;
	margin-bottom: var(--sh-space-5);
}

.sh-energy__benefits-label {
	color: #FFFFFF;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	margin-bottom: var(--sh-space-3);
}

.sh-energy__benefits {
	list-style: none;
	margin: 0 0 var(--sh-space-6);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sh-space-3);
}

.sh-energy__benefits li {
	display: flex;
	align-items: flex-start;
	gap: var(--sh-space-3);
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.5;
}

.sh-energy__benefit-icon {
	flex-shrink: 0;
	color: #D9A83F;
	margin-top: 2px;
}

.sh-energy__feature-disclaimer {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: var(--sh-space-4);
	margin: 0;
}

.sh-energy__feature-quote {
	position: absolute;
	right: var(--sh-space-6);
	top: var(--sh-space-6);
	max-width: 160px;
	font-family: var(--sh-font-heading);
	font-style: italic;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	color: #D9A83F;
	text-align: right;
	line-height: 1.4;
}

/* Services grid */
.sh-energy__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sh-space-5);
	margin-bottom: var(--sh-space-6);
}

.sh-energy__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: var(--sh-space-7) var(--sh-space-6);
}

.sh-energy__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	color: #D9A83F;
	font-size: 34px;
	margin-bottom: var(--sh-space-5);
}

.sh-energy__card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sh-energy__card-icon svg {
	width: 1em;
	height: 1em;
}

.sh-energy__card-title {
	font-family: var(--sh-font-heading);
	font-weight: 600;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	color: #FFFFFF;
	margin-bottom: var(--sh-space-3);
}

.sh-energy__card-description {
	font-family: var(--sh-font-body);
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.7;
	margin: 0;
}

/* Banner */
.sh-energy__banner {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	align-items: center;
	gap: var(--sh-space-6);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: var(--sh-space-6);
	margin-bottom: var(--sh-space-7);
	overflow: hidden;
}

.sh-energy__banner-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

.sh-energy__banner-bg-overlay {
	position: absolute;
	inset: 0;
	background: #2B0A4A;
	opacity: 0.72;
	z-index: 1;
}

.sh-energy__banner-content,
.sh-energy__banner-media {
	position: relative;
	z-index: 2;
}

.sh-energy__banner-content {
	display: flex;
	align-items: flex-start;
	gap: var(--sh-space-5);
}

.sh-energy__banner-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(217, 168, 63, 0.14);
	color: #D9A83F;
	font-size: 26px;
}

.sh-energy__banner-icon svg {
	width: 1em;
	height: 1em;
}

.sh-energy__banner-title {
	font-family: var(--sh-font-heading);
	font-weight: 600;
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	color: #FFFFFF;
	margin-bottom: var(--sh-space-2);
}

.sh-energy__banner-description {
	font-family: var(--sh-font-body);
	color: rgba(255, 255, 255, 0.72);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.7;
	margin: 0;
}

.sh-energy__banner-media img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}

/* CTA */
.sh-energy__cta-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: var(--sh-space-7);
}

.sh-energy__cta {
	display: inline-flex;
	align-items: center;
	gap: var(--sh-space-3);
	font-family: var(--sh-font-button);
	font-weight: 600;
	font-size: 0.9375rem;
	color: #2B0A4A;
	/* Matches .sh-button font-size in assets/css/utilities.css, so this
	   CTA reads identically to every other button on the site. */
	background: #D9A83F;
	border-radius: 999px;
	padding: var(--sh-space-4) var(--sh-space-7);
	text-decoration: none;
	transition: background-color var(--sh-transition-fast);
}

.sh-energy__cta:hover {
	background: #F0CF72;
	color: #2B0A4A;
}

.sh-energy__cta svg {
	width: 18px;
	height: 18px;
}

.sh-energy__cta-arrow {
	width: 16px;
	height: 16px;
}

/* Decorative extras */
.sh-energy__decor {
	position: absolute;
	pointer-events: none;
	max-width: 260px;
	height: auto;
}

.sh-energy__decor--top-left {
	top: -40px;
	left: -40px;
}

.sh-energy__decor--bottom-right {
	bottom: -20px;
	right: -20px;
}

.sh-energy__footer-decor {
	display: flex;
	justify-content: center;
	margin-bottom: var(--sh-space-4);
}

.sh-energy__footer-tagline {
	font-family: var(--sh-font-nav);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.sh-energy__feature {
		grid-template-columns: 1fr;
	}

	.sh-energy__feature-quote {
		position: static;
		max-width: none;
		text-align: left;
		margin-top: var(--sh-space-5);
	}

	.sh-energy__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sh-energy__banner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.sh-energy__grid {
		grid-template-columns: 1fr;
	}

	.sh-energy__feature {
		padding: var(--sh-space-6);
	}

	.sh-energy__banner-content {
		flex-direction: column;
	}

	.sh-energy__decor {
		display: none;
	}
}
