/* ============================================================
   style.css —— 松山智能锁安装官网 前台统一样式（改版预览 V2）
   ============================================================
   设计方向（参考 sosalock.com 的克制高级感，保留品牌资产）：
   - 配色：石墨黑 #0B0D10（深色区块/页脚）+ 纸白 #FAF9F6 / 暖米白 #F3F1EC（页面底）
     + 品牌深蓝 #1E3A5F（标题/商标呼应）+ 金色 #C9A227（CTA 按钮）
   - 字体：Inter / Noto Sans JP / Noto Sans SC / PingFang，标题加粗 + 负字距
   - 排版：深色 Hero 大标题、大圆角（20px）、留白加大、字号层级拉开
   - 说明：选择器名与 V1 完全一致，页面结构与 JS 零改动，可整体回退
   ============================================================ */

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --graphite: #0B0D10;      /* 石墨黑：导航/页脚/深色区块 */
  --ink: #101419;           /* 主文字（近黑） */
  --paper: #FAF9F6;         /* 页面背景（纸白） */
  --warm: #F3F1EC;          /* 交替区块背景（暖米白） */
  --muted: #7B838D;         /* 次级文字 */
  --line: #D8D6D0;          /* 边框 */
  --brand: #1E3A5F;         /* 品牌深蓝（标题/商标呼应） */
  --brand-2: #2B6CB0;       /* 深蓝 hover */
  --brand-bg: #E9EDF3;      /* 深蓝浅底（图标底） */
  --accent: #C9A227;        /* 金色 CTA */
  --accent-2: #A88A1F;      /* 金色 hover */
  --accent-bg: #F7F0DC;     /* 金色浅底 */
  --bg: var(--paper);
  --card: #FFFFFF;
  --text: var(--ink);
  --text-2: var(--muted);
  --border: var(--line);
  --radius: 20px;           /* 大圆角，V1 为 12px */
  --shadow: 0 2px 16px rgba(11, 13, 16, 0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans JP', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 标题：加粗 + 负字距（官方感关键） */
h1, h2, h3 { letter-spacing: -0.02em; }

/* ---------- 通用布局 ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.section { padding: 84px 0; }
.section-alt { background: var(--warm); }

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 750;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 46px;
  font-size: 15px;
}

/* ---------- 按钮（胶囊形，金色 CTA / 白底 / 描边） ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}
/* 金色主按钮：转化 CTA */
.btn-primary { background: var(--accent); color: #101419; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
/* 描边按钮：浅色场景深蓝描边，深色场景由内联样式改白描边 */
.btn-outline { background: transparent; border: 2px solid var(--brand-2); color: var(--brand-2); }
.btn-outline:hover { background: var(--brand-2); color: #fff; }
/* 白底按钮：深色 Hero / 金色横幅上使用 */
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EDEAE4; }
/* 立即咨询按钮：绿色突出，与主 CTA 区分但醒目 */
.btn-chat { background: #2F855A; color: #fff; }
.btn-chat:hover { background: #276749; transform: translateY(-1px); }
.btn-block { display: block; width: 100%; }

/* ---------- 顶部导航（浅色暖白，克制的细线分隔） ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; color: var(--ink); }
/* 商标 logo 图（SOSA 智慧松山）：透明底 PNG，浅色导航上清晰显示 */
.logo-img { height: 56px; width: auto; display: block; }
/* logo 旁品牌小字（松山合同会社） */
.logo-text { font-size: 14px; font-weight: 650; color: var(--ink); opacity: 0.9; white-space: nowrap; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text);
  transition: all 0.2s;
}
.nav-menu a:hover { background: var(--warm); color: var(--brand); }
.nav-menu a.active { background: var(--warm); color: var(--brand); font-weight: 700; }

.nav-phone { display: flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 750; font-size: 16px; }

/* 窄桌面（1400px 以下）：隐藏电话、压缩导航间距，避免导航项折行（导航现含 10 个栏目） */
@media (max-width: 1400px) {
  .nav-phone { display: none; }
  .nav-menu { gap: 3px; }
  .nav-menu a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 1200px) {
  .nav-menu { gap: 2px; }
  .nav-menu a { padding: 8px 8px; }
  /* 窄屏下语言切换只显示一个目标语言，避免导航溢出折行 */
  #langSwitch .lang-link:last-child { display: none; }
  .lang-switch { margin-left: 6px; }
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero（首页首屏：深色石墨 + 品牌深蓝光晕 + 大标题） ---------- */
.hero {
  background: radial-gradient(circle at 78% 38%, rgba(30, 58, 95, 0.55) 0%, rgba(17, 23, 28, 0.92) 42%, var(--graphite) 78%);
  color: #F4F5F6;
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
/* 右上装饰光晕圆环（纯装饰） */
.hero::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -80px; top: -120px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(201, 162, 39, 0.08);
  pointer-events: none;
}
.hero .container { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.hero p { font-size: 17px; color: #AEB5BC; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges .badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  color: #D5D8DB;
}

/* Hero 右侧锁图卡片（白底卡片，让深色商标清晰可见） */
.hero-figure {
  flex: 1 1 320px; min-width: 0;
  display: flex; justify-content: center;
}
.hero-figure .lock-card {
  width: 268px; padding: 32px 22px;
  background: #fff;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lock-card .lock-svg { font-size: 96px; line-height: 1; margin-bottom: 16px; }
.lock-card .lock-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.hero-logo { width: 210px; height: auto; margin-bottom: 14px; }

/* ---------- 区块卡片（白卡 + 大圆角 + 轻阴影） ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid-2 > * { flex: 1 1 340px; min-width: 0; }
.grid-3 > * { flex: 1 1 280px; min-width: 0; }
.grid-4 > * { flex: 1 1 220px; min-width: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(11, 13, 16, 0.10); }

.card-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--brand-bg); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--brand); font-weight: 700; }
.card p { color: var(--text-2); font-size: 14px; }

/* ---------- 服务优势（金色浅底图标） ---------- */
.advantage-card .card-icon { background: var(--accent-bg); color: var(--accent-2); }

/* ---------- 产品卡片 ---------- */
.product-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-card {
  flex: 1 1 240px; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11, 13, 16, 0.12); }
.product-card .thumb { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.ai-badge { position: absolute; top: 10px; right: 10px; z-index: 2; background: linear-gradient(135deg, #8a6d1a, #C9A227); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.ai-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(135deg, #8a6d1a, #C9A227); color: #fff; border-radius: 14px; padding: 16px 20px; margin-top: 36px; }
.ai-banner-badge { background: #fff; color: #8a6d1a; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ai-banner-text { font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.product-card .info { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .name { font-size: 17px; font-weight: 700; color: var(--ink); }
.product-card .desc {
  font-size: 13px; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .price { font-size: 19px; font-weight: 750; color: var(--accent-2); }
.product-card .price.price-ask { font-size: 16px; font-weight: 600; color: var(--text-2); }
.detail-info .price-line.price-ask { font-size: 20px; color: var(--text-2); }
/* 「点击显示价格」按钮样式 */
.price-reveal {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  border: 1.5px dashed var(--accent-2);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(221, 107, 32, 0.06);
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.price-reveal:hover { background: rgba(221, 107, 32, 0.14); }
.detail-info .price-line .price-reveal { font-size: 16px; }
.cmp-table .price-cell .price-reveal { cursor: pointer; white-space: nowrap; font-size: 13px; padding: 5px 10px; }
.cmp-table .price-cell .price-shown-note { display: block; font-size: 10.5px; font-weight: 400; color: #8A8A84; margin-top: 3px; line-height: 1.35; }
.cmp-table .price-cell .price-shown-note2 { display: block; font-size: 10px; font-weight: 400; color: #A09C92; margin-top: 2px; line-height: 1.35; }
.product-card .price-note-sm2 { margin-top: 0; }
.detail-info .price-note2 { margin-top: -6px; }
.price-shown { font-weight: 750; color: var(--accent-2); }
.product-card .price small { font-size: 12px; color: var(--text-2); font-weight: 400; }
/* 产品卡片价格下方小字：价格含锁具 + 上门安装（三语） */
.product-card .price-note-sm { font-size: 12px; color: var(--text-2); font-weight: 450; margin: 2px 0 0; }
.product-card .buy { margin-top: auto; }

/* ---------- 安装流程步骤条 ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 16px; }
.step {
  flex: 1 1 200px; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; font-weight: 750; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; color: var(--brand); font-weight: 700; }
.step p { font-size: 13px; color: var(--text-2); }
.step::after {
  content: '→';
  position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand-2); font-size: 20px; font-weight: 700;
}
.step:last-child::after { display: none; }

/* ---------- 案例卡片 ---------- */
.case-card { display: flex; gap: 16px; align-items: flex-start; }
.case-card .case-icon {
  flex: 0 0 54px; height: 54px; border-radius: 16px;
  background: var(--brand-bg); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.case-tag {
  display: inline-block; background: var(--brand-bg); color: var(--brand);
  font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}

/* ---------- 信任数字条（首屏营销） ---------- */
.stats-bar {
  display: flex; flex-wrap: wrap; gap: 14px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); padding: 22px 14px;
}
.stat-item { flex: 1 1 130px; min-width: 0; text-align: center; padding: 6px 4px; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.15; letter-spacing: 0.5px; }
.stat-label { font-size: 13px; color: #555; margin-top: 6px; }

/* ---------- 常见问题 FAQ（安装服务页） ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer; padding: 16px 18px;
  text-align: left; font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.faq-q:hover { background: var(--warm); }
.faq-num {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--brand-bg); color: var(--brand);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.faq-qtext { flex: 1; min-width: 0; }
.faq-arrow { color: #999; transition: transform .2s; font-size: 13px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--brand); }
.faq-a {
  display: none; padding: 0 18px 16px 56px; font-size: 14px; color: var(--text-2); line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ---------- 开锁换锁承接文案（服务页收费标准下方） ---------- */
.price-tip {
  max-width: 760px; margin: 18px auto 0; text-align: center;
  background: var(--brand-bg); color: var(--brand);
  font-size: 14.5px; font-weight: 600; padding: 13px 18px;
  border-radius: var(--radius); border: 1px solid rgba(14, 58, 93, 0.12);
}

/* ---------- 电话咨询悬浮按钮（P2，全站常驻） ---------- */
.tel-fab {
  position: fixed; right: 78px; bottom: 18px; z-index: 9998;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
  transition: transform .15s ease;
}
.tel-fab:hover { transform: scale(1.08); }
@media (max-width: 480px) {
  .tel-fab { right: 68px; bottom: 12px; width: 50px; height: 50px; font-size: 22px; }
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--warm); color: var(--brand); font-weight: 650; }
.table tr:last-child td { border-bottom: none; }

/* ---------- 徽章（服务区域） ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag {
  background: #fff; border: 1px solid var(--border);
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; color: var(--brand);
  box-shadow: var(--shadow);
}
.tag::before { content: '📍 '; }

/* ---------- 服务区域 · 双城重点卡（东京 / 大阪） ---------- */
.area-cards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.area-card {
  flex: 1 1 280px; max-width: 420px; min-width: 0;
  background: #fff; border: 2px solid var(--brand);
  border-radius: var(--radius); padding: 24px 20px;
  text-align: center; box-shadow: var(--shadow);
}
.area-card.area-accent { border-color: var(--accent); }
.area-flag {
  font-size: 12px; color: var(--accent-2);
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.area-name { font-size: 28px; font-weight: 800; color: var(--brand); margin: 6px 0 4px; }
.area-card.area-accent .area-name { color: var(--brand); }
.area-region { font-size: 14px; font-weight: 600; color: var(--text); }
.area-detail { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 4px; }
.area-badge {
  display: inline-block; margin-top: 12px; padding: 6px 16px;
  background: var(--brand); color: #fff;
  border-radius: 999px; font-size: 12px; font-weight: 600;
}
.area-card.area-accent .area-badge { background: var(--accent); }
@media (max-width: 480px) {
  .area-card { max-width: 100%; padding: 20px 16px; }
  .area-name { font-size: 24px; }
}

/* ---------- 联系信息卡 ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-card { flex: 1 1 260px; min-width: 0; text-align: center; }
.contact-card .card-icon { margin: 0 auto 14px; }
.contact-card h3 { font-size: 15px; color: var(--text-2); font-weight: 500; margin-bottom: 6px; }
.contact-card .value { font-size: 19px; font-weight: 750; color: var(--brand); }

/* ---------- CTA 横幅（金色渐变，深色文字） ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #101419; text-align: center; padding: 58px 20px; border-radius: 24px;
  margin: 40px 0;
  box-shadow: 0 18px 46px rgba(168, 138, 31, 0.25);
}
.cta-banner h2 { font-size: 30px; margin-bottom: 12px; font-weight: 760; letter-spacing: -0.02em; }
.cta-banner p { opacity: 0.85; margin-bottom: 26px; }
.cta-banner .btn-light { display: inline-block; }

/* ---------- 页脚（石墨黑深色） ---------- */
.footer { background: var(--graphite); color: rgba(255, 255, 255, 0.82); padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; padding-bottom: 36px; }
.footer-col { flex: 1 1 220px; min-width: 0; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 700; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
/* 页脚品牌列：商标 logo + 公司名 + 商标信息 */
.footer-brand .footer-logo { height: 54px; width: auto; margin-bottom: 12px; }
.footer-brand h4 { margin-bottom: 8px; }
.footer-brand .trademark-line {
  font-size: 12px; color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px; margin-top: 6px;
}
/* 关于页商标信息区 */
.trademark-section { margin-top: 40px; }
.trademark-box {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; margin-top: 16px;
}
.trademark-img {
  width: 200px; height: auto;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; background: #fff;
}
.trademark-box .table { width: 100%; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center; padding: 18px 0; font-size: 13px; opacity: 0.75;
}

/* ---------- 产品详情页 ---------- */
.detail-wrap { display: flex; gap: 36px; flex-wrap: wrap; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 30px; box-shadow: var(--shadow); }
.detail-media { flex: 1 1 380px; min-width: 0; }
.detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: var(--radius); background: #fff; }
.detail-info { flex: 1 1 420px; min-width: 0; }
.detail-info h1 { font-size: 28px; color: var(--ink); margin-bottom: 10px; font-weight: 750; }
.detail-info .price-line { font-size: 28px; font-weight: 750; color: var(--accent-2); margin: 12px 0 4px; }
/* 价格说明徽章：标注「价格含锁具 + 上门安装」（三语） */
.detail-info .price-note {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-bg);
  border: 1px solid #E8D9A8;
  color: #6B5208;
  font-size: 13px;
  font-weight: 650;
}
.detail-info .desc-line { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.detail-info .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.detail-section { margin-top: 36px; }
.detail-section h2 {
  font-size: 21px; color: var(--brand);
  padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 2px solid var(--warm);
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
}
.feat-list { display: flex; flex-wrap: wrap; gap: 12px; }
.feat-list li {
  background: var(--brand-bg); color: var(--brand);
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
}
.spec-table td:first-child { width: 180px; color: var(--text-2); background: var(--warm); font-weight: 500; }
.tip-box {
  background: var(--accent-bg); border: 1px solid #E8D9A8;
  border-radius: var(--radius); padding: 18px 20px; font-size: 14px; color: #6B5208;
}

/* ---------- 空状态 / 加载 ---------- */
.empty { text-align: center; color: var(--text-2); padding: 60px 0; font-size: 15px; }
.loading { text-align: center; color: var(--text-2); padding: 40px 0; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 992px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 76px; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }

  /* 导航：汉堡菜单切换 */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(11, 13, 16, 0.08);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; border-radius: 8px; }
  .nav-phone { display: none; }

  .step::after { display: none; }
  .detail-wrap { padding: 18px; }
}

/* ============================================================
   语言切换按钮（三语：中文 / 日本語 / English）
   #langSwitch 为容器，内部每个 .lang-link 是一个语言切换按钮
   浅色导航下用深蓝文字 + 细描边
   ============================================================ */
.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin-left: 12px;
  white-space: nowrap;
}
#langSwitch .lang-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(30, 58, 95, 0.35);
  border-radius: 20px;
  font-size: 13px;
  color: var(--brand);
  cursor: pointer;
  transition: all 0.2s;
}
#langSwitch .lang-link:hover { background: var(--warm); }

/* ============================================================
   在线预约表单
   ============================================================ */
.book-section { margin-top: 40px; }
.book-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.book-card h2 {
  font-size: 23px;
  color: var(--brand);
  margin-bottom: 6px;
  font-weight: 750;
}
.book-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.form-item { flex: 1 1 240px; min-width: 0; }
.form-item-full { flex-basis: 100%; }
.form-item label {
  display: inline-block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 6px;
}
.form-item .req { color: #C0392B; margin-left: 2px; }
.form-item input,
.form-item textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-item input:focus,
.form-item textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  background: #fff;
}
.form-item textarea { resize: vertical; }

.book-message {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.book-message-success {
  background: #EFFAF0;
  border: 1px solid #CBE8CE;
  color: #276749;
}
.book-message-error {
  background: #FDF1F1;
  border: 1px solid #F5D0D0;
  color: #C0392B;
}

/* 移动端：预约表单单列 */
@media (max-width: 768px) {
  .book-card { padding: 20px; }
  .form-item { flex-basis: 100%; }
  .lang-switch { margin-left: 0; }
}

/* 移动端展开菜单中的语言按钮（浅色菜单，深蓝文字） */
.nav-menu .lang-switch {
  align-self: flex-start;
  margin-top: 8px;
}
.nav-menu #langSwitch .lang-link {
  color: var(--brand);
  border-color: rgba(30, 58, 95, 0.35);
}
.nav-menu #langSwitch .lang-link:hover { background: var(--warm); }


/* ===== TTLock App 使用指南 - 手机界面示意图 ===== */
.phone {
  width: 260px; background: #101419; border: 3px solid #2a2f36; border-radius: 30px;
  padding: 10px; box-shadow: 0 12px 32px rgba(11,13,16,.18); margin: 0 auto; flex: 0 0 auto;
}
.phone-screen { background: #F7F7F5; border-radius: 22px; overflow: hidden; }
.phone-status { background: #1E3A5F; color: #fff; font-size: 11px; padding: 7px 12px; display: flex; justify-content: space-between; }
.phone-lock { background: #fff; padding: 14px 0; text-align: center; border-bottom: 1px solid #EDEBE6; }
.phone-lockbtn { width: 58px; height: 58px; margin: 0 auto 6px; border-radius: 50%;
  background: linear-gradient(135deg, #2B6CB0, #1E3A5F); color: #fff; font-size: 26px; line-height: 58px; }
.phone-lockname { font-size: 12px; color: #4A5568; font-weight: 700; }
.phone-lockstate { font-size: 10px; color: #7B838D; margin-top: 2px; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: #EDEBE6; }
.phone-cell { background: #fff; padding: 12px 4px; text-align: center; font-size: 10px; color: #4A5568; }
.phone-cell .ic { font-size: 20px; display: block; margin-bottom: 4px; }
.phone-legend { margin-top: 12px; text-align: center; color: #7B838D; font-size: 12px; }
