/* roulang page: index */
:root {
  --color-bg: #F8F5F0;
  --color-bg-alt: #1F2E26;
  --color-surface: #FFFFFF;
  --color-primary: #2E4A3A;
  --color-secondary: #A67B5B;
  --color-accent: #C6A664;
  --color-border: #E6DDD0;
  --color-text: #24201C;
  --color-muted: #6F675E;
  --font-sans: "Inter", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(36, 32, 28, 0.04);
  --shadow-md: 0 4px 12px rgba(36, 32, 28, 0.06);
  --shadow-lg: 0 12px 32px rgba(36, 32, 28, 0.1);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-xxl: 96px;
  --container-max: 1200px;
  --header-height: 68px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-padding { padding: var(--space-xxl) 0; }
@media (max-width: 768px) { .section-padding { padding: 64px 0; } }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #234034; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-primary); }
.btn-outline:hover { border-color: var(--color-primary); background: rgba(46, 74, 58, 0.05); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #b59452; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-light:hover { background: #f0ece4; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ========== 徽章 ========== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  background: rgba(198, 166, 100, 0.1);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}
.badge::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
}
.badge-dark { background: rgba(255,255,255,0.12); color: #D9CDB8; }
.badge-dark::before { background: var(--color-accent); }

/* ========== 通用标题 ========== */
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 600;
}
.section-header p { color: var(--color-muted); font-size: 16px; line-height: 1.75; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 768px) {
  .section-header h2 { font-size: 26px; }
  .section-header { margin-bottom: 32px; }
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}
.logo { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.logo-sub { font-size: 13px; color: var(--color-secondary); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--color-accent); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* 搜索框 */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 10px;
  width: 220px;
  transition: all 0.25s ease;
  cursor: text;
}
.search-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.15);
  width: 260px;
}
.search-box svg { color: var(--color-muted); flex-shrink: 0; }
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--color-text);
  width: 100%;
}
.search-box input::placeholder { color: #A69B8F; }
.search-kbd {
  font-size: 11px;
  color: var(--color-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 10;
}
.search-box:focus-within .search-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-dropdown p { font-size: 12px; color: var(--color-muted); margin-bottom: 8px; }
.search-dropdown ul li { padding: 6px 10px; font-size: 14px; border-radius: 4px; cursor: pointer; }
.search-dropdown ul li:hover { background: var(--color-bg); color: var(--color-primary); }

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉 */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.mobile-menu nav a { font-family: var(--font-serif); font-size: 24px; color: var(--color-text); padding: 8px 0; transition: color 0.2s; }
.mobile-menu nav a:hover { color: var(--color-accent); }
.mobile-menu .btn { margin-top: 24px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: url('/assets/images/backpic/back-1.jpg') center 30% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(248,245,240,0.96) 0%, rgba(248,245,240,0.88) 42%, rgba(248,245,240,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero-content h1 .accent { color: var(--color-secondary); }
.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--color-muted); }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges span:not(:last-child)::after { content: '·'; margin-left: 10px; color: var(--color-border); }

/* 控制台面板 */
.hero-panel { position: relative; }
.console-window {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.console-dots {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.console-dots span { width: 10px; height: 10px; border-radius: 50%; }
.console-dots span:nth-child(1) { background: #D97A7A; opacity: 0.7; }
.console-dots span:nth-child(2) { background: #D9B877; opacity: 0.7; }
.console-dots span:nth-child(3) { background: #7AA68A; opacity: 0.7; }
.console-body { position: relative; padding: 0; }
.console-body > img { width: 100%; height: 360px; object-fit: cover; display: block; }
.console-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,46,38,0.45) 0%, transparent 40%);
}
.float-card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}
.float-card .fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fc-dot.green { background: #4A8B6E; }
.fc-dot.gold { background: var(--color-accent); }
.fc-dot.brown { background: var(--color-secondary); }
.float-card strong { display: block; font-size: 14px; color: var(--color-text); }
.float-card span { color: var(--color-muted); font-size: 12px; }
.float-card-top { top: 20px; left: -16px; }
.float-card-mid { top: 50%; right: -12px; transform: translateY(-50%); }
.float-card-bottom { bottom: 20px; left: 20px; }
@media (max-width: 1024px) {
  .float-card-top { left: 12px; }
  .float-card-mid { right: 12px; }
}

/* ========== 服务区 ========== */
.services { background: var(--color-bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: #d4c8b8; transform: translateY(-3px); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  transition: background 0.3s ease;
}
.service-icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.service-card:hover .service-icon { background: rgba(198, 166, 100, 0.12); }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.service-card p { font-size: 14px; color: var(--color-muted); line-height: 1.75; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card .card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== 数据区 ========== */
.stats-section {
  background: var(--color-bg-alt);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,166,100,0) 0%, rgba(198,166,100,0.4) 50%, rgba(198,166,100,0) 100%);
}
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.65); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding: 8px 0 8px 28px;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  max-width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.stat-number em { font-style: normal; color: var(--color-accent); font-size: 24px; margin-left: 2px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.stat-trend { font-size: 12px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 4px; }
.stat-trend.up::before { content: '↗'; color: #7FB79B; }
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .stat-number { font-size: 32px; }
}

/* ========== 案例区 ========== */
.cases { background: var(--color-bg); }
.cases .container { max-width: 1200px; }
.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  transition: all 0.25s ease;
}
.tab-btn:hover { border-color: var(--color-accent); color: var(--color-primary); }
.tab-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.tab-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tab-panel.active { display: grid; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-image img { transform: scale(1.03); }
.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(46, 74, 58, 0);
  transition: background 0.3s ease;
}
.case-card:hover .case-image::after { background: rgba(46, 74, 58, 0.1); }
.case-info { padding: 20px 20px 24px; }
.case-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.case-info .case-loc { font-size: 13px; color: var(--color-secondary); margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.case-info p { font-size: 14px; color: var(--color-muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) {
  .tab-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .tab-panel { grid-template-columns: 1fr; }
}

/* ========== 方案区 ========== */
.plans { background: #F3EFE8; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan-card:hover { box-shadow: var(--shadow-lg); border-color: #d4c8b8; }
.plan-card.featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
}
.plan-card.featured:hover { transform: translateY(-10px); }
.plan-recommend {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.plan-name { font-size: 20px; font-weight: 600; color: var(--color-text); margin-bottom: 4px; font-family: var(--font-serif); }
.plan-desc { font-size: 13px; color: var(--color-muted); margin-bottom: 20px; }
.plan-price { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.plan-price .amount { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--color-primary); line-height: 1; }
.plan-price .unit { font-size: 14px; color: var(--color-muted); margin-left: 4px; }
.plan-detail { font-size: 13px; color: var(--color-muted); margin-top: 8px; }
.plan-features { flex: 1; margin-bottom: 28px; }
.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 8px;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; order: 0; }
  .plan-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
}

/* ========== 口碑气泡 ========== */
.testimonials { background: var(--color-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-card::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--color-accent);
  position: absolute;
  top: 8px;
  left: 20px;
  opacity: 0.25;
  line-height: 1;
}
.t-quote { font-size: 14px; line-height: 1.75; color: var(--color-text); margin-bottom: 20px; padding-top: 16px; position: relative; z-index: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 500; }
.t-meta { font-size: 12px; color: var(--color-muted); }
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faq-section { background: #F3EFE8; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
  width: 100%;
}
.faq-question:hover { background: rgba(248, 245, 240, 0.6); }
.faq-item.active .faq-question { background: rgba(198, 166, 100, 0.06); color: var(--color-primary); }
.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.faq-icon::before { width: 2px; height: 16px; left: 9px; top: 2px; }
.faq-icon::after { height: 2px; width: 16px; top: 9px; left: 2px; }
.faq-item.active .faq-icon::before { transform: rotate(90deg); opacity: 0; }
.faq-item.active .faq-icon::after { background: var(--color-accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  border-left: 2px solid var(--color-accent);
  margin-left: 28px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-muted);
}
.faq-item.active .faq-answer { max-height: 500px; }

/* ========== 联系区 ========== */
.contact { background: var(--color-bg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 15px;
  color: var(--color-text);
  outline: none;
  transition: all 0.25s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(198, 166, 100, 0.15);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%236F675E' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* 右侧服务流程 */
.contact-right { display: flex; flex-direction: column; gap: 24px; }
.contact-intro-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
}
.contact-intro-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 16px; color: #fff; }
.contact-intro-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.process-list { display: flex; flex-direction: column; gap: 16px; }
.process-item { display: flex; gap: 16px; align-items: flex-start; }
.process-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-item h4 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.process-item p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.65); }
.contact-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.contact-image-card img { width: 100%; height: 220px; object-fit: cover; }
.contact-image-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(to top, rgba(31,46,38,0.75), transparent);
  padding: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .contact-form-wrap { padding: 24px 20px; }
}

/* ========== 页脚 ========== */
.site-footer {
  background: var(--color-bg-alt);
  color: rgba(255,255,255,0.8);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-main { color: #fff; font-size: 24px; }
.footer-brand .logo-sub { color: var(--color-accent); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.footer-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.qr-placeholder {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 0; }
  .hero-content h1 { font-size: 34px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 14px; }
  .search-box { width: 160px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .search-box { width: 40px; padding: 8px; justify-content: center; }
  .search-box input { display: none; }
  .search-kbd { display: none; }
  .search-box:focus-within { width: 40px; box-shadow: none; }
  .search-dropdown { display: none; }
  .header-actions .btn { display: inline-flex; }
  .hero { min-height: auto; }
  .hero-content h1 { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
  .console-body > img { height: 260px; }
  .float-card { max-width: 200px; padding: 10px 14px; }
  .float-card-mid { right: 6px; }
  .float-card-top { left: 6px; }
  .float-card-bottom { left: 6px; bottom: 12px; }
  .tab-nav { gap: 6px; }
  .tab-btn { padding: 6px 14px; font-size: 13px; }
  .header-actions .btn span { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 56px 0; }
  .hero-content h1 { font-size: 28px; }
  .console-body > img { height: 220px; }
}
