/* AcreVista — land cash buyer site
   Colors: forest green, soft cream, gold accent sparingly */

:root {
  --forest: #1B4332;
  --forest-deep: #0F2A1F;
  --forest-mid: #2D6A4F;
  --forest-soft: #40916C;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --cream-card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-muted: #4A4A4A;
  --gold: #C4A35A;
  --gold-soft: #E8D9B5;
  --border: #DDD5C8;
  --shadow: 0 8px 28px rgba(27, 67, 50, 0.08);
  --radius: 12px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  background: var(--cream-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 96px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--forest-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-phone {
  color: var(--forest-deep) !important;
  white-space: nowrap;
}

.nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--forest-deep);
  color: #fff !important;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .logo-link img { height: 80px; }
  .nav-cta { text-align: center; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover {
  background: var(--forest-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-secondary:hover {
  background: var(--forest);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
}
.btn-gold:hover { background: #b8944a; color: var(--forest-deep); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  background:
    linear-gradient(165deg, var(--cream) 0%, var(--cream-dark) 55%, #e8f0ea 100%);
  padding: 2.75rem 0 3.25rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.2;
  color: var(--forest-deep);
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 0;
}

.hero-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--forest);
}

.hero-card p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* —— Sections —— */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--cream-card);
  border-block: 1px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}

.section-intro {
  color: var(--ink-muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

/* —— Benefits —— */
.benefit-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

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

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d8e8de;
  color: var(--forest);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.benefit h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--forest);
}

.benefit p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* —— Forms —— */
.form-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  max-width: 640px;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

label .optional {
  font-weight: 500;
  color: var(--ink-muted);
}

input, textarea, select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--forest-soft);
  outline-offset: 1px;
  border-color: var(--forest-mid);
}

textarea { min-height: 120px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* —— Steps —— */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

.step {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  color: var(--forest);
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* —— FAQ —— */
.faq details {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  font-weight: 650;
  color: var(--forest);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* —— About —— */
.prose {
  max-width: 42rem;
}

.prose p { color: var(--ink-muted); }

.contact-block {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--forest);
}

.contact-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-block li {
  margin-bottom: 0.5rem;
  color: var(--ink-muted);
}

.contact-block a {
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}
.contact-block a:hover { text-decoration: underline; }
.contact-block a.btn {
  text-decoration: none;
}
.contact-block a.btn-primary,
.contact-block a.btn-primary:hover,
.contact-block a.btn-primary:visited,
.contact-block a.btn-primary:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.contact-block a.btn-secondary {
  color: var(--forest) !important;
}
.contact-block a.btn-secondary:hover {
  color: #fff !important;
}

.privacy-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 42rem;
}

.privacy-note h2 {
  font-size: 1.05rem;
  color: var(--forest);
  margin: 0 0 0.5rem;
}

/* —— CTA band —— */
.cta-band {
  background: var(--forest);
  color: #fff;
  padding: 2.75rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  opacity: 0.92;
}

.cta-band .btn-primary,
.cta-band .btn-primary:visited,
.cta-band .btn-primary:focus {
  background: #fff;
  color: var(--forest) !important;
  -webkit-text-fill-color: var(--forest);
}
.cta-band .btn-primary:hover {
  background: #f3f0e8;
  color: var(--forest-deep) !important;
  -webkit-text-fill-color: var(--forest-deep);
}

.cta-band .btn-secondary {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}
.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

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

/* —— Footer —— */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.85);
  padding: 2.25rem 0 1.5rem;
  font-size: 0.95rem;
}

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

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li { margin-bottom: 0.4rem; }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.gold-rule {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 0 1.25rem;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.success-banner {
  background: #d8e8de;
  border: 1px solid var(--forest-soft);
  color: var(--forest-deep);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.success-banner.is-visible { display: block; }
