:root {
  --navy: #0d1b2a;
  --navy-2: #14283d;
  --ink: #1d2733;
  --muted: #66717f;
  --line: #d9dee6;
  --soft: #f4f6f8;
  --paper: #ffffff;
  --gold: #b5965b;
  --gold-dark: #8a6f3f;
  --shadow: 0 18px 48px rgba(13, 27, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans", Arial, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: white;
  border: 1px solid rgba(181, 150, 91, 0.36);
  border-radius: 4px;
}

.brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--gold-dark);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #253346;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a.active,
.nav-group:hover > a {
  color: var(--gold-dark);
  background: #f6f1e7;
}

.site-nav .nav-admin {
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
}

.site-nav .nav-admin:hover,
.site-nav .nav-admin.active {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.nav-group {
  position: relative;
}

.submenu {
  position: absolute;
  top: 44px;
  left: 0;
  min-width: 180px;
  display: none;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.nav-group:hover .submenu {
  display: grid;
}

.submenu a {
  padding: 10px 12px;
  color: #344255;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 27, 42, 0.86), rgba(13, 27, 42, 0.46) 54%, rgba(13, 27, 42, 0.2)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 72px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.28;
}

.hero p {
  max-width: 680px;
  color: #edf2f6;
  font-size: 18px;
}

.actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.btn.primary {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.btn.gold {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.btn.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
}

.btn.danger {
  color: white;
  background: #9f2430;
  border-color: #9f2430;
}

.section {
  padding: 74px clamp(18px, 4vw, 58px);
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  color: white;
  background: var(--navy);
}

.section.dark h2,
.section.dark h3 {
  color: white;
}

.section-head {
  width: min(1120px, 100%);
  margin: 0 auto 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-head p {
  max-width: 660px;
  color: var(--muted);
}

.section.dark .section-head p {
  color: #cbd5df;
}

.grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.category-grid,
.property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.property-card,
.panel,
.service-card,
.admin-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(13, 27, 42, 0.07);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  align-items: end;
  color: white;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.08), rgba(13, 27, 42, 0.78));
}

.category-card-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.category-card h3 {
  color: white;
  font-size: 25px;
}

.category-card p {
  margin-bottom: 16px;
  color: #edf2f6;
}

.property-card {
  overflow: hidden;
}

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8dee6;
}

.thumb img,
.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.property-card:hover .thumb img {
  transform: scale(1.035);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  color: white;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.thumb .badge {
  position: absolute;
  left: 12px;
  top: 12px;
}

.property-card-body {
  padding: 18px;
}

.price {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 22px;
  font-weight: 900;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.transport {
  color: #344255;
  font-size: 14px;
}

.summary {
  color: var(--muted);
  font-size: 14px;
}

.split {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.panel {
  padding: 24px;
}

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

.service-card,
.admin-card {
  padding: 22px;
}

.filters {
  width: min(1120px, 100%);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #405064;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.weather-section {
  padding: 34px clamp(18px, 4vw, 58px) 0;
  background: var(--soft);
}

.weather-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 62%, #eef3f8 100%);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(13, 27, 42, 0.07);
}

.weather-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.weather-main h2 {
  margin-bottom: 6px;
  font-size: 30px;
}

.weather-main p {
  color: var(--muted);
}

.weather-temp {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--navy);
}

.weather-temp strong {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.weather-temp span,
.weather-meta {
  color: var(--muted);
  font-weight: 700;
}

.weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0;
}

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

.weather-day {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.weather-day span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
}

.weather-day strong {
  color: var(--navy);
}

.weather-day small {
  color: var(--muted);
  font-weight: 700;
}

.weather-unavailable {
  padding: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

.lead-buttons {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  gap: 8px;
  width: 128px;
}

.lead-buttons a,
.lead-buttons button {
  min-height: 40px;
  padding: 8px 10px;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(181, 150, 91, 0.42);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.14);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.lead-buttons .lead-primary {
  color: white;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.appointment-form {
  width: min(920px, 100%);
  margin: 0 auto;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  margin-top: 14px;
  color: var(--gold-dark);
  font-weight: 800;
}

.appointment-table td {
  vertical-align: top;
}

.calculator-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.calculator-card h2 {
  margin-bottom: 16px;
}

.calculator-result {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.calculator-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.calculator-result span {
  color: var(--muted);
  font-weight: 800;
}

.calculator-result strong {
  color: var(--navy);
  font-size: 18px;
}

.calculator-result .strong {
  background: rgba(181, 150, 91, 0.1);
  border-color: rgba(181, 150, 91, 0.42);
}

.calculator-disclaimer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(13, 27, 42, 0.08);
}

.article-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2f5;
}

.article-cover img,
.article-detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.article-body h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.article-body p {
  color: var(--muted);
  font-weight: 700;
}

.article-category {
  width: fit-content;
  padding: 4px 9px;
  color: white;
  background: var(--navy);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-meta a {
  color: var(--gold-dark);
}

.article-hero,
.article-detail {
  width: min(900px, 100%);
  margin: 0 auto;
}

.article-hero h1 {
  margin-bottom: 12px;
}

.article-hero span {
  color: var(--muted);
  font-weight: 800;
}

.article-detail {
  display: grid;
  gap: 24px;
}

.article-detail-cover {
  max-height: 520px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.article-content {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  box-shadow: 0 18px 38px rgba(13, 27, 42, 0.06);
}

.article-content p + p {
  margin-top: 18px;
}

.article-admin-layout {
  display: grid;
  gap: 22px;
}

.article-form {
  display: grid;
  gap: 16px;
}

.ai-draft-box {
  padding: 16px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-table small {
  color: var(--muted);
  font-weight: 700;
}

.life-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.life-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(13, 27, 42, 0.08);
}

.life-cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2f5;
}

.life-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.life-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.life-body h2 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.life-body h2 a {
  color: inherit;
}

.life-body p {
  color: var(--muted);
  font-weight: 700;
}

.text-link {
  color: var(--gold-dark);
  font-weight: 900;
}

.life-note {
  margin-top: 22px;
  padding: 16px;
  color: var(--muted);
  background: rgba(181, 150, 91, 0.1);
  border: 1px solid rgba(181, 150, 91, 0.32);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.life-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.active {
  color: #fff;
  background: var(--navy);
}

.i18n-admin-box {
  grid-column: 1 / -1;
  padding: 18px;
  background: #fbfcfd;
  border: 1px solid rgba(181, 150, 91, 0.35);
  border-radius: 6px;
}

.i18n-admin-box h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip > div {
  display: grid;
  gap: 4px;
  padding: 18px clamp(16px, 3vw, 32px);
  background: #fff;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

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

.pro-lead-buttons {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: 138px;
}

.pro-lead-buttons a,
.pro-ai-entry {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.22);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.pro-lead-buttons .wechat {
  background: #0f8f5f;
}

.pro-lead-buttons .line {
  background: #06c755;
}

.pro-lead-buttons .phone {
  background: #24364a;
}

.pro-lead-buttons .primary,
.pro-ai-entry {
  background: var(--gold-dark);
}

.pro-ai-entry {
  position: fixed;
  right: 166px;
  bottom: 18px;
  z-index: 80;
  min-width: 118px;
}

.detail-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 360px;
  gap: 28px;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d8dee6;
  border-radius: 6px;
  cursor: zoom-in;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-strip img.active {
  border-color: var(--gold);
}

.preview-open {
  overflow: hidden;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 72px 72px 42px;
  background: rgba(7, 18, 31, 0.9);
}

.image-preview-stage {
  width: min(1180px, 100%);
  height: min(78vh, 860px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  justify-items: center;
}

.image-preview-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.image-preview-stage figcaption {
  min-height: 28px;
  padding: 4px 12px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 800;
}

.image-preview-close,
.image-preview-download,
.image-preview-nav {
  position: fixed;
  z-index: 1001;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
  background: rgba(13, 27, 42, 0.88);
  cursor: pointer;
  font-weight: 900;
}

.image-preview-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.image-preview-download {
  top: 22px;
  right: 82px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
}

.image-preview-nav {
  top: 50%;
  width: 54px;
  height: 74px;
  transform: translateY(-50%);
  border-radius: 4px;
  font-size: 52px;
  line-height: 1;
}

.image-preview-nav.prev {
  left: 22px;
}

.image-preview-nav.next {
  right: 22px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.spec {
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.spec span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.map {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 6px;
}

.office-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.office-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-frame {
  width: 100%;
  background: var(--navy);
  border-radius: 6px;
}

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

.contact-list p {
  margin-bottom: 0;
}

.admin-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu a {
  padding: 12px 14px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.admin-menu a.active,
.admin-menu a:hover {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: #405064;
  font-size: 13px;
}

.admin-table img {
  width: 82px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.notice {
  padding: 12px 14px;
  color: #4c3a14;
  background: #fff8e6;
  border: 1px solid #ead49b;
  border-radius: 4px;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 6px;
}

.flyer-sheet {
  margin-top: 18px;
}

.flyer-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.flyer-point {
  margin: 8px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.flyer-price {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  white-space: nowrap;
}

.detail-section {
  margin-top: 24px;
}

.detail-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: white;
}

.detail-table > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-table span {
  padding: 12px;
  color: #405064;
  background: #f5f7f9;
  font-size: 13px;
  font-weight: 800;
}

.detail-table strong {
  padding: 12px;
  white-space: pre-line;
  font-weight: 700;
}

.text-table {
  grid-template-columns: 1fr;
}

.admin-property-form {
  display: grid;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
}

.admin-form-section {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
}

.admin-form-section legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

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

.field.full {
  grid-column: 1 / -1;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.checkbox-grid label {
  font-weight: 700;
}

.image-upload-row .form-actions {
  margin-top: 10px;
}

.pdf-document-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pdf-document-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.listing-list {
  display: grid;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.listing-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.06);
}

.listing-thumb {
  width: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6ebf0;
  border-radius: 4px;
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-main {
  min-width: 0;
}

.listing-title-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.listing-title-line h3 {
  margin: 0;
  font-size: 20px;
}

.listing-type {
  padding: 3px 8px;
  color: white;
  background: var(--navy);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.listing-action {
  display: flex;
  justify-content: flex-end;
}

.listing-action-stack {
  min-width: 150px;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.property-mini-actions {
  display: grid;
  gap: 8px;
}

.favorite-btn.active,
.compare-btn.active,
.compare-bar a.ready {
  color: white;
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.detail-compare-actions {
  margin: 18px 0;
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.compare-bar {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 920;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(13, 27, 42, 0.18);
}

.compare-bar a {
  min-width: 88px;
  padding: 10px 12px;
  color: var(--navy);
  background: white;
  border: 1px solid rgba(181, 150, 91, 0.42);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.compare-empty {
  width: min(980px, 100%);
  margin: 0 auto;
}

.compare-table-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: 0 14px 34px rgba(13, 27, 42, 0.08);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 150px;
  color: var(--navy);
  background: #f6f8fa;
  font-weight: 900;
}

.compare-table th {
  background: #fbfcfd;
}

.compare-table th img {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 4px;
}

.compare-table th strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.compare-table th a {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-weight: 900;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: min(1180px, 100%);
  margin: 26px auto 0;
}

.pagination a {
  min-width: 42px;
  padding: 9px 12px;
  text-align: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.pagination a.active,
.pagination a:hover {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.pagination a.disabled {
  color: #a3acb8;
  pointer-events: none;
  background: #f3f5f7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 58px);
  color: #dce4ec;
  background: var(--navy);
}

.site-footer p {
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-group {
    display: grid;
  }

  .submenu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 16px;
  }

  .category-grid,
  .property-grid,
  .service-grid,
  .office-gallery,
  .filters,
  .article-grid,
  .life-grid,
  .trust-strip,
  .weather-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .detail-layout,
  .admin-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .section {
    padding: 52px 16px;
  }

  .section-head {
    display: block;
  }

  .category-grid,
  .property-grid,
  .service-grid,
  .office-gallery,
  .filters,
  .article-grid,
  .life-grid,
  .trust-strip,
  .calculator-layout,
  .weather-main,
  .weather-days,
  .spec-list,
  .gallery-strip,
  .admin-grid,
  .admin-form-grid,
  .detail-table,
  .flyer-title-row {
    grid-template-columns: 1fr;
  }

  .detail-table > div {
    grid-template-columns: 1fr;
  }

  .weather-card {
    padding: 20px;
  }

  .weather-temp {
    justify-items: start;
  }

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

  .listing-row {
    grid-template-columns: 1fr;
  }

  .listing-thumb {
    width: 100%;
  }

  .listing-action {
    justify-content: stretch;
  }

  .listing-action-stack {
    min-width: 0;
  }

  .actions,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .pro-lead-buttons {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
  }

  .pro-lead-buttons a {
    min-height: 40px;
    padding: 0 6px;
    font-size: 12px;
  }

  .pro-ai-entry {
    right: 10px;
    bottom: 60px;
  }

  .image-preview {
    padding: 76px 12px 28px;
  }

  .image-preview-stage {
    height: min(74vh, 680px);
  }

  .image-preview-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .image-preview-download {
    top: 14px;
    left: 14px;
    right: auto;
    min-height: 42px;
  }

  .image-preview-nav {
    top: auto;
    bottom: 28px;
    width: 48px;
    height: 48px;
    transform: none;
    font-size: 34px;
  }

  .image-preview-nav.prev {
    left: 18px;
  }

  .image-preview-nav.next {
    right: 18px;
  }

  .lead-buttons {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .lead-buttons a,
  .lead-buttons button {
    min-height: 38px;
    padding: 7px 4px;
    font-size: 11px;
  }

  .compare-bar {
    left: 10px;
    right: auto;
    bottom: 126px;
    padding: 6px;
  }

  .compare-bar a {
    min-width: 74px;
    padding: 8px 9px;
    font-size: 12px;
  }
}

.ai-assistant {
  position: fixed;
  right: 164px;
  bottom: 18px;
  z-index: 930;
  font-family: inherit;
}

.ai-assistant-toggle {
  min-height: 46px;
  padding: 0 18px;
  color: white;
  background: var(--navy);
  border: 1px solid rgba(181, 150, 91, 0.64);
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(13, 27, 42, 0.22);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.ai-assistant-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(13, 27, 42, 0.28);
}

.ai-assistant-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: white;
  background: var(--navy);
}

.ai-assistant-panel header strong,
.ai-assistant-panel header small {
  display: block;
}

.ai-assistant-panel header small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.ai-assistant-panel header button {
  width: 32px;
  height: 32px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.ai-quick-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: #f6f8fa;
  border-bottom: 1px solid var(--line);
}

.ai-quick-questions button {
  min-height: 36px;
  padding: 7px 8px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.ai-messages {
  display: grid;
  gap: 10px;
  max-height: 330px;
  overflow: auto;
  padding: 14px;
  background: white;
}

.ai-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.65;
}

.ai-message p {
  margin: 0 0 8px;
}

.ai-message p:last-child {
  margin-bottom: 0;
}

.ai-message small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.ai-message.user {
  justify-self: end;
  color: white;
  background: var(--gold-dark);
}

.ai-message.assistant {
  justify-self: start;
  color: var(--ink);
  background: #f4f6f8;
  border: 1px solid var(--line);
}

.ai-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.ai-input-row textarea {
  min-height: 46px;
  resize: none;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.ai-input-row button {
  min-width: 66px;
  color: white;
  background: var(--navy);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 640px) {
  .ai-assistant {
    right: 12px;
    bottom: 172px;
    left: auto;
  }

  .ai-assistant-toggle {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ai-assistant-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 222px;
    width: auto;
    max-height: calc(100vh - 240px);
  }

  .ai-quick-questions {
    grid-template-columns: 1fr;
  }

  .ai-messages {
    max-height: 250px;
  }
}

.professional-detail-block {
  margin: 28px 0;
}

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

.professional-detail-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-dark);
  border-radius: 6px;
  background: #fbfcfd;
}

.professional-detail-grid h2 {
  margin: 4px 0 12px;
  font-size: 20px;
}

.professional-detail-grid ul,
.professional-detail-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.professional-detail-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.map-search-panel {
  margin-top: 26px;
}

.map-search-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.map-search-head h2 {
  margin: 4px 0 8px;
}

.map-search-head p {
  color: var(--muted);
  font-weight: 700;
}

.map-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}

.map-search-form input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.map-mode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.map-mode-actions .active {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.map-mode-note {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .professional-detail-grid {
    grid-template-columns: 1fr;
  }

  .professional-detail-grid article {
    padding: 16px;
  }

  .map-search-form {
    grid-template-columns: 1fr;
  }

  .map-mode-actions .btn {
    flex: 1 1 130px;
  }
}

/* Final right-side contact toolbar cleanup. */
.pro-lead-buttons,
.pro-ai-entry {
  display: none !important;
}

.lead-buttons {
  right: 18px !important;
  bottom: 18px !important;
  width: 160px !important;
  gap: 8px !important;
  z-index: 940 !important;
}

.lead-buttons a,
.lead-buttons button,
.lead-buttons .lead-primary,
.ai-assistant-toggle {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--navy) !important;
  background: white !important;
  border: 1px solid rgba(181, 150, 91, 0.5) !important;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.12);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.ai-assistant {
  right: 18px !important;
  bottom: 324px !important;
  width: 160px;
  z-index: 945;
}

.ai-assistant-toggle {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ai-assistant-panel {
  right: 0;
  bottom: 52px;
}

@media (max-width: 640px) {
  .lead-buttons {
    left: auto !important;
    right: 10px !important;
    bottom: 10px !important;
    width: 138px !important;
    grid-template-columns: 1fr !important;
  }

  .lead-buttons a,
  .lead-buttons button,
  .lead-buttons .lead-primary,
  .ai-assistant-toggle {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .ai-assistant {
    left: auto !important;
    right: 10px !important;
    bottom: 294px !important;
    width: 138px;
  }

  .ai-assistant-panel {
    left: 10px;
    right: 10px;
    bottom: 342px;
    width: auto;
  }
}

/* Final professional enhancement styles. */
.admin-login-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.admin-login-card h1 {
  margin: 8px 0 10px;
}

.reiwa-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -18px auto 34px;
  padding: 0 24px;
}

.reiwa-trust-strip div {
  min-height: 78px;
  padding: 16px;
  background: #0d1b2a;
  color: white;
  border-bottom: 3px solid var(--gold-dark);
}

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

.reiwa-trust-strip strong {
  margin-bottom: 6px;
  color: #f4d99b;
  font-size: 13px;
}

.reiwa-trust-strip span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.55;
}

.reiwa-data-status {
  margin-bottom: 16px;
}

.lead-mobile-toggle {
  display: none;
}

@media (max-width: 640px) {
  .reiwa-trust-strip {
    grid-template-columns: 1fr 1fr;
    margin: 0 auto 24px;
    padding: 0 14px;
  }

  .reiwa-trust-strip div {
    min-height: 68px;
    padding: 12px;
  }

  .lead-buttons {
    overflow: visible;
  }

  .lead-mobile-toggle {
    display: block !important;
    color: white !important;
    background: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
  }

  .lead-buttons:not(.open) a,
  .lead-buttons:not(.open) button:not(.lead-mobile-toggle) {
    display: none !important;
  }

  .lead-buttons.open a,
  .lead-buttons.open button {
    display: block;
  }

  .ai-assistant {
    bottom: 62px !important;
  }

.lead-buttons.open + .ai-assistant,
  .ai-assistant:has(.ai-assistant-panel:not([hidden])) {
    bottom: 294px !important;
  }
}

/* 快速查找全网资源 */
.quick-search-page .section-head {
  align-items: flex-end;
}

.quick-search-page .section-head span {
  color: var(--gold-dark);
  font-weight: 900;
}

.quick-search-page .section-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.quick-search-page .section-head p {
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.quick-search-form {
  margin-bottom: 18px;
}

.quick-search-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.quick-search-mode label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(181, 150, 91, 0.55);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.quick-search-mode label.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.quick-search-mode input {
  accent-color: var(--gold-dark);
}

.quick-search-form .form-actions {
  margin-top: 18px;
}

.quick-search-unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.quick-search-unit-input span {
  min-width: 58px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.quick-search-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.quick-search-hero-link {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, var(--navy) 0%, #16395f 58%, var(--gold-dark) 100%);
  box-shadow: 0 16px 34px rgba(15, 35, 57, 0.28);
  font-size: 1.02rem;
  font-weight: 900;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(181, 150, 91, 0.55);
}

.legal-page .detail-section p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 18px;
}

.quick-search-results {
  scroll-margin-top: 96px;
}

.quick-search-result-panel {
  border-top: 4px solid var(--gold-dark);
}

.quick-search-result-panel .compact {
  margin-bottom: 14px;
}

.quick-search-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-search-link-grid .btn {
  min-height: 48px;
  white-space: normal;
  text-align: center;
}

@media (max-width: 860px) {
  .quick-search-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .quick-search-page .section-head {
    align-items: stretch;
  }

  .quick-search-link-grid {
    grid-template-columns: 1fr;
  }
}
