.wp-block-serenelife-hero,
.serene-hero {
	box-sizing: border-box;
	color: var(--serenelife-section-text, #fff);
	isolation: isolate;
	position: relative;
}

.serene-hero__background {
	z-index: 0;
}

.serene-hero__sparkle {
	color: var(--serenelife-section-accent, #ffac75) !important;
	opacity: 0.28;
	pointer-events: none;
	z-index: 1;
}

.serene-hero__inner {
	position: relative;
	z-index: 2;
}

.serene-hero__columns.wp-block-columns {
	align-items: center !important;
	display: flex !important;
	justify-content: space-between !important;
	gap: 0 !important;
	margin: 0;
}

.serene-hero__columns > .wp-block-column {
	min-width: 0;
}

.serene-hero__main {
	color: var(--serenelife-section-text, #fff);
	flex: 0 0 var(--serenelife-hero-col1, 58%) !important;
	max-width: var(--serenelife-hero-col1, 58%) !important;
	width: var(--serenelife-hero-col1, 58%) !important;
}

.serene-hero__form-column {
	flex: 0 0 var(--serenelife-hero-col2, 38%) !important;
	max-width: var(--serenelife-hero-col2, 38%) !important;
	width: var(--serenelife-hero-col2, 38%) !important;
}


.serene-hero__main > .pitch {
	align-items: center;
	background: var(--serenelife-section-soft-surface, rgba(255, 255, 255, 0.11));
	backdrop-filter: blur(4px);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: var(--serenelife-font-size-small, 0.875rem);
	font-weight: 500;
	line-height: 1.25rem;
	margin: 0 0 1.5rem;
	padding: 0.5rem 1rem;
}

.serene-hero__main > .pitch::before {
	background: var(--serenelife-section-accent, #ffac75);
	content: "";
	display: inline-block;
	height: 1.5rem;
	margin-right: 0.5rem;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1.5rem;
}

.serene-hero__main > h1,
.serene-hero__main > h2 {
	color: #fff;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: clamp(3rem, 5.25vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 2rem;
}

.serene-hero__main > h1 strong,
.serene-hero__main > h1 span,
.serene-hero__main > h2 strong,
.serene-hero__main > h2 span {
	background-image: linear-gradient(to right, var(--serenelife-hero-highlight-start, #ffac75), var(--serenelife-hero-highlight-end, #ff8a50));
	background-clip: text;
	color: transparent;
	-webkit-background-clip: text;
}

.serene-hero__main > p:not(.pitch) {
	color: #fff;
	font-size: var(--serenelife-font-size-base, 1rem);
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 2.5rem;
}

.serene-hero__features {
	display: grid !important;
	gap: 1rem !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none !important;
	margin: 0 0 3rem !important;
	padding: 0 !important;
}

.serene-hero__features li {
	align-items: center;
	background: var(--serenelife-section-soft-surface, rgba(255, 255, 255, 0.11));
	backdrop-filter: blur(4px);
	border-radius: 1rem;
	color: #fff;
	display: flex;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: var(--serenelife-font-size-base, 1rem);
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
	min-height: 4.25rem;
	padding: 1rem;
	transition: background-color 0.3s ease;
}

.serene-hero__features li:hover {
	background: var(--serenelife-section-soft-surface-hover, rgba(255, 255, 255, 0.18));
}

.serene-hero__features li::before {
	background: var(--serenelife-section-accent, #ffac75);
	content: "";
	display: block;
	flex: 0 0 1.75rem;
	height: 1.75rem;
	margin-right: 1rem;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / contain no-repeat;
	width: 1.75rem;
}

.serene-hero__actions.wp-block-buttons,
.serene-hero__main > .wp-block-buttons {
	display: flex;
	gap: 1rem;
	margin: 0;
}

.serene-hero__actions .wp-block-button__link,
.serene-hero__main > .wp-block-buttons .wp-block-button__link {
	align-items: center;
	border: 0;
	border-radius: 1rem;
	display: inline-flex;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: var(--serenelife-font-size-base, 1rem);
	font-weight: 700;
	justify-content: center;
	min-height: 4.25rem;
	padding: 1.25rem 2.5rem;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.serene-hero__actions .wp-block-button__link:not(.has-background),
.serene-hero__main > .wp-block-buttons .wp-block-button__link:not(.has-background) {
	background: linear-gradient(135deg, #ffac75, #ff8a50, #ffac75);
}

.serene-hero__actions .wp-block-button:nth-child(2) .wp-block-button__link:not(.has-background),
.serene-hero__main > .wp-block-buttons .wp-block-button:nth-child(2) .wp-block-button__link:not(.has-background) {
	background: #fff;
	color: #111827;
}

.serene-hero__actions .wp-block-button__link:not(.has-background):not(.has-text-color),
.serene-hero__main > .wp-block-buttons .wp-block-button__link:not(.has-background):not(.has-text-color) {
	color: #111827;
}

.serene-hero__actions .wp-block-button__link::after,
.serene-hero__main > .wp-block-buttons .wp-block-button__link::after {
	content: "\2192";
	font-size: 1.5rem;
	line-height: 1;
	margin-left: 0.75rem;
	transition: transform 0.3s ease;
}

.serene-hero__actions .wp-block-button__link:hover,
.serene-hero__main > .wp-block-buttons .wp-block-button__link:hover {
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	transform: scale(1.05);
}

.serene-hero__actions .wp-block-button__link:hover::after,
.serene-hero__main > .wp-block-buttons .wp-block-button__link:hover::after {
	transform: translateX(0.5rem);
}

.serene-hero__form-panel {
	background: #fff !important;
	border-radius: 1.5rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	color: #111827;
	padding: 2rem;
}

.serene-hero__form-panel h3 {
	color: #111827;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
	margin: 0 0 0.5rem;
}

.serene-hero__form-panel > p:not(.serene-hero__form-footer) {
	color: #4b5563;
	font-size: var(--serenelife-font-size-base, 1rem);
	line-height: 1.5;
	margin: 0 0 1.5rem;
}

.serene-hero__shortcode {
	margin-bottom: 1.5rem;
}

.serene-hero__form-panel label:not(.wpcf7-list-item label) {
	color: #374151 !important;
	display: block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin-bottom: 0.25rem !important;
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.serene-hero__form-panel .hero-form-row,
.serene-hero__form-panel .wpcf7-form-row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

@media (max-width: 520px) {
	.serene-hero__form-panel .hero-form-row,
	.serene-hero__form-panel .wpcf7-form-row {
		grid-template-columns: 1fr !important;
	}
}

.serene-hero__form-panel .form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.5rem;
}

.serene-hero__form-panel input:not([type="submit"]):not([type="hidden"]),
.serene-hero__form-panel select,
.serene-hero__form-panel textarea {
	background-color: #f8fafc;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	box-sizing: border-box;
	color: #111827 !important;
	font-family: inherit !important;
	font-size: 16px !important;
	padding: 0.4rem 0.625rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.serene-hero__form-panel input:not([type="submit"]):not([type="hidden"]),
.serene-hero__form-panel select {
	height: 2.5rem;
}

.serene-hero__form-panel textarea {
	height: 90px;
	min-height: 90px;
	resize: vertical;
}

.serene-hero__form-panel select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
	background-position: right 0.625rem center;
	background-repeat: no-repeat;
	background-size: 0.875rem;
	padding-right: 1.75rem;
}

.serene-hero__form-panel input:not([type="submit"]):not([type="hidden"]):focus,
.serene-hero__form-panel select:focus,
.serene-hero__form-panel textarea:focus {
	background-color: #ffffff;
	border-color: #7557ff;
	box-shadow: 0 0 0 3px rgba(117, 87, 255, 0.15);
	outline: none;
}

.serene-hero__form-panel input[type="submit"],
.serene-hero__form-panel .hero-submit-btn {
	background: linear-gradient(135deg, #7557ff, #a348e8, #7557ff);
	border: 0;
	border-radius: 0.5rem;
	color: #fff;
	cursor: pointer;
	font-family: "Open Sans", system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	height: 2.375rem;
	margin-top: 0;
	padding: 0.4rem 1rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.serene-hero__form-panel input[type="submit"]:hover,
.serene-hero__form-panel .hero-submit-btn:hover {
	box-shadow: 0 8px 16px -4px rgba(117, 87, 255, 0.4);
	transform: translateY(-1px);
}

.serene-hero__form-footer {
	color: #6b7280 !important;
	font-size: var(--serenelife-font-size-small, 0.875rem) !important;
	line-height: 1.25rem !important;
	margin: 0 !important;
	text-align: center;
}

.serene-hero--no-form .serene-hero__form-column {
	display: none !important;
}

.serene-hero--no-form .serene-hero__columns.wp-block-columns {
	grid-template-columns: minmax(0, 1fr) !important;
}

.serene-hero--no-form .serene-hero__columns > .serene-hero__main {
	flex-basis: 100% !important;
	grid-column: 1 / -1 !important;
	justify-self: stretch;
	max-width: none !important;
	width: 100% !important;
}

.serene-hero--light .serene-hero__main,
.serene-hero--light .serene-hero__main > h1,
.serene-hero--light .serene-hero__main > h2,
.serene-hero--light .serene-hero__main > p:not(.pitch) {
	color: #111827;
}

.serene-hero--light .serene-hero__main > .pitch,
.serene-hero--light .serene-hero__features li {
	background: var(--serenelife-section-soft-surface, rgba(17, 24, 39, 0.08));
	color: #111827;
}

@media (max-width: 1024px) {
	.serene-hero__columns.wp-block-columns {
		grid-template-columns: 1fr !important;
		gap: 3rem !important;
	}
	.serene-hero__main,
	.serene-hero__form-column {
		grid-column: 1 !important;
	}
}

@media (max-width: 768px) {
	.serene-hero__main > h1,
	.serene-hero__main > h2 {
		font-size: 3rem;
		line-height: 1.3;
	}

	.serene-hero__features {
		grid-template-columns: 1fr;
	}

	.serene-hero__actions.wp-block-buttons,
	.serene-hero__main > .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}
}
