/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.4rem;
  transition: padding var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(250, 247, 239, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(35,38,31,0.06), 0 12px 30px -20px rgba(21,35,16,0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand img {
  height: 64px; width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: filter var(--dur-med) var(--ease-out), height var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled .brand img { height: 50px; }
.site-header.is-scrolled .brand img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.8rem);
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
  position: relative;
  padding-block: 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease-out), text-shadow var(--dur-fast) var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent-bright);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--accent-bright); }
.site-header.is-scrolled .nav-links a { color: var(--ink); text-shadow: none; }
.site-header.is-scrolled .nav-links a.is-active { color: var(--green-700); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-cta .btn-ghost {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.nav-cta .btn-ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.site-header.is-scrolled .nav-cta .btn-ghost { border-color: rgba(35,38,31,0.18); color: var(--ink); }
.site-header.is-scrolled .nav-cta .btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle { display: none; }

/* ---------- Site-wide photographic watermark ---------- */
.has-farm-watermark {
  isolation: isolate;
}

.farm-watermark-positioned {
  position: relative;
}

.farm-image-watermark {
  position: absolute;
  right: clamp(0.45rem, 2.2%, 1rem);
  bottom: clamp(0.45rem, 2.2%, 1rem);
  z-index: 8;
  width: clamp(82px, 23%, 150px);
  aspect-ratio: 1900 / 260;
  padding: clamp(0.28rem, 0.7vw, 0.42rem) clamp(0.42rem, 1vw, 0.65rem);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 0.55rem;
  background-color: rgba(7, 47, 18, 0.58);
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(100% - 0.8rem) auto;
  box-shadow: 0 4px 16px rgba(2, 22, 7, 0.22);
  -webkit-backdrop-filter: blur(4px) saturate(120%);
  backdrop-filter: blur(4px) saturate(120%);
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 560px) {
  .farm-image-watermark {
    width: clamp(72px, 25%, 108px);
    border-radius: 0.42rem;
    opacity: 0.78;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(27,94,32,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(27,94,32,0.6); }
.btn-accent {
  background: var(--accent-bright);
  color: var(--green-950);
  box-shadow: 0 10px 24px -12px rgba(162,203,34,0.7);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid rgba(35,38,31,0.18);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Leaf decorative accents (echo the logo mark) ---------- */
.leaf-accent {
  position: absolute;
  width: 90px; height: 90px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.leaf-accent.drift { animation: leaf-drift 9s ease-in-out infinite; }
@keyframes leaf-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .leaf-accent.drift { animation: none; } }

/* ---------- Section shells ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step3); margin-top: 0.6rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step1); }
.section-alt { background: var(--bg-alt); }

/* ---------- Pillars (asymmetric, not a generic card grid) ---------- */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.pillar:not(:last-child) { border-bottom: 1px solid rgba(35,38,31,0.08); }
.pillar.reverse .pillar-media { order: 2; }
.pillar.reverse .pillar-copy { order: 1; }
.pillar-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.pillar-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease-out);
}
.pillar:hover .pillar-media img { transform: scale(1.12); }
.pillar-index {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  font-family: var(--font-display);
  font-size: var(--step1);
  color: var(--white);
  background: rgba(21,35,16,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  width: 2.6em; height: 2.6em;
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-300), var(--green-600));
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px -10px rgba(21,35,16,0.5);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-copy h3 { font-size: var(--step2); margin-bottom: 0.9rem; }
.pillar-copy p { color: var(--ink-soft); }
.pillar-copy .btn { margin-top: 1.4rem; }
.pillar-note {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: var(--stone-400);
  font-style: italic;
}

@media (max-width: 820px) {
  .pillar, .pillar.reverse { grid-template-columns: 1fr; }
  .pillar.reverse .pillar-media, .pillar.reverse .pillar-copy { order: initial; }
}

/* ---------- Values marquee ---------- */
.values-track-wrap { overflow: hidden; position: relative; }
.values-track-wrap::before, .values-track-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.values-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.values-track-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.values-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.values-track-wrap:hover .values-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .values-track { animation: none; flex-wrap: wrap; } }
.value-chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem 1.8rem;
  min-width: 260px;
  background: var(--white);
  border: 1px solid rgba(35,38,31,0.08);
  border-radius: var(--radius-md);
}
.value-chip .num { font-family: var(--font-display); color: var(--accent-bright); font-size: var(--step1); }
.value-chip h4 { font-family: var(--font-body); font-weight: 800; font-size: var(--step0); color: var(--brand-deep); }
.value-chip p { font-size: var(--step-1); color: var(--ink-soft); }

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}
.gallery-strip img {
  scroll-snap-align: start;
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius-md);
}
.gallery-strip::-webkit-scrollbar { height: 6px; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--green-600); border-radius: 999px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  color: var(--white);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step3);
  color: var(--accent-bright);
}
.stat span { font-size: var(--step-1); color: rgba(255,255,255,0.75); }

/* ---------- Property cards ---------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.6rem;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(35,38,31,0.08);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(21,35,16,0.35); }
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.property-media img { width: 100%; height: 100%; object-fit: cover; }
.property-price {
  position: absolute; bottom: 0.8rem; left: 0.8rem;
  background: rgba(21,35,16,0.75);
  color: var(--accent-bright);
  font-weight: 800;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  font-size: var(--step-1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.property-body { padding: 1.2rem 1.3rem 1.5rem; }
.property-body h4 { font-family: var(--font-body); font-size: var(--step0); color: var(--brand-deep); margin-bottom: 0.3rem; }
.property-loc { font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 0.8rem; }
.property-feats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.property-feats span {
  font-size: 0.75rem;
  padding: 0.3em 0.7em;
  background: var(--bg-alt);
  border-radius: 999px;
  color: var(--ink-soft);
}
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(35,38,31,0.08);
}
.property-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast);
}
.property-actions a:hover { transform: translateY(-2px); }
.property-enquiry {
  flex: 1 1 210px;
  color: var(--white);
  background: var(--brand-deep);
  border: 1px solid var(--brand-deep);
}
.property-enquiry:hover { color: var(--white); background: var(--green-800); }
.property-whatsapp {
  flex: 0 1 auto;
  color: #0d6f3a;
  background: #eef9f1;
  border: 1px solid rgba(13,111,58,0.2);
}
.property-whatsapp:hover { color: #075d30; border-color: rgba(13,111,58,0.42); }
.property-card[data-property-status="sold"],
.property-card[data-property-status="unavailable"] { opacity: 0.78; }
.property-card[data-property-status="sold"] .property-media img,
.property-card[data-property-status="unavailable"] .property-media img { filter: grayscale(0.65); }
.property-card[data-property-status="sold"] .property-enquiry,
.property-card[data-property-status="unavailable"] .property-enquiry {
  color: var(--ink-soft);
  background: var(--bg-alt);
  border-color: rgba(35,38,31,0.12);
  pointer-events: none;
}
@media (max-width: 520px) {
  .property-actions a { width: 100%; flex-basis: 100%; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.6rem;
}
.team-card { text-align: center; }
.team-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  padding: 4px;
  background: conic-gradient(from -30deg, var(--lime-300), var(--green-600) 45%, var(--lime-400) 75%, var(--lime-300));
  box-shadow: 0 16px 32px -18px rgba(21,35,16,0.45);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.team-card:hover .team-photo { transform: rotate(-3deg) scale(1.045); box-shadow: 0 22px 40px -16px rgba(21,35,16,0.5); }
.team-photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-alt);
}
.team-photo::after {
  content: "";
  position: absolute;
  right: -2px; bottom: -2px;
  width: 32px; height: 32px;
  background: var(--white) url('../img/brand/leaf-mark.svg') center / 58% no-repeat;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 4px 10px -2px rgba(21,35,16,0.4);
}
.team-card h4 { font-size: var(--step0); color: var(--brand-deep); }
.team-card span { display: block; font-size: var(--step-1); color: var(--ink-soft); margin-top: 0.2rem; }

/* ---------- Blog / insight cards ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.insight-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(35,38,31,0.08);
}
.insight-media { aspect-ratio: 16/10; overflow: hidden; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.insight-card:hover .insight-media img { transform: scale(1.06); }
.insight-body { padding: 1.3rem 1.4rem 1.6rem; }
.insight-date { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.insight-body h4 { font-family: var(--font-body); font-size: var(--step0); margin-top: 0.5rem; color: var(--brand-deep); line-height: 1.35; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(35,38,31,0.08);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.testimonial-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--green-700);
  font-size: 1.15rem;
}
.testimonial-card p { font-family: var(--font-display); font-size: var(--step1); color: var(--brand-deep); line-height: 1.5; }
.testimonial-who { margin-top: 1.2rem; font-size: var(--step-1); color: var(--ink-soft); font-weight: 700; }
.testimonial-who span { display: block; margin-top: 0.15rem; color: var(--green-600); font-weight: 600; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.section-more { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--green-950), var(--green-700) 120%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: var(--step3); }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 0.8rem; max-width: 560px; margin-inline: auto; }
.cta-actions { margin-top: 1.8rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.75);
  padding-block: clamp(3rem, 6vw, 5rem) max(2rem, env(safe-area-inset-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 1rem; }
.footer-brand img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-tagline { max-width: 34ch; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: var(--white);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.footer-socials a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.34);
  transform: translateY(-2px);
}
.footer-socials i { color: var(--accent-bright); font-size: 1.05rem; }
.footer-col h5 { color: var(--white); font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col a, .footer-col li { display: block; font-size: var(--step-1); margin-bottom: 0.65rem; color: rgba(255,255,255,0.7); }
.footer-col a, .footer-col span, .footer-tagline { overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: var(--step-1);
}
.footer-credit { display: flex; align-items: center; gap: 0.4em; }
.footer-credit a { font-weight: 800; color: var(--accent-bright); }
.footer-credit a:hover { text-decoration: underline; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding-block: clamp(9rem, 16vw, 11rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  color: var(--white);
}
.page-banner-bg { position: absolute; inset: 0; z-index: -2; }
.page-banner-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4) saturate(0.85) contrast(1.02) blur(1px);
}
.page-banner-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,21,10,0.82) 0%, rgba(13,21,10,0.75) 60%, rgba(13,21,10,0.92) 100%);
}
.page-banner .eyebrow { color: var(--accent-bright); }
.page-banner .eyebrow::before { background: var(--accent-bright); }
.page-banner h1 { color: var(--white); font-size: var(--step4); margin-top: 0.6rem; max-width: 20ch; }
.page-banner p { color: rgba(255,255,255,0.85); margin-top: 1rem; max-width: 55ch; font-size: var(--step1); }
.breadcrumb { font-size: var(--step-1); color: rgba(255,255,255,0.65); margin-bottom: 0.8rem; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--accent-bright); }

/* ---------- Filter tabs (insights/properties) ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-tabs button {
  padding: 0.55em 1.2em;
  border-radius: 999px;
  border: 1.5px solid rgba(35,38,31,0.15);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--ink-soft);
  transition: all var(--dur-fast) var(--ease-out);
}
.filter-tabs button.is-active,
.filter-tabs button:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

/* ---------- Compact assistant + WhatsApp hub ---------- */
.contact-hub {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 120;
  font-family: var(--font-body);
}
.contact-hub-launcher {
  position: relative;
  width: 66px;
  height: 66px;
  padding: 4px;
  margin-left: auto;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-900);
  box-shadow: 0 16px 34px -12px rgba(5, 43, 16, 0.55);
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.contact-hub-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 42px -12px rgba(5, 43, 16, 0.68);
}
.contact-hub-launcher:focus-visible {
  outline: 3px solid rgba(169, 212, 56, 0.45);
  outline-offset: 4px;
}
.contact-hub-launcher > i { font-size: 1.45rem; }
.hub-icon-chat {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f7f2df, #dcebc8);
}
.hub-icon-chat > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.hub-farmer-fallback {
  position: absolute;
  color: var(--green-800);
  font-size: 1.65rem !important;
}
.hub-chat-badge {
  position: absolute;
  right: -5px;
  bottom: -2px;
  z-index: 2;
  width: 25px;
  height: 25px;
  border: 3px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 4px 10px rgba(5,43,16,0.25);
}
.hub-chat-badge i { font-size: 0.72rem; }
.contact-hub-launcher .hub-icon-close { display: none; }
.contact-hub.is-open .contact-hub-launcher .hub-icon-chat { display: none; }
.contact-hub.is-open .contact-hub-launcher .hub-icon-close { display: inline-block; }
.contact-hub-status-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.42);
  animation: hub-status-pulse 2.4s ease-out infinite;
}
@keyframes hub-status-pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(37,211,102,0.42); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}
.contact-hub-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(380px, calc(100vw - 2rem));
  max-height: min(650px, calc(100dvh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 69, 31, 0.14);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 28px 70px -28px rgba(5, 30, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.contact-hub.is-open .contact-hub-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.contact-hub-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
}
.contact-hub-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 3px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f7f2df, #dcebc8);
  box-shadow: 0 7px 18px rgba(4,34,12,0.2);
}
.contact-hub-avatar img {
  position: absolute;
  inset: 3px;
  z-index: 1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
}
.contact-hub-avatar-fallback {
  color: var(--green-800);
  font-size: 1.35rem;
}
.contact-hub-title { min-width: 0; flex: 1; }
.contact-hub-title strong { display: block; font-size: 0.95rem; }
.contact-hub-title span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
}
.contact-hub-title span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63e58a;
}
.contact-hub-messages {
  min-height: 132px;
  max-height: 260px;
  padding: 1rem;
  overflow-y: auto;
  background: #f7f9f3;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 91, 35, 0.3) transparent;
}
.hub-message {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 0.7rem;
  padding: 0.72rem 0.85rem;
  border-radius: 16px 16px 16px 5px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 5px 18px -14px rgba(10, 42, 15, 0.7);
  font-size: 0.84rem;
  line-height: 1.5;
}
.hub-message-user {
  margin-left: auto;
  border-radius: 16px 16px 5px 16px;
  color: var(--white);
  background: var(--green-700);
}
.hub-message-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(88, 142, 67, 0.16);
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 800;
}
.hub-message-action::after {
  content: "\2192";
  transition: transform var(--dur-fast) var(--ease-out);
}
.hub-message-action:hover::after,
.hub-message-action:focus-visible::after {
  transform: translateX(3px);
}
.contact-hub-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0.2rem;
  background: var(--white);
}
.contact-hub-quick button {
  min-height: 40px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(23, 91, 35, 0.2);
  border-radius: 999px;
  color: var(--green-800);
  background: var(--white);
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
}
.contact-hub-quick button:hover {
  border-color: var(--green-600);
  background: var(--cream-100);
}
.contact-hub-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
}
.contact-hub-form input {
  min-width: 0;
  height: 42px;
  padding: 0 0.85rem;
  border: 1px solid rgba(35,38,31,0.16);
  border-radius: 12px;
  color: var(--ink);
  background: var(--cream-50);
  font: inherit;
  font-size: 0.82rem;
}
.contact-hub-form input:focus {
  outline: 2px solid rgba(103, 188, 57, 0.25);
  border-color: var(--green-600);
}
.contact-hub-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  cursor: pointer;
}
.contact-hub-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
  background: var(--white);
}
.contact-hub-actions a {
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
}
.contact-hub-whatsapp { color: var(--white); background: #128c4a; }
.contact-hub-whatsapp:hover { color: var(--white); background: #0d783e; }
.contact-hub-contact {
  color: var(--green-800);
  border: 1px solid rgba(23, 91, 35, 0.2);
  background: var(--white);
}
.contact-hub-note {
  padding: 0 1rem 0.8rem;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.67rem;
  line-height: 1.35;
  text-align: center;
}

.form-status:not(:empty) {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  font-size: 0.82rem;
  line-height: 1.5;
}
.form-status.is-success {
  color: var(--green-800);
  background: rgba(88, 142, 67, 0.1);
}
.form-status.is-error {
  color: #6d4818;
  background: #fff6e8;
}
.form-status a {
  color: var(--green-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.property-enquiry-context {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  color: var(--brand-deep);
  background: linear-gradient(135deg, var(--cream-100), rgba(173,230,76,0.13));
  border: 1px solid rgba(88,142,67,0.25);
  border-radius: var(--radius-md);
}
.property-enquiry-context[hidden] { display: none; }
.property-enquiry-context-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-800);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(21,35,16,0.08);
}
.property-enquiry-context small,
.property-enquiry-context strong,
.property-enquiry-context span span { display: block; }
.property-enquiry-context small {
  margin-bottom: 0.1rem;
  color: var(--green-800);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.property-enquiry-context strong { font-size: 0.92rem; line-height: 1.3; }
.property-enquiry-context span span {
  margin-top: 0.18rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}
.property-enquiry-context > a {
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 520px) {
  .property-enquiry-context {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .property-enquiry-context > a {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 480px) {
  .contact-hub {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .contact-hub-panel {
    right: 0;
    bottom: 72px;
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 96px);
    border-radius: 20px;
  }
  .contact-hub-messages { max-height: 210px; }
  .contact-hub-launcher { width: 60px; height: 60px; }
  .contact-hub-form input { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hub-status-dot { animation: none; }
}
@media (max-height: 620px) {
  .contact-hub-panel {
    bottom: 68px;
    max-height: calc(100dvh - 82px);
  }
  .contact-hub-head { padding-block: 0.7rem; }
  .contact-hub-messages {
    min-height: 72px;
    max-height: 96px;
    padding-block: 0.7rem;
  }
  .contact-hub-quick,
  .contact-hub-note { display: none; }
  .contact-hub-form { padding-block: 0.55rem; }
  .contact-hub-actions { padding-bottom: 0.7rem; }
}
