/* Property Card — agent one-pager: services + social listings (no unit inventory) */
:root,
[data-palette="ocean"] {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --brand-soft: #dbeafe;
  --price: #0f766e;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(15 23 42 / 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
[data-palette="forest"] {
  --brand: #047857;
  --brand-dark: #064e3b;
  --brand-soft: #d1fae5;
  --price: #b45309;
}
[data-palette="sunset"] {
  --brand: #c2410c;
  --brand-dark: #7c2d12;
  --brand-soft: #ffedd5;
  --price: #1d4ed8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.6; font-size: 16px;
  padding-bottom: 1.5rem;
}
body:has(.sticky-wa) {
  padding-bottom: 4.5rem;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mt { margin-top: 0.85rem; }

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: inherit; font-weight: 800; letter-spacing: -0.02em;
}
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.88rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--brand-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 0.75rem 1.2rem; font-weight: 700;
  font-size: 0.92rem; text-decoration: none; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; box-shadow: 0 10px 22px rgb(30 58 138 / 0.28);
}
.btn-ghost {
  background: rgb(255 255 255 / 0.12); color: #fff;
  border: 1px solid rgb(255 255 255 / 0.35);
}
.btn-ghost-light {
  background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.4);
  margin-left: 0.4rem;
}
.btn-block { width: 100%; }
/* Mobile/touch: mailto button. Desktop (fine pointer + hover): plain copyable address */
.email-cta--plain { display: none; margin: 0.85rem 0 0; font-size: 0.95rem; font-weight: 600; line-height: 1.4; color: #fff; }
.email-cta__addr { user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; word-break: break-word; }
.email-cta__label { opacity: 0.85; font-weight: 700; margin-right: 0.35rem; }
.agent-card .email-cta--plain { color: var(--ink); }
.agent-card .email-cta--mailto {
  background: transparent; color: var(--brand); border: 1px solid var(--line);
  margin-left: 0;
}
@media (hover: hover) and (pointer: fine) {
  .email-cta--mailto { display: none !important; }
  .email-cta--plain { display: block; }
}

.hero {
  position: relative; min-height: 320px; color: #fff;
  display: grid; align-items: end;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(15 23 42 / 0.35), rgb(15 23 42 / 0.82));
}
.hero__bg--fallback {
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
}
.hero__content { position: relative; padding: 2.75rem 0 2.25rem; }
.hero__eyebrow {
  margin: 0 0 0.65rem; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6rem; max-width: 18ch;
}
.hero .lead { margin: 0; max-width: 36rem; opacity: 0.95; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 1.25rem; }
.chip {
  background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.78rem; font-weight: 700;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.trust {
  margin-top: -1.25rem; position: relative; z-index: 2; padding-bottom: 0.5rem;
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
@media (max-width: 720px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
.trust__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 0.85rem; text-align: center; box-shadow: var(--shadow);
}
.trust__item strong {
  display: block; font-size: 1.2rem; color: var(--brand-dark); font-weight: 800;
}
.trust__item span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

section { padding: 3rem 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-kicker {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 0.35rem;
}
.section-title {
  font-family: var(--display); font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em; margin: 0 0 0.5rem;
}
.section-lead { color: var(--muted); max-width: 36rem; margin: 0 0 1.5rem; }

.services {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; box-shadow: 0 4px 14px rgb(15 23 42 / 0.04);
  display: flex; flex-direction: column;
}
.service__photo {
  aspect-ratio: 5 / 3;
  background: var(--brand-soft, #dbeafe) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.service__body { padding: 1.1rem 1.15rem 1.2rem; }
.service__price {
  margin: 0 0 0.45rem; font-size: 0.82rem; font-weight: 800; color: var(--price);
}
.service h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.portals {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.portal {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem;
}
.portal__top { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.55rem; }
.portal__logo {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem; color: #fff; background: #64748b;
}
.portal--facebook .portal__logo { background: #1877f2; }
.portal--instagram .portal__logo { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.portal--xiaohongshu .portal__logo { background: #ff2442; }
.portal--tiktok .portal__logo { background: #111; }
.portal h3 { margin: 0; font-size: 1rem; }
.portal p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.9rem; }
.portal__link { font-weight: 700; text-decoration: none; }

.about-grid {
  display: grid; gap: 1.5rem; align-items: start;
  grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 0.85rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li {
  position: relative; padding: 0.4rem 0 0.4rem 1.5rem; color: var(--ink); font-size: 0.95rem;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800;
}
.agent-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.agent-card__top { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.85rem; }
.agent-avatar {
  width: 48px; height: 48px; border-radius: 999px; overflow: hidden;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gallery {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line);
}

.split {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem;
}
.card h3 { margin: 0 0 0.55rem; font-size: 1rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--muted); font-weight: 700; }

.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.45rem; font-family: var(--display); font-size: 1.75rem; }
.cta-band p { margin: 0 0 1.2rem; opacity: 0.92; }
.cta-band .btn-primary {
  background: #fff; color: var(--brand-dark); box-shadow: none;
}

.site {
  padding: 1.5rem 0 2rem; text-align: center; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.site a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}
.site a:hover { color: var(--brand, #0f766e); }
.sticky-wa {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 50;
}
.sticky-wa a {
  display: inline-flex; padding: 0.85rem 1.15rem; border-radius: 999px;
  background: #16a34a; color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 28px rgb(22 163 74 / 0.35);
}
