/* =========================================================================
   AMANDA GREENWOOD REALTY — MAIN STYLESHEET (v1.1)
   Editorial-luxury realtor brand. Hand-written, no Tailwind build.
   Palette: #b8a07a (tan/gold), #1a1a1a (near-black), #f9f6f1/#f4f0ea (cream)
   Type: Playfair Display (display/serif) + Inter (body/sans)
   ========================================================================= */

/* ------------------- 1. RESET & BASE ------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1a1a1a;
	background: #f4f0ea;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	line-height: 1.15;
	color: #1a1a1a;
	letter-spacing: -0.01em;
}
p { color: inherit; }

/* ------------------- 2. UTILITIES ------------------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px){ .container { padding: 0 2rem; } }

.text-center { text-align: center; }
.italic { font-style: italic; }
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Inter', sans-serif; }

.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }

/* ------------------- 3. BUTTONS ------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0.375rem;
	transition: all 0.2s ease;
	cursor: pointer;
	border: 2px solid transparent;
	line-height: 1.2;
}
.btn-primary { background: #b8a07a; color: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.08); }
.btn-primary:hover { background: #a08965; }
.btn-secondary { background: #1a1a1a; color: #fff; }
.btn-secondary:hover { background: #333; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.btn-outline-dark:hover { background: #1a1a1a; color: #fff; }

.btn-ghost {
	color: #b8a07a;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: gap 0.2s ease;
	font-size: 0.95rem;
}
.btn-ghost:hover { gap: 0.75rem; }
.btn-ghost-muted {
	color: #666;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.15s ease, gap 0.2s ease;
	font-size: 0.875rem;
}
.btn-ghost-muted:hover { color: #b8a07a; gap: 0.75rem; }

/* ------------------- 4. HEADER / NAV ------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid #e8e0d5;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4.5rem;
}
/* FIX: tighter logo height + max-width so it doesn't get pushed by tall PNGs */
.nav-logo {
	display: inline-flex;
	align-items: center;
	height: 100%;
	flex-shrink: 0;
}
.nav-logo img {
	height: 2.5rem;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	display: block;
}
@media (min-width: 768px) {
	.nav-wrap { height: 5rem; }
	.nav-logo img { height: 3rem; max-width: 220px; }
}

.nav-desktop {
	display: none;
	align-items: center;
	gap: 1.5rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link {
	font-size: 0.875rem;
	font-weight: 500;
	color: #555;
	transition: color 0.15s ease;
	padding: 0.5rem 0;
	position: relative;
}
.nav-link:hover, .nav-link.current { color: #b8a07a; }
.nav-link.current::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: #b8a07a;
}
.nav-cta {
	display: inline-flex;
	align-items: center;
	background: #b8a07a;
	color: #fff;
	padding: 0.625rem 1.25rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background 0.15s ease;
}
.nav-cta:hover { background: #a08965; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #555;
	transition: color 0.15s ease;
}
.nav-dropdown-toggle:hover { color: #b8a07a; }
.nav-dropdown-toggle .chevron { transition: transform 0.2s ease; }
.nav-dropdown[data-open="true"] .chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
	position: absolute;
	top: calc(100% + 0.5rem);
	left: 0;
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 0.5rem;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	min-width: 16rem;
	padding: 0.5rem;
	display: none;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
	display: block;
	padding: 0.625rem 0.875rem;
	font-size: 0.875rem;
	color: #444;
	border-radius: 0.375rem;
	transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:hover { background: #f9f6f1; color: #b8a07a; }

.nav-mobile-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.375rem;
	color: #1a1a1a;
}
@media (min-width: 1024px) { .nav-mobile-toggle { display: none; } }

.nav-mobile {
	display: none;
	border-top: 1px solid #e8e0d5;
	padding: 1rem 0;
	background: #fff;
}
.nav-mobile[data-open="true"] { display: block; }
.nav-mobile a, .nav-mobile button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	color: #1a1a1a;
	border-bottom: 1px solid #f4f0ea;
}
.nav-mobile a:hover { background: #f9f6f1; }
.nav-mobile .submenu { display: none; padding-left: 1rem; }
.nav-mobile .submenu[data-open="true"] { display: block; }
.nav-mobile .submenu a { font-size: 0.875rem; color: #555; }

/* ------------------- 5. HERO ------------------- */
.hero {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	color: #fff;
	overflow: hidden;
}
/* FIX: gradient overlay matches Replit (left dark, right lighter) */
.hero::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.6) 50%, rgba(26,26,26,0.3) 100%);
}
.hero-content {
	position: relative;
	z-index: 1;
	padding: 5rem 0;
	max-width: 42rem;
	width: 100%;
}
.hero-eyebrow {
	display: inline-block;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-size: 1.15rem;
	color: #b8a07a;
	margin-bottom: 1rem;
}
.hero-title {
	font-size: clamp(2.5rem, 5.5vw, 4rem);
	color: #fff;
	margin-bottom: 1.25rem;
	line-height: 1.05;
	font-weight: 500;
}
.hero-sub {
	font-size: 1.125rem;
	color: rgba(255,255,255,0.92);
	margin-bottom: 0.875rem;
	max-width: 36rem;
	line-height: 1.5;
}
.hero-subtler {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.78);
	margin-bottom: 2rem;
	max-width: 34rem;
	line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ------------------- 6. SECTIONS ------------------- */
section { position: relative; }
.section { padding: 4rem 0; }
.section-lg { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } .section-lg { padding: 7rem 0; } }
.section-cream { background: #f9f6f1; }
.section-soft { background: #f4f0ea; }
.section-white { background: #fff; }
.section-dark { background: #1a1a1a; color: #f4f0ea; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #f4f0ea; }

.eyebrow {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #b8a07a;
	font-size: 1rem;
	margin-bottom: 0.75rem;
	display: inline-block;
}
.section-title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin-bottom: 1rem;
	line-height: 1.15;
}
.section-lead {
	font-size: 1.05rem;
	color: #555;
	max-width: 42rem;
	margin: 0 auto;
	line-height: 1.6;
}

/* ------------------- 7. INTRO SECTION (with Amanda's photo) ------------------- */
.intro-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	max-width: 72rem;
	margin: 0 auto;
	align-items: center;
}
@media (min-width: 768px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.intro-photo { position: relative; }
.intro-photo-glow {
	position: absolute;
	top: -1.5rem;
	left: -1.5rem;
	width: 18rem;
	height: 18rem;
	background: rgba(184,160,122,0.10);
	border-radius: 999px;
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}
.intro-photo-wrap { position: relative; z-index: 1; max-width: 22rem; margin: 0 auto; }
.intro-photo-wrap > img {
	width: 100%;
	border-radius: 1rem;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
}
.intro-photo-card {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	right: 1rem;
	background: rgba(255,255,255,0.96);
	backdrop-filter: blur(6px);
	border-radius: 0.75rem;
	border: 1px solid #e8e0d5;
	padding: 0.625rem 0.875rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.intro-photo-card > img { height: 2rem; width: auto; max-width: 90px; object-fit: contain; flex-shrink: 0; }
.intro-photo-name { font-weight: 600; color: #1a1a1a; font-size: 0.875rem; line-height: 1.2; }
.intro-photo-title { color: #b8a07a; font-size: 0.75rem; line-height: 1.2; margin-top: 0.125rem; }

.intro-copy h2 { margin-bottom: 1.25rem; }
.intro-copy p {
	color: #555;
	line-height: 1.65;
	margin-bottom: 1rem;
}
.intro-checklist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.625rem;
	margin: 1.5rem 0 1.75rem;
}
.intro-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #444;
}
.intro-dot {
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 999px;
	background: #b8a07a;
	flex-shrink: 0;
}

/* ------------------- 8. GRIDS ------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------- 9. CARDS ------------------- */
.card {
	background: #fff;
	border-radius: 1rem;
	border: 1px solid #e8e0d5;
	padding: 1.75rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: #666; font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.25rem; }

.card-image {
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid #e8e0d5;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}
.card-image:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.card-image .card-img-wrap {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	position: relative;
}
.card-image .card-img-wrap img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.card-image:hover .card-img-wrap img { transform: scale(1.05); }
.card-image .card-body { padding: 1.1rem 1.25rem 1.25rem; }
.card-image .card-body h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.card-image .card-body p { color: #666; font-size: 0.825rem; line-height: 1.55; margin-bottom: 0; }
.card-image .card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #b8a07a;
	margin-top: 0.875rem;
	transition: gap 0.2s ease;
}
.card-image:hover .card-link { gap: 0.5rem; }

.blog-pill {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	color: #b8a07a;
	background: rgba(184,160,122,0.1);
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
}

/* ------------------- 10. TESTIMONIAL CAROUSEL ------------------- */
.testimonial-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}
.testimonial-stars { display: flex; gap: 0.125rem; color: #b8a07a; }
.testimonial-card {
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 2rem;
	max-width: 56rem;
	margin: 0 auto;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
@media (min-width: 768px) { .testimonial-card { padding: 2.5rem; } }
.testimonial-text {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-size: clamp(1.125rem, 1.75vw, 1.375rem);
	line-height: 1.5;
	color: #1a1a1a;
	margin-bottom: 1.25rem;
	min-height: 5rem;
}
.testimonial-attribution { display: flex; justify-content: space-between; align-items: center; }
.testimonial-name { font-weight: 600; color: #1a1a1a; }
.testimonial-location { font-size: 0.875rem; color: #888; margin-top: 0.125rem; }
.testimonial-dots { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1rem; }
.testimonial-dots .dot {
	width: 0.5rem;
	height: 0.5rem;
	background: #ddd;
	border-radius: 999px;
	transition: all 0.3s ease;
}
.testimonial-dots .dot.active { background: #b8a07a; width: 1.25rem; }

/* ------------------- 11. FAQ ------------------- */
.faq-wrap {
	max-width: 48rem;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem 2rem;
}
.faq-item { border-bottom: 1px solid #e8e0d5; }
.faq-item:last-child { border-bottom: 0; }
.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.25rem 0;
	text-align: left;
	font-weight: 500;
	color: #1a1a1a;
	gap: 1rem;
}
.faq-question .chevron { color: #b8a07a; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[data-open="true"] .chevron { transform: rotate(180deg); }
.faq-answer {
	display: none;
	padding-bottom: 1.25rem;
	color: #555;
	font-size: 0.95rem;
	line-height: 1.6;
}
.faq-item[data-open="true"] .faq-answer { display: block; }

/* ------------------- 12. MODAL ------------------- */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(4px);
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
.modal-overlay[data-open="true"] { display: flex; }
.modal-box {
	background: #fff;
	border-radius: 1rem;
	max-width: 28rem;
	width: 100%;
	padding: 2rem;
	position: relative;
	box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: #999;
	transition: color 0.15s ease;
}
.modal-close:hover { color: #444; }

/* ------------------- 13. FOOTER ------------------- */
.site-footer {
	background: #1a1a1a;
	color: #d4d4d4;
	padding: 4rem 0 2rem;
}
.site-footer h4 {
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 1rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	margin-bottom: 3rem;
}
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (min-width: 1024px) {
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
}
.footer-brand .footer-logo {
	height: 3rem;
	width: auto;
	max-width: 220px;
	filter: brightness(0) invert(1);
	margin-bottom: 1rem;
}
.footer-tagline {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #b8a07a;
	font-size: 0.95rem;
	margin-bottom: 0.25rem;
}
.footer-tagline-sub {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #666;
	font-size: 0.75rem;
	margin-bottom: 1.25rem;
}
.footer-desc {
	color: #999;
	font-size: 0.8rem;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}
.footer-c21 {
	padding-top: 1rem;
	border-top: 1px solid #2a2a2a;
}
.footer-c21 > img {
	height: 2rem;
	width: auto;
	max-width: 70px;
	opacity: 0.75;
	margin-bottom: 0.5rem;
	filter: brightness(0) invert(1);
}
.footer-c21-name {
	color: #999;
	font-size: 0.75rem;
	font-weight: 500;
	margin-bottom: 0.125rem;
}
.footer-c21-phone {
	color: #999;
	font-size: 0.75rem;
	transition: color 0.15s ease;
	display: inline-block;
}
.footer-c21-phone:hover { color: #b8a07a; }

.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.625rem; }
.site-footer li a, .site-footer li span {
	font-size: 0.875rem;
	color: #999;
	transition: color 0.15s ease;
	line-height: 1.5;
}
.site-footer li a:hover { color: #b8a07a; }

.footer-contact { }
.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	margin-bottom: 0.875rem;
}
.footer-contact li svg { flex-shrink: 0; }

.footer-social {
	display: flex;
	gap: 0.875rem;
	margin-top: 1.25rem;
}
.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #777;
	transition: color 0.15s ease;
}
.footer-social a:hover { color: #b8a07a; }

.footer-bottom {
	border-top: 1px solid #2a2a2a;
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
	justify-content: space-between;
}
@media (min-width: 768px) {
	.footer-bottom { flex-direction: row; align-items: center; }
}
.footer-bottom p { font-size: 0.75rem; color: #777; }

/* ------------------- 14. FORMS ------------------- */
.form-card {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem;
}
@media (min-width: 768px) { .form-card { padding: 2rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #444; margin-bottom: 0.375rem; }
.form-label .req { color: #e44; }
.form-input, .form-select, .form-textarea {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid #ddd;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	background: #fff;
	color: #1a1a1a;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
	outline: none;
	border-color: #b8a07a;
	box-shadow: 0 0 0 3px rgba(184,160,122,0.2);
}
.form-textarea { min-height: 6rem; resize: vertical; }

/* ------------------- 15. PAGE HEADERS ------------------- */
.page-header {
	background: #f9f6f1;
	padding: 4rem 0 3rem;
	text-align: center;
	border-bottom: 1px solid #e8e0d5;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-header p { color: #555; max-width: 42rem; margin: 0 auto; }

/* ------------------- 16. PROSE ------------------- */
.prose { max-width: 42rem; margin: 0 auto; color: #333; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1.05rem; line-height: 1.7; font-size: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.05rem 1.25rem; line-height: 1.7; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: #b8a07a; font-weight: 500; border-bottom: 1px solid #d8c4a8; }
.prose a:hover { border-color: #b8a07a; }

/* ------------------- 17. ACCESSIBILITY ------------------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 1rem;
	background: #1a1a1a;
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0.25rem;
	z-index: 999;
}
.skip-link:focus { left: 1rem; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------- 18. WP ADMIN BAR FIX ------------------- */
/* When logged in to WP, the admin bar (32px) overlaps the sticky header. */
html[lang] body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	html[lang] body.admin-bar .site-header { top: 46px; }
}

/* ------------------- 19. INNER PAGE HEROES (Buy / Sell / etc.) ------------------- */
.inner-hero {
	position: relative;
	padding: 6rem 0;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.inner-hero::before {
	content: '';
	position: absolute; inset: 0;
	background: rgba(26,26,26,0.65);
}
.inner-hero-content {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	margin: 0 auto;
}
.inner-hero-title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	color: #fff;
	margin: 1rem 0 1.25rem;
	line-height: 1.1;
}
.inner-hero-sub {
	color: rgba(255,255,255,0.85);
	font-size: 1.075rem;
	max-width: 36rem;
	margin: 0 auto 2rem;
	line-height: 1.6;
}
.inner-hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ------------------- 20. STEPS ------------------- */
.step-grid .step-card { padding: 0 0.5rem; }
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: rgba(184,160,122,0.15);
	border: 1px solid rgba(184,160,122,0.3);
	font-family: 'Playfair Display', serif;
	color: #b8a07a;
	font-size: 1.15rem;
	font-weight: 600;
	margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step-card p { color: #666; font-size: 0.9rem; line-height: 1.55; margin: 0; }

.step-grid-2col .step-card-flat {
	display: flex;
	gap: 1rem;
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem;
	text-align: left;
}
.step-num-sm {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: rgba(184,160,122,0.15);
	border: 1px solid rgba(184,160,122,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	color: #b8a07a;
	font-size: 0.875rem;
	font-weight: 600;
}
.step-card-flat h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.step-card-flat p { color: #666; font-size: 0.875rem; line-height: 1.55; margin: 0; }

/* ------------------- 21. SELL PAGE CARDS WITH GOLD BAR ------------------- */
.card-bar {
	width: 2rem;
	height: 2px;
	background: #b8a07a;
	margin-bottom: 1rem;
}

/* ------------------- 22. BENEFITS GRIDS ------------------- */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.875rem;
}
.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-size: 0.875rem;
	color: #444;
	line-height: 1.5;
}
.benefit-card {
	display: flex;
	gap: 0.75rem;
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.25rem;
}

/* ------------------- 23. CTA BOX (Buy IDX teaser) ------------------- */
.cta-box {
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 2.5rem 1.5rem;
	background: #fff;
}

/* ------------------- 24. TESTIMONIAL GRID CARDS (Sell page) ------------------- */
.testimonial-grid-card {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem;
}
.testimonial-grid-text {
	color: #444;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	font-style: italic;
}
.testimonial-grid-name {
	color: #b8a07a;
	font-weight: 600;
	font-size: 0.875rem;
	margin: 0;
}

/* ------------------- 25. SMALL BUTTON ------------------- */
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.85rem; }

/* ------------------- 26. COMMUNITY OVERVIEW ROWS ------------------- */
.community-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}
@media (min-width: 768px) {
	.community-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
	.community-row.reverse .community-row-img { order: 2; }
	.community-row.reverse .community-row-text { order: 1; }
}
.community-row-img img {
	width: 100%;
	height: 100%;
	max-height: 22rem;
	object-fit: cover;
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.best-for-box {
	background: #f4f0ea;
	border-left: 4px solid #b8a07a;
	border-radius: 0.5rem;
	padding: 0.875rem 1rem;
	margin-bottom: 1.25rem;
}
.best-for-label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #777;
	margin-bottom: 0.25rem;
}
.best-for-text {
	color: #444;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0;
}

/* ------------------- 27. ACCENT BOXES (Fort Leonard Wood sidebar) ------------------- */
.accent-box {
	background: #f4f0ea;
	border-left: 4px solid #b8a07a;
	border-radius: 0.5rem;
	padding: 1rem 1.125rem;
}
.accent-box h3 {
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 0.35rem;
}
.accent-box p {
	color: #666;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0;
}

/* ------------------- 28. STATS GRID (Lebanon page) ------------------- */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.875rem;
}
.stat-card {
	background: #f4f0ea;
	border-radius: 0.625rem;
	padding: 1rem 1rem;
}
.stat-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: #b8a07a;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.35rem;
}
.stat-value {
	font-size: 0.875rem;
	color: #1a1a1a;
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
}

/* ------------------- 29. REVIEW CARDS (Reviews page) ------------------- */
.review-card {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
}
.review-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 0.875rem;
}
.review-type {
	font-size: 0.7rem;
	color: #b8a07a;
	background: rgba(184,160,122,0.1);
	padding: 0.2rem 0.625rem;
	border-radius: 999px;
	font-weight: 600;
	flex-shrink: 0;
}
.review-text {
	color: #444;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	font-style: italic;
	flex: 1;
}
.review-name {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 0.875rem;
}
.review-location {
	color: #999;
	font-size: 0.75rem;
}

/* ------------------- 30. CONSULTATION BADGES ------------------- */
.badge-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 640px) {
	.badge-row { grid-template-columns: repeat(4, 1fr); }
}
.badge-item { text-align: center; padding: 0.75rem 0; }
.badge-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.badge-label { font-size: 0.875rem; color: #444; font-weight: 500; }

/* ------------------- 31. EMBED FRAMES (Calendar / Form slots for GHL) ------------------- */
.embed-frame {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 2rem 1.5rem;
	min-height: 28rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.embed-frame iframe {
	width: 100%;
	border: 0;
	display: block;
}
.embed-placeholder {
	text-align: center;
}

/* ------------------- 32. CONTACT PAGE ------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}
@media (min-width: 768px) {
	.contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}
.contact-row {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	margin-bottom: 1.25rem;
}
.contact-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(184,160,122,0.1);
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-label {
	font-size: 0.7rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.125rem;
}
.contact-value {
	color: #1a1a1a;
	font-weight: 500;
	line-height: 1.5;
	transition: color 0.15s ease;
}
a.contact-value:hover { color: #b8a07a; }
.contact-cta-box {
	background: #f4f0ea;
	border: 1px solid #e8e0d5;
	border-radius: 0.625rem;
	padding: 1rem;
	margin: 1.5rem 0;
}
.contact-social {
	display: flex;
	gap: 0.625rem;
}
.contact-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: #f4f0ea;
	color: #555;
	transition: background 0.15s ease, color 0.15s ease;
}
.contact-social a:hover { background: rgba(184,160,122,0.15); color: #b8a07a; }

/* ------------------- 33. AWARDS & CERTIFICATIONS (About page) ------------------- */
.award-card {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.75rem 1.5rem;
	text-align: center;
}
.award-year {
	display: inline-block;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #b8a07a;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}
.cert-card {
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 0.75rem;
	padding: 1.125rem 1.25rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}
.cert-abbr {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	background: rgba(184,160,122,0.15);
	border: 1px solid rgba(184,160,122,0.3);
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	color: #b8a07a;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}
.cert-name {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 0.9rem;
	margin-bottom: 0.2rem;
}
.cert-desc {
	color: #666;
	font-size: 0.8rem;
	line-height: 1.5;
	margin: 0;
}

/* ------------------- 34. LEGAL PAGES ------------------- */
.legal-callout {
	background: rgba(184,160,122,0.10);
	border-left: 4px solid #b8a07a;
	padding: 1.25rem 1.5rem;
	border-radius: 0 0.5rem 0.5rem 0;
	margin-bottom: 2rem;
}
.legal-callout h2 {
	color: #1a1a1a;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

/* SMS Program info blocks */
.sms-block {
	display: flex;
	gap: 1rem;
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 0.875rem;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
}
.sms-block-icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: rgba(184,160,122,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sms-block h2 {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	color: #1a1a1a;
	margin: 0 0 0.5rem 0;
}
.sms-block p {
	font-size: 0.875rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
}
.sms-disclaimer {
	background: #f4f0ea;
	border: 1px solid #e8e0d5;
	border-radius: 0.875rem;
	padding: 1.25rem 1.5rem;
	font-size: 0.875rem;
	color: #555;
	line-height: 1.6;
	margin-top: 1rem;
}
.sms-disclaimer a {
	color: #b8a07a;
	border-bottom: 1px solid #d8c4a8;
}

/* ------------------- 35. IDX WIDGET WRAPPERS ------------------- */
.idx-search-wrap {
	max-width: 56rem;
	margin: 0 auto;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(184,160,122,0.2);
	border-radius: 1rem;
	padding: 1.5rem 1rem;
	min-height: 4rem;
}
@media (min-width: 768px) {
	.idx-search-wrap { padding: 2rem 1.5rem; }
}

.idx-widget-wrap {
	background: #fff;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 1.5rem;
	min-height: 6rem;
}
.idx-widget-valuation {
	background: rgba(255,255,255,0.04);
	border-color: rgba(184,160,122,0.2);
}
.idx-widget-map {
	padding: 0.5rem;
	min-height: 28rem;
	overflow: hidden;
}

/* IDX widget scripts often inject elements that need full-width display */
.idx-widget-wrap iframe,
.idx-widget-wrap > div {
	max-width: 100%;
	width: 100%;
}

/* ------------------- 36. GHL FORM/CALENDAR EMBED WRAPPER ------------------- */
/* GHL's form_embed.js script dynamically resizes the iframe to fit content.
   We use min-height as a safety net so the iframe always renders even before
   the script runs. We do NOT set a fixed height — that breaks mobile. */
.ghl-embed-wrap {
	background: #f9f6f1;
	border: 1px solid #e8e0d5;
	border-radius: 1rem;
	padding: 0.75rem;
	min-height: 32rem;
}
.ghl-embed-wrap iframe {
	display: block;
	width: 100%;
	min-height: 32rem;
	height: auto;
	border: 0;
	border-radius: 8px;
}
/* Calendar embeds need a bit more room */
.ghl-embed-wrap.is-calendar iframe {
	min-height: 36rem;
}
@media (max-width: 640px) {
	.ghl-embed-wrap {
		min-height: 48rem;
		padding: 0.5rem;
	}
	.ghl-embed-wrap iframe {
		min-height: 48rem;
	}
	.ghl-embed-wrap.is-calendar iframe {
		min-height: 52rem;
	}
}
