/* ==========================================================================
   居安之家官网 — 移动优先 H5 样式
   ========================================================================== */

:root {
  --bg: #f6f5f0;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --ink: #15251f;
  --ink-soft: #3f534b;
  --muted: #6a7b74;
  --brand: #0f5c4a;
  --brand-deep: #0a3b30;
  --brand-soft: #e7efea;
  --accent: #c78b2d;
  --accent-deep: #96661a;
  --accent-soft: #f6ead5;
  --line: #dfe5e0;
  --line-strong: #cfd8d1;
  --shadow-sm: 0 8px 24px rgba(12, 49, 39, 0.06);
  --shadow: 0 22px 60px rgba(12, 49, 39, 0.1);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1120px;
  --header-h: 70px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong",
    "SimSun", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

/* ==========================================================================
   头部导航
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 240, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 63, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 7px 18px rgba(15, 92, 74, 0.24);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.26em;
}

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

.site-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.site-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--brand-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.header-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-user:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.header-user svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

/* ==========================================================================
   通用按钮 / 标题
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 92, 74, 0.22);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--brand-deep);
}

.btn-ghost:hover {
  border-color: var(--brand);
  background: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--brand-deep);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section {
  padding: clamp(52px, 7vw, 82px) 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.58);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section-head h2 {
  margin: 12px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7.5vw, 90px) 0 clamp(52px, 7vw, 84px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 86% 4%, rgba(199, 139, 45, 0.13), transparent 62%),
    radial-gradient(760px 440px at 2% 18%, rgba(15, 92, 74, 0.09), transparent 64%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 92, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 92, 74, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 62% at 72% 18%, #000 26%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 72% 18%, #000 26%, transparent 74%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  margin: 18px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--brand);
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.08em;
  left: 0;
  z-index: -1;
  height: 0.26em;
  border-radius: 4px;
  background: var(--accent-soft);
}

.hero-lead {
  max-width: 35em;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: none;
}

.hero-visual {
  position: relative;
  padding: 10px 0 30px;
}

.visual-card {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 12px -11px -11px 12px;
  z-index: -1;
  border: 1px solid rgba(15, 92, 74, 0.16);
  border-radius: 24px;
}

.visual-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e9e6b;
  box-shadow: 0 0 0 4px rgba(46, 158, 107, 0.14);
}

.visual-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.visual-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 14px;
}

.visual-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex: none;
}

.visual-list span {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.visual-foot {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: right;
}

.visual-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #3a2605;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(154, 103, 24, 0.24);
  transform: rotate(1.5deg);
}

/* ==========================================================================
   核心服务
   ========================================================================== */

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  content: attr(data-index);
  position: absolute;
  top: 10px;
  right: 18px;
  color: rgba(15, 92, 74, 0.08);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 92, 74, 0.28);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 17.5px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tags span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
}

/* ==========================================================================
   平台优势 / 服务流程
   ========================================================================== */

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

.advantage-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(var(--accent), rgba(199, 139, 45, 0));
}

.advantage-num {
  color: rgba(15, 92, 74, 0.2);
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
}

.advantage-card h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.advantage-card p {
  color: var(--muted);
  font-size: 14.5px;
}

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

.process-step {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 0;
  padding-right: 12px;
  background: var(--bg);
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.section-alt .process-step::before {
  background: #fbfbf7;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

/* ==========================================================================
   CTA 区块
   ========================================================================== */

.cta-section {
  padding: 0 0 clamp(56px, 8vw, 88px);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 28px;
  background: linear-gradient(120deg, #0a3b30 0%, #0f5c4a 62%, #147a60 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.03),
    0 0 0 92px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  max-width: 560px;
}

.cta-copy h2 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
}

.cta-copy p {
  color: #cfe0d8;
  font-size: 15px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ==========================================================================
   内页 Hero
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 78px) 0 clamp(34px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 88% 0%, rgba(199, 139, 45, 0.1), transparent 62%),
    radial-gradient(640px 320px at 0% 30%, rgba(15, 92, 74, 0.07), transparent 64%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-hero .lead {
  max-width: 46em;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.8vw, 17px);
}

.page-hero .company-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* ==========================================================================
   关于我们
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 44px;
}

.prose p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

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

.prose strong {
  color: var(--ink);
}

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

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.pillar-icon svg {
  width: 19px;
  height: 19px;
}

.pillar h3 {
  margin-bottom: 4px;
  font-size: 15px;
}

.pillar p {
  color: var(--muted);
  font-size: 13.5px;
}

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

.value-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.value-card .value-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.value-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.team-card h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.team-card p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   联系方式
   ========================================================================== */

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

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.contact-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-label svg {
  width: 18px;
  height: 18px;
}

.contact-value {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
}

.contact-value a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-value--address {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.65;
}

.contact-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.info-panel {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.info-panel h2 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: 20px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.info-item {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.info-item dt {
  color: var(--muted);
  flex: none;
}

.info-item dd {
  margin: 0;
}

/* ==========================================================================
   法律条款页
   ========================================================================== */

.legal-wrap {
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(11, 63, 51, 0.05);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal h2 {
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  font-size: 18.5px;
  line-height: 1.5;
}

.legal h2:first-of-type {
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.legal h3 {
  margin: 20px 0 8px;
  font-size: 15.5px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15px;
}

.legal p {
  margin-bottom: 12px;
}

.legal ul,
.legal ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal li {
  margin: 6px 0;
}

.legal a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal .note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #5c4a2b;
  font-size: 14px;
}

.legal .contact-line {
  margin-top: 6px;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(44px, 6vw, 64px) 0 28px;
  background: #0b2e26;
  color: #cfdcd6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.brand--footer .brand-text strong {
  color: #fff;
}

.brand--footer .brand-text small {
  color: #8fa59d;
}

.footer-brand p {
  max-width: 32em;
  margin-top: 16px;
  color: #9fb3ab;
  font-size: 14px;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #aebfb8;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  margin-bottom: 6px;
  color: #aebfb8;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-col p a {
  display: inline;
  padding: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa59d;
  font-size: 13px;
}

.footer-bottom a {
  color: #c8d6d0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ==========================================================================
   入场动画
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .contact-card {
    transition: none;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 8px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    padding: 0 0 26px;
  }

  .visual-card {
    max-width: none;
    margin: 0;
    transform: none;
  }

  .visual-badge {
    bottom: -6px;
    left: 14px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

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

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

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

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

  .contact-grid,
  .info-list {
    grid-template-columns: 1fr;
  }

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

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .visual-list li {
    flex-wrap: wrap;
  }

  .visual-list span {
    margin-left: 32px;
  }

  .legal-wrap {
    border-radius: 16px;
  }
}

/* ==========================================================================
   产品与服务
   ========================================================================== */

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

.product-grid--catalog {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 92, 74, 0.28);
  box-shadow: var(--shadow-sm);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3f33, #147a60);
  color: #f6ead5;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.product-media svg {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
}

.product-media--feature {
  background: linear-gradient(135deg, #7a4f1c, #c78b2d);
  color: #fff8ec;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(246, 234, 213, 0.35);
  border-radius: 999px;
  background: rgba(246, 234, 213, 0.14);
  color: #f6ead5;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.product-media--feature .product-badge {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-body h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.product-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.product-tags span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11.5px;
}

.product-price {
  margin-top: auto;
  color: var(--brand-deep);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.product-price small {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 400;
}

.product-price--ask {
  font-size: 18px;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.product-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.product-link:hover::after {
  transform: translateX(3px);
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.price-note {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13.5px;
}

.price-note strong {
  color: var(--ink-soft);
}

/* ==========================================================================
   渠道合作
   ========================================================================== */

.coop-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.coop-inner h2 {
  margin: 10px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4;
}

.coop-inner p {
  max-width: 46em;
  color: var(--muted);
  font-size: 14.5px;
}

.coop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.coop-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.coop-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.coop-icon svg {
  width: 20px;
  height: 20px;
}

.coop-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}

.coop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.compliance-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--accent-soft);
  color: #5c4a2b;
  font-size: 13.5px;
}

.compliance-note strong {
  display: block;
  margin-bottom: 4px;
  color: #3f2f12;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .product-grid,
  .product-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .coop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .coop-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .product-grid--catalog {
    grid-template-columns: 1fr;
  }

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

  .product-media {
    height: 120px;
  }
}

/* ==========================================================================
   在线预约与预约单
   ========================================================================== */

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: start;
  gap: 24px;
}

.booking-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.form-section + .form-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}

.form-section h2 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 19px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-field label {
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.form-field label .required {
  color: var(--accent-deep);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 92, 74, 0.1);
}

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

.form-hint {
  color: var(--muted);
  font-size: 12.5px;
}

.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdecea;
  color: #b3261e;
  font-size: 13px;
  line-height: 1.6;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex: none;
}

.form-consent a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.booking-submit {
  width: 100%;
  margin-top: 20px;
}

.booking-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 16px;
}

.summary-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.summary-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.summary-row strong {
  font-weight: 600;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.summary-total strong {
  color: var(--brand-deep);
  font-family: var(--font-serif);
  font-size: 24px;
}

.summary-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.help-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.help-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.help-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
}

.help-card p:last-child {
  margin-bottom: 0;
}

.help-card a {
  color: var(--brand);
  font-weight: 600;
}

.order-card {
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.order-head {
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
  text-align: center;
}

.order-check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.order-check svg {
  width: 28px;
  height: 28px;
}

.order-head h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.order-head p {
  color: var(--muted);
  font-size: 14px;
}

.order-number {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #5c4a2b;
  font-size: 12.5px;
}

.order-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 24px 0;
}

.order-detail {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.order-detail dt {
  color: var(--muted);
  flex: none;
}

.order-detail dd {
  margin: 0;
  color: var(--ink-soft);
  word-break: break-word;
}

.order-detail--full {
  grid-column: 1 / -1;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.order-note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.order-empty {
  padding: 40px 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    position: static;
  }

  .order-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .order-actions .btn {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   首页“我的预约”
   ========================================================================== */

.home-orders {
  padding-top: clamp(22px, 4vw, 38px);
}

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

.home-orders-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
}

.home-orders-more {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

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

.home-orders-body.is-single {
  grid-template-columns: 1fr;
}

.home-order {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.home-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-order-id {
  color: var(--muted);
  font-size: 11.5px;
}

.home-order-status {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #7a5516;
  font-size: 11.5px;
  white-space: nowrap;
}

.home-order-status.is-done {
  background: var(--brand-soft);
  color: var(--brand);
}

.home-order-name {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.home-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.home-order-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.home-order-time {
  color: var(--muted);
  font-size: 11.5px;
}

.home-order-amount {
  color: var(--brand-deep);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.home-orders-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.home-orders-empty a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .home-orders-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-orders-head {
    align-items: flex-start;
  }

  .home-orders-body {
    grid-template-columns: 1fr;
  }
}
