/* Only opt-in Hero features; existing preset surfaces remain unchanged. */
.at-hero--has-video .at-hero__image-wrap::after {
	display: none;
}

.at-hero .at-hero__video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	border-radius: inherit;
}

.at-hero .at-hero__statistics {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin: 2rem 0 0;
}

.at-hero .at-hero__stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.at-hero .at-hero__stat-label {
	font-size: 0.875rem;
}

.at-hero .at-hero__stat-value {
	order: -1;
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

.at-hero .at-hero__form-panel {
	display: block;
	text-align: left;
	min-width: 0;
	color: var(--at-color-text, #334155);
}

.at-hero .at-hero__form-title {
	margin: 0 0 1.25rem;
	color: var(--at-color-heading, #0f172a);
}

.at-hero .at-hero__lead-form {
	display: grid;
	gap: 1rem;
}

.at-hero .at-hero__lead-form .at-form-group {
	min-width: 0;
}

.at-hero .at-hero__lead-form .at-form-input,
.at-hero .at-hero__lead-form .at-form-textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.at-hero .at-hero__lead-form .at-button {
	justify-self: start;
	white-space: normal;
}

@media (max-width: 991px) {
	.at-hero .at-hero__form-panel {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.at-hero .at-hero__statistics {
		gap: 1.25rem;
	}
	.at-hero .at-hero__form-panel {
		padding: 1.25rem;
	}
}
