:root {
  --green: #18641e;
  --green-dark: #0f3d13;
  --green-mid: #228b2b;
  --pale: #e8f3e9;
  --cream: #f7faf7;
  --ink: #1a1a1a;
  --muted: #4a574c;
  --line: #c5d9c7;
  --white: #fff;
  --shadow: 0 10px 30px rgba(15, 61, 19, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Source Sans 3", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.55; }
img { max-width: 100%; display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: var(--green); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--green); color: #fff; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; }

header.site { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 20px; }
.logo img { height: 58px; width: auto; }
nav.desk { display: flex; gap: 22px; align-items: center; }
nav.desk a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
nav.desk a:hover, nav.desk a.active { color: var(--green); }
.btn { display: inline-block; background: var(--green); color: #fff !important; padding: 10px 16px; border-radius: 6px; font-weight: 700; border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--green) !important; border: 1.5px solid var(--green); }
.btn.light { background: #fff; color: var(--green) !important; }
.hamburger { display: none; background: none; border: 0; font-size: 1.6rem; }

.hero { position: relative; min-height: 520px; display: grid; place-items: center; color: #fff; background:
  linear-gradient(180deg, rgba(15,61,19,.55), rgba(15,61,19,.7)),
  url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1600&q=80") center/cover;
}
.hero-inner { text-align: center; padding: 80px 20px; }
.hero h1 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; margin: 12px 0 16px; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: #d5ecd6; }
.hero p { max-width: 640px; margin: 0 auto 24px; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section h2 { font-family: "Libre Baskerville", Georgia, serif; color: var(--green-dark); font-size: 2rem; margin-bottom: 10px; }
.lede { color: var(--muted); margin-bottom: 28px; max-width: 720px; }

.grid-3, .grid-2 { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.card h3 { color: var(--green); margin-bottom: 8px; }
.icon { font-size: 1.4rem; margin-bottom: 8px; }

.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities span { background: var(--pale); color: var(--green-dark); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }

.listing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.listing img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.listing-body { padding: 28px; }
.badge { display: inline-block; background: var(--green); color: #fff; font-size: .75rem; letter-spacing: .06em; padding: 4px 8px; border-radius: 4px; margin-bottom: 10px; }
.badge-sold { background: #5c3b1e; }
.badge-rented { background: #3a4a52; }
.badge-on-photo.badge-sold,
.badge-on-photo.badge-rented { letter-spacing: .08em; }
.price { font-size: 1.6rem; color: var(--green); font-weight: 700; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.portrait { background: var(--pale); border-radius: 14px; min-height: 280px; display: grid; place-items: center; padding: 24px; text-align: center; border: 1px solid var(--line); }
.portrait strong { display: block; font-size: 1.2rem; margin-top: 8px; }

form.contact { display: grid; gap: 12px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
form.contact textarea { min-height: 120px; }

footer { background: var(--green-dark); color: #dceadc; padding: 40px 0 20px; }
footer a { color: #fff; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-copy { text-align: center; margin-top: 28px; font-size: .85rem; color: #9bb89d; }
.page-hero { background: var(--green); color: #fff; padding: 48px 0; }
.page-hero h1 { font-family: "Libre Baskerville", Georgia, serif; font-size: 2.2rem; }

@media (max-width: 860px) {
  nav.desk { display: none; }
  nav.desk.open { display: flex; flex-direction: column; position: absolute; right: 20px; top: 72px; background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: 10px; box-shadow: var(--shadow); }
  .hamburger { display: block; }
  .grid-3, .grid-2, .listing, .about-grid, footer .wrap { grid-template-columns: 1fr; }
}

.form-error { color: #9b1c1c; margin-bottom: 12px; }

/* Listing carousel — old-site full-bleed slide, restyled to /new */
.prop-carousel { position: relative; overflow: hidden; background: var(--green-dark); }
.prop-carousel-track { display: flex; }
.prop-slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 560px;
  background: var(--green-dark) center/cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px 72px;
}
.prop-slide.no-photo,
.listing-card-photo.no-photo,
.hero-empty {
  background:
    linear-gradient(180deg, rgba(15,61,19,.55), rgba(15,61,19,.78)),
    var(--green-dark);
}
.hero-empty { min-height: 520px; display: grid; place-items: center; color: #fff; }
.prop-slide-inner { max-width: 800px; }
.prop-carousel .prop-slide h2,
.prop-slide h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin: 12px 0 16px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(15, 61, 19, 0.65);
}
.prop-carousel .prop-price,
.prop-price { font-size: 1.35rem; font-weight: 700; color: #e8f3e9; margin-bottom: 22px; }
.badge-on-photo { background: var(--green-mid); margin-bottom: 8px; }
.prop-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--green-dark);
  font-size: 1.6rem; cursor: pointer; z-index: 2; line-height: 1;
}
.prop-nav.prev { left: 16px; }
.prop-nav.next { right: 16px; }
.prop-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.prop-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.45); cursor: pointer; padding: 0;
}
.prop-dots button.is-active { background: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.listing-card {
  display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.listing-card-photo { min-height: 200px; background: var(--pale); }
.listing-card-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }

.idx-frame-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.idx-frame { width: 100%; min-height: 720px; border: 0; }
.idx-placeholder {
  border: 2px dashed var(--line); border-radius: 12px; padding: 28px; background: var(--pale);
}
.idx-placeholder h3 { color: var(--green-dark); margin-bottom: 10px; }
.idx-placeholder-label { margin-top: 16px; font-size: .85rem; color: var(--muted); font-family: ui-monospace, monospace; }
.idx-placeholder code { font-size: .9em; }

@media (max-width: 860px) {
  .listing-grid, .listing-card { grid-template-columns: 1fr; }
  .prop-slide { min-height: 460px; padding: 64px 48px 72px; }
}

.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.turnstile-wrap { margin: 12px 0; }

/* Property details */
.details-gallery { background: var(--green-dark); }
.details-gallery .prop-slide {
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
.details-gallery .prop-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.details-gallery-empty {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(15,61,19,.55), rgba(15,61,19,.78)),
    var(--green-dark);
}
.details-layout {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 36px;
  align-items: start;
}
.details-address {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--green-dark);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 8px 0 6px;
}
.details-city { color: var(--muted); font-size: 1.1rem; }
.details-price { margin: 12px 0 6px; }
.details-avail { color: var(--muted); margin-bottom: 8px; }
.details-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
}
.details-specs li span {
  display: block;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.details-specs li strong { font-size: 1.35rem; color: var(--green-dark); }
.details-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 32px;
}
.details-facts div { text-align: center; padding: 16px 8px; }
.details-facts span {
  display: block;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.details-facts strong { color: var(--green-dark); }
.details-desc { margin: 12px 0 28px; max-width: 720px; }
.details-features { margin: 12px 0 28px; }
.details-features dt { font-weight: 700; color: var(--green-dark); margin-top: 10px; }
.details-features dd { margin: 0 0 6px; color: var(--muted); }
.details-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0 24px;
}
.details-thumbs a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--pale);
}
.details-thumbs a.is-active,
.details-thumbs a:hover { border-color: var(--green); }
.details-thumbs img { width: 100%; height: 90px; object-fit: cover; }
.details-video { margin: 8px 0 16px; font-weight: 700; }
.details-cta { position: sticky; top: 88px; }
.details-cta h2 { font-size: 1.35rem; margin-bottom: 10px; }
.details-notfound { padding-bottom: 24px; }
.details-notfound .btn { margin: 0 8px 8px 0; }

@media (max-width: 860px) {
  .details-layout { grid-template-columns: 1fr; }
  .details-gallery .prop-slide img { height: 320px; }
  .details-facts { grid-template-columns: 1fr; }
  .details-thumbs { grid-template-columns: repeat(3, 1fr); }
  .details-cta { position: static; }
}

/* Request forms, FAQ, mortgage estimate */
.form-page { max-width: 760px; }
.form-page .card h2,
form.contact h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--green-dark);
  font-size: 1.35rem;
  margin: 20px 0 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
fieldset.choices {
  border: 0;
  padding: 0;
  margin: 4px 0 8px;
}
fieldset.choices legend {
  font-weight: 600;
  margin-bottom: 6px;
}
.choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 8px 0;
  font-weight: 500;
}
.choice input { width: auto; margin: 0; }
.form-note { color: var(--muted); font-size: .92rem; margin: 8px 0 16px; }
.faq-list { max-width: 800px; }
.faq-item { margin: 0 0 28px; }
.faq-item h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--green-dark);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.mortgage { margin-top: 32px; }
.mortgage-result { font-weight: 700; color: var(--green-dark); margin: 12px 0; font-size: 1.1rem; }

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
}

/* Broker photo */
.portrait.has-photo { display: block; padding: 0; overflow: hidden; min-height: 0; text-align: left; }
.portrait.has-photo { max-width: 380px; margin: 0 auto; width: 100%; }
.portrait.has-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; display: block; }
.portrait-caption { padding: 16px 20px 20px; text-align: center; }
.portrait-caption strong { display: block; font-size: 1.2rem; }
.portrait-caption p { color: var(--muted); }

/* Area pages */
.crumbs { font-size: .9rem; margin-bottom: 8px; color: #d5ecd6; }
.crumbs a { color: #fff; text-decoration: underline; }
.page-hero p { max-width: 760px; margin-top: 8px; }
.area-body { max-width: 820px; }
.area-body h2 { margin-top: 32px; }
.area-body h2:first-child { margin-top: 0; }
.area-body p, .area-body ul { margin-bottom: 14px; }
.area-body ul { padding-left: 22px; }
.area-body li { margin-bottom: 6px; }
.cities a { background: var(--pale); color: var(--green-dark); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.cities a:hover { background: var(--green); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.area-note { color: var(--muted); font-size: .92rem; margin-top: 18px; }

/* Forms */
.req { color: #9b1c1c; font-weight: 700; }
.field-hint { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; }
.thanks-card { max-width: 760px; }
.thanks-card h2 { margin-bottom: 8px; }
form.contact > label, form.contact .form-grid > label { display: block; font-weight: 600; }
form.contact > label input, form.contact > label select, form.contact > label textarea,
form.contact .form-grid > label input, form.contact .form-grid > label select { margin-top: 4px; font-weight: 400; }

/* ---- Languages (English / Español / 中文), added 2026-11-14 ---- */
.lang-switch { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.35); white-space: nowrap; }
.lang-switch a, .lang-switch strong { color: #fff; }
.lang-switch strong { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lang-switch span[aria-hidden] { opacity: .6; margin: 0 4px; }
@media (max-width: 560px) {
  .lang-switch { display: block; margin: 6px 0 0; padding-left: 0; border-left: 0; }
}
.foot-lang { opacity: .9; }
/* Chinese pages: the Latin web fonts have no CJK glyphs, so fall back to good system CJK fonts. */
html[lang="zh-Hans"] body { font-family: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif; line-height: 1.7; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .hero h1, html[lang="zh-Hans"] .section h2, html[lang="zh-Hans"] .page-hero h1 { font-family: "Libre Baskerville", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif; letter-spacing: .02em; }
/* Spanish nav labels are longer; tighten the gap a little on mid-size screens. */
@media (min-width: 861px) and (max-width: 1100px) {
  html[lang="es"] nav.desk { gap: 14px; }
}
