/* ==========================================================================
   Simple Willow Properties — hand-written stylesheet
   Design language borrowed from answeranycall.com (sticky nav w/ CTA button,
   bold headline w/ colored keyword, rounded-pill CTA buttons, small uppercase
   "eyebrow" section labels, icon-card grids, consistent section rhythm) but
   re-skinned in Simple Willow's own sage-green/cream palette (from the tree
   logo) instead of AAC's dark navy/cyan — a dark tech-SaaS palette would
   clash with a rental-property brand's need to feel warm and trustworthy.
   ========================================================================== */

:root {
	--sage: #5C7A42;
	--sage-dark: #435A30;
	--sage-light: #E7EEDD;
	--gold: #C9A24B;
	--cream: #FAF7F0;
	--cream-alt: #F1EBDC;
	--white: #FFFFFF;
	--charcoal: #2A2A22;
	--charcoal-soft: #5C5C50;
	--border: rgba(42, 42, 34, 0.1);

	--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
	--font-serif: 'Playfair Display', Georgia, serif;

	--radius: 10px;
	--radius-sm: 6px;
	--container: 1180px;
	--nav-height: 78px;

	--shadow-sm: 0 1px 3px rgba(42, 42, 34, 0.08);
	--shadow-md: 0 8px 24px rgba(42, 42, 34, 0.1);
	--shadow-lg: 0 20px 50px rgba(42, 42, 34, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-sans);
	color: var(--charcoal);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.icon { width: 1em; height: 1em; fill: currentColor; }
.icon-sm { width: 0.85em; height: 0.85em; }

/* ---------- Buttons (mirrors AAC's rounded, bold, icon+label CTA) ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 2rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.btn-primary {
	background: var(--sage);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--sage-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn-outline {
	background: transparent;
	color: var(--sage-dark);
	border-color: var(--sage);
}

.btn-outline:hover {
	background: var(--sage-light);
}

.btn-outline-light {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
}

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

/* ---------- Nav ---------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--nav-height);
	display: flex;
	align-items: center;
	background: rgba(250, 247, 240, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav-inner {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-logo img {
	height: 46px;
	width: auto;
	display: block;
}

.nav-links {
	display: flex;
	gap: 2rem;
	flex: 1;
	justify-content: center;
}

.nav-links a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--charcoal-soft);
	transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--sage-dark); }

.nav-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-cta span { display: inline; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	width: 24px;
	background: var(--charcoal);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 26, 14, 0.55) 0%, rgba(20, 26, 14, 0.72) 55%, rgba(20, 26, 14, 0.88) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0 auto;
	padding: 8rem 1.5rem 5rem;
	text-align: center;
	color: var(--white);
}

.eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sage-dark);
	margin-bottom: 1rem;
}

.eyebrow-light { color: var(--gold); }

.hero-title {
	font-size: 3.1rem;
	color: var(--white);
	margin-bottom: 1.25rem;
}

.hero-title .accent { color: var(--gold); }

.hero-sub {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 560px;
	margin: 0 auto;
}

.hero .btn-row { justify-content: center; }

.hero-trust {
	margin-top: 1.5rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.hero-trust a { text-decoration: underline; color: var(--white); }

.hero-sub-strong {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--white);
	margin-top: 0.5rem;
}

/* ---------- "Get Your Offer" form hero ---------- */

.hero-form {
	min-height: auto;
	padding: 6rem 0;
	align-items: stretch;
}

.hero-form .container { position: relative; z-index: 1; width: 100%; }

.offer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.offer-copy { color: var(--white); text-align: left; }
.offer-title { font-size: 2.1rem; color: var(--white); }

.field-checkbox { margin-bottom: 1.4rem; }

.checkbox-label {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-size: 0.82rem;
	color: var(--charcoal-soft);
	cursor: pointer;
}

.checkbox-label input {
	margin-top: 0.2rem;
	flex: none;
	width: 16px;
	height: 16px;
	accent-color: var(--sage);
}

/* ---------- Sections ---------- */

.section {
	padding: 6rem 0;
}

.section-alt { background: var(--cream-alt); }

.section-title {
	font-size: 2.25rem;
	margin-bottom: 0.75rem;
	max-width: 640px;
}

.section-sub {
	font-size: 1.05rem;
	color: var(--charcoal-soft);
	max-width: 620px;
	margin-bottom: 3rem;
}

.section-title-center { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }
.section-sub-center { max-width: 640px; text-align: center; margin-left: auto; margin-right: auto; }

.cta-center { text-align: center; }
.cta-center .btn { margin-bottom: 2rem; }

.divider {
	border: none;
	border-top: 1px solid var(--border);
	max-width: 200px;
	margin: 0 auto 2rem;
}

/* ---------- Reason list (plain bulleted columns) ---------- */

.reason-list {
	list-style: none;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem 1.75rem;
	box-shadow: var(--shadow-sm);
}

.reason-list li {
	position: relative;
	padding-left: 1.4rem;
	color: var(--charcoal-soft);
	font-size: 0.98rem;
}

.reason-list li + li { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }

.reason-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sage);
}

/* ---------- Card grids / feature cards ---------- */

.card-grid {
	display: grid;
	gap: 1.75rem;
}

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem 1.75rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--sage-light);
	color: var(--sage-dark);
	margin-bottom: 1.25rem;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-icon-sm { width: 40px; height: 40px; flex: none; }
.feature-icon-sm svg { width: 20px; height: 20px; }

.feature-card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.feature-card p {
	color: var(--charcoal-soft);
	font-size: 0.95rem;
}

/* ---------- Split (image + copy) ---------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }

.split-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3;
}

.split-copy p { margin-bottom: 1.1rem; color: var(--charcoal-soft); }
.split-copy .btn { margin-top: 0.5rem; }

/* ---------- Property cards ---------- */

.property-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.property-media {
	height: 190px;
	background-size: cover;
	background-position: center;
}

.property-body { padding: 1.5rem; }
.property-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.property-body p { color: var(--charcoal-soft); font-size: 0.92rem; }

.cta-banner {
	margin-top: 3rem;
	background: var(--sage);
	color: var(--white);
	border-radius: var(--radius);
	padding: 2.25rem 2.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.cta-banner h3 { font-size: 1.3rem; margin-bottom: 0.4rem; color: var(--white); }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 480px; }
.cta-banner .btn-primary { background: var(--white); color: var(--sage-dark); flex: none; }
.cta-banner .btn-primary:hover { background: var(--cream); }

/* ---------- Steps (mirrors AAC's numbered/iconed flow cards) ---------- */

.steps {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.step {
	flex: 1;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem 1.5rem;
	text-align: center;
}

.step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sage);
	color: var(--white);
	font-weight: 700;
	font-family: var(--font-serif);
	margin-bottom: 1rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--charcoal-soft); font-size: 0.9rem; }

.step-photo { padding: 0 0 1.75rem; overflow: hidden; text-align: center; }

.step-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 1.25rem;
}

.step-photo .step-label {
	font-family: var(--font-serif);
	font-weight: 700;
	color: var(--sage-dark);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8rem;
	margin-bottom: 0.4rem;
}

.step-photo h3,
.step-photo p { padding: 0 1.25rem; }
.step-photo h3 { margin-bottom: 0.5rem; }

/* ---------- Big pitch banner (full-bleed sage section) ---------- */

.pitch-banner {
	background: var(--sage);
	color: var(--white);
	padding: 5rem 0;
}

.pitch-inner { max-width: 720px; text-align: center; }

.pitch-inner h2 {
	font-size: 2rem;
	color: var(--white);
	margin-bottom: 1.75rem;
}

.pitch-inner p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1.1rem;
	font-size: 1.02rem;
}

.step-arrow {
	color: var(--sage);
	font-size: 1.4rem;
	padding-top: 1.9rem;
	flex: none;
}

/* ---------- Contact ---------- */

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 3.5rem;
	align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }

.contact-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-item h3 { font-size: 0.95rem; margin-bottom: 0.15rem; font-family: var(--font-sans); font-weight: 600; }
.contact-item a { color: var(--sage-dark); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.contact-item p { color: var(--charcoal-soft); font-size: 0.92rem; }

.contact-form {
	background: var(--white);
	border-radius: var(--radius);
	padding: 2.25rem;
	box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.1rem; }

.field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--charcoal);
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	background: var(--cream);
	color: var(--charcoal);
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--sage);
	background: var(--white);
}

.form-note {
	margin-top: 0.9rem;
	font-size: 0.82rem;
	color: var(--charcoal-soft);
	text-align: center;
}

/* ---------- Footer ---------- */

.footer {
	background: var(--charcoal);
	color: rgba(255, 255, 255, 0.85);
	padding-top: 4rem;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.footer-brand img {
	height: 48px;
	width: auto;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem;
}

.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

.footer-col h4 {
	font-family: var(--font-sans);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
	display: block;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 0.7rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 0;
}

.footer-bottom p {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
	.card-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.card-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 2rem; }
	.split-reverse .split-media,
	.split-reverse .split-copy { order: unset; }
	.contact-grid { grid-template-columns: 1fr; }
	.offer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.offer-copy { text-align: center; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.steps { flex-wrap: wrap; }
	.step { flex: 1 1 40%; }
	.step-arrow { display: none; }
}

@media (max-width: 760px) {
	:root { --nav-height: 68px; }

	.nav-links {
		position: fixed;
		top: var(--nav-height);
		left: 0;
		right: 0;
		background: var(--cream);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.5rem 1.5rem 1rem;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
		transform: translateY(-130%);
		opacity: 0;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.nav-links.open { transform: translateY(0); opacity: 1; }

	.nav-links a {
		width: 100%;
		padding: 0.85rem 0;
		border-bottom: 1px solid var(--border);
	}

	.nav-toggle { display: flex; }
	.nav-cta span { display: none; }
	.nav-cta { padding: 0.7rem; }

	.hero-content { padding: 6rem 1.25rem 3.5rem; }
	.hero-title { font-size: 2.15rem; }
	.hero-sub { font-size: 1rem; }

	.section { padding: 4rem 0; }
	.section-title { font-size: 1.75rem; }

	.card-grid-4,
	.card-grid-3 { grid-template-columns: 1fr; }

	.step { flex: 1 1 100%; }
	.hero-form { padding: 4rem 0; }
	.pitch-banner { padding: 3.5rem 0; }
	.pitch-inner h2 { font-size: 1.6rem; }

	.cta-banner { flex-direction: column; align-items: flex-start; }

	.footer-inner { grid-template-columns: 1fr; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
