/* Front page — Hero (first screen) */

/*
 * Astra's .ast-container is a row flexbox (built for content+sidebar).
 * Our front page has multiple stacked sections, so they're wrapped in this
 * single block-level element — the one flex item stretches to full width/
 * height exactly like .hero did on its own before, and normal block flow
 * takes over for stacking the sections inside it.
 */
.front-page-sections {
	width: 100%;
}

.hero {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	background-color: var(--color-navy);
	background-image: linear-gradient(165deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
	padding: 3rem 1.25rem;
	box-sizing: border-box;
}

.hero__grid {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.hero__content {
	max-width: 640px;
}

.hero__title {
	margin: 0 0 1.25rem;
	color: var(--color-white);
	font-size: clamp(1.75rem, 1.1rem + 4vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.hero__subtitle {
	margin: 0 0 1.5rem;
	color: var(--color-muted-on-navy);
	font-size: clamp(1.05rem, 0.9rem + 1.2vw, 1.375rem);
	font-weight: 400;
	line-height: 1.45;
}

.hero__region {
	margin: 0 0 1.5rem;
	color: var(--color-muted-on-navy);
	font-size: 1rem;
	font-weight: 600;
}

.hero__phones {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 0 0 2rem;
}

.hero__phone {
	color: var(--color-white);
	font-size: 1.125rem;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.01em;
}

.hero__phone:hover,
.hero__phone:focus {
	color: var(--color-accent);
}

.hero__cta {
	width: 100%;
}

.hero__media {
	width: 100%;
}

.hero__photo-placeholder {
	/* HERO PHOTO PLACEHOLDER: swap for a real <img>/background-image of the house when the photo is ready */
	aspect-ratio: 4 / 3;
	border: 2px dashed rgba(255, 255, 255, 0.35);
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

@media (min-width: 640px) {
	.hero__phones {
		flex-direction: row;
		gap: 1.75rem;
	}

	.hero__cta {
		width: auto;
	}
}

@media (min-width: 900px) {
	.hero {
		padding: 5rem 3rem;
	}

	.hero__grid {
		flex-direction: row;
		align-items: center;
		gap: 3.5rem;
	}

	.hero__content {
		flex: 1.1;
	}

	.hero__media {
		flex: 0.9;
	}
}
