*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white: #FFFFFF;
  --warm-1: #F2F3F1;
  --warm-3: #E8EDE5;
  --rule: #D0D0CE;
  --muted: #808080;
  --dark: #111111;
  --text: #444444;
  --accent: #3A6B2A;
  --accent-light: #E8EDE5;
}
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--text); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--rule); padding: 0 var(--mobile-gutter, 52px); height: 66px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; opacity: 0.6; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--dark); }
.nav-cta { font-size: 13px; font-weight: 600; color: #fff; background: var(--dark); padding: 10px 22px; border-radius: 100px; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: #333; }

/* SHARED */
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.section-heading { font-size: 38px; font-weight: 700; line-height: 1.18; color: var(--dark); letter-spacing: -0.3px; }
.btn-dark { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: #fff; background: var(--dark); border: none; padding: 14px 28px; border-radius: 100px; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.btn-dark:hover { background: #333; }
.btn-outline { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: var(--dark); background: transparent; border: 1.5px solid var(--rule); padding: 13px 28px; border-radius: 100px; cursor: pointer; transition: border-color 0.2s; text-decoration: none; display: inline-block; }
.btn-outline:hover { border-color: var(--dark); }
.btn-white { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--dark); background: #fff; border: none; padding: 14px 28px; border-radius: 100px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-ghost-white { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; color: #fff; background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.35); padding: 14px 28px; border-radius: 100px; cursor: pointer; text-decoration: none; display: inline-block; }

/* HERO */
.hero { min-height: 72vh; padding-top: 66px; background: url("../images/buy-01.webp") right center / cover no-repeat; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 60%, rgba(0,0,0,0.18) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; padding: 96px var(--mobile-gutter, 52px) 80px; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hero-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.75); }
.hero-headline { font-size: 54px; font-weight: 700; line-height: 1.08; color: #fff; letter-spacing: -0.5px; margin-bottom: 20px; }
.hero-headline em { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.65); }
.hero-sub { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; }


/* QUOTE CAROUSEL */
.quote-carousel { background: var(--white); padding: var(--mobile-gutter, 52px) var(--mobile-gutter, 52px) 44px; border-bottom: 1px solid var(--rule); }
.carousel-inner { max-width: 680px; margin: 0 auto; position: relative; text-align: center; }
.carousel-slide { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.carousel-slide.active { opacity: 1; position: relative; pointer-events: auto; }
.carousel-stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 18px; }
.carousel-star { width: 11px; height: 11px; background: var(--accent); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.carousel-quote { font-size: 18px; font-style: italic; color: var(--dark); line-height: 1.72; margin-bottom: 20px; }
.carousel-attribution { display: flex; align-items: center; justify-content: center; gap: 10px; }
.carousel-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.carousel-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.carousel-loc { font-size: 12px; color: var(--muted); margin-left: 2px; }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.carousel-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rule); border: none; cursor: pointer; padding: 0; transition: background 0.3s; }
.carousel-dot.active { background: var(--accent); }


/* GUIDE CTA */
.guide-section { padding: 88px var(--mobile-gutter, 52px); background: var(--warm-1); }
.guide-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; background: #fff; border-radius: 24px; padding: 56px 64px; box-shadow: 0 4px 32px rgba(0,0,0,0.06); }
.guide-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px; }
.guide-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.guide-heading { font-size: 40px; font-weight: 700; color: var(--dark); line-height: 1.15; letter-spacing: -0.3px; margin-bottom: 16px; }
.guide-heading em { font-style: italic; font-weight: 400; color: var(--muted); }
.guide-desc { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 32px; max-width: 480px; }

/* BUYER TYPES */
.buyer-section { padding: 88px var(--mobile-gutter, 52px); background: #fff; }
.buyer-inner { max-width: 1200px; margin: 0 auto; }
.buyer-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 48px; }
.buyer-header p { font-size: 15px; line-height: 1.8; color: var(--text); margin-top: 8px; }
.buyer-header .section-eyebrow { font-size: 11px; margin-top: 0; color: var(--accent); }
.buyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.bcard { border-radius: 16px; overflow: hidden; position: relative; height: 300px; transition: box-shadow 0.2s, transform 0.2s; }
.bcard:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.18); transform: translateY(-2px); }
.bcard-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%); transition: background 0.3s ease; }
.bcard:hover .bcard-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%); }
.bcard-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 22px 24px; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; }
.bcard-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.bcard-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease; }
.bcard:hover .bcard-desc { max-height: 120px; opacity: 1; margin-bottom: 12px; }
.bcard-cta { font-size: 12px; font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; letter-spacing: 0.3px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s ease 0.05s, opacity 0.3s ease 0.05s; }
.bcard:hover .bcard-cta { max-height: 40px; opacity: 0.85; }
.bcard-cta:hover { opacity: 1 !important; }
.bcard-cta::after { content: "→"; margin-left: 4px; }
.abr-strip { background: var(--dark); border-radius: 20px; padding: 40px 48px; display: grid; grid-template-columns: auto 1px 1fr auto; align-items: center; gap: 40px; }
.abr-strip-logo-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.abr-strip-logo { height: var(--mobile-gutter, 52px); width: auto; display: block; filter: brightness(0) invert(1); }
.abr-strip-divider { width: 1px; height: 64px; background: rgba(255,255,255,0.15); }
.abr-strip-body { }
.abr-strip-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.abr-strip-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 420px; }
.abr-strip-agent { display: flex; flex-direction: row; align-items: center; gap: 16px; flex-shrink: 0; background: #F0F0EE; border-radius: 16px; padding: 20px 28px; min-width: 240px; }
.abr-strip-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.abr-strip-agent-info strong { font-size: 14px; font-weight: 700; color: var(--dark); display: block; }
.abr-strip-agent-info span { font-size: 11px; color: var(--muted); margin-top: 3px; display: block; }

/* PROCESS */
.process-section { padding: 88px var(--mobile-gutter, 52px); background: url("../images/buy-02.webp") center/cover no-repeat; background-attachment: fixed; position: relative; }
.process-inner { position: relative; z-index: 1; }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-left { visibility: hidden; }
.process-left-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.process-left-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.75); }
.process-left-heading { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.18; letter-spacing: -0.3px; margin-bottom: 16px; }
.process-left-body { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.85; }
.process-right { padding: 60px 0; }
.process-steps { display: flex; flex-direction: column; gap: 12px; }
.process-step { display: grid; grid-template-columns: 48px 1fr; position: relative; opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
.process-step.visible { opacity: 1; transform: translateY(0); }
.process-step-indicator { display: flex; flex-direction: column; align-items: center; position: relative; padding-top: 28px; }
.process-step-indicator::after { content: ''; position: absolute; top: 68px; left: 50%; transform: translateX(-50%); width: 2px; bottom: -12px; background: var(--rule); z-index: 0; }
.process-step:last-child .process-step-indicator::after { display: none; }
.process-dot-circle { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: rgba(255,255,255,0.4); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); position: relative; z-index: 1; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.process-step.center-active .process-dot-circle { background: var(--accent); border-color: var(--accent); color: #fff; }
.process-step-content { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 28px 32px; margin-left: 16px; margin-bottom: 0; transition: box-shadow 0.4s, border-color 0.4s, opacity 0.4s; opacity: 0.3; }
.process-step.center-active .process-step-content { opacity: 1; box-shadow: 0 8px 32px rgba(20,28,18,0.1); border-color: var(--rule); }
.process-step-num { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; transition: color 0.4s; }
.process-step.center-active .process-step-num { color: var(--accent); }
.process-step-title { font-size: 22px; font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 0; letter-spacing: -0.2px; }
.process-step-desc { font-size: 15px; color: var(--text); line-height: 1.85; margin-top: 12px; opacity: 0; transition: opacity 0.4s ease; }
.process-step.center-active .process-step-desc { opacity: 1; }

/* NEIGHBORHOOD CTA */
.neigh-cta { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; background: #fff; }
.neigh-cta-overlay { display: none; }
.neigh-cta-content { position: relative; z-index: 2; padding: 96px var(--mobile-gutter, 52px); text-align: left; max-width: 1200px; margin: 0 auto; width: 100%; }
.neigh-cta-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.neigh-cta-eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.neigh-cta-heading { font-size: 42px; font-weight: 700; line-height: 1.1; color: var(--dark); letter-spacing: -0.3px; margin-bottom: 16px; }
.neigh-cta-sub { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 32px; max-width: 480px; }

/* TESTIMONIALS */
.testi-section { padding: 88px var(--mobile-gutter, 52px); background: #fff; }
.testi-inner { max-width: 1200px; margin: 0 auto; }
.testi-header { margin-bottom: 44px; }
.tcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { background: var(--warm-1); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.tcard-top { padding: 28px 28px 24px; flex: 1; position: relative; }
.tcard-quotemark { font-family: Georgia, serif; font-size: 60px; line-height: 0.6; color: var(--accent); opacity: 0.12; position: absolute; top: 20px; right: 20px; }
.tcard-quote { font-size: 14px; font-style: italic; color: var(--dark); line-height: 1.78; }
.tcard-stars { display: flex; gap: 3px; margin-top: 16px; }
.tcard-star { width: 11px; height: 11px; background: var(--accent); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.tcard-bottom { padding: 16px 28px; border-top: 1px solid var(--rule); background: #fff; display: flex; align-items: center; gap: 10px; }
.tcard-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.tcard-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.tcard-loc { font-size: 11px; color: var(--muted); }
.tcard-tag { margin-left: auto; background: var(--accent-light); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }

/* FINAL CTA */
.final-cta { padding: 88px var(--mobile-gutter, 52px); background: url("../images/buy-03.webp") center/cover no-repeat; text-align: center; position: relative; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: rgba(10,20,8,0.62); z-index: 0; }
.final-cta-inner { position: relative; z-index: 1; }
.final-cta-inner { max-width: 480px; margin: 0 auto; }
.final-cta .section-heading { margin-bottom: 12px; color: #fff; }
.final-cta p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.final-cta-btns { display: flex; gap: 12px; justify-content: center; }

/* FOOTER */
.legal-bar { background: #fff; padding: 16px var(--mobile-gutter, 52px); border-top: 1px solid var(--rule); }
.legal-bar p { font-size: 9px; color: #bbb; line-height: 1.8; text-align: center; max-width: 1100px; margin: 0 auto; letter-spacing: 0.3px; }

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text, #444); opacity: .6; transition: opacity .2s; background: none; border: none; font-family: inherit; padding: 0; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.open { opacity: 1; color: var(--dark, #111); }
.nav-dropdown-toggle.active, .nav-dropdown-toggle.active.open { opacity: 1; color: var(--dark, #111); }
.nav-dropdown-toggle svg { transition: transform .2s; }
.nav-dropdown-toggle.open svg { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #D0D0CE; border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,0.12); padding: 8px; min-width: 210px; display: none; z-index: 400; }
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a { display: block; padding: 11px 16px; font-size: 13px; font-weight: 500; color: #444; border-radius: 7px; opacity: 1 !important; white-space: nowrap; transition: background .15s; }
.nav-dropdown-menu a:hover { background: #F2F3F1; color: #111; }
.nav-dropdown-menu a.external { display: flex; align-items: center; gap: 8px; }
.nav-dropdown-menu a.external svg { opacity: .4; flex-shrink: 0; }
.nav-dropdown-menu a.active { color: #3A6B2A; font-weight: 600; }

footer { background: #fff; border-top: 1px solid var(--rule, #D0D0CE); padding: 48px var(--mobile-gutter, 52px); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-legal { font-size: 11px; line-height: 1.6; color: var(--muted, #808080); margin-top: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; font-size: 12px; }
.footer-links a { color: var(--text, #444); opacity: .6; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }

/* Converted CTA buttons from <button> to <a> for real navigation. */
a.btn-white, a.btn-ghost-white, a.btn-accent, a.btn-dark, a.btn-ghost,
a.btn-outline, a.btn-primary, a.hero-btn, a.cta-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 860px) {
  .process-left { display: none; }
}
