@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Mulish:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap");

/* ===========================================================================
   Nexus Hero XL — self-contained styles.
   Every rule is scoped under .nexus-hero-xl so the block renders identically
   on any theme without leaking styles or depending on the Nexus theme's CSS.
   Design tokens are declared on the wrapper so the nested hero inherits them.
   =========================================================================== */

.nexus-hero-xl {
	--nexus-green: #1e5340;
	--nexus-green-deep: #0f3528;
	--nexus-green-darker: #082018;
	--nexus-mint: #7fc49a;
	--nexus-orange: #e68640;
	--nexus-orange-deep: #c9712e;
	--nexus-cream: #f5f1e8;
	--nexus-paper: #fcfaf3;
	--nexus-ink: #1a1a1a;
	--nexus-star: #fbbc04;
	--nexus-white: #fff;
	--nexus-radius-pill: 999px;
	--nexus-font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--nexus-font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--nexus-font-serif: "Lora", Georgia, serif;
	--nexus-transition: 0.18s ease;
	font-family: var(--nexus-font-body);
}

.nexus-hero-xl .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.nexus-hero-xl .nexus-hero {
	position: relative;
	overflow: hidden;
	background: var(--nexus-green-deep);
	color: var(--nexus-white);
}

.nexus-hero-xl .nexus-hero--home {
	display: flex;
	min-height: 92vh;
	align-items: center;
	justify-content: center;
	padding: 140px 0 80px;
	text-align: center;
}

.nexus-hero-xl .nexus-hero__media,
.nexus-hero-xl .nexus-hero__overlay {
	position: absolute;
	inset: 0;
}

.nexus-hero-xl .nexus-hero__media {
	z-index: 0;
	background: var(--nexus-green-deep);
}

.nexus-hero-xl .nexus-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 8% center;
}

.nexus-hero-xl .nexus-hero__overlay {
	z-index: 1;
	background:
		radial-gradient(ellipse 80% 60% at 50% 55%, rgba(15, 53, 40, 0.55) 0%, rgba(15, 53, 40, 0.25) 50%, rgba(15, 53, 40, 0.05) 100%),
		linear-gradient(180deg, rgba(15, 53, 40, 0.30) 0%, rgba(15, 53, 40, 0) 22%, rgba(15, 53, 40, 0) 78%, var(--nexus-paper) 100%);
	pointer-events: none;
}

.nexus-hero-xl .nexus-hero__inner {
	position: relative;
	z-index: 2;
	width: min(100% - 48px, 980px);
	margin-inline: auto;
}

.nexus-hero-xl .nexus-hero__eyebrow {
	display: inline-block;
	margin-bottom: 28px;
	color: var(--nexus-mint);
	font-family: var(--nexus-font-body);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.nexus-hero-xl .nexus-hero__title {
	max-width: 16ch;
	margin: 0 auto;
	color: var(--nexus-white);
	font-family: var(--nexus-font-display);
	font-size: clamp(50px, 7.6vw, 96px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.nexus-hero-xl .nexus-hero__title em {
	color: var(--nexus-mint);
	font-family: var(--nexus-font-serif);
	font-style: italic;
	font-weight: 500;
}

.nexus-hero-xl .nexus-hero__subtitle {
	max-width: 50ch;
	margin: 28px auto 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.55;
}

.nexus-hero-xl .nexus-address-form {
	display: flex;
	width: min(100%, 620px);
	align-items: center;
	gap: 8px;
	margin: 34px auto 0;
	padding: 7px;
	border-radius: var(--nexus-radius-pill);
	background: var(--nexus-white);
	box-shadow: 0 18px 50px -24px rgba(8, 32, 24, 0.5);
}

.nexus-hero-xl .nexus-address-form__field {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	gap: 10px;
	padding-left: 14px;
}

.nexus-hero-xl .nexus-address-form__field svg {
	width: 19px;
	height: 19px;
	flex: none;
	color: var(--nexus-green);
}

.nexus-hero-xl .nexus-address-form__input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--nexus-ink);
	font-weight: 700;
}

.nexus-hero-xl .nexus-address-form__input::placeholder {
	color: #9a9384;
	font-weight: 600;
}

.nexus-hero-xl .nexus-address-form__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border: 0;
	cursor: pointer;
	border-radius: var(--nexus-radius-pill);
	background: var(--nexus-orange);
	color: var(--nexus-white);
	font-family: var(--nexus-font-display);
	font-size: 14px;
	font-weight: 800;
	transition: background var(--nexus-transition), transform var(--nexus-transition), box-shadow var(--nexus-transition);
	white-space: nowrap;
}

.nexus-hero-xl .nexus-address-form__button:hover,
.nexus-hero-xl .nexus-address-form__button:focus-visible {
	background: var(--nexus-orange-deep);
	box-shadow: 0 16px 36px -8px rgba(230, 134, 64, 0.5);
	transform: translateY(-1px);
}

.nexus-hero-xl .nexus-address-form__button svg {
	width: 15px;
	height: 15px;
}

.nexus-hero-xl .nexus-address-manual {
	display: none;
	max-width: 560px;
	margin: 14px auto 0;
}

.nexus-hero-xl .nexus-address-manual.is-open {
	display: block;
}

.nexus-hero-xl .nexus-address-manual__row {
	display: flex;
	gap: 8px;
}

.nexus-hero-xl .nexus-address-manual__input,
.nexus-hero-xl .nexus-address-manual__select {
	min-width: 0;
	flex: 1;
	padding: 12px 16px;
	border: 1.5px solid rgba(255, 255, 255, 0.42);
	border-radius: var(--nexus-radius-pill);
	background: rgba(255, 255, 255, 0.92);
	color: var(--nexus-ink);
	font-weight: 700;
}

.nexus-hero-xl .nexus-address-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 13px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 700;
}

.nexus-hero-xl .nexus-address-note svg {
	width: 13px;
	height: 13px;
	color: var(--nexus-mint);
}

.nexus-hero-xl .nexus-address-toggle {
	margin-top: 10px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nexus-hero-xl .nexus-google-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	flex-wrap: wrap;
	margin: 24px auto 0;
	padding: 9px 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--nexus-radius-pill);
	background: rgba(8, 32, 24, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.nexus-hero-xl .nexus-google-pill__word {
	font-family: var(--nexus-font-display);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.nexus-hero-xl .nexus-google-pill__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--nexus-star);
}

.nexus-hero-xl .nexus-google-pill__stars svg {
	width: 15px;
	height: 15px;
}

.nexus-hero-xl .nexus-google-pill strong {
	color: var(--nexus-white);
	font-size: 16px;
	font-weight: 800;
}

.nexus-hero-xl .nexus-google-pill__text {
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	font-weight: 700;
}

.nexus-hero-xl .nexus-hero__scroll {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 38px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
