:root {
	--cta: #D9A441;
	--cta-hover: #C08F2F;
	--text: #222222;
	--muted: #4A4A4A;
	--page-bg: #F7F5F0;
	--card-bg: #FFFFFF;
	--border: #E8DFD2;
	--blue: #1766b7;
	--blue-dark: #114f92;
	--shadow: 0 22px 60px rgba(34, 34, 34, 0.18);
	font-family: "Work Sans", Arial, sans-serif;
	color: var(--text);
	background: var(--page-bg);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--page-bg);
	color: var(--text);
	font-family: "Work Sans", Arial, sans-serif;
	line-height: 1.5;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

.container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 18px rgba(34, 34, 34, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 70px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.brand-logo {
	width: auto;
	height: 58px;
}

.phone-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--blue);
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.phone-link:hover,
.phone-link:focus {
	background: var(--blue-dark);
}

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 680px;
	background:
		linear-gradient(90deg, rgba(20, 24, 28, 0.9) 0%, rgba(20, 24, 28, 0.72) 43%, rgba(20, 24, 28, 0.22) 72%, rgba(20, 24, 28, 0.1) 100%),
		url("./assets/sustar-hero.webp") center / cover no-repeat;
}

.hero::after {
	position: absolute;
	inset: auto 0 0;
	z-index: -1;
	height: 46%;
	content: "";
	background: linear-gradient(0deg, rgba(34, 34, 34, 0.55), transparent);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
	gap: clamp(30px, 5vw, 64px);
	align-items: center;
	min-height: 680px;
	padding-block: 60px;
}

.hero-copy {
	min-width: 0;
	max-width: 650px;
	color: #fff;
}

.kicker {
	margin: 0 0 14px;
	color: var(--cta);
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	font-family: Oswald, Impact, sans-serif;
	line-height: 1.03;
}

.hero h1 {
	margin: 0;
	font-size: clamp(3rem, 6vw, 5.5rem);
	font-weight: 700;
	text-transform: uppercase;
}

.hero h1 span {
	color: var(--cta);
}

.hero-lede {
	max-width: 620px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 800;
}

.hero-note {
	max-width: 610px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1.05rem;
}

.hero-checks {
	display: grid;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.hero-checks li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 10px;
	align-items: start;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
}

.hero-checks li::before {
	content: "✓";
	color: var(--cta);
	font-weight: 900;
}

.proof-pill {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 26px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.92rem;
	font-weight: 800;
	max-width: 100%;
	line-height: 1.35;
}

.mobile-call {
	display: none;
	margin-top: 20px;
}

.offer-card {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(232, 223, 210, 0.7);
	border-radius: 8px;
	background: var(--card-bg);
	box-shadow: var(--shadow);
	padding: 30px;
}

.offer-card h2 {
	margin: 0;
	color: var(--text);
	font-size: 2rem;
	text-align: center;
	text-transform: uppercase;
}

.offer-card p {
	margin: 8px 0 20px;
	color: var(--muted);
	text-align: center;
}

.lead-form {
	display: grid;
	gap: 14px;
}

.lead-form label {
	display: grid;
	gap: 7px;
	color: var(--text);
	font-size: 0.92rem;
	font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #fff;
	color: var(--text);
	font: inherit;
	padding: 12px 13px;
}

.lead-form textarea {
	min-height: 88px;
	resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
	outline: 3px solid rgba(217, 164, 65, 0.28);
	border-color: var(--cta);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.span-2 {
	grid-column: 1 / -1;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 54px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--cta);
	color: var(--text);
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	transition: background 140ms ease, transform 140ms ease;
}

.btn:hover,
.btn:focus {
	background: var(--cta-hover);
	transform: translateY(-1px);
}

.btn:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.btn-blue {
	background: var(--blue);
	color: #fff;
}

.btn-blue:hover,
.btn-blue:focus {
	background: var(--blue-dark);
}

.form-footnote {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

.trust-strip {
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.trust-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	padding-block: 18px;
}

.trust-item {
	display: grid;
	justify-items: center;
	gap: 4px;
	padding: 12px 10px;
	color: var(--muted);
	text-align: center;
}

.trust-icon {
	display: inline-grid;
	place-items: center;
	width: 32px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #edf4fb;
	color: var(--blue);
	font-weight: 900;
}

.trust-item strong {
	color: var(--text);
	font-size: 1.05rem;
}

.section {
	padding-block: 76px;
}

.section.white {
	background: #fff;
}

.section.dark {
	background: var(--text);
	color: #fff;
}

.section.dark p,
.section.dark .section-subcopy {
	color: rgba(255, 255, 255, 0.82);
}

.section-heading {
	max-width: 780px;
	margin: 0 auto 38px;
	text-align: center;
}

.section-heading h2 {
	margin: 0;
	color: var(--text);
	font-size: clamp(2.25rem, 4vw, 3.65rem);
	text-transform: uppercase;
}

.section.dark .section-heading h2 {
	color: #fff;
}

.section-subcopy {
	margin: 12px auto 0;
	color: var(--muted);
	font-size: 1.08rem;
}

.fit-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 36px;
	align-items: start;
}

.fit-panel {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	padding: 28px;
}

.fit-panel h3,
.story-card h3,
.comparison-panel h3 {
	margin: 0 0 18px;
	font-size: 1.75rem;
	text-transform: uppercase;
}

.check-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 10px;
	align-items: start;
	color: var(--muted);
}

.check-list li::before {
	content: "✓";
	color: var(--cta-hover);
	font-weight: 900;
}

.story-card {
	border-radius: 8px;
	background: var(--text);
	color: #fff;
	padding: 30px;
}

.story-card p {
	color: rgba(255, 255, 255, 0.85);
}

.story-card strong {
	color: var(--cta);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.step {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	padding: 28px;
	text-align: center;
}

.step-number {
	display: inline-grid;
	place-items: center;
	width: 64px;
	aspect-ratio: 1;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 900;
}

.step h3,
.situation h3,
.testimonial h3 {
	margin: 0 0 10px;
	font-size: 1.4rem;
}

.step p,
.situation p,
.testimonial p {
	margin: 0;
	color: var(--muted);
}

.local-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
	gap: 44px;
	align-items: center;
}

.local-copy h2 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	text-transform: uppercase;
}

.local-copy p {
	color: var(--muted);
	font-size: 1.05rem;
}

.team-gallery {
	display: grid;
	gap: 14px;
}

.team-photo {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(34, 34, 34, 0.16);
}

.team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-photo-house {
	aspect-ratio: 4 / 3;
}

.team-photo-house img {
	object-position: center 42%;
}

.team-portraits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.team-portraits .team-photo {
	aspect-ratio: 1 / 1.12;
}

.team-photo figcaption {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	padding: 7px 9px;
	border-radius: 7px;
	background: rgba(34, 34, 34, 0.82);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	text-align: center;
}

.situation-grid,
.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.situation,
.testimonial {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	padding: 24px;
}

.tag {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 9px;
	border-radius: 6px;
	background: #edf4fb;
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.comparison {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
}

.comparison-panel {
	padding: 30px;
}

.comparison-panel.cash {
	background: #fdf9ee;
}

.comparison-panel.agent {
	background: #fff;
	border-left: 1px solid var(--border);
}

.faq-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
	gap: 42px;
	align-items: start;
}

.faq-intro h2 {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4rem);
	text-transform: uppercase;
}

.faq-intro p {
	color: var(--muted);
}

.faq-list {
	display: grid;
	gap: 14px;
}

details {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
}

summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 22px;
	cursor: pointer;
	color: var(--text);
	font-weight: 900;
	list-style: none;
}

summary::-webkit-details-marker {
	display: none;
}

summary::after {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 28px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--page-bg);
	color: var(--text);
	font-weight: 900;
	flex: 0 0 auto;
}

details[open] summary::after {
	content: "-";
	background: var(--cta);
}

details p {
	margin: 0;
	padding: 0 22px 20px;
	color: var(--muted);
}

.cta-block {
	display: grid;
	justify-items: center;
	max-width: 780px;
	margin-inline: auto;
	text-align: center;
}

.cta-block h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.3rem, 4vw, 4rem);
	text-transform: uppercase;
}

.cta-block p {
	max-width: 680px;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 18px;
}

.site-footer {
	background: #191919;
	color: rgba(255, 255, 255, 0.76);
	padding-block: 44px 28px;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(200px, 0.5fr);
	gap: 32px;
	align-items: start;
}

.footer-logo {
	width: 180px;
	margin-bottom: 14px;
	background: #fff;
	border-radius: 7px;
	padding: 8px;
}

.footer-links {
	display: grid;
	gap: 8px;
	justify-items: start;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.footer-bottom {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.88rem;
}

.thank-you-hero {
	min-height: calc(100vh - 70px);
}

.thank-you-card {
	max-width: 430px;
	margin-left: auto;
	text-align: center;
}

.thank-you-card .btn {
	width: min(100%, 250px);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

@media (max-width: 920px) {
	.header-inner {
		min-height: 66px;
	}

	.brand-logo {
		height: 54px;
	}

	.phone-link {
		min-height: 44px;
		padding-inline: 14px;
		font-size: 0.92rem;
	}

	.hero,
	.hero-grid {
		min-height: auto;
	}

	.hero {
		background:
			linear-gradient(180deg, rgba(20, 24, 28, 0.86) 0%, rgba(20, 24, 28, 0.72) 64%, rgba(20, 24, 28, 0.46) 100%),
			url("./assets/sustar-hero.webp") center / cover no-repeat;
	}

	.hero-grid,
	.fit-grid,
	.steps,
	.local-grid,
	.situation-grid,
	.testimonial-grid,
	.comparison,
	.faq-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.trust-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.offer-card {
		max-width: 520px;
		margin-inline: auto;
	}

	.mobile-call {
		display: inline-flex;
	}

	.comparison-panel.agent {
		border-left: 0;
		border-top: 1px solid var(--border);
	}
}

@media (max-width: 560px) {
	.container {
		width: min(100% - 28px, 1120px);
	}

	.header-inner {
		gap: 10px;
		min-height: 62px;
		padding-block: 6px;
	}

	.brand-logo {
		height: 48px;
	}

	.phone-link {
		min-height: 42px;
		padding-inline: 12px;
		font-size: 0.85rem;
	}

	.hero-grid {
		padding-block: 40px;
	}

	.hero h1 {
		font-size: clamp(2.45rem, 13vw, 3.75rem);
	}

	.hero-lede {
		font-size: 1.12rem;
	}

	.proof-pill,
	.mobile-call {
		display: flex;
		width: 100%;
	}

	.proof-pill {
		justify-content: center;
		text-align: center;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.span-2 {
		grid-column: auto;
	}

	.offer-card,
	.fit-panel,
	.story-card,
	.step,
	.situation,
	.testimonial,
	.comparison-panel {
		padding: 22px;
	}

	.section {
		padding-block: 56px;
	}

	.trust-row {
		grid-template-columns: 1fr;
	}

	.cta-actions {
		width: 100%;
	}

	.cta-actions .btn {
		width: 100%;
	}
}
