:root {
  --brand-red: #e60012;
  --brand-red-deep: #b9000d;
  --ink: #171717;
  --ink-soft: #4f5663;
  --paper: #f7f4ef;
  --line: rgba(23, 23, 23, 0.12);
  --tech: #00b8d9;
  --gold: #d3a655;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fdfbf8;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 78px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 162px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-action {
  color: var(--white);
  background: var(--brand-red);
}

.primary-action {
  color: var(--white);
  background: var(--brand-red);
  box-shadow: 0 18px 38px rgba(230, 0, 18, 0.26);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: var(--white);
  background: #080b0f;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(0, 184, 217, 0.18), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(230, 0, 18, 0.2), transparent 34%),
    linear-gradient(135deg, #090d12 0%, #101113 48%, #19080b 100%);
}

.hero-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-map-labels {
  position: absolute;
  z-index: 1;
  right: clamp(26px, 8vw, 120px);
  bottom: clamp(28px, 7vw, 90px);
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  pointer-events: none;
}

.hero-map-labels span {
  color: var(--tech);
  font-size: 13px;
  font-weight: 900;
}

.hero-map-labels b {
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(42px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 11, 0.92), rgba(6, 8, 11, 0.68) 48%, rgba(6, 8, 11, 0.18)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 96px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: 82vh;
  padding: 118px clamp(20px, 5vw, 74px) 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: var(--gold);
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ai-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 22px;
  background: rgba(15, 18, 22, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.panel-head,
.search-line,
.match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-head {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.panel-head strong {
  color: var(--tech);
}

.search-line {
  min-height: 58px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.search-line button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-red);
  cursor: pointer;
}

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

.signal-grid div {
  min-height: 92px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 26px;
}

.signal-grid span,
.match-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.6;
}

.match-card {
  align-items: flex-start;
  padding: 18px;
  border-radius: 8px;
  background: rgba(230, 0, 18, 0.18);
}

.match-card div {
  min-width: 0;
}

.match-score {
  color: var(--white);
  font-size: 34px;
  font-weight: 900;
}

.match-card strong {
  display: block;
  margin-bottom: 6px;
}

.match-card p {
  margin-bottom: 0;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 74px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.city-map-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: #101113;
}

.city-map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.96), rgba(16, 17, 19, 0.74) 42%, rgba(16, 17, 19, 0.28)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.city-map-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 36%;
  background: linear-gradient(0deg, rgba(230, 0, 18, 0.24), transparent);
  pointer-events: none;
}

.city-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-map-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  min-height: 520px;
  min-width: 0;
}

.city-map-copy {
  max-width: 720px;
  min-width: 0;
}

.city-map-copy .eyebrow {
  color: var(--tech);
}

.city-map-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.city-map-copy h2 span {
  display: inline;
}

.city-map-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.city-map-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 32px;
}

.city-map-metrics span {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.city-map-metrics b {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.community-rotator {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(14, 15, 17, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.community-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 900;
}

.community-status strong {
  color: var(--tech);
}

.community-rotator h3 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.community-rotator p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.community-tags span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 184, 217, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 184, 217, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.community-progress {
  height: 3px;
  margin-top: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.community-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-red), var(--tech));
}

.coverage-grid article,
.ai-grid article,
.case-strip article,
.logo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-grid span,
.coverage-grid span,
.ai-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand-red);
  font-size: 40px;
  font-weight: 900;
}

.coverage-grid h3,
.ai-grid h3,
.renovation-copy h3,
.case-strip h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.coverage-grid p,
.ai-grid p,
.renovation-copy p,
.service-copy p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.services-section {
  background: var(--white);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.service-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.service-tabs button.is-active {
  color: var(--white);
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.service-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-copy {
  padding: clamp(28px, 5vw, 56px);
  background: #151515;
  color: var(--white);
}

.service-kicker {
  margin-bottom: 16px;
  color: var(--tech) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
}

.service-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.service-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.service-visual {
  min-height: 460px;
  background: #ece7df;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage-section {
  background: #fdfbf8;
}

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

.coverage-grid article {
  min-height: 250px;
  padding: 26px;
}

.coverage-grid span {
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-red);
  font-size: 22px;
}

.ai-section {
  color: var(--white);
  background:
    linear-gradient(135deg, #121212 0%, #20242b 60%, #36080c 100%);
}

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

.ai-grid article {
  min-height: 240px;
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.ai-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.renovation-section {
  background: #f6f2eb;
}

.renovation-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.renovation-layout figure {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.renovation-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.renovation-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-red);
}

.renovation-copy h3 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.renovation-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.decoration-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.decoration-partners article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.decoration-partners span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 900;
}

.decoration-partners h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.decoration-partners p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.promise-list span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.case-strip article {
  overflow: hidden;
}

.case-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-strip h3 {
  padding: 18px 20px 22px;
}

.brand-section {
  background: var(--white);
}

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

.logo-card {
  display: grid;
  align-content: center;
  min-height: 320px;
  padding: 24px;
  text-align: center;
}

.logo-card img {
  width: min(260px, 82%);
  margin: 0 auto 26px;
}

.logo-card p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.logo-red {
  background: var(--brand-red);
}

.logo-red p {
  color: var(--white);
}

.logo-stamp img {
  width: min(230px, 76%);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(54px, 7vw, 82px) clamp(20px, 5vw, 74px);
  color: var(--white);
  background: #151515;
}

/* Agent profile page */
.agent-page {
  background: #fdfbf8;
}

.agent-hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.agent-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.56) 48%, rgba(230, 0, 18, 0.22)),
    url("./assets/service-agent.jpg") center / cover;
  transform: scale(1.03);
}

.agent-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: 86vh;
  padding: 128px clamp(20px, 5vw, 74px) 58px;
}

.agent-profile-card {
  max-width: 760px;
  min-width: 0;
}

.agent-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-red);
  font-size: 42px;
  font-weight: 900;
}

.agent-profile-card h1 {
  font-size: clamp(58px, 8vw, 112px);
}

.agent-role {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}

.agent-bio {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.8;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.agent-domain-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  min-width: 0;
}

.agent-domain-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--tech);
  font-weight: 900;
}

.agent-domain-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: normal;
}

.agent-domain-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.agent-stats-section {
  background: var(--paper);
}

.agent-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.agent-stats article,
.agent-service-grid article,
.agent-home-list article,
.agent-review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.agent-stats article {
  padding: 26px;
}

.agent-stats span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-red);
  font-size: 38px;
  font-weight: 900;
}

.agent-stats p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.agent-field-grid span {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.agent-service-section {
  background: var(--white);
}

.agent-credential-section {
  background: #fdfbf8;
}

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

.agent-credential-grid {
  grid-template-columns: repeat(4, 1fr);
}

.agent-service-grid article {
  min-height: 230px;
  padding: 28px;
}

.agent-service-grid h3,
.agent-home-list h3 {
  font-size: 24px;
}

.agent-service-grid p,
.agent-home-list p,
.agent-review-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.agent-qr-placeholder {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  margin: 16px 0;
  border: 1px dashed rgba(23, 23, 23, 0.28);
  border-radius: 8px;
  color: var(--ink-soft);
  background: var(--paper);
  font-weight: 900;
}

.agent-homes-section {
  background: #f6f2eb;
}

.agent-home-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.agent-home-list article {
  overflow: hidden;
}

.agent-home-list a {
  display: block;
  height: 100%;
}

.agent-home-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.agent-home-list div {
  padding: 24px;
}

.agent-home-list span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-red);
  font-weight: 900;
}

.agent-reviews-section {
  background: var(--white);
}

.agent-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.agent-review-grid article {
  padding: 28px;
}

.agent-review-grid p {
  margin-bottom: 18px;
  font-size: 20px;
}

.agent-review-grid strong {
  color: var(--brand-red);
}

.agent-contact h2 {
  max-width: 760px;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  z-index: 29;
  top: 78px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 18px clamp(18px, 4vw, 64px) 28px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ── Hero入场动画 ── */
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.04); }
}
.hero-media--animate {
  animation: heroZoom 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 1; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: heroFadeUp 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.ai-panel  { animation: heroFadeUp 0.9s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ── Service tab 过渡 ── */
.service-copy,
.service-visual {
  transition: opacity 180ms ease;
}
.service-stage.is-switching .service-copy,
.service-stage.is-switching .service-visual {
  opacity: 0;
}

/* ── Footer ── */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 36px clamp(20px, 5vw, 74px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-inner .brand img {
  width: 120px;
  filter: none;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  transition: color 150ms;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--white); }
.footer-contact a { font-size: 18px; font-weight: 900; color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 74px);
}
.footer-company {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-divider {
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .brand img {
    width: 138px;
  }

  .hero-inner,
  .agent-hero-inner,
  .city-map-grid,
  .service-stage,
  .renovation-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 112px;
  }

  .ai-panel {
    max-width: 560px;
  }

  .coverage-grid,
  .agent-stats,
  .agent-service-grid,
  .agent-credential-grid,
  .agent-home-list,
  .agent-review-grid,
  .ai-grid,
  .case-strip,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .service-visual {
    min-height: 360px;
  }

  .renovation-layout figure {
    min-height: 420px;
  }

  .decoration-partners {
    grid-template-columns: 1fr;
  }

  .agent-domain-card {
    max-width: 560px;
  }

  .city-map-section::before {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.94), rgba(16, 17, 19, 0.68)),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 92px),
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 72px);
  }
}

@media (max-width: 620px) {
  .nav-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ai-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .search-line span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .match-card {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    transform: scale(1.02);
  }

  .hero-map-labels {
    right: 20px;
    bottom: 18px;
    opacity: 0.55;
  }

  .hero-map-labels b {
    font-size: 38px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 8, 11, 0.78), rgba(6, 8, 11, 0.58) 48%, rgba(6, 8, 11, 0.72)),
      repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 72px),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 72px);
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 34px;
  }

  .hero-lede,
  .match-card p,
  .section-heading h2,
  .city-map-copy h2,
  .city-map-copy p,
  .community-rotator p {
    word-break: break-all;
  }

  .city-map-section {
    min-height: 760px;
  }

  .city-map-grid,
  .community-rotator,
  .city-map-metrics {
    width: 100%;
  }

  .city-map-copy h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .city-map-copy h2 span {
    display: block;
  }

  .city-map-copy p {
    font-size: 16px;
  }

  .city-map-metrics {
    grid-template-columns: 1fr;
  }

  .community-rotator {
    padding: 22px;
  }

  .agent-hero {
    min-height: auto;
  }

  .agent-hero-inner {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 34px;
  }

  .agent-profile-card h1 {
    font-size: 58px;
  }

  .agent-profile-card,
  .agent-domain-card {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .agent-domain-card strong {
    font-size: clamp(17px, 5vw, 22px);
    overflow-wrap: anywhere;
  }

  .agent-bio {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: 54px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

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

/* ── Whitelist Page ── */
.whitelist-page {
  padding-top: 78px;
}

.whitelist-hero {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 74px) clamp(48px, 6vw, 72px);
  background: var(--paper);
}

.whitelist-hero .section-heading {
  max-width: 860px;
}

.whitelist-hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.whitelist-hero .hero-lede {
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.whitelist-intro {
  background: var(--white);
}

.whitelist-intro .intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.whitelist-intro article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.whitelist-intro h3 {
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--brand-red);
}

.whitelist-intro p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.whitelist-standards {
  background: var(--paper);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.standard-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.standard-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--brand-red);
}

.promise-table,
.commission-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.promise-table th,
.promise-table td,
.commission-table th,
.commission-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.promise-table th,
.commission-table th {
  background: var(--paper);
  font-weight: 800;
  color: var(--ink);
}

.promise-table td,
.commission-table td {
  color: var(--ink-soft);
}

.commission-notes {
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.commission-notes p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.commission-notes p:last-child {
  margin-bottom: 0;
}

.whitelist-periods {
  background: var(--white);
}

.period-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.period-tab {
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 180ms ease;
}

.period-tab:hover {
  border-color: var(--brand-red);
}

.period-tab.is-active {
  color: var(--white);
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.period-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.agent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: all 180ms ease;
}

.agent-card:hover {
  border-color: var(--brand-red);
  box-shadow: 0 8px 24px rgba(230, 0, 18, 0.12);
}

.agent-zone {
  font-size: 12px;
  font-weight: 700;
  color: var(--tech);
  text-transform: uppercase;
}

.agent-store {
  font-size: 13px;
  color: var(--ink-soft);
}

.agent-card strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.period-placeholder {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.main-nav a.is-active {
  opacity: 1;
  color: var(--brand-red);
}

@media (max-width: 980px) {
  .whitelist-intro .intro-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .agents-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 620px) {
  .period-tabs {
    flex-direction: column;
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }
}
