/*
 * Section 13 — "Discover The Value of Your Property".
 *
 * A photograph behind one sentence and one button. The photograph is a real <img> rather than a CSS
 * background so it can carry a srcset: the band is full-bleed, so at 1440 it is drawn 1440 wide and a
 * phone has no reason to fetch the 2880 file.
 *
 * The heading's type steps three times, and the ratio and tracking hold at every step: 48/62.4,
 * 46/59.8, 36/46.8 — all of them 1.3 line height and -0.05em.
 */

.as-appraisal {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	padding: 124px 32px;
	overflow: hidden;
}

.as-appraisal__backdrop {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * The content needs a stacking context of its own rather than a z-index on the photograph, because a
 * negative z-index would put the photograph behind the page background instead of behind the text.
 */
.as-appraisal__title,
.as-appraisal__cta {
	position: relative;
}

.as-appraisal__title {
	width: 100%;
	max-width: var(--as-container-narrow);
	color: var(--as-white);
	font-size: 48px;
	font-weight: 500;
	line-height: var(--as-lh-display);
	letter-spacing: -0.05em;
	text-align: center;
}

.as-appraisal__cta {
	width: 200px;
	height: 48px;
}

@media (max-width: 1199px) and (min-width: 810px) {
	.as-appraisal__title {
		font-size: 46px;
	}
}

@media (max-width: 809px) {
	.as-appraisal {
		padding: 80px 20px;
	}

	.as-appraisal__title {
		font-size: 36px;
	}
}
