:root {
  color-scheme: light;
  --ink: #17201d;
  --navy: #0c1f35;
  --muted: #68736f;
  --line: #d9e0dc;
  --surface: #ffffff;
  --soft: #f4f7f5;
  --mint: #0f8f72;
  --mint-dark: #08624f;
  --gold: #c88a2a;
  --coral: #df684f;
  --shadow: 0 18px 45px rgba(29, 45, 39, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfcfb 0%, #f4f7f5 54%, #fbfcfb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 224, 220, 0.8);
  background: rgba(251, 252, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand-logo {
  display: block;
  width: 220px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.ghost-btn,
.primary-btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.ghost-btn {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.primary-btn {
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  background: var(--mint);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 6vw, 78px) clamp(18px, 4vw, 56px) 46px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(90deg, rgba(200, 138, 42, 0.12), rgba(15, 143, 114, 0.08), transparent);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.hero-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(12, 31, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.search-panel {
  max-width: 760px;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 172px;
  padding: 4px;
  border-radius: 8px;
  background: var(--soft);
}

.segmented button,
.filter-row button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segmented .active,
.filter-row .active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(23, 32, 29, 0.08);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  margin-top: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

select {
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.hero-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 24px 70px rgba(12, 31, 53, 0.18);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.proof-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 98, 79, 0.88);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 12px 34px rgba(23, 32, 29, 0.07);
}

.trust-band div {
  padding: 22px;
  background: var(--surface);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.section,
.city-section,
.guide-section,
.services-section,
.lifestyle-strip,
.concierge-section,
.closing-cta {
  padding: 72px clamp(18px, 4vw, 56px);
}

.lifestyle-strip {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: stretch;
}

.lifestyle-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.lifestyle-copy .eyebrow {
  color: #e8c66a;
}

.lifestyle-copy h2 {
  margin: 0;
  max-width: 520px;
}

.lifestyle-gallery {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr 0.92fr;
  gap: 12px;
}

.lifestyle-gallery figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.lifestyle-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lifestyle-gallery figure:hover img {
  transform: scale(1.04);
}

.lifestyle-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(12, 31, 53, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.filter-row button {
  padding: 0 12px;
  white-space: nowrap;
}

.text-link {
  color: var(--mint-dark);
  font-weight: 800;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(238, 245, 241, 0.8));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 138, 42, 0.38);
  box-shadow: 0 16px 36px rgba(23, 32, 29, 0.09);
}

.service-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.featured-service {
  border-color: rgba(15, 143, 114, 0.32);
  background: #eef8f4;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--mint-dark);
  font-weight: 850;
}

.concierge-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 50px);
  align-items: center;
  background: #fff;
}

.concierge-visual {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.concierge-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.concierge-copy {
  max-width: 680px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.timeline div {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--gold);
  font-weight: 850;
}

.timeline strong {
  align-self: end;
  font-size: 19px;
}

.timeline p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.listing-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.verified {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--mint-dark);
  background: #e4f4ef;
  font-weight: 800;
}

.card-body h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.card-body p {
  min-height: 40px;
  color: var(--muted);
  line-height: 1.45;
}

.card-body strong {
  color: var(--coral);
  font-size: 20px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.city-tile {
  min-height: 160px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--mint-dark), #153c47);
}

.city-tile span,
.city-tile small {
  display: block;
}

.city-tile span {
  font-size: 28px;
  font-weight: 850;
}

.city-tile small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.guide-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
  background: linear-gradient(135deg, #eef5f1, #f8f3e8);
}

.guide-section p {
  color: var(--muted);
  line-height: 1.7;
}

.guide-list {
  display: grid;
  gap: 10px;
}

.guide-list a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 750;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 31, 53, 0.96), rgba(8, 98, 79, 0.95)),
    url("https://images.unsplash.com/photo-1534008897995-27a23e859048?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.closing-cta .eyebrow {
  color: #e8c66a;
}

.closing-cta h2 {
  max-width: 680px;
}

.closing-cta p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.cta-btn {
  display: grid;
  place-items: center;
  min-height: 54px;
  min-width: 230px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--navy);
  background: #f2d16c;
  font-weight: 850;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(430px, 92vw);
  height: 100vh;
  padding: 34px;
  background: var(--surface);
  box-shadow: -20px 0 50px rgba(23, 32, 29, 0.18);
  transform: translateX(105%);
  transition: transform 0.22s ease;
}

.detail-drawer.open {
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
}

.detail-drawer strong {
  display: block;
  margin: 18px 0;
  color: var(--coral);
  font-size: 26px;
}

.detail-drawer p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-box {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.contact-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-box a {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--mint-dark);
  text-align: center;
  font-weight: 800;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  background: rgba(23, 32, 29, 0.28);
}

.scrim.open {
  display: block;
}

.wechat-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  width: min(420px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wechat-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.wechat-modal h2 {
  font-size: 28px;
}

.wechat-modal p {
  color: var(--muted);
  line-height: 1.7;
}

.wechat-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.wechat-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.wechat-id span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wechat-id strong {
  font-size: 20px;
}

.wechat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.open-wechat {
  display: grid;
  place-items: center;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .guide-section,
  .lifestyle-strip,
  .concierge-section {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .search-grid,
  .trust-band,
  .listing-grid,
  .city-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .lifestyle-gallery {
    grid-template-columns: 1fr;
  }

  .lifestyle-gallery figure,
  .lifestyle-copy {
    min-height: 220px;
  }

  .concierge-visual,
  .concierge-visual img {
    min-height: 340px;
  }

  .closing-cta {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 64px;
  }

  .ghost-btn {
    display: none;
  }

  .brand {
    min-width: 170px;
  }

  .brand-logo {
    width: 172px;
    height: 48px;
  }

  h1 {
    font-size: 44px;
  }

  .hero {
    padding-top: 26px;
  }

  .search-panel {
    padding: 12px;
  }

  .proof-strip,
  .filter-row {
    overflow-x: auto;
  }

  .proof-strip {
    flex-direction: column;
  }

  .wechat-actions {
    grid-template-columns: 1fr;
  }
}
