:root {
  --lime: #8FBF3A;
  --lime-deep: #6B9A22;
  --lime-field: #7CB52E;
  --magenta: #C23A7A;
  --magenta-deep: #A12E64;
  --cream: #FFFEF8;
  --text: #142010;
  --muted: #2f3d22;
  --shadow: rgba(20, 40, 5, 0.35);
  --focus: #1a5fb4;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--cream); }
html, body { width: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  background: var(--lime-field);
}
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(107, 154, 34, 0.35) 0%, rgba(143, 191, 58, 0.2) 45%, rgba(194, 58, 122, 0.12) 100%),
    url("assets/Green_Wall_Background_WEB.png") center / cover no-repeat;
  background-color: var(--lime);
}
.column {
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 1.75rem;
  text-align: center;
  color: var(--text);
  background: var(--cream);
  /* No side borders — they showed as white notches on the green hero edge */
  border-left: 0;
  border-right: 0;
  box-shadow: 0 0 50px var(--shadow);
  position: relative;
  z-index: 1;
  overflow: hidden; /* keep hero flush to column edges */
}
.hero {
  width: 100%;
  padding: 2.25rem 1.5rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(20, 40, 10, 0.18), rgba(20, 40, 10, 0.28)),
    url("assets/Green_Wall_Background_WEB.png") center / cover no-repeat;
  background-color: var(--lime-deep);
  border-radius: 0 0 10px 10px;
  color: #fff;
}
.hero-compact { padding: 1.6rem 1.4rem 1.35rem; }
.hero-name {
  font-family: Georgia, "Palatino Linotype", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.1rem, 7vw, 2.85rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-tagline {
  margin-top: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  font-weight: 500;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.content { padding: 1.35rem 1.6rem 0; }
.page-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  margin-bottom: 0.45rem;
}
.proof {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.15rem 0 0.25rem;
}
.area {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.alta-brand {
  margin: 0.85rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.alta-brand img {
  display: block;
  width: min(220px, 70%);
  height: auto;
}
.alta-brand .alta-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.phone {
  font-size: clamp(1.25rem, 3.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0.1rem;
}
.phone a { color: var(--text); text-decoration: none; }
.phone a:hover { color: var(--magenta); }
.phone-hint {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.1rem 0 0.55rem;
  letter-spacing: 0.02em;
}
.email { margin: 0.45rem 0 0.85rem; }
.email a {
  color: var(--magenta);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  word-break: break-word;
}
.email a:hover { text-decoration: underline; }
.cta-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 1.15rem 0 0.85rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 6px 20px rgba(194, 58, 122, 0.4);
  min-width: min(280px, 100%);
}
.btn-primary:hover { background: var(--magenta-deep); }
.cta-note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 22rem;
}
.alta-link, .nav-contact {
  font-size: 0.92rem;
  margin: 0.55rem 0;
}
.alta-link a, .nav-contact a {
  color: var(--lime-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.alta-link a:hover, .nav-contact a:hover { color: var(--text); }
.contact-form {
  margin: 1.1rem auto 0.5rem;
  width: 100%;
  max-width: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 500;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(47, 61, 34, 0.25);
  border-radius: 10px;
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: center; margin-top: 0.35rem; }
.contact-form .cta-note { text-align: center; align-self: center; }
.legal {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid rgba(47, 61, 34, 0.18);
  padding: 0.9rem 1.6rem 0;
  margin-top: auto;
}
@media (max-width: 640px) {
  .column { max-width: 100%; }
  .content { padding: 1.15rem 1.15rem 0; }
  .legal { padding-left: 1.15rem; padding-right: 1.15rem; }
  .btn-primary { width: 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

.banner { width: 100%; line-height: 0; margin: 0; }
.banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

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

.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin: 1.35rem 1.4rem 0.35rem;
  padding: 0.85rem 0.5rem 0.25rem;
  border-top: 1px solid rgba(20, 32, 16, 0.12);
}
.certs img {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
  opacity: 0.95;
}
@media (min-width: 480px) {
  .certs img { height: 58px; }
}

.alta-top { display: none !important; /* removed per Jeff */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.1rem 1.4rem 0.75rem;
  background: var(--cream);
}
.alta-top img {
  display: block;
  width: min(240px, 68%);
  height: auto;
}
.tagline-experience {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.85rem 1.25rem 0.15rem;
  padding: 0;
}
.tagline-experience img {
  display: block;
  width: min(420px, 88%);
  height: auto;
}
.banner {
  width: 100%;
  line-height: 0;
  margin: 0;
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.content { padding-top: 0.85rem; }
.proof { color: var(--lime-deep); }

/* Contact / interest form */
.contact-form {
  margin: 0.75rem auto 0.5rem;
  width: 100%;
  max-width: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-form .optional { font-weight: 500; opacity: 0.75; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 500;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(47, 61, 34, 0.25);
  border-radius: 10px;
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 6rem; }
.contact-form .btn { align-self: center; margin-top: 0.35rem; width: min(280px, 100%); }
.contact-form .cta-note { text-align: center; align-self: center; }
.contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  color: #9b1c3a;
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0.5rem 0 0.75rem;
}
.btn-secondary {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  color: var(--lime-deep);
  border: 2px solid var(--lime-deep);
  box-shadow: none;
  min-width: min(200px, 46%);
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
}
.btn-secondary:hover { background: rgba(107, 154, 34, 0.1); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.85rem 0 0.5rem;
}
.page-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.45rem, 4vw, 1.8rem);
  margin-bottom: 0.55rem;
  color: var(--lime-deep);
}

/* BA open-space polish */
.phone-hint { margin-bottom: 0.85rem; }
.cta-primary { margin-top: 0.35rem; margin-bottom: 1.15rem; }
.cta-row { margin-top: 0.25rem; margin-bottom: 0.75rem; }
.tagline-experience { margin-top: 1rem; margin-bottom: 0.35rem; }
.content { padding-top: 0.5rem; }

/* Interest checkboxes */
.interest-set {
  border: 1px solid rgba(47, 61, 34, 0.18);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.95rem;
  margin: 0.15rem 0 0.25rem;
  background: rgba(143, 191, 58, 0.06);
}
.interest-set legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0 0.25rem;
}
.interest-set .check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0.35rem 0;
  cursor: pointer;
}
.interest-set .check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--lime-deep);
  flex-shrink: 0;
}

/* Full-bleed hero — flush to column edges, no hairline gaps */
.banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #93C440;
}
.banner img.hero-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
/* ALTA logo as a separate hi-res layer (608px source, retina crisp).
   Position/size match the original baked-in placement on the 1200x547 hero. */
.banner img.hero-alta {
  position: absolute;
  left: 4.8%;
  top: 73.2%;
  width: 24.6%;
  height: auto;
  margin: 0;
  border: 0;
  filter: drop-shadow(1px 2px 3px rgba(20, 40, 5, 0.5));
  pointer-events: none;
}

/* Deep plum side background outside the cream column */
html { background: #3B1F33; }
body { background: #3B1F33; }
.page {
  background: #3B1F33;
  background-color: #3B1F33;
}
.column { box-shadow: 0 0 60px rgba(0, 0, 0, 0.45); }

/* Centered note under the CTA buttons */
.cta-note {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Comfortable tap targets for text links */
.phone a { display: inline-block; padding: 0.4rem 0.6rem; }
.email a, .alta-link a, .nav-contact a {
  display: inline-block;
  padding: 0.7rem 0.4rem;
}
.email, .alta-link, .nav-contact { margin-top: 0.1rem; margin-bottom: 0.1rem; }

/* Form labels: text on one line, field full-width below */
.contact-form label:not(.check) { display: block; }
.contact-form label:not(.check) > input,
.contact-form label:not(.check) > select,
.contact-form label:not(.check) > textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  font-size: 1rem; /* >=16px: no iOS zoom on focus */
}
/* Interest checkboxes: box left of text, whole row tappable */
.interest-set .check {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  min-height: 2.5rem;
  margin: 0;
}
.interest-set .check input {
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  margin: 0;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn-secondary { width: 100%; max-width: 320px; min-width: 0; text-align: center; }
  .certs { gap: 0.6rem 0.7rem; margin-left: 1rem; margin-right: 1rem; padding-left: 0; padding-right: 0; }
  .certs img { height: 44px; }
}

/* ---------- Listings page ---------- */
.idx-slot { margin: 0.5rem 0 1.25rem; }
.listings-cta-card {
  border: 2px solid var(--lime-deep);
  border-radius: 16px;
  background: rgba(143, 191, 58, 0.07);
  padding: 1.25rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.listings-cta-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lime-deep);
}
.listings-cta-text { font-size: 0.92rem; color: var(--muted); max-width: 26rem; }
.listing-preview { margin: 0 0 1.5rem; text-align: left; }
.preview-flag {
  text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: #fff; background: var(--magenta);
  border-radius: 999px; padding: 0.35rem 0.8rem; margin: 0 auto 0.85rem; width: fit-content;
}
.listing-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; margin-bottom: 0.9rem; }
.chip {
  font-size: 0.85rem; font-weight: 700; color: var(--lime-deep);
  border: 2px solid var(--lime-deep); border-radius: 999px; padding: 0.4rem 0.9rem;
}
.chip-on { background: var(--lime-deep); color: #fff; }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.listing-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(47, 61, 34, 0.14);
  box-shadow: 0 4px 14px rgba(20, 40, 5, 0.10);
  display: flex; flex-direction: column;
}
.listing-photo {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dfe8cf, #c9d8b0);
}
.badge {
  position: absolute; top: 0.55rem; left: 0.55rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; border-radius: 6px; padding: 0.25rem 0.5rem;
}
.badge-active { background: var(--lime-deep); }
.badge-pending { background: #B7791F; }
.badge-sold { background: var(--magenta); }
.listing-body { padding: 0.7rem 0.8rem 0.85rem; display: flex; flex-direction: column; gap: 0.2rem; }
.listing-price { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.listing-facts, .listing-addr, .listing-credit { font-size: 0.85rem; color: var(--text); }
.listing-addr { color: var(--muted); }
.listing-credit { font-weight: 600; }
.listing-link {
  margin-top: 0.35rem; font-size: 0.9rem; font-weight: 700; color: var(--lime-deep);
  text-decoration: underline; text-underline-offset: 3px; padding: 0.35rem 0;
}
.listing-link .sub { display: block; font-weight: 500; font-size: 0.78rem; color: var(--muted); text-decoration: none; }
.listings-disclaimer {
  font-size: 0.75rem; color: var(--muted); line-height: 1.5; text-align: left;
  margin: 1.1rem 0 0.5rem; padding-top: 0.8rem; border-top: 1px solid rgba(47, 61, 34, 0.14);
}
@media (max-width: 480px) {
  .listing-grid { grid-template-columns: 1fr; }
}
